@topwrite/reader 1.0.33-alpha.4 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,19 +1,4 @@
1
- (()=>{var e,t,r,n,i,o,a={131:(e,t,r)=>{"use strict";r.d(t,{l_:()=>n.l_,fy:()=>n.fy,De:()=>n.De,$B:()=>n.$B,ql:()=>Vi,cu:()=>ya,IA:()=>va,fH:()=>ee,$q:()=>n.$q,aC:()=>n.aC,UG:()=>ss,Hn:()=>z,Sy:()=>Wa,ER:()=>n.ER,oI:()=>n.oI,Lj:()=>n.Lj,q4:()=>Es,rK:()=>n.rK,US:()=>vs,W3:()=>za,nC:()=>Ea,vJ:()=>Xn,WA:()=>Sa,iv:()=>Rn,He:()=>ys,Ak:()=>Ga,oe:()=>n.oe,V5:()=>bs,CB:()=>n.CB,F4:()=>Zn,_f:()=>ka,j0:()=>K(),JH:()=>n.JH,FB:()=>n.FB,YB:()=>n.YB,WY:()=>n.WY,zo:()=>Jn,ol:()=>Ua,r5:()=>fa,UK:()=>pa,bd:()=>Va,r3:()=>ha,CQ:()=>Aa,Nr:()=>fs,jr:()=>ls,zX:()=>gs,Rs:()=>ms,y1:()=>na,cw:()=>vr,tT:()=>qa,D2:()=>hs,D9:()=>cs,v9:()=>$a,CM:()=>Ha,LU:()=>Da,TC:()=>ja,fB:()=>ps});var n=r(3440),i=r(4760),o=r(4246),a=r(7363),s=r.n(a);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",h=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+h(),REPLACE:"@@redux/REPLACE"+h(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h()}};function m(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function g(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(f(1));return r(g)(e,t)}if("function"!=typeof e)throw new Error(f(2));var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(f(3));return o}function h(e){if("function"!=typeof e)throw new Error(f(4));if(u)throw new Error(f(5));var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error(f(6));t=!1,c();var r=s.indexOf(e);s.splice(r,1),a=null}}}function y(e){if(!m(e))throw new Error(f(7));if(void 0===e.type)throw new Error(f(8));if(u)throw new Error(f(9));try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!=typeof e)throw new Error(f(10));i=e,y({type:d.REPLACE})}function b(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(f(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[p]=function(){return this},e}return y({type:d.INIT}),(n={dispatch:y,subscribe:h,getState:l,replaceReducer:v})[p]=b,n}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(f(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return n=y.apply(void 0,o)(r.dispatch),l(l({},r),{},{dispatch:n})}}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=r(8907),w=r(2611),x=s().createContext(null);var S=function(e){e()},k=function(){return S};var A={notify:function(){},get:function(){return[]}};function D(e,t){var r,n=A;function i(){a.onStateChange&&a.onStateChange()}function o(){r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){var e=k(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var a={addNestedSub:function(e){return o(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:o,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=A)},getListeners:function(){return n}};return a}var C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;const F=function(e){var t=e.store,r=e.context,n=e.children,i=(0,a.useMemo)((function(){var e=D(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=(0,a.useMemo)((function(){return t.getState()}),[t]);C((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var u=r||x;return s().createElement(u.Provider,{value:i},n)};var P=r(5839),O=r.n(P);r(9272);function T(){return(0,a.useContext)(x)}var j=function(e,t){return e===t};function _(e){void 0===e&&(e=x);var t=e===x?T:function(){return(0,a.useContext)(e)};return function(e,r){void 0===r&&(r=j);var n=t(),i=function(e,t,r,n){var i,o=(0,a.useReducer)((function(e){return e+1}),0)[1],s=(0,a.useMemo)((function(){return D(r,n)}),[r,n]),u=(0,a.useRef)(),c=(0,a.useRef)(),l=(0,a.useRef)(),f=(0,a.useRef)(),p=r.getState();try{if(e!==c.current||p!==l.current||u.current){var h=e(p);i=void 0!==f.current&&t(h,f.current)?f.current:h}else i=f.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return C((function(){c.current=e,l.current=p,f.current=i,u.current=void 0})),C((function(){function e(){try{var e=r.getState();if(e===l.current)return;var n=c.current(e);if(t(n,f.current))return;f.current=n,l.current=e}catch(e){u.current=e}o()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[r,s]),i}(e,r,n.store,n.subscription);return(0,a.useDebugValue)(i),i}}var I,R=_(),L=r(1533);I=L.unstable_batchedUpdates,S=I;const N="TYPE_SET_STATE",M="TYPE_GET_STATE";function B(e){const t=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(t).filter((e=>!["constructor","onAction","subscription"].includes(e)&&"function"==typeof t[e]&&!e.startsWith("_")))}class z{constructor(){b(this,"initialState",void 0),b(this,"state",void 0)}*getState(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yield{type:M,payload:{models:t}}}setState(e){return{type:N,payload:{fn:e}}}dispatch(e){}}function U(e){return e&&"function"==typeof e.next&&"function"==typeof e.throw}(0,E.Fl)(!1);const $=(e,t,r)=>{for(let n of e)t=n(t,r);return t},q=(e,t)=>{for(let r in e){let n=e[r];e[r]=function(){let e=n(...arguments);if("function"==typeof e)return e(t)}}return e};function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const i={},o={},a={},s={},u={},c={};for(const r in e){const n=e[r];void 0!==n.initialState?"function"==typeof n.initialState?a[r]=n.initialState(t[r],t):a[r]=(0,w.merge)(n.initialState,t[r]):a[r]=t[r],o[r]={},n.onAction&&(c[r]=(e,t)=>n.onAction(e,t,s[r])),n.subscription&&(u[r]=n.subscription),n.dispatch=function(e){if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];s[r][e](...n)}};const l=B(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a="".concat(r,"/").concat(e);o[r][e]=function(){for(var e=arguments.length,o=new Array(e),s=0;s<e;s++)o[s]=arguments[s];return async e=>{const{dispatch:s,getState:u}=e;let l=0;const f=Object.entries(c).filter((e=>{let[t]=e;return t!==r})).map((e=>{let[,t]=e;return t}));let p=$(f,t.bind(n),a)(...o);const h=async e=>{let t=await e.next();for(;!t.done;){let n,o;if(t.value instanceof Promise)try{n=await t.value}catch(e){o=e}else if(U(t.value))try{n=await h(t.value)}catch(e){o=e}else{let e=t.value,o=e.payload;switch(e.type){case M:const e=u();n=o.models.length>0?o.models.length>1?o.models.map((t=>e[t])):e[o.models[0]]:e;break;case N:let t="".concat(a,"/@@").concat(++l);i[t]=o.fn,s({type:t,name:r}),delete i[t]}}t=o?await e.throw(o):await e.next(n)}return t.value};await h(p)}}}}const l=function(e,t){return(0,E.Uy)(e,(e=>{t.name&&i[t.type]&&("function"==typeof i[t.type]?e[t.name]=(0,E.Uy)(e[t.name],i[t.type]):e[t.name]=i[t.type])}))},f=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||y,p=g(r(l),a,f(v(...n))),{getState:h}=p;for(let[e,t]of Object.entries(o))s[e]=q(t,p);for(let t in u)u[t].call(e[t],s[t],h()[t]);return p.actions=s,p}const H=(0,a.createContext)({actions:{}});function G(e){let{store:t,children:r}=e;return(0,o.jsx)(H.Provider,{value:{actions:t.actions},children:(0,o.jsx)(F,{store:t,children:r})})}function W(e,t){return"string"==typeof e||Array.isArray(e)?R((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):R(e,t)}var Q=r(6051),K=r.n(Q),Y=r(8891);function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Z=a.createContext(null),J=(Z.Consumer,Z.Provider),ee=Z;
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */
16
- var te=function(e,t){return te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},te(e,t)};function re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ne=function(){return ne=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ne.apply(this,arguments)};Object.create;function ie(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var oe,ae,se;Object.create;function ue(e){return e.type===ae.literal}function ce(e){return e.type===ae.argument}function le(e){return e.type===ae.number}function fe(e){return e.type===ae.date}function pe(e){return e.type===ae.time}function he(e){return e.type===ae.select}function de(e){return e.type===ae.plural}function me(e){return e.type===ae.pound}function ge(e){return e.type===ae.tag}function ye(e){return!(!e||"object"!=typeof e||e.type!==se.number)}function ve(e){return!(!e||"object"!=typeof e||e.type!==se.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(oe||(oe={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ae||(ae={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(se||(se={}));var be=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ee=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function we(e){var t={};return e.replace(Ee,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var xe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Se,ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ae=/^(@+)?(\+|#+)?[rs]?$/g,De=/(\*)(0+)|(#+)(0+)|(0+)/g,Ce=/^(0+)$/;function Fe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ae,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function Pe(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Oe(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ce.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Te(e){var t=Pe(e);return t||{}}function je(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ne(ne(ne({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ne(ne({},e),Te(t))}),{}));continue;case"engineering":t=ne(ne(ne({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ne(ne({},e),Te(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(De,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Ce.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(ke.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ke,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=ne(ne({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ne(ne({},t),Fe(o)))}else if(Ae.test(i.stem))t=ne(ne({},t),Fe(i.stem));else{var a=Pe(i.stem);a&&(t=ne(ne({},t),a));var s=Oe(i.stem);s&&(t=ne(ne({},t),s))}}return t}var _e=new RegExp("^"+be.source+"*"),Ie=new RegExp(be.source+"*$");function Re(e,t){return{start:e,end:t}}var Le=!!String.prototype.startsWith,Ne=!!String.fromCodePoint,Me=!!Object.fromEntries,Be=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ue=!!String.prototype.trimEnd,$e=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},qe=!0;try{qe="a"===(null===(Se=Xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Se?void 0:Se[0])}catch(Rr){qe=!1}var Ve,He=Le?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ge=Ne?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},We=Me?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},Qe=Be?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Ke=ze?function(e){return e.trimStart()}:function(e){return e.replace(_e,"")},Ye=Ue?function(e){return e.trimEnd()}:function(e){return e.replace(Ie,"")};function Xe(e,t){return new RegExp(e,t)}if(qe){var Ze=Xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ve=function(e,t){var r;return Ze.lastIndex=t,null!==(r=Ze.exec(e)[1])&&void 0!==r?r:""}}else Ve=function(e,t){for(var r=[];;){var n=Qe(e,t);if(void 0===n||rt(n)||nt(n))break;r.push(n),t+=n>=65536?2:1}return Ge.apply(void 0,r)};var Je=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(oe.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ae.pound,location:Re(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ae.literal,value:"<"+n+"/>",location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(oe.INVALID_TAG,Re(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(oe.UNMATCHED_CLOSING_TAG,Re(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ae.tag,value:n,children:o,location:Re(r,this.clonePosition())},err:null}:this.error(oe.INVALID_TAG,Re(a,this.clonePosition())))}return this.error(oe.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(oe.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&tt(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=Re(r,this.clonePosition());return{val:{type:ae.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ge.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ge(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(oe.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(oe.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(oe.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(oe.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ae.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(oe.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(oe.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ve(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(oe.EXPECT_ARGUMENT_TYPE,Re(o,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(p=Ye(g.val)).length)return this.error(oe.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:Re(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var l=Re(n,this.clonePosition());if(u&&He(null==u?void 0:u.style,"::",0)){var f=Ke(u.style.slice(2));if("number"===a)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:ae.number,value:r,location:l,style:g.val},err:null};if(0===f.length)return this.error(oe.EXPECT_DATE_TIME_SKELETON,l);var p={type:se.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?we(f):{}};return{val:{type:"date"===a?ae.date:ae.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?ae.number:"date"===a?ae.date:ae.time,value:r,location:l,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(oe.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(h,ne({},h)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),m=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,oe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),m=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,a,t,d);if(v.err)return v;if((y=this.tryParseArgumentClose(n)).err)return y;var b=Re(n,this.clonePosition());return"select"===a?{val:{type:ae.select,value:r,options:We(v.val),location:b},err:null}:{val:{type:ae.plural,value:r,options:We(v.val),offset:m,pluralType:"plural"===a?"cardinal":"ordinal",location:b},err:null};default:return this.error(oe.INVALID_ARGUMENT_TYPE,Re(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(oe.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(oe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(xe).filter((function(e){return e.length>0})),r=[],n=0,i=t;n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),u=0,c=s;u<c.length;u++)if(0===c[u].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(e)}catch(e){return this.error(oe.INVALID_NUMBER_SKELETON,t)}return{val:{type:se.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?je(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,u=n.value,c=n.location;;){if(0===u.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,oe.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=Re(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(s.has(u))return this.error("select"===t?oe.DUPLICATE_SELECT_ARGUMENT_SELECTOR:oe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?oe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:oe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,r);if(h.err)return h;var d=this.tryParseArgumentClose(p);if(d.err)return d;a.push([u,{value:h.val,location:Re(p,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?oe.EXPECT_SELECT_ARGUMENT_SELECTOR:oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(oe.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=Re(n,this.clonePosition());return i?$e(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qe(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(He(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&rt(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function et(e){return e>=97&&e<=122||e>=65&&e<=90}function tt(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function rt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function nt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function it(e){e.forEach((function(e){if(delete e.location,he(e)||de(e))for(var t in e.options)delete e.options[t].location,it(e.options[t].value);else le(e)&&ye(e.style)||(fe(e)||pe(e))&&ve(e.style)?delete e.style.location:ge(e)&&it(e.children)}))}function ot(e,t){void 0===t&&(t={}),t=ne({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Je(e,t).parse();if(r.err){var n=SyntaxError(oe[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||it(r.val),r.val}function at(e,t){var r=t&&t.cache?t.cache:dt,n=t&&t.serializer?t.serializer:ft;return(t&&t.strategy?t.strategy:lt)(e,{cache:r,serializer:n})}function st(e,t,r,n){var i=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function ut(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function ct(e,t,r,n,i){return r.bind(t,e,n,i)}function lt(e,t){return ct(e,this,1===e.length?st:ut,t.cache.create(),t.serializer)}var ft=function(){return JSON.stringify(arguments)};function pt(){this.cache=Object.create(null)}pt.prototype.get=function(e){return this.cache[e]},pt.prototype.set=function(e,t){this.cache[e]=t};var ht,dt={create:function(){return new pt}},mt={variadic:function(e,t){return ct(e,this,ut,t.cache.create(),t.serializer)},monadic:function(e,t){return ct(e,this,st,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ht||(ht={}));var gt,yt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return re(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),vt=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',ht.INVALID_VALUE,i)||this}return re(t,e),t}(yt),bt=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,ht.INVALID_VALUE,n)||this}return re(t,e),t}(yt),Et=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',ht.MISSING_VALUE,r)||this}return re(t,e),t}(yt);function wt(e){return"function"==typeof e}function xt(e,t,r,n,i,o,a){if(1===e.length&&ue(e[0]))return[{type:gt.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(ue(l))s.push({type:gt.literal,value:l.value});else if(me(l))"number"==typeof o&&s.push({type:gt.literal,value:r.getNumberFormat(t).format(o)});else{var f=l.value;if(!i||!(f in i))throw new Et(f,a);var p=i[f];if(ce(l))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?gt.literal:gt.object,value:p});else if(fe(l)){var h="string"==typeof l.style?n.date[l.style]:ve(l.style)?l.style.parsedOptions:void 0;s.push({type:gt.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(pe(l)){h="string"==typeof l.style?n.time[l.style]:ve(l.style)?l.style.parsedOptions:void 0;s.push({type:gt.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(le(l)){(h="string"==typeof l.style?n.number[l.style]:ye(l.style)?l.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),s.push({type:gt.literal,value:r.getNumberFormat(t,h).format(p)})}else{if(ge(l)){var d=l.children,m=l.value,g=i[m];if(!wt(g))throw new bt(m,"function",a);var y=g(xt(d,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?gt.literal:gt.object,value:e}})))}if(he(l)){if(!(v=l.options[p]||l.options.other))throw new vt(l.value,p,Object.keys(l.options),a);s.push.apply(s,xt(v.value,t,r,n,i))}else if(de(l)){var v;if(!(v=l.options["="+p])){if(!Intl.PluralRules)throw new yt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ht.MISSING_INTL_API,a);var b=r.getPluralRules(t,{type:l.pluralType}).select(p-(l.offset||0));v=l.options[b]||l.options.other}if(!v)throw new vt(l.value,p,Object.keys(l.options),a);s.push.apply(s,xt(v.value,t,r,n,i,p-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===gt.literal&&t.type===gt.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function St(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?ne(ne(ne({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ne(ne({},i[t]),o[t]||{}),e}),{})):i),r}),ne({},e)):e}function kt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(gt||(gt={}));var At,Dt=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===gt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return xt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=St(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ie([void 0],t,!1)))}),{cache:kt(o.number),strategy:mt.variadic}),getDateTimeFormat:at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ie([void 0],t,!1)))}),{cache:kt(o.dateTime),strategy:mt.variadic}),getPluralRules:at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ie([void 0],t,!1)))}),{cache:kt(o.pluralRules),strategy:mt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=ot,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(At||(At={}));var Ct=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(a?"\n"+a.message+"\n"+a.stack:""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return re(t,e),t}(Error),Ft=function(e){function t(t,r){return e.call(this,At.UNSUPPORTED_FORMATTER,t,r)||this}return re(t,e),t}(Ct),Pt=function(e){function t(t,r){return e.call(this,At.INVALID_CONFIG,t,r)||this}return re(t,e),t}(Ct),Ot=function(e){function t(t,r){return e.call(this,At.MISSING_DATA,t,r)||this}return re(t,e),t}(Ct),Tt=function(e){function t(t,r,n){return e.call(this,At.FORMAT_ERROR,t+" \nLocale: "+r+"\n",n)||this}return re(t,e),t}(Ct),jt=function(e){function t(t,r,n,i){var o=e.call(this,t+" \nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",r,i)||this;return o.descriptor=n,o}return re(t,e),t}(Tt),_t=function(e){function t(t,r){var n=e.call(this,At.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return re(t,e),t}(Ct);function It(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var Rt={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0}};function Lt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Nt(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new Ft("No "+t+" format named: "+r))}function Mt(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function Bt(e){Mt(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var zt=ne(ne({},Rt),{textComponent:a.Fragment});function Ut(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=ne({timeZone:t},e[n]),r}),{})}function $t(e,t){return Object.keys(ne(ne({},e),t)).reduce((function(r,n){return r[n]=ne(ne({},e[n]||{}),t[n]||{}),r}),{})}function qt(e,t){if(!t)return e;var r=Dt.formats;return ne(ne(ne({},r),e),{date:$t(Ut(r.date,t),Ut(e.date||{},t)),time:$t(Ut(r.time,t),Ut(e.time||{},t))})}function Vt(e,t,r,n,i){var o=e.locale,a=e.formats,s=e.messages,u=e.defaultLocale,c=e.defaultFormats,l=e.fallbackOnEmptyString,f=e.onError,p=e.timeZone,h=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,m=r.defaultMessage;Mt(!!d,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(d),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===ae.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!h)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=ne(ne({},h),n||{}),a=qt(a,p),c=qt(c,p),!y){if(!1===l&&""===y)return y;if((!m||o&&o.toLowerCase()!==u.toLowerCase())&&f(new _t(r,o)),m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){return f(new jt('Error formatting default message for: "'+g+'", rendering default message verbatim',o,r,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(y,o,a,ne({formatters:t},i||{})).format(n)}catch(e){f(new jt('Error formatting message: "'+g+'", using '+(m?"default message":"id")+" as fallback.",o,r,e))}if(m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){f(new jt('Error formatting the default message for: "'+g+'", rendering message verbatim',o,r,e))}return"string"==typeof y?y:"string"==typeof m?m:g}var Ht=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Gt(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Nt(i,"number",a,o)||{};return t(n,It(r,Ht,s))}function Wt(e,t,r,n){void 0===n&&(n={});try{return Gt(e,t,n).format(r)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Qt(e,t,r,n){void 0===n&&(n={});try{return Gt(e,t,n).formatToParts(r)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting number.",t))}return[]}var Kt=["numeric","style"];function Yt(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new yt('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ht.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Nt(i,"relative",a,o)||{};return t(n,It(r,Kt,s))}(e,t,i).format(r,n)}catch(t){e.onError(new Tt("Error formatting relative time.",e.locale,t))}return String(r)}var Xt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Zt(e,t,r,n){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var u=n.format,c=ne(ne({},s&&{timeZone:s}),u&&Nt(o,t,u,a)),l=It(n,Xt,c);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=ne(ne({},l),{hour:"numeric",minute:"numeric"})),r(i,l)}function Jt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Zt(e,"date",t,a).format(s)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function er(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Zt(e,"time",t,a).format(s)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function tr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=void 0===a?{}:a,u=e.timeZone,c=e.locale,l=e.onError,f=It(s,Xt,u?{timeZone:u}:{});try{return t(c,f).formatRange(i,o)}catch(e){l(new Ct(At.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function rr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Zt(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting date.",t))}return[]}function nr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Zt(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Ct(At.FORMAT_ERROR,"Error formatting time.",t))}return[]}var ir=["localeMatcher","type"];function or(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new yt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ht.MISSING_INTL_API));var a=It(n,ir);try{return t(i,a).select(r)}catch(e){o(new Tt("Error formatting plural.",i,e))}return"other"}var ar=["localeMatcher","type","style"],sr=Date.now();function ur(e,t,r,n){void 0===n&&(n={});var i=cr(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:i}function cr(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new yt('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',ht.MISSING_INTL_API));var a=It(n,ar);try{var s={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return sr+"_"+e+"_"+sr}(t);return s[r]=e,r}return String(e)}));return t(i,a).formatToParts(u).map((function(e){return"literal"===e.type?e:ne(ne({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Ct(At.FORMAT_ERROR,"Error formatting list.",e))}return r}var lr=["localeMatcher","style","type","fallback"];function fr(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new yt('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',ht.MISSING_INTL_API));var a=It(n,lr);try{return t(i,a).of(r)}catch(e){o(new Ct(At.FORMAT_ERROR,"Error formatting display name.",e))}}function pr(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function hr(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ie([void 0],t,!1)))}),{cache:Lt(e.dateTime),strategy:mt.variadic}),o=at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ie([void 0],t,!1)))}),{cache:Lt(e.number),strategy:mt.variadic}),a=at((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ie([void 0],t,!1)))}),{cache:Lt(e.pluralRules),strategy:mt.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:at((function(e,t,r,n){return new Dt(e,t,r,ne({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))}),{cache:Lt(e.message),strategy:mt.variadic}),getRelativeTimeFormat:at((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,ie([void 0],e,!1)))}),{cache:Lt(e.relativeTime),strategy:mt.variadic}),getPluralRules:a,getListFormat:at((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,ie([void 0],e,!1)))}),{cache:Lt(e.list),strategy:mt.variadic}),getDisplayNames:at((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,ie([void 0],e,!1)))}),{cache:Lt(e.displayNames),strategy:mt.variadic})}}(t),n=ne(ne({},Rt),e),i=n.locale,o=n.defaultLocale,a=n.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Ot('Missing locale data for locale: "'+i+'" in Intl.NumberFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Ot('Missing locale data for locale: "'+i+'" in Intl.DateTimeFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(a&&a(new Pt('"locale" was not configured, using "'+o+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),n.locale=n.defaultLocale||"en"),pr(n),ne(ne({},n),{formatters:r,formatNumber:Wt.bind(null,n,r.getNumberFormat),formatNumberToParts:Qt.bind(null,n,r.getNumberFormat),formatRelativeTime:Yt.bind(null,n,r.getRelativeTimeFormat),formatDate:Jt.bind(null,n,r.getDateTimeFormat),formatDateToParts:rr.bind(null,n,r.getDateTimeFormat),formatTime:er.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:tr.bind(null,n,r.getDateTimeFormat),formatTimeToParts:nr.bind(null,n,r.getDateTimeFormat),formatPlural:or.bind(null,n,r.getPluralRules),formatMessage:Vt.bind(null,n,r),formatList:ur.bind(null,n,r.getListFormat),formatListToParts:cr.bind(null,n,r.getListFormat),formatDisplayName:fr.bind(null,n,r.getDisplayNames)})}function dr(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function mr(e){return e?Object.keys(e).reduce((function(t,r){var n,i=e[r];return t[r]=wt(i)?(n=i,function(e){return n(a.Children.toArray(e))}):i,t}),{}):e}var gr=function(e,t,r,n){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var s=mr(n),u=Vt.apply(void 0,ie([e,t,r,s],i,!1));return Array.isArray(u)?a.Children.toArray(u):u},yr=function(e,t){var r=e.defaultRichTextElements,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["defaultRichTextElements"]),i=mr(r),o=hr(ne(ne(ne({},zt),n),{defaultRichTextElements:i}),t);return ne(ne({},o),{formatMessage:gr.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i},o.formatters)})};!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:yr(dr(t.props),t.cache),prevConfig:dr(t.props)},t}re(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=dr(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}(r,i)?null:{intl:yr(i,n),prevConfig:i}},t.prototype.render=function(){return Bt(this.state.intl),a.createElement(J,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=zt}(a.PureComponent);function vr(){var e=a.useContext(ee);return Bt(e),e}function br(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Er=r(2348),wr=r(4445),xr=r.n(wr);const Sr=function(e){function t(e,n,u,c,p){for(var h,d,m,g,E,x=0,S=0,k=0,A=0,D=0,j=0,I=m=h=0,L=0,N=0,M=0,B=0,z=u.length,U=z-1,$="",q="",V="",H="";L<z;){if(d=u.charCodeAt(L),L===U&&0!==S+A+k+x&&(0!==S&&(d=47===S?10:47),A=k=x=0,z++,U++),0===S+A+k+x){if(L===U&&(0<N&&($=$.replace(f,"")),0<$.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:$+=u.charAt(L)}d=59}switch(d){case 123:for(h=($=$.trim()).charCodeAt(0),m=1,B=++L;L<z;){switch(d=u.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(d=u.charCodeAt(L+1)){case 42:case 47:e:{for(I=L+1;I<U;++I)switch(u.charCodeAt(I)){case 47:if(42===d&&42===u.charCodeAt(I-1)&&L+2!==I){L=I+1;break e}break;case 10:if(47===d){L=I+1;break e}}L=I}}break;case 91:d++;case 40:d++;case 34:case 39:for(;L++<U&&u.charCodeAt(L)!==d;);}if(0===m)break;L++}if(m=u.substring(B,L),0===h&&(h=($=$.replace(l,"").trim()).charCodeAt(0)),64===h){switch(0<N&&($=$.replace(f,"")),d=$.charCodeAt(1)){case 100:case 109:case 115:case 45:N=n;break;default:N=T}if(B=(m=t(n,N,m,d,p+1)).length,0<_&&(E=s(3,m,N=r(T,$,M),n,F,C,B,d,p,c),$=N.join(""),void 0!==E&&0===(B=(m=E.trim()).length)&&(d=0,m="")),0<B)switch(d){case 115:$=$.replace(w,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===c&&(q+=m,m="")}else m=""}else m=t(n,r(n,$,M),m,c,p+1);V+=m,m=M=N=I=h=0,$="",d=u.charCodeAt(++L);break;case 125:case 59:if(1<(B=($=(0<N?$.replace(f,""):$).trim()).length))switch(0===I&&(h=$.charCodeAt(0),45===h||96<h&&123>h)&&(B=($=$.replace(" ",":")).length),0<_&&void 0!==(E=s(1,$,n,e,F,C,q.length,c,p,c))&&0===(B=($=E.trim()).length)&&($="\0\0"),h=$.charCodeAt(0),d=$.charCodeAt(1),h){case 0:break;case 64:if(105===d||99===d){H+=$+u.charAt(L);break}default:58!==$.charCodeAt(B-1)&&(q+=i($,h,d,$.charCodeAt(2)))}M=N=I=h=0,$="",d=u.charCodeAt(++L)}}switch(d){case 13:case 10:47===S?S=0:0===1+h&&107!==c&&0<$.length&&(N=1,$+="\0"),0<_*R&&s(0,$,n,e,F,C,q.length,c,p,c),C=1,F++;break;case 59:case 125:if(0===S+A+k+x){C++;break}default:switch(C++,g=u.charAt(L),d){case 9:case 32:if(0===A+x+S)switch(D){case 44:case 58:case 9:case 32:g="";break;default:32!==d&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===A+S+x&&(N=M=1,g="\f"+g);break;case 108:if(0===A+S+x+P&&0<I)switch(L-I){case 2:112===D&&58===u.charCodeAt(L-3)&&(P=D);case 8:111===j&&(P=j)}break;case 58:0===A+S+x&&(I=L);break;case 44:0===S+k+A+x&&(N=1,g+="\r");break;case 34:case 39:0===S&&(A=A===d?0:0===A?d:A);break;case 91:0===A+S+k&&x++;break;case 93:0===A+S+k&&x--;break;case 41:0===A+S+x&&k--;break;case 40:if(0===A+S+x){if(0===h)if(2*D+3*j==533);else h=1;k++}break;case 64:0===S+k+A+x+I+m&&(m=1);break;case 42:case 47:if(!(0<A+x+k))switch(S){case 0:switch(2*d+3*u.charCodeAt(L+1)){case 235:S=47;break;case 220:B=L,S=42}break;case 42:47===d&&42===D&&B+2!==L&&(33===u.charCodeAt(B+2)&&(q+=u.substring(B,L+1)),g="",S=0)}}0===S&&($+=g)}j=D,D=d,L++}if(0<(B=q.length)){if(N=n,0<_&&(void 0!==(E=s(2,q,N,e,F,C,B,c,p,c))&&0===(q=E).length))return H+q+V;if(q=N.join(",")+"{"+q+"}",0!=O*P){switch(2!==O||o(q,2)||(P=0),P){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(v,"::-webkit-input-$1")+q.replace(v,"::-moz-$1")+q.replace(v,":-ms-input-$1")+q}P=0}}return H+q+V}function r(e,t,r){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&o(u,1)?"-webkit-"+u+u:u}if(0===O||2===O&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(D,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(E,"tb");break;case 232:u=a.replace(E,"tb-rl");break;case 220:u=a.replace(E,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,u,l){for(var f,p=0,h=t;p<_;++p)switch(f=j[p].call(c,e,h,r,n,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==t)return h}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?O=1:(O=2,I=e):O=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var i=s(-1,r,n,n,F,C,0,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=t(T,n,r,0,0);return 0<_&&(void 0!==(i=s(-2,o,n,n,F,C,o.length,0,0,0))&&(o=i)),"",P=0,C=F=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,d=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,C=1,F=1,P=0,O=1,T=[],j=[],_=0,I=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:_=j.length=0;break;default:if("function"==typeof t)j[_++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else R=0|!!t}return e},c.set=u,void 0!==e&&u(e),c};const kr={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const Ar=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Dr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const Cr=Ar((function(e){return Dr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Fr=r(7061);function Pr(){return(Pr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Or=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},Tr=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Er.typeOf)(e)},jr=Object.freeze([]),_r=Object.freeze({});function Ir(e){return"function"==typeof e}function Rr(e){return e.displayName||e.name||"Component"}function Lr(e){return e&&"string"==typeof e.styledComponentId}var Nr=void 0!==Fr&&(Fr.env.REACT_APP_SC_ATTR||Fr.env.SC_ATTR)||"data-styled",Mr="undefined"!=typeof window&&"HTMLElement"in window,Br=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==Fr&&void 0!==Fr.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==Fr.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==Fr.env.REACT_APP_SC_DISABLE_SPEEDY&&Fr.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==Fr&&void 0!==Fr.env.SC_DISABLE_SPEEDY&&""!==Fr.env.SC_DISABLE_SPEEDY&&("false"!==Fr.env.SC_DISABLE_SPEEDY&&Fr.env.SC_DISABLE_SPEEDY)),zr={};function Ur(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var $r=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&Ur(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),qr=new Map,Vr=new Map,Hr=1,Gr=function(e){if(qr.has(e))return qr.get(e);for(;Vr.has(Hr);)Hr++;var t=Hr++;return qr.set(e,t),Vr.set(t,e),t},Wr=function(e){return Vr.get(e)},Qr=function(e,t){t>=Hr&&(Hr=t+1),qr.set(e,t),Vr.set(t,e)},Kr="style["+Nr+'][data-styled-version="5.3.5"]',Yr=new RegExp("^"+Nr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Xr=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},Zr=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var s=a.match(Yr);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(Qr(c,u),Xr(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},Jr=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},en=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Nr))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(Nr,"active"),n.setAttribute("data-styled-version","5.3.5");var a=Jr();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},tn=function(){function e(e){var t=this.element=en(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}Ur(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),rn=function(){function e(e){var t=this.element=en(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),nn=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),on=Mr,an={isServer:!Mr,useCSSOMInjection:!Br},sn=function(){function e(e,t,r){void 0===e&&(e=_r),void 0===t&&(t={}),this.options=Pr({},an,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Mr&&on&&(on=!1,function(e){for(var t=document.querySelectorAll(Kr),r=0,n=t.length;r<n;r++){var i=t[r];i&&"active"!==i.getAttribute(Nr)&&(Zr(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Gr(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Pr({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,i=t.target,e=r?new nn(i):n?new tn(i):new rn(i),new $r(e)));var e,t,r,n,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Gr(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Gr(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Gr(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++){var o=Wr(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var u=Nr+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),un=/(a)(d)/gi,cn=function(e){return String.fromCharCode(e+(e>25?39:97))};function ln(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=cn(t%52)+r;return(cn(t%52)+r).replace(un,"$1-$2")}var fn=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},pn=function(e){return fn(5381,e)};function hn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Ir(r)&&!Lr(r))return!1}return!0}var dn=pn("5.3.5"),mn=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&hn(e),this.componentId=t,this.baseHash=fn(dn,t),this.baseStyle=r,sn.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var o=_n(this.rules,e,t,r).join(""),a=ln(fn(this.baseHash,o)>>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=fn(this.baseHash,r.hash),l="",f=0;f<u;f++){var p=this.rules[f];if("string"==typeof p)l+=p;else if(p){var h=_n(p,e,t,r),d=Array.isArray(h)?h.join(""):h;c=fn(c,d+f),l+=d}}if(l){var m=ln(c>>>0);if(!t.hasNameForId(n,m)){var g=r(l,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),gn=/^\s*\/\/.*$/gm,yn=[":","[",".","#"];function vn(e){var t,r,n,i,o=void 0===e?_r:e,a=o.options,s=void 0===a?_r:a,u=o.plugins,c=void 0===u?jr:u,l=new Sr(s),f=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,u,c,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,n,o){return 0===n&&-1!==yn.indexOf(o[r.length])||o.match(i)?e:"."+t};function d(e,o,a,s){void 0===s&&(s="&");var u=e.replace(gn,""),c=o&&a?a+" "+o+" { "+u+" }":u;return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),d.hash=c.length?c.reduce((function(e,t){return t.name||Ur(15),fn(e,t.name)}),5381).toString():"",d}var bn=s().createContext(),En=(bn.Consumer,s().createContext()),wn=(En.Consumer,new sn),xn=vn();function Sn(){return(0,a.useContext)(bn)||wn}function kn(){return(0,a.useContext)(En)||xn}function An(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],i=Sn(),o=(0,a.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=(0,a.useMemo)((function(){return vn({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,a.useEffect)((function(){xr()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),s().createElement(bn.Provider,{value:o},s().createElement(En.Provider,{value:u},e.children))}var Dn=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=xn);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Ur(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=xn),this.name+e.hash},e}(),Cn=/([A-Z])/,Fn=/([A-Z])/g,Pn=/^ms-/,On=function(e){return"-"+e.toLowerCase()};function Tn(e){return Cn.test(e)?e.replace(Fn,On).replace(Pn,"-ms-"):e}var jn=function(e){return null==e||!1===e||""===e};function _n(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=_n(e[a],t,r,n))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return jn(e)?"":Lr(e)?"."+e.styledComponentId:Ir(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:_n(e(t),t,r,n):e instanceof Dn?r?(e.inject(r,n),e.getName(n)):e:Tr(e)?function e(t,r){var n,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!jn(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Ir(t[a])?o.push(Tn(a)+":",t[a],";"):Tr(t[a])?o.push.apply(o,e(t[a],a)):o.push(Tn(a)+": "+(n=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in kr?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString();var u}var In=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Rn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Ir(e)||Tr(e)?In(_n(Or(jr,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:In(_n(Or(e,r)))}new Set;var Ln=function(e,t,r){return void 0===r&&(r=_r),e.theme!==r.theme&&e.theme||t||r.theme},Nn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Mn=/(^-|-$)/g;function Bn(e){return e.replace(Nn,"-").replace(Mn,"")}var zn=function(e){return ln(pn(e)>>>0)};function Un(e){return"string"==typeof e&&!0}var $n=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},qn=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Vn(e,t,r){var n=e[r];$n(t)&&$n(n)?Hn(n,t):e[r]=t}function Hn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if($n(a))for(var s in a)qn(s)&&Vn(e,a[s],s)}return e}var Gn=s().createContext();Gn.Consumer;var Wn={};function Qn(e,t,r){var n=Lr(e),i=!Un(e),o=t.attrs,u=void 0===o?jr:o,c=t.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":Bn(e);Wn[r]=(Wn[r]||0)+1;var n=r+"-"+zn("5.3.5"+r+Wn[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):c,f=t.displayName,p=void 0===f?function(e){return Un(e)?"styled."+e:"Styled("+Rr(e)+")"}(e):f,h=t.displayName&&t.componentId?Bn(t.displayName)+"-"+t.componentId:t.componentId||l,d=n&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,m=t.shouldForwardProp;n&&e.shouldForwardProp&&(m=t.shouldForwardProp?function(r,n,i){return e.shouldForwardProp(r,n,i)&&t.shouldForwardProp(r,n,i)}:e.shouldForwardProp);var g,y=new mn(r,h,n?e.componentStyle:void 0),v=y.isStatic&&0===u.length,b=function(e,t){return function(e,t,r,n){var i=e.attrs,o=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,f=e.target,p=function(e,t,r){void 0===e&&(e=_r);var n=Pr({},t,{theme:e}),i={};return r.forEach((function(e){var t,r,o,a=e;for(t in Ir(a)&&(a=a(n)),a)n[t]=i[t]="className"===t?(r=i[t],o=a[t],r&&o?r+" "+o:r||o):a[t]})),[n,i]}(Ln(t,(0,a.useContext)(Gn),s)||_r,t,i),h=p[0],d=p[1],m=function(e,t,r,n){var i=Sn(),o=kn();return t?e.generateAndInjectStyles(_r,i,o):e.generateAndInjectStyles(r,i,o)}(o,n,h),g=r,y=d.$as||t.$as||d.as||t.as||f,v=Un(y),b=d!==t?Pr({},t,{},d):t,E={};for(var w in b)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?E.as=b[w]:(c?c(w,Cr,y):!v||Cr(w))&&(E[w]=b[w]));return t.style&&d.style!==t.style&&(E.style=Pr({},t.style,{},d.style)),E.className=Array.prototype.concat(u,l,m!==l?m:null,t.className,d.className).filter(Boolean).join(" "),E.ref=g,(0,a.createElement)(y,E)}(g,e,t,v)};return b.displayName=p,(g=s().forwardRef(b)).attrs=d,g.componentStyle=y,g.displayName=p,g.shouldForwardProp=m,g.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):jr,g.styledComponentId=h,g.target=n?e.target:e,g.withComponent=function(e){var n=t.componentId,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(Un(e)?e:Bn(Rr(e)));return Qn(e,Pr({},i,{attrs:d,componentId:o}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Hn({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},i&&O()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Kn=function(e){return function e(t,r,n){if(void 0===n&&(n=_r),!(0,Er.isValidElementType)(r))return Ur(1,String(r));var i=function(){return t(r,n,Rn.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,r,Pr({},n,{},i))},i.attrs=function(i){return e(t,r,Pr({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(Qn,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Kn[e]=Kn(e)}));var Yn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=hn(e),sn.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(_n(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&sn.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function Xn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Rn.apply(void 0,[e].concat(r)),o="sc-global-"+zn(JSON.stringify(i)),u=new Yn(i,o);function c(e){var t=Sn(),r=kn(),n=(0,a.useContext)(Gn),i=(0,a.useRef)(t.allocateGSInstance(o)).current;return t.server&&l(i,e,t,n,r),(0,a.useLayoutEffect)((function(){if(!t.server)return l(i,e,t,n,r),function(){return u.removeStyles(i,t)}}),[i,e,t,n,r]),null}function l(e,t,r,n,i){if(u.isStatic)u.renderStyles(e,zr,r,i);else{var o=Pr({},t,{theme:Ln(t,n,c.defaultProps)});u.renderStyles(e,o,r,i)}}return s().memo(c)}function Zn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Rn.apply(void 0,[e].concat(r)).join(""),o=zn(i);return new Dn(o,i)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=Jr();return"<style "+[r&&'nonce="'+r+'"',Nr+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Ur(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Ur(2);var r=((t={})[Nr]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=Jr();return n&&(r.nonce=n),[s().createElement("style",Pr({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new sn({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?Ur(2):s().createElement(An,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Ur(3)}}();const Jn=Kn;var ei=r(3615),ti=r.n(ei),ri=r(4335),ni=r.n(ri),ii=r(3996),oi=r.n(ii);function ai(){return(ai=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function si(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ui(e,t)}function ui(e,t){return(ui=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ci(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}var li={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},fi={rel:["amphtml","canonical","alternate"]},pi={type:["application/ld+json"]},hi={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},di=Object.keys(li).map((function(e){return li[e]})),mi={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},gi=Object.keys(mi).reduce((function(e,t){return e[mi[t]]=t,e}),{}),yi=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},vi=function(e){var t=yi(e,li.TITLE),r=yi(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,(function(){return t}));var n=yi(e,"defaultTitle");return t||n||void 0},bi=function(e){return yi(e,"onChangeClientState")||function(){}},Ei=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return ai({},e,t)}),{})},wi=function(e,t){return t.filter((function(e){return void 0!==e[li.BASE]})).map((function(e){return e[li.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),i=0;i<n.length;i+=1){var o=n[i].toLowerCase();if(-1!==e.indexOf(o)&&r[o])return t.concat(r)}return t}),[])},xi=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var i={};r.filter((function(e){for(var r,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],u=s.toLowerCase();-1===t.indexOf(u)||"rel"===r&&"canonical"===e[r].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(r=u),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return n[r]||(n[r]={}),i[r]||(i[r]={}),!n[r][c]&&(i[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],u=ai({},n[s],i[s]);n[s]=u}return e}),[]).reverse()},Si=function(e,t){if(Array.isArray(e)&&e.length)for(var r=0;r<e.length;r+=1)if(e[r][t])return!0;return!1},ki=function(e){return Array.isArray(e)?e.join(""):e},Ai=function(e,t){return Array.isArray(e)?e.reduce((function(e,r){return function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1}(r,t)?e.priority.push(r):e.default.push(r),e}),{priority:[],default:[]}):{default:e}},Di=[li.NOSCRIPT,li.SCRIPT,li.STYLE],Ci=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Fi=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},Pi=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,r){return t[mi[r]||r]=e[r],t}),t)},Oi=function(e,t){return t.map((function(t,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(t).forEach((function(e){var r=mi[e]||e;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[r]=t[e]})),s().createElement(e,i)}))},Ti=function(e,t,r){switch(e){case li.TITLE:return{toComponent:function(){return r=t.titleAttributes,(n={key:e=t.title})["data-rh"]=!0,i=Pi(r,n),[s().createElement(li.TITLE,i,e)];var e,r,n,i},toString:function(){return function(e,t,r,n){var i=Fi(r),o=ki(t);return i?"<"+e+' data-rh="true" '+i+">"+Ci(o,n)+"</"+e+">":"<"+e+' data-rh="true">'+Ci(o,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Pi(t)},toString:function(){return Fi(t)}};default:return{toComponent:function(){return Oi(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var i=Object.keys(n).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===n[t]?t:t+'="'+Ci(n[t],r)+'"';return e?e+" "+i:i}),""),o=n.innerHTML||n.cssText||"",a=-1===Di.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,r)}}}},ji=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,u=void 0===s?"":s,c=e.titleAttributes,l=e.linkTags,f=e.metaTags,p=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var d=function(e){var t=e.linkTags,r=e.scriptTags,n=e.encode,i=Ai(e.metaTags,hi),o=Ai(t,fi),a=Ai(r,pi);return{priorityMethods:{toComponent:function(){return[].concat(Oi(li.META,i.priority),Oi(li.LINK,o.priority),Oi(li.SCRIPT,a.priority))},toString:function(){return Ti(li.META,i.priority,n)+" "+Ti(li.LINK,o.priority,n)+" "+Ti(li.SCRIPT,a.priority,n)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);h=d.priorityMethods,l=d.linkTags,f=d.metaTags,p=d.scriptTags}return{priority:h,base:Ti(li.BASE,t,n),bodyAttributes:Ti("bodyAttributes",r,n),htmlAttributes:Ti("htmlAttributes",i,n),link:Ti(li.LINK,l,n),meta:Ti(li.META,f,n),noscript:Ti(li.NOSCRIPT,o,n),script:Ti(li.SCRIPT,p,n),style:Ti(li.STYLE,a,n),title:Ti(li.TITLE,{title:u,titleAttributes:c},n)}},_i=s().createContext({}),Ii=ti().shape({setHelmet:ti().func,helmetInstances:ti().shape({get:ti().func,add:ti().func,remove:ti().func})}),Ri="undefined"!=typeof document,Li=function(e){function t(r){var n;return(n=e.call(this,r)||this).instances=[],n.value={setHelmet:function(e){n.props.context.helmet=e},helmetInstances:{get:function(){return n.instances},add:function(e){n.instances.push(e)},remove:function(e){var t=n.instances.indexOf(e);n.instances.splice(t,1)}}},t.canUseDOM||(r.context.helmet=ji({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),n}return si(t,e),t.prototype.render=function(){return s().createElement(_i.Provider,{value:this.value},this.props.children)},t}(a.Component);Li.canUseDOM=Ri,Li.propTypes={context:ti().shape({helmet:ti().shape()}),children:ti().node.isRequired},Li.defaultProps={context:{}},Li.displayName="HelmetProvider";var Ni=function(e,t){var r,n=document.head||document.querySelector(li.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?n.innerHTML=t.innerHTML:"cssText"===i?n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText)):n.setAttribute(i,void 0===t[i]?"":t[i]));n.setAttribute("data-rh","true"),o.some((function(e,t){return r=t,n.isEqualNode(e)}))?o.splice(r,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},Mi=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var u=a[s],c=t[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),-1===i.indexOf(u)&&i.push(u);var l=o.indexOf(u);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f-=1)r.removeAttribute(o[f]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},Bi=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,l=e.title,f=e.titleAttributes;Mi(li.BODY,e.bodyAttributes),Mi(li.HTML,n),function(e,t){void 0!==e&&document.title!==e&&(document.title=ki(e)),Mi(li.TITLE,t)}(l,f);var p={baseTag:Ni(li.BASE,r),linkTags:Ni(li.LINK,i),metaTags:Ni(li.META,o),noscriptTags:Ni(li.NOSCRIPT,a),scriptTags:Ni(li.SCRIPT,u),styleTags:Ni(li.STYLE,c)},h={},d={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(h[e]=r),n.length&&(d[e]=p[e].oldTags)})),t&&t(),s(e,h,d)},zi=null,Ui=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).rendered=!1,t}si(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!xr()(e,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var e,t,r=this.props.context,n=r.setHelmet,i=null,o=(e=r.helmetInstances.get().map((function(e){var t=ai({},e.props);return delete t.context,t})),{baseTag:wi(["href"],e),bodyAttributes:Ei("bodyAttributes",e),defer:yi(e,"defer"),encode:yi(e,"encodeSpecialCharacters"),htmlAttributes:Ei("htmlAttributes",e),linkTags:xi(li.LINK,["rel","href"],e),metaTags:xi(li.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:xi(li.NOSCRIPT,["innerHTML"],e),onChangeClientState:bi(e),scriptTags:xi(li.SCRIPT,["src","innerHTML"],e),styleTags:xi(li.STYLE,["cssText"],e),title:vi(e),titleAttributes:Ei("titleAttributes",e),prioritizeSeoTags:Si(e,"prioritizeSeoTags")});Li.canUseDOM?(t=o,zi&&cancelAnimationFrame(zi),t.defer?zi=requestAnimationFrame((function(){Bi(t,(function(){zi=null}))})):(Bi(t),zi=null)):ji&&(i=ji(o)),n(i)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t}(a.Component);Ui.propTypes={context:Ii.isRequired},Ui.displayName="HelmetDispatcher";var $i=["children"],qi=["children"],Vi=function(e){function t(){return e.apply(this,arguments)||this}si(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!ni()(this.props,e)},r.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case li.SCRIPT:case li.NOSCRIPT:return{innerHTML:t};case li.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren;return ai({},n,((t={})[r.type]=[].concat(n[r.type]||[],[ai({},e.newChildProps,this.mapNestedChildrenToProps(r,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,r,n=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(n.type){case li.TITLE:return ai({},i,((t={})[n.type]=a,t.titleAttributes=ai({},o),t));case li.BODY:return ai({},i,{bodyAttributes:ai({},o)});case li.HTML:return ai({},i,{htmlAttributes:ai({},o)});default:return ai({},i,((r={})[n.type]=ai({},o),r))}},r.mapArrayTypeChildrenToProps=function(e,t){var r=ai({},t);return Object.keys(e).forEach((function(t){var n;r=ai({},r,((n={})[t]=e[t],n))})),r},r.warnOnInvalidChildren=function(e,t){return oi()(di.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+di.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),oi()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,t){var r=this,n={};return s().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=ci(i,$i),s=Object.keys(a).reduce((function(e,t){return e[gi[t]||t]=a[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():r.warnOnInvalidChildren(e,o),u){case li.FRAGMENT:t=r.mapChildrenToProps(o,t);break;case li.LINK:case li.META:case li.NOSCRIPT:case li.SCRIPT:case li.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:o});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(n,t)},r.render=function(){var e=this.props,t=e.children,r=ai({},ci(e,qi));return t&&(r=this.mapChildrenToProps(t,r)),s().createElement(_i.Consumer,null,(function(e){return s().createElement(Ui,ai({},r,{context:e}))}))},t}(a.Component);Vi.propTypes={base:ti().object,bodyAttributes:ti().object,children:ti().oneOfType([ti().arrayOf(ti().node),ti().node]),defaultTitle:ti().string,defer:ti().bool,encodeSpecialCharacters:ti().bool,htmlAttributes:ti().object,link:ti().arrayOf(ti().object),meta:ti().arrayOf(ti().object),noscript:ti().arrayOf(ti().object),onChangeClientState:ti().func,script:ti().arrayOf(ti().object),style:ti().arrayOf(ti().object),title:ti().string,titleAttributes:ti().object,titleTemplate:ti().string,prioritizeSeoTags:ti().bool},Vi.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Vi.displayName="Helmet";var Hi=r(5969),Gi=r(8717),Wi=r(7918);var Qi=r(213);function Ki(e){return new RegExp("^("+e+")$","i")}const Yi=new Hi;function Xi(e,t,r){const n=r.skip&&Ki(r.skip),i=(0,Qi.convert)(r.parents||(t=>t===e)),o=[];let a,s,u;var c,l,f,p;return Yi.reset(),c=e,f=function(e,c,l){const f=(0,Gi.B)(e,{includeImageAlt:!1}),p=e.data&&e.data.hProperties&&e.data.hProperties.id,h=Yi.slug(p||f);if(i(l)){if(null!==c&&t&&!a&&t.test(f))return a=c+1,void(u=e);null!==c&&u&&!s&&e.depth<=u.depth&&(s=c),!s&&t||r.maxDepth&&!(e.depth<=r.maxDepth)||n&&n.test(f)||o.push({depth:e.depth,children:e.children,id:h})}},"function"==typeof(l="heading")&&"function"!=typeof f&&(p=f,f=l,l=null),(0,Wi.S4)(c,l,(function(e,t){var r=t[t.length-1];return f(e,r?r.children.indexOf(e):null,r)}),p),{index:a||-1,endIndex:a?s||e.children.length:-1,map:o}}var Zi=r(229);function Ji(e,t){const{ordered:r=!1,tight:n=!1,prefix:i=null}=t,o={type:"list",ordered:r,spread:!1,children:[]};let a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)eo(e[s],o,{ordered:r,tight:n,prefix:i});return o}function eo(e,t,r){let n=-1;if("list"===t.type)if(1===e.depth)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(r.prefix||"")+e.id,children:to(e.children)}]}]});else if(t.children.length>0)eo(e,t.children[t.children.length-1],r);else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),eo(e,n,r)}else if(t.children[t.children.length-1]&&"list"===t.children[t.children.length-1].type)e.depth--,eo(e,t.children[t.children.length-1],r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,eo(e,n,r)}if("list"!==t.type||r.tight)t.spread=!r.tight;else for(t.spread=!1;++n<t.children.length;)if(t.children[n].children.length>1){t.spread=!0;break}}function to(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(ro(e[r]));return t}function ro(e){if("link"===e.type||"linkReference"===e.type||"footnote"===e.type||"footnoteReference"===e.type)return to(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(Zi(!0,{},n),{children:to(e.children)})}const{position:t,...r}=e;return Zi(!0,{},r)}var no=r(3428);const io=new Hi;function oo(){return e=>{io.reset(),(0,no.visit)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?io.slug(String(n),!0):io.slug((0,Gi.B)(e)),t.id=n,r.id=n}))}}var ao=function(e,t,r){var n={type:String(e)};return null!=r||"string"!=typeof t&&!Array.isArray(t)?Object.assign(n,t):r=t,Array.isArray(r)?n.children=r:null!=r&&(n.value=String(r)),n},so=co("start"),uo=co("end");function co(e){return function(t){var r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const lo={}.hasOwnProperty;function fo(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");var r,n,i,o;return r=e,i=function(e){const r=po(e.identifier);r&&!lo.call(t,r)&&(t[r]=e)},"function"==typeof(n="definition")&&"function"!=typeof i&&(o=i,i=n,n=null),(0,Wi.S4)(r,n,(function(e,t){var r=t[t.length-1];return i(e,r?r.children.indexOf(e):null,r)}),o),function(e){const r=po(e);return r&&lo.call(t,r)?t[r]:null}}function po(e){return String(e||"").toUpperCase()}const ho={}.hasOwnProperty;function mo(e,t){const r=t.data||{};return"value"in t&&!(ho.call(r,"hName")||ho.call(r,"hProperties")||ho.call(r,"hChildren"))?e.augment(t,ao("text",t.value)):e(t,"div",vo(e,t))}function go(e,t,r){const n=t&&t.type;let i;if(!n)throw new Error("Expected node, got `"+t+"`");return i=ho.call(e.handlers,n)?e.handlers[n]:e.passThrough&&e.passThrough.includes(n)?yo:e.unknownHandler,("function"==typeof i?i:mo)(e,t,r)}function yo(e,t){return"children"in t?{...t,children:vo(e,t)}:t}function vo(e,t){const r=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const o=go(e,n[i],t);if(o){if(i&&"break"===n[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?r.push(...o):r.push(o)}}}return r}var bo=r(488);const Eo={'"':"quot","&":"amp","<":"lt",">":"gt"};function wo(e,t){const r=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+Eo[e]+";"}))}(function(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const o=e.charCodeAt(r);let a="";if(37===o&&(0,bo.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,bo.asciiAlphanumeric)(e.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(n,r),encodeURIComponent(a)),n=r+i+1,a=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}(e||""));if(!t)return r;const n=r.indexOf(":"),i=r.indexOf("?"),o=r.indexOf("#"),a=r.indexOf("/");return n<0||a>-1&&n>a||i>-1&&n>i||o>-1&&n>o||t.test(r.slice(0,n))?r:""}function xo(e,t){const r=[];let n=-1;for(t&&r.push(ao("text","\n"));++n<e.length;)n&&r.push(ao("text","\n")),r.push(e[n]);return t&&e.length>0&&r.push(ao("text","\n")),r}function So(e,t){const r=String(t.identifier),n=wo(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o;-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,o=e.footnoteOrder.length):(e.footnoteCounts[r]++,o=i+1);const a=e.footnoteCounts[r];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[ao("text",String(o))])])}var ko=r(4651);function Ao(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return ao("text","!["+t.alt+n);const i=vo(e,t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift(ao("text","["));const a=i[i.length-1];return a&&"text"===a.type?a.value+=n:i.push(ao("text",n)),i}function Do(e){const t=e.spread;return null==t?e.children.length>1:t}const Co={blockquote:function(e,t){return e(t,"blockquote",xo(vo(e,t),!0))},break:function(e,t){return[e(t,"br"),ao("text","\n")]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};n&&(i.className=["language-"+n]);const o=e(t,"code",i,[ao("text",r)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",vo(e,t))},emphasis:function(e,t){return e(t,"em",vo(e,t))},footnoteReference:So,footnote:function(e,t){const r=e.footnoteById;let n=1;for(;n in r;)n++;const i=String(n);return r[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},So(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,vo(e,t))},html:function(e,t){return e.dangerous?e.augment(t,ao("raw",t.value)):null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return Ao(e,t);const n={src:ko(r.url||""),alt:t.alt};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"img",n)},image:function(e,t){const r={src:ko(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"img",r)},inlineCode:function(e,t){return e(t,"code",[ao("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return Ao(e,t);const n={href:ko(r.url||"")};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"a",n,vo(e,t))},link:function(e,t){const r={href:ko(t.url)};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"a",r,vo(e,t))},listItem:function(e,t,r){const n=vo(e,t),i=r?function(e){let t=e.spread;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Do(r[n]);return Boolean(t)}(r):Do(t),o={},a=[];if("boolean"==typeof t.checked){let r;n[0]&&"element"===n[0].type&&"p"===n[0].tagName?r=n[0]:(r=e(null,"p",[]),n.unshift(r)),r.children.length>0&&r.children.unshift(ao("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(ao("text","\n")),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const u=n[n.length-1];return!u||!i&&"tagName"in u&&"p"===u.tagName||a.push(ao("text","\n")),e(t,"li",o,a)},list:function(e,t){const r={},n=t.ordered?"ol":"ul",i=vo(e,t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++o<i.length;){const e=i[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}return e(t,n,r,xo(i,!0))},paragraph:function(e,t){return e(t,"p",vo(e,t))},root:function(e,t){return e.augment(t,ao("root",xo(vo(e,t))))},strong:function(e,t){return e(t,"strong",vo(e,t))},table:function(e,t){const r=t.children;let n=-1;const i=t.align||[],o=[];for(;++n<r.length;){const a=r[n].children,s=0===n?"th":"td";let u=t.align?i.length:a.length;const c=[];for(;u--;){const t=a[u];c[u]=e(t,s,{align:i[u]},t?vo(e,t):[])}o[n]=e(r[n],"tr",xo(c,!0))}return e(t,"table",xo([e(o[0].position,"thead",xo([o[0]],!0))].concat(o[1]?e({start:so(o[1]),end:uo(o[o.length-1])},"tbody",xo(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,ao("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:function(e,t){return e(t,"hr")},toml:Fo,yaml:Fo,definition:Fo,footnoteDefinition:Fo};function Fo(){return null}const Po={}.hasOwnProperty;function Oo(e,t){const r=function(e,t){const r=t||{},n=r.allowDangerousHtml||!1,i={};return a.dangerous=n,a.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.definition=fo(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers={...Co,...r.handlers},a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,(0,no.visit)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Po.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){const n="type"in e?e:{position:e};(r=n)&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column&&(t.position={start:so(n),end:uo(n)})}var r;return t}function a(e,t,r,n){return Array.isArray(r)&&(n=r,r={}),o(e,{type:"element",tagName:t,properties:r||{},children:n||[]})}}(e,t),n=go(r,e,null),i=function(e){let t=-1;const r=[];for(;++t<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!n)continue;const i=vo(e,n),o=String(n.identifier),a=wo(o.toLowerCase());let s=0;const u=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...u)}else i.push(...u);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:xo(i,!0)};n.position&&(l.position=n.position),r.push(l)}return 0===r.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[ao("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:xo(r,!0)},{type:"text",value:"\n"}]}}(r);return i&&n.children.push(ao("text","\n"),i),Array.isArray(n)?{type:"root",children:n}:n}var To=r(4799),jo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function _o(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function Io(e,t){for(var r=t.slice(0,t.length-1),n=0;n<r.length;n++)r[n]=e[r[n].toLowerCase()];return r}function Ro(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var Lo={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":jo?173:189,"=":jo?61:187,";":jo?59:186,"'":222,"[":219,"]":221,"\\":220},No={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Mo={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Bo={16:!1,18:!1,17:!1,91:!1},zo={},Uo=1;Uo<20;Uo++)Lo["f".concat(Uo)]=111+Uo;var $o=[],qo="all",Vo=[],Ho=function(e){return Lo[e.toLowerCase()]||No[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function Go(e){qo=e||"all"}function Wo(){return qo||"all"}var Qo=function(e){var t=e.key,r=e.scope,n=e.method,i=e.splitKey,o=void 0===i?"+":i;Ro(t).forEach((function(e){var t=e.split(o),i=t.length,a=t[i-1],s="*"===a?"*":Ho(a);if(zo[s]){r||(r=Wo());var u=i>1?Io(No,t):[];zo[s]=zo[s].map((function(e){return(!n||e.method===n)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,n=e.length>=t.length?t:e,i=!0,o=0;o<r.length;o++)-1===n.indexOf(r[o])&&(i=!1);return i}(e.mods,u)?{}:e}))}}))};function Ko(e,t,r){var n;if(t.scope===r||"all"===t.scope){for(var i in n=t.mods.length>0,Bo)Object.prototype.hasOwnProperty.call(Bo,i)&&(!Bo[i]&&t.mods.indexOf(+i)>-1||Bo[i]&&-1===t.mods.indexOf(+i))&&(n=!1);(0!==t.mods.length||Bo[16]||Bo[18]||Bo[17]||Bo[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Yo(e){var t=zo["*"],r=e.keyCode||e.which||e.charCode;if(Xo.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===$o.indexOf(r)&&229!==r&&$o.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=Mo[t];e[t]&&-1===$o.indexOf(r)?$o.push(r):!e[t]&&$o.indexOf(r)>-1?$o.splice($o.indexOf(r),1):"metaKey"===t&&e[t]&&3===$o.length&&(e.ctrlKey||e.shiftKey||e.altKey||($o=$o.slice($o.indexOf(r))))})),r in Bo){for(var n in Bo[r]=!0,No)No[n]===r&&(Xo[n]=!0);if(!t)return}for(var i in Bo)Object.prototype.hasOwnProperty.call(Bo,i)&&(Bo[i]=e[Mo[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===$o.indexOf(17)&&$o.push(17),-1===$o.indexOf(18)&&$o.push(18),Bo[17]=!0,Bo[18]=!0);var o=Wo();if(t)for(var a=0;a<t.length;a++)t[a].scope===o&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&Ko(e,t[a],o);if(r in zo)for(var s=0;s<zo[r].length;s++)if(("keydown"===e.type&&zo[r][s].keydown||"keyup"===e.type&&zo[r][s].keyup)&&zo[r][s].key){for(var u=zo[r][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(Ho(l[p]));f.sort().join("")===$o.sort().join("")&&Ko(e,u,o)}}}function Xo(e,t,r){$o=[];var n=Ro(e),i=[],o="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(o=t);s<n.length;s++)i=[],(e=n[s].split(l)).length>1&&(i=Io(No,e)),(e="*"===(e=e[e.length-1])?"*":Ho(e))in zo||(zo[e]=[]),zo[e].push({keyup:u,keydown:c,scope:o,mods:i,shortcut:n[s],method:r,key:n[s],splitKey:l});void 0!==a&&!function(e){return Vo.indexOf(e)>-1}(a)&&window&&(Vo.push(a),_o(a,"keydown",(function(e){Yo(e)})),_o(window,"focus",(function(){$o=[]})),_o(a,"keyup",(function(e){Yo(e),function(e){var t=e.keyCode||e.which||e.charCode,r=$o.indexOf(t);if(r>=0&&$o.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&$o.splice(0,$o.length),93!==t&&224!==t||(t=91),t in Bo)for(var n in Bo[t]=!1,No)No[n]===t&&(Xo[n]=!1)}(e)})))}var Zo={setScope:Go,getScope:Wo,deleteScope:function(e,t){var r,n;for(var i in e||(e=Wo()),zo)if(Object.prototype.hasOwnProperty.call(zo,i))for(r=zo[i],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;Wo()===e&&Go(t||"all")},getPressedKeyCodes:function(){return $o.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Ho(e)),-1!==$o.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==r&&"TEXTAREA"!==r&&"SELECT"!==r||t.readOnly)||(n=!1),n},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&Qo(e)}));else if("object"==typeof e)e.key&&Qo(e);else if("string"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r[0],o=r[1];"function"==typeof i&&(o=i,i=""),Qo({key:e,scope:i,method:o,splitKey:"+"})}}else Object.keys(zo).forEach((function(e){return delete zo[e]}))}};for(var Jo in Zo)Object.prototype.hasOwnProperty.call(Zo,Jo)&&(Xo[Jo]=Zo[Jo]);if("undefined"!=typeof window){var ea=window.hotkeys;Xo.noConflict=function(e){return e&&window.hotkeys===Xo&&(window.hotkeys=ea),Xo},window.hotkeys=Xo}const ta=Xo;ta.filter=function(){return!0};var ra=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))};function na(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var i=r||{},o=i.enableOnTags,s=i.filter,u=i.keyup,c=i.keydown,l=i.filterPreventDefault,f=void 0===l||l,p=i.enabled,h=void 0===p||p,d=i.enableOnContentEditable,m=void 0!==d&&d,g=(0,a.useRef)(null),y=(0,a.useCallback)((function(e,r){var n;return s&&!s(e)?!f:!!(ra(e,["INPUT","TEXTAREA","SELECT"])&&!ra(e,o)||null!=(n=e.target)&&n.isContentEditable&&!m)||(null===g.current||document.activeElement===g.current)&&(t(e,r),!0)}),n?[g,o,s].concat(n):[g,o,s]);return(0,a.useEffect)((function(){if(h)return u&&!0!==c&&(r.keydown=!1),ta(e,r||{},y),function(){return ta.unbind(e,y)};ta.unbind(e,y)}),[y,e,h]),g}ta.isPressed;function ia(){return ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ia.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var oa="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect,aa={status:"not-requested",loading:!1,result:void 0,error:void 0},sa={status:"loading",loading:!0,result:void 0,error:void 0},ua=function(){},ca={initialState:function(e){return e&&e.executeOnMount?sa:aa},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return sa},setResult:function(e,t){return{status:"success",loading:!1,result:e,error:void 0}},setError:function(e,t){return{status:"error",loading:!1,result:void 0,error:e}},onSuccess:ua,onError:ua},la=function(e,t,r){var n,i=function(e){return ia({},ca,{},e)}(r),o=(0,a.useState)(null),s=o[0],u=o[1],c=function(e){var t=(0,a.useState)((function(){return e.initialState(e)})),r=t[0],n=t[1],i=(0,a.useCallback)((function(){return n(e.initialState(e))}),[n,e]),o=(0,a.useCallback)((function(){return n(e.setLoading(r))}),[r,n]),s=(0,a.useCallback)((function(t){return n(e.setResult(t,r))}),[r,n]),u=(0,a.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),c=n,l=(0,a.useCallback)((function(e){return c(ia({},r,{},e))}),[r,c]);return{value:r,set:c,merge:l,reset:i,setLoading:o,setResult:s,setError:u}}(i),l=(n=(0,a.useRef)(!1),(0,a.useEffect)((function(){return n.current=!0,function(){n.current=!1}}),[]),function(){return n.current}),f=function(){var e=(0,a.useRef)(null);return{set:function(t){return e.current=t},get:function(){return e.current},is:function(t){return e.current===t}}}(),p=function(e){return l()&&f.is(e)},h=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=e.apply(void 0,r);if(u(r),o instanceof Promise)return f.set(o),c.setLoading(),o.then((function(e){p(o)&&c.setResult(e),i.onSuccess(e,{isCurrent:function(){return f.is(o)}})}),(function(e){p(o)&&c.setError(e),i.onError(e,{isCurrent:function(){return f.is(o)}})})),o;var a=o;return c.setResult(a),Promise.resolve(a)},d=!l();return(0,a.useEffect)((function(){d?i.executeOnMount&&h.apply(void 0,t):i.executeOnUpdate&&h.apply(void 0,t)}),t),ia({},c.value,{set:c.set,merge:c.merge,reset:c.reset,execute:h,currentPromise:f.get(),currentParams:s})};function fa(e,t,r){return la(e,t,r)}var pa=function(e,t){return la(e,[],ia({},t,{executeOnMount:!1,executeOnUpdate:!1}))},ha=function(e){var t,r,n=e.value,i=e.fetchMore,o=e.merge,s=e.isEnd,u=(t=n,r=(0,a.useRef)(t),oa((function(){r.current=t})),function(){return r.current}),c=(0,a.useState)(!1),l=c[0],f=c[1],p=(0,a.useRef)(0),h=pa((function(){try{var e=u();if("success"!==e.status)throw new Error("Can't fetch more if the original fetch is not a success");if("loading"===h.status)throw new Error("Can't fetch more, because we are already fetching more!");p.current=p.current+1;var t=p.current;return Promise.resolve(i(e.result)).then((function(r){var i=e.status===u().status&&e.result===u().result,a=p.current===t;return i&&a&&(n.merge({result:o(n.result,r)}),s(r)&&f(!0)),r}))}catch(e){return Promise.reject(e)}})),d="success"!==n.status;return(0,a.useEffect)((function(){d&&(h.reset(),f(!1))}),[d]),{canFetchMore:"success"===n.status&&"loading"!==h.status,loading:h.loading,status:h.status,fetchMore:h.execute,isEnd:l}};window.TopWritePlugins={};class da extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=null==e?void 0:e.value;if(t){let e=document.createElement("a");e.download=this.textContent||"",e.style.display="none",e.target="_blank",e.href=i.resolve(location.href,t),document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}))}}function ma(e){let{component:t,defaultComponent:r=a.Fragment,props:n,children:i=null}=e;return null===t?null:(0,o.jsx)(a.Suspense,{fallback:null,children:(0,o.jsx)(t,{props:n,Component:r,children:i})})}customElements.define("t-attachment",da);var ga=(e,t)=>e.filter((e=>{let{descriptor:r}=e;return t===r.role})).sort(((e,t)=>{let{descriptor:{priority:r=0}}=e,{descriptor:{priority:n=0}}=t;return r-n})).map((e=>e.Component));function ya(e){let{props:t,role:r,component:n}=e;const i=n?(0,a.createElement)(n,t):null,s=W("components");return(0,a.useMemo)((()=>ga(s,r)),[s,r]).reduce(((e,r)=>(0,o.jsx)(ma,{defaultComponent:n,component:r,props:t,children:e})),i)}function va(e){let{props:t,component:r,role:n}=e;const i=W("components"),s=(0,a.useMemo)((()=>ga(i,n)),[i,n]);return(0,o.jsx)(o.Fragment,{children:s.map(((e,n)=>(0,o.jsx)(ma,{defaultComponent:r,component:e,props:t},n)))})}async function ba(e){let t="topwrite-plugin-".concat(e.name);if(!K().isDefined(t)){let r="".concat(e.host,"/").concat(e.main);try{await K()(r,t,{returnPromise:!0})}catch{console.warn("插件".concat(e.name,"加载失败"))}}}function Ea(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function wa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";if("undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / TopWrite SSR process");if("none"===e)return null;try{return window[e]}catch(e){return null}}const xa={get:()=>null,set:()=>{},del:()=>{}},Sa=(e,t)=>{const r=wa(null==t?void 0:t.persistence);return null===r?xa:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function ka(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";const t=wa(e);if(!t)return[];const r=[];for(let e=0;e<t.length;e+=1){const n=t.key(e);null!==n&&r.push(n)}return r}function Aa(){const e=W("book");if(!e)throw new Error("book object not initialized");return e}function Da(){const{config:e}=Aa();return e.getValue("themeConfig")}const Ca="light",Fa="dark";function Pa(e){document.documentElement.setAttribute("data-theme",e)}const Oa=(0,a.createContext)(void 0);function Ta(e){let{children:t,context:r}=e;const{isDarkTheme:n,setLightTheme:i,setDarkTheme:s}=(e=>{const t=Aa(),r=(0,a.useMemo)((()=>Sa("".concat(e,".").concat(t.id,".theme"))),[t.id,e]),{defaultMode:n}=Da(),[i,o]=(0,a.useState)((()=>{const e=(e=>e===Fa?Fa:Ca)(r.get()||n);return Pa(e),e}));(0,a.useEffect)((()=>{Pa(i)}),[i]);const s=(0,a.useCallback)((()=>{o(Ca),r.set(Ca)}),[r]),u=(0,a.useCallback)((()=>{o(Fa),r.set(Fa)}),[r]);return{isDarkTheme:i===Fa,setLightTheme:s,setDarkTheme:u}})(r);return(0,o.jsx)(Oa.Provider,{value:{isDarkTheme:n,setLightTheme:i,setDarkTheme:s},children:t})}function ja(){const e=(0,a.useContext)(Oa);return null==e?{isDarkTheme:!1,setLightTheme:w.noop,setDarkTheme:w.noop}:e}var _a;function Ia(){const{primaryColor:e}=Da();return(0,o.jsx)(Ra,{primaryColor:e})}const Ra=Xn(_a||(_a=br(["\n :root {\n --ttw-primary-color: ",";\n }\n\n //TODO 转移到异步加载\n //附件\n t-attachment {\n color: var(--ttw-primary-color);\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n padding: 0 4px;\n vertical-align: bottom;\n margin: 0 1px;\n\n &:before {\n content: '';\n width: 18px;\n height: 18px;\n background-color: var(--ttw-primary-color);\n mask: url(\"",'") no-repeat center;\n margin-right: 4px;\n }\n\n &:after {\n content: "(" attr(size) ")";\n margin-left: 4px;\n display: none;\n }\n\n &[size]:after {\n display: inline;\n }\n\n &:hover {\n background: rgba(0, 0, 0, .1);\n }\n\n &:read-write {\n cursor: text;\n }\n }\n'])),(e=>e.primaryColor),"data:image/svg+xml,%3csvg t='1642406480574' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2254' width='16' height='16'%3e %3cpath d='M874.666667 467.2c-10.666667-10.666667-29.866667-12.8-42.666667 0l-343.466667 341.333333c-74.666667 74.666667-198.4 74.666667-275.2 0-36.266667-36.266667-57.6-85.333333-57.6-136.533333s19.2-100.266667 57.6-136.533333L556.8 192c46.933333-46.933333 121.6-46.933333 168.533333 0 23.466667 23.466667 34.133333 53.333333 34.133334 83.2 0 32-12.8 61.866667-34.133334 83.2L384 704c-17.066667 17.066667-44.8 17.066667-64 0-8.533333-8.533333-12.8-19.2-12.8-32s4.266667-23.466667 12.8-32l317.866667-315.733333c10.666667-10.666667 12.8-29.866667 0-42.666667-10.666667-12.8-29.866667-12.8-42.666667 0L277.333333 597.333333c-19.2 19.2-29.866667 46.933333-29.866666 74.666667S258.133333 725.333333 277.333333 746.666667c40.533333 40.533333 106.666667 40.533333 147.2 0L768 403.2c34.133333-34.133333 53.333333-78.933333 53.333333-125.866667s-19.2-93.866667-53.333333-125.866666a178.986667 178.986667 0 0 0-253.866667 0l-341.333333 341.333333c-46.933333 46.933333-74.666667 110.933333-74.666667 179.2s25.6 132.266667 74.666667 179.2c49.066667 49.066667 115.2 74.666667 179.2 74.666667s130.133333-25.6 179.2-74.666667l343.466667-341.333333c10.666667-12.8 10.666667-32 0-42.666667z' p-id='2255'%3e%3c/path%3e%3c/svg%3e"),La=new class extends z{constructor(){super(...arguments),X(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},Na=new class extends z{};var Ma=Object.freeze({__proto__:null,components:La,options:Na});class Ba{constructor(e,t,r){X(this,"name",void 0),X(this,"book",void 0),X(this,"models",{...Ma}),X(this,"components",[]),X(this,"activates",[]),X(this,"plugins",[]),X(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&t&&(r="plugin:setting:".concat(t)),this.components.push(Ea(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models["@".concat(t,"@").concat(r)]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){const t=await this.createIntl(e),r=V(this.models,{book:this.book,components:this.components,...this.initialState}),n=e=>{let{children:t}=e;return this.activates.reduce(((e,t)=>{const r=t(this.name);return void 0!==r?r:e}),t)};return e=>{let{children:i}=e;return(0,o.jsx)(J,{value:t,children:(0,o.jsx)(G,{store:r,children:(0,o.jsx)(Li,{children:(0,o.jsxs)(Ta,{context:this.name,children:[(0,o.jsx)(Ia,{}),(0,o.jsx)(n,{children:i})]})})})})}}async createIntl(e){const t=navigator.language,r={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},n=await this.plugins.reduce((async(e,r)=>{const n=await e;return r.localize?Object.assign({},n,await r.localize(t)):n}),e(t));return yr({locale:t,messages:n,defaultLocale:"en"},r)}}async function za(e,t,r,i,o,a){const s=await async function(e,t){let r=[];if(t){const i=(0,n.NC)(t);try{r=await i.getInstalled(e),r=r.filter((e=>{var t;return!(null!==(t=window.TopWritePlugins[e.name])&&void 0!==t&&t.meta)}))}catch{}}try{const e=sessionStorage.getItem("PLUGIN_DEV"),t=Y.parse(window.location.search);if("dev"in t||e){const i=t.dev||e||8080;try{const e=(await n.WY.get("http://localhost:".concat(i,"/meta"),{raxConfig:{retry:0}})).data;r=r.filter((t=>t.name!==e.name&&!("theme"===e.type&&"theme"===t.type))),window.TopWritePlugins[e.name]&&delete window.TopWritePlugins[e.name],r.unshift(e),sessionStorage.setItem("PLUGIN_DEV",String(i))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}}catch{}const i=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta})),o=i.some((e=>"theme"===e.type)),a=Object.keys(window.TopWritePlugins),s=[];for(let e of r)e.disabled||a.includes(e.name)||o&&"theme"===e.type||s.push(ba(e));return await Promise.all(s),i.push(...r),window.TopWritePluginsMeta=i,Object.values(window.TopWritePlugins||{})}(t,a),u=new Ba(e,t,i);return u.registerModels(r),await u.registerPlugins(s),await u.createApp(o)}function Ua(e){return function(e){const{actions:t}=(0,a.useContext)(H);return e?t[e]:t}(e)}function $a(e){return W(e)}function qa(e){return[$a(e),Ua(e)]}function Va(e,t,r){const n="function"==typeof t;n||(r=t),(0,a.useEffect)((()=>{let r;const i=e();return Promise.resolve(i).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function Ha(e){const t=(0,a.useRef)(null),[r,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function Ga(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Wa{constructor(e){let{name:t,meta:r,models:n={},components:i={},activate:o,register:a,localize:s,config:u}=e;X(this,"name",void 0),X(this,"config",void 0),X(this,"localize",void 0),X(this,"models",void 0),X(this,"components",void 0),X(this,"activate",void 0),X(this,"register",void 0),X(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=i,this.activate=o,this.register=a,this.localize=s,this.config=u}}const Qa=(0,Qi.convert)("root"),Ka=(0,Qi.convert)("element"),Ya=(0,Qi.convert)("text");function Xa(e){return e.filter((e=>!(Ya(e)&&"\n"===e.value)))}function Za(e,t,r){const n=t.properties,i=t.tagName,o={...n};r.prefix&&(r.key++,o.key=r.prefix+r.key);const a=[],s=Xa(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Ka(t)?a.push(Za(e,t,r)):Ya(t)&&a.push(t.value)}return e.call(t,i,o,a.length>0?a:void 0)}function Ja(e,t){let{extensions:r=[],creator:n=s().createElement}=t;const i={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},vo(e,t)),leafDirective:(e,t)=>e({},"leafDirective",t.attributes),containerDirective:(e,t)=>e({},"containerDirective",t.attributes,vo(e,t)),heading(e,t){const r=e(t,"heading",vo(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},o=Oo(e,i);if(Qa(o))return Xa(o.children).map(((e,t)=>Ka(e)?Za(n,e,{key:0,prefix:"h-".concat(t,"-")}):Ya(e)?e.value:void 0));if(!Ka(o))throw new Error("Expected root or element, not `"+(o&&o.type||o)+"`");return Za(n,o,{key:0,prefix:"h-"})}const es=e=>{let{value:t}=e;return(0,o.jsx)("pre",{children:(0,o.jsx)("code",{children:t})})},ts=e=>{let{value:t}=e;return(0,o.jsx)("code",{children:t})},rs=["video","audio","attachment"];function ns(e){let{depth:t=5,...r}=e;return(0,a.createElement)("h".concat(t),r)}const is={"x-inline":function(e){const{name:t,value:r}=e;return(0,o.jsx)(ya,{role:"inline:".concat(t),props:{type:"inline",name:t,value:r},component:ts})},"x-block":function(e){const{name:t,value:r,parameter:n}=e;return(0,o.jsx)(ya,{role:"block:".concat(t),props:{type:"block",name:t,parameter:n,value:r},component:es})},textDirective:function(e){const{name:t,attributes:r,children:n,components:i={}}=e;if(!rs.includes(t))return null;let a=t;return customElements.get("t-".concat(t))&&(a="t-".concat(t)),(0,o.jsx)(ya,{role:"html:".concat(t),props:{...r,children:n},component:i[t]||a})},heading:function(e){let{components:t={},...r}=e;return(0,o.jsx)(ya,{role:"html:heading",props:r,component:t.heading||ns})}};var os;const as=e=>{let{tagName:t,components:r={},...n}=e;return is[t]?(0,a.createElement)(is[t],{...n,components:r}):To.includes(t)?(0,o.jsx)(ya,{role:"html:".concat(t),props:n,component:r[t]||t}):(console.warn("unknown tagName: ".concat(t)),null)};function ss(e){let{as:t=a.Fragment,children:r,components:i={},aside:s=!0,header:u,footer:c,css:l,...f}=e;const p=(0,a.useMemo)((()=>(0,n.JH)().use(oo).freeze()),[]);return(0,a.useMemo)((()=>{try{const e=p.data("toHastExtensions"),n=p.runSync(p.parse(r));let h=null;if(s){const t=function(e,t){const r=t||{},n=r.heading?Ki(r.heading):null,i=Xi(e,n,r);return{index:n?i.index:null,endIndex:n?i.endIndex:null,map:i.map.length>0?Ji(i.map,r):null}}(n).map;t&&(h=Ja(t,{extensions:e}))}const d=Ja(n,{extensions:e,creator:(e,t,r)=>(0,a.createElement)(as,{...t,tagName:e,components:i},r)});return(0,a.createElement)(t,f,(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("article",{children:[u,(0,o.jsx)(us,{$css:l,children:d}),c]}),h&&(0,o.jsx)("aside",{children:h})]}))}catch(e){return console.log(e),null}}),[r,s,p,l])}const us=Jn.section(os||(os=br(["\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n line-height: 1.2;\n word-wrap: break-word;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table {\n margin: 1em 0;\n line-height: 1.2;\n padding: 0;\n\n &:last-child {\n margin-bottom: 0 !important;\n }\n\n &:first-child {\n margin-top: 0 !important;\n }\n }\n\n p {\n margin: 0;\n line-height: 2;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: normal;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n h1 {\n font-size: 2em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee;\n padding-bottom: .5em;\n }\n\n h2 {\n padding-bottom: .4em;\n font-size: 1.3em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee\n }\n\n h3 {\n font-size: 1.2em;\n line-height: 1.2;\n }\n\n h4 {\n font-size: 1.1em;\n line-height: 1.2;\n }\n\n h5 {\n font-size: 1em;\n line-height: 1.2;\n }\n\n hr {\n border: 0;\n border-bottom: 1px solid #eeeeee;\n margin-bottom: 0.5em;\n }\n\n ul {\n padding-left: 2em;\n\n ul {\n margin: 0;\n }\n\n &.task-list {\n list-style: none;\n\n li {\n position: relative;\n\n .icon.square {\n position: absolute;\n left: -1.75em;\n top: 1px;\n }\n }\n }\n }\n\n ol {\n padding-left: 2em;\n }\n\n li {\n line-height: 2;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n code {\n display: inline-block;\n border-radius: 4px;\n padding: .2em .4em;\n background-color: #f7f7f7;\n word-break: break-all;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n white-space: pre;\n line-height: 1.3;\n margin: -.2em .4em;\n }\n\n pre {\n padding: 1.05em;\n overflow: auto;\n line-height: 1.45;\n background-color: #f7f7f7;\n border: 0;\n border-radius: 3px;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n }\n\n\n pre > code {\n display: inline;\n max-width: 100%;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n background-color: rgba(0, 0, 0, 0);\n border: 0;\n tab-size: 4;\n }\n\n p {\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n table {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n line-height: 1.8;\n border-spacing: 0;\n\n th {\n text-align: left;\n }\n\n th, td {\n border: 1px solid #e0e0e0;\n padding: 3px 12px;\n height: 34px;\n }\n\n tr:hover td {\n background-color: #f1f1f1;\n }\n }\n\n img {\n max-width: 100%;\n display: inline-block;\n padding: 3px;\n vertical-align: middle;\n }\n\n a {\n text-decoration: none;\n color: var(--ttw-primary-color);\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n blockquote {\n padding: 5px 5px 5px 15px;\n color: #777777;\n border-left: 4px solid #dddddd;\n\n &.info {\n border-left-color: #5bc0de;\n color: #5bc0de;\n background-color: #f4f8fa;\n }\n\n &.warning {\n background-color: #fcf8f2;\n border-color: #f0ad4e;\n color: #f0ad4e;\n }\n\n &.danger {\n color: #d9534f;\n background-color: #fdf7f7;\n border-color: #d9534f;\n }\n\n &.success {\n background-color: #f3f8f3;\n border-color: #50af51;\n color: #50af51;\n }\n }\n\n video {\n width: 100%;\n }\n\n audio {\n width: 100%;\n }\n\n html[data-theme=dark] & {\n code {\n background-color: #333437;\n }\n\n pre {\n background-color: #333437;\n }\n\n h1, h2, hr {\n border-color: #404040;\n }\n\n th, td {\n border-color: #404040;\n }\n\n tr:hover td {\n background-color: #333437;\n }\n }\n\n ","\n"])),(e=>e.$css));function cs(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current}function ls(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function fs(e,t,r){const n=(0,a.useRef)(e),i=(0,a.useRef)((0,w.debounce)(e,t,r));return(0,a.useEffect)((()=>{n.current=e})),(0,a.useEffect)((()=>{i.current=(0,w.debounce)((function(){n.current(...arguments)}),t,r)}),[t,r]),i.current}function ps(e,t,r){const n=(0,a.useRef)(e),i=(0,a.useRef)((0,w.throttle)(e,t,r));return(0,a.useEffect)((()=>{n.current=e})),(0,a.useEffect)((()=>{i.current=(0,w.throttle)((function(){n.current(...arguments)}),t,r)}),[t,r]),i.current}function hs(){return W("options")}const ds=new EventTarget;function ms(){return ds}function gs(e,t,r,n){const i=a.useRef(r),o=a.useRef(n);a.useEffect((()=>{i.current=r,o.current=n})),a.useEffect((()=>{const r=e&&"current"in e?e.current:e;if(!r)return;let n=0;function a(){if(!n){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current.apply(this,t)}}r.addEventListener(t,a);const s=o.current;return()=>{n=1,r.removeEventListener(t,a),s&&s()}}),[e,t])}function ys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/html"));const t=e.querySelector('script[type="application/payload+json"]');if(t)try{return JSON.parse(t.innerHTML)}catch{return{}}}var vs=Object.freeze({__proto__:null,encode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return window.btoa(unescape(encodeURIComponent(e)))}catch(e){if(t)throw e;return""}},decode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return decodeURIComponent(escape(window.atob(e)))}catch(e){if(t)throw e;return""}}});function bs(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}const Es="1.0.0"},7007:(e,t)=>{"use strict";var r=60103,n=60106,i=60107,o=60108,a=60114,s=60109,u=60110,c=60112,l=60113,f=60120,p=60115,h=60116,d=60121,m=60122,g=60117,y=60129,v=60131;
1
+ (()=>{var e,t,r,n,o,i,a={8924:(e,t,r)=>{"use strict";r.d(t,{l_:()=>n.l_,fy:()=>n.fy,De:()=>n.De,$B:()=>n.$B,ql:()=>qo,cu:()=>ya,IA:()=>va,fH:()=>Y,$q:()=>n.$q,aC:()=>n.aC,UG:()=>ss,Hn:()=>N,Sy:()=>Wa,ER:()=>n.ER,oI:()=>n.oI,Lj:()=>n.Lj,q4:()=>Es,rK:()=>n.rK,US:()=>vs,W3:()=>Ha,nC:()=>Ea,vJ:()=>Zn,WA:()=>Sa,iv:()=>_n,He:()=>ys,Ak:()=>Ga,oe:()=>n.oe,V5:()=>bs,CB:()=>n.CB,F4:()=>Yn,_f:()=>Aa,j0:()=>W(),JH:()=>n.JH,FB:()=>n.FB,YB:()=>n.YB,WY:()=>n.WY,zo:()=>Xn,ol:()=>za,r5:()=>fa,UK:()=>ha,bd:()=>qa,r3:()=>pa,CQ:()=>ka,Nr:()=>fs,jr:()=>ls,zX:()=>gs,Rs:()=>ms,y1:()=>na,cw:()=>yr,tT:()=>$a,D2:()=>ps,D9:()=>us,v9:()=>Ua,CM:()=>Va,LU:()=>Da,TC:()=>ja,fB:()=>hs});var n=r(3440),o=r(4760),i=r(4246),a=r(7363),s=r.n(a),c=r(189);function u(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var l="function"==typeof Symbol&&Symbol.observable||"@@observable",f=function(){return Math.random().toString(36).substring(7).split("").join(".")},h={INIT:"@@redux/INIT"+f(),REPLACE:"@@redux/REPLACE"+f(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+f()}};function p(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function d(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(u(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(u(1));return r(d)(e,t)}if("function"!=typeof e)throw new Error(u(2));var o=e,i=t,a=[],s=a,c=!1;function f(){s===a&&(s=a.slice())}function m(){if(c)throw new Error(u(3));return i}function g(e){if("function"!=typeof e)throw new Error(u(4));if(c)throw new Error(u(5));var t=!0;return f(),s.push(e),function(){if(t){if(c)throw new Error(u(6));t=!1,f();var r=s.indexOf(e);s.splice(r,1),a=null}}}function y(e){if(!p(e))throw new Error(u(7));if(void 0===e.type)throw new Error(u(8));if(c)throw new Error(u(9));try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!=typeof e)throw new Error(u(10));o=e,y({type:h.REPLACE})}function b(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(u(11));function r(){e.next&&e.next(m())}return r(),{unsubscribe:t(r)}}})[l]=function(){return this},e}return y({type:h.INIT}),(n={dispatch:y,subscribe:g,getState:m,replaceReducer:v})[l]=b,n}function m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(u(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=m.apply(void 0,i)(r.dispatch),(0,c.Z)((0,c.Z)({},r),{},{dispatch:n})}}}var y=r(4649),v=r(8907),b=r(2611),E=s().createContext(null);var w=function(e){e()},x=function(){return w};var S={notify:function(){},get:function(){return[]}};function A(e,t){var r,n=S;function o(){a.onStateChange&&a.onStateChange()}function i(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){var e=x(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(r)},trySubscribe:i,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=S)},getListeners:function(){return n}};return a}var k="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;const D=function(e){var t=e.store,r=e.context,n=e.children,o=(0,a.useMemo)((function(){var e=A(t);return{store:t,subscription:e}}),[t]),i=(0,a.useMemo)((function(){return t.getState()}),[t]);k((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var c=r||E;return s().createElement(c.Provider,{value:o},n)};var C=r(5839),F=r.n(C);r(9272);r(5773);function P(){return(0,a.useContext)(E)}var O=function(e,t){return e===t};function T(e){void 0===e&&(e=E);var t=e===E?P:function(){return(0,a.useContext)(e)};return function(e,r){void 0===r&&(r=O);var n=t(),o=function(e,t,r,n){var o,i=(0,a.useReducer)((function(e){return e+1}),0)[1],s=(0,a.useMemo)((function(){return A(r,n)}),[r,n]),c=(0,a.useRef)(),u=(0,a.useRef)(),l=(0,a.useRef)(),f=(0,a.useRef)(),h=r.getState();try{if(e!==u.current||h!==l.current||c.current){var p=e(h);o=void 0!==f.current&&t(p,f.current)?f.current:p}else o=f.current}catch(e){throw c.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),e}return k((function(){u.current=e,l.current=h,f.current=o,c.current=void 0})),k((function(){function e(){try{var e=r.getState();if(e===l.current)return;var n=u.current(e);if(t(n,f.current))return;f.current=n,l.current=e}catch(e){c.current=e}i()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(e,r,n.store,n.subscription);return(0,a.useDebugValue)(o),o}}var j,I=T(),_=r(1533);j=_.unstable_batchedUpdates,w=j;const R="TYPE_SET_STATE",B="TYPE_GET_STATE";function L(e){const t=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(t).filter((e=>!["constructor","onAction","subscription"].includes(e)&&"function"==typeof t[e]&&!e.startsWith("_")))}class N{constructor(){(0,y.Z)(this,"initialState",void 0),(0,y.Z)(this,"state",void 0)}*getState(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yield{type:B,payload:{models:t}}}setState(e){return{type:R,payload:{fn:e}}}dispatch(e){}}function M(e){return e&&"function"==typeof e.next&&"function"==typeof e.throw}(0,v.Fl)(!1);const H=(e,t,r)=>{for(let n of e)t=n(t,r);return t},z=(e,t)=>{for(let r in e){let n=e[r];e[r]=function(){let e=n(...arguments);if("function"==typeof e)return e(t)}}return e};function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const o={},i={},a={},s={},c={},u={};for(const r in e){const n=e[r];void 0!==n.initialState?"function"==typeof n.initialState?a[r]=n.initialState(t[r],t):a[r]=(0,b.merge)(n.initialState,t[r]):a[r]=t[r],i[r]={},n.onAction&&(u[r]=(e,t)=>n.onAction(e,t,s[r])),n.subscription&&(c[r]=n.subscription),n.dispatch=function(e){if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];s[r][e](...n)}};const l=L(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a="".concat(r,"/").concat(e);i[r][e]=function(){for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];return async e=>{const{dispatch:s,getState:c}=e;let l=0;const f=Object.entries(u).filter((e=>{let[t]=e;return t!==r})).map((e=>{let[,t]=e;return t}));let h=H(f,t.bind(n),a)(...i);const p=async e=>{let t=await e.next();for(;!t.done;){let n,i;if(t.value instanceof Promise)try{n=await t.value}catch(e){i=e}else if(M(t.value))try{n=await p(t.value)}catch(e){i=e}else{let e=t.value,i=e.payload;switch(e.type){case B:const e=c();n=i.models.length>0?i.models.length>1?i.models.map((t=>e[t])):e[i.models[0]]:e;break;case R:let t="".concat(a,"/@@").concat(++l);o[t]=i.fn,s({type:t,name:r}),delete o[t]}}t=i?await e.throw(i):await e.next(n)}return t.value};await p(h)}}}}const l=function(e,t){return(0,v.Uy)(e,(e=>{t.name&&o[t.type]&&("function"==typeof o[t.type]?e[t.name]=(0,v.Uy)(e[t.name],o[t.type]):e[t.name]=o[t.type])}))},f=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||m,h=d(r(l),a,f(g(...n))),{getState:p}=h;for(let[e,t]of Object.entries(i))s[e]=z(t,h);for(let t in c)c[t].call(e[t],s[t],p()[t]);return h.actions=s,h}const $=(0,a.createContext)({actions:{}});function q(e){let{store:t,children:r}=e;return(0,i.jsx)($.Provider,{value:{actions:t.actions},children:(0,i.jsx)(D,{store:t,children:r})})}function V(e,t){return"string"==typeof e||Array.isArray(e)?I((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):I(e,t)}var G=r(6051),W=r.n(G),Q=r(8891);var K=a.createContext(null),Z=(K.Consumer,K.Provider),Y=K;var X=function(e,t){return X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},X(e,t)};function J(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ee=function(){return ee=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ee.apply(this,arguments)};Object.create;function te(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var re,ne,oe;Object.create;function ie(e){return e.type===ne.literal}function ae(e){return e.type===ne.argument}function se(e){return e.type===ne.number}function ce(e){return e.type===ne.date}function ue(e){return e.type===ne.time}function le(e){return e.type===ne.select}function fe(e){return e.type===ne.plural}function he(e){return e.type===ne.pound}function pe(e){return e.type===ne.tag}function de(e){return!(!e||"object"!=typeof e||e.type!==oe.number)}function me(e){return!(!e||"object"!=typeof e||e.type!==oe.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(re||(re={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ne||(ne={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(oe||(oe={}));var ge=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ye=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ve(e){var t={};return e.replace(ye,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var be=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,we=/^(@+)?(\+|#+)?[rs]?$/g,xe=/(\*)(0+)|(#+)(0+)|(0+)/g,Se=/^(0+)$/;function Ae(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(we,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function ke(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function De(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Se.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ce(e){var t=ke(e);return t||{}}function Fe(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ee(ee(ee({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return ee(ee({},e),Ce(t))}),{}));continue;case"engineering":t=ee(ee(ee({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return ee(ee({},e),Ce(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(xe,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Se.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Ee.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ee,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=ee(ee({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=ee(ee({},t),Ae(i)))}else if(we.test(o.stem))t=ee(ee({},t),Ae(o.stem));else{var a=ke(o.stem);a&&(t=ee(ee({},t),a));var s=De(o.stem);s&&(t=ee(ee({},t),s))}}return t}var Pe,Oe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Te(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Oe[r||""]||Oe[n||""]||Oe["".concat(n,"-001")]||Oe["001"])[0]}var je=new RegExp("^".concat(ge.source,"*")),Ie=new RegExp("".concat(ge.source,"*$"));function _e(e,t){return{start:e,end:t}}var Re=!!String.prototype.startsWith,Be=!!String.fromCodePoint,Le=!!Object.fromEntries,Ne=!!String.prototype.codePointAt,Me=!!String.prototype.trimStart,He=!!String.prototype.trimEnd,ze=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ue=!0;try{Ue="a"===(null===(Pe=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Pe?void 0:Pe[0])}catch(_r){Ue=!1}var $e,qe=Re?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ve=Be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;o>i;){if((r=e[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ge=Le?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],a=o[1];t[i]=a}return t},We=Ne?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Qe=Me?function(e){return e.trimStart()}:function(e){return e.replace(je,"")},Ke=He?function(e){return e.trimEnd()}:function(e){return e.replace(Ie,"")};function Ze(e,t){return new RegExp(e,t)}if(Ue){var Ye=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(e,t){var r;return Ye.lastIndex=t,null!==(r=Ye.exec(e)[1])&&void 0!==r?r:""}}else $e=function(e,t){for(var r=[];;){var n=We(e,t);if(void 0===n||tt(n)||rt(n))break;r.push(n),t+=n>=65536?2:1}return Ve.apply(void 0,r)};var Xe=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(re.UNMATCHED_CLOSING_TAG,_e(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Je(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ne.pound,location:_e(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ne.literal,value:"<".concat(n,"/>"),location:_e(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Je(this.char()))return this.error(re.INVALID_TAG,_e(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(re.UNMATCHED_CLOSING_TAG,_e(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:n,children:i,location:_e(r,this.clonePosition())},err:null}:this.error(re.INVALID_TAG,_e(a,this.clonePosition())))}return this.error(re.UNCLOSED_TAG,_e(r,this.clonePosition()))}return this.error(re.INVALID_TAG,_e(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&et(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=_e(r,this.clonePosition());return{val:{type:ne.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Je(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ve.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ve(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(re.EMPTY_ARGUMENT,_e(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(re.MALFORMED_ARGUMENT,_e(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ne.argument,value:n,location:_e(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(re.MALFORMED_ARGUMENT,_e(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=$e(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:_e(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(re.EXPECT_ARGUMENT_TYPE,_e(i,s));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(p=Ke(y.val)).length)return this.error(re.EXPECT_ARGUMENT_STYLE,_e(this.clonePosition(),this.clonePosition()));c={style:p,styleLocation:_e(u,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var l=_e(n,this.clonePosition());if(c&&qe(null==c?void 0:c.style,"::",0)){var f=Qe(c.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(f,c.styleLocation)).err?y:{val:{type:ne.number,value:r,location:l,style:y.val},err:null};if(0===f.length)return this.error(re.EXPECT_DATE_TIME_SKELETON,l);var h=f;this.locale&&(h=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var i=0;n+1<e.length&&e.charAt(n+1)===o;)i++,n++;var a=1+(1&i),s=i<2?1:3+(i>>1),c=Te(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=c+r}else r+="J"===o?"H":o}return r}(f,this.locale));var p={type:oe.dateTime,pattern:h,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?ve(h):{}};return{val:{type:"date"===a?ne.date:ne.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?ne.number:"date"===a?ne.date:ne.time,value:r,location:l,style:null!==(o=null==c?void 0:c.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(re.EXPECT_SELECT_ARGUMENT_OPTIONS,_e(d,ee({},d)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_e(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,a,t,m);if(b.err)return b;if((v=this.tryParseArgumentClose(n)).err)return v;var E=_e(n,this.clonePosition());return"select"===a?{val:{type:ne.select,value:r,options:Ge(b.val),location:E},err:null}:{val:{type:ne.plural,value:r,options:Ge(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:E},err:null};default:return this.error(re.INVALID_ARGUMENT_TYPE,_e(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,_e(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_e(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(be).filter((function(e){return e.length>0})),r=[],n=0,o=t;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),c=0,u=s;c<u.length;c++)if(0===u[c].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(e)}catch(e){return this.error(re.INVALID_NUMBER_SKELETON,t)}return{val:{type:oe.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Fe(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o,i=!1,a=[],s=new Set,c=n.value,u=n.location;;){if(0===c.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(re.EXPECT_PLURAL_ARGUMENT_SELECTOR,re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=_e(l,this.clonePosition()),c=this.message.slice(l.offset,this.offset())}if(s.has(c))return this.error("select"===t?re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_e(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,r);if(p.err)return p;var d=this.tryParseArgumentClose(h);if(d.err)return d;a.push([c,{value:p.val,location:_e(h,this.clonePosition())}]),s.add(c),this.bumpSpace(),c=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===a.length?this.error("select"===t?re.EXPECT_SELECT_ARGUMENT_SELECTOR:re.EXPECT_PLURAL_ARGUMENT_SELECTOR,_e(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(re.MISSING_OTHER_CLAUSE,_e(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=_e(n,this.clonePosition());return o?ze(i*=r)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=We(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tt(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function Je(e){return e>=97&&e<=122||e>=65&&e<=90}function et(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function tt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function rt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function nt(e){e.forEach((function(e){if(delete e.location,le(e)||fe(e))for(var t in e.options)delete e.options[t].location,nt(e.options[t].value);else se(e)&&de(e.style)||(ce(e)||ue(e))&&me(e.style)?delete e.style.location:pe(e)&&nt(e.children)}))}function ot(e,t){void 0===t&&(t={}),t=ee({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Xe(e,t).parse();if(r.err){var n=SyntaxError(re[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||nt(r.val),r.val}function it(e,t){var r=t&&t.cache?t.cache:pt,n=t&&t.serializer?t.serializer:lt;return(t&&t.strategy?t.strategy:ut)(e,{cache:r,serializer:n})}function at(e,t,r,n){var o=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),i=t.get(o);return void 0===i&&(i=e.call(this,n),t.set(o,i)),i}function st(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}function ct(e,t,r,n,o){return r.bind(t,e,n,o)}function ut(e,t){return ct(e,this,1===e.length?at:st,t.cache.create(),t.serializer)}var lt=function(){return JSON.stringify(arguments)};function ft(){this.cache=Object.create(null)}ft.prototype.get=function(e){return this.cache[e]},ft.prototype.set=function(e,t){this.cache[e]=t};var ht,pt={create:function(){return new ft}},dt={variadic:function(e,t){return ct(e,this,st,t.cache.create(),t.serializer)},monadic:function(e,t){return ct(e,this,at,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ht||(ht={}));var mt,gt=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return J(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),yt=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ht.INVALID_VALUE,o)||this}return J(t,e),t}(gt),vt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ht.INVALID_VALUE,n)||this}return J(t,e),t}(gt),bt=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ht.MISSING_VALUE,r)||this}return J(t,e),t}(gt);function Et(e){return"function"==typeof e}function wt(e,t,r,n,o,i,a){if(1===e.length&&ie(e[0]))return[{type:mt.literal,value:e[0].value}];for(var s=[],c=0,u=e;c<u.length;c++){var l=u[c];if(ie(l))s.push({type:mt.literal,value:l.value});else if(he(l))"number"==typeof i&&s.push({type:mt.literal,value:r.getNumberFormat(t).format(i)});else{var f=l.value;if(!o||!(f in o))throw new bt(f,a);var h=o[f];if(ae(l))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?mt.literal:mt.object,value:h});else if(ce(l)){var p="string"==typeof l.style?n.date[l.style]:me(l.style)?l.style.parsedOptions:void 0;s.push({type:mt.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(ue(l)){p="string"==typeof l.style?n.time[l.style]:me(l.style)?l.style.parsedOptions:n.time.medium;s.push({type:mt.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(se(l)){(p="string"==typeof l.style?n.number[l.style]:de(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:mt.literal,value:r.getNumberFormat(t,p).format(h)})}else{if(pe(l)){var d=l.children,m=l.value,g=o[m];if(!Et(g))throw new vt(m,"function",a);var y=g(wt(d,t,r,n,o,i).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?mt.literal:mt.object,value:e}})))}if(le(l)){if(!(v=l.options[h]||l.options.other))throw new yt(l.value,h,Object.keys(l.options),a);s.push.apply(s,wt(v.value,t,r,n,o))}else if(fe(l)){var v;if(!(v=l.options["=".concat(h)])){if(!Intl.PluralRules)throw new gt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ht.MISSING_INTL_API,a);var b=r.getPluralRules(t,{type:l.pluralType}).select(h-(l.offset||0));v=l.options[b]||l.options.other}if(!v)throw new yt(l.value,h,Object.keys(l.options),a);s.push.apply(s,wt(v.value,t,r,n,o,h-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===mt.literal&&t.type===mt.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function xt(e,t){return t?Object.keys(e).reduce((function(r,n){var o,i;return r[n]=(o=e[n],(i=t[n])?ee(ee(ee({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=ee(ee({},o[t]),i[t]||{}),e}),{})):o),r}),ee({},e)):e}function St(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(mt||(mt={}));var At,kt=function(){function e(t,r,n,o){var i,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===mt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return wt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xt(e.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,te([void 0],t,!1)))}),{cache:St(i.number),strategy:dt.variadic}),getDateTimeFormat:it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,te([void 0],t,!1)))}),{cache:St(i.dateTime),strategy:dt.variadic}),getPluralRules:it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,te([void 0],t,!1)))}),{cache:St(i.pluralRules),strategy:dt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=ot,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(At||(At={}));var Dt=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n," \n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return J(t,e),t}(Error),Ct=function(e){function t(t,r){return e.call(this,At.UNSUPPORTED_FORMATTER,t,r)||this}return J(t,e),t}(Dt),Ft=function(e){function t(t,r){return e.call(this,At.INVALID_CONFIG,t,r)||this}return J(t,e),t}(Dt),Pt=function(e){function t(t,r){return e.call(this,At.MISSING_DATA,t,r)||this}return J(t,e),t}(Dt),Ot=function(e){function t(t,r,n){return e.call(this,At.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(r,"\n"),n)||this}return J(t,e),t}(Dt),Tt=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t," \nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description," \n"),r,o)||this;return i.descriptor=n,i}return J(t,e),t}(Ot),jt=function(e){function t(t,r){var n=e.call(this,At.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return n.descriptor=t,n}return J(t,e),t}(Dt);function It(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var _t={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function Rt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Bt(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new Ct("No ".concat(t," format named: ").concat(r)))}function Lt(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function Nt(e){Lt(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Mt=ee(ee({},_t),{textComponent:a.Fragment});function Ht(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=ee({timeZone:t},e[n]),r}),{})}function zt(e,t){return Object.keys(ee(ee({},e),t)).reduce((function(r,n){return r[n]=ee(ee({},e[n]||{}),t[n]||{}),r}),{})}function Ut(e,t){if(!t)return e;var r=kt.formats;return ee(ee(ee({},r),e),{date:zt(Ht(r.date,t),Ht(e.date||{},t)),time:zt(Ht(r.time,t),Ht(e.time||{},t))})}function $t(e,t,r,n,o){var i=e.locale,a=e.formats,s=e.messages,c=e.defaultLocale,u=e.defaultFormats,l=e.fallbackOnEmptyString,f=e.onError,h=e.timeZone,p=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,m=r.defaultMessage;Lt(!!d,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(d),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===ne.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!p)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=ee(ee({},p),n||{}),a=Ut(a,h),u=Ut(u,h),!y){if(!1===l&&""===y)return y;if((!m||i&&i.toLowerCase()!==c.toLowerCase())&&f(new jt(r,i)),m)try{return t.getMessageFormat(m,c,u,o).format(n)}catch(e){return f(new Tt('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,r,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(y,i,a,ee({formatters:t},o||{})).format(n)}catch(e){f(new Tt('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),i,r,e))}if(m)try{return t.getMessageFormat(m,c,u,o).format(n)}catch(e){f(new Tt('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,r,e))}return"string"==typeof y?y:"string"==typeof m?m:g}var qt=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Vt(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Bt(o,"number",a,i)||{};return t(n,It(r,qt,s))}function Gt(e,t,r,n){void 0===n&&(n={});try{return Vt(e,t,n).format(r)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Wt(e,t,r,n){void 0===n&&(n={});try{return Vt(e,t,n).formatToParts(r)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting number.",t))}return[]}var Qt=["numeric","style"];function Kt(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new gt('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ht.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Bt(o,"relative",a,i)||{};return t(n,It(r,Qt,s))}(e,t,o).format(r,n)}catch(t){e.onError(new Ot("Error formatting relative time.",e.locale,t))}return String(r)}var Zt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Yt(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var c=n.format,u=ee(ee({},s&&{timeZone:s}),c&&Bt(i,t,c,a)),l=It(n,Zt,u);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=ee(ee({},l),{hour:"numeric",minute:"numeric"})),r(o,l)}function Xt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return Yt(e,"date",t,a).format(s)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Jt(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return Yt(e,"time",t,a).format(s)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function er(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=r[2],s=void 0===a?{}:a,c=e.timeZone,u=e.locale,l=e.onError,f=It(s,Zt,c?{timeZone:c}:{});try{return t(u,f).formatRange(o,i)}catch(e){l(new Dt(At.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function tr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return Yt(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting date.",t))}return[]}function rr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return Yt(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Dt(At.FORMAT_ERROR,"Error formatting time.",t))}return[]}var nr=["localeMatcher","type"];function or(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.PluralRules||i(new gt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ht.MISSING_INTL_API));var a=It(n,nr);try{return t(o,a).select(r)}catch(e){i(new Ot("Error formatting plural.",o,e))}return"other"}var ir=["localeMatcher","type","style"],ar=Date.now();function sr(e,t,r,n){void 0===n&&(n={});var o=cr(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:o}function cr(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.ListFormat||i(new gt('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',ht.MISSING_INTL_API));var a=It(n,ir);try{var s={},c=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(ar,"_").concat(e,"_").concat(ar)}(t);return s[r]=e,r}return String(e)}));return t(o,a).formatToParts(c).map((function(e){return"literal"===e.type?e:ee(ee({},e),{value:s[e.value]||e.value})}))}catch(e){i(new Dt(At.FORMAT_ERROR,"Error formatting list.",e))}return r}var ur=["localeMatcher","style","type","fallback"];function lr(e,t,r,n){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new gt('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',ht.MISSING_INTL_API));var a=It(n,ur);try{return t(o,a).of(r)}catch(e){i(new Dt(At.FORMAT_ERROR,"Error formatting display name.",e))}}function fr(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function hr(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,te([void 0],t,!1)))}),{cache:Rt(e.dateTime),strategy:dt.variadic}),i=it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,te([void 0],t,!1)))}),{cache:Rt(e.number),strategy:dt.variadic}),a=it((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,te([void 0],t,!1)))}),{cache:Rt(e.pluralRules),strategy:dt.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:it((function(e,t,r,n){return new kt(e,t,r,ee({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:a}},n||{}))}),{cache:Rt(e.message),strategy:dt.variadic}),getRelativeTimeFormat:it((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,te([void 0],e,!1)))}),{cache:Rt(e.relativeTime),strategy:dt.variadic}),getPluralRules:a,getListFormat:it((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,te([void 0],e,!1)))}),{cache:Rt(e.list),strategy:dt.variadic}),getDisplayNames:it((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,te([void 0],e,!1)))}),{cache:Rt(e.displayNames),strategy:dt.variadic})}}(t),n=ee(ee({},_t),e),o=n.locale,i=n.defaultLocale,a=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&a?a(new Pt('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&a&&a(new Pt('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new Ft('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),fr(n),ee(ee({},n),{formatters:r,formatNumber:Gt.bind(null,n,r.getNumberFormat),formatNumberToParts:Wt.bind(null,n,r.getNumberFormat),formatRelativeTime:Kt.bind(null,n,r.getRelativeTimeFormat),formatDate:Xt.bind(null,n,r.getDateTimeFormat),formatDateToParts:tr.bind(null,n,r.getDateTimeFormat),formatTime:Jt.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:er.bind(null,n,r.getDateTimeFormat),formatTimeToParts:rr.bind(null,n,r.getDateTimeFormat),formatPlural:or.bind(null,n,r.getPluralRules),formatMessage:$t.bind(null,n,r),$t:$t.bind(null,n,r),formatList:sr.bind(null,n,r.getListFormat),formatListToParts:cr.bind(null,n,r.getListFormat),formatDisplayName:lr.bind(null,n,r.getDisplayNames)})}function pr(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function dr(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Et(o)?(n=o,function(e){return n(a.Children.toArray(e))}):o,t}),{}):e}var mr=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var s=dr(n),c=$t.apply(void 0,te([e,t,r,s],o,!1));return Array.isArray(c)?a.Children.toArray(c):c},gr=function(e,t){var r=e.defaultRichTextElements,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["defaultRichTextElements"]),o=dr(r),i=hr(ee(ee(ee({},Mt),n),{defaultRichTextElements:o}),t);return ee(ee({},i),{formatMessage:mr.bind(null,{locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o},i.formatters)})};!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:gr(pr(t.props),t.cache),prevConfig:pr(t.props)},t}J(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=pr(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;i<o;i++){var a=r[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}(r,o)?null:{intl:gr(o,n),prevConfig:o}},t.prototype.render=function(){return Nt(this.state.intl),a.createElement(Z,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Mt}(a.PureComponent);function yr(){var e=a.useContext(Y);return Nt(e),e}var vr=r(669),br=r(2348),Er=r(4445),wr=r.n(Er);const xr=function(e){function t(e,n,c,u,h){for(var p,d,m,g,E,x=0,S=0,A=0,k=0,D=0,j=0,_=m=p=0,B=0,L=0,N=0,M=0,H=c.length,z=H-1,U="",$="",q="",V="";B<H;){if(d=c.charCodeAt(B),B===z&&0!==S+k+A+x&&(0!==S&&(d=47===S?10:47),k=A=x=0,H++,z++),0===S+k+A+x){if(B===z&&(0<L&&(U=U.replace(f,"")),0<U.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:U+=c.charAt(B)}d=59}switch(d){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,M=++B;B<H;){switch(d=c.charCodeAt(B)){case 123:m++;break;case 125:m--;break;case 47:switch(d=c.charCodeAt(B+1)){case 42:case 47:e:{for(_=B+1;_<z;++_)switch(c.charCodeAt(_)){case 47:if(42===d&&42===c.charCodeAt(_-1)&&B+2!==_){B=_+1;break e}break;case 10:if(47===d){B=_+1;break e}}B=_}}break;case 91:d++;case 40:d++;case 34:case 39:for(;B++<z&&c.charCodeAt(B)!==d;);}if(0===m)break;B++}if(m=c.substring(M,B),0===p&&(p=(U=U.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(U=U.replace(f,"")),d=U.charCodeAt(1)){case 100:case 109:case 115:case 45:L=n;break;default:L=T}if(M=(m=t(n,L,m,d,h+1)).length,0<I&&(E=s(3,m,L=r(T,U,N),n,F,C,M,d,h,u),U=L.join(""),void 0!==E&&0===(M=(m=E.trim()).length)&&(d=0,m="")),0<M)switch(d){case 115:U=U.replace(w,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===u&&($+=m,m="")}else m=""}else m=t(n,r(n,U,N),m,u,h+1);q+=m,m=N=L=_=p=0,U="",d=c.charCodeAt(++B);break;case 125:case 59:if(1<(M=(U=(0<L?U.replace(f,""):U).trim()).length))switch(0===_&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(M=(U=U.replace(" ",":")).length),0<I&&void 0!==(E=s(1,U,n,e,F,C,$.length,u,h,u))&&0===(M=(U=E.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),d=U.charCodeAt(1),p){case 0:break;case 64:if(105===d||99===d){V+=U+c.charAt(B);break}default:58!==U.charCodeAt(M-1)&&($+=o(U,p,d,U.charCodeAt(2)))}N=L=_=p=0,U="",d=c.charCodeAt(++B)}}switch(d){case 13:case 10:47===S?S=0:0===1+p&&107!==u&&0<U.length&&(L=1,U+="\0"),0<I*R&&s(0,U,n,e,F,C,$.length,u,h,u),C=1,F++;break;case 59:case 125:if(0===S+k+A+x){C++;break}default:switch(C++,g=c.charAt(B),d){case 9:case 32:if(0===k+x+S)switch(D){case 44:case 58:case 9:case 32:g="";break;default:32!==d&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+S+x&&(L=N=1,g="\f"+g);break;case 108:if(0===k+S+x+P&&0<_)switch(B-_){case 2:112===D&&58===c.charCodeAt(B-3)&&(P=D);case 8:111===j&&(P=j)}break;case 58:0===k+S+x&&(_=B);break;case 44:0===S+A+k+x&&(L=1,g+="\r");break;case 34:case 39:0===S&&(k=k===d?0:0===k?d:k);break;case 91:0===k+S+A&&x++;break;case 93:0===k+S+A&&x--;break;case 41:0===k+S+x&&A--;break;case 40:if(0===k+S+x){if(0===p)if(2*D+3*j==533);else p=1;A++}break;case 64:0===S+A+k+x+_+m&&(m=1);break;case 42:case 47:if(!(0<k+x+A))switch(S){case 0:switch(2*d+3*c.charCodeAt(B+1)){case 235:S=47;break;case 220:M=B,S=42}break;case 42:47===d&&42===D&&M+2!==B&&(33===c.charCodeAt(M+2)&&($+=c.substring(M,B+1)),g="",S=0)}}0===S&&(U+=g)}j=D,D=d,B++}if(0<(M=$.length)){if(L=n,0<I&&(void 0!==(E=s(2,$,L,e,F,C,M,u,h,u))&&0===($=E).length))return V+$+q;if($=L.join(",")+"{"+$+"}",0!=O*P){switch(2!==O||i($,2)||(P=0),P){case 111:$=$.replace(b,":-moz-$1")+$;break;case 112:$=$.replace(v,"::-webkit-input-$1")+$.replace(v,"::-moz-$1")+$.replace(v,":-ms-input-$1")+$}P=0}}return V+$+q}function r(e,t,r){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[c++]=n(e[u]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===O||2===O&&i(c,1)?"-webkit-"+c+c:c}if(0===O||2===O&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(D,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(E,"tb");break;case 232:c=a.replace(E,"tb-rl");break;case 220:c=a.replace(E,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function i(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),_(2!==t?n:n.replace(A,"$1"),r,t)}function a(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,i,a,s,c,l){for(var f,h=0,p=t;h<I;++h)switch(f=j[h].call(u,e,p,r,n,o,i,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(_=null,e?"function"!=typeof e?O=1:(O=2,_=e):O=0),c}function u(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<I){var o=s(-1,r,n,n,F,C,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var i=t(T,n,r,0,0);return 0<I&&(void 0!==(o=s(-2,i,n,n,F,C,i.length,0,0,0))&&(i=o)),"",P=0,C=F=1,i}var l=/^\0+/g,f=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,d=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,C=1,F=1,P=0,O=1,T=[],j=[],I=0,_=null,R=0;return u.use=function e(t){switch(t){case void 0:case null:I=j.length=0;break;default:if("function"==typeof t)j[I++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else R=0|!!t}return e},u.set=c,void 0!==e&&c(e),u};const Sr={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const Ar=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var kr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const Dr=Ar((function(e){return kr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Cr=r(7061);function Fr(){return(Fr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Pr=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},Or=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,br.typeOf)(e)},Tr=Object.freeze([]),jr=Object.freeze({});function Ir(e){return"function"==typeof e}function _r(e){return e.displayName||e.name||"Component"}function Rr(e){return e&&"string"==typeof e.styledComponentId}var Br=void 0!==Cr&&(Cr.env.REACT_APP_SC_ATTR||Cr.env.SC_ATTR)||"data-styled",Lr="undefined"!=typeof window&&"HTMLElement"in window,Nr=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==Cr&&void 0!==Cr.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==Cr.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==Cr.env.REACT_APP_SC_DISABLE_SPEEDY&&Cr.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==Cr&&void 0!==Cr.env.SC_DISABLE_SPEEDY&&""!==Cr.env.SC_DISABLE_SPEEDY&&("false"!==Cr.env.SC_DISABLE_SPEEDY&&Cr.env.SC_DISABLE_SPEEDY)),Mr={};function Hr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var zr=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&Hr(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),Ur=new Map,$r=new Map,qr=1,Vr=function(e){if(Ur.has(e))return Ur.get(e);for(;$r.has(qr);)qr++;var t=qr++;return Ur.set(e,t),$r.set(t,e),t},Gr=function(e){return $r.get(e)},Wr=function(e,t){t>=qr&&(qr=t+1),Ur.set(e,t),$r.set(t,e)},Qr="style["+Br+'][data-styled-version="5.3.5"]',Kr=new RegExp("^"+Br+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Zr=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Yr=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],o=0,i=r.length;o<i;o++){var a=r[o].trim();if(a){var s=a.match(Kr);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(Wr(u,c),Zr(e,u,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(a)}}},Xr=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},Jr=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Br))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(Br,"active"),n.setAttribute("data-styled-version","5.3.5");var a=Xr();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},en=function(){function e(e){var t=this.element=Jr(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}Hr(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),tn=function(){function e(e){var t=this.element=Jr(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),rn=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),nn=Lr,on={isServer:!Lr,useCSSOMInjection:!Nr},an=function(){function e(e,t,r){void 0===e&&(e=jr),void 0===t&&(t={}),this.options=Fr({},on,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Lr&&nn&&(nn=!1,function(e){for(var t=document.querySelectorAll(Qr),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(Br)&&(Yr(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Vr(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Fr({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new rn(o):n?new en(o):new tn(o),new zr(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Vr(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Vr(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Vr(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var i=Gr(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var c=Br+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),n+=""+s+c+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),sn=/(a)(d)/gi,cn=function(e){return String.fromCharCode(e+(e>25?39:97))};function un(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=cn(t%52)+r;return(cn(t%52)+r).replace(sn,"$1-$2")}var ln=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},fn=function(e){return ln(5381,e)};function hn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Ir(r)&&!Rr(r))return!1}return!0}var pn=fn("5.3.5"),dn=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&hn(e),this.componentId=t,this.baseHash=ln(pn,t),this.baseStyle=r,an.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var i=jn(this.rules,e,t,r).join(""),a=un(ln(this.baseHash,i)>>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,u=ln(this.baseHash,r.hash),l="",f=0;f<c;f++){var h=this.rules[f];if("string"==typeof h)l+=h;else if(h){var p=jn(h,e,t,r),d=Array.isArray(p)?p.join(""):p;u=ln(u,d+f),l+=d}}if(l){var m=un(u>>>0);if(!t.hasNameForId(n,m)){var g=r(l,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),mn=/^\s*\/\/.*$/gm,gn=[":","[",".","#"];function yn(e){var t,r,n,o,i=void 0===e?jr:e,a=i.options,s=void 0===a?jr:a,c=i.plugins,u=void 0===c?Tr:c,l=new xr(s),f=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,n,i){return 0===n&&-1!==gn.indexOf(i[r.length])||i.match(o)?e:"."+t};function d(e,i,a,s){void 0===s&&(s="&");var c=e.replace(mn,""),u=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),l(a||!i?"":i,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},h,function(e){if(-2===e){var t=f;return f=[],t}}])),d.hash=u.length?u.reduce((function(e,t){return t.name||Hr(15),ln(e,t.name)}),5381).toString():"",d}var vn=s().createContext(),bn=(vn.Consumer,s().createContext()),En=(bn.Consumer,new an),wn=yn();function xn(){return(0,a.useContext)(vn)||En}function Sn(){return(0,a.useContext)(bn)||wn}function An(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],o=xn(),i=(0,a.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=(0,a.useMemo)((function(){return yn({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,a.useEffect)((function(){wr()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),s().createElement(vn.Provider,{value:i},s().createElement(bn.Provider,{value:c},e.children))}var kn=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=wn);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Hr(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=wn),this.name+e.hash},e}(),Dn=/([A-Z])/,Cn=/([A-Z])/g,Fn=/^ms-/,Pn=function(e){return"-"+e.toLowerCase()};function On(e){return Dn.test(e)?e.replace(Cn,Pn).replace(Fn,"-ms-"):e}var Tn=function(e){return null==e||!1===e||""===e};function jn(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=jn(e[a],t,r,n))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Tn(e)?"":Rr(e)?"."+e.styledComponentId:Ir(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:jn(e(t),t,r,n):e instanceof kn?r?(e.inject(r,n),e.getName(n)):e:Or(e)?function e(t,r){var n,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Tn(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Ir(t[a])?i.push(On(a)+":",t[a],";"):Or(t[a])?i.push.apply(i,e(t[a],a)):i.push(On(a)+": "+(n=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in Sr?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(i,["}"]):i}(e):e.toString();var c}var In=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function _n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Ir(e)||Or(e)?In(jn(Pr(Tr,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:In(jn(Pr(e,r)))}new Set;var Rn=function(e,t,r){return void 0===r&&(r=jr),e.theme!==r.theme&&e.theme||t||r.theme},Bn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ln=/(^-|-$)/g;function Nn(e){return e.replace(Bn,"-").replace(Ln,"")}var Mn=function(e){return un(fn(e)>>>0)};function Hn(e){return"string"==typeof e&&!0}var zn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Un=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function $n(e,t,r){var n=e[r];zn(t)&&zn(n)?qn(n,t):e[r]=t}function qn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,i=r;o<i.length;o++){var a=i[o];if(zn(a))for(var s in a)Un(s)&&$n(e,a[s],s)}return e}var Vn=s().createContext();Vn.Consumer;var Gn={};function Wn(e,t,r){var n=Rr(e),o=!Hn(e),i=t.attrs,c=void 0===i?Tr:i,u=t.componentId,l=void 0===u?function(e,t){var r="string"!=typeof e?"sc":Nn(e);Gn[r]=(Gn[r]||0)+1;var n=r+"-"+Mn("5.3.5"+r+Gn[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):u,f=t.displayName,h=void 0===f?function(e){return Hn(e)?"styled."+e:"Styled("+_r(e)+")"}(e):f,p=t.displayName&&t.componentId?Nn(t.displayName)+"-"+t.componentId:t.componentId||l,d=n&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,m=t.shouldForwardProp;n&&e.shouldForwardProp&&(m=t.shouldForwardProp?function(r,n,o){return e.shouldForwardProp(r,n,o)&&t.shouldForwardProp(r,n,o)}:e.shouldForwardProp);var g,y=new dn(r,p,n?e.componentStyle:void 0),v=y.isStatic&&0===c.length,b=function(e,t){return function(e,t,r,n){var o=e.attrs,i=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.shouldForwardProp,l=e.styledComponentId,f=e.target,h=function(e,t,r){void 0===e&&(e=jr);var n=Fr({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,i,a=e;for(t in Ir(a)&&(a=a(n)),a)n[t]=o[t]="className"===t?(r=o[t],i=a[t],r&&i?r+" "+i:r||i):a[t]})),[n,o]}(Rn(t,(0,a.useContext)(Vn),s)||jr,t,o),p=h[0],d=h[1],m=function(e,t,r,n){var o=xn(),i=Sn();return t?e.generateAndInjectStyles(jr,o,i):e.generateAndInjectStyles(r,o,i)}(i,n,p),g=r,y=d.$as||t.$as||d.as||t.as||f,v=Hn(y),b=d!==t?Fr({},t,{},d):t,E={};for(var w in b)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?E.as=b[w]:(u?u(w,Dr,y):!v||Dr(w))&&(E[w]=b[w]));return t.style&&d.style!==t.style&&(E.style=Fr({},t.style,{},d.style)),E.className=Array.prototype.concat(c,l,m!==l?m:null,t.className,d.className).filter(Boolean).join(" "),E.ref=g,(0,a.createElement)(y,E)}(g,e,t,v)};return b.displayName=h,(g=s().forwardRef(b)).attrs=d,g.componentStyle=y,g.displayName=h,g.shouldForwardProp=m,g.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Tr,g.styledComponentId=p,g.target=n?e.target:e,g.withComponent=function(e){var n=t.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["componentId"]),i=n&&n+"-"+(Hn(e)?e:Nn(_r(e)));return Wn(e,Fr({},o,{attrs:d,componentId:i}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?qn({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},o&&F()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Qn=function(e){return function e(t,r,n){if(void 0===n&&(n=jr),!(0,br.isValidElementType)(r))return Hr(1,String(r));var o=function(){return t(r,n,_n.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,Fr({},n,{},o))},o.attrs=function(o){return e(t,r,Fr({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Wn,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Qn[e]=Qn(e)}));var Kn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=hn(e),an.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(jn(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&an.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function Zn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=_n.apply(void 0,[e].concat(r)),i="sc-global-"+Mn(JSON.stringify(o)),c=new Kn(o,i);function u(e){var t=xn(),r=Sn(),n=(0,a.useContext)(Vn),o=(0,a.useRef)(t.allocateGSInstance(i)).current;return t.server&&l(o,e,t,n,r),(0,a.useLayoutEffect)((function(){if(!t.server)return l(o,e,t,n,r),function(){return c.removeStyles(o,t)}}),[o,e,t,n,r]),null}function l(e,t,r,n,o){if(c.isStatic)c.renderStyles(e,Mr,r,o);else{var i=Fr({},t,{theme:Rn(t,n,u.defaultProps)});c.renderStyles(e,i,r,o)}}return s().memo(u)}function Yn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=_n.apply(void 0,[e].concat(r)).join(""),i=Mn(o);return new kn(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=Xr();return"<style "+[r&&'nonce="'+r+'"',Br+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Hr(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Hr(2);var r=((t={})[Br]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=Xr();return n&&(r.nonce=n),[s().createElement("style",Fr({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new an({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?Hr(2):s().createElement(An,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Hr(3)}}();const Xn=Qn;var Jn=r(3615),eo=r.n(Jn),to=r(4335),ro=r.n(to),no=r(3996),oo=r.n(no);function io(){return(io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,so(e,t)}function so(e,t){return(so=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function co(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}var uo={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},lo={rel:["amphtml","canonical","alternate"]},fo={type:["application/ld+json"]},ho={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},po=Object.keys(uo).map((function(e){return uo[e]})),mo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},go=Object.keys(mo).reduce((function(e,t){return e[mo[t]]=t,e}),{}),yo=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},vo=function(e){var t=yo(e,uo.TITLE),r=yo(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,(function(){return t}));var n=yo(e,"defaultTitle");return t||n||void 0},bo=function(e){return yo(e,"onChangeClientState")||function(){}},Eo=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return io({},e,t)}),{})},wo=function(e,t){return t.filter((function(e){return void 0!==e[uo.BASE]})).map((function(e){return e[uo.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o<n.length;o+=1){var i=n[o].toLowerCase();if(-1!==e.indexOf(i)&&r[i])return t.concat(r)}return t}),[])},xo=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var o={};r.filter((function(e){for(var r,i=Object.keys(e),a=0;a<i.length;a+=1){var s=i[a],c=s.toLowerCase();-1===t.indexOf(c)||"rel"===r&&"canonical"===e[r].toLowerCase()||"rel"===c&&"stylesheet"===e[c].toLowerCase()||(r=c),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!e[r])return!1;var u=e[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][u]&&(o[r][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a+=1){var s=i[a],c=io({},n[s],o[s]);n[s]=c}return e}),[]).reverse()},So=function(e,t){if(Array.isArray(e)&&e.length)for(var r=0;r<e.length;r+=1)if(e[r][t])return!0;return!1},Ao=function(e){return Array.isArray(e)?e.join(""):e},ko=function(e,t){return Array.isArray(e)?e.reduce((function(e,r){return function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1}(r,t)?e.priority.push(r):e.default.push(r),e}),{priority:[],default:[]}):{default:e}},Do=[uo.NOSCRIPT,uo.SCRIPT,uo.STYLE],Co=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Fo=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},Po=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,r){return t[mo[r]||r]=e[r],t}),t)},Oo=function(e,t){return t.map((function(t,r){var n,o=((n={key:r})["data-rh"]=!0,n);return Object.keys(t).forEach((function(e){var r=mo[e]||e;"innerHTML"===r||"cssText"===r?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[r]=t[e]})),s().createElement(e,o)}))},To=function(e,t,r){switch(e){case uo.TITLE:return{toComponent:function(){return r=t.titleAttributes,(n={key:e=t.title})["data-rh"]=!0,o=Po(r,n),[s().createElement(uo.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=Fo(r),i=Ao(t);return o?"<"+e+' data-rh="true" '+o+">"+Co(i,n)+"</"+e+">":"<"+e+' data-rh="true">'+Co(i,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Po(t)},toString:function(){return Fo(t)}};default:return{toComponent:function(){return Oo(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+Co(n[t],r)+'"';return e?e+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===Do.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,r)}}}},jo=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,i=e.noscriptTags,a=e.styleTags,s=e.title,c=void 0===s?"":s,u=e.titleAttributes,l=e.linkTags,f=e.metaTags,h=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var d=function(e){var t=e.linkTags,r=e.scriptTags,n=e.encode,o=ko(e.metaTags,ho),i=ko(t,lo),a=ko(r,fo);return{priorityMethods:{toComponent:function(){return[].concat(Oo(uo.META,o.priority),Oo(uo.LINK,i.priority),Oo(uo.SCRIPT,a.priority))},toString:function(){return To(uo.META,o.priority,n)+" "+To(uo.LINK,i.priority,n)+" "+To(uo.SCRIPT,a.priority,n)}},metaTags:o.default,linkTags:i.default,scriptTags:a.default}}(e);p=d.priorityMethods,l=d.linkTags,f=d.metaTags,h=d.scriptTags}return{priority:p,base:To(uo.BASE,t,n),bodyAttributes:To("bodyAttributes",r,n),htmlAttributes:To("htmlAttributes",o,n),link:To(uo.LINK,l,n),meta:To(uo.META,f,n),noscript:To(uo.NOSCRIPT,i,n),script:To(uo.SCRIPT,h,n),style:To(uo.STYLE,a,n),title:To(uo.TITLE,{title:c,titleAttributes:u},n)}},Io=s().createContext({}),_o=eo().shape({setHelmet:eo().func,helmetInstances:eo().shape({get:eo().func,add:eo().func,remove:eo().func})}),Ro="undefined"!=typeof document,Bo=function(e){function t(r){var n;return(n=e.call(this,r)||this).instances=[],n.value={setHelmet:function(e){n.props.context.helmet=e},helmetInstances:{get:function(){return n.instances},add:function(e){n.instances.push(e)},remove:function(e){var t=n.instances.indexOf(e);n.instances.splice(t,1)}}},t.canUseDOM||(r.context.helmet=jo({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),n}return ao(t,e),t.prototype.render=function(){return s().createElement(Io.Provider,{value:this.value},this.props.children)},t}(a.Component);Bo.canUseDOM=Ro,Bo.propTypes={context:eo().shape({helmet:eo().shape()}),children:eo().node.isRequired},Bo.defaultProps={context:{}},Bo.displayName="HelmetProvider";var Lo=function(e,t){var r,n=document.head||document.querySelector(uo.HEAD),o=n.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),a=[];return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?n.innerHTML=t.innerHTML:"cssText"===o?n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText)):n.setAttribute(o,void 0===t[o]?"":t[o]));n.setAttribute("data-rh","true"),i.some((function(e,t){return r=t,n.isEqualNode(e)}))?i.splice(r,1):a.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:a}},No=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s+=1){var c=a[s],u=t[c]||"";r.getAttribute(c)!==u&&r.setAttribute(c,u),-1===o.indexOf(c)&&o.push(c);var l=i.indexOf(c);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f-=1)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},Mo=function(e,t){var r=e.baseTag,n=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,l=e.title,f=e.titleAttributes;No(uo.BODY,e.bodyAttributes),No(uo.HTML,n),function(e,t){void 0!==e&&document.title!==e&&(document.title=Ao(e)),No(uo.TITLE,t)}(l,f);var h={baseTag:Lo(uo.BASE,r),linkTags:Lo(uo.LINK,o),metaTags:Lo(uo.META,i),noscriptTags:Lo(uo.NOSCRIPT,a),scriptTags:Lo(uo.SCRIPT,c),styleTags:Lo(uo.STYLE,u)},p={},d={};Object.keys(h).forEach((function(e){var t=h[e],r=t.newTags,n=t.oldTags;r.length&&(p[e]=r),n.length&&(d[e]=h[e].oldTags)})),t&&t(),s(e,p,d)},Ho=null,zo=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).rendered=!1,t}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!wr()(e,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var e,t,r=this.props.context,n=r.setHelmet,o=null,i=(e=r.helmetInstances.get().map((function(e){var t=io({},e.props);return delete t.context,t})),{baseTag:wo(["href"],e),bodyAttributes:Eo("bodyAttributes",e),defer:yo(e,"defer"),encode:yo(e,"encodeSpecialCharacters"),htmlAttributes:Eo("htmlAttributes",e),linkTags:xo(uo.LINK,["rel","href"],e),metaTags:xo(uo.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:xo(uo.NOSCRIPT,["innerHTML"],e),onChangeClientState:bo(e),scriptTags:xo(uo.SCRIPT,["src","innerHTML"],e),styleTags:xo(uo.STYLE,["cssText"],e),title:vo(e),titleAttributes:Eo("titleAttributes",e),prioritizeSeoTags:So(e,"prioritizeSeoTags")});Bo.canUseDOM?(t=i,Ho&&cancelAnimationFrame(Ho),t.defer?Ho=requestAnimationFrame((function(){Mo(t,(function(){Ho=null}))})):(Mo(t),Ho=null)):jo&&(o=jo(i)),n(o)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t}(a.Component);zo.propTypes={context:_o.isRequired},zo.displayName="HelmetDispatcher";var Uo=["children"],$o=["children"],qo=function(e){function t(){return e.apply(this,arguments)||this}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!ro()(this.props,e)},r.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case uo.SCRIPT:case uo.NOSCRIPT:return{innerHTML:t};case uo.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren;return io({},n,((t={})[r.type]=[].concat(n[r.type]||[],[io({},e.newChildProps,this.mapNestedChildrenToProps(r,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case uo.TITLE:return io({},o,((t={})[n.type]=a,t.titleAttributes=io({},i),t));case uo.BODY:return io({},o,{bodyAttributes:io({},i)});case uo.HTML:return io({},o,{htmlAttributes:io({},i)});default:return io({},o,((r={})[n.type]=io({},i),r))}},r.mapArrayTypeChildrenToProps=function(e,t){var r=io({},t);return Object.keys(e).forEach((function(t){var n;r=io({},r,((n={})[t]=e[t],n))})),r},r.warnOnInvalidChildren=function(e,t){return oo()(po.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+po.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),oo()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,t){var r=this,n={};return s().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=co(o,Uo),s=Object.keys(a).reduce((function(e,t){return e[go[t]||t]=a[t],e}),{}),c=e.type;switch("symbol"==typeof c?c=c.toString():r.warnOnInvalidChildren(e,i),c){case uo.FRAGMENT:t=r.mapChildrenToProps(i,t);break;case uo.LINK:case uo.META:case uo.NOSCRIPT:case uo.SCRIPT:case uo.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(n,t)},r.render=function(){var e=this.props,t=e.children,r=io({},co(e,$o));return t&&(r=this.mapChildrenToProps(t,r)),s().createElement(Io.Consumer,null,(function(e){return s().createElement(zo,io({},r,{context:e}))}))},t}(a.Component);qo.propTypes={base:eo().object,bodyAttributes:eo().object,children:eo().oneOfType([eo().arrayOf(eo().node),eo().node]),defaultTitle:eo().string,defer:eo().bool,encodeSpecialCharacters:eo().bool,htmlAttributes:eo().object,link:eo().arrayOf(eo().object),meta:eo().arrayOf(eo().object),noscript:eo().arrayOf(eo().object),onChangeClientState:eo().func,script:eo().arrayOf(eo().object),style:eo().arrayOf(eo().object),title:eo().string,titleAttributes:eo().object,titleTemplate:eo().string,prioritizeSeoTags:eo().bool},qo.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},qo.displayName="Helmet";var Vo=r(5969),Go=r(8717),Wo=r(213);const Qo=function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null);var o=(0,Wo.convert)(t),i=n?-1:1;!function e(a,s,c){var u,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(u="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(u?"<"+u+">":"")+")"}));return f;function f(){var u,l,f,h=[];if((!t||o(a,s,c[c.length-1]||null))&&(h=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(a,c)),false===h[0]))return h;if(a.children&&"skip"!==h[0])for(l=(n?a.children.length:-1)+i,f=c.concat(a);l>-1&&l<a.children.length;){if(u=e(a.children[l],l,f)(),false===u[0])return u;l="number"==typeof u[1]?u[1]:l+i}return h}}(e,null,[])()};function Ko(e){return new RegExp("^("+e+")$","i")}const Zo=new Vo;function Yo(e,t,r){const n=r.skip&&Ko(r.skip),o=(0,Wo.convert)(r.parents||(t=>t===e)),i=[];let a,s,c;var u,l,f;return Zo.reset(),l=function(e,u,l){const f=(0,Go.B)(e,{includeImageAlt:!1}),h=e.data&&e.data.hProperties&&e.data.hProperties.id,p=Zo.slug(h||f);if(o(l)){if(null!==u&&t&&!a&&t.test(f))return a=u+1,void(c=e);null!==u&&c&&!s&&e.depth<=c.depth&&(s=u),!s&&t||r.maxDepth&&!(e.depth<=r.maxDepth)||n&&n.test(f)||i.push({depth:e.depth,children:e.children,id:p})}},"function"==typeof(u="heading")&&"function"!=typeof l&&(f=l,l=u,u=null),Qo(e,u,(function(e,t){var r=t[t.length-1];return l(e,r?r.children.indexOf(e):null,r)}),f),{index:a||-1,endIndex:a?s||e.children.length:-1,map:i}}var Xo=r(229);function Jo(e,t){const{ordered:r=!1,tight:n=!1,prefix:o=null}=t,i={type:"list",ordered:r,spread:!1,children:[]};let a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)ei(e[s],i,{ordered:r,tight:n,prefix:o});return i}function ei(e,t,r){let n=-1;if("list"===t.type)if(1===e.depth)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(r.prefix||"")+e.id,children:ti(e.children)}]}]});else if(t.children.length>0)ei(e,t.children[t.children.length-1],r);else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),ei(e,n,r)}else if(t.children[t.children.length-1]&&"list"===t.children[t.children.length-1].type)e.depth--,ei(e,t.children[t.children.length-1],r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,ei(e,n,r)}if("list"!==t.type||r.tight)t.spread=!r.tight;else for(t.spread=!1;++n<t.children.length;)if(t.children[n].children.length>1){t.spread=!0;break}}function ti(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(ri(e[r]));return t}function ri(e){if("link"===e.type||"linkReference"===e.type||"footnote"===e.type||"footnoteReference"===e.type)return ti(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(Xo(!0,{},n),{children:ti(e.children)})}const{position:t,...r}=e;return Xo(!0,{},r)}var ni=r(3428);const oi=new Vo;function ii(){return e=>{oi.reset(),(0,ni.visit)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?oi.slug(String(n),!0):oi.slug((0,Go.B)(e)),t.id=n,r.id=n}))}}var ai=function(e,t,r){var n={type:String(e)};return null!=r||"string"!=typeof t&&!Array.isArray(t)?Object.assign(n,t):r=t,Array.isArray(r)?n.children=r:null!=r&&(n.value=String(r)),n};const si=ui("start"),ci=ui("end");function ui(e){return function(t){const r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const li={}.hasOwnProperty;function fi(e){return String(e||"").toUpperCase()}const hi={}.hasOwnProperty;function pi(e,t){const r=t.data||{};return"value"in t&&!(hi.call(r,"hName")||hi.call(r,"hProperties")||hi.call(r,"hChildren"))?e.augment(t,ai("text",t.value)):e(t,"div",gi(e,t))}function di(e,t,r){const n=t&&t.type;let o;if(!n)throw new Error("Expected node, got `"+t+"`");return o=hi.call(e.handlers,n)?e.handlers[n]:e.passThrough&&e.passThrough.includes(n)?mi:e.unknownHandler,("function"==typeof o?o:pi)(e,t,r)}function mi(e,t){return"children"in t?{...t,children:gi(e,t)}:t}function gi(e,t){const r=[];if("children"in t){const n=t.children;let o=-1;for(;++o<n.length;){const i=di(e,n[o],t);if(i){if(o&&"break"===n[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?r.push(...i):r.push(i)}}}return r}var yi=r(488);const vi={'"':"quot","&":"amp","<":"lt",">":"gt"};function bi(e,t){const r=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+vi[e]+";"}))}(function(e){const t=[];let r=-1,n=0,o=0;for(;++r<e.length;){const i=e.charCodeAt(r);let a="";if(37===i&&(0,yi.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,yi.asciiAlphanumeric)(e.charCodeAt(r+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(r+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(n,r),encodeURIComponent(a)),n=r+o+1,a=""),o&&(r+=o,o=0)}return t.join("")+e.slice(n)}(e||""));if(!t)return r;const n=r.indexOf(":"),o=r.indexOf("?"),i=r.indexOf("#"),a=r.indexOf("/");return n<0||a>-1&&n>a||o>-1&&n>o||i>-1&&n>i||t.test(r.slice(0,n))?r:""}function Ei(e,t){const r=[];let n=-1;for(t&&r.push(ai("text","\n"));++n<e.length;)n&&r.push(ai("text","\n")),r.push(e[n]);return t&&e.length>0&&r.push(ai("text","\n")),r}function wi(e,t){const r=String(t.identifier),n=bi(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let i;-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,i=e.footnoteOrder.length):(e.footnoteCounts[r]++,i=o+1);const a=e.footnoteCounts[r];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[ai("text",String(i))])])}var xi=r(4651);function Si(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return ai("text","!["+t.alt+n);const o=gi(e,t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(ai("text","["));const a=o[o.length-1];return a&&"text"===a.type?a.value+=n:o.push(ai("text",n)),o}function Ai(e){const t=e.spread;return null==t?e.children.length>1:t}function ki(e,t,r){let n=0,o=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>n?e.slice(n,o):""}const Di={blockquote:function(e,t){return e(t,"blockquote",Ei(gi(e,t),!0))},break:function(e,t){return[e(t,"br"),ai("text","\n")]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};n&&(o.className=["language-"+n]);const i=e(t,"code",o,[ai("text",r)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])},delete:function(e,t){return e(t,"del",gi(e,t))},emphasis:function(e,t){return e(t,"em",gi(e,t))},footnoteReference:wi,footnote:function(e,t){const r=e.footnoteById;let n=1;for(;n in r;)n++;const o=String(n);return r[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},wi(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,gi(e,t))},html:function(e,t){return e.dangerous?e.augment(t,ai("raw",t.value)):null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return Si(e,t);const n={src:xi(r.url||""),alt:t.alt};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"img",n)},image:function(e,t){const r={src:xi(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"img",r)},inlineCode:function(e,t){return e(t,"code",[ai("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return Si(e,t);const n={href:xi(r.url||"")};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"a",n,gi(e,t))},link:function(e,t){const r={href:xi(t.url)};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"a",r,gi(e,t))},listItem:function(e,t,r){const n=gi(e,t),o=r?function(e){let t=e.spread;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Ai(r[n]);return Boolean(t)}(r):Ai(t),i={},a=[];if("boolean"==typeof t.checked){let r;n[0]&&"element"===n[0].type&&"p"===n[0].tagName?r=n[0]:(r=e(null,"p",[]),n.unshift(r)),r.children.length>0&&r.children.unshift(ai("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),i.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(ai("text","\n")),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const c=n[n.length-1];return!c||!o&&"tagName"in c&&"p"===c.tagName||a.push(ai("text","\n")),e(t,"li",i,a)},list:function(e,t){const r={},n=t.ordered?"ol":"ul",o=gi(e,t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++i<o.length;){const e=o[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}return e(t,n,r,Ei(o,!0))},paragraph:function(e,t){return e(t,"p",gi(e,t))},root:function(e,t){return e.augment(t,ai("root",Ei(gi(e,t))))},strong:function(e,t){return e(t,"strong",gi(e,t))},table:function(e,t){const r=t.children;let n=-1;const o=t.align||[],i=[];for(;++n<r.length;){const a=r[n].children,s=0===n?"th":"td",c=[];let u=-1;const l=t.align?o.length:a.length;for(;++u<l;){const t=a[u];c.push(e(t,s,{align:o[u]},t?gi(e,t):[]))}i[n]=e(r[n],"tr",Ei(c,!0))}return e(t,"table",Ei([e(i[0].position,"thead",Ei([i[0]],!0))].concat(i[1]?e({start:si(i[1]),end:ci(i[i.length-1])},"tbody",Ei(i.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,ai("text",function(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),o=0;const i=[];for(;n;)i.push(ki(t.slice(o,n.index),o>0,!0),n[0]),o=n.index+n[0].length,n=r.exec(t);return i.push(ki(t.slice(o),o>0,!1)),i.join("")}(String(t.value))))},thematicBreak:function(e,t){return e(t,"hr")},toml:Ci,yaml:Ci,definition:Ci,footnoteDefinition:Ci};function Ci(){return null}const Fi={}.hasOwnProperty;function Pi(e,t){const r=t||{},n=r.allowDangerousHtml||!1,o={};return a.dangerous=n,a.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return(0,ni.visit)(e,"definition",(e=>{const r=fi(e.identifier);r&&!li.call(t,r)&&(t[r]=e)})),function(e){const r=fi(e);return r&&li.call(t,r)?t[r]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.augment=i,a.handlers={...Di,...r.handlers},a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,(0,ni.visit)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Fi.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){const n="type"in e?e:{position:e};(r=n)&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column&&(t.position={start:si(n),end:ci(n)})}var r;return t}function a(e,t,r,n){return Array.isArray(r)&&(n=r,r={}),i(e,{type:"element",tagName:t,properties:r||{},children:n||[]})}}function Oi(e,t){const r=Pi(e,t),n=di(r,e,null),o=function(e){let t=-1;const r=[];for(;++t<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!n)continue;const o=gi(e,n),i=String(n.identifier),a=bi(i.toLowerCase());let s=0;const c=[];for(;++s<=e.footnoteCounts[i];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),c.length>0&&c.push({type:"text",value:" "}),c.push(t)}const u=o[o.length-1];if(u&&"element"===u.type&&"p"===u.tagName){const e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...c)}else o.push(...c);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:Ei(o,!0)};n.position&&(l.position=n.position),r.push(l)}return 0===r.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[ai("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Ei(r,!0)},{type:"text",value:"\n"}]}}(r);return o&&n.children.push(ai("text","\n"),o),Array.isArray(n)?{type:"root",children:n}:n}var Ti=r(4799),ji="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Ii(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function _i(e,t){for(var r=t.slice(0,t.length-1),n=0;n<r.length;n++)r[n]=e[r[n].toLowerCase()];return r}function Ri(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var Bi={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":ji?173:189,"=":ji?61:187,";":ji?59:186,"'":222,"[":219,"]":221,"\\":220},Li={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Ni={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Mi={16:!1,18:!1,17:!1,91:!1},Hi={},zi=1;zi<20;zi++)Bi["f".concat(zi)]=111+zi;var Ui=[],$i=!1,qi="all",Vi=[],Gi=function(e){return Bi[e.toLowerCase()]||Li[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function Wi(e){qi=e||"all"}function Qi(){return qi||"all"}var Ki=function(e){var t=e.key,r=e.scope,n=e.method,o=e.splitKey,i=void 0===o?"+":o;Ri(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":Gi(a);if(Hi[s]){r||(r=Qi());var c=o>1?_i(Li,t):[];Hi[s]=Hi[s].filter((function(e){return!((!n||e.method===n)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,n=e.length>=t.length?t:e,o=!0,i=0;i<r.length;i++)-1===n.indexOf(r[i])&&(o=!1);return o}(e.mods,c))}))}}))};function Zi(e,t,r,n){var o;if(t.element===n&&(t.scope===r||"all"===t.scope)){for(var i in o=t.mods.length>0,Mi)Object.prototype.hasOwnProperty.call(Mi,i)&&(!Mi[i]&&t.mods.indexOf(+i)>-1||Mi[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||Mi[16]||Mi[18]||Mi[17]||Mi[91])&&!o&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Yi(e,t){var r=Hi["*"],n=e.keyCode||e.which||e.charCode;if(Xi.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===Ui.indexOf(n)&&229!==n&&Ui.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=Ni[t];e[t]&&-1===Ui.indexOf(r)?Ui.push(r):!e[t]&&Ui.indexOf(r)>-1?Ui.splice(Ui.indexOf(r),1):"metaKey"===t&&e[t]&&3===Ui.length&&(e.ctrlKey||e.shiftKey||e.altKey||(Ui=Ui.slice(Ui.indexOf(r))))})),n in Mi){for(var o in Mi[n]=!0,Li)Li[o]===n&&(Xi[o]=!0);if(!r)return}for(var i in Mi)Object.prototype.hasOwnProperty.call(Mi,i)&&(Mi[i]=e[Ni[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===Ui.indexOf(17)&&Ui.push(17),-1===Ui.indexOf(18)&&Ui.push(18),Mi[17]=!0,Mi[18]=!0);var a=Qi();if(r)for(var s=0;s<r.length;s++)r[s].scope===a&&("keydown"===e.type&&r[s].keydown||"keyup"===e.type&&r[s].keyup)&&Zi(e,r[s],a,t);if(n in Hi)for(var c=0;c<Hi[n].length;c++)if(("keydown"===e.type&&Hi[n][c].keydown||"keyup"===e.type&&Hi[n][c].keyup)&&Hi[n][c].key){for(var u=Hi[n][c],l=u.splitKey,f=u.key.split(l),h=[],p=0;p<f.length;p++)h.push(Gi(f[p]));h.sort().join("")===Ui.sort().join("")&&Zi(e,u,a,t)}}}function Xi(e,t,r){Ui=[];var n=Ri(e),o=[],i="all",a=document,s=0,c=!1,u=!0,l="+",f=!1;for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(c=t.keyup),void 0!==t.keydown&&(u=t.keydown),void 0!==t.capture&&(f=t.capture),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(i=t);s<n.length;s++)o=[],(e=n[s].split(l)).length>1&&(o=_i(Li,e)),(e="*"===(e=e[e.length-1])?"*":Gi(e))in Hi||(Hi[e]=[]),Hi[e].push({keyup:c,keydown:u,scope:i,mods:o,shortcut:n[s],method:r,key:n[s],splitKey:l,element:a});void 0!==a&&!function(e){return Vi.indexOf(e)>-1}(a)&&window&&(Vi.push(a),Ii(a,"keydown",(function(e){Yi(e,a)}),f),$i||($i=!0,Ii(window,"focus",(function(){Ui=[]}),f)),Ii(a,"keyup",(function(e){Yi(e,a),function(e){var t=e.keyCode||e.which||e.charCode,r=Ui.indexOf(t);if(r>=0&&Ui.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&Ui.splice(0,Ui.length),93!==t&&224!==t||(t=91),t in Mi)for(var n in Mi[t]=!1,Li)Li[n]===t&&(Xi[n]=!1)}(e)}),f))}var Ji={setScope:Wi,getScope:Qi,deleteScope:function(e,t){var r,n;for(var o in e||(e=Qi()),Hi)if(Object.prototype.hasOwnProperty.call(Hi,o))for(r=Hi[o],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;Qi()===e&&Wi(t||"all")},getPressedKeyCodes:function(){return Ui.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Gi(e)),-1!==Ui.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==r&&"TEXTAREA"!==r&&"SELECT"!==r||t.readOnly)||(n=!1),n},trigger:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(Hi).forEach((function(r){var n=Hi[r].find((function(r){return r.scope===t&&r.shortcut===e}));n&&n.method&&n.method()}))},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&Ki(e)}));else if("object"==typeof e)e.key&&Ki(e);else if("string"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=r[0],i=r[1];"function"==typeof o&&(i=o,o=""),Ki({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(Hi).forEach((function(e){return delete Hi[e]}))},keyMap:Bi,modifier:Li,modifierMap:Ni};for(var ea in Ji)Object.prototype.hasOwnProperty.call(Ji,ea)&&(Xi[ea]=Ji[ea]);if("undefined"!=typeof window){var ta=window.hotkeys;Xi.noConflict=function(e){return e&&window.hotkeys===Xi&&(window.hotkeys=ta),Xi},window.hotkeys=Xi}Xi.filter=function(){return!0};var ra=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))};function na(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var o=r||{},i=o.enableOnTags,s=o.filter,c=o.keyup,u=o.keydown,l=o.filterPreventDefault,f=void 0===l||l,h=o.enabled,p=void 0===h||h,d=o.enableOnContentEditable,m=void 0!==d&&d,g=(0,a.useRef)(null),y=(0,a.useCallback)((function(e,r){var n;return s&&!s(e)?!f:!!(ra(e,["INPUT","TEXTAREA","SELECT"])&&!ra(e,i)||null!=(n=e.target)&&n.isContentEditable&&!m)||(null===g.current||document.activeElement===g.current)&&(t(e,r),!0)}),n?[g,i,s].concat(n):[g,i,s]);return(0,a.useEffect)((function(){if(p)return c&&!0!==u&&(r.keydown=!1),Xi(e,r||{},y),function(){return Xi.unbind(e,y)};Xi.unbind(e,y)}),[y,e,p]),g}Xi.isPressed;function oa(){return oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oa.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var ia="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect,aa={status:"not-requested",loading:!1,result:void 0,error:void 0},sa={status:"loading",loading:!0,result:void 0,error:void 0},ca=function(){},ua={initialState:function(e){return e&&e.executeOnMount?sa:aa},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return sa},setResult:function(e,t){return{status:"success",loading:!1,result:e,error:void 0}},setError:function(e,t){return{status:"error",loading:!1,result:void 0,error:e}},onSuccess:ca,onError:ca},la=function(e,t,r){var n,o=function(e){return oa({},ua,{},e)}(r),i=(0,a.useState)(null),s=i[0],c=i[1],u=function(e){var t=(0,a.useState)((function(){return e.initialState(e)})),r=t[0],n=t[1],o=(0,a.useCallback)((function(){return n(e.initialState(e))}),[n,e]),i=(0,a.useCallback)((function(){return n(e.setLoading(r))}),[r,n]),s=(0,a.useCallback)((function(t){return n(e.setResult(t,r))}),[r,n]),c=(0,a.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),u=n,l=(0,a.useCallback)((function(e){return u(oa({},r,{},e))}),[r,u]);return{value:r,set:u,merge:l,reset:o,setLoading:i,setResult:s,setError:c}}(o),l=(n=(0,a.useRef)(!1),(0,a.useEffect)((function(){return n.current=!0,function(){n.current=!1}}),[]),function(){return n.current}),f=function(){var e=(0,a.useRef)(null);return{set:function(t){return e.current=t},get:function(){return e.current},is:function(t){return e.current===t}}}(),h=function(e){return l()&&f.is(e)},p=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=e.apply(void 0,r);if(c(r),i instanceof Promise)return f.set(i),u.setLoading(),i.then((function(e){h(i)&&u.setResult(e),o.onSuccess(e,{isCurrent:function(){return f.is(i)}})}),(function(e){h(i)&&u.setError(e),o.onError(e,{isCurrent:function(){return f.is(i)}})})),i;var a=i;return u.setResult(a),Promise.resolve(a)},d=!l();return(0,a.useEffect)((function(){d?o.executeOnMount&&p.apply(void 0,t):o.executeOnUpdate&&p.apply(void 0,t)}),t),oa({},u.value,{set:u.set,merge:u.merge,reset:u.reset,execute:p,currentPromise:f.get(),currentParams:s})};function fa(e,t,r){return la(e,t,r)}var ha=function(e,t){return la(e,[],oa({},t,{executeOnMount:!1,executeOnUpdate:!1}))},pa=function(e){var t,r,n=e.value,o=e.fetchMore,i=e.merge,s=e.isEnd,c=(t=n,r=(0,a.useRef)(t),ia((function(){r.current=t})),function(){return r.current}),u=(0,a.useState)(!1),l=u[0],f=u[1],h=(0,a.useRef)(0),p=ha((function(){try{var e=c();if("success"!==e.status)throw new Error("Can't fetch more if the original fetch is not a success");if("loading"===p.status)throw new Error("Can't fetch more, because we are already fetching more!");h.current=h.current+1;var t=h.current;return Promise.resolve(o(e.result)).then((function(r){var o=e.status===c().status&&e.result===c().result,a=h.current===t;return o&&a&&(n.merge({result:i(n.result,r)}),s(r)&&f(!0)),r}))}catch(e){return Promise.reject(e)}})),d="success"!==n.status;return(0,a.useEffect)((function(){d&&(p.reset(),f(!1))}),[d]),{canFetchMore:"success"===n.status&&"loading"!==p.status,loading:p.loading,status:p.status,fetchMore:p.execute,isEnd:l}};window.TopWritePlugins={};class da extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=null==e?void 0:e.value;if(t){let e=document.createElement("a");e.download=this.textContent||"",e.style.display="none",e.target="_blank",e.href=o.resolve(location.href,t),document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}))}}function ma(e){let{component:t,defaultComponent:r=a.Fragment,props:n,children:o=null}=e;return null===t?null:(0,i.jsx)(a.Suspense,{fallback:null,children:(0,i.jsx)(t,{props:n,Component:r,children:o})})}customElements.define("t-attachment",da);var ga=(e,t)=>e.filter((e=>{let{descriptor:r}=e;return t===r.role})).sort(((e,t)=>{let{descriptor:{priority:r=0}}=e,{descriptor:{priority:n=0}}=t;return r-n})).map((e=>e.Component));function ya(e){let{props:t,role:r,component:n}=e;const o=n?(0,a.createElement)(n,t):null,s=V("components");return(0,a.useMemo)((()=>ga(s,r)),[s,r]).reduce(((e,r)=>(0,i.jsx)(ma,{defaultComponent:n,component:r,props:t,children:e})),o)}function va(e){let{props:t,component:r,role:n}=e;const o=V("components"),s=(0,a.useMemo)((()=>ga(o,n)),[o,n]);return(0,i.jsx)(i.Fragment,{children:s.map(((e,n)=>(0,i.jsx)(ma,{defaultComponent:r,component:e,props:t},n)))})}async function ba(e){let t="topwrite-plugin-".concat(e.name);if(!W().isDefined(t)){let r="".concat(e.host,"/").concat(e.main);try{await W()(r,t,{returnPromise:!0})}catch{console.warn("插件".concat(e.name,"加载失败"))}}}function Ea(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function wa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";if("undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / TopWrite SSR process");if("none"===e)return null;try{return window[e]}catch(e){return null}}const xa={get:()=>null,set:()=>{},del:()=>{}},Sa=(e,t)=>{const r=wa(null==t?void 0:t.persistence);return null===r?xa:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function Aa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";const t=wa(e);if(!t)return[];const r=[];for(let e=0;e<t.length;e+=1){const n=t.key(e);null!==n&&r.push(n)}return r}function ka(){const e=V("book");if(!e)throw new Error("book object not initialized");return e}function Da(){const{config:e}=ka();return e.getValue("themeConfig")}const Ca="light",Fa="dark";function Pa(e){document.documentElement.setAttribute("data-theme",e)}const Oa=(0,a.createContext)(void 0);function Ta(e){let{children:t,context:r}=e;const{isDarkTheme:n,setLightTheme:o,setDarkTheme:s}=(e=>{const t=ka(),r=(0,a.useMemo)((()=>Sa("".concat(e,".").concat(t.id,".theme"))),[t.id,e]),{defaultMode:n}=Da(),[o,i]=(0,a.useState)((()=>{const e=(e=>e===Fa?Fa:Ca)(r.get()||n);return Pa(e),e}));(0,a.useEffect)((()=>{Pa(o)}),[o]);const s=(0,a.useCallback)((()=>{i(Ca),r.set(Ca)}),[r]),c=(0,a.useCallback)((()=>{i(Fa),r.set(Fa)}),[r]);return{isDarkTheme:o===Fa,setLightTheme:s,setDarkTheme:c}})(r);return(0,i.jsx)(Oa.Provider,{value:{isDarkTheme:n,setLightTheme:o,setDarkTheme:s},children:t})}function ja(){const e=(0,a.useContext)(Oa);return null==e?{isDarkTheme:!1,setLightTheme:b.noop,setDarkTheme:b.noop}:e}var Ia;function _a(){const{primaryColor:e}=Da();return(0,i.jsx)(Ra,{primaryColor:e})}const Ra=Zn(Ia||(Ia=(0,vr.Z)(["\n :root {\n --ttw-primary-color: ",";\n }\n\n //TODO 转移到异步加载\n //附件\n t-attachment {\n color: var(--ttw-primary-color);\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n padding: 0 4px;\n vertical-align: bottom;\n margin: 0 1px;\n\n &:before {\n content: '';\n width: 18px;\n height: 18px;\n background-color: var(--ttw-primary-color);\n mask: url(\"",'") no-repeat center;\n margin-right: 4px;\n }\n\n &:after {\n content: "(" attr(size) ")";\n margin-left: 4px;\n display: none;\n }\n\n &[size]:after {\n display: inline;\n }\n\n &:hover {\n background: rgba(0, 0, 0, .1);\n }\n\n &:read-write {\n cursor: text;\n }\n }\n'])),(e=>e.primaryColor),"data:image/svg+xml,%3csvg t='1642406480574' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2254' width='16' height='16'%3e %3cpath d='M874.666667 467.2c-10.666667-10.666667-29.866667-12.8-42.666667 0l-343.466667 341.333333c-74.666667 74.666667-198.4 74.666667-275.2 0-36.266667-36.266667-57.6-85.333333-57.6-136.533333s19.2-100.266667 57.6-136.533333L556.8 192c46.933333-46.933333 121.6-46.933333 168.533333 0 23.466667 23.466667 34.133333 53.333333 34.133334 83.2 0 32-12.8 61.866667-34.133334 83.2L384 704c-17.066667 17.066667-44.8 17.066667-64 0-8.533333-8.533333-12.8-19.2-12.8-32s4.266667-23.466667 12.8-32l317.866667-315.733333c10.666667-10.666667 12.8-29.866667 0-42.666667-10.666667-12.8-29.866667-12.8-42.666667 0L277.333333 597.333333c-19.2 19.2-29.866667 46.933333-29.866666 74.666667S258.133333 725.333333 277.333333 746.666667c40.533333 40.533333 106.666667 40.533333 147.2 0L768 403.2c34.133333-34.133333 53.333333-78.933333 53.333333-125.866667s-19.2-93.866667-53.333333-125.866666a178.986667 178.986667 0 0 0-253.866667 0l-341.333333 341.333333c-46.933333 46.933333-74.666667 110.933333-74.666667 179.2s25.6 132.266667 74.666667 179.2c49.066667 49.066667 115.2 74.666667 179.2 74.666667s130.133333-25.6 179.2-74.666667l343.466667-341.333333c10.666667-12.8 10.666667-32 0-42.666667z' p-id='2255'%3e%3c/path%3e%3c/svg%3e"),Ba=new class extends N{constructor(){super(...arguments),(0,y.Z)(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},La=new class extends N{};var Na=Object.freeze({__proto__:null,components:Ba,options:La});class Ma{constructor(e,t,r){(0,y.Z)(this,"name",void 0),(0,y.Z)(this,"book",void 0),(0,y.Z)(this,"models",{...Na}),(0,y.Z)(this,"components",[]),(0,y.Z)(this,"activates",[]),(0,y.Z)(this,"plugins",[]),(0,y.Z)(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&t&&(r="plugin:setting:".concat(t)),this.components.push(Ea(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models["@".concat(t,"@").concat(r)]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){const t=await this.createIntl(e),r=U(this.models,{book:this.book,components:this.components,...this.initialState}),n=e=>{let{children:t}=e;return this.activates.reduce(((e,t)=>{const r=t(this.name);return void 0!==r?r:e}),t)};return e=>{let{children:o}=e;return(0,i.jsx)(Z,{value:t,children:(0,i.jsx)(q,{store:r,children:(0,i.jsx)(Bo,{children:(0,i.jsxs)(Ta,{context:this.name,children:[(0,i.jsx)(_a,{}),(0,i.jsx)(n,{children:o})]})})})})}}async createIntl(e){const t=navigator.language,r={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},n=await this.plugins.reduce((async(e,r)=>{const n=await e;return r.localize?Object.assign({},n,await r.localize(t)):n}),e(t));return gr({locale:t,messages:n,defaultLocale:"en"},r)}}async function Ha(e,t,r,o,i,a){const s=await async function(e,t){let r=[];if(t){const o=(0,n.NC)(t);try{r=await o.getInstalled(e),r=r.filter((e=>{var t;return!(null!==(t=window.TopWritePlugins[e.name])&&void 0!==t&&t.meta)}))}catch{}}try{const e=sessionStorage.getItem("PLUGIN_DEV"),t=Q.parse(window.location.search);if("dev"in t||e){const o=t.dev||e||8080;try{const e=(await n.WY.get("http://localhost:".concat(o,"/meta"),{raxConfig:{retry:0}})).data;r=r.filter((t=>t.name!==e.name&&!("theme"===e.type&&"theme"===t.type))),window.TopWritePlugins[e.name]&&delete window.TopWritePlugins[e.name],r.unshift(e),sessionStorage.setItem("PLUGIN_DEV",String(o))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}}catch{}const o=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta})),i=o.some((e=>"theme"===e.type)),a=Object.keys(window.TopWritePlugins),s=[];for(let e of r)e.disabled||a.includes(e.name)||i&&"theme"===e.type||s.push(ba(e));return await Promise.all(s),o.push(...r),window.TopWritePluginsMeta=o,Object.values(window.TopWritePlugins||{})}(t,a),c=new Ma(e,t,o);return c.registerModels(r),await c.registerPlugins(s),await c.createApp(i)}function za(e){return function(e){const{actions:t}=(0,a.useContext)($);return e?t[e]:t}(e)}function Ua(e){return V(e)}function $a(e){return[Ua(e),za(e)]}function qa(e,t,r){const n="function"==typeof t;n||(r=t),(0,a.useEffect)((()=>{let r;const o=e();return Promise.resolve(o).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function Va(e){const t=(0,a.useRef)(null),[r,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function Ga(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Wa{constructor(e){let{name:t,meta:r,models:n={},components:o={},activate:i,register:a,localize:s,config:c}=e;(0,y.Z)(this,"name",void 0),(0,y.Z)(this,"config",void 0),(0,y.Z)(this,"localize",void 0),(0,y.Z)(this,"models",void 0),(0,y.Z)(this,"components",void 0),(0,y.Z)(this,"activate",void 0),(0,y.Z)(this,"register",void 0),(0,y.Z)(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=o,this.activate=i,this.register=a,this.localize=s,this.config=c}}const Qa=(0,Wo.convert)("root"),Ka=(0,Wo.convert)("element"),Za=(0,Wo.convert)("text");function Ya(e){return e.filter((e=>!(Za(e)&&"\n"===e.value)))}function Xa(e,t,r){const n=t.properties,o=t.tagName,i={...n};r.prefix&&(r.key++,i.key=r.prefix+r.key);const a=[],s=Ya(t.children),c=s?s.length:0;let u=-1;for(;++u<c;){const t=s[u];Ka(t)?a.push(Xa(e,t,r)):Za(t)&&a.push(t.value)}return e.call(t,o,i,a.length>0?a:void 0)}function Ja(e,t){let{extensions:r=[],creator:n=s().createElement}=t;const o={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},gi(e,t)),leafDirective:(e,t)=>e({},"leafDirective",t.attributes),containerDirective:(e,t)=>e({},"containerDirective",t.attributes,gi(e,t)),heading(e,t){const r=e(t,"heading",gi(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},i=Oi(e,o);if(Qa(i))return Ya(i.children).map(((e,t)=>Ka(e)?Xa(n,e,{key:0,prefix:"h-".concat(t,"-")}):Za(e)?e.value:void 0));if(!Ka(i))throw new Error("Expected root or element, not `"+(i&&i.type||i)+"`");return Xa(n,i,{key:0,prefix:"h-"})}const es=e=>{let{value:t}=e;return(0,i.jsx)("pre",{children:(0,i.jsx)("code",{children:t})})},ts=e=>{let{value:t}=e;return(0,i.jsx)("code",{children:t})},rs=["video","audio","attachment"];function ns(e){let{depth:t=5,...r}=e;return(0,a.createElement)("h".concat(t),r)}const os={"x-inline":function(e){const{name:t,value:r}=e;return(0,i.jsx)(ya,{role:"inline:".concat(t),props:{type:"inline",name:t,value:r},component:ts})},"x-block":function(e){const{name:t,value:r,parameter:n}=e;return(0,i.jsx)(ya,{role:"block:".concat(t),props:{type:"block",name:t,parameter:n,value:r},component:es})},textDirective:function(e){const{name:t,attributes:r,children:n,components:o={}}=e;if(!rs.includes(t))return null;let a=t;return customElements.get("t-".concat(t))&&(a="t-".concat(t)),(0,i.jsx)(ya,{role:"html:".concat(t),props:{...r,children:n},component:o[t]||a})},heading:function(e){let{components:t={},...r}=e;return(0,i.jsx)(ya,{role:"html:heading",props:r,component:t.heading||ns})}};var is;const as=e=>{let{tagName:t,components:r={},...n}=e;return os[t]?(0,a.createElement)(os[t],{...n,components:r}):Ti.includes(t)?(0,i.jsx)(ya,{role:"html:".concat(t),props:n,component:r[t]||t}):(console.warn("unknown tagName: ".concat(t)),null)};function ss(e){let{as:t=a.Fragment,children:r,components:o={},aside:s=!0,header:c,footer:u,css:l,...f}=e;const h=(0,a.useMemo)((()=>(0,n.JH)().use(ii).freeze()),[]);return(0,a.useMemo)((()=>{try{const e=h.data("toHastExtensions"),n=h.runSync(h.parse(r));let p=null;if(s){const t=function(e,t){const r=t||{},n=r.heading?Ko(r.heading):null,o=Yo(e,n,r);return{index:n?o.index:null,endIndex:n?o.endIndex:null,map:o.map.length>0?Jo(o.map,r):null}}(n).map;t&&(p=Ja(t,{extensions:e}))}const d=Ja(n,{extensions:e,creator:(e,t,r)=>(0,a.createElement)(as,{...t,tagName:e,components:o},r)});return(0,a.createElement)(t,f,(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("article",{children:[c,(0,i.jsx)(cs,{$css:l,children:d}),u]}),p&&(0,i.jsx)("aside",{children:p})]}))}catch(e){return console.log(e),null}}),[r,s,h,l])}const cs=Xn.section(is||(is=(0,vr.Z)(["\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n line-height: 1.2;\n word-wrap: break-word;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table {\n margin: 1em 0;\n line-height: 1.2;\n padding: 0;\n\n &:last-child {\n margin-bottom: 0 !important;\n }\n\n &:first-child {\n margin-top: 0 !important;\n }\n }\n\n p {\n margin: 0;\n line-height: 2;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: normal;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n h1 {\n font-size: 2em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee;\n padding-bottom: .5em;\n }\n\n h2 {\n padding-bottom: .4em;\n font-size: 1.3em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee\n }\n\n h3 {\n font-size: 1.2em;\n line-height: 1.2;\n }\n\n h4 {\n font-size: 1.1em;\n line-height: 1.2;\n }\n\n h5 {\n font-size: 1em;\n line-height: 1.2;\n }\n\n hr {\n border: 0;\n border-bottom: 1px solid #eeeeee;\n margin-bottom: 0.5em;\n }\n\n ul {\n padding-left: 2em;\n\n ul {\n margin: 0;\n }\n\n &.task-list {\n list-style: none;\n\n li {\n position: relative;\n\n .icon.square {\n position: absolute;\n left: -1.75em;\n top: 1px;\n }\n }\n }\n }\n\n ol {\n padding-left: 2em;\n }\n\n li {\n line-height: 2;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n code {\n display: inline-block;\n border-radius: 4px;\n padding: .2em .4em;\n background-color: #f7f7f7;\n word-break: break-all;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n white-space: pre;\n line-height: 1.3;\n margin: -.2em .4em;\n }\n\n pre {\n padding: 1.05em;\n overflow: auto;\n line-height: 1.45;\n background-color: #f7f7f7;\n border: 0;\n border-radius: 3px;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n }\n\n\n pre > code {\n display: inline;\n max-width: 100%;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n background-color: rgba(0, 0, 0, 0);\n border: 0;\n tab-size: 4;\n }\n\n p {\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n table {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n line-height: 1.8;\n border-spacing: 0;\n\n th {\n text-align: left;\n }\n\n th, td {\n border: 1px solid #e0e0e0;\n padding: 3px 12px;\n height: 34px;\n }\n\n tr:hover td {\n background-color: #f1f1f1;\n }\n }\n\n img {\n max-width: 100%;\n display: inline-block;\n padding: 3px;\n vertical-align: middle;\n }\n\n a {\n text-decoration: none;\n color: var(--ttw-primary-color);\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n blockquote {\n padding: 5px 5px 5px 15px;\n color: #777777;\n border-left: 4px solid #dddddd;\n\n &.info {\n border-left-color: #5bc0de;\n color: #5bc0de;\n background-color: #f4f8fa;\n }\n\n &.warning {\n background-color: #fcf8f2;\n border-color: #f0ad4e;\n color: #f0ad4e;\n }\n\n &.danger {\n color: #d9534f;\n background-color: #fdf7f7;\n border-color: #d9534f;\n }\n\n &.success {\n background-color: #f3f8f3;\n border-color: #50af51;\n color: #50af51;\n }\n }\n\n video {\n width: 100%;\n }\n\n audio {\n width: 100%;\n }\n\n html[data-theme=dark] & {\n code {\n background-color: #333437;\n }\n\n pre {\n background-color: #333437;\n }\n\n h1, h2, hr {\n border-color: #404040;\n }\n\n th, td {\n border-color: #404040;\n }\n\n tr:hover td {\n background-color: #333437;\n }\n }\n\n ","\n"])),(e=>e.$css));function us(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current}function ls(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function fs(e,t,r){const n=(0,a.useRef)(e),o=(0,a.useRef)((0,b.debounce)(e,t,r));return(0,a.useEffect)((()=>{n.current=e})),(0,a.useEffect)((()=>{o.current=(0,b.debounce)((function(){n.current(...arguments)}),t,r)}),[t,r]),o.current}function hs(e,t,r){const n=(0,a.useRef)(e),o=(0,a.useRef)((0,b.throttle)(e,t,r));return(0,a.useEffect)((()=>{n.current=e})),(0,a.useEffect)((()=>{o.current=(0,b.throttle)((function(){n.current(...arguments)}),t,r)}),[t,r]),o.current}function ps(){return V("options")}const ds=new EventTarget;function ms(){return ds}function gs(e,t,r,n){const o=a.useRef(r),i=a.useRef(n);a.useEffect((()=>{o.current=r,i.current=n})),a.useEffect((()=>{const r=e&&"current"in e?e.current:e;if(!r)return;let n=0;function a(){if(!n){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];o.current.apply(this,t)}}r.addEventListener(t,a);const s=i.current;return()=>{n=1,r.removeEventListener(t,a),s&&s()}}),[e,t])}function ys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/html"));const t=e.querySelector('script[type="application/payload+json"]');if(t)try{return JSON.parse(t.innerHTML)}catch{return{}}}var vs=Object.freeze({__proto__:null,encode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return window.btoa(unescape(encodeURIComponent(e)))}catch(e){if(t)throw e;return""}},decode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return decodeURIComponent(escape(window.atob(e)))}catch(e){if(t)throw e;return""}}});function bs(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}const Es="1.0.0"},7007:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,i=60108,a=60114,s=60109,c=60110,u=60112,l=60113,f=60120,h=60115,p=60116,d=60121,m=60122,g=60117,y=60129,v=60131;
17
2
  /** @license React v17.0.2
18
3
  * react-is.production.min.js
19
4
  *
@@ -21,25 +6,25 @@ var te=function(e,t){return te=Object.setPrototypeOf||{__proto__:[]}instanceof A
21
6
  *
22
7
  * This source code is licensed under the MIT license found in the
23
8
  * LICENSE file in the root directory of this source tree.
24
- */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),p=b("react.memo"),h=b("react.lazy"),d=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case l:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case p:case s:return e;default:return t}}case n:return t}}}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===y||e===o||e===l||e===f||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===u||e.$$typeof===c||e.$$typeof===g||e.$$typeof===d||e[0]===m)},t.typeOf=E},2348:(e,t,r)=>{"use strict";e.exports=r(7007)},3440:(e,t,r)=>{"use strict";var n=r(2611),i=r(4174),o=r(6725),a=r(6287),s=r(7425),u=r(4249),c=r(3085),l=r(7265),f=r(3314),p=r(469),h=r(9762),d=r(8627),m=r(9531),g=r(58),y=r(7605),v=r(480),b=r(9619),E=r(2493),w=r(6096),x=r(917),S=r(488),k=r(7504),A=r(1559),D=r(3428),C=r(2848),F=r(6156),P=r(4014),O=r(2268),T=r(9715),j=r(5164),_=r(4914),I=r(213),R=r(4206),L=r(1311),N=r(4678);function M(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var B=M(i),z=M(o),U=M(a),$=M(s),q=M(l),V=M(f),H=M(p),G=M(b),W=M(T),Q=M(j),K=M(R),Y=M(L),X=M(N);class Z{constructor(e,t,r){this.id=void 0,this.summary=void 0,this._config=void 0,this.id=e,this.summary=r,this.config=t}get config(){return this._config}set config(e){e.setKey(this.id+":config"),this._config=e}}Z.style=".topwrite/style.css",Z.logo="logo.png";function J(e){return"string"==typeof e&&e.startsWith("@encrypted:")}function ee(e,t){return z.default.encrypt(e,t).toString()}function te(e,t){try{return z.default.decrypt(e,t).toString(U.default)}catch{return""}}var re=Object.freeze({__proto__:null,encrypt:ee,decrypt:te});class ne{constructor(e,t,r){this.key=void 0,this.values=void 0,this.schema=void 0,this.values=e,this.schema=t,this.key=r}setKey(e){this.key=e}getValues(){return this.values}setValues(e){const t=new B.default({removeAdditional:!0,useDefaults:!0,allErrors:!0}).compile(this.schema);if(!t(e=n.cloneDeep(e)))for(const r of t.errors)e=n.omit(e,r.dataPath.substr(1).split("/"));this.values=e}getValue(e,t){return n.get(this.values,e,t)}setValue(e,t){return n.set(this.values,e,t)}toObject(){const e=new B.default({removeAdditional:!0,useDefaults:!0,allErrors:!0});e.removeKeyword("default"),e.addKeyword("default",{validate:(e,t,r,i,o,a,s)=>(n.isEqual(e,t)&&(delete o[a],n.isEmpty(o)&&function(e,t){const r=[];let i=e;for(let e=0;e<t.length-1;e++)r.push(i),i=i[t[e]];for(let e=t.length-2;e>=0;e--)n.isEmpty(r[e][t[e]])&&delete r[e][t[e]]}(s,n.toPath(i.substr(1)))),!0),modifying:!0,errors:!1}),e.addKeyword("encrypt",{validate:(e,t,r,i,o,a)=>(this.key&&e&&!J(t)&&o&&a&&n.set(o,a,"@encrypted:"+ee(t,this.key)),!0),modifying:!0,errors:!1});const t=e.compile(this.schema),r=n.cloneDeep(this.values);return t(r),r}static createFromObject(e,t,r){const i=new B.default({removeAdditional:!0,useDefaults:!0,allErrors:!0});i.addKeyword("encrypt",{validate:(e,t,i,o,a,s)=>(r&&e&&J(t)&&a&&s&&n.set(a,s,te(t.substr(11),r)),!0),modifying:!0,errors:!1});const o=i.compile(t);if(!o(e))for(const t of o.errors)e=n.omit(e,t.dataPath.substr(1).split("/"));return new this(e,t,r)}}class ie extends ne{constructor(){super(...arguments),this.pluginsConfig={},this.presetPlugins={}}setPresetPlugins(e){this.presetPlugins=e}getStructure(e){return this.getValue(["structure",e])}getPluginConfig(e,t){if(!this.pluginsConfig[e]){const r=this.presetPlugins[e]?this.presetPlugins[e]:this.getValue(["pluginsConfig",e],{});this.pluginsConfig[e]=ne.createFromObject(n.cloneDeep(r),t,this.key+":"+e)}return this.pluginsConfig[e]}setPluginConfig(e,t){const r=t.toObject();n.isEmpty(r)?n.unset(this.values,["pluginsConfig",e]):this.setValue(["pluginsConfig",e],r),delete this.pluginsConfig[e]}static createFromObject(e){return super.createFromObject(e,ie.schema)}}ie.file="book.json",ie.schema={title:"TopWrite Configuration",type:"object",properties:{root:{type:"string",title:"Path from the root folder containing the book's content"},title:{type:"string",title:"Title of the book"},author:{type:"object",title:"attr of the author",properties:{name:{type:"string"},email:{type:"string"},home:{type:"string"}}},theme:{type:"string",title:"Name of the theme",default:"default"},themeConfig:{type:"object",title:"Configuration for theme",properties:{defaultMode:{type:"string",title:"Default mode form theme",default:"light"},primaryColor:{type:"string",title:"Primary Color form theme",default:"#3c60ff"}},default:{}},plugins:{type:"array",items:{type:"string"},default:[]},pluginsConfig:{type:"object",title:"Configuration for plugins",default:{}},structure:{type:"object",properties:{langs:{default:"LANGS.md",type:"string",title:"File to use as languages index",pattern:"^[a-zA-Z-._\\d,\\s]+$"},readme:{default:"README.md",type:"string",title:"File to use as preface",pattern:"^[a-zA-Z-._\\d,\\s]+$"},summary:{default:"SUMMARY.md",type:"string",title:"File to use as table of contents",pattern:"^[a-zA-Z-._\\d,\\s]+$"}},default:{}},pdf:{type:"object",title:"PDF specific configurations",properties:{fontFamily:{type:"string",default:"Microsoft Yahei",title:"Font family for the PDF output"},margin:{type:"object",title:"Margins (unit: pt)",properties:{right:{type:"integer",title:"Right Margin",minimum:0,maximum:100,default:30},left:{type:"integer",title:"Left Margin",minimum:0,maximum:100,default:30},top:{type:"integer",title:"Top Margin",minimum:0,maximum:100,default:40},bottom:{type:"integer",title:"Bottom Margin",minimum:0,maximum:100,default:40}},default:{}},paperSize:{type:"string",enum:["a0","a1","a2","a3","a4","a5","a6","b0","b1","b2","b3","b4","b5","b6","legal","letter"],default:"a4",title:"Paper size for the PDF"},chapterMark:{type:"string",enum:["pagebreak","rule","both","none"],default:"pagebreak",title:"How to mark detected chapters"},pageBreaksBefore:{type:"string",default:"/",title:'An XPath expression. Page breaks are inserted before the specified elements. To disable use the expression: "/"'},pageNumbers:{type:"boolean",default:!0,title:"Add page numbers to the bottom of every page"}},default:{}}},required:[]};class oe{constructor(e){void 0===e&&(e=[]),this.data=void 0,this.data="string"==typeof e?e.split(".").map((e=>parseInt(e,10))):e}getRoot(){return new oe(this.data.slice(0,1))}getParent(){return new oe(this.data.slice(0,-1))}createChild(e){return new oe(this.data.concat(e))}isDescendant(e){return e.toString().startsWith(this.toString()+".")}getNext(){const e=[...this.data];return e[e.length-1]++,new oe(e)}getDepth(){return this.data.length-1}eq(e){return this.toString()===e.toString()}getLeafIndex(){return this.data[this.data.length-1]-1}toString(e){return e?this.data.slice(e.data.length).join("."):this.data.join(".")}static compare(e,t){for(let r=0;r<Math.max(e.data.length,t.data.length);r++){let n=e.data[r]||0,i=t.data[r]||0;if(n>i)return 1;if(i>n)return-1}return 0}}class ae{constructor(e){let{title:t,ref:r,path:n,children:i=[]}=e;this.level=void 0,this.title=void 0,this.ref=void 0,this.path=void 0,this.children=void 0,this.title=t,this.ref=r,this.path=n||s.posix.format({...s.posix.parse(this.ref),ext:".html",base:""}),this.children=i,this.level=new oe}getLevel(){return this.level}getTitle(){return this.title}getRef(){return this.ref}getPath(){return this.path}getArticles(){return this.children}getDescendants(){const e=[];return ae.findArticle(this,(t=>(e.push(t),!1))),e}getDepth(){return this.getLevel().getDepth()}createChildLevel(){return this.level.createChild(this.children.length+1)}indexLevels(e){e?this.level=e:e=this.level;for(const[t,r]of this.children.entries())r.indexLevels(e.createChild(t+1))}static findArticle(e,t){return e.getArticles().reduce(((e,r)=>e||(t(r)?r:ae.findArticle(r,t))),void 0)}static createFromObject(e){var t;const r=null==(t=e.children)?void 0:t.map((e=>ae.createFromObject(e)));return new ae({...e,children:r})}}class se{constructor(e,t,r){void 0===t&&(t=[]),this.level=void 0,this.id=void 0,this.title=void 0,this.articles=void 0,this.level=new oe,this.id=r,this.title=e,this.articles=t}getLevel(){return this.level}getTitle(){return this.title}getArticles(){return this.articles}getDescendants(){const e=[];return ae.findArticle(this,(t=>(e.push(t),!1))),e}createChildLevel(){return this.level.createChild(this.articles.length+1)}indexLevels(e){e?this.level=e:e=this.level;for(const[t,r]of this.articles.entries())r.indexLevels(e.createChild(t+1))}static createFormObject(e){var t;return new se(e.title,null==(t=e.articles)?void 0:t.map((e=>ae.createFromObject(e))),e.id)}}const ue={tokenize:function(e,t,r){function n(t){return t===y.codes.rightParenthesis?f(t):x.factoryDestination(e,i,r,g.types.resourceDestination,g.types.resourceDestinationLiteral,g.types.resourceDestinationLiteralMarker,g.types.resourceDestinationRaw,g.types.resourceDestinationString,v.constants.linkResourceDestinationBalanceMax)(t)}function i(t){return S.markdownLineEndingOrSpace(t)?w.factoryWhitespace(e,o)(t):f(t)}function o(t){return t===y.codes.quotationMark||t===y.codes.apostrophe||t===y.codes.leftParenthesis?A.factoryTitle(e,w.factoryWhitespace(e,a),r,g.types.resourceTitle,g.types.resourceTitleMarker,g.types.resourceTitleString)(t):a(t)}function a(t){return t===y.codes.equalsTo?(e.enter("resourceSize"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),s):f(t)}function s(t){return t===y.codes.lowercaseX?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),c):t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeWidth"),e.enter(g.types.chunkString,{contentType:"string"}),u(t))}function u(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("resourceSizeWidth"),e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):t===y.codes.lowercaseX?(e.exit(g.types.chunkString),e.exit("resourceSizeWidth"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),c):(e.consume(t),u)}function c(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeHeight"),e.enter(g.types.chunkString,{contentType:"string"}),l(t))}function l(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("resourceSizeHeight"),e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.consume(t),l)}function f(n){return n===y.codes.rightParenthesis?(e.enter(g.types.resourceMarker),e.consume(n),e.exit(g.types.resourceMarker),e.exit(g.types.resource),t):r(n)}return function(t){return e.enter(g.types.resource),e.enter(g.types.resourceMarker),e.consume(t),e.exit(g.types.resourceMarker),w.factoryWhitespace(e,n)}}},ce={tokenize:function(e,t,r){const n=this;function i(e){return n.parser.defined.includes(E.normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}return function(t){return G.default.strictEqual(t,y.codes.leftSquareBracket,"expected left bracket"),k.factoryLabel.call(n,e,i,r,g.types.reference,g.types.referenceMarker,g.types.referenceString)(t)}}},le={tokenize:function(e,t,r){function n(n){return 93===n?(e.enter(g.types.referenceMarker),e.consume(n),e.exit(g.types.referenceMarker),e.exit(g.types.reference),t):r(n)}return function(t){return e.enter(g.types.reference),e.enter(g.types.referenceMarker),e.consume(t),e.exit(g.types.referenceMarker),n}}};var fe={name:"labelEnd",tokenize:function(e,t,r){const n=this;let i,o,a=n.events.length;for(;a--;)if((n.events[a][1].type===g.types.labelImage||n.events[a][1].type===g.types.labelLink)&&!n.events[a][1]._balanced){i=n.events[a][1];break}function s(e){return i._balanced=!0,r(e)}function u(r){return r===y.codes.leftParenthesis?e.attempt(ue,t,o?t:s)(r):r===y.codes.leftSquareBracket?e.attempt(ce,t,o?e.attempt(le,t,s):s)(r):o?t(r):s(r)}return function(t){return G.default(t===y.codes.rightSquareBracket,"expected `]`"),i?i._inactive?s(t):(o=n.parser.defined.indexOf(E.normalizeIdentifier(n.sliceSerialize({start:i.end,end:n.now()})))>-1,e.enter(g.types.labelEnd),e.enter(g.types.labelMarker),e.consume(t),e.exit(g.types.labelMarker),e.exit(g.types.labelEnd),u):r(t)}},resolveTo:m.labelEnd.resolveTo,resolveAll:m.labelEnd.resolveAll};const pe=(e,t,r)=>{const n=d.image(e,t,r);return e.width||e.height?n.replace(/\)$/," ="+(e.width||"")+(e.height?"x"+e.height:"")+")"):n};pe.peek=d.image.peek;const he=e=>{let t;switch(e){case"right":t="--: ";break;case"center":t=":-: ";break;default:t=""}return t},de={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(t===y.codes.greaterThan){const r=n.containerState;return G.default(r,"expected `containerState` to be defined in container"),r.open||(e.enter(g.types.blockQuote,{_container:!0}),r.open=!0),e.enter(g.types.blockQuotePrefix),e.enter(g.types.blockQuoteMarker),e.consume(t),e.exit(g.types.blockQuoteMarker),P.factorySpace(e,i,g.types.whitespace)}return r(t)};function i(t){return t===y.codes.leftSquareBracket?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),o):s(t)}function o(t){return t===y.codes.rightSquareBracket||S.markdownLineEndingOrSpace(t)?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),s):(e.enter("blockQuoteType"),e.enter(g.types.chunkString,{contentType:"string"}),a(t))}function a(t){return t===y.codes.rightSquareBracket||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("blockQuoteType"),e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),s):(e.consume(t),a)}function s(r){return S.markdownSpace(r)?(e.enter(g.types.blockQuotePrefixWhitespace),e.consume(r),e.exit(g.types.blockQuotePrefixWhitespace),e.exit(g.types.blockQuotePrefix),t):(e.exit(g.types.blockQuotePrefix),t(r))}},continuation:{tokenize:function(e,t,r){return P.factorySpace(e,e.attempt(de,t,r),g.types.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:v.constants.tabSize)}},exit:m.blockQuote.exit},me=function(e,t){void 0===t&&(t="text");let r="";return D.visit(e,t,(function(e){r+=e.value})),r},ge=/^\[toc(?:=(\d)(?:,(\d))?)?]$/im,ye=c.unified().use(q.default).use((function(){const e=this.data();e.micromarkExtensions=[],e.fromMarkdownExtensions=[],e.toMarkdownExtensions=[],e.toHastExtensions=[]})).use(Q.default).use(W.default,["yaml"]).use(V.default).use(H.default).use(_.remarkHeadingId).use((function(){return this.data().toHastExtensions.push({xBlock:(e,t)=>e({},"x-block",{name:t.name,value:t.value,parameter:t.parameter}),xInline:(e,t)=>e({},"x-inline",{name:t.name,value:t.value})}),function(e){D.visit(e,((e,t,r)=>{if(null!==t&&null!==r)if((e=>"code"===e.type)(e)&&e.lang){const n=/\[([\w-_]+)(:([\w-_]+))?]/g.exec(e.lang);if(n){const i={type:"xBlock",name:n[1],parameter:n[3]||"",value:e.value,position:e.position};r.children.splice(t,1,i)}}else if((e=>"inlineCode"===e.type)(e)){const n=/^([^\s]+)\s(.*?)\s\1$/.exec(e.value);if(n){const i={type:"xInline",name:n[1],value:n[2],position:e.position};r.children.splice(t,1,i)}}}))}})).use((function(){const e=this.data();e.micromarkExtensions.push({text:{[y.codes.rightSquareBracket]:fe}}),e.fromMarkdownExtensions.push({enter:{resourceSizeWidth:function(){this.buffer()},resourceSizeHeight:function(){this.buffer()}},exit:{resourceSizeWidth:function(){const e=this.resume();this.stack[this.stack.length-1].width=e},resourceSizeHeight:function(){const e=this.resume();this.stack[this.stack.length-1].height=e}}}),e.toMarkdownExtensions.push({handlers:{image:pe}}),e.toHastExtensions.push({image:(e,t)=>{const r={src:h.encode(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),r.width=t.width,r.height=t.height,e(t,"img",r)}})})).use((function(){return this.data().toMarkdownExtensions.push({handlers:{paragraph:(e,t,r)=>{const n=C.paragraph(e,t,r);return he(e.align)+n},heading:(e,t,r)=>F.heading(e,t,r).replace(/^#+\s/,"$&"+he(e.align))}}),function(e){D.visit(e,((e,t,r)=>{if((e=>"paragraph"===e.type||"heading"===e.type)(e)){const t=u.select("text",e);if(t){const n=t.value;n.startsWith("--: ")?e.align="right":n.startsWith(":-: ")?e.align="center":n.startsWith(":-- ")&&(e.align="left"),e.align&&(t.value=n.substr(4),r&&"listItem"===r.type?r.data={...r.data,hProperties:{className:"align-"+e.align}}:e.data={...e.data,hProperties:{className:"align-"+e.align}})}}}))}})).use((function(){const e=this.data();return e.toMarkdownExtensions.push({handlers:{blockquote:(e,t,r)=>{const n=O.blockquote(e,t,r);return e.variant?n.replace(/(^|\s+)>\s/,"$1> ["+e.variant+"] "):n}}}),e.micromarkExtensions.push({document:{[y.codes.greaterThan]:de}}),e.fromMarkdownExtensions.push({enter:{blockQuoteType:function(){this.buffer()}},exit:{blockQuoteType:function(){const e=this.resume();this.stack[this.stack.length-1].variant=e}}}),function(e){D.visit(e,"blockquote",(e=>{e.variant&&(e.data={...e.data,hProperties:{className:e.variant}})}))}})).use((function(){return function(e){D.visit(e,((e,t,r)=>{if(r&&"root"===r.type&&null!==t&&me(e).match(ge))return r.children.splice(t,1),[D.SKIP,t]}))}}));function ve(e){const t=[];for(const r of e.children){const e=r.children,n=u.select("paragraph:first-child>*",r);if(!n||!n.url)continue;const i=me(n);if(!i)continue;const o=decodeURI(n.url);if(o&&o.match(/[\\:*?"<>|]/))continue;let a={title:i,ref:o};if(e.length>1){const t=e[e.length-1];I.is(t,"list")&&(a.children=ve(t))}t.push(a)}return t}const be=ye();class Ee{constructor(e){void 0===e&&(e=[]),this.parts=void 0,this.parts=e,this.indexLevels()}getParts(){return this.parts}getPart(e){return this.parts[e]}getLastPart(){return this.parts[this.parts.length-1]}getArticles(){const e=[];return this.getArticle((t=>(e.push(t),!1))),e}getArticle(e,t){return this.parts.reduce(((r,n)=>r||(!t||t(n)?ae.findArticle(n,e):void 0)),void 0)}getArticlePart(e){const t=e.getLevel().getRoot();return this.getByLevel(t)}getFirstPath(){const e=this.getArticle((e=>!!e.getPath()));if(e)return e.getPath()}getByLevel(e){const t=t=>t.getLevel().eq(e);return this.parts.reduce(((e,r)=>e||(t(r)?r:ae.findArticle(r,t))),void 0)}getFirstArticle(){return this.getArticle((()=>!0))}getNextArticle(e){const t=e instanceof ae?e.getLevel():e;let r=!1;return this.getArticle((e=>!!r||(r=e.getLevel()==t,!1)))}getPrevArticle(e){const t=e instanceof ae?e.getLevel():e;let r;return this.getArticle((e=>e.getLevel()==t||(r=e,!1))),r}getParent(e){const t=(e instanceof ae?e.getLevel():e).getParent();if(t)return this.getByLevel(t)}indexLevels(){for(const[e,t]of this.parts.entries()){const r=new oe(String(e+1));t.indexLevels(r)}}isSinglePart(){return 1===this.parts.length&&!this.parts[0].title}isEmpty(){return this.isSinglePart()?0===this.parts[0].articles.length:0===this.parts.length}static createFromObject(e){return new Ee(e.map((e=>se.createFormObject(e))))}static createFromText(e){const t=function(e){const t=be.parse(e),r=[];let n;for(const e of t.children)if(I.is(e,"heading")&&[2,3].includes(e.depth)&&(n&&r.push(n),n={id:me(e,"idString").trim(),title:me(e).trim()}),I.is(e,"list")){const t=ve(e);n?n.articles=(n.articles||[]).concat(t):n={title:"",articles:t}}return n?r.push(n):r.push({title:""}),r}(e);return Ee.createFromObject(t)}static create(e){return"object"==typeof e?Ee.createFromObject(e):Ee.createFromText(e)}}class we{constructor(e){let{host:t,preset:r}=e;this.host=void 0,this.preset=void 0,this.host=t,this.preset=r}getBuyUrl(e,t){return this.host+"/api/buy?book="+e.id+"&plugin="+t.name}async bought(e,t){try{return await K.default.get(this.host+"/api/bought?book="+e.id+"&plugin="+t.name),!0}catch{return!1}}async queryPlugins(e){let{page:t=1,...r}=e;const{data:n}=await K.default.get(this.host+"/api/query",{params:{...r,page:t}});return n}async getInstalled(e){const{config:t}=e,r=["theme-"+t.getValue("theme"),...t.getValue("plugins")];this.preset&&(r.push(...Object.keys(this.preset)),t.setPresetPlugins(this.preset));const{data:n}=await K.default.get(this.host+"/api/installed",{params:{book:e.id,plugins:r.join(",")}}).catch((e=>{throw new Error("Plugins Check Failed:"+e.message)}));return n.filter((e=>!e.builtin||this.preset&&this.preset[e.name]))}}t.YB=void 0;class xe{constructor(e,t,r){this.flatColors=["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#f39c12","#d35400","#c0392b"],this.letter=void 0,this.size=void 0,this.canvas=void 0,this.letter=e,this.size=t,this.canvas=r,this.generate()}toDataUrl(){return this.canvas.toDataURL()}generate(){const e=this.canvas.getContext("2d");if(!e)throw new Error("getContext failed");const t=this.size/10;e.beginPath(),e.arc(this.size-t,this.size-t,t,0,Math.PI/2),e.lineTo(t,this.size),e.arc(t,this.size-t,t,Math.PI/2,Math.PI),e.lineTo(0,t),e.arc(t,t,t,Math.PI,3*Math.PI/2),e.lineTo(this.size-t,0),e.arc(this.size-t,t,t,3*Math.PI/2,2*Math.PI),e.lineTo(this.size,this.size-t),e.closePath();const r=this.letter[0].toUpperCase();e.fillStyle=this.flatColors[r.charCodeAt(0)%this.flatColors.length],e.fill(),e.restore(),e.font=Math.round(this.size/2)+"px Roboto",e.textAlign="center",e.fillStyle="#FFFFFF",e.fillText(this.letter[0].toUpperCase(),this.size/2,this.size/1.5)}static create(e,t,r){return r||(r=function(e){const t=window.document.createElement("canvas");return t.width=e,t.height=e,t}(t)),new xe(e,t,r)}}const Se=/^(?:\w+:)?\/\/(\S+)$/,ke=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Ae=/^[^\s\.]+\.\S{2,}$/;Y.default.attach(),K.default.defaults.maxContentLength=1/0,K.default.defaults.maxBodyLength=1/0,Object.defineProperty(t,"WY",{enumerable:!0,get:function(){return K.default}}),t.l_=ne,t.fy=Z,t.De=ie,t.$B=class{constructor(e){let{path:t,content:r,meta:n={}}=e;this.path=void 0,this.content=void 0,this.meta=void 0,this.path=t,this.content=r,this.meta=n}getMeta(e,t){return n.get(this.meta,e,t)}relative(e){const t="/"===e.slice(-1);return(e=$.default.posix.relative($.default.posix.dirname(this.path),e)||".")+(t?"/":"")}resolve(e){return $.default.posix.join($.default.posix.dirname(this.path),e)}},t.$q=xe,t.aC=oe,t.ER=Ee,t.oI=ae,t.Lj=se,t.rK=re,t.NC=function(e){return t.YB=new we(e)},t.oe=J,t.CB=function(e){const t=e.match(Se);if(!t)return!1;const r=t[1];return!!r&&(ke.test(r)||Ae.test(r))},t.JH=ye,t.FB=function(e){return X.default(e).toString()}},4174:(e,t,r)=>{"use strict";var n=r(1251),i=r(29),o=r(4390),a=r(8969),s=r(6440),u=r(8506),c=r(1077),l=r(3244),f=r(5117);e.exports=y,y.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);r=n.validate||this._compile(n)}var i=r(t);!0!==r.$async&&(this.errors=r.errors);return i},y.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},y.prototype.addSchema=function(e,t,r,n){if(Array.isArray(e)){for(var o=0;o<e.length;o++)this.addSchema(e[o],void 0,r,n);return this}var a=this._getId(e);if(void 0!==a&&"string"!=typeof a)throw new Error("schema id must be string");return S(this,t=i.normalizeId(t||a)),this._schemas[t]=this._addSchema(e,r,n,!0),this},y.prototype.addMetaSchema=function(e,t,r){return this.addSchema(e,t,r,!0),this},y.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(d)?d:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var n=this.validate(r,e);if(!n&&t){var i="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(i);this.logger.error(i)}return n},y.prototype.getSchema=function(e){var t=v(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var r=i.schema.call(e,{schema:{}},t);if(r){var o=r.schema,s=r.root,u=r.baseId,c=n.call(e,o,s,void 0,u);return e._fragments[t]=new a({ref:t,fragment:!0,schema:o,root:s,baseId:u,validate:c}),c}}(this,e)}},y.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=v(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var r=this._opts.serialize,n=r?r(e):e;this._cache.del(n);var o=this._getId(e);o&&(o=i.normalizeId(o),delete this._schemas[o],delete this._refs[o])}return this},y.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},y.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,n=void 0===t.dataVar?"data":t.dataVar,i="",o=0;o<e.length;o++){var a=e[o];a&&(i+=n+a.dataPath+" "+a.message+r)}return i.slice(0,-r.length)},y.prototype._addSchema=function(e,t,r,n){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var o=this._opts.serialize,s=o?o(e):e,u=this._cache.get(s);if(u)return u;n=n||!1!==this._opts.addUsedSchema;var c=i.normalizeId(this._getId(e));c&&n&&S(this,c);var l,f=!1!==this._opts.validateSchema&&!t;f&&!(l=c&&c==i.normalizeId(e.$schema))&&this.validateSchema(e,!0);var p=i.ids.call(this,e),h=new a({id:c,schema:e,localRefs:p,cacheKey:s,meta:r});"#"!=c[0]&&n&&(this._refs[c]=h);this._cache.put(s,h),f&&l&&this.validateSchema(e,!0);return h},y.prototype._compile=function(e,t){if(e.compiling)return e.validate=o,o.schema=e.schema,o.errors=null,o.root=t||o,!0===e.schema.$async&&(o.$async=!0),o;var r,i;e.compiling=!0,e.meta&&(r=this._opts,this._opts=this._metaOpts);try{i=n.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=r)}return e.validate=i,e.refs=i.refs,e.refVal=i.refVal,e.root=i.root,i;function o(){var t=e.validate,r=t.apply(this,arguments);return o.errors=t.errors,r}},y.prototype.compileAsync=r(1101);var p=r(7587);y.prototype.addKeyword=p.add,y.prototype.getKeyword=p.get,y.prototype.removeKeyword=p.remove,y.prototype.validateKeyword=p.validate;var h=r(24);y.ValidationError=h.Validation,y.MissingRefError=h.MissingRef,y.$dataMetaSchema=l;var d="http://json-schema.org/draft-07/schema",m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],g=["/properties"];function y(e){if(!(this instanceof y))return new y(e);e=this._opts=f.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:k,warn:k,error:k};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=u(e.format),this._cache=e.cache||new o,this._loadingSchemas={},this._compilations=[],this.RULES=c(),this._getId=function(e){switch(e.schemaId){case"auto":return x;case"id":return E;default:return w}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=f.copy(e._opts),r=0;r<m.length;r++)delete t[m[r]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var r=e._opts.keywords[t];e.addKeyword(t,r)}}(this),function(e){var t;e._opts.$data&&(t=r(3633),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var n=r(4222);e._opts.$data&&(n=l(n,g));e.addMetaSchema(n,d,!0),e._refs["http://json-schema.org/schema"]=d}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}(this)}function v(e,t){return t=i.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,r){for(var n in t){var i=t[n];i.meta||r&&!r.test(n)||(e._cache.del(i.cacheKey),delete t[n])}}function E(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function w(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function x(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function S(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function k(){}},4390:e=>{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},1101:(e,t,r)=>{"use strict";var n=r(24).MissingRef;e.exports=function e(t,r,i){var o=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof r&&(i=r,r=void 0);var a=s(t).then((function(){var e=o._addSchema(t,void 0,r);return e.validate||u(e)}));i&&a.then((function(e){i(null,e)}),i);return a;function s(t){var r=t.$schema;return r&&!o.getSchema(r)?e.call(o,{$ref:r},!0):Promise.resolve()}function u(e){try{return o._compile(e)}catch(t){if(t instanceof n)return function(t){var n=t.missingSchema;if(c(n))throw new Error("Schema "+n+" is loaded but "+t.missingRef+" cannot be resolved");var i=o._loadingSchemas[n];i||(i=o._loadingSchemas[n]=o._opts.loadSchema(n)).then(a,a);return i.then((function(e){if(!c(n))return s(e).then((function(){c(n)||o.addSchema(e,n,void 0,r)}))})).then((function(){return u(e)}));function a(){delete o._loadingSchemas[n]}function c(e){return o._refs[e]||o._schemas[e]}}(t);throw t}}}},24:(e,t,r)=>{"use strict";var n=r(29);function i(e,t,r){this.message=r||i.message(e,t),this.missingRef=n.url(e,t),this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function o(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:o((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:o(i)},i.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},8506:(e,t,r)=>{"use strict";var n=r(5117),i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,f=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,p=/^(?:\/(?:[^~/]|~0|~1)*)*$/,h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,d=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return e="full"==e?"full":"fast",n.copy(m[e])}function g(e){var t=e.match(i);if(!t)return!1;var r=+t[1],n=+t[2],a=+t[3];return n>=1&&n<=12&&a>=1&&a<=(2==n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:o[n])}function y(e,t){var r=e.match(a);if(!r)return!1;var n=r[1],i=r[2],o=r[3],s=r[5];return(n<=23&&i<=59&&o<=59||23==n&&59==i&&60==o)&&(!t||s)}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":p,"json-pointer-uri-fragment":h,"relative-json-pointer":d},m.full={date:g,time:y,"date-time":function(e){var t=e.split(v);return 2==t.length&&g(t[0])&&y(t[1],!0)},uri:function(e){return b.test(e)&&u.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":p,"json-pointer-uri-fragment":h,"relative-json-pointer":d};var v=/t|\s/i;var b=/\/|:/;var E=/[^\\]\\Z/;function w(e){if(E.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},1251:(e,t,r)=>{"use strict";var n=r(29),i=r(5117),o=r(24),a=r(6440),s=r(805),u=i.ucs2length,c=r(6471),l=o.Validation;function f(e,t,r){var n=h.call(this,e,t,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}function p(e,t,r){var n=h.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}function h(e,t,r){for(var n=0;n<this._compilations.length;n++){var i=this._compilations[n];if(i.schema==e&&i.root==t&&i.baseId==r)return n}return-1}function d(e,t){return"var pattern"+e+" = new RegExp("+i.toQuotedString(t[e])+");"}function m(e){return"var default"+e+" = defaults["+e+"];"}function g(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function y(e){return"var customRule"+e+" = customRules["+e+"];"}function v(e,t){if(!e.length)return"";for(var r="",n=0;n<e.length;n++)r+=t(n,e);return r}e.exports=function e(t,r,h,b){var E=this,w=this._opts,x=[void 0],S={},k=[],A={},D=[],C={},F=[];r=r||{schema:t,refVal:x,refs:S};var P=f.call(this,t,r,b),O=this._compilations[P.index];if(P.compiling)return O.callValidate=function e(){var t=O.validate,r=t.apply(this,arguments);return e.errors=t.errors,r};var T=this._formats,j=this.RULES;try{var _=R(t,r,h,b);O.validate=_;var I=O.callValidate;return I&&(I.schema=_.schema,I.errors=null,I.refs=_.refs,I.refVal=_.refVal,I.root=_.root,I.$async=_.$async,w.sourceCode&&(I.source=_.source)),_}finally{p.call(this,t,r,b)}function R(t,a,f,p){var h=!a||a&&a.schema==t;if(a.schema!=r.schema)return e.call(E,t,a,f,p);var b,A=!0===t.$async,C=s({isTop:!0,schema:t,isRoot:h,baseId:p,root:a,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:j,validate:s,util:i,resolve:n,resolveRef:L,usePattern:B,useDefault:z,useCustomRule:U,opts:w,formats:T,logger:E.logger,self:E});C=v(x,g)+v(k,d)+v(D,m)+v(F,y)+C,w.processCode&&(C=w.processCode(C,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",C)(E,j,T,r,x,D,F,c,u,l),x[0]=b}catch(e){throw E.logger.error("Error compiling schema, function code:",C),e}return b.schema=t,b.errors=null,b.refs=S,b.refVal=x,b.root=h?b:a,A&&(b.$async=!0),!0===w.sourceCode&&(b.source={code:C,patterns:k,defaults:D}),b}function L(t,i,o){i=n.url(t,i);var a,s,u=S[i];if(void 0!==u)return M(a=x[u],s="refVal["+u+"]");if(!o&&r.refs){var c=r.refs[i];if(void 0!==c)return M(a=r.refVal[c],s=N(i,a))}s=N(i);var l=n.call(E,R,r,i);if(void 0===l){var f=h&&h[i];f&&(l=n.inlineRef(f,w.inlineRefs)?f:e.call(E,f,r,h,t))}if(void 0!==l)return function(e,t){var r=S[e];x[r]=t}(i,l),M(l,s);!function(e){delete S[e]}(i)}function N(e,t){var r=x.length;return x[r]=t,S[e]=r,"refVal"+r}function M(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function B(e){var t=A[e];return void 0===t&&(t=A[e]=k.length,k[t]=e),"pattern"+t}function z(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return i.toQuotedString(e);case"object":if(null===e)return"null";var t=a(e),r=C[t];return void 0===r&&(r=C[t]=D.length,D[r]=e),"default"+r}}function U(e,t,r,n){if(!1!==E._opts.validateSchema){var i=e.definition.dependencies;if(i&&!i.every((function(e){return Object.prototype.hasOwnProperty.call(r,e)})))throw new Error("parent schema must have all required keywords: "+i.join(","));var o=e.definition.validateSchema;if(o)if(!o(t)){var a="keyword schema is invalid: "+E.errorsText(o.errors);if("log"!=E._opts.validateSchema)throw new Error(a);E.logger.error(a)}}var s,u=e.definition.compile,c=e.definition.inline,l=e.definition.macro;if(u)s=u.call(E,t,r,n);else if(l)s=l.call(E,t,r,n),!1!==w.validateSchema&&E.validateSchema(s,!0);else if(c)s=c.call(E,n,e.keyword,t,r);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var f=F.length;return F[f]=s,{code:"customRule"+f,validate:s}}}},29:(e,t,r)=>{"use strict";var n=r(2371),i=r(6471),o=r(5117),a=r(8969),s=r(5127);function u(e,t,r){var n=this._refs[r];if("string"==typeof n){if(!this._refs[n])return u.call(this,e,t,n);n=this._refs[n]}if((n=n||this._schemas[r])instanceof a)return d(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var i,o,s,l=c.call(this,t,r);return l&&(i=l.schema,t=l.root,s=l.baseId),i instanceof a?o=i.validate||e.call(this,i.schema,t,void 0,s):void 0!==i&&(o=d(i,this._opts.inlineRefs)?i:e.call(this,i,t,void 0,s)),o}function c(e,t){var r=n.parse(t),i=v(r),o=y(this._getId(e.schema));if(0===Object.keys(e.schema).length||i!==o){var s=E(i),u=this._refs[s];if("string"==typeof u)return l.call(this,e,u,r);if(u instanceof a)u.validate||this._compile(u),e=u;else{if(!((u=this._schemas[s])instanceof a))return;if(u.validate||this._compile(u),s==E(t))return{schema:u,root:e,baseId:o};e=u}if(!e.schema)return;o=y(this._getId(e.schema))}return p.call(this,r,o,e.schema,e)}function l(e,t,r){var n=c.call(this,e,t);if(n){var i=n.schema,o=n.baseId;e=n.root;var a=this._getId(i);return a&&(o=w(o,a)),p.call(this,r,o,i,e)}}e.exports=u,u.normalizeId=E,u.fullPath=y,u.url=w,u.ids=function(e){var t=E(this._getId(e)),r={"":t},a={"":y(t,!1)},u={},c=this;return s(e,{allKeys:!0},(function(e,t,s,l,f,p,h){if(""!==t){var d=c._getId(e),m=r[l],g=a[l]+"/"+f;if(void 0!==h&&(g+="/"+("number"==typeof h?h:o.escapeFragment(h))),"string"==typeof d){d=m=E(m?n.resolve(m,d):d);var y=c._refs[d];if("string"==typeof y&&(y=c._refs[y]),y&&y.schema){if(!i(e,y.schema))throw new Error('id "'+d+'" resolves to more than one schema')}else if(d!=E(g))if("#"==d[0]){if(u[d]&&!i(e,u[d]))throw new Error('id "'+d+'" resolves to more than one schema');u[d]=e}else c._refs[d]=g}r[t]=m,a[t]=g}})),u},u.inlineRef=d,u.schema=c;var f=o.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function p(e,t,r,n){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var i=e.fragment.split("/"),a=1;a<i.length;a++){var s=i[a];if(s){if(void 0===(r=r[s=o.unescapeFragment(s)]))break;var u;if(!f[s]&&((u=this._getId(r))&&(t=w(t,u)),r.$ref)){var l=w(t,r.$ref),p=c.call(this,n,l);p&&(r=p.schema,n=p.root,t=p.baseId)}}}return void 0!==r&&r!==n.schema?{schema:r,root:n,baseId:t}:void 0}}var h=o.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function d(e,t){return!1!==t&&(void 0===t||!0===t?m(e):t?g(e)<=t:void 0)}function m(e){var t;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&!m(t))return!1}else for(var n in e){if("$ref"==n)return!1;if("object"==typeof(t=e[n])&&!m(t))return!1}return!0}function g(e){var t,r=0;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&(r+=g(t)),r==1/0)return 1/0}else for(var i in e){if("$ref"==i)return 1/0;if(h[i])r++;else if("object"==typeof(t=e[i])&&(r+=g(t)+1),r==1/0)return 1/0}return r}function y(e,t){return!1!==t&&(e=E(e)),v(n.parse(e))}function v(e){return n.serialize(e).split("#")[0]+"#"}var b=/#\/?$/;function E(e){return e?e.replace(b,""):""}function w(e,t){return t=E(t),n.resolve(e,t)}},1077:(e,t,r)=>{"use strict";var n=r(9784),i=r(5117).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=i(t),e.types=i(["number","integer","string","array","object","boolean","null"]),e.forEach((function(r){r.rules=r.rules.map((function(r){var i;if("object"==typeof r){var o=Object.keys(r)[0];i=r[o],r=o,i.forEach((function(r){t.push(r),e.all[r]=!0}))}return t.push(r),e.all[r]={keyword:r,code:n[r],implements:i}})),e.all.$comment={keyword:"$comment",code:n.$comment},r.type&&(e.types[r.type]=r)})),e.keywords=i(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},8969:(e,t,r)=>{"use strict";var n=r(5117);e.exports=function(e){n.copy(e,this)}},7959:e=>{"use strict";e.exports=function(e){for(var t,r=0,n=e.length,i=0;i<n;)r++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<n&&56320==(64512&(t=e.charCodeAt(i)))&&i++;return r}},5117:(e,t,r)=>{"use strict";function n(e,t,r,n){var i=n?" !== ":" === ",o=n?" || ":" && ",a=n?"!":"",s=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+o+"typeof "+t+i+'"object"'+o+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+o+s+"("+t+" % 1)"+o+t+i+t+(r?o+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(r?o+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}e.exports={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:n,checkDataTypes:function(e,t,r){if(1===e.length)return n(e[0],t,r,!0);var i="",a=o(e);for(var s in a.array&&a.object&&(i=a.null?"(":"(!"+t+" || ",i+="typeof "+t+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer,a)i+=(i?" && ":"")+n(s,t,r,!0);return i},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n<t.length;n++){var o=t[n];(i[o]||"array"===e&&"array"===o)&&(r[r.length]=o)}if(r.length)return r}else{if(i[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:o,getProperty:u,escapeQuotes:c,equal:r(6471),ucs2length:r(7959),varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var n in e)if(n!=r&&t[n])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var r in e)if(!t[r])return r},toQuotedString:l,getPathExpr:function(e,t,r,n){return h(e,r?"'/' + "+t+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){var n=l(r?"/"+d(t):u(t));return h(e,n)},getData:function(e,t,r){var n,i,o,a;if(""===e)return"rootData";if("/"==e[0]){if(!f.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,o="rootData"}else{if(!(a=e.match(p)))throw new Error("Invalid JSON-pointer: "+e);if(n=+a[1],"#"==(i=a[2])){if(n>=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(o="data"+(t-n||""),!i)return o}for(var s=o,c=i.split("/"),l=0;l<c.length;l++){var h=c[l];h&&(o+=u(m(h)),s+=" && "+o)}return s},unescapeFragment:function(e){return m(decodeURIComponent(e))},unescapeJsonPointer:m,escapeFragment:function(e){return encodeURIComponent(d(e))},escapeJsonPointer:d};var i=o(["string","number","integer","boolean","null"]);function o(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var a=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function u(e){return"number"==typeof e?"["+e+"]":a.test(e)?"."+e:"['"+c(e)+"']"}function c(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function l(e){return"'"+c(e)+"'"}var f=/^\/(?:[^~]|~0|~1)*$/,p=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function h(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function d(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function m(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},3244:e=>{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,r){for(var n=0;n<r.length;n++){e=JSON.parse(JSON.stringify(e));var i,o=r[n].split("/"),a=e;for(i=1;i<o.length;i++)a=a[o[i]];for(i=0;i<t.length;i++){var s=t[i],u=a[s];u&&(a[s]={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},6152:(e,t,r)=>{"use strict";var n=r(4222);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},1510:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s;var h="maximum"==t,d=h?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[d],g=e.opts.$data&&m&&m.$data,y=h?"<":">",v=h?">":"<",b=void 0;if(!p&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!g&&void 0!==m&&"number"!=typeof m&&"boolean"!=typeof m)throw new Error(d+" must be number or boolean");if(g){var E=e.util.getData(m.$data,a,e.dataPathArr),w="exclusive"+o,x="exclType"+o,S="exclIsNumber"+o,k="' + "+(C="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+E+"; ",i+=" var "+w+"; var "+x+" = typeof "+(E="schemaExcl"+o)+"; if ("+x+" != 'boolean' && "+x+" != 'undefined' && "+x+" != 'number') { ";var A;b=d;(A=A||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var D=i;i=A.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+x+" == 'number' ? ( ("+w+" = "+n+" === undefined || "+E+" "+y+"= "+n+") ? "+f+" "+v+"= "+E+" : "+f+" "+v+" "+n+" ) : ( ("+w+" = "+E+" === true) ? "+f+" "+v+"= "+n+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { var op"+o+" = "+w+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=d,c=e.errSchemaPath+"/"+d,n=E,p=g)}else{k=y;if((S="number"==typeof m)&&p){var C="'"+k+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" ( "+n+" === undefined || "+m+" "+y+"= "+n+" ? "+f+" "+v+"= "+m+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { "}else{S&&void 0===s?(w=!0,b=d,c=e.errSchemaPath+"/"+d,n=m,v+="="):(S&&(n=Math[h?"min":"max"](m,s)),m===(!S||n)?(w=!0,b=d,c=e.errSchemaPath+"/"+d,v+="="):(w=!1,k+="="));C="'"+k+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+" "+v+" "+n+" || "+f+" !== "+f+") { "}}b=b||t,(A=A||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+C+", limit: "+n+", exclusive: "+w+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+k+" ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";D=i;return i=A.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { "),i}},1978:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!p&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+".length "+("maxItems"==t?">":"<")+" "+n+") { ";var h=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(h||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"fewer",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},6179:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!p&&"number"!=typeof s)throw new Error(t+" must be number");var h="maxLength"==t?">":"<";i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),!1===e.opts.unicode?i+=" "+f+".length ":i+=" ucs2length("+f+") ",i+=" "+h+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},206:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!p&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" Object.keys("+f+").length "+("maxProperties"==t?">":"<")+" "+n+") { ";var h=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(h||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"fewer",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},3137:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.schema[t],o=e.schemaPath+e.util.getProperty(t),a=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,u=e.util.copy(e),c="";u.level++;var l="valid"+u.level,f=u.baseId,p=!0,h=i;if(h)for(var d,m=-1,g=h.length-1;m<g;)d=h[m+=1],(e.opts.strictKeywords?"object"==typeof d&&Object.keys(d).length>0||!1===d:e.util.schemaHasRules(d,e.RULES.all))&&(p=!1,u.schema=d,u.schemaPath=o+"["+m+"]",u.errSchemaPath=a+"/"+m,n+=" "+e.validate(u)+" ",u.baseId=f,s&&(n+=" if ("+l+") { ",c+="}"));return s&&(n+=p?" if (true) { ":" "+c.slice(0,-1)+" "),n}},3229:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g=a.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}));if(g){var y=h.baseId;n+=" var "+p+" = errors; var "+f+" = false; ";var v=e.compositeRule;e.compositeRule=h.compositeRule=!0;var b=a;if(b)for(var E,w=-1,x=b.length-1;w<x;)E=b[w+=1],h.schema=E,h.schemaPath=s+"["+w+"]",h.errSchemaPath=u+"/"+w,n+=" "+e.validate(h)+" ",h.baseId=y,n+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",d+="}";e.compositeRule=h.compositeRule=v,n+=" "+d+" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else c&&(n+=" if (true) { ");return n}},3159:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.schema[t],o=e.errSchemaPath+"/"+t,a=(e.opts.allErrors,e.util.toQuotedString(i));return!0===e.opts.$comment?n+=" console.log("+a+");":"function"==typeof e.opts.$comment&&(n+=" self._opts.$comment("+a+", "+e.util.toQuotedString(o)+", validate.root.schema);"),n}},2267:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p=e.opts.$data&&a&&a.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; "),p||(n+=" var schema"+i+" = validate.schema"+s+";"),n+="var "+f+" = equal("+l+", schema"+i+"); if (!"+f+") { ";var h=h||[];h.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+i+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to constant' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var d=n;return n=h.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",c&&(n+=" else { "),n}},9629:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e);h.level++;var d="valid"+h.level,m="i"+i,g=h.dataLevel=e.dataLevel+1,y="data"+g,v=e.baseId,b=e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all);if(n+="var "+p+" = errors;var "+f+";",b){var E=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=a,h.schemaPath=s,h.errSchemaPath=u,n+=" var "+d+" = false; for (var "+m+" = 0; "+m+" < "+l+".length; "+m+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=l+"["+m+"]";h.dataPathArr[g]=m;var x=e.validate(h);h.baseId=v,e.util.varOccurences(x,y)<2?n+=" "+e.util.varReplace(x,y,w)+" ":n+=" var "+y+" = "+w+"; "+x+" ",n+=" if ("+d+") break; } ",e.compositeRule=h.compositeRule=E,n+=" if (!"+d+") {"}else n+=" if ("+l+".length == 0) {";var S=S||[];S.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should contain a valid item' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var k=n;return n=S.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+k+"]); ":n+=" validate.errors = ["+k+"]; return false; ":n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { ",b&&(n+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n}},5554:e=>{"use strict";e.exports=function(e,t,r){var n,i,o=" ",a=e.level,s=e.dataLevel,u=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,p="data"+(s||""),h="valid"+a,d="errs__"+a,m=e.opts.$data&&u&&u.$data;m?(o+=" var schema"+a+" = "+e.util.getData(u.$data,s,e.dataPathArr)+"; ",i="schema"+a):i=u;var g,y,v,b,E,w=this,x="definition"+a,S=w.definition,k="";if(m&&S.$data){E="keywordValidate"+a;var A=S.validateSchema;o+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+E+" = "+x+".validate;"}else{if(!(b=e.useCustomRule(w,u,e.schema,e)))return;i="validate.schema"+c,E=b.code,g=S.compile,y=S.inline,v=S.macro}var D=E+".errors",C="i"+a,F="ruleErr"+a,P=S.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(o+=D+" = null;"),o+="var "+d+" = errors;var "+h+";",m&&S.$data&&(k+="}",o+=" if ("+i+" === undefined) { "+h+" = true; } else { ",A&&(k+="}",o+=" "+h+" = "+x+".validateSchema("+i+"); if ("+h+") { ")),y)S.statements?o+=" "+b.validate+" ":o+=" "+h+" = "+b.validate+"; ";else if(v){var O=e.util.copy(e);k="";O.level++;var T="valid"+O.level;O.schema=b.validate,O.schemaPath="";var j=e.compositeRule;e.compositeRule=O.compositeRule=!0;var _=e.validate(O).replace(/validate\.schema/g,E);e.compositeRule=O.compositeRule=j,o+=" "+_}else{(N=N||[]).push(o),o="",o+=" "+E+".call( ",e.opts.passContext?o+="this":o+="self",g||!1===S.schema?o+=" , "+p+" ":o+=" , "+i+" , "+p+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var I=s?"data"+(s-1||""):"parentData",R=s?e.dataPathArr[s]:"parentDataProperty",L=o+=" , "+I+" , "+R+" , rootData ) ";o=N.pop(),!1===S.errors?(o+=" "+h+" = ",P&&(o+="await "),o+=L+"; "):o+=P?" var "+(D="customErrors"+a)+" = null; try { "+h+" = await "+L+"; } catch (e) { "+h+" = false; if (e instanceof ValidationError) "+D+" = e.errors; else throw e; } ":" "+D+" = null; "+h+" = "+L+"; "}if(S.modifying&&(o+=" if ("+I+") "+p+" = "+I+"["+R+"];"),o+=""+k,S.valid)f&&(o+=" if (true) { ");else{var N;o+=" if ( ",void 0===S.valid?(o+=" !",o+=v?""+T:""+h):o+=" "+!S.valid+" ",o+=") { ",n=w.keyword,(N=N||[]).push(o),o="",(N=N||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),o+=" } "):o+=" {} ";var M=o;o=N.pop(),!e.compositeRule&&f?e.async?o+=" throw new ValidationError(["+M+"]); ":o+=" validate.errors = ["+M+"]; return false; ":o+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var B=o;o=N.pop(),y?S.errors?"full"!=S.errors&&(o+=" for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(o+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),o+=" } "):!1===S.errors?o+=" "+B+" ":(o+=" if ("+d+" == errors) { "+B+" } else { for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(o+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),o+=" } } "):v?(o+=" var err = ",!1!==e.createErrors?(o+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),o+=" } "):o+=" {} ",o+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===S.errors?o+=" "+B+" ":(o+=" if (Array.isArray("+D+")) { if (vErrors === null) vErrors = "+D+"; else vErrors = vErrors.concat("+D+"); errors = vErrors.length; for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; "+F+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(o+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),o+=" } } else { "+B+" } "),o+=" } ",f&&(o+=" else { ")}return o}},1915:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="errs__"+i,p=e.util.copy(e),h="";p.level++;var d="valid"+p.level,m={},g={},y=e.opts.ownProperties;for(w in a)if("__proto__"!=w){var v=a[w],b=Array.isArray(v)?g:m;b[w]=v}n+="var "+f+" = errors;";var E=e.errorPath;for(var w in n+="var missing"+i+";",g)if((b=g[w]).length){if(n+=" if ( "+l+e.util.getProperty(w)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "),c){n+=" && ( ";var x=b;if(x)for(var S=-1,k=x.length-1;S<k;){O=x[S+=1],S&&(n+=" || "),n+=" ( ( "+(I=l+(_=e.util.getProperty(O)))+" === undefined ",y&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:_)+") ) "}n+=")) { ";var A="missing"+i,D="' + "+A+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,A,!0):E+" + "+A);var C=C||[];C.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+D+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var F=n;n=C.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+F+"]); ":n+=" validate.errors = ["+F+"]; return false; ":n+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var P=b;if(P)for(var O,T=-1,j=P.length-1;T<j;){O=P[T+=1];var _=e.util.getProperty(O),I=(D=e.util.escapeQuotes(O),l+_);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,O,e.opts.jsonPointers)),n+=" if ( "+I+" === undefined ",y&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+D+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}n+=" } ",c&&(h+="}",n+=" else { ")}e.errorPath=E;var R=p.baseId;for(var w in m){v=m[w];(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(n+=" "+d+" = true; if ( "+l+e.util.getProperty(w)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "),n+=") { ",p.schema=v,p.schemaPath=s+e.util.getProperty(w),p.errSchemaPath=u+"/"+e.util.escapeFragment(w),n+=" "+e.validate(p)+" ",p.baseId=R,n+=" } ",c&&(n+=" if ("+d+") { ",h+="}"))}return c&&(n+=" "+h+" if ("+f+" == errors) {"),n}},734:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p=e.opts.$data&&a&&a.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var h="i"+i,d="schema"+i;p||(n+=" var "+d+" = validate.schema"+s+";"),n+="var "+f+";",p&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=f+" = false;for (var "+h+"=0; "+h+"<"+d+".length; "+h+"++) if (equal("+l+", "+d+"["+h+"])) { "+f+" = true; break; }",p&&(n+=" } "),n+=" if (!"+f+") { ";var m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+i+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var g=n;return n=m.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",c&&(n+=" else { "),n}},22:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||"");if(!1===e.opts.format)return c&&(n+=" if (true) { "),n;var f,p=e.opts.$data&&a&&a.$data;p?(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",f="schema"+i):f=a;var h=e.opts.unknownFormats,d=Array.isArray(h);if(p){n+=" var "+(m="format"+i)+" = formats["+f+"]; var "+(g="isObject"+i)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(y="formatType"+i)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(n+=" var async"+i+" = "+m+".async; "),n+=" "+m+" = "+m+".validate; } if ( ",p&&(n+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "),n+=" (","ignore"!=h&&(n+=" ("+f+" && !"+m+" ",d&&(n+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "),n+=") || "),n+=" ("+m+" && "+y+" == '"+r+"' && !(typeof "+m+" == 'function' ? ",e.async?n+=" (async"+i+" ? await "+m+"("+l+") : "+m+"("+l+")) ":n+=" "+m+"("+l+") ",n+=" : "+m+".test("+l+"))))) {"}else{var m;if(!(m=e.formats[a])){if("ignore"==h)return e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(n+=" if (true) { "),n;if(d&&h.indexOf(a)>=0)return c&&(n+=" if (true) { "),n;throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,y=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var v=!0===m.async;m=m.validate}if(y!=r)return c&&(n+=" if (true) { "),n;if(v){if(!e.async)throw new Error("async format in sync schema");n+=" if (!(await "+(b="formats"+e.util.getProperty(a)+".validate")+"("+l+"))) { "}else{n+=" if (! ";var b="formats"+e.util.getProperty(a);g&&(b+=".validate"),n+="function"==typeof m?" "+b+"("+l+") ":" "+b+".test("+l+") ",n+=") { "}}var E=E||[];E.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",n+=p?""+f:""+e.util.toQuotedString(a),n+=" } ",!1!==e.opts.messages&&(n+=" , message: 'should match format \"",n+=p?"' + "+f+" + '":""+e.util.escapeQuotes(a),n+="\"' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+s:""+e.util.toQuotedString(a),n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var w=n;return n=E.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+w+"]); ":n+=" validate.errors = ["+w+"]; return false; ":n+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",c&&(n+=" else { "),n}},220:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e);h.level++;var d="valid"+h.level,m=e.schema.then,g=e.schema.else,y=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),v=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),b=h.baseId;if(y||v){var E;h.createErrors=!1,h.schema=a,h.schemaPath=s,h.errSchemaPath=u,n+=" var "+p+" = errors; var "+f+" = true; ";var w=e.compositeRule;e.compositeRule=h.compositeRule=!0,n+=" "+e.validate(h)+" ",h.baseId=b,h.createErrors=!0,n+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=h.compositeRule=w,y?(n+=" if ("+d+") { ",h.schema=e.schema.then,h.schemaPath=e.schemaPath+".then",h.errSchemaPath=e.errSchemaPath+"/then",n+=" "+e.validate(h)+" ",h.baseId=b,n+=" "+f+" = "+d+"; ",y&&v?n+=" var "+(E="ifClause"+i)+" = 'then'; ":E="'then'",n+=" } ",v&&(n+=" else { ")):n+=" if (!"+d+") { ",v&&(h.schema=e.schema.else,h.schemaPath=e.schemaPath+".else",h.errSchemaPath=e.errSchemaPath+"/else",n+=" "+e.validate(h)+" ",h.baseId=b,n+=" "+f+" = "+d+"; ",y&&v?n+=" var "+(E="ifClause"+i)+" = 'else'; ":E="'else'",n+=" } "),n+=" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+E+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match \"' + "+E+" + '\" schema' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } ",c&&(n+=" else { ")}else c&&(n+=" if (true) { ");return n}},9784:(e,t,r)=>{"use strict";e.exports={$ref:r(1618),allOf:r(3137),anyOf:r(3229),$comment:r(3159),const:r(2267),contains:r(9629),dependencies:r(1915),enum:r(734),format:r(22),if:r(220),items:r(4787),maximum:r(1510),minimum:r(1510),maxItems:r(1978),minItems:r(1978),maxLength:r(6179),minLength:r(6179),maxProperties:r(206),minProperties:r(206),multipleOf:r(7086),not:r(4734),oneOf:r(3942),pattern:r(8741),properties:r(1221),propertyNames:r(1874),required:r(6262),uniqueItems:r(7392),validate:r(805)}},4787:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g="i"+i,y=h.dataLevel=e.dataLevel+1,v="data"+y,b=e.baseId;if(n+="var "+p+" = errors;var "+f+";",Array.isArray(a)){var E=e.schema.additionalItems;if(!1===E){n+=" "+f+" = "+l+".length <= "+a.length+"; ";var w=u;u=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var x=x||[];x.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a.length+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have more than "+a.length+" items' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var S=n;n=x.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u=w,c&&(d+="}",n+=" else { ")}var k=a;if(k)for(var A,D=-1,C=k.length-1;D<C;)if(A=k[D+=1],e.opts.strictKeywords?"object"==typeof A&&Object.keys(A).length>0||!1===A:e.util.schemaHasRules(A,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+D+") { ";var F=l+"["+D+"]";h.schema=A,h.schemaPath=s+"["+D+"]",h.errSchemaPath=u+"/"+D,h.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,!0),h.dataPathArr[y]=D;var P=e.validate(h);h.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",n+=" } ",c&&(n+=" if ("+m+") { ",d+="}")}if("object"==typeof E&&(e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0||!1===E:e.util.schemaHasRules(E,e.RULES.all))){h.schema=E,h.schemaPath=e.schemaPath+".additionalItems",h.errSchemaPath=e.errSchemaPath+"/additionalItems",n+=" "+m+" = true; if ("+l+".length > "+a.length+") { for (var "+g+" = "+a.length+"; "+g+" < "+l+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);F=l+"["+g+"]";h.dataPathArr[y]=g;P=e.validate(h);h.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",c&&(n+=" if (!"+m+") break; "),n+=" } } ",c&&(n+=" if ("+m+") { ",d+="}")}}else if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a,h.schemaPath=s,h.errSchemaPath=u,n+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);F=l+"["+g+"]";h.dataPathArr[y]=g;P=e.validate(h);h.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",c&&(n+=" if (!"+m+") break; "),n+=" }"}return c&&(n+=" "+d+" if ("+p+" == errors) {"),n}},7086:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,!p&&"number"!=typeof s)throw new Error(t+" must be number");i+="var division"+o+";if (",p&&(i+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),i+=" (division"+o+" = "+f+" / "+n+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",p&&(i+=" ) "),i+=" ) { ";var h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var d=i;return i=h.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},4734:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){p.schema=a,p.schemaPath=s,p.errSchemaPath=u,n+=" var "+f+" = errors; ";var d,m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1,p.opts.allErrors&&(d=p.opts.allErrors,p.opts.allErrors=!1),n+=" "+e.validate(p)+" ",p.createErrors=!0,d&&(p.opts.allErrors=d),e.compositeRule=p.compositeRule=m,n+=" if ("+h+") { ";var g=g||[];g.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var y=n;n=g.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else n+=" var err = ",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(n+=" if (false) { ");return n}},3942:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g=h.baseId,y="prevValid"+i,v="passingSchemas"+i;n+="var "+p+" = errors , "+y+" = false , "+f+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=h.compositeRule=!0;var E=a;if(E)for(var w,x=-1,S=E.length-1;x<S;)w=E[x+=1],(e.opts.strictKeywords?"object"==typeof w&&Object.keys(w).length>0||!1===w:e.util.schemaHasRules(w,e.RULES.all))?(h.schema=w,h.schemaPath=s+"["+x+"]",h.errSchemaPath=u+"/"+x,n+=" "+e.validate(h)+" ",h.baseId=g):n+=" var "+m+" = true; ",x&&(n+=" if ("+m+" && "+y+") { "+f+" = false; "+v+" = ["+v+", "+x+"]; } else { ",d+="}"),n+=" if ("+m+") { "+f+" = "+y+" = true; "+v+" = "+x+"; }";return e.compositeRule=h.compositeRule=b,n+=d+"if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n}},8741:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),i+=" !"+(p?"(new RegExp("+n+"))":e.usePattern(s))+".test("+f+") ) { ";var h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ",i+=p?""+n:""+e.util.toQuotedString(s),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match pattern \"",i+=p?"' + "+n+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var d=i;return i=h.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},1221:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="errs__"+i,p=e.util.copy(e),h="";p.level++;var d="valid"+p.level,m="key"+i,g="idx"+i,y=p.dataLevel=e.dataLevel+1,v="data"+y,b="dataProperties"+i,E=Object.keys(a||{}).filter(_),w=e.schema.patternProperties||{},x=Object.keys(w).filter(_),S=e.schema.additionalProperties,k=E.length||x.length,A=!1===S,D="object"==typeof S&&Object.keys(S).length,C=e.opts.removeAdditional,F=A||D||C,P=e.opts.ownProperties,O=e.baseId,T=e.schema.required;if(T&&(!e.opts.$data||!T.$data)&&T.length<e.opts.loopRequired)var j=e.util.toHash(T);function _(e){return"__proto__"!==e}if(n+="var "+f+" = errors;var "+d+" = true;",P&&(n+=" var "+b+" = undefined;"),F){if(n+=P?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+l+") { ",k){if(n+=" var isAdditional"+i+" = !(false ",E.length)if(E.length>8)n+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var I=E;if(I)for(var R=-1,L=I.length-1;R<L;)K=I[R+=1],n+=" || "+m+" == "+e.util.toQuotedString(K)+" "}if(x.length){var N=x;if(N)for(var M=-1,B=N.length-1;M<B;)oe=N[M+=1],n+=" || "+e.usePattern(oe)+".test("+m+") "}n+=" ); if (isAdditional"+i+") { "}if("all"==C)n+=" delete "+l+"["+m+"]; ";else{var z=e.errorPath,U="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),A)if(C)n+=" delete "+l+"["+m+"]; ";else{n+=" "+d+" = false; ";var $=u;u=e.errSchemaPath+"/additionalProperties",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+U+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is an invalid additional property":n+="should NOT have additional properties",n+="' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var q=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+q+"]); ":n+=" validate.errors = ["+q+"]; return false; ":n+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=$,c&&(n+=" break; ")}else if(D)if("failing"==C){n+=" var "+f+" = errors; ";var V=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=S,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var H=l+"["+m+"]";p.dataPathArr[y]=m;var G=e.validate(p);p.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,H)+" ":n+=" var "+v+" = "+H+"; "+G+" ",n+=" if (!"+d+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+l+"["+m+"]; } ",e.compositeRule=p.compositeRule=V}else{p.schema=S,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);H=l+"["+m+"]";p.dataPathArr[y]=m;G=e.validate(p);p.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,H)+" ":n+=" var "+v+" = "+H+"; "+G+" ",c&&(n+=" if (!"+d+") break; ")}e.errorPath=z}k&&(n+=" } "),n+=" } ",c&&(n+=" if ("+d+") { ",h+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(E.length){var Q=E;if(Q)for(var K,Y=-1,X=Q.length-1;Y<X;){var Z=a[K=Q[Y+=1]];if(e.opts.strictKeywords?"object"==typeof Z&&Object.keys(Z).length>0||!1===Z:e.util.schemaHasRules(Z,e.RULES.all)){var J=e.util.getProperty(K),ee=(H=l+J,W&&void 0!==Z.default);p.schema=Z,p.schemaPath=s+J,p.errSchemaPath=u+"/"+e.util.escapeFragment(K),p.errorPath=e.util.getPath(e.errorPath,K,e.opts.jsonPointers),p.dataPathArr[y]=e.util.toQuotedString(K);G=e.validate(p);if(p.baseId=O,e.util.varOccurences(G,v)<2){G=e.util.varReplace(G,v,H);var te=H}else{te=v;n+=" var "+v+" = "+H+"; "}if(ee)n+=" "+G+" ";else{if(j&&j[K]){n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = false; ";z=e.errorPath,$=u;var re,ne=e.util.escapeQuotes(K);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(z,K,e.opts.jsonPointers)),u=e.errSchemaPath+"/required",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+ne+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";q=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+q+"]); ":n+=" validate.errors = ["+q+"]; return false; ":n+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=$,e.errorPath=z,n+=" } else { "}else c?(n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = true; } else { "):(n+=" if ("+te+" !== undefined ",P&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=" ) { ");n+=" "+G+" } "}}c&&(n+=" if ("+d+") { ",h+="}")}}if(x.length){var ie=x;if(ie)for(var oe,ae=-1,se=ie.length-1;ae<se;){Z=w[oe=ie[ae+=1]];if(e.opts.strictKeywords?"object"==typeof Z&&Object.keys(Z).length>0||!1===Z:e.util.schemaHasRules(Z,e.RULES.all)){p.schema=Z,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(oe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(oe),n+=P?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+l+") { ",n+=" if ("+e.usePattern(oe)+".test("+m+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);H=l+"["+m+"]";p.dataPathArr[y]=m;G=e.validate(p);p.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,H)+" ":n+=" var "+v+" = "+H+"; "+G+" ",c&&(n+=" if (!"+d+") break; "),n+=" } ",c&&(n+=" else "+d+" = true; "),n+=" } ",c&&(n+=" if ("+d+") { ",h+="}")}}}return c&&(n+=" "+h+" if ("+f+" == errors) {"),n}},1874:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(n+="var "+f+" = errors;",e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){p.schema=a,p.schemaPath=s,p.errSchemaPath=u;var d="key"+i,m="idx"+i,g="i"+i,y="' + "+d+" + '",v="data"+(p.dataLevel=e.dataLevel+1),b="dataProperties"+i,E=e.opts.ownProperties,w=e.baseId;E&&(n+=" var "+b+" = undefined; "),n+=E?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+l+") { ",n+=" var startErrs"+i+" = errors; ";var x=d,S=e.compositeRule;e.compositeRule=p.compositeRule=!0;var k=e.validate(p);p.baseId=w,e.util.varOccurences(k,v)<2?n+=" "+e.util.varReplace(k,v,x)+" ":n+=" var "+v+" = "+x+"; "+k+" ",e.compositeRule=p.compositeRule=S,n+=" if (!"+h+") { for (var "+g+"=startErrs"+i+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+d+"; } var err = ",!1!==e.createErrors?(n+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+y+"' } ",!1!==e.opts.messages&&(n+=" , message: 'property name \\'"+y+"\\' is invalid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),c&&(n+=" break; "),n+=" } }"}return c&&(n+=" if ("+f+" == errors) {"),n}},1618:e=>{"use strict";e.exports=function(e,t,r){var n,i,o=" ",a=e.level,s=e.dataLevel,u=e.schema[t],c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(s||""),p="valid"+a;if("#"==u||"#/"==u)e.isRoot?(n=e.async,i="validate"):(n=!0===e.root.schema.$async,i="root.refVal[0]");else{var h=e.resolveRef(e.baseId,u,e.isRoot);if(void 0===h){var d=e.MissingRefError.message(e.baseId,u);if("fail"==e.opts.missingRefs){e.logger.error(d),(v=v||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(u)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var m=o;o=v.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,u,d);e.logger.warn(d),l&&(o+=" if (true) { ")}}else if(h.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=h.schema,g.schemaPath="",g.errSchemaPath=u,o+=" "+e.validate(g).replace(/validate\.schema/g,h.code)+" ",l&&(o+=" if ("+y+") { ")}else n=!0===h.$async||e.async&&!1!==h.$async,i=h.code}if(i){var v;(v=v||[]).push(o),o="",e.opts.passContext?o+=" "+i+".call(this, ":o+=" "+i+"( ",o+=" "+f+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var b=o+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(o=v.pop(),n){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(o+=" var "+p+"; "),o+=" try { await "+b+"; ",l&&(o+=" "+p+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(o+=" "+p+" = false; "),o+=" } ",l&&(o+=" if ("+p+") { ")}else o+=" if (!"+b+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",l&&(o+=" else { ")}return o}},6262:e=>{"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(o||""),f="valid"+i,p=e.opts.$data&&a&&a.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var h="schema"+i;if(!p)if(a.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],m=a;if(m)for(var g,y=-1,v=m.length-1;y<v;){g=m[y+=1];var b=e.schema.properties[g];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(d[d.length]=g)}}else d=a;if(p||d.length){var E=e.errorPath,w=p||d.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(c)if(n+=" var missing"+i+"; ",w){p||(n+=" var "+h+" = validate.schema"+s+"; ");var S="' + "+(P="schema"+i+"["+(D="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(E,P,e.opts.jsonPointers)),n+=" var "+f+" = true; ",p&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=" for (var "+D+" = 0; "+D+" < "+h+".length; "+D+"++) { "+f+" = "+l+"["+h+"["+D+"]] !== undefined ",x&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", "+h+"["+D+"]) "),n+="; if (!"+f+") break; } ",p&&(n+=" } "),n+=" if (!"+f+") { ",(F=F||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var k=n;n=F.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+k+"]); ":n+=" validate.errors = ["+k+"]; return false; ":n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var A=d;if(A)for(var D=-1,C=A.length-1;D<C;){T=A[D+=1],D&&(n+=" || "),n+=" ( ( "+(R=l+(I=e.util.getProperty(T)))+" === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(T)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?T:I)+") ) "}n+=") { ";var F;S="' + "+(P="missing"+i)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,P,!0):E+" + "+P),(F=F||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";k=n;n=F.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+k+"]); ":n+=" validate.errors = ["+k+"]; return false; ":n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else if(w){p||(n+=" var "+h+" = validate.schema"+s+"; ");var P;S="' + "+(P="schema"+i+"["+(D="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(E,P,e.opts.jsonPointers)),p&&(n+=" if ("+h+" && !Array.isArray("+h+")) { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+h+" !== undefined) { "),n+=" for (var "+D+" = 0; "+D+" < "+h+".length; "+D+"++) { if ("+l+"["+h+"["+D+"]] === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+h+"["+D+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(n+=" } ")}else{var O=d;if(O)for(var T,j=-1,_=O.length-1;j<_;){T=O[j+=1];var I=e.util.getProperty(T),R=(S=e.util.escapeQuotes(T),l+I);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,T,e.opts.jsonPointers)),n+=" if ( "+R+" === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(T)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=E}else c&&(n+=" if (true) {");return n}},7392:e=>{"use strict";e.exports=function(e,t,r){var n,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),p="valid"+o,h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+o):n=s,(s||h)&&!1!==e.opts.uniqueItems){h&&(i+=" var "+p+"; if ("+n+" === false || "+n+" === undefined) "+p+" = true; else if (typeof "+n+" != 'boolean') "+p+" = false; else { "),i+=" var i = "+f+".length , "+p+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,m=Array.isArray(d);if(!d||"object"==d||"array"==d||m&&(d.indexOf("object")>=0||d.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+p+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var g="checkDataType"+(m?"s":"");i+=" if ("+e.util[g](d,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+p+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",h&&(i+=" } "),i+=" if (!"+p+") { ";var y=y||[];y.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var v=i;i=y.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+v+"]); ":i+=" validate.errors = ["+v+"]; return false; ":i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { ")}else l&&(i+=" if (true) { ");return i}},805:e=>{"use strict";e.exports=function(e,t,r){var n="",i=!0===e.schema.$async,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var u="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(u);e.logger.warn(u)}}if(e.isTop&&(n+=" var validate = ",i&&(e.async=!0,n+="async "),n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",a&&(e.opts.sourceCode||e.opts.processCode)&&(n+=" /*# sourceURL="+a+" */ ")),"boolean"==typeof e.schema||!o&&!e.schema.$ref){t="false schema";var c=e.level,l=e.dataLevel,f=e.schema[t],p=e.schemaPath+e.util.getProperty(t),h=e.errSchemaPath+"/"+t,d=!e.opts.allErrors,m="data"+(l||""),g="valid"+c;if(!1===e.schema){e.isTop?d=!0:n+=" var "+g+" = false; ",(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'boolean schema is false' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";var y=n;n=Y.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?n+=i?" return data; ":" validate.errors = null; return true; ":n+=" var "+g+" = true; ";return e.isTop&&(n+=" }; return validate; "),n}if(e.isTop){var v=e.isTop;c=e.level=0,l=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}n+=" var vErrors = null; ",n+=" var errors = 0; ",n+=" if (rootData === undefined) rootData = data; "}else{c=e.level,m="data"+((l=e.dataLevel)||"");if(a&&(e.baseId=e.resolve.url(e.baseId,a)),i&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+c+" = errors;"}g="valid"+c,d=!e.opts.allErrors;var E="",w="",x=e.schema.type,S=Array.isArray(x);if(x&&e.opts.nullable&&!0===e.schema.nullable&&(S?-1==x.indexOf("null")&&(x=x.concat("null")):"null"!=x&&(x=[x,"null"],S=!0)),S&&1==x.length&&(x=x[0],S=!1),e.schema.$ref&&o){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(n+=" "+e.RULES.all.$comment.code(e,"$comment")),x){if(e.opts.coerceTypes)var k=e.util.coerceToTypes(e.opts.coerceTypes,x);var A=e.RULES.types[x];if(k||S||!0===A||A&&!X(A)){p=e.schemaPath+".type",h=e.errSchemaPath+"/type",p=e.schemaPath+".type",h=e.errSchemaPath+"/type";var D=S?"checkDataTypes":"checkDataType";if(n+=" if ("+e.util[D](x,m,e.opts.strictNumbers,!0)+") { ",k){var C="dataType"+c,F="coerced"+c;n+=" var "+C+" = typeof "+m+"; var "+F+" = undefined; ","array"==e.opts.coerceTypes&&(n+=" if ("+C+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+C+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+F+" = "+m+"; } "),n+=" if ("+F+" !== undefined) ; ";var P=k;if(P)for(var O,T=-1,j=P.length-1;T<j;)"string"==(O=P[T+=1])?n+=" else if ("+C+" == 'number' || "+C+" == 'boolean') "+F+" = '' + "+m+"; else if ("+m+" === null) "+F+" = ''; ":"number"==O||"integer"==O?(n+=" else if ("+C+" == 'boolean' || "+m+" === null || ("+C+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==O&&(n+=" && !("+m+" % 1)"),n+=")) "+F+" = +"+m+"; "):"boolean"==O?n+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+F+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+F+" = true; ":"null"==O?n+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+F+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(n+=" else if ("+C+" == 'string' || "+C+" == 'number' || "+C+" == 'boolean' || "+m+" == null) "+F+" = ["+m+"]; ");n+=" else { ",(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Y.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } if ("+F+" !== undefined) { ";var _=l?"data"+(l-1||""):"parentData";n+=" "+m+" = "+F+"; ",l||(n+="if ("+_+" !== undefined)"),n+=" "+_+"["+(l?e.dataPathArr[l]:"parentDataProperty")+"] = "+F+"; } "}else{(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Y.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } "}}if(e.schema.$ref&&!o)n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(n+=" } if (errors === ",n+=v?"0":"errs_"+c,n+=") { ",w+="}");else{var I=e.RULES;if(I)for(var R=-1,L=I.length-1;R<L;)if(X(A=I[R+=1])){if(A.type&&(n+=" if ("+e.util.checkDataType(A.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==A.type&&e.schema.properties){f=e.schema.properties;var N=Object.keys(f);if(N)for(var M,B=-1,z=N.length-1;B<z;){if(void 0!==(q=f[M=N[B+=1]]).default){var U=m+e.util.getProperty(M);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+U;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+U+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+U+" === null || "+U+" === '' "),n+=" ) "+U+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault(q.default)+" ":n+=" "+JSON.stringify(q.default)+" ",n+="; "}}}else if("array"==A.type&&Array.isArray(e.schema.items)){var $=e.schema.items;if($){T=-1;for(var q,V=$.length-1;T<V;)if(void 0!==(q=$[T+=1]).default){U=m+"["+T+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+U;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+U+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+U+" === null || "+U+" === '' "),n+=" ) "+U+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault(q.default)+" ":n+=" "+JSON.stringify(q.default)+" ",n+="; "}}}var H=A.rules;if(H)for(var G,W=-1,Q=H.length-1;W<Q;)if(Z(G=H[W+=1])){var K=G.code(e,G.keyword,A.type);K&&(n+=" "+K+" ",d&&(E+="}"))}if(d&&(n+=" "+E+" ",E=""),A.type&&(n+=" } ",x&&x===A.type&&!k)){n+=" else { ";var Y;p=e.schemaPath+".type",h=e.errSchemaPath+"/type";(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Y.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } "}d&&(n+=" if (errors === ",n+=v?"0":"errs_"+c,n+=") { ",w+="}")}}function X(e){for(var t=e.rules,r=0;r<t.length;r++)if(Z(t[r]))return!0}function Z(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var r=t.implements,n=0;n<r.length;n++)if(void 0!==e.schema[r[n]])return!0}(t)}return d&&(n+=" "+w+" "),v?(i?(n+=" if (errors === 0) return data; ",n+=" else throw new ValidationError(vErrors); "):(n+=" validate.errors = vErrors; ",n+=" return errors === 0; "),n+=" }; return validate;"):n+=" var "+g+" = errors === errs_"+c+";",n}},7587:(e,t,r)=>{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i,i=r(5554),o=r(6152);e.exports={add:function(e,t){var r=this.RULES;if(r.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var o=t.type;if(Array.isArray(o))for(var a=0;a<o.length;a++)u(e,o[a],t);else u(e,o,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function u(e,t,n){for(var o,a=0;a<r.length;a++){var s=r[a];if(s.type==t){o=s;break}}o||(o={type:t,rules:[]},r.push(o));var u={keyword:e,definition:n,custom:!0,code:i,implements:n.implements};o.rules.push(u),r.custom[e]=u}return r.keywords[e]=r.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var n=t[r].rules,i=0;i<n.length;i++)if(n[i].keyword==e){n.splice(i,1);break}return this},validate:function e(t,r){e.errors=null;var n=this._validateKeyword=this._validateKeyword||this.compile(o,!0);if(n(t))return!0;if(e.errors=n.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(n.errors));return!1}}},9619:(e,t,r)=>{"use strict";var n=r(7061);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o,a,s=r(4922).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,c=s.ERR_INVALID_ARG_TYPE,l=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,p=s.ERR_MISSING_ARGS,h=r(7366),d=r(1323).inspect,m=r(1323).types,g=m.isPromise,y=m.isRegExp,v=Object.assign?Object.assign:r(2098).assign,b=Object.is?Object.is:r(3822);new Map;function E(){var e=r(118);o=e.isDeepEqual,a=e.isDeepStrictEqual}var w=!1,x=e.exports=D,S={};function k(e){if(e.message instanceof Error)throw e.message;throw new h(e)}function A(e,t,r,n){if(!r){var i=!1;if(0===t)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new h({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];A.apply(void 0,[D,t.length].concat(t))}x.fail=function e(t,r,i,o,a){var s,u=arguments.length;if(0===u)s="Failed";else if(1===u)i=t,t=void 0;else{if(!1===w){w=!0;var c=n.emitWarning?n.emitWarning:console.warn.bind(console);c("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===u&&(o="!=")}if(i instanceof Error)throw i;var l={actual:t,expected:r,operator:void 0===o?"fail":o,stackStartFn:a||e};void 0!==i&&(l.message=i);var f=new h(l);throw s&&(f.message=s,f.generatedMessage=!0),f},x.AssertionError=h,x.ok=D,x.equal=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");t!=r&&k({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},x.notEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");t==r&&k({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},x.deepEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&E(),o(t,r)||k({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},x.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&E(),o(t,r)&&k({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},x.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&E(),a(t,r)||k({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},x.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&E();a(t,r)&&k({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},x.strictEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");b(t,r)||k({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},x.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new p("actual","expected");b(t,r)&&k({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var C=function e(t,r,n){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.forEach((function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&y(t[e])&&t[e].test(n[e])?i[e]=n[e]:i[e]=t[e])}))};function F(e,t,r,n,i,o){if(!(r in e)||!a(e[r],t[r])){if(!n){var s=new C(e,i),u=new C(t,i,e),c=new h({actual:s,expected:u,operator:"deepStrictEqual",stackStartFn:o});throw c.actual=e,c.expected=t,c.operator=o.name,c}k({actual:e,expected:t,message:n,operator:o.name,stackStartFn:o})}}function P(e,t,r,n){if("function"!=typeof t){if(y(t))return t.test(e);if(2===arguments.length)throw new c("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var a=new h({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw a.operator=n.name,a}var s=Object.keys(t);if(t instanceof Error)s.push("name","message");else if(0===s.length)throw new l("error",t,"may not be an empty object");return void 0===o&&E(),s.forEach((function(i){"string"==typeof e[i]&&y(t[i])&&t[i].test(e[i])||F(e,t,i,r,s,n)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e){if("function"!=typeof e)throw new c("fn","Function",e);try{e()}catch(e){return e}return S}function T(e){return g(e)||null!==e&&"object"===i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!T(t=e()))throw new f("instance of Promise","promiseFn",t)}else{if(!T(e))throw new c("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return S})).catch((function(e){return e}))}))}function _(e,t,r,n){if("string"==typeof r){if(4===arguments.length)throw new c("error",["Object","Error","Function","RegExp"],r);if("object"===i(t)&&null!==t){if(t.message===r)throw new u("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new u("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new c("error",["Object","Error","Function","RegExp"],r);if(t===S){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";k({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:e})}if(r&&!P(t,r,n,e))throw t}function I(e,t,r,n){if(t!==S){if("string"==typeof r&&(n=r,r=void 0),!r||P(t,r)){var i=n?": ".concat(n):".",o="doesNotReject"===e.name?"rejection":"exception";k({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function R(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];A.apply(void 0,[R,t.length].concat(t))}x.throws=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];_.apply(void 0,[e,O(t)].concat(n))},x.rejects=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return j(t).then((function(t){return _.apply(void 0,[e,t].concat(n))}))},x.doesNotThrow=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];I.apply(void 0,[e,O(t)].concat(n))},x.doesNotReject=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return j(t).then((function(t){return I.apply(void 0,[e,t].concat(n))}))},x.ifError=function e(t){if(null!=t){var r="ifError got unwanted exception: ";"object"===i(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?r+=t.constructor.name:r+=t.message:r+=d(t);var n=new h({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),o=t.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var s=n.stack.split("\n"),u=0;u<a.length;u++){var c=s.indexOf(a[u]);if(-1!==c){s=s.slice(0,c);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},x.strict=v(R,x,{equal:x.strictEqual,deepEqual:x.deepStrictEqual,notEqual:x.notStrictEqual,notDeepEqual:x.notDeepStrictEqual}),x.strict.strict=x.strict},7366:(e,t,r)=>{"use strict";var n=r(7061);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},u(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,r){return l=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&f(i,r.prototype),i},l.apply(null,arguments)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var d=r(1323).inspect,m=r(4922).codes.ERR_INVALID_ARG_TYPE;function g(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var y="",v="",b="",E="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function x(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){r[t]=e[t]})),Object.defineProperty(r,"message",{value:e.message}),r}function S(e){return d(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function k(e,t,r){var i="",o="",a=0,s="",u=!1,c=S(e),l=c.split("\n"),f=S(t).split("\n"),p=0,d="";if("strictEqual"===r&&"object"===h(e)&&"object"===h(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===l.length&&1===f.length&&l[0]!==f[0]){var m=l[0].length+f[0].length;if(m<=10){if(!("object"===h(e)&&null!==e||"object"===h(t)&&null!==t||0===e&&0===t))return"".concat(w[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(m<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][p]===f[0][p];)p++;p>2&&(d="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",p),"^"),p=0)}}}for(var x=l[l.length-1],k=f[f.length-1];x===k&&(p++<2?s="\n ".concat(x).concat(s):i=x,l.pop(),f.pop(),0!==l.length&&0!==f.length);)x=l[l.length-1],k=f[f.length-1];var A=Math.max(l.length,f.length);if(0===A){var D=c.split("\n");if(D.length>30)for(D[26]="".concat(y,"...").concat(E);D.length>27;)D.pop();return"".concat(w.notIdentical,"\n\n").concat(D.join("\n"),"\n")}p>3&&(s="\n".concat(y,"...").concat(E).concat(s),u=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var C=0,F=w[r]+"\n".concat(v,"+ actual").concat(E," ").concat(b,"- expected").concat(E),P=" ".concat(y,"...").concat(E," Lines skipped");for(p=0;p<A;p++){var O=p-a;if(l.length<p+1)O>1&&p>2&&(O>4?(o+="\n".concat(y,"...").concat(E),u=!0):O>3&&(o+="\n ".concat(f[p-2]),C++),o+="\n ".concat(f[p-1]),C++),a=p,i+="\n".concat(b,"-").concat(E," ").concat(f[p]),C++;else if(f.length<p+1)O>1&&p>2&&(O>4?(o+="\n".concat(y,"...").concat(E),u=!0):O>3&&(o+="\n ".concat(l[p-2]),C++),o+="\n ".concat(l[p-1]),C++),a=p,o+="\n".concat(v,"+").concat(E," ").concat(l[p]),C++;else{var T=f[p],j=l[p],_=j!==T&&(!g(j,",")||j.slice(0,-1)!==T);_&&g(T,",")&&T.slice(0,-1)===j&&(_=!1,j+=","),_?(O>1&&p>2&&(O>4?(o+="\n".concat(y,"...").concat(E),u=!0):O>3&&(o+="\n ".concat(l[p-2]),C++),o+="\n ".concat(l[p-1]),C++),a=p,o+="\n".concat(v,"+").concat(E," ").concat(j),i+="\n".concat(b,"-").concat(E," ").concat(T),C+=2):(o+=i,i="",1!==O&&0!==p||(o+="\n ".concat(j),C++))}if(C>20&&p<A-2)return"".concat(F).concat(P,"\n").concat(o,"\n").concat(y,"...").concat(E).concat(i,"\n")+"".concat(y,"...").concat(E)}return"".concat(F).concat(u?P:"","\n").concat(o).concat(i).concat(s).concat(d)}var A=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==h(e)||null===e)throw new m("options","Object",e);var i=e.message,o=e.operator,u=e.stackStartFn,c=e.actual,l=e.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)r=a(this,p(t).call(this,String(i)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(y="",v="",E="",b=""):(y="",v="",E="",b="")),"object"===h(c)&&null!==c&&"object"===h(l)&&null!==l&&"stack"in c&&c instanceof Error&&"stack"in l&&l instanceof Error&&(c=x(c),l=x(l)),"deepStrictEqual"===o||"strictEqual"===o)r=a(this,p(t).call(this,k(c,l,o)));else if("notDeepStrictEqual"===o||"notStrictEqual"===o){var d=w[o],g=S(c).split("\n");if("notStrictEqual"===o&&"object"===h(c)&&null!==c&&(d=w.notStrictEqualObject),g.length>30)for(g[26]="".concat(y,"...").concat(E);g.length>27;)g.pop();r=1===g.length?a(this,p(t).call(this,"".concat(d," ").concat(g[0]))):a(this,p(t).call(this,"".concat(d,"\n\n").concat(g.join("\n"),"\n")))}else{var A=S(c),D="",C=w[o];"notDeepEqual"===o||"notEqual"===o?(A="".concat(w[o],"\n\n").concat(A)).length>1024&&(A="".concat(A.slice(0,1021),"...")):(D="".concat(S(l)),A.length>512&&(A="".concat(A.slice(0,509),"...")),D.length>512&&(D="".concat(D.slice(0,509),"...")),"deepEqual"===o||"equal"===o?A="".concat(C,"\n\n").concat(A,"\n\nshould equal\n\n"):D=" ".concat(o," ").concat(D)),r=a(this,p(t).call(this,"".concat(A).concat(D)))}return Error.stackTraceLimit=f,r.generatedMessage=!i,Object.defineProperty(s(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=c,r.expected=l,r.operator=o,Error.captureStackTrace&&Error.captureStackTrace(s(r),u),r.stack,r.name="AssertionError",a(r)}var r,u,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),r=t,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(e,t){return d(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){i(e,t,r[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],u&&o(r.prototype,u),c&&o(r,c),t}(u(Error));e.exports=A},4922:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}var s,u,c={};function l(e,t,r){r||(r=Error);var n=function(r){function n(r,a,s){var u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),u=i(this,o(n).call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,a,s))),u.code=e,u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(n,r),n}(r);c[e]=n}function f(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,a,u,c;if(void 0===s&&(s=r(9619)),s("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!u||u<0?0:+u,a.length)===a)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))c="The ".concat(e," ").concat(o," ").concat(f(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(l," ").concat(o," ").concat(f(t,"type"))}return c+=". Received type ".concat(n(i))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=r(1323));var i=u.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(i)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(e,t,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];void 0===s&&(s=r(9619)),s(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=c},118:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,r){return t.push([r,e])})),t},u=Object.is?Object.is:r(3822),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:r(4866);function f(e){return e.call.bind(e)}var p=f(Object.prototype.hasOwnProperty),h=f(Object.prototype.propertyIsEnumerable),d=f(Object.prototype.toString),m=r(1323).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,v=m.isDate,b=m.isMap,E=m.isRegExp,w=m.isSet,x=m.isNativeError,S=m.isBoxedPrimitive,k=m.isNumberObject,A=m.isStringObject,D=m.isBooleanObject,C=m.isBigIntObject,F=m.isSymbolObject,P=m.isFloat32Array,O=m.isFloat64Array;function T(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<48||r>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function j(e){return Object.keys(e).filter(T).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}
9
+ */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),c=b("react.context"),u=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),h=b("react.memo"),p=b("react.lazy"),d=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case p:case h:case s:return e;default:return t}}case n:return t}}}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===y||e===i||e===l||e===f||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===u||e.$$typeof===g||e.$$typeof===d||e[0]===m)},t.typeOf=E},2348:(e,t,r)=>{"use strict";e.exports=r(7007)},3440:(e,t,r)=>{"use strict";var n=r(2611),o=r(4174),i=r(6725),a=r(6287),s=r(7425),c=r(907),u=r(3085),l=r(7265),f=r(4382),h=r(469),p=r(9762),d=r(8627),m=r(9531),g=r(58),y=r(7605),v=r(480),b=r(9619),E=r(2493),w=r(6096),x=r(917),S=r(488),A=r(7504),k=r(1559),D=r(3428),C=r(2848),F=r(6156),P=r(4014),O=r(2268),T=r(9715),j=r(7327),I=r(8056),_=r(213),R=r(4206),B=r(1311),L=r(4678);function N(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=N(o),H=N(i),z=N(a),U=N(s),$=N(l),q=N(f),V=N(h),G=N(b),W=N(T),Q=N(j),K=N(R),Z=N(B),Y=N(L);class X{constructor(e,t,r){this.id=void 0,this.summary=void 0,this._config=void 0,this.id=e,this.summary=r,this.config=t}get config(){return this._config}set config(e){e.setKey(this.id+":config"),this._config=e}}X.style=".topwrite/style.css",X.logo="logo.png";function J(e){return"string"==typeof e&&e.startsWith("@encrypted:")}function ee(e,t){return H.default.encrypt(e,t).toString()}function te(e,t){try{return H.default.decrypt(e,t).toString(z.default)}catch{return""}}var re=Object.freeze({__proto__:null,encrypt:ee,decrypt:te});class ne{constructor(e,t,r){this.key=void 0,this.values=void 0,this.schema=void 0,this.values=e,this.schema=t,this.key=r}setKey(e){this.key=e}getValues(){return this.values}setValues(e){const t=new M.default({removeAdditional:!0,useDefaults:!0,allErrors:!0}).compile(this.schema);if(!t(e=n.cloneDeep(e)))for(const r of t.errors)e=n.omit(e,r.dataPath.substr(1).split("/"));this.values=e}getValue(e,t){return n.get(this.values,e,t)}setValue(e,t){return n.set(this.values,e,t)}toObject(){const e=new M.default({removeAdditional:!0,useDefaults:!0,allErrors:!0});e.removeKeyword("default"),e.addKeyword("default",{validate:(e,t,r,o,i,a,s)=>(n.isEqual(e,t)&&(delete i[a],n.isEmpty(i)&&function(e,t){const r=[];let o=e;for(let e=0;e<t.length-1;e++)r.push(o),o=o[t[e]];for(let e=t.length-2;e>=0;e--)n.isEmpty(r[e][t[e]])&&delete r[e][t[e]]}(s,n.toPath(o.substr(1)))),!0),modifying:!0,errors:!1}),e.addKeyword("encrypt",{validate:(e,t,r,o,i,a)=>(this.key&&e&&!J(t)&&i&&a&&n.set(i,a,"@encrypted:"+ee(t,this.key)),!0),modifying:!0,errors:!1});const t=e.compile(this.schema),r=n.cloneDeep(this.values);return t(r),r}static createFromObject(e,t,r){const o=new M.default({removeAdditional:!0,useDefaults:!0,allErrors:!0});o.addKeyword("encrypt",{validate:(e,t,o,i,a,s)=>(r&&e&&J(t)&&a&&s&&n.set(a,s,te(t.substr(11),r)),!0),modifying:!0,errors:!1});const i=o.compile(t);if(!i(e))for(const t of i.errors)e=n.omit(e,t.dataPath.substr(1).split("/"));return new this(e,t,r)}}class oe extends ne{constructor(){super(...arguments),this.pluginsConfig={},this.presetPlugins={}}setPresetPlugins(e){this.presetPlugins=e}getStructure(e){return this.getValue(["structure",e])}getPluginConfig(e,t){if(!this.pluginsConfig[e]){const r=this.presetPlugins[e]?this.presetPlugins[e]:this.getValue(["pluginsConfig",e],{});this.pluginsConfig[e]=ne.createFromObject(n.cloneDeep(r),t,this.key+":"+e)}return this.pluginsConfig[e]}setPluginConfig(e,t){const r=t.toObject();n.isEmpty(r)?n.unset(this.values,["pluginsConfig",e]):this.setValue(["pluginsConfig",e],r),delete this.pluginsConfig[e]}static createFromObject(e){return super.createFromObject(e,oe.schema)}}oe.file="book.json",oe.schema={title:"TopWrite Configuration",type:"object",properties:{root:{type:"string",title:"Path from the root folder containing the book's content"},title:{type:"string",title:"Title of the book"},author:{type:"object",title:"attr of the author",properties:{name:{type:"string"},email:{type:"string"},home:{type:"string"}}},theme:{type:"string",title:"Name of the theme",default:"default"},themeConfig:{type:"object",title:"Configuration for theme",properties:{defaultMode:{type:"string",title:"Default mode form theme",default:"light"},primaryColor:{type:"string",title:"Primary Color form theme",default:"#3c60ff"}},default:{}},plugins:{type:"array",items:{type:"string"},default:[]},pluginsConfig:{type:"object",title:"Configuration for plugins",default:{}},structure:{type:"object",properties:{langs:{default:"LANGS.md",type:"string",title:"File to use as languages index",pattern:"^[a-zA-Z-._\\d,\\s]+$"},readme:{default:"README.md",type:"string",title:"File to use as preface",pattern:"^[a-zA-Z-._\\d,\\s]+$"},summary:{default:"SUMMARY.md",type:"string",title:"File to use as table of contents",pattern:"^[a-zA-Z-._\\d,\\s]+$"}},default:{}},pdf:{type:"object",title:"PDF specific configurations",properties:{fontFamily:{type:"string",default:"Microsoft Yahei",title:"Font family for the PDF output"},margin:{type:"object",title:"Margins (unit: pt)",properties:{right:{type:"integer",title:"Right Margin",minimum:0,maximum:100,default:30},left:{type:"integer",title:"Left Margin",minimum:0,maximum:100,default:30},top:{type:"integer",title:"Top Margin",minimum:0,maximum:100,default:40},bottom:{type:"integer",title:"Bottom Margin",minimum:0,maximum:100,default:40}},default:{}},paperSize:{type:"string",enum:["a0","a1","a2","a3","a4","a5","a6","b0","b1","b2","b3","b4","b5","b6","legal","letter"],default:"a4",title:"Paper size for the PDF"},chapterMark:{type:"string",enum:["pagebreak","rule","both","none"],default:"pagebreak",title:"How to mark detected chapters"},pageBreaksBefore:{type:"string",default:"/",title:'An XPath expression. Page breaks are inserted before the specified elements. To disable use the expression: "/"'},pageNumbers:{type:"boolean",default:!0,title:"Add page numbers to the bottom of every page"}},default:{}}},required:[]};class ie{constructor(e){void 0===e&&(e=[]),this.data=void 0,this.data="string"==typeof e?e.split(".").map((e=>parseInt(e,10))):e}getRoot(){return new ie(this.data.slice(0,1))}getParent(){return new ie(this.data.slice(0,-1))}createChild(e){return new ie(this.data.concat(e))}isDescendant(e){return e.toString().startsWith(this.toString()+".")}getNext(){const e=[...this.data];return e[e.length-1]++,new ie(e)}getDepth(){return this.data.length-1}eq(e){return this.toString()===e.toString()}getLeafIndex(){return this.data[this.data.length-1]-1}toString(e){return e?this.data.slice(e.data.length).join("."):this.data.join(".")}static compare(e,t){for(let r=0;r<Math.max(e.data.length,t.data.length);r++){let n=e.data[r]||0,o=t.data[r]||0;if(n>o)return 1;if(o>n)return-1}return 0}}class ae{constructor(e){let{title:t,ref:r,path:n,children:o=[]}=e;this.level=void 0,this.title=void 0,this.ref=void 0,this.path=void 0,this.children=void 0,this.title=t,this.ref=r,this.path=n||s.posix.format({...s.posix.parse(this.ref),ext:".html",base:""}),this.children=o,this.level=new ie}getLevel(){return this.level}getTitle(){return this.title}getRef(){return this.ref}getPath(){return this.path}getArticles(){return this.children}getDescendants(){const e=[];return ae.findArticle(this,(t=>(e.push(t),!1))),e}getDepth(){return this.getLevel().getDepth()}createChildLevel(){return this.level.createChild(this.children.length+1)}indexLevels(e){e?this.level=e:e=this.level;for(const[t,r]of this.children.entries())r.indexLevels(e.createChild(t+1))}static findArticle(e,t){return e.getArticles().reduce(((e,r)=>e||(t(r)?r:ae.findArticle(r,t))),void 0)}static createFromObject(e){var t;const r=null==(t=e.children)?void 0:t.map((e=>ae.createFromObject(e)));return new ae({...e,children:r})}}class se{constructor(e,t,r){void 0===t&&(t=[]),this.level=void 0,this.id=void 0,this.title=void 0,this.articles=void 0,this.level=new ie,this.id=r,this.title=e,this.articles=t}getLevel(){return this.level}getTitle(){return this.title}getArticles(){return this.articles}getDescendants(){const e=[];return ae.findArticle(this,(t=>(e.push(t),!1))),e}createChildLevel(){return this.level.createChild(this.articles.length+1)}indexLevels(e){e?this.level=e:e=this.level;for(const[t,r]of this.articles.entries())r.indexLevels(e.createChild(t+1))}static createFormObject(e){var t;return new se(e.title,null==(t=e.articles)?void 0:t.map((e=>ae.createFromObject(e))),e.id)}}const ce={tokenize:function(e,t,r){function n(t){return t===y.codes.rightParenthesis?f(t):x.factoryDestination(e,o,r,g.types.resourceDestination,g.types.resourceDestinationLiteral,g.types.resourceDestinationLiteralMarker,g.types.resourceDestinationRaw,g.types.resourceDestinationString,v.constants.linkResourceDestinationBalanceMax)(t)}function o(t){return S.markdownLineEndingOrSpace(t)?w.factoryWhitespace(e,i)(t):f(t)}function i(t){return t===y.codes.quotationMark||t===y.codes.apostrophe||t===y.codes.leftParenthesis?k.factoryTitle(e,w.factoryWhitespace(e,a),r,g.types.resourceTitle,g.types.resourceTitleMarker,g.types.resourceTitleString)(t):a(t)}function a(t){return t===y.codes.equalsTo?(e.enter("resourceSize"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),s):f(t)}function s(t){return t===y.codes.lowercaseX?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),u):t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeWidth"),e.enter(g.types.chunkString,{contentType:"string"}),c(t))}function c(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("resourceSizeWidth"),e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):t===y.codes.lowercaseX?(e.exit(g.types.chunkString),e.exit("resourceSizeWidth"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),u):(e.consume(t),c)}function u(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeHeight"),e.enter(g.types.chunkString,{contentType:"string"}),l(t))}function l(t){return t===y.codes.rightParenthesis||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("resourceSizeHeight"),e.exit("resourceSize"),w.factoryWhitespace(e,f)(t)):(e.consume(t),l)}function f(n){return n===y.codes.rightParenthesis?(e.enter(g.types.resourceMarker),e.consume(n),e.exit(g.types.resourceMarker),e.exit(g.types.resource),t):r(n)}return function(t){return e.enter(g.types.resource),e.enter(g.types.resourceMarker),e.consume(t),e.exit(g.types.resourceMarker),w.factoryWhitespace(e,n)}}},ue={tokenize:function(e,t,r){const n=this;function o(e){return n.parser.defined.includes(E.normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}return function(t){return G.default.strictEqual(t,y.codes.leftSquareBracket,"expected left bracket"),A.factoryLabel.call(n,e,o,r,g.types.reference,g.types.referenceMarker,g.types.referenceString)(t)}}},le={tokenize:function(e,t,r){function n(n){return 93===n?(e.enter(g.types.referenceMarker),e.consume(n),e.exit(g.types.referenceMarker),e.exit(g.types.reference),t):r(n)}return function(t){return e.enter(g.types.reference),e.enter(g.types.referenceMarker),e.consume(t),e.exit(g.types.referenceMarker),n}}};var fe={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if((n.events[a][1].type===g.types.labelImage||n.events[a][1].type===g.types.labelLink)&&!n.events[a][1]._balanced){o=n.events[a][1];break}function s(e){return o._balanced=!0,r(e)}function c(r){return r===y.codes.leftParenthesis?e.attempt(ce,t,i?t:s)(r):r===y.codes.leftSquareBracket?e.attempt(ue,t,i?e.attempt(le,t,s):s)(r):i?t(r):s(r)}return function(t){return G.default(t===y.codes.rightSquareBracket,"expected `]`"),o?o._inactive?s(t):(i=n.parser.defined.indexOf(E.normalizeIdentifier(n.sliceSerialize({start:o.end,end:n.now()})))>-1,e.enter(g.types.labelEnd),e.enter(g.types.labelMarker),e.consume(t),e.exit(g.types.labelMarker),e.exit(g.types.labelEnd),c):r(t)}},resolveTo:m.labelEnd.resolveTo,resolveAll:m.labelEnd.resolveAll};const he=(e,t,r,n)=>{const o=d.image(e,t,r,n);return e.width||e.height?o.replace(/\)$/," ="+(e.width||"")+(e.height?"x"+e.height:"")+")"):o};he.peek=d.image.peek;const pe=e=>{let t;switch(e){case"right":t="--: ";break;case"center":t=":-: ";break;default:t=""}return t},de={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(t===y.codes.greaterThan){const r=n.containerState;return G.default(r,"expected `containerState` to be defined in container"),r.open||(e.enter(g.types.blockQuote,{_container:!0}),r.open=!0),e.enter(g.types.blockQuotePrefix),e.enter(g.types.blockQuoteMarker),e.consume(t),e.exit(g.types.blockQuoteMarker),P.factorySpace(e,o,g.types.whitespace)}return r(t)};function o(t){return t===y.codes.leftSquareBracket?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),i):s(t)}function i(t){return t===y.codes.rightSquareBracket||S.markdownLineEndingOrSpace(t)?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),s):(e.enter("blockQuoteType"),e.enter(g.types.chunkString,{contentType:"string"}),a(t))}function a(t){return t===y.codes.rightSquareBracket||S.markdownLineEndingOrSpace(t)?(e.exit(g.types.chunkString),e.exit("blockQuoteType"),e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),s):(e.consume(t),a)}function s(r){return S.markdownSpace(r)?(e.enter(g.types.blockQuotePrefixWhitespace),e.consume(r),e.exit(g.types.blockQuotePrefixWhitespace),e.exit(g.types.blockQuotePrefix),t):(e.exit(g.types.blockQuotePrefix),t(r))}},continuation:{tokenize:function(e,t,r){return P.factorySpace(e,e.attempt(de,t,r),g.types.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:v.constants.tabSize)}},exit:m.blockQuote.exit},me=function(e,t){void 0===t&&(t="text");let r="";return D.visit(e,t,(function(e){r+=e.value})),r},ge=/^\[toc(?:=(\d)(?:,(\d))?)?]$/im,ye=u.unified().use($.default).use((function(){const e=this.data();e.micromarkExtensions=[],e.fromMarkdownExtensions=[],e.toMarkdownExtensions=[],e.toHastExtensions=[]})).use(Q.default).use(W.default,["yaml"]).use(q.default).use(V.default).use(I.remarkHeadingId).use((function(){return this.data().toHastExtensions.push({xBlock:(e,t)=>e({},"x-block",{name:t.name,value:t.value,parameter:t.parameter}),xInline:(e,t)=>e({},"x-inline",{name:t.name,value:t.value})}),function(e){D.visit(e,((e,t,r)=>{if(null!==t&&null!==r)if((e=>"code"===e.type)(e)&&e.lang){const n=/\[([\w-_]+)(:([\w-_]+))?]/g.exec(e.lang);if(n){const o={type:"xBlock",name:n[1],parameter:n[3]||"",value:e.value,position:e.position};r.children.splice(t,1,o)}}else if((e=>"inlineCode"===e.type)(e)){const n=/^([^\s]+)\s(.*?)\s\1$/.exec(e.value);if(n){const o={type:"xInline",name:n[1],value:n[2],position:e.position};r.children.splice(t,1,o)}}}))}})).use((function(){const e=this.data();e.micromarkExtensions.push({text:{[y.codes.rightSquareBracket]:fe}}),e.fromMarkdownExtensions.push({enter:{resourceSizeWidth:function(){this.buffer()},resourceSizeHeight:function(){this.buffer()}},exit:{resourceSizeWidth:function(){const e=this.resume();this.stack[this.stack.length-1].width=e},resourceSizeHeight:function(){const e=this.resume();this.stack[this.stack.length-1].height=e}}}),e.toMarkdownExtensions.push({handlers:{image:he}}),e.toHastExtensions.push({image:(e,t)=>{const r={src:p.encode(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),r.width=t.width,r.height=t.height,e(t,"img",r)}})})).use((function(){return this.data().toMarkdownExtensions.push({handlers:{paragraph:(e,t,r,n)=>{const o=C.paragraph(e,t,r,n);return pe(e.align)+o},heading:(e,t,r,n)=>F.heading(e,t,r,n).replace(/^#+\s/,"$&"+pe(e.align))}}),function(e){D.visit(e,((e,t,r)=>{if((e=>"paragraph"===e.type||"heading"===e.type)(e)){const t=c.select("text",e);if(t){const n=t.value;n.startsWith("--: ")?e.align="right":n.startsWith(":-: ")?e.align="center":n.startsWith(":-- ")&&(e.align="left"),e.align&&(t.value=n.substr(4),r&&"listItem"===r.type?r.data={...r.data,hProperties:{className:"align-"+e.align}}:e.data={...e.data,hProperties:{className:"align-"+e.align}})}}}))}})).use((function(){const e=this.data();return e.toMarkdownExtensions.push({handlers:{blockquote:(e,t,r,n)=>{const o=O.blockquote(e,t,r,n);return e.variant?o.replace(/(^|\s+)>\s/,"$1> ["+e.variant+"] "):o}}}),e.micromarkExtensions.push({document:{[y.codes.greaterThan]:de}}),e.fromMarkdownExtensions.push({enter:{blockQuoteType:function(){this.buffer()}},exit:{blockQuoteType:function(){const e=this.resume();this.stack[this.stack.length-1].variant=e}}}),function(e){D.visit(e,"blockquote",(e=>{e.variant&&(e.data={...e.data,hProperties:{className:e.variant}})}))}})).use((function(){return function(e){D.visit(e,((e,t,r)=>{if(r&&"root"===r.type&&null!==t&&me(e).match(ge))return r.children.splice(t,1),[D.SKIP,t]}))}}));function ve(e){const t=[];for(const r of e.children){const e=r.children,n=c.select("paragraph:first-child>*",r);if(!n||!n.url)continue;const o=me(n);if(!o)continue;const i=decodeURI(n.url);if(i&&i.match(/[\\:*?"<>|]/))continue;let a={title:o,ref:i};if(e.length>1){const t=e[e.length-1];_.is(t,"list")&&(a.children=ve(t))}t.push(a)}return t}const be=ye();class Ee{constructor(e){void 0===e&&(e=[]),this.parts=void 0,this.parts=e,this.indexLevels()}getParts(){return this.parts}getPart(e){return this.parts[e]}getLastPart(){return this.parts[this.parts.length-1]}getArticles(){const e=[];return this.getArticle((t=>(e.push(t),!1))),e}getArticle(e,t){return this.parts.reduce(((r,n)=>r||(!t||t(n)?ae.findArticle(n,e):void 0)),void 0)}getArticlePart(e){const t=e.getLevel().getRoot();return this.getByLevel(t)}getFirstPath(){const e=this.getArticle((e=>!!e.getPath()));if(e)return e.getPath()}getByLevel(e){const t=t=>t.getLevel().eq(e);return this.parts.reduce(((e,r)=>e||(t(r)?r:ae.findArticle(r,t))),void 0)}getFirstArticle(){return this.getArticle((()=>!0))}getNextArticle(e){const t=e instanceof ae?e.getLevel():e;let r=!1;return this.getArticle((e=>!!r||(r=e.getLevel()==t,!1)))}getPrevArticle(e){const t=e instanceof ae?e.getLevel():e;let r;return this.getArticle((e=>e.getLevel()==t||(r=e,!1))),r}getParent(e){const t=(e instanceof ae?e.getLevel():e).getParent();if(t)return this.getByLevel(t)}indexLevels(){for(const[e,t]of this.parts.entries()){const r=new ie(String(e+1));t.indexLevels(r)}}isSinglePart(){return 1===this.parts.length&&!this.parts[0].title}isEmpty(){return this.isSinglePart()?0===this.parts[0].articles.length:0===this.parts.length}static createFromObject(e){return new Ee(e.map((e=>se.createFormObject(e))))}static createFromText(e){const t=function(e){const t=be.parse(e),r=[];let n;for(const e of t.children)if(_.is(e,"heading")&&[2,3].includes(e.depth)&&(n&&r.push(n),n={id:me(e,"idString").trim(),title:me(e).trim()}),_.is(e,"list")){const t=ve(e);n?n.articles=(n.articles||[]).concat(t):n={title:"",articles:t}}return n?r.push(n):r.push({title:""}),r}(e);return Ee.createFromObject(t)}static create(e){return"object"==typeof e?Ee.createFromObject(e):Ee.createFromText(e)}}class we{constructor(e){let{host:t,preset:r}=e;this.host=void 0,this.preset=void 0,this.host=t,this.preset=r}getBuyUrl(e,t){return this.host+"/api/buy?book="+e.id+"&plugin="+t.name}async bought(e,t){try{return await K.default.get(this.host+"/api/bought?book="+e.id+"&plugin="+t.name),!0}catch{return!1}}async queryPlugins(e){let{page:t=1,...r}=e;const{data:n}=await K.default.get(this.host+"/api/query",{params:{...r,page:t}});return n}async getInstalled(e){const{config:t}=e,r=["theme-"+t.getValue("theme"),...t.getValue("plugins")];this.preset&&(r.push(...Object.keys(this.preset)),t.setPresetPlugins(this.preset));const{data:n}=await K.default.get(this.host+"/api/installed",{params:{book:e.id,plugins:r.join(",")}}).catch((e=>{throw new Error("Plugins Check Failed:"+e.message)}));return n.filter((e=>!e.builtin||this.preset&&this.preset[e.name]))}}t.YB=void 0;class xe{constructor(e,t,r){this.flatColors=["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#f39c12","#d35400","#c0392b"],this.letter=void 0,this.size=void 0,this.canvas=void 0,this.letter=e,this.size=t,this.canvas=r,this.generate()}toDataUrl(){return this.canvas.toDataURL()}generate(){const e=this.canvas.getContext("2d");if(!e)throw new Error("getContext failed");const t=this.size/10;e.beginPath(),e.arc(this.size-t,this.size-t,t,0,Math.PI/2),e.lineTo(t,this.size),e.arc(t,this.size-t,t,Math.PI/2,Math.PI),e.lineTo(0,t),e.arc(t,t,t,Math.PI,3*Math.PI/2),e.lineTo(this.size-t,0),e.arc(this.size-t,t,t,3*Math.PI/2,2*Math.PI),e.lineTo(this.size,this.size-t),e.closePath();const r=this.letter[0].toUpperCase();e.fillStyle=this.flatColors[r.charCodeAt(0)%this.flatColors.length],e.fill(),e.restore(),e.font=Math.round(this.size/2)+"px Roboto",e.textAlign="center",e.fillStyle="#FFFFFF",e.fillText(this.letter[0].toUpperCase(),this.size/2,this.size/1.5)}static create(e,t,r){return r||(r=function(e){const t=window.document.createElement("canvas");return t.width=e,t.height=e,t}(t)),new xe(e,t,r)}}const Se=/^(?:\w+:)?\/\/(\S+)$/,Ae=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,ke=/^[^\s\.]+\.\S{2,}$/;Z.default.attach(),K.default.defaults.maxContentLength=1/0,K.default.defaults.maxBodyLength=1/0,Object.defineProperty(t,"WY",{enumerable:!0,get:function(){return K.default}}),t.l_=ne,t.fy=X,t.De=oe,t.$B=class{constructor(e){let{path:t,content:r,meta:n={}}=e;this.path=void 0,this.content=void 0,this.meta=void 0,this.path=t,this.content=r,this.meta=n}getMeta(e,t){return n.get(this.meta,e,t)}relative(e){const t="/"===e.slice(-1);return(e=U.default.posix.relative(U.default.posix.dirname(this.path),e)||".")+(t?"/":"")}resolve(e){return U.default.posix.join(U.default.posix.dirname(this.path),e)}},t.$q=xe,t.aC=ie,t.ER=Ee,t.oI=ae,t.Lj=se,t.rK=re,t.NC=function(e){return t.YB=new we(e)},t.oe=J,t.CB=function(e){const t=e.match(Se);if(!t)return!1;const r=t[1];return!!r&&(Ae.test(r)||ke.test(r))},t.JH=ye,t.FB=function(e){return Y.default(e).toString()}},4174:(e,t,r)=>{"use strict";var n=r(1251),o=r(29),i=r(4390),a=r(8969),s=r(6440),c=r(8506),u=r(1077),l=r(3244),f=r(5117);e.exports=y,y.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);r=n.validate||this._compile(n)}var o=r(t);!0!==r.$async&&(this.errors=r.errors);return o},y.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},y.prototype.addSchema=function(e,t,r,n){if(Array.isArray(e)){for(var i=0;i<e.length;i++)this.addSchema(e[i],void 0,r,n);return this}var a=this._getId(e);if(void 0!==a&&"string"!=typeof a)throw new Error("schema id must be string");return S(this,t=o.normalizeId(t||a)),this._schemas[t]=this._addSchema(e,r,n,!0),this},y.prototype.addMetaSchema=function(e,t,r){return this.addSchema(e,t,r,!0),this},y.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(d)?d:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var n=this.validate(r,e);if(!n&&t){var o="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(o);this.logger.error(o)}return n},y.prototype.getSchema=function(e){var t=v(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var r=o.schema.call(e,{schema:{}},t);if(r){var i=r.schema,s=r.root,c=r.baseId,u=n.call(e,i,s,void 0,c);return e._fragments[t]=new a({ref:t,fragment:!0,schema:i,root:s,baseId:c,validate:u}),u}}(this,e)}},y.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=v(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var r=this._opts.serialize,n=r?r(e):e;this._cache.del(n);var i=this._getId(e);i&&(i=o.normalizeId(i),delete this._schemas[i],delete this._refs[i])}return this},y.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},y.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,n=void 0===t.dataVar?"data":t.dataVar,o="",i=0;i<e.length;i++){var a=e[i];a&&(o+=n+a.dataPath+" "+a.message+r)}return o.slice(0,-r.length)},y.prototype._addSchema=function(e,t,r,n){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,s=i?i(e):e,c=this._cache.get(s);if(c)return c;n=n||!1!==this._opts.addUsedSchema;var u=o.normalizeId(this._getId(e));u&&n&&S(this,u);var l,f=!1!==this._opts.validateSchema&&!t;f&&!(l=u&&u==o.normalizeId(e.$schema))&&this.validateSchema(e,!0);var h=o.ids.call(this,e),p=new a({id:u,schema:e,localRefs:h,cacheKey:s,meta:r});"#"!=u[0]&&n&&(this._refs[u]=p);this._cache.put(s,p),f&&l&&this.validateSchema(e,!0);return p},y.prototype._compile=function(e,t){if(e.compiling)return e.validate=i,i.schema=e.schema,i.errors=null,i.root=t||i,!0===e.schema.$async&&(i.$async=!0),i;var r,o;e.compiling=!0,e.meta&&(r=this._opts,this._opts=this._metaOpts);try{o=n.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=r)}return e.validate=o,e.refs=o.refs,e.refVal=o.refVal,e.root=o.root,o;function i(){var t=e.validate,r=t.apply(this,arguments);return i.errors=t.errors,r}},y.prototype.compileAsync=r(1101);var h=r(7587);y.prototype.addKeyword=h.add,y.prototype.getKeyword=h.get,y.prototype.removeKeyword=h.remove,y.prototype.validateKeyword=h.validate;var p=r(24);y.ValidationError=p.Validation,y.MissingRefError=p.MissingRef,y.$dataMetaSchema=l;var d="http://json-schema.org/draft-07/schema",m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],g=["/properties"];function y(e){if(!(this instanceof y))return new y(e);e=this._opts=f.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:A,warn:A,error:A};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=c(e.format),this._cache=e.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=u(),this._getId=function(e){switch(e.schemaId){case"auto":return x;case"id":return E;default:return w}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=f.copy(e._opts),r=0;r<m.length;r++)delete t[m[r]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var r=e._opts.keywords[t];e.addKeyword(t,r)}}(this),function(e){var t;e._opts.$data&&(t=r(3633),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var n=r(4222);e._opts.$data&&(n=l(n,g));e.addMetaSchema(n,d,!0),e._refs["http://json-schema.org/schema"]=d}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}(this)}function v(e,t){return t=o.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,r){for(var n in t){var o=t[n];o.meta||r&&!r.test(n)||(e._cache.del(o.cacheKey),delete t[n])}}function E(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function w(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function x(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function S(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function A(){}},4390:e=>{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},1101:(e,t,r)=>{"use strict";var n=r(24).MissingRef;e.exports=function e(t,r,o){var i=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof r&&(o=r,r=void 0);var a=s(t).then((function(){var e=i._addSchema(t,void 0,r);return e.validate||c(e)}));o&&a.then((function(e){o(null,e)}),o);return a;function s(t){var r=t.$schema;return r&&!i.getSchema(r)?e.call(i,{$ref:r},!0):Promise.resolve()}function c(e){try{return i._compile(e)}catch(t){if(t instanceof n)return function(t){var n=t.missingSchema;if(u(n))throw new Error("Schema "+n+" is loaded but "+t.missingRef+" cannot be resolved");var o=i._loadingSchemas[n];o||(o=i._loadingSchemas[n]=i._opts.loadSchema(n)).then(a,a);return o.then((function(e){if(!u(n))return s(e).then((function(){u(n)||i.addSchema(e,n,void 0,r)}))})).then((function(){return c(e)}));function a(){delete i._loadingSchemas[n]}function u(e){return i._refs[e]||i._schemas[e]}}(t);throw t}}}},24:(e,t,r)=>{"use strict";var n=r(29);function o(e,t,r){this.message=r||o.message(e,t),this.missingRef=n.url(e,t),this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function i(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:i((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:i(o)},o.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},8506:(e,t,r)=>{"use strict";var n=r(5117),o=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,c=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,u=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,f=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,h=/^(?:\/(?:[^~/]|~0|~1)*)*$/,p=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,d=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return e="full"==e?"full":"fast",n.copy(m[e])}function g(e){var t=e.match(o);if(!t)return!1;var r=+t[1],n=+t[2],a=+t[3];return n>=1&&n<=12&&a>=1&&a<=(2==n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:i[n])}function y(e,t){var r=e.match(a);if(!r)return!1;var n=r[1],o=r[2],i=r[3],s=r[5];return(n<=23&&o<=59&&i<=59||23==n&&59==o&&60==i)&&(!t||s)}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":u,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":h,"json-pointer-uri-fragment":p,"relative-json-pointer":d},m.full={date:g,time:y,"date-time":function(e){var t=e.split(v);return 2==t.length&&g(t[0])&&y(t[1],!0)},uri:function(e){return b.test(e)&&c.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":u,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":h,"json-pointer-uri-fragment":p,"relative-json-pointer":d};var v=/t|\s/i;var b=/\/|:/;var E=/[^\\]\\Z/;function w(e){if(E.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},1251:(e,t,r)=>{"use strict";var n=r(29),o=r(5117),i=r(24),a=r(6440),s=r(805),c=o.ucs2length,u=r(6471),l=i.Validation;function f(e,t,r){var n=p.call(this,e,t,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}function h(e,t,r){var n=p.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}function p(e,t,r){for(var n=0;n<this._compilations.length;n++){var o=this._compilations[n];if(o.schema==e&&o.root==t&&o.baseId==r)return n}return-1}function d(e,t){return"var pattern"+e+" = new RegExp("+o.toQuotedString(t[e])+");"}function m(e){return"var default"+e+" = defaults["+e+"];"}function g(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function y(e){return"var customRule"+e+" = customRules["+e+"];"}function v(e,t){if(!e.length)return"";for(var r="",n=0;n<e.length;n++)r+=t(n,e);return r}e.exports=function e(t,r,p,b){var E=this,w=this._opts,x=[void 0],S={},A=[],k={},D=[],C={},F=[];r=r||{schema:t,refVal:x,refs:S};var P=f.call(this,t,r,b),O=this._compilations[P.index];if(P.compiling)return O.callValidate=function e(){var t=O.validate,r=t.apply(this,arguments);return e.errors=t.errors,r};var T=this._formats,j=this.RULES;try{var I=R(t,r,p,b);O.validate=I;var _=O.callValidate;return _&&(_.schema=I.schema,_.errors=null,_.refs=I.refs,_.refVal=I.refVal,_.root=I.root,_.$async=I.$async,w.sourceCode&&(_.source=I.source)),I}finally{h.call(this,t,r,b)}function R(t,a,f,h){var p=!a||a&&a.schema==t;if(a.schema!=r.schema)return e.call(E,t,a,f,h);var b,k=!0===t.$async,C=s({isTop:!0,schema:t,isRoot:p,baseId:h,root:a,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:j,validate:s,util:o,resolve:n,resolveRef:B,usePattern:M,useDefault:H,useCustomRule:z,opts:w,formats:T,logger:E.logger,self:E});C=v(x,g)+v(A,d)+v(D,m)+v(F,y)+C,w.processCode&&(C=w.processCode(C,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",C)(E,j,T,r,x,D,F,u,c,l),x[0]=b}catch(e){throw E.logger.error("Error compiling schema, function code:",C),e}return b.schema=t,b.errors=null,b.refs=S,b.refVal=x,b.root=p?b:a,k&&(b.$async=!0),!0===w.sourceCode&&(b.source={code:C,patterns:A,defaults:D}),b}function B(t,o,i){o=n.url(t,o);var a,s,c=S[o];if(void 0!==c)return N(a=x[c],s="refVal["+c+"]");if(!i&&r.refs){var u=r.refs[o];if(void 0!==u)return N(a=r.refVal[u],s=L(o,a))}s=L(o);var l=n.call(E,R,r,o);if(void 0===l){var f=p&&p[o];f&&(l=n.inlineRef(f,w.inlineRefs)?f:e.call(E,f,r,p,t))}if(void 0!==l)return function(e,t){var r=S[e];x[r]=t}(o,l),N(l,s);!function(e){delete S[e]}(o)}function L(e,t){var r=x.length;return x[r]=t,S[e]=r,"refVal"+r}function N(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function M(e){var t=k[e];return void 0===t&&(t=k[e]=A.length,A[t]=e),"pattern"+t}function H(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return o.toQuotedString(e);case"object":if(null===e)return"null";var t=a(e),r=C[t];return void 0===r&&(r=C[t]=D.length,D[r]=e),"default"+r}}function z(e,t,r,n){if(!1!==E._opts.validateSchema){var o=e.definition.dependencies;if(o&&!o.every((function(e){return Object.prototype.hasOwnProperty.call(r,e)})))throw new Error("parent schema must have all required keywords: "+o.join(","));var i=e.definition.validateSchema;if(i)if(!i(t)){var a="keyword schema is invalid: "+E.errorsText(i.errors);if("log"!=E._opts.validateSchema)throw new Error(a);E.logger.error(a)}}var s,c=e.definition.compile,u=e.definition.inline,l=e.definition.macro;if(c)s=c.call(E,t,r,n);else if(l)s=l.call(E,t,r,n),!1!==w.validateSchema&&E.validateSchema(s,!0);else if(u)s=u.call(E,n,e.keyword,t,r);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var f=F.length;return F[f]=s,{code:"customRule"+f,validate:s}}}},29:(e,t,r)=>{"use strict";var n=r(2371),o=r(6471),i=r(5117),a=r(8969),s=r(5127);function c(e,t,r){var n=this._refs[r];if("string"==typeof n){if(!this._refs[n])return c.call(this,e,t,n);n=this._refs[n]}if((n=n||this._schemas[r])instanceof a)return d(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var o,i,s,l=u.call(this,t,r);return l&&(o=l.schema,t=l.root,s=l.baseId),o instanceof a?i=o.validate||e.call(this,o.schema,t,void 0,s):void 0!==o&&(i=d(o,this._opts.inlineRefs)?o:e.call(this,o,t,void 0,s)),i}function u(e,t){var r=n.parse(t),o=v(r),i=y(this._getId(e.schema));if(0===Object.keys(e.schema).length||o!==i){var s=E(o),c=this._refs[s];if("string"==typeof c)return l.call(this,e,c,r);if(c instanceof a)c.validate||this._compile(c),e=c;else{if(!((c=this._schemas[s])instanceof a))return;if(c.validate||this._compile(c),s==E(t))return{schema:c,root:e,baseId:i};e=c}if(!e.schema)return;i=y(this._getId(e.schema))}return h.call(this,r,i,e.schema,e)}function l(e,t,r){var n=u.call(this,e,t);if(n){var o=n.schema,i=n.baseId;e=n.root;var a=this._getId(o);return a&&(i=w(i,a)),h.call(this,r,i,o,e)}}e.exports=c,c.normalizeId=E,c.fullPath=y,c.url=w,c.ids=function(e){var t=E(this._getId(e)),r={"":t},a={"":y(t,!1)},c={},u=this;return s(e,{allKeys:!0},(function(e,t,s,l,f,h,p){if(""!==t){var d=u._getId(e),m=r[l],g=a[l]+"/"+f;if(void 0!==p&&(g+="/"+("number"==typeof p?p:i.escapeFragment(p))),"string"==typeof d){d=m=E(m?n.resolve(m,d):d);var y=u._refs[d];if("string"==typeof y&&(y=u._refs[y]),y&&y.schema){if(!o(e,y.schema))throw new Error('id "'+d+'" resolves to more than one schema')}else if(d!=E(g))if("#"==d[0]){if(c[d]&&!o(e,c[d]))throw new Error('id "'+d+'" resolves to more than one schema');c[d]=e}else u._refs[d]=g}r[t]=m,a[t]=g}})),c},c.inlineRef=d,c.schema=u;var f=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function h(e,t,r,n){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var o=e.fragment.split("/"),a=1;a<o.length;a++){var s=o[a];if(s){if(void 0===(r=r[s=i.unescapeFragment(s)]))break;var c;if(!f[s]&&((c=this._getId(r))&&(t=w(t,c)),r.$ref)){var l=w(t,r.$ref),h=u.call(this,n,l);h&&(r=h.schema,n=h.root,t=h.baseId)}}}return void 0!==r&&r!==n.schema?{schema:r,root:n,baseId:t}:void 0}}var p=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function d(e,t){return!1!==t&&(void 0===t||!0===t?m(e):t?g(e)<=t:void 0)}function m(e){var t;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&!m(t))return!1}else for(var n in e){if("$ref"==n)return!1;if("object"==typeof(t=e[n])&&!m(t))return!1}return!0}function g(e){var t,r=0;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&(r+=g(t)),r==1/0)return 1/0}else for(var o in e){if("$ref"==o)return 1/0;if(p[o])r++;else if("object"==typeof(t=e[o])&&(r+=g(t)+1),r==1/0)return 1/0}return r}function y(e,t){return!1!==t&&(e=E(e)),v(n.parse(e))}function v(e){return n.serialize(e).split("#")[0]+"#"}var b=/#\/?$/;function E(e){return e?e.replace(b,""):""}function w(e,t){return t=E(t),n.resolve(e,t)}},1077:(e,t,r)=>{"use strict";var n=r(9784),o=r(5117).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=o(t),e.types=o(["number","integer","string","array","object","boolean","null"]),e.forEach((function(r){r.rules=r.rules.map((function(r){var o;if("object"==typeof r){var i=Object.keys(r)[0];o=r[i],r=i,o.forEach((function(r){t.push(r),e.all[r]=!0}))}return t.push(r),e.all[r]={keyword:r,code:n[r],implements:o}})),e.all.$comment={keyword:"$comment",code:n.$comment},r.type&&(e.types[r.type]=r)})),e.keywords=o(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},8969:(e,t,r)=>{"use strict";var n=r(5117);e.exports=function(e){n.copy(e,this)}},7959:e=>{"use strict";e.exports=function(e){for(var t,r=0,n=e.length,o=0;o<n;)r++,(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<n&&56320==(64512&(t=e.charCodeAt(o)))&&o++;return r}},5117:(e,t,r)=>{"use strict";function n(e,t,r,n){var o=n?" !== ":" === ",i=n?" || ":" && ",a=n?"!":"",s=n?"":"!";switch(e){case"null":return t+o+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+i+"typeof "+t+o+'"object"'+i+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+o+'"number"'+i+s+"("+t+" % 1)"+i+t+o+t+(r?i+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+o+'"'+e+'"'+(r?i+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+o+'"'+e+'"'}}e.exports={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:n,checkDataTypes:function(e,t,r){if(1===e.length)return n(e[0],t,r,!0);var o="",a=i(e);for(var s in a.array&&a.object&&(o=a.null?"(":"(!"+t+" || ",o+="typeof "+t+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer,a)o+=(o?" && ":"")+n(s,t,r,!0);return o},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n<t.length;n++){var i=t[n];(o[i]||"array"===e&&"array"===i)&&(r[r.length]=i)}if(r.length)return r}else{if(o[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:i,getProperty:c,escapeQuotes:u,equal:r(6471),ucs2length:r(7959),varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var n in e)if(n!=r&&t[n])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var r in e)if(!t[r])return r},toQuotedString:l,getPathExpr:function(e,t,r,n){return p(e,r?"'/' + "+t+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){var n=l(r?"/"+d(t):c(t));return p(e,n)},getData:function(e,t,r){var n,o,i,a;if(""===e)return"rootData";if("/"==e[0]){if(!f.test(e))throw new Error("Invalid JSON-pointer: "+e);o=e,i="rootData"}else{if(!(a=e.match(h)))throw new Error("Invalid JSON-pointer: "+e);if(n=+a[1],"#"==(o=a[2])){if(n>=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(i="data"+(t-n||""),!o)return i}for(var s=i,u=o.split("/"),l=0;l<u.length;l++){var p=u[l];p&&(i+=c(m(p)),s+=" && "+i)}return s},unescapeFragment:function(e){return m(decodeURIComponent(e))},unescapeJsonPointer:m,escapeFragment:function(e){return encodeURIComponent(d(e))},escapeJsonPointer:d};var o=i(["string","number","integer","boolean","null"]);function i(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var a=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function c(e){return"number"==typeof e?"["+e+"]":a.test(e)?"."+e:"['"+u(e)+"']"}function u(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function l(e){return"'"+u(e)+"'"}var f=/^\/(?:[^~]|~0|~1)*$/,h=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function p(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function d(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function m(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},3244:e=>{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,r){for(var n=0;n<r.length;n++){e=JSON.parse(JSON.stringify(e));var o,i=r[n].split("/"),a=e;for(o=1;o<i.length;o++)a=a[i[o]];for(o=0;o<t.length;o++){var s=t[o],c=a[s];c&&(a[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},6152:(e,t,r)=>{"use strict";var n=r(4222);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},1510:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s;var p="maximum"==t,d=p?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[d],g=e.opts.$data&&m&&m.$data,y=p?"<":">",v=p?">":"<",b=void 0;if(!h&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!g&&void 0!==m&&"number"!=typeof m&&"boolean"!=typeof m)throw new Error(d+" must be number or boolean");if(g){var E=e.util.getData(m.$data,a,e.dataPathArr),w="exclusive"+i,x="exclType"+i,S="exclIsNumber"+i,A="' + "+(C="op"+i)+" + '";o+=" var schemaExcl"+i+" = "+E+"; ",o+=" var "+w+"; var "+x+" = typeof "+(E="schemaExcl"+i)+"; if ("+x+" != 'boolean' && "+x+" != 'undefined' && "+x+" != 'number') { ";var k;b=d;(k=k||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var D=o;o=k.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+D+"]); ":o+=" validate.errors = ["+D+"]; return false; ":o+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+x+" == 'number' ? ( ("+w+" = "+n+" === undefined || "+E+" "+y+"= "+n+") ? "+f+" "+v+"= "+E+" : "+f+" "+v+" "+n+" ) : ( ("+w+" = "+E+" === true) ? "+f+" "+v+"= "+n+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { var op"+i+" = "+w+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=d,u=e.errSchemaPath+"/"+d,n=E,h=g)}else{A=y;if((S="number"==typeof m)&&h){var C="'"+A+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" ( "+n+" === undefined || "+m+" "+y+"= "+n+" ? "+f+" "+v+"= "+m+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { "}else{S&&void 0===s?(w=!0,b=d,u=e.errSchemaPath+"/"+d,n=m,v+="="):(S&&(n=Math[p?"min":"max"](m,s)),m===(!S||n)?(w=!0,b=d,u=e.errSchemaPath+"/"+d,v+="="):(w=!1,A+="="));C="'"+A+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+f+" "+v+" "+n+" || "+f+" !== "+f+") { "}}b=b||t,(k=k||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+C+", limit: "+n+", exclusive: "+w+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be "+A+" ",o+=h?"' + "+n:n+"'"),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";D=o;return o=k.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+D+"]); ":o+=" validate.errors = ["+D+"]; return false; ":o+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",l&&(o+=" else { "),o}},1978:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");o+="if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+f+".length "+("maxItems"==t?">":"<")+" "+n+") { ";var p=t,d=d||[];d.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(p||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have ",o+="maxItems"==t?"more":"fewer",o+=" than ",o+=h?"' + "+n+" + '":""+s,o+=" items' "),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var m=o;return o=d.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",l&&(o+=" else { "),o}},6179:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");var p="maxLength"==t?">":"<";o+="if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),!1===e.opts.unicode?o+=" "+f+".length ":o+=" ucs2length("+f+") ",o+=" "+p+" "+n+") { ";var d=t,m=m||[];m.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT be ",o+="maxLength"==t?"longer":"shorter",o+=" than ",o+=h?"' + "+n+" + '":""+s,o+=" characters' "),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var g=o;return o=m.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+g+"]); ":o+=" validate.errors = ["+g+"]; return false; ":o+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",l&&(o+=" else { "),o}},206:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");o+="if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" Object.keys("+f+").length "+("maxProperties"==t?">":"<")+" "+n+") { ";var p=t,d=d||[];d.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(p||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have ",o+="maxProperties"==t?"more":"fewer",o+=" than ",o+=h?"' + "+n+" + '":""+s,o+=" properties' "),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var m=o;return o=d.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",l&&(o+=" else { "),o}},3137:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.schema[t],i=e.schemaPath+e.util.getProperty(t),a=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),u="";c.level++;var l="valid"+c.level,f=c.baseId,h=!0,p=o;if(p)for(var d,m=-1,g=p.length-1;m<g;)d=p[m+=1],(e.opts.strictKeywords?"object"==typeof d&&Object.keys(d).length>0||!1===d:e.util.schemaHasRules(d,e.RULES.all))&&(h=!1,c.schema=d,c.schemaPath=i+"["+m+"]",c.errSchemaPath=a+"/"+m,n+=" "+e.validate(c)+" ",c.baseId=f,s&&(n+=" if ("+l+") { ",u+="}"));return s&&(n+=h?" if (true) { ":" "+u.slice(0,-1)+" "),n}},3229:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h="errs__"+o,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level,g=a.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}));if(g){var y=p.baseId;n+=" var "+h+" = errors; var "+f+" = false; ";var v=e.compositeRule;e.compositeRule=p.compositeRule=!0;var b=a;if(b)for(var E,w=-1,x=b.length-1;w<x;)E=b[w+=1],p.schema=E,p.schemaPath=s+"["+w+"]",p.errSchemaPath=c+"/"+w,n+=" "+e.validate(p)+" ",p.baseId=y,n+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",d+="}";e.compositeRule=p.compositeRule=v,n+=" "+d+" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else u&&(n+=" if (true) { ");return n}},3159:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.schema[t],i=e.errSchemaPath+"/"+t,a=(e.opts.allErrors,e.util.toQuotedString(o));return!0===e.opts.$comment?n+=" console.log("+a+");":"function"==typeof e.opts.$comment&&(n+=" self._opts.$comment("+a+", "+e.util.toQuotedString(i)+", validate.root.schema);"),n}},2267:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+o+" = "+e.util.getData(a.$data,i,e.dataPathArr)+"; "),h||(n+=" var schema"+o+" = validate.schema"+s+";"),n+="var "+f+" = equal("+l+", schema"+o+"); if (!"+f+") { ";var p=p||[];p.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to constant' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var d=n;return n=p.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",u&&(n+=" else { "),n}},9629:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h="errs__"+o,p=e.util.copy(e);p.level++;var d="valid"+p.level,m="i"+o,g=p.dataLevel=e.dataLevel+1,y="data"+g,v=e.baseId,b=e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all);if(n+="var "+h+" = errors;var "+f+";",b){var E=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" var "+d+" = false; for (var "+m+" = 0; "+m+" < "+l+".length; "+m+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=l+"["+m+"]";p.dataPathArr[g]=m;var x=e.validate(p);p.baseId=v,e.util.varOccurences(x,y)<2?n+=" "+e.util.varReplace(x,y,w)+" ":n+=" var "+y+" = "+w+"; "+x+" ",n+=" if ("+d+") break; } ",e.compositeRule=p.compositeRule=E,n+=" if (!"+d+") {"}else n+=" if ("+l+".length == 0) {";var S=S||[];S.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should contain a valid item' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var A=n;return n=S.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+A+"]); ":n+=" validate.errors = ["+A+"]; return false; ":n+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { ",b&&(n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n}},5554:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",a=e.level,s=e.dataLevel,c=e.schema[t],u=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,h="data"+(s||""),p="valid"+a,d="errs__"+a,m=e.opts.$data&&c&&c.$data;m?(i+=" var schema"+a+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",o="schema"+a):o=c;var g,y,v,b,E,w=this,x="definition"+a,S=w.definition,A="";if(m&&S.$data){E="keywordValidate"+a;var k=S.validateSchema;i+=" var "+x+" = RULES.custom['"+t+"'].definition; var "+E+" = "+x+".validate;"}else{if(!(b=e.useCustomRule(w,c,e.schema,e)))return;o="validate.schema"+u,E=b.code,g=S.compile,y=S.inline,v=S.macro}var D=E+".errors",C="i"+a,F="ruleErr"+a,P=S.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(i+=D+" = null;"),i+="var "+d+" = errors;var "+p+";",m&&S.$data&&(A+="}",i+=" if ("+o+" === undefined) { "+p+" = true; } else { ",k&&(A+="}",i+=" "+p+" = "+x+".validateSchema("+o+"); if ("+p+") { ")),y)S.statements?i+=" "+b.validate+" ":i+=" "+p+" = "+b.validate+"; ";else if(v){var O=e.util.copy(e);A="";O.level++;var T="valid"+O.level;O.schema=b.validate,O.schemaPath="";var j=e.compositeRule;e.compositeRule=O.compositeRule=!0;var I=e.validate(O).replace(/validate\.schema/g,E);e.compositeRule=O.compositeRule=j,i+=" "+I}else{(L=L||[]).push(i),i="",i+=" "+E+".call( ",e.opts.passContext?i+="this":i+="self",g||!1===S.schema?i+=" , "+h+" ":i+=" , "+o+" , "+h+" , validate.schema"+e.schemaPath+" ",i+=" , (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var _=s?"data"+(s-1||""):"parentData",R=s?e.dataPathArr[s]:"parentDataProperty",B=i+=" , "+_+" , "+R+" , rootData ) ";i=L.pop(),!1===S.errors?(i+=" "+p+" = ",P&&(i+="await "),i+=B+"; "):i+=P?" var "+(D="customErrors"+a)+" = null; try { "+p+" = await "+B+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+D+" = e.errors; else throw e; } ":" "+D+" = null; "+p+" = "+B+"; "}if(S.modifying&&(i+=" if ("+_+") "+h+" = "+_+"["+R+"];"),i+=""+A,S.valid)f&&(i+=" if (true) { ");else{var L;i+=" if ( ",void 0===S.valid?(i+=" !",i+=v?""+T:""+p):i+=" "+!S.valid+" ",i+=") { ",n=w.keyword,(L=L||[]).push(i),i="",(L=L||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var N=i;i=L.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+N+"]); ":i+=" validate.errors = ["+N+"]; return false; ":i+=" var err = "+N+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var M=i;i=L.pop(),y?S.errors?"full"!=S.errors&&(i+=" for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+F+".schema = "+o+"; "+F+".data = "+h+"; "),i+=" } "):!1===S.errors?i+=" "+M+" ":(i+=" if ("+d+" == errors) { "+M+" } else { for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+F+".schema = "+o+"; "+F+".data = "+h+"; "),i+=" } } "):v?(i+=" var err = ",!1!==e.createErrors?(i+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; ")):!1===S.errors?i+=" "+M+" ":(i+=" if (Array.isArray("+D+")) { if (vErrors === null) vErrors = "+D+"; else vErrors = vErrors.concat("+D+"); errors = vErrors.length; for (var "+C+"="+d+"; "+C+"<errors; "+C+"++) { var "+F+" = vErrors["+C+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; "+F+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(i+=" "+F+".schema = "+o+"; "+F+".data = "+h+"; "),i+=" } } else { "+M+" } "),i+=" } ",f&&(i+=" else { ")}return i}},1915:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="errs__"+o,h=e.util.copy(e),p="";h.level++;var d="valid"+h.level,m={},g={},y=e.opts.ownProperties;for(w in a)if("__proto__"!=w){var v=a[w],b=Array.isArray(v)?g:m;b[w]=v}n+="var "+f+" = errors;";var E=e.errorPath;for(var w in n+="var missing"+o+";",g)if((b=g[w]).length){if(n+=" if ( "+l+e.util.getProperty(w)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "),u){n+=" && ( ";var x=b;if(x)for(var S=-1,A=x.length-1;S<A;){O=x[S+=1],S&&(n+=" || "),n+=" ( ( "+(_=l+(I=e.util.getProperty(O)))+" === undefined ",y&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:I)+") ) "}n+=")) { ";var k="missing"+o,D="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,k,!0):E+" + "+k);var C=C||[];C.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+D+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var F=n;n=C.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+F+"]); ":n+=" validate.errors = ["+F+"]; return false; ":n+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var P=b;if(P)for(var O,T=-1,j=P.length-1;T<j;){O=P[T+=1];var I=e.util.getProperty(O),_=(D=e.util.escapeQuotes(O),l+I);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,O,e.opts.jsonPointers)),n+=" if ( "+_+" === undefined ",y&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+D+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==b.length?n+="property "+e.util.escapeQuotes(b[0]):n+="properties "+e.util.escapeQuotes(b.join(", ")),n+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}n+=" } ",u&&(p+="}",n+=" else { ")}e.errorPath=E;var R=h.baseId;for(var w in m){v=m[w];(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(n+=" "+d+" = true; if ( "+l+e.util.getProperty(w)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "),n+=") { ",h.schema=v,h.schemaPath=s+e.util.getProperty(w),h.errSchemaPath=c+"/"+e.util.escapeFragment(w),n+=" "+e.validate(h)+" ",h.baseId=R,n+=" } ",u&&(n+=" if ("+d+") { ",p+="}"))}return u&&(n+=" "+p+" if ("+f+" == errors) {"),n}},734:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+o+" = "+e.util.getData(a.$data,i,e.dataPathArr)+"; ");var p="i"+o,d="schema"+o;h||(n+=" var "+d+" = validate.schema"+s+";"),n+="var "+f+";",h&&(n+=" if (schema"+o+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+o+")) "+f+" = false; else {"),n+=f+" = false;for (var "+p+"=0; "+p+"<"+d+".length; "+p+"++) if (equal("+l+", "+d+"["+p+"])) { "+f+" = true; break; }",h&&(n+=" } "),n+=" if (!"+f+") { ";var m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var g=n;return n=m.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",u&&(n+=" else { "),n}},22:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||"");if(!1===e.opts.format)return u&&(n+=" if (true) { "),n;var f,h=e.opts.$data&&a&&a.$data;h?(n+=" var schema"+o+" = "+e.util.getData(a.$data,i,e.dataPathArr)+"; ",f="schema"+o):f=a;var p=e.opts.unknownFormats,d=Array.isArray(p);if(h){n+=" var "+(m="format"+o)+" = formats["+f+"]; var "+(g="isObject"+o)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(y="formatType"+o)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(n+=" var async"+o+" = "+m+".async; "),n+=" "+m+" = "+m+".validate; } if ( ",h&&(n+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "),n+=" (","ignore"!=p&&(n+=" ("+f+" && !"+m+" ",d&&(n+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "),n+=") || "),n+=" ("+m+" && "+y+" == '"+r+"' && !(typeof "+m+" == 'function' ? ",e.async?n+=" (async"+o+" ? await "+m+"("+l+") : "+m+"("+l+")) ":n+=" "+m+"("+l+") ",n+=" : "+m+".test("+l+"))))) {"}else{var m;if(!(m=e.formats[a])){if("ignore"==p)return e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(n+=" if (true) { "),n;if(d&&p.indexOf(a)>=0)return u&&(n+=" if (true) { "),n;throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,y=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var v=!0===m.async;m=m.validate}if(y!=r)return u&&(n+=" if (true) { "),n;if(v){if(!e.async)throw new Error("async format in sync schema");n+=" if (!(await "+(b="formats"+e.util.getProperty(a)+".validate")+"("+l+"))) { "}else{n+=" if (! ";var b="formats"+e.util.getProperty(a);g&&(b+=".validate"),n+="function"==typeof m?" "+b+"("+l+") ":" "+b+".test("+l+") ",n+=") { "}}var E=E||[];E.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",n+=h?""+f:""+e.util.toQuotedString(a),n+=" } ",!1!==e.opts.messages&&(n+=" , message: 'should match format \"",n+=h?"' + "+f+" + '":""+e.util.escapeQuotes(a),n+="\"' "),e.opts.verbose&&(n+=" , schema: ",n+=h?"validate.schema"+s:""+e.util.toQuotedString(a),n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var w=n;return n=E.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+w+"]); ":n+=" validate.errors = ["+w+"]; return false; ":n+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { "),n}},220:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h="errs__"+o,p=e.util.copy(e);p.level++;var d="valid"+p.level,m=e.schema.then,g=e.schema.else,y=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),v=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),b=p.baseId;if(y||v){var E;p.createErrors=!1,p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" var "+h+" = errors; var "+f+" = true; ";var w=e.compositeRule;e.compositeRule=p.compositeRule=!0,n+=" "+e.validate(p)+" ",p.baseId=b,p.createErrors=!0,n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.compositeRule=p.compositeRule=w,y?(n+=" if ("+d+") { ",p.schema=e.schema.then,p.schemaPath=e.schemaPath+".then",p.errSchemaPath=e.errSchemaPath+"/then",n+=" "+e.validate(p)+" ",p.baseId=b,n+=" "+f+" = "+d+"; ",y&&v?n+=" var "+(E="ifClause"+o)+" = 'then'; ":E="'then'",n+=" } ",v&&(n+=" else { ")):n+=" if (!"+d+") { ",v&&(p.schema=e.schema.else,p.schemaPath=e.schemaPath+".else",p.errSchemaPath=e.errSchemaPath+"/else",n+=" "+e.validate(p)+" ",p.baseId=b,n+=" "+f+" = "+d+"; ",y&&v?n+=" var "+(E="ifClause"+o)+" = 'else'; ":E="'else'",n+=" } "),n+=" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+E+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match \"' + "+E+" + '\" schema' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } ",u&&(n+=" else { ")}else u&&(n+=" if (true) { ");return n}},9784:(e,t,r)=>{"use strict";e.exports={$ref:r(1618),allOf:r(3137),anyOf:r(3229),$comment:r(3159),const:r(2267),contains:r(9629),dependencies:r(1915),enum:r(734),format:r(22),if:r(220),items:r(4787),maximum:r(1510),minimum:r(1510),maxItems:r(1978),minItems:r(1978),maxLength:r(6179),minLength:r(6179),maxProperties:r(206),minProperties:r(206),multipleOf:r(7086),not:r(4734),oneOf:r(3942),pattern:r(8741),properties:r(1221),propertyNames:r(1874),required:r(6262),uniqueItems:r(7392),validate:r(805)}},4787:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h="errs__"+o,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level,g="i"+o,y=p.dataLevel=e.dataLevel+1,v="data"+y,b=e.baseId;if(n+="var "+h+" = errors;var "+f+";",Array.isArray(a)){var E=e.schema.additionalItems;if(!1===E){n+=" "+f+" = "+l+".length <= "+a.length+"; ";var w=c;c=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var x=x||[];x.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a.length+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have more than "+a.length+" items' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var S=n;n=x.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",c=w,u&&(d+="}",n+=" else { ")}var A=a;if(A)for(var k,D=-1,C=A.length-1;D<C;)if(k=A[D+=1],e.opts.strictKeywords?"object"==typeof k&&Object.keys(k).length>0||!1===k:e.util.schemaHasRules(k,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+D+") { ";var F=l+"["+D+"]";p.schema=k,p.schemaPath=s+"["+D+"]",p.errSchemaPath=c+"/"+D,p.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,!0),p.dataPathArr[y]=D;var P=e.validate(p);p.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",n+=" } ",u&&(n+=" if ("+m+") { ",d+="}")}if("object"==typeof E&&(e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0||!1===E:e.util.schemaHasRules(E,e.RULES.all))){p.schema=E,p.schemaPath=e.schemaPath+".additionalItems",p.errSchemaPath=e.errSchemaPath+"/additionalItems",n+=" "+m+" = true; if ("+l+".length > "+a.length+") { for (var "+g+" = "+a.length+"; "+g+" < "+l+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);F=l+"["+g+"]";p.dataPathArr[y]=g;P=e.validate(p);p.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",u&&(n+=" if (!"+m+") break; "),n+=" } } ",u&&(n+=" if ("+m+") { ",d+="}")}}else if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){p.schema=a,p.schemaPath=s,p.errSchemaPath=c,n+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);F=l+"["+g+"]";p.dataPathArr[y]=g;P=e.validate(p);p.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,F)+" ":n+=" var "+v+" = "+F+"; "+P+" ",u&&(n+=" if (!"+m+") break; "),n+=" }"}return u&&(n+=" "+d+" if ("+h+" == errors) {"),n}},7086:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;if(h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,!h&&"number"!=typeof s)throw new Error(t+" must be number");o+="var division"+i+";if (",h&&(o+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),o+=" (division"+i+" = "+f+" / "+n+", ",e.opts.multipleOfPrecision?o+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" ":o+=" division"+i+" !== parseInt(division"+i+") ",o+=" ) ",h&&(o+=" ) "),o+=" ) { ";var p=p||[];p.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+n+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be multiple of ",o+=h?"' + "+n:n+"'"),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var d=o;return o=p.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+d+"]); ":o+=" validate.errors = ["+d+"]; return false; ":o+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",l&&(o+=" else { "),o}},4734:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="errs__"+o,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a,h.schemaPath=s,h.errSchemaPath=c,n+=" var "+f+" = errors; ";var d,m=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.createErrors=!1,h.opts.allErrors&&(d=h.opts.allErrors,h.opts.allErrors=!1),n+=" "+e.validate(h)+" ",h.createErrors=!0,d&&(h.opts.allErrors=d),e.compositeRule=h.compositeRule=m,n+=" if ("+p+") { ";var g=g||[];g.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var y=n;n=g.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else n+=" var err = ",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(n+=" if (false) { ");return n}},3942:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h="errs__"+o,p=e.util.copy(e),d="";p.level++;var m="valid"+p.level,g=p.baseId,y="prevValid"+o,v="passingSchemas"+o;n+="var "+h+" = errors , "+y+" = false , "+f+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=p.compositeRule=!0;var E=a;if(E)for(var w,x=-1,S=E.length-1;x<S;)w=E[x+=1],(e.opts.strictKeywords?"object"==typeof w&&Object.keys(w).length>0||!1===w:e.util.schemaHasRules(w,e.RULES.all))?(p.schema=w,p.schemaPath=s+"["+x+"]",p.errSchemaPath=c+"/"+x,n+=" "+e.validate(p)+" ",p.baseId=g):n+=" var "+m+" = true; ",x&&(n+=" if ("+m+" && "+y+") { "+f+" = false; "+v+" = ["+v+", "+x+"]; } else { ",d+="}"),n+=" if ("+m+") { "+f+" = "+y+" = true; "+v+" = "+x+"; }";return e.compositeRule=p.compositeRule=b,n+=d+"if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(n+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n}},8741:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h=e.opts.$data&&s&&s.$data;h?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,o+="if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),o+=" !"+(h?"(new RegExp("+n+"))":e.usePattern(s))+".test("+f+") ) { ";var p=p||[];p.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",o+=h?""+n:""+e.util.toQuotedString(s),o+=" } ",!1!==e.opts.messages&&(o+=" , message: 'should match pattern \"",o+=h?"' + "+n+" + '":""+e.util.escapeQuotes(s),o+="\"' "),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+c:""+e.util.toQuotedString(s),o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var d=o;return o=p.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+d+"]); ":o+=" validate.errors = ["+d+"]; return false; ":o+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+="} ",l&&(o+=" else { "),o}},1221:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="errs__"+o,h=e.util.copy(e),p="";h.level++;var d="valid"+h.level,m="key"+o,g="idx"+o,y=h.dataLevel=e.dataLevel+1,v="data"+y,b="dataProperties"+o,E=Object.keys(a||{}).filter(I),w=e.schema.patternProperties||{},x=Object.keys(w).filter(I),S=e.schema.additionalProperties,A=E.length||x.length,k=!1===S,D="object"==typeof S&&Object.keys(S).length,C=e.opts.removeAdditional,F=k||D||C,P=e.opts.ownProperties,O=e.baseId,T=e.schema.required;if(T&&(!e.opts.$data||!T.$data)&&T.length<e.opts.loopRequired)var j=e.util.toHash(T);function I(e){return"__proto__"!==e}if(n+="var "+f+" = errors;var "+d+" = true;",P&&(n+=" var "+b+" = undefined;"),F){if(n+=P?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+l+") { ",A){if(n+=" var isAdditional"+o+" = !(false ",E.length)if(E.length>8)n+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var _=E;if(_)for(var R=-1,B=_.length-1;R<B;)K=_[R+=1],n+=" || "+m+" == "+e.util.toQuotedString(K)+" "}if(x.length){var L=x;if(L)for(var N=-1,M=L.length-1;N<M;)ie=L[N+=1],n+=" || "+e.usePattern(ie)+".test("+m+") "}n+=" ); if (isAdditional"+o+") { "}if("all"==C)n+=" delete "+l+"["+m+"]; ";else{var H=e.errorPath,z="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),k)if(C)n+=" delete "+l+"["+m+"]; ";else{n+=" "+d+" = false; ";var U=c;c=e.errSchemaPath+"/additionalProperties",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+z+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is an invalid additional property":n+="should NOT have additional properties",n+="' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var $=n;n=re.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+$+"]); ":n+=" validate.errors = ["+$+"]; return false; ":n+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,u&&(n+=" break; ")}else if(D)if("failing"==C){n+=" var "+f+" = errors; ";var q=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=S,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var V=l+"["+m+"]";h.dataPathArr[y]=m;var G=e.validate(h);h.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,V)+" ":n+=" var "+v+" = "+V+"; "+G+" ",n+=" if (!"+d+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+l+"["+m+"]; } ",e.compositeRule=h.compositeRule=q}else{h.schema=S,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);V=l+"["+m+"]";h.dataPathArr[y]=m;G=e.validate(h);h.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,V)+" ":n+=" var "+v+" = "+V+"; "+G+" ",u&&(n+=" if (!"+d+") break; ")}e.errorPath=H}A&&(n+=" } "),n+=" } ",u&&(n+=" if ("+d+") { ",p+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(E.length){var Q=E;if(Q)for(var K,Z=-1,Y=Q.length-1;Z<Y;){var X=a[K=Q[Z+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all)){var J=e.util.getProperty(K),ee=(V=l+J,W&&void 0!==X.default);h.schema=X,h.schemaPath=s+J,h.errSchemaPath=c+"/"+e.util.escapeFragment(K),h.errorPath=e.util.getPath(e.errorPath,K,e.opts.jsonPointers),h.dataPathArr[y]=e.util.toQuotedString(K);G=e.validate(h);if(h.baseId=O,e.util.varOccurences(G,v)<2){G=e.util.varReplace(G,v,V);var te=V}else{te=v;n+=" var "+v+" = "+V+"; "}if(ee)n+=" "+G+" ";else{if(j&&j[K]){n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = false; ";H=e.errorPath,U=c;var re,ne=e.util.escapeQuotes(K);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(H,K,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(re=re||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+ne+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";$=n;n=re.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+$+"]); ":n+=" validate.errors = ["+$+"]; return false; ":n+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,e.errorPath=H,n+=" } else { "}else u?(n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = true; } else { "):(n+=" if ("+te+" !== undefined ",P&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=" ) { ");n+=" "+G+" } "}}u&&(n+=" if ("+d+") { ",p+="}")}}if(x.length){var oe=x;if(oe)for(var ie,ae=-1,se=oe.length-1;ae<se;){X=w[ie=oe[ae+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all)){h.schema=X,h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ie),h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ie),n+=P?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+l+") { ",n+=" if ("+e.usePattern(ie)+".test("+m+")) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);V=l+"["+m+"]";h.dataPathArr[y]=m;G=e.validate(h);h.baseId=O,e.util.varOccurences(G,v)<2?n+=" "+e.util.varReplace(G,v,V)+" ":n+=" var "+v+" = "+V+"; "+G+" ",u&&(n+=" if (!"+d+") break; "),n+=" } ",u&&(n+=" else "+d+" = true; "),n+=" } ",u&&(n+=" if ("+d+") { ",p+="}")}}}return u&&(n+=" "+p+" if ("+f+" == errors) {"),n}},1874:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="errs__"+o,h=e.util.copy(e);h.level++;var p="valid"+h.level;if(n+="var "+f+" = errors;",e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){h.schema=a,h.schemaPath=s,h.errSchemaPath=c;var d="key"+o,m="idx"+o,g="i"+o,y="' + "+d+" + '",v="data"+(h.dataLevel=e.dataLevel+1),b="dataProperties"+o,E=e.opts.ownProperties,w=e.baseId;E&&(n+=" var "+b+" = undefined; "),n+=E?" "+b+" = "+b+" || Object.keys("+l+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+l+") { ",n+=" var startErrs"+o+" = errors; ";var x=d,S=e.compositeRule;e.compositeRule=h.compositeRule=!0;var A=e.validate(h);h.baseId=w,e.util.varOccurences(A,v)<2?n+=" "+e.util.varReplace(A,v,x)+" ":n+=" var "+v+" = "+x+"; "+A+" ",e.compositeRule=h.compositeRule=S,n+=" if (!"+p+") { for (var "+g+"=startErrs"+o+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+d+"; } var err = ",!1!==e.createErrors?(n+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+y+"' } ",!1!==e.opts.messages&&(n+=" , message: 'property name \\'"+y+"\\' is invalid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),u&&(n+=" break; "),n+=" } }"}return u&&(n+=" if ("+f+" == errors) {"),n}},1618:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",a=e.level,s=e.dataLevel,c=e.schema[t],u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(s||""),h="valid"+a;if("#"==c||"#/"==c)e.isRoot?(n=e.async,o="validate"):(n=!0===e.root.schema.$async,o="root.refVal[0]");else{var p=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===p){var d=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(d),(v=v||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;i=v.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(i+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,d);e.logger.warn(d),l&&(i+=" if (true) { ")}}else if(p.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=p.schema,g.schemaPath="",g.errSchemaPath=c,i+=" "+e.validate(g).replace(/validate\.schema/g,p.code)+" ",l&&(i+=" if ("+y+") { ")}else n=!0===p.$async||e.async&&!1!==p.$async,o=p.code}if(o){var v;(v=v||[]).push(i),i="",e.opts.passContext?i+=" "+o+".call(this, ":i+=" "+o+"( ",i+=" "+f+", (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var b=i+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(i=v.pop(),n){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(i+=" var "+h+"; "),i+=" try { await "+b+"; ",l&&(i+=" "+h+" = true; "),i+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(i+=" "+h+" = false; "),i+=" } ",l&&(i+=" if ("+h+") { ")}else i+=" if (!"+b+") { if (vErrors === null) vErrors = "+o+".errors; else vErrors = vErrors.concat("+o+".errors); errors = vErrors.length; } ",l&&(i+=" else { ")}return i}},6262:e=>{"use strict";e.exports=function(e,t,r){var n=" ",o=e.level,i=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(i||""),f="valid"+o,h=e.opts.$data&&a&&a.$data;h&&(n+=" var schema"+o+" = "+e.util.getData(a.$data,i,e.dataPathArr)+"; ");var p="schema"+o;if(!h)if(a.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],m=a;if(m)for(var g,y=-1,v=m.length-1;y<v;){g=m[y+=1];var b=e.schema.properties[g];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(d[d.length]=g)}}else d=a;if(h||d.length){var E=e.errorPath,w=h||d.length>=e.opts.loopRequired,x=e.opts.ownProperties;if(u)if(n+=" var missing"+o+"; ",w){h||(n+=" var "+p+" = validate.schema"+s+"; ");var S="' + "+(P="schema"+o+"["+(D="i"+o)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(E,P,e.opts.jsonPointers)),n+=" var "+f+" = true; ",h&&(n+=" if (schema"+o+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+o+")) "+f+" = false; else {"),n+=" for (var "+D+" = 0; "+D+" < "+p+".length; "+D+"++) { "+f+" = "+l+"["+p+"["+D+"]] !== undefined ",x&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", "+p+"["+D+"]) "),n+="; if (!"+f+") break; } ",h&&(n+=" } "),n+=" if (!"+f+") { ",(F=F||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var A=n;n=F.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+A+"]); ":n+=" validate.errors = ["+A+"]; return false; ":n+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var k=d;if(k)for(var D=-1,C=k.length-1;D<C;){T=k[D+=1],D&&(n+=" || "),n+=" ( ( "+(R=l+(_=e.util.getProperty(T)))+" === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(T)+"') "),n+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?T:_)+") ) "}n+=") { ";var F;S="' + "+(P="missing"+o)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,P,!0):E+" + "+P),(F=F||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";A=n;n=F.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+A+"]); ":n+=" validate.errors = ["+A+"]; return false; ":n+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else if(w){h||(n+=" var "+p+" = validate.schema"+s+"; ");var P;S="' + "+(P="schema"+o+"["+(D="i"+o)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(E,P,e.opts.jsonPointers)),h&&(n+=" if ("+p+" && !Array.isArray("+p+")) { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+p+" !== undefined) { "),n+=" for (var "+D+" = 0; "+D+" < "+p+".length; "+D+"++) { if ("+l+"["+p+"["+D+"]] === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+p+"["+D+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",h&&(n+=" } ")}else{var O=d;if(O)for(var T,j=-1,I=O.length-1;j<I;){T=O[j+=1];var _=e.util.getProperty(T),R=(S=e.util.escapeQuotes(T),l+_);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,T,e.opts.jsonPointers)),n+=" if ( "+R+" === undefined ",x&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(T)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+S+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+S+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=E}else u&&(n+=" if (true) {");return n}},7392:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=e.level,a=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(a||""),h="valid"+i,p=e.opts.$data&&s&&s.$data;if(p?(o+=" var schema"+i+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",n="schema"+i):n=s,(s||p)&&!1!==e.opts.uniqueItems){p&&(o+=" var "+h+"; if ("+n+" === false || "+n+" === undefined) "+h+" = true; else if (typeof "+n+" != 'boolean') "+h+" = false; else { "),o+=" var i = "+f+".length , "+h+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,m=Array.isArray(d);if(!d||"object"==d||"array"==d||m&&(d.indexOf("object")>=0||d.indexOf("array")>=0))o+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+h+" = false; break outer; } } } ";else{o+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var g="checkDataType"+(m?"s":"");o+=" if ("+e.util[g](d,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(o+=" if (typeof item == 'string') item = '\"' + item; "),o+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}o+=" } ",p&&(o+=" } "),o+=" if (!"+h+") { ";var y=y||[];y.push(o),o="",!1!==e.createErrors?(o+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(o+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(o+=" , schema: ",o+=p?"validate.schema"+c:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var v=o;o=y.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+v+"]); ":o+=" validate.errors = ["+v+"]; return false; ":o+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",l&&(o+=" else { ")}else l&&(o+=" if (true) { ");return o}},805:e=>{"use strict";e.exports=function(e,t,r){var n="",o=!0===e.schema.$async,i=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(n+=" var validate = ",o&&(e.async=!0,n+="async "),n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",a&&(e.opts.sourceCode||e.opts.processCode)&&(n+=" /*# sourceURL="+a+" */ ")),"boolean"==typeof e.schema||!i&&!e.schema.$ref){t="false schema";var u=e.level,l=e.dataLevel,f=e.schema[t],h=e.schemaPath+e.util.getProperty(t),p=e.errSchemaPath+"/"+t,d=!e.opts.allErrors,m="data"+(l||""),g="valid"+u;if(!1===e.schema){e.isTop?d=!0:n+=" var "+g+" = false; ",(Z=Z||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'boolean schema is false' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";var y=n;n=Z.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?n+=o?" return data; ":" validate.errors = null; return true; ":n+=" var "+g+" = true; ";return e.isTop&&(n+=" }; return validate; "),n}if(e.isTop){var v=e.isTop;u=e.level=0,l=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}n+=" var vErrors = null; ",n+=" var errors = 0; ",n+=" if (rootData === undefined) rootData = data; "}else{u=e.level,m="data"+((l=e.dataLevel)||"");if(a&&(e.baseId=e.resolve.url(e.baseId,a)),o&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+u+" = errors;"}g="valid"+u,d=!e.opts.allErrors;var E="",w="",x=e.schema.type,S=Array.isArray(x);if(x&&e.opts.nullable&&!0===e.schema.nullable&&(S?-1==x.indexOf("null")&&(x=x.concat("null")):"null"!=x&&(x=[x,"null"],S=!0)),S&&1==x.length&&(x=x[0],S=!1),e.schema.$ref&&i){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(i=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(n+=" "+e.RULES.all.$comment.code(e,"$comment")),x){if(e.opts.coerceTypes)var A=e.util.coerceToTypes(e.opts.coerceTypes,x);var k=e.RULES.types[x];if(A||S||!0===k||k&&!Y(k)){h=e.schemaPath+".type",p=e.errSchemaPath+"/type",h=e.schemaPath+".type",p=e.errSchemaPath+"/type";var D=S?"checkDataTypes":"checkDataType";if(n+=" if ("+e.util[D](x,m,e.opts.strictNumbers,!0)+") { ",A){var C="dataType"+u,F="coerced"+u;n+=" var "+C+" = typeof "+m+"; var "+F+" = undefined; ","array"==e.opts.coerceTypes&&(n+=" if ("+C+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+C+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+F+" = "+m+"; } "),n+=" if ("+F+" !== undefined) ; ";var P=A;if(P)for(var O,T=-1,j=P.length-1;T<j;)"string"==(O=P[T+=1])?n+=" else if ("+C+" == 'number' || "+C+" == 'boolean') "+F+" = '' + "+m+"; else if ("+m+" === null) "+F+" = ''; ":"number"==O||"integer"==O?(n+=" else if ("+C+" == 'boolean' || "+m+" === null || ("+C+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==O&&(n+=" && !("+m+" % 1)"),n+=")) "+F+" = +"+m+"; "):"boolean"==O?n+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+F+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+F+" = true; ":"null"==O?n+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+F+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(n+=" else if ("+C+" == 'string' || "+C+" == 'number' || "+C+" == 'boolean' || "+m+" == null) "+F+" = ["+m+"]; ");n+=" else { ",(Z=Z||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Z.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } if ("+F+" !== undefined) { ";var I=l?"data"+(l-1||""):"parentData";n+=" "+m+" = "+F+"; ",l||(n+="if ("+I+" !== undefined)"),n+=" "+I+"["+(l?e.dataPathArr[l]:"parentDataProperty")+"] = "+F+"; } "}else{(Z=Z||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Z.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } "}}if(e.schema.$ref&&!i)n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(n+=" } if (errors === ",n+=v?"0":"errs_"+u,n+=") { ",w+="}");else{var _=e.RULES;if(_)for(var R=-1,B=_.length-1;R<B;)if(Y(k=_[R+=1])){if(k.type&&(n+=" if ("+e.util.checkDataType(k.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==k.type&&e.schema.properties){f=e.schema.properties;var L=Object.keys(f);if(L)for(var N,M=-1,H=L.length-1;M<H;){if(void 0!==($=f[N=L[M+=1]]).default){var z=m+e.util.getProperty(N);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+z;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+z+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+z+" === null || "+z+" === '' "),n+=" ) "+z+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault($.default)+" ":n+=" "+JSON.stringify($.default)+" ",n+="; "}}}else if("array"==k.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U){T=-1;for(var $,q=U.length-1;T<q;)if(void 0!==($=U[T+=1]).default){z=m+"["+T+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+z;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else n+=" if ("+z+" === undefined ","empty"==e.opts.useDefaults&&(n+=" || "+z+" === null || "+z+" === '' "),n+=" ) "+z+" = ","shared"==e.opts.useDefaults?n+=" "+e.useDefault($.default)+" ":n+=" "+JSON.stringify($.default)+" ",n+="; "}}}var V=k.rules;if(V)for(var G,W=-1,Q=V.length-1;W<Q;)if(X(G=V[W+=1])){var K=G.code(e,G.keyword,k.type);K&&(n+=" "+K+" ",d&&(E+="}"))}if(d&&(n+=" "+E+" ",E=""),k.type&&(n+=" } ",x&&x===k.type&&!A)){n+=" else { ";var Z;h=e.schemaPath+".type",p=e.errSchemaPath+"/type";(Z=Z||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=S?""+x.join(","):""+x,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=S?""+x.join(","):""+x,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";y=n;n=Z.pop(),!e.compositeRule&&d?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } "}d&&(n+=" if (errors === ",n+=v?"0":"errs_"+u,n+=") { ",w+="}")}}function Y(e){for(var t=e.rules,r=0;r<t.length;r++)if(X(t[r]))return!0}function X(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var r=t.implements,n=0;n<r.length;n++)if(void 0!==e.schema[r[n]])return!0}(t)}return d&&(n+=" "+w+" "),v?(o?(n+=" if (errors === 0) return data; ",n+=" else throw new ValidationError(vErrors); "):(n+=" validate.errors = vErrors; ",n+=" return errors === 0; "),n+=" }; return validate;"):n+=" var "+g+" = errors === errs_"+u+";",n}},7587:(e,t,r)=>{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i,o=r(5554),i=r(6152);e.exports={add:function(e,t){var r=this.RULES;if(r.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var i=t.type;if(Array.isArray(i))for(var a=0;a<i.length;a++)c(e,i[a],t);else c(e,i,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function c(e,t,n){for(var i,a=0;a<r.length;a++){var s=r[a];if(s.type==t){i=s;break}}i||(i={type:t,rules:[]},r.push(i));var c={keyword:e,definition:n,custom:!0,code:o,implements:n.implements};i.rules.push(c),r.custom[e]=c}return r.keywords[e]=r.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var n=t[r].rules,o=0;o<n.length;o++)if(n[o].keyword==e){n.splice(o,1);break}return this},validate:function e(t,r){e.errors=null;var n=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(n(t))return!0;if(e.errors=n.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(n.errors));return!1}}},9619:(e,t,r)=>{"use strict";var n=r(7061);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i,a,s=r(1404).codes,c=s.ERR_AMBIGUOUS_ARGUMENT,u=s.ERR_INVALID_ARG_TYPE,l=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,h=s.ERR_MISSING_ARGS,p=r(7366),d=r(1323).inspect,m=r(1323).types,g=m.isPromise,y=m.isRegExp,v=Object.assign?Object.assign:r(2098).assign,b=Object.is?Object.is:r(3822);new Map;function E(){var e=r(118);i=e.isDeepEqual,a=e.isDeepStrictEqual}var w=!1,x=e.exports=D,S={};function A(e){if(e.message instanceof Error)throw e.message;throw new p(e)}function k(e,t,r,n){if(!r){var o=!1;if(0===t)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new p({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function D(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];k.apply(void 0,[D,t.length].concat(t))}x.fail=function e(t,r,o,i,a){var s,c=arguments.length;if(0===c)s="Failed";else if(1===c)o=t,t=void 0;else{if(!1===w){w=!0;var u=n.emitWarning?n.emitWarning:console.warn.bind(console);u("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===c&&(i="!=")}if(o instanceof Error)throw o;var l={actual:t,expected:r,operator:void 0===i?"fail":i,stackStartFn:a||e};void 0!==o&&(l.message=o);var f=new p(l);throw s&&(f.message=s,f.generatedMessage=!0),f},x.AssertionError=p,x.ok=D,x.equal=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t!=r&&A({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},x.notEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t==r&&A({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},x.deepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)||A({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},x.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)&&A({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},x.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),a(t,r)||A({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},x.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E();a(t,r)&&A({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},x.strictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)||A({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},x.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)&&A({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var C=function e(t,r,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.forEach((function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&y(t[e])&&t[e].test(n[e])?o[e]=n[e]:o[e]=t[e])}))};function F(e,t,r,n,o,i){if(!(r in e)||!a(e[r],t[r])){if(!n){var s=new C(e,o),c=new C(t,o,e),u=new p({actual:s,expected:c,operator:"deepStrictEqual",stackStartFn:i});throw u.actual=e,u.expected=t,u.operator=i.name,u}A({actual:e,expected:t,message:n,operator:i.name,stackStartFn:i})}}function P(e,t,r,n){if("function"!=typeof t){if(y(t))return t.test(e);if(2===arguments.length)throw new u("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var a=new p({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw a.operator=n.name,a}var s=Object.keys(t);if(t instanceof Error)s.push("name","message");else if(0===s.length)throw new l("error",t,"may not be an empty object");return void 0===i&&E(),s.forEach((function(o){"string"==typeof e[o]&&y(t[o])&&t[o].test(e[o])||F(e,t,o,r,s,n)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e){if("function"!=typeof e)throw new u("fn","Function",e);try{e()}catch(e){return e}return S}function T(e){return g(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!T(t=e()))throw new f("instance of Promise","promiseFn",t)}else{if(!T(e))throw new u("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return S})).catch((function(e){return e}))}))}function I(e,t,r,n){if("string"==typeof r){if(4===arguments.length)throw new u("error",["Object","Error","Function","RegExp"],r);if("object"===o(t)&&null!==t){if(t.message===r)throw new c("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new c("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==o(r)&&"function"!=typeof r)throw new u("error",["Object","Error","Function","RegExp"],r);if(t===S){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";A({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(r&&!P(t,r,n,e))throw t}function _(e,t,r,n){if(t!==S){if("string"==typeof r&&(n=r,r=void 0),!r||P(t,r)){var o=n?": ".concat(n):".",i="doesNotReject"===e.name?"rejection":"exception";A({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function R(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];k.apply(void 0,[R,t.length].concat(t))}x.throws=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];I.apply(void 0,[e,O(t)].concat(n))},x.rejects=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return j(t).then((function(t){return I.apply(void 0,[e,t].concat(n))}))},x.doesNotThrow=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];_.apply(void 0,[e,O(t)].concat(n))},x.doesNotReject=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return j(t).then((function(t){return _.apply(void 0,[e,t].concat(n))}))},x.ifError=function e(t){if(null!=t){var r="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?r+=t.constructor.name:r+=t.message:r+=d(t);var n=new p({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=n.stack.split("\n"),c=0;c<a.length;c++){var u=s.indexOf(a[c]);if(-1!==u){s=s.slice(0,u);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},x.strict=v(R,x,{equal:x.strictEqual,deepEqual:x.deepStrictEqual,notEqual:x.notStrictEqual,notDeepEqual:x.notDeepStrictEqual}),x.strict.strict=x.strict},7366:(e,t,r)=>{"use strict";var n=r(7061);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,h(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},c(e)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,r){return l=u()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&f(o,r.prototype),o},l.apply(null,arguments)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var d=r(1323).inspect,m=r(1404).codes.ERR_INVALID_ARG_TYPE;function g(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var y="",v="",b="",E="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function x(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){r[t]=e[t]})),Object.defineProperty(r,"message",{value:e.message}),r}function S(e){return d(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function A(e,t,r){var o="",i="",a=0,s="",c=!1,u=S(e),l=u.split("\n"),f=S(t).split("\n"),h=0,d="";if("strictEqual"===r&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===l.length&&1===f.length&&l[0]!==f[0]){var m=l[0].length+f[0].length;if(m<=10){if(!("object"===p(e)&&null!==e||"object"===p(t)&&null!==t||0===e&&0===t))return"".concat(w[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(m<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][h]===f[0][h];)h++;h>2&&(d="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",h),"^"),h=0)}}}for(var x=l[l.length-1],A=f[f.length-1];x===A&&(h++<2?s="\n ".concat(x).concat(s):o=x,l.pop(),f.pop(),0!==l.length&&0!==f.length);)x=l[l.length-1],A=f[f.length-1];var k=Math.max(l.length,f.length);if(0===k){var D=u.split("\n");if(D.length>30)for(D[26]="".concat(y,"...").concat(E);D.length>27;)D.pop();return"".concat(w.notIdentical,"\n\n").concat(D.join("\n"),"\n")}h>3&&(s="\n".concat(y,"...").concat(E).concat(s),c=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var C=0,F=w[r]+"\n".concat(v,"+ actual").concat(E," ").concat(b,"- expected").concat(E),P=" ".concat(y,"...").concat(E," Lines skipped");for(h=0;h<k;h++){var O=h-a;if(l.length<h+1)O>1&&h>2&&(O>4?(i+="\n".concat(y,"...").concat(E),c=!0):O>3&&(i+="\n ".concat(f[h-2]),C++),i+="\n ".concat(f[h-1]),C++),a=h,o+="\n".concat(b,"-").concat(E," ").concat(f[h]),C++;else if(f.length<h+1)O>1&&h>2&&(O>4?(i+="\n".concat(y,"...").concat(E),c=!0):O>3&&(i+="\n ".concat(l[h-2]),C++),i+="\n ".concat(l[h-1]),C++),a=h,i+="\n".concat(v,"+").concat(E," ").concat(l[h]),C++;else{var T=f[h],j=l[h],I=j!==T&&(!g(j,",")||j.slice(0,-1)!==T);I&&g(T,",")&&T.slice(0,-1)===j&&(I=!1,j+=","),I?(O>1&&h>2&&(O>4?(i+="\n".concat(y,"...").concat(E),c=!0):O>3&&(i+="\n ".concat(l[h-2]),C++),i+="\n ".concat(l[h-1]),C++),a=h,i+="\n".concat(v,"+").concat(E," ").concat(j),o+="\n".concat(b,"-").concat(E," ").concat(T),C+=2):(i+=o,o="",1!==O&&0!==h||(i+="\n ".concat(j),C++))}if(C>20&&h<k-2)return"".concat(F).concat(P,"\n").concat(i,"\n").concat(y,"...").concat(E).concat(o,"\n")+"".concat(y,"...").concat(E)}return"".concat(F).concat(c?P:"","\n").concat(i).concat(o).concat(s).concat(d)}var k=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==p(e)||null===e)throw new m("options","Object",e);var o=e.message,i=e.operator,c=e.stackStartFn,u=e.actual,l=e.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,h(t).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(y="",v="",E="",b=""):(y="",v="",E="",b="")),"object"===p(u)&&null!==u&&"object"===p(l)&&null!==l&&"stack"in u&&u instanceof Error&&"stack"in l&&l instanceof Error&&(u=x(u),l=x(l)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,h(t).call(this,A(u,l,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=w[i],g=S(u).split("\n");if("notStrictEqual"===i&&"object"===p(u)&&null!==u&&(d=w.notStrictEqualObject),g.length>30)for(g[26]="".concat(y,"...").concat(E);g.length>27;)g.pop();r=1===g.length?a(this,h(t).call(this,"".concat(d," ").concat(g[0]))):a(this,h(t).call(this,"".concat(d,"\n\n").concat(g.join("\n"),"\n")))}else{var k=S(u),D="",C=w[i];"notDeepEqual"===i||"notEqual"===i?(k="".concat(w[i],"\n\n").concat(k)).length>1024&&(k="".concat(k.slice(0,1021),"...")):(D="".concat(S(l)),k.length>512&&(k="".concat(k.slice(0,509),"...")),D.length>512&&(D="".concat(D.slice(0,509),"...")),"deepEqual"===i||"equal"===i?k="".concat(C,"\n\n").concat(k,"\n\nshould equal\n\n"):D=" ".concat(i," ").concat(D)),r=a(this,h(t).call(this,"".concat(k).concat(D)))}return Error.stackTraceLimit=f,r.generatedMessage=!o,Object.defineProperty(s(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=u,r.expected=l,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(r),c),r.stack,r.name="AssertionError",a(r)}var r,c,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),r=t,c=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(e,t){return d(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){o(e,t,r[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],c&&i(r.prototype,c),u&&i(r,u),t}(c(Error));e.exports=k},1404:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}var s,c,u={};function l(e,t,r){r||(r=Error);var n=function(r){function n(r,a,s){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),c=o(this,i(n).call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,a,s))),c.code=e,c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(n,r),n}(r);u[e]=n}function f(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(e,t,o){var i,a,c,u;if(void 0===s&&(s=r(9619)),s("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!c||c<0?0:+c,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))u="The ".concat(e," ").concat(i," ").concat(f(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(f(t,"type"))}return u+=". Received type ".concat(n(o))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=r(1323));var o=c.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(o)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(e,t,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];void 0===s&&(s=r(9619)),s(t.length>0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", "),o+=", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),e.exports.codes=u},118:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,r){return t.push([r,e])})),t},c=Object.is?Object.is:r(3822),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:r(4866);function f(e){return e.call.bind(e)}var h=f(Object.prototype.hasOwnProperty),p=f(Object.prototype.propertyIsEnumerable),d=f(Object.prototype.toString),m=r(1323).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,v=m.isDate,b=m.isMap,E=m.isRegExp,w=m.isSet,x=m.isNativeError,S=m.isBoxedPrimitive,A=m.isNumberObject,k=m.isStringObject,D=m.isBooleanObject,C=m.isBigIntObject,F=m.isSymbolObject,P=m.isFloat32Array,O=m.isFloat64Array;function T(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<48||r>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function j(e){return Object.keys(e).filter(T).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}
25
10
  /*!
26
11
  * The buffer module from node.js, for the browser.
27
12
  *
28
13
  * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
29
14
  * @license MIT
30
- */function _(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function I(e,t,r,n){if(e===t)return 0!==e||(!r||u(e,t));if(r){if("object"!==i(e))return"number"==typeof e&&l(e)&&l(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var a,s,c,f,p=d(e);if(p!==d(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var h=j(e),m=j(t);return h.length===m.length&&L(e,t,r,n,1,h)}if("[object Object]"===p&&(!b(e)&&b(t)||!w(e)&&w(t)))return!1;if(v(e)){if(!v(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(E(e)){if(!E(t)||(c=e,f=t,!(o?c.source===f.source&&c.flags===f.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(f))))return!1}else if(x(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(y(e)){if(r||!P(e)&&!O(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===_(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}(e,t))return!1;var T=j(e),I=j(t);return T.length===I.length&&L(e,t,r,n,0,T)}if(w(e))return!(!w(t)||e.size!==t.size)&&L(e,t,r,n,2);if(b(e))return!(!b(t)||e.size!==t.size)&&L(e,t,r,n,3);if(g(e)){if(s=t,(a=e).byteLength!==s.byteLength||0!==_(new Uint8Array(a),new Uint8Array(s)))return!1}else if(S(e)&&!function(e,t){return k(e)?k(t)&&u(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):A(e)?A(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):D(e)?D(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):C(e)?C(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):F(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return L(e,t,r,n,0)}function R(e,t){return t.filter((function(t){return h(e,t)}))}function L(e,t,r,n,i,o){if(5===arguments.length){o=Object.keys(e);var a=Object.keys(t);if(o.length!==a.length)return!1}for(var s=0;s<o.length;s++)if(!p(t,o[s]))return!1;if(r&&5===arguments.length){var u=c(e);if(0!==u.length){var l=0;for(s=0;s<u.length;s++){var f=u[s];if(h(e,f)){if(!h(t,f))return!1;o.push(f),l++}else if(h(t,f))return!1}var d=c(t);if(u.length!==d.length&&R(t,d).length!==l)return!1}else{var m=c(t);if(0!==m.length&&0!==R(t,m).length)return!1}}if(0===o.length&&(0===i||1===i&&0===e.length||0===e.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var g=n.val1.get(e);if(void 0!==g){var y=n.val2.get(t);if(void 0!==y)return g===y}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var v=$(e,t,r,o,n,i);return n.val1.delete(e),n.val2.delete(t),v}function N(e,t,r,n){for(var i=a(e),o=0;o<i.length;o++){var s=i[o];if(I(t,s,r,n))return e.delete(s),!0}return!1}function M(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(l(e))return!1}return!0}function B(e,t,r){var n=M(r);return null!=n?n:t.has(n)&&!e.has(n)}function z(e,t,r,n,i){var o=M(r);if(null!=o)return o;var a=t.get(o);return!(void 0===a&&!t.has(o)||!I(n,a,!1,i))&&(!e.has(o)&&I(n,a,!1,i))}function U(e,t,r,n,i,o){for(var s=a(e),u=0;u<s.length;u++){var c=s[u];if(I(r,c,i,o)&&I(n,t.get(c),i,o))return e.delete(c),!0}return!1}function $(e,t,r,o,u,c){var l=0;if(2===c){if(!function(e,t,r,n){for(var o=null,s=a(e),u=0;u<s.length;u++){var c=s[u];if("object"===i(c)&&null!==c)null===o&&(o=new Set),o.add(c);else if(!t.has(c)){if(r)return!1;if(!B(e,t,c))return!1;null===o&&(o=new Set),o.add(c)}}if(null!==o){for(var l=a(t),f=0;f<l.length;f++){var p=l[f];if("object"===i(p)&&null!==p){if(!N(o,p,r,n))return!1}else if(!r&&!e.has(p)&&!N(o,p,r,n))return!1}return 0===o.size}return!0}(e,t,r,u))return!1}else if(3===c){if(!function(e,t,r,o){for(var a=null,u=s(e),c=0;c<u.length;c++){var l=n(u[c],2),f=l[0],p=l[1];if("object"===i(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var h=t.get(f);if(void 0===h&&!t.has(f)||!I(p,h,r,o)){if(r)return!1;if(!z(e,t,f,p,o))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var d=s(t),m=0;m<d.length;m++){var g=n(d[m],2),y=(f=g[0],g[1]);if("object"===i(f)&&null!==f){if(!U(a,e,f,y,r,o))return!1}else if(!(r||e.has(f)&&I(e.get(f),y,!1,o)||U(a,e,f,y,!1,o)))return!1}return 0===a.size}return!0}(e,t,r,u))return!1}else if(1===c)for(;l<e.length;l++){if(!p(e,l)){if(p(t,l))return!1;for(var f=Object.keys(e);l<f.length;l++){var h=f[l];if(!p(t,h)||!I(e[h],t[h],r,u))return!1}return f.length===Object.keys(t).length}if(!p(t,l)||!I(e[l],t[l],r,u))return!1}for(l=0;l<o.length;l++){var d=o[l];if(!I(e[d],t[d],r,u))return!1}return!0}e.exports={isDeepEqual:function(e,t){return I(e,t,false)},isDeepStrictEqual:function(e,t){return I(e,t,true)}}},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),i=r(4570),o=r(2940),a=r(581),s=r(574),u=r(3845),c=r(8338),l=r(8524),f=r(4832),p=r(7132);e.exports=function(e){return new Promise((function(t,r){var h,d=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(d)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+E)}var w=s(e.baseURL,e.url);function x(){if(v){var n="getAllResponseHeaders"in v?u(v.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};i((function(e){t(e),y()}),(function(e){r(e),y()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(x)},v.onabort=function(){v&&(r(l("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(l("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||c(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;S&&(m[e.xsrfHeaderName]=S)}"setRequestHeader"in v&&n.forEach(m,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),g&&"json"!==g&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),d||(d=null),v.send(d)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),i=r(875),o=r(5029),a=r(4941);var s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=o,s.Cancel=r(7132),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},7132:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4603:(e,t,r)=>{"use strict";var n=r(7132);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),i=r(581),o=r(8096),a=r(5009),s=r(4941),u=r(6144),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!i){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(l),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var p=t;n.length;){var h=n.shift(),d=n.shift();try{p=h(p)}catch(e){d(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=l},8096:(e,t,r)=>{"use strict";var n=r(7485);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},574:(e,t,r)=>{"use strict";var n=r(2642),i=r(2288);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},8524:(e,t,r)=>{"use strict";var n=r(9953);e.exports=function(e,t,r,i,o){var a=new Error(e);return n(a,t,r,i,o)}},5009:(e,t,r)=>{"use strict";var n=r(7485),i=r(9212),o=r(1475),a=r(8396),s=r(7132);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9953:e=>{"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function u(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==u||(r[e]=i)})),r}},4570:(e,t,r)=>{"use strict";var n=r(8524);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),i=r(8396);e.exports=function(e,t,r){var o=this||i;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),i=r(7485),o=r(1446),a=r(9953),s=r(4832),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,f={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(l=r(4387)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),function(e,t,r){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){f.headers[e]=i.merge(u)})),e.exports=f},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.26.1"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3845:(e,t,r)=>{"use strict";var n=r(7485),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var o=n[i],a=t[o];if(a){var s=e[o],u=void 0===s||a(s,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:i}},7485:(e,t,r)=>{"use strict";var n=r(875),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return u(e)&&l(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},9958:(e,t,r)=>{"use strict";r.d(t,{D:()=>i,Z:()=>o});var n=r(7363);const i={desktop:"desktop",mobile:"mobile"};function o(){function e(){return window.innerWidth>996?i.desktop:i.mobile}const[t,r]=(0,n.useState)(e);return(0,n.useEffect)((()=>{function t(){r(e())}return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[]),t}},9377:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},2737:(e,t,r)=>{"use strict";var n=r(8750),i=r(4573),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},4573:(e,t,r)=>{"use strict";var n=r(132),i=r(8750),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(n,a,arguments);if(u&&c){var r=u(t,"length");r.configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(n,o,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},6725:function(e,t,r){var n;e.exports=(n=r(8112),r(8885),r(4678),r(6165),r(8976),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,i=[],o=[],a=[],s=[],u=[],c=[],l=[],f=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,i[r]=d,o[d]=r;var m=e[r],g=e[m],y=e[g],v=257*e[d]^16843008*d;a[r]=v<<24|v>>>8,s[r]=v<<16|v>>>16,u[r]=v<<8|v>>>24,c[r]=v,v=16843009*y^65537*g^257*m^16843008*r,l[d]=v<<24|v>>>8,f[d]=v<<16|v>>>16,p[d]=v<<8|v>>>24,h[d]=v,r?(r=m^e[e[e[y^m]]],n^=e[e[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],a=0;a<n;a++)a<r?o[a]=t[a]:(c=o[a-1],a%r?r>6&&a%r==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=d[a/r|0]<<24),o[a]=o[a-r]^c);for(var s=this._invKeySchedule=[],u=0;u<n;u++){if(a=n-u,u%4)var c=o[a];else c=o[a-4];s[u]=u<4||a<=4?c:l[i[c>>>24]]^f[i[c>>>16&255]]^p[i[c>>>8&255]]^h[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,c,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,f,p,h,o),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,a,s){for(var u=this._nRounds,c=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],p=e[t+3]^r[3],h=4,d=1;d<u;d++){var m=n[c>>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&p]^r[h++],g=n[l>>>24]^i[f>>>16&255]^o[p>>>8&255]^a[255&c]^r[h++],y=n[f>>>24]^i[p>>>16&255]^o[c>>>8&255]^a[255&l]^r[h++],v=n[p>>>24]^i[c>>>16&255]^o[l>>>8&255]^a[255&f]^r[h++];c=m,l=g,f=y,p=v}m=(s[c>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^r[h++],g=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^r[h++],y=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&l])^r[h++],v=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[h++],e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=v},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},8976:function(e,t,r){var n;e.exports=(n=r(8112),r(6165),void(n.lib.Cipher||function(e){var t=n,r=t.lib,i=r.Base,o=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,u=(s.Utf8,s.Base64),c=t.algo.EvpKDF,l=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:y}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),f=(r.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),p=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=f.CBC=function(){var t=p.extend();function r(t,r,n){var i,o=this._iv;o?(i=o,this._iv=e):i=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=i[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=o}}),t}(),d=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var u=o.create(a,n);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(r.BlockCipher=l.extend({cfg:l.cfg.extend({mode:h,padding:d}),reset:function(){var e;l.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?o.create([1398893684,1701076831]).concat(r).concat(t):t).toString(u)},parse:function(e){var t,r=u.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},y=r.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),a=i.cfg;return m.create({ciphertext:o,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(t.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=o.random(8));var i=c.create({keySize:t+r}).compute(e,n),a=o.create(i.words.slice(t),4*r);return i.sigBytes=4*t,m.create({key:i,iv:a,salt:n})}},b=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=i.iv;var o=y.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=i.iv,y.decrypt.call(this,e,t,i.key,n)}})}()))},8112:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(429)}catch(e){}var i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},u=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=u.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new c.init(t,e)}}),l=a.enc={},f=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},p=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},h=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},d=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);r=i.splice(0,u),n.sigBytes-=l}return new c.init(r,l)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=d.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math),n)},8885:function(e,t,r){var n;e.exports=(n=r(8112),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var i=[],o=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<r;s++)i.push(n.charAt(a>>>6*(3-s)&63));var u=n.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},6287:function(e,t,r){var n;e.exports=(n=r(8112),n.enc.Utf8)},6165:function(e,t,r){var n,i,o,a,s,u,c,l;e.exports=(l=r(8112),r(1284),r(3456),i=(n=l).lib,o=i.Base,a=i.WordArray,s=n.algo,u=s.MD5,c=s.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:u,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),o=a.create(),s=o.words,u=n.keySize,c=n.iterations;s.length<u;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var l=1;l<c;l++)r=i.finalize(r),i.reset();o.concat(r)}return o.sigBytes=4*u,o}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},l.EvpKDF)},3456:function(e,t,r){var n,i,o,a;e.exports=(n=r(8112),o=(i=n).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),s=i.words,u=o.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=909522486;i.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},4678:function(e,t,r){var n;e.exports=(n=r(8112),function(e){var t=n,r=t.lib,i=r.WordArray,o=r.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],u=e[t+1],h=e[t+2],d=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],v=e[t+7],b=e[t+8],E=e[t+9],w=e[t+10],x=e[t+11],S=e[t+12],k=e[t+13],A=e[t+14],D=e[t+15],C=o[0],F=o[1],P=o[2],O=o[3];C=c(C,F,P,O,a,7,s[0]),O=c(O,C,F,P,u,12,s[1]),P=c(P,O,C,F,h,17,s[2]),F=c(F,P,O,C,d,22,s[3]),C=c(C,F,P,O,m,7,s[4]),O=c(O,C,F,P,g,12,s[5]),P=c(P,O,C,F,y,17,s[6]),F=c(F,P,O,C,v,22,s[7]),C=c(C,F,P,O,b,7,s[8]),O=c(O,C,F,P,E,12,s[9]),P=c(P,O,C,F,w,17,s[10]),F=c(F,P,O,C,x,22,s[11]),C=c(C,F,P,O,S,7,s[12]),O=c(O,C,F,P,k,12,s[13]),P=c(P,O,C,F,A,17,s[14]),C=l(C,F=c(F,P,O,C,D,22,s[15]),P,O,u,5,s[16]),O=l(O,C,F,P,y,9,s[17]),P=l(P,O,C,F,x,14,s[18]),F=l(F,P,O,C,a,20,s[19]),C=l(C,F,P,O,g,5,s[20]),O=l(O,C,F,P,w,9,s[21]),P=l(P,O,C,F,D,14,s[22]),F=l(F,P,O,C,m,20,s[23]),C=l(C,F,P,O,E,5,s[24]),O=l(O,C,F,P,A,9,s[25]),P=l(P,O,C,F,d,14,s[26]),F=l(F,P,O,C,b,20,s[27]),C=l(C,F,P,O,k,5,s[28]),O=l(O,C,F,P,h,9,s[29]),P=l(P,O,C,F,v,14,s[30]),C=f(C,F=l(F,P,O,C,S,20,s[31]),P,O,g,4,s[32]),O=f(O,C,F,P,b,11,s[33]),P=f(P,O,C,F,x,16,s[34]),F=f(F,P,O,C,A,23,s[35]),C=f(C,F,P,O,u,4,s[36]),O=f(O,C,F,P,m,11,s[37]),P=f(P,O,C,F,v,16,s[38]),F=f(F,P,O,C,w,23,s[39]),C=f(C,F,P,O,k,4,s[40]),O=f(O,C,F,P,a,11,s[41]),P=f(P,O,C,F,d,16,s[42]),F=f(F,P,O,C,y,23,s[43]),C=f(C,F,P,O,E,4,s[44]),O=f(O,C,F,P,S,11,s[45]),P=f(P,O,C,F,D,16,s[46]),C=p(C,F=f(F,P,O,C,h,23,s[47]),P,O,a,6,s[48]),O=p(O,C,F,P,v,10,s[49]),P=p(P,O,C,F,A,15,s[50]),F=p(F,P,O,C,g,21,s[51]),C=p(C,F,P,O,S,6,s[52]),O=p(O,C,F,P,d,10,s[53]),P=p(P,O,C,F,w,15,s[54]),F=p(F,P,O,C,u,21,s[55]),C=p(C,F,P,O,b,6,s[56]),O=p(O,C,F,P,D,10,s[57]),P=p(P,O,C,F,y,15,s[58]),F=p(F,P,O,C,k,21,s[59]),C=p(C,F,P,O,m,6,s[60]),O=p(O,C,F,P,x,10,s[61]),P=p(P,O,C,F,h,15,s[62]),F=p(F,P,O,C,E,21,s[63]),o[0]=o[0]+C|0,o[1]=o[1]+F|0,o[2]=o[2]+P|0,o[3]=o[3]+O|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var o=e.floor(n/4294967296),a=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+i+a;return(s<<o|s>>>32-o)+t}function l(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,r,n,i,o,a){var s=e+(t^r^n)+i+a;return(s<<o|s>>>32-o)+t}function p(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(u),t.HmacMD5=o._createHmacHelper(u)}(Math),n.MD5)},1284:function(e,t,r){var n,i,o,a,s,u,c,l;e.exports=(l=r(8112),i=(n=l).lib,o=i.WordArray,a=i.Hasher,s=n.algo,u=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=0;c<80;c++){if(c<16)u[c]=0|e[t+c];else{var l=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=l<<1|l>>>31}var f=(n<<5|n>>>27)+s+u[c];f+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},301:(e,t,r)=>{"use strict";var n=r(8777),i=r(1941),o=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];this.pseudos[i]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];delete this.pseudos[i]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];this.pseudos[i]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];delete this.pseudos[i]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];this.ruleNestingOperators[i]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];delete this.ruleNestingOperators[i]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];this.attrEqualityMods[i]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];delete this.attrEqualityMods[i]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return n.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return i.renderEntity(e).trim()},e}();t.N=o},8777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6517);t.parseCssSelector=function(e,t,r,i,o,a){var s=e.length,u="";function c(r,i){var o="";for(t++,u=e.charAt(t);t<s;){if(u===r)return t++,o;if("\\"===u){t++;var a=void 0;if((u=e.charAt(t))===r)o+=r;else if(void 0!==(a=i[u]))o+=a;else{if(n.isHex(u)){var c=u;for(t++,u=e.charAt(t);n.isHex(u);)c+=u,t++,u=e.charAt(t);" "===u&&(t++,u=e.charAt(t)),o+=String.fromCharCode(parseInt(c,16));continue}o+=u}}else o+=u;t++,u=e.charAt(t)}return o}function l(){var r="";for(u=e.charAt(t);t<s;){if(n.isIdent(u))r+=u;else{if("\\"!==u)return r;if(++t>=s)throw Error("Expected symbol but end of file reached.");if(u=e.charAt(t),n.identSpecialChars[u])r+=u;else{if(n.isHex(u)){var i=u;for(t++,u=e.charAt(t);n.isHex(u);)i+=u,t++,u=e.charAt(t);" "===u&&(t++,u=e.charAt(t)),r+=String.fromCharCode(parseInt(i,16));continue}r+=u}}t++,u=e.charAt(t)}return r}function f(){u=e.charAt(t);for(var r=!1;" "===u||"\t"===u||"\n"===u||"\r"===u||"\f"===u;)r=!0,t++,u=e.charAt(t);return r}function p(){var r=h();if(!r)return null;var n=r;for(u=e.charAt(t);","===u;){if(t++,f(),"selectors"!==n.type&&(n={type:"selectors",selectors:[r]}),!(r=h()))throw Error('Rule expected after ",".');n.selectors.push(r)}return n}function h(){f();var r={type:"ruleSet"},n=d();if(!n)return null;for(var i=r;n&&(n.type="rule",i.rule=n,i=n,f(),u=e.charAt(t),!(t>=s||","===u||")"===u));)if(o[u]){var a=u;if(t++,f(),!(n=d()))throw Error('Rule expected after "'+a+'".');n.nestingOperator=a}else(n=d())&&(n.nestingOperator=null);return r}function d(){for(var o=null;t<s;)if("*"===(u=e.charAt(t)))t++,(o=o||{}).tagName="*";else if(n.isIdentStart(u)||"\\"===u)(o=o||{}).tagName=l();else if("."===u)t++,((o=o||{}).classNames=o.classNames||[]).push(l());else if("#"===u)t++,(o=o||{}).id=l();else if("["===u){t++,f();var h={name:l()};if(f(),"]"===u)t++;else{var d="";if(i[u]&&(d=u,t++,u=e.charAt(t)),t>=s)throw Error('Expected "=" but end of file reached.');if("="!==u)throw Error('Expected "=" but "'+u+'" found.');h.operator=d+"=",t++,f();var m="";if(h.valueType="string",'"'===u)m=c('"',n.doubleQuotesEscapeChars);else if("'"===u)m=c("'",n.singleQuoteEscapeChars);else if(a&&"$"===u)t++,m=l(),h.valueType="substitute";else{for(;t<s&&"]"!==u;)m+=u,t++,u=e.charAt(t);m=m.trim()}if(f(),t>=s)throw Error('Expected "]" but end of file reached.');if("]"!==u)throw Error('Expected "]" but "'+u+'" found.');t++,h.value=m}((o=o||{}).attrs=o.attrs||[]).push(h)}else{if(":"!==u)break;t++;var g=l(),y={name:g};if("("===u){t++;var v="";if(f(),"selector"===r[g])y.valueType="selector",v=p();else{if(y.valueType=r[g]||"string",'"'===u)v=c('"',n.doubleQuotesEscapeChars);else if("'"===u)v=c("'",n.singleQuoteEscapeChars);else if(a&&"$"===u)t++,v=l(),y.valueType="substitute";else{for(;t<s&&")"!==u;)v+=u,t++,u=e.charAt(t);v=v.trim()}f()}if(t>=s)throw Error('Expected ")" but end of file reached.');if(")"!==u)throw Error('Expected ")" but "'+u+'" found.');t++,y.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(y)}return o}return function(){var r=p();if(t<s)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return r}()}},1941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6517);t.renderEntity=function e(t){var r="";switch(t.type){case"ruleSet":for(var i=t.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(e(i)),i=i.rule;r=o.join(" ");break;case"selectors":r=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(r="*"===t.tagName?"*":n.escapeIdentifier(t.tagName)),t.id&&(r+="#"+n.escapeIdentifier(t.id)),t.classNames&&(r+=t.classNames.map((function(e){return"."+n.escapeIdentifier(e)})).join("")),t.attrs&&(r+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+n.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+n.escapeIdentifier(e.name)+e.operator+n.escapeStr(e.value)+"]":"["+n.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(r+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+n.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+t.value+")":":"+n.escapeIdentifier(t.name)+"("+n.escapeIdentifier(t.value)+")":":"+n.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return r}},6517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var r=e.length,n="",i=0;i<r;){var o=e.charAt(i);if(t.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==i&&o>="0"&&o<="9")n+=o;else{var a=o.charCodeAt(0);if(55296==(63488&a)){var s=e.charCodeAt(i++);if(55296!=(64512&a)||56320!=(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}n+="\\"+a.toString(16)+" "}i++}return n},t.escapeStr=function(e){for(var r,n=e.length,i="",o=0;o<n;){var a=e.charAt(o);'"'===a?a='\\"':"\\"===a?a="\\\\":void 0!==(r=t.strReplacementsRev[a])&&(a=r),i+=a,o++}return'"'+i+'"'},t.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},1998:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp(t,"gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var i=o(r[0]);i!==r[0]&&(t[r[0]]=i)}r=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var u=a[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},286:(e,t,r)=>{"use strict";var n=r(4733),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,r,n){var i;(!(t in e)||"function"==typeof(i=n)&&"[object Function]"===o.call(i)&&n())&&(u?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},l=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],r[o[s]])};l.supportsDescriptors=!!u,e.exports=l},2098:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a++){var u=o[a],c=Object.getOwnPropertyDescriptor(i,u);void 0!==c&&c.enumerable&&(r[u]=i[u])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},229:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(i)return i(e,r).value}return e[r]};e.exports=function e(){var t,r,n,i,c,l,f=arguments[0],p=1,h=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p<h;++p)if(null!=(t=arguments[p]))for(r in t)n=u(f,r),f!==(i=u(t,r))&&(d&&i&&(a(i)||(c=o(i)))?(c?(c=!1,l=n&&o(n)?n:[]):l=n&&a(n)?n:{},s(f,{name:r,newValue:e(d,l,i)})):void 0!==i&&s(f,{name:r,newValue:i}));return f}},6471:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},6440:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(a="",r=0;r<u.length;r++){var c=u[r],l=e(t[c]);l&&(a&&(a+=","),a+=JSON.stringify(c)+":"+l)}return o.splice(s,1),"{"+a+"}"}}(e)}},7728:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),o=0;o<n.length;o++){var a=n[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},8372:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)n.call(i,e[a],a,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},8326:e=>{!function(){var t;function r(e){for(var t,r,n,i,o=1,a=[].slice.call(arguments),s=0,u=e.length,c="",l=!1,f=!1,p=function(){return a[o++]},h=function(){for(var r="";/\d/.test(e[s]);)r+=e[s++],t=e[s];return r.length>0?parseInt(r):null};s<u;++s)if(t=e[s],l)switch(l=!1,"."==t?(f=!1,t=e[++s]):"0"==t&&"."==e[s+1]?(f=!0,t=e[s+=2]):f=!0,i=h(),t){case"b":c+=parseInt(p(),10).toString(2);break;case"c":c+="string"==typeof(r=p())||r instanceof String?r:String.fromCharCode(parseInt(r,10));break;case"d":c+=parseInt(p(),10);break;case"f":n=String(parseFloat(p()).toFixed(i||6)),c+=f?n:n.replace(/^0/,"");break;case"j":c+=JSON.stringify(p());break;case"o":c+="0"+parseInt(p(),10).toString(8);break;case"s":c+=p();break;case"x":c+="0x"+parseInt(p(),10).toString(16);break;case"X":c+="0x"+parseInt(p(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?l=!0:c+=t;return c}(t=e.exports=r).format=r,t.vsprintf=function(e,t){return r.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(r.apply(null,arguments))})}()},8458:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||n.call(o)!==i)throw new TypeError(t+o);for(var a,s=r.call(arguments,1),u=function(){if(this instanceof a){var t=o.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return o.apply(e,s.concat(r.call(arguments)))},c=Math.max(0,o.length-s.length),l=[],f=0;f<c;f++)l.push("$"+f);if(a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(u),o.prototype){var p=function(){};p.prototype=o.prototype,a.prototype=new p,p.prototype=null}return a}},132:(e,t,r)=>{"use strict";var n=r(8458);e.exports=Function.prototype.bind||n},8750:(e,t,r)=>{"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,f=r(679)(),p=Object.getPrototypeOf||function(e){return e.__proto__},h={},d="undefined"==typeof Uint8Array?n:p(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=p(i.prototype))}return m[t]=r,r},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(132),b=r(7492),E=v.call(Function.call,Array.prototype.concat),w=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),S=v.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,D=function(e){var t=S(e,0,1),r=S(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,k,(function(e,t,r,i){n[n.length]=r?x(i,A,"$1"):t||e})),n},C=function(e,t){var r,n=e;if(b(y,n)&&(n="%"+(r=y[n])[0]+"%"),b(m,n)){var o=m[n];if(o===h&&(o=g(n)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=D(e),n=r.length>0?r[0]:"",o=C("%"+n+"%",t),s=o.name,c=o.value,l=!1,f=o.alias;f&&(n=f[0],w(r,E([0,1],f)));for(var p=1,h=!0;p<r.length;p+=1){var d=r[p],g=S(d,0,1),y=S(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==d&&h||(l=!0),b(m,s="%"+(n+="."+d)+"%"))c=m[s];else if(null!=c){if(!(d in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&p+1>=r.length){var v=u(c,d);c=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[d]}else h=b(c,d),c=c[d];h&&!l&&(m[s]=c)}}return c}},5969:(e,t,r)=>{const n=r(1346);e.exports=o;const i=Object.hasOwnProperty;function o(){if(!(this instanceof o))return new o;this.reset()}function a(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(n,"").replace(/ /g,"-"))}o.prototype.slug=function(e,t){const r=this;let n=a(e,!0===t);const o=n;for(;i.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n},o.prototype.reset=function(){this.occurrences=Object.create(null)},o.slug=a},1346:e=>{e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08BE-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D04\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31BB-\u31EF\u3200-\u33FF\u4DB6-\u4DFF\u9FF0-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7C7-\uA7F6\uA828-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB68-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD47-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD-\uDDCF\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC60-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD00-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD823-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D-\uD83F\uD87B-\uD87D\uD87F-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD822[\uDEF3-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},679:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(8186);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},8186:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},698:(e,t,r)=>{"use strict";var n=r(8186);e.exports=function(){return n()&&!!Symbol.toStringTag}},7492:(e,t,r)=>{"use strict";var n=r(132);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},5839:(e,t,r)=>{"use strict";var n=r(9185),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var i=h(r);i&&i!==d&&e(t,i,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=u(t),m=u(r),g=0;g<a.length;++g){var y=a[g];if(!(o[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=p(r,y);try{c(t,y,v)}catch(e){}}}}return t}},4799:(e,t,r)=>{"use strict";e.exports=r(9354)},8907:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[H]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[V]||!!e.constructor[V]||p(e)||h(e))}function a(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:W)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function s(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function l(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return z&&e instanceof Map}function h(e){return U&&e instanceof Set}function d(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[H];for(var r=W(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=K[e];return t||n(18,e),t}function E(){return M}function w(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){S(e),e.p.forEach(A),e.p=null}function S(e){e===M&&(M=e.l)}function k(e){return M={p:[],l:M,h:e,m:!0,_:0}}function A(e){var t=e[H];0===t.i||1===t.i?t.j():t.g=!0}function D(e,t){t._=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.O||b("ES5").S(t,e,i),i?(r[H].P&&(x(t),n(4)),o(e)&&(e=C(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[H],e,t.u,t.s)):e=C(t,r,[]),x(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function C(e,t,r){if(v(t))return t;var n=t[H];if(!n)return a(t,(function(i,o){return F(e,n,t,i,o,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return P(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=m(n.k):n.o;a(3===n.i?new Set(i):i,(function(t,o){return F(e,n,i,t,o,r)})),P(e,i,!1),r&&e.u&&b("Patches").R(n,r,e.u,e.s)}return n.o}function F(e,t,r,n,a,s){if(i(a)){var c=C(e,a,s&&t&&3!==t.i&&!u(t.D,n)?s.concat(n):void 0);if(l(r,n,c),!i(c))return;e.m=!1}if(o(a)&&!v(a)){if(!e.h.F&&e._<1)return;C(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&g(t,r)}function O(e,t){var r=e[H];return(r?d(r):e)[t]}function T(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function j(e){e.P||(e.P=!0,e.l&&j(e.l))}function _(e){e.o||(e.o=m(e.t))}function I(e,t,r){var n=p(t)?b("MapSet").N(t,r):h(t)?b("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,o=Y;r&&(i=[n],o=X);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(t,r):b("ES5").J(t,r);return(r?r.A:E()).p.push(n),n}function R(e){return i(e)||n(22,e),function e(t){if(!o(t))return t;var r,n=t[H],i=s(t);if(n){if(!n.P&&(n.i<4||!b("ES5").K(n)))return n.t;n.I=!0,r=L(t,i),n.I=!1}else r=L(t,i);return a(r,(function(t,i){n&&c(n.t,t)===i||l(r,t,e(i))})),3===i?new Set(r):r}(e)}function L(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}r.d(t,{sc:()=>V,Uy:()=>ee,Fl:()=>te});var N,M,B="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),z="undefined"!=typeof Map,U="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=B?Symbol.for("immer-nothing"):((N={})["immer-nothing"]=!0,N),V=B?Symbol.for("immer-draftable"):"__$immer_draftable",H=B?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},Y={get:function(e,t){if(t===H)return e;var r=d(e);if(!u(r,t))return function(e,t,r){var n,i=T(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!o(n)?n:n===O(e.t,t)?(_(e),e.o[t]=I(e.A.h,n,e)):n},has:function(e,t){return t in d(e)},ownKeys:function(e){return Reflect.ownKeys(d(e))},set:function(e,t,r){var n=T(d(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=O(d(e),t),o=null==i?void 0:i[H];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(f(r,i)&&(void 0!==r||u(e.t,t)))return!0;_(e),j(e)}return e.o[t]===r&&"number"!=typeof r||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.D[t]=!1,_(e),j(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=d(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},X={};a(Y,(function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),X.deleteProperty=function(e,t){return Y.deleteProperty.call(this,e[0],t)},X.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var Z=function(){function e(e){var t=this;this.O=$,this.F=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return s.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=k(t),l=I(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?x(c):S(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return w(c,i),D(e,c)}),(function(e){throw x(c),e})):(w(c,i),D(u,c))}if(!e||"object"!=typeof e){if((u=r(e))===q)return;return void 0===u&&(u=e),t.F&&g(u,!0),u}n(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,r,(function(e,t){n=e,i=t})),n,i];var n,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),i(e)&&(e=R(e));var t=k(this),r=I(this,e,void 0);return r[H].C=!0,S(t),r},t.finishDraft=function(e,t){var r=(e&&e[H]).A;return w(r,t),D(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!$&&n(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var o=b("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t.slice(r+1))}))},e}(),J=new Z,ee=J.produce,te=(J.produceWithPatches.bind(J),J.setAutoFreeze.bind(J));J.setUseProxies.bind(J),J.applyPatches.bind(J),J.createDraft.bind(J),J.finishDraft.bind(J)},87:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},3996:e=>{"use strict";e.exports=function(e,t,r,n,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},7740:(e,t,r)=>{"use strict";var n=r(698)(),i=r(2737)("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},8809:e=>{
15
+ */function I(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function _(e,t,r,n){if(e===t)return 0!==e||(!r||c(e,t));if(r){if("object"!==o(e))return"number"==typeof e&&l(e)&&l(t);if("object"!==o(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==o(e))return(null===t||"object"!==o(t))&&e==t;if(null===t||"object"!==o(t))return!1}var a,s,u,f,h=d(e);if(h!==d(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var p=j(e),m=j(t);return p.length===m.length&&B(e,t,r,n,1,p)}if("[object Object]"===h&&(!b(e)&&b(t)||!w(e)&&w(t)))return!1;if(v(e)){if(!v(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(E(e)){if(!E(t)||(u=e,f=t,!(i?u.source===f.source&&u.flags===f.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(f))))return!1}else if(x(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(y(e)){if(r||!P(e)&&!O(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===I(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}(e,t))return!1;var T=j(e),_=j(t);return T.length===_.length&&B(e,t,r,n,0,T)}if(w(e))return!(!w(t)||e.size!==t.size)&&B(e,t,r,n,2);if(b(e))return!(!b(t)||e.size!==t.size)&&B(e,t,r,n,3);if(g(e)){if(s=t,(a=e).byteLength!==s.byteLength||0!==I(new Uint8Array(a),new Uint8Array(s)))return!1}else if(S(e)&&!function(e,t){return A(e)?A(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):k(e)?k(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):D(e)?D(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):C(e)?C(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):F(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return B(e,t,r,n,0)}function R(e,t){return t.filter((function(t){return p(e,t)}))}function B(e,t,r,n,o,i){if(5===arguments.length){i=Object.keys(e);var a=Object.keys(t);if(i.length!==a.length)return!1}for(var s=0;s<i.length;s++)if(!h(t,i[s]))return!1;if(r&&5===arguments.length){var c=u(e);if(0!==c.length){var l=0;for(s=0;s<c.length;s++){var f=c[s];if(p(e,f)){if(!p(t,f))return!1;i.push(f),l++}else if(p(t,f))return!1}var d=u(t);if(c.length!==d.length&&R(t,d).length!==l)return!1}else{var m=u(t);if(0!==m.length&&0!==R(t,m).length)return!1}}if(0===i.length&&(0===o||1===o&&0===e.length||0===e.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var g=n.val1.get(e);if(void 0!==g){var y=n.val2.get(t);if(void 0!==y)return g===y}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var v=U(e,t,r,i,n,o);return n.val1.delete(e),n.val2.delete(t),v}function L(e,t,r,n){for(var o=a(e),i=0;i<o.length;i++){var s=o[i];if(_(t,s,r,n))return e.delete(s),!0}return!1}function N(e){switch(o(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(l(e))return!1}return!0}function M(e,t,r){var n=N(r);return null!=n?n:t.has(n)&&!e.has(n)}function H(e,t,r,n,o){var i=N(r);if(null!=i)return i;var a=t.get(i);return!(void 0===a&&!t.has(i)||!_(n,a,!1,o))&&(!e.has(i)&&_(n,a,!1,o))}function z(e,t,r,n,o,i){for(var s=a(e),c=0;c<s.length;c++){var u=s[c];if(_(r,u,o,i)&&_(n,t.get(u),o,i))return e.delete(u),!0}return!1}function U(e,t,r,i,c,u){var l=0;if(2===u){if(!function(e,t,r,n){for(var i=null,s=a(e),c=0;c<s.length;c++){var u=s[c];if("object"===o(u)&&null!==u)null===i&&(i=new Set),i.add(u);else if(!t.has(u)){if(r)return!1;if(!M(e,t,u))return!1;null===i&&(i=new Set),i.add(u)}}if(null!==i){for(var l=a(t),f=0;f<l.length;f++){var h=l[f];if("object"===o(h)&&null!==h){if(!L(i,h,r,n))return!1}else if(!r&&!e.has(h)&&!L(i,h,r,n))return!1}return 0===i.size}return!0}(e,t,r,c))return!1}else if(3===u){if(!function(e,t,r,i){for(var a=null,c=s(e),u=0;u<c.length;u++){var l=n(c[u],2),f=l[0],h=l[1];if("object"===o(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var p=t.get(f);if(void 0===p&&!t.has(f)||!_(h,p,r,i)){if(r)return!1;if(!H(e,t,f,h,i))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var d=s(t),m=0;m<d.length;m++){var g=n(d[m],2),y=(f=g[0],g[1]);if("object"===o(f)&&null!==f){if(!z(a,e,f,y,r,i))return!1}else if(!(r||e.has(f)&&_(e.get(f),y,!1,i)||z(a,e,f,y,!1,i)))return!1}return 0===a.size}return!0}(e,t,r,c))return!1}else if(1===u)for(;l<e.length;l++){if(!h(e,l)){if(h(t,l))return!1;for(var f=Object.keys(e);l<f.length;l++){var p=f[l];if(!h(t,p)||!_(e[p],t[p],r,c))return!1}return f.length===Object.keys(t).length}if(!h(t,l)||!_(e[l],t[l],r,c))return!1}for(l=0;l<i.length;l++){var d=i[l];if(!_(e[d],t[d],r,c))return!1}return!0}e.exports={isDeepEqual:function(e,t){return _(e,t,false)},isDeepStrictEqual:function(e,t){return _(e,t,true)}}},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),o=r(4570),i=r(2940),a=r(581),s=r(574),c=r(3845),u=r(8338),l=r(8524),f=r(4832),h=r(7132);e.exports=function(e){return new Promise((function(t,r){var p,d=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(d)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+E)}var w=s(e.baseURL,e.url);function x(){if(v){var n="getAllResponseHeaders"in v?c(v.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),y()}),(function(e){r(e),y()}),i),v=null}}if(v.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(x)},v.onabort=function(){v&&(r(l("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(l("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||u(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;S&&(m[e.xsrfHeaderName]=S)}"setRequestHeader"in v&&n.forEach(m,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),g&&"json"!==g&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){v&&(r(!e||e&&e.type?new h("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),d||(d=null),v.send(d)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),o=r(875),i=r(5029),a=r(4941);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=i,s.Cancel=r(7132),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},7132:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4603:(e,t,r)=>{"use strict";var n=r(7132);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),o=r(581),i=r(8096),a=r(5009),s=r(4941),c=r(6144),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(l),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var h=t;n.length;){var p=n.shift(),d=n.shift();try{h=p(h)}catch(e){d(e);break}}try{i=a(h)}catch(e){return Promise.reject(e)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=l},8096:(e,t,r)=>{"use strict";var n=r(7485);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},574:(e,t,r)=>{"use strict";var n=r(2642),o=r(2288);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},8524:(e,t,r)=>{"use strict";var n=r(9953);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},5009:(e,t,r)=>{"use strict";var n=r(7485),o=r(9212),i=r(1475),a=r(8396),s=r(7132);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9953:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function c(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);n.isUndefined(o)&&t!==c||(r[e]=o)})),r}},4570:(e,t,r)=>{"use strict";var n=r(8524);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),o=r(8396);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),o=r(7485),i=r(1446),a=r(9953),s=r(4832),c={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,f={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(l=r(4387)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){f.headers[e]=o.merge(c)})),e.exports=f},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.26.1"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3845:(e,t,r)=>{"use strict";var n=r(7485),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var s=e[i],c=void 0===s||a(s,i,e);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},7485:(e,t,r)=>{"use strict";var n=r(875),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function c(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return c(e)&&l(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},9958:(e,t,r)=>{"use strict";r.d(t,{D:()=>o,Z:()=>i});var n=r(7363);const o={desktop:"desktop",mobile:"mobile"};function i(){function e(){return window.innerWidth>996?o.desktop:o.mobile}const[t,r]=(0,n.useState)(e);return(0,n.useEffect)((()=>{function t(){r(e())}return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[]),t}},9377:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},2737:(e,t,r)=>{"use strict";var n=r(8750),o=r(4573),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},4573:(e,t,r)=>{"use strict";var n=r(132),o=r(8750),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,a,arguments);if(c&&u){var r=c(t,"length");r.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(n,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},6725:function(e,t,r){var n;e.exports=(n=r(8112),r(8885),r(4678),r(6165),r(8976),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],c=[],u=[],l=[],f=[],h=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,o[r]=d,i[d]=r;var m=e[r],g=e[m],y=e[g],v=257*e[d]^16843008*d;a[r]=v<<24|v>>>8,s[r]=v<<16|v>>>16,c[r]=v<<8|v>>>24,u[r]=v,v=16843009*y^65537*g^257*m^16843008*r,l[d]=v<<24|v>>>8,f[d]=v<<16|v>>>16,h[d]=v<<8|v>>>24,p[d]=v,r?(r=m^e[e[e[y^m]]],n^=e[e[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=t[a]:(u=i[a-1],a%r?r>6&&a%r==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=o[(u=u<<8|u>>>24)>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=d[a/r|0]<<24),i[a]=i[a-r]^u);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var u=i[a];else u=i[a-4];s[c]=c<4||a<=4?u:l[o[u>>>24]]^f[o[u>>>16&255]]^h[o[u>>>8&255]]^p[o[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,c,u,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,f,h,p,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],h=e[t+3]^r[3],p=4,d=1;d<c;d++){var m=n[u>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&h]^r[p++],g=n[l>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&u]^r[p++],y=n[f>>>24]^o[h>>>16&255]^i[u>>>8&255]^a[255&l]^r[p++],v=n[h>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++];u=m,l=g,f=y,h=v}m=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[p++],g=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[p++],y=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[p++],v=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[p++],e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=v},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},8976:function(e,t,r){var n;e.exports=(n=r(8112),r(6165),void(n.lib.Cipher||function(e){var t=n,r=t.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,c=(s.Utf8,s.Base64),u=t.algo.EvpKDF,l=r.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:y}return function(t){return{encrypt:function(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()}),f=(r.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),h=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=function(){var t=h.extend();function r(t,r,n){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);n.decryptBlock(e,t),r.call(this,e,t,o),this._prevBlock=i}}),t}(),d=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var c=i.create(a,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(r.BlockCipher=l.extend({cfg:l.cfg.extend({mode:p,padding:d}),reset:function(){var e;l.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(t):t).toString(c)},parse:function(e){var t,r=c.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},y=r.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(t.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=i.random(8));var o=u.create({keySize:t+r}).compute(e,n),a=i.create(o.words.slice(t),4*r);return o.sigBytes=4*t,m.create({key:o,iv:a,salt:n})}},b=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=o.iv;var i=y.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=o.iv,y.decrypt.call(this,e,t,o.key,n)}})}()))},8112:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(429)}catch(e){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},c=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=c.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new u.init(t,e)}}),l=a.enc={},f=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},h=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},p=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},d=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,i);if(c){for(var f=0;f<c;f+=a)this._doProcessBlock(o,f);r=o.splice(0,c),n.sigBytes-=l}return new u.init(r,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=d.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math),n)},8885:function(e,t,r){var n;e.exports=(n=r(8112),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var o=[],i=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},6287:function(e,t,r){var n;e.exports=(n=r(8112),n.enc.Utf8)},6165:function(e,t,r){var n,o,i,a,s,c,u,l;e.exports=(l=r(8112),r(1284),r(3456),o=(n=l).lib,i=o.Base,a=o.WordArray,s=n.algo,c=s.MD5,u=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),i=a.create(),s=i.words,c=n.keySize,u=n.iterations;s.length<c;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var l=1;l<u;l++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*c,i}}),n.EvpKDF=function(e,t,r){return u.create(r).compute(e,t)},l.EvpKDF)},3456:function(e,t,r){var n,o,i,a;e.exports=(n=r(8112),i=(o=n).lib.Base,a=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),s=o.words,c=i.words,u=0;u<r;u++)s[u]^=1549556828,c[u]^=909522486;o.sigBytes=i.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},4678:function(e,t,r){var n;e.exports=(n=r(8112),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],p=e[t+2],d=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],v=e[t+7],b=e[t+8],E=e[t+9],w=e[t+10],x=e[t+11],S=e[t+12],A=e[t+13],k=e[t+14],D=e[t+15],C=i[0],F=i[1],P=i[2],O=i[3];C=u(C,F,P,O,a,7,s[0]),O=u(O,C,F,P,c,12,s[1]),P=u(P,O,C,F,p,17,s[2]),F=u(F,P,O,C,d,22,s[3]),C=u(C,F,P,O,m,7,s[4]),O=u(O,C,F,P,g,12,s[5]),P=u(P,O,C,F,y,17,s[6]),F=u(F,P,O,C,v,22,s[7]),C=u(C,F,P,O,b,7,s[8]),O=u(O,C,F,P,E,12,s[9]),P=u(P,O,C,F,w,17,s[10]),F=u(F,P,O,C,x,22,s[11]),C=u(C,F,P,O,S,7,s[12]),O=u(O,C,F,P,A,12,s[13]),P=u(P,O,C,F,k,17,s[14]),C=l(C,F=u(F,P,O,C,D,22,s[15]),P,O,c,5,s[16]),O=l(O,C,F,P,y,9,s[17]),P=l(P,O,C,F,x,14,s[18]),F=l(F,P,O,C,a,20,s[19]),C=l(C,F,P,O,g,5,s[20]),O=l(O,C,F,P,w,9,s[21]),P=l(P,O,C,F,D,14,s[22]),F=l(F,P,O,C,m,20,s[23]),C=l(C,F,P,O,E,5,s[24]),O=l(O,C,F,P,k,9,s[25]),P=l(P,O,C,F,d,14,s[26]),F=l(F,P,O,C,b,20,s[27]),C=l(C,F,P,O,A,5,s[28]),O=l(O,C,F,P,p,9,s[29]),P=l(P,O,C,F,v,14,s[30]),C=f(C,F=l(F,P,O,C,S,20,s[31]),P,O,g,4,s[32]),O=f(O,C,F,P,b,11,s[33]),P=f(P,O,C,F,x,16,s[34]),F=f(F,P,O,C,k,23,s[35]),C=f(C,F,P,O,c,4,s[36]),O=f(O,C,F,P,m,11,s[37]),P=f(P,O,C,F,v,16,s[38]),F=f(F,P,O,C,w,23,s[39]),C=f(C,F,P,O,A,4,s[40]),O=f(O,C,F,P,a,11,s[41]),P=f(P,O,C,F,d,16,s[42]),F=f(F,P,O,C,y,23,s[43]),C=f(C,F,P,O,E,4,s[44]),O=f(O,C,F,P,S,11,s[45]),P=f(P,O,C,F,D,16,s[46]),C=h(C,F=f(F,P,O,C,p,23,s[47]),P,O,a,6,s[48]),O=h(O,C,F,P,v,10,s[49]),P=h(P,O,C,F,k,15,s[50]),F=h(F,P,O,C,g,21,s[51]),C=h(C,F,P,O,S,6,s[52]),O=h(O,C,F,P,d,10,s[53]),P=h(P,O,C,F,w,15,s[54]),F=h(F,P,O,C,c,21,s[55]),C=h(C,F,P,O,b,6,s[56]),O=h(O,C,F,P,D,10,s[57]),P=h(P,O,C,F,y,15,s[58]),F=h(F,P,O,C,A,21,s[59]),C=h(C,F,P,O,m,6,s[60]),O=h(O,C,F,P,x,10,s[61]),P=h(P,O,C,F,p,15,s[62]),F=h(F,P,O,C,E,21,s[63]),i[0]=i[0]+C|0,i[1]=i[1]+F|0,i[2]=i[2]+P|0,i[3]=i[3]+O|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function l(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function f(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function h(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)},1284:function(e,t,r){var n,o,i,a,s,c,u,l;e.exports=(l=r(8112),o=(n=l).lib,i=o.WordArray,a=o.Hasher,s=n.algo,c=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=0;u<80;u++){if(u<16)c[u]=0|e[t+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+s+c[u];f+=u<20?1518500249+(o&i|~o&a):u<40?1859775393+(o^i^a):u<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,s=a,a=i,i=o<<30|o>>>2,o=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(u),n.HmacSHA1=a._createHmacHelper(u),l.SHA1)},301:(e,t,r)=>{"use strict";var n=r(8777),o=r(1941),i=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];this.pseudos[o]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];delete this.pseudos[o]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];this.pseudos[o]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];delete this.pseudos[o]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];this.ruleNestingOperators[o]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];delete this.ruleNestingOperators[o]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];this.attrEqualityMods[o]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var o=n[r];delete this.attrEqualityMods[o]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return n.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return o.renderEntity(e).trim()},e}();t.N=i},8777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6517);t.parseCssSelector=function(e,t,r,o,i,a){var s=e.length,c="";function u(r,o){var i="";for(t++,c=e.charAt(t);t<s;){if(c===r)return t++,i;if("\\"===c){t++;var a=void 0;if((c=e.charAt(t))===r)i+=r;else if(void 0!==(a=o[c]))i+=a;else{if(n.isHex(c)){var u=c;for(t++,c=e.charAt(t);n.isHex(c);)u+=c,t++,c=e.charAt(t);" "===c&&(t++,c=e.charAt(t)),i+=String.fromCharCode(parseInt(u,16));continue}i+=c}}else i+=c;t++,c=e.charAt(t)}return i}function l(){var r="";for(c=e.charAt(t);t<s;){if(n.isIdent(c))r+=c;else{if("\\"!==c)return r;if(++t>=s)throw Error("Expected symbol but end of file reached.");if(c=e.charAt(t),n.identSpecialChars[c])r+=c;else{if(n.isHex(c)){var o=c;for(t++,c=e.charAt(t);n.isHex(c);)o+=c,t++,c=e.charAt(t);" "===c&&(t++,c=e.charAt(t)),r+=String.fromCharCode(parseInt(o,16));continue}r+=c}}t++,c=e.charAt(t)}return r}function f(){c=e.charAt(t);for(var r=!1;" "===c||"\t"===c||"\n"===c||"\r"===c||"\f"===c;)r=!0,t++,c=e.charAt(t);return r}function h(){var r=p();if(!r)return null;var n=r;for(c=e.charAt(t);","===c;){if(t++,f(),"selectors"!==n.type&&(n={type:"selectors",selectors:[r]}),!(r=p()))throw Error('Rule expected after ",".');n.selectors.push(r)}return n}function p(){f();var r={type:"ruleSet"},n=d();if(!n)return null;for(var o=r;n&&(n.type="rule",o.rule=n,o=n,f(),c=e.charAt(t),!(t>=s||","===c||")"===c));)if(i[c]){var a=c;if(t++,f(),!(n=d()))throw Error('Rule expected after "'+a+'".');n.nestingOperator=a}else(n=d())&&(n.nestingOperator=null);return r}function d(){for(var i=null;t<s;)if("*"===(c=e.charAt(t)))t++,(i=i||{}).tagName="*";else if(n.isIdentStart(c)||"\\"===c)(i=i||{}).tagName=l();else if("."===c)t++,((i=i||{}).classNames=i.classNames||[]).push(l());else if("#"===c)t++,(i=i||{}).id=l();else if("["===c){t++,f();var p={name:l()};if(f(),"]"===c)t++;else{var d="";if(o[c]&&(d=c,t++,c=e.charAt(t)),t>=s)throw Error('Expected "=" but end of file reached.');if("="!==c)throw Error('Expected "=" but "'+c+'" found.');p.operator=d+"=",t++,f();var m="";if(p.valueType="string",'"'===c)m=u('"',n.doubleQuotesEscapeChars);else if("'"===c)m=u("'",n.singleQuoteEscapeChars);else if(a&&"$"===c)t++,m=l(),p.valueType="substitute";else{for(;t<s&&"]"!==c;)m+=c,t++,c=e.charAt(t);m=m.trim()}if(f(),t>=s)throw Error('Expected "]" but end of file reached.');if("]"!==c)throw Error('Expected "]" but "'+c+'" found.');t++,p.value=m}((i=i||{}).attrs=i.attrs||[]).push(p)}else{if(":"!==c)break;t++;var g=l(),y={name:g};if("("===c){t++;var v="";if(f(),"selector"===r[g])y.valueType="selector",v=h();else{if(y.valueType=r[g]||"string",'"'===c)v=u('"',n.doubleQuotesEscapeChars);else if("'"===c)v=u("'",n.singleQuoteEscapeChars);else if(a&&"$"===c)t++,v=l(),y.valueType="substitute";else{for(;t<s&&")"!==c;)v+=c,t++,c=e.charAt(t);v=v.trim()}f()}if(t>=s)throw Error('Expected ")" but end of file reached.');if(")"!==c)throw Error('Expected ")" but "'+c+'" found.');t++,y.value=v}((i=i||{}).pseudos=i.pseudos||[]).push(y)}return i}return function(){var r=h();if(t<s)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return r}()}},1941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6517);t.renderEntity=function e(t){var r="";switch(t.type){case"ruleSet":for(var o=t.rule,i=[];o;)o.nestingOperator&&i.push(o.nestingOperator),i.push(e(o)),o=o.rule;r=i.join(" ");break;case"selectors":r=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(r="*"===t.tagName?"*":n.escapeIdentifier(t.tagName)),t.id&&(r+="#"+n.escapeIdentifier(t.id)),t.classNames&&(r+=t.classNames.map((function(e){return"."+n.escapeIdentifier(e)})).join("")),t.attrs&&(r+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+n.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+n.escapeIdentifier(e.name)+e.operator+n.escapeStr(e.value)+"]":"["+n.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(r+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+n.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+n.escapeIdentifier(t.name)+"("+t.value+")":":"+n.escapeIdentifier(t.name)+"("+n.escapeIdentifier(t.value)+")":":"+n.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return r}},6517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var r=e.length,n="",o=0;o<r;){var i=e.charAt(o);if(t.identSpecialChars[i])n+="\\"+i;else if("_"===i||"-"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||0!==o&&i>="0"&&i<="9")n+=i;else{var a=i.charCodeAt(0);if(55296==(63488&a)){var s=e.charCodeAt(o++);if(55296!=(64512&a)||56320!=(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}n+="\\"+a.toString(16)+" "}o++}return n},t.escapeStr=function(e){for(var r,n=e.length,o="",i=0;i<n;){var a=e.charAt(i);'"'===a?a='\\"':"\\"===a?a="\\\\":void 0!==(r=t.strReplacementsRev[a])&&(a=r),o+=a,i++}return'"'+o+'"'},t.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},1998:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp(t,"gi"),n=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var o=i(r[0]);o!==r[0]&&(t[r[0]]=o)}r=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var c=a[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},286:(e,t,r)=>{"use strict";var n=r(4733),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,c=r(1365)(),u=s&&c,l=function(e,t,r,n){var o;(!(t in e)||"function"==typeof(o=n)&&"[object Function]"===i.call(o)&&n())&&(u?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},f=function(e,t){var r=arguments.length>2?arguments[2]:{},i=n(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],r[i[s]])};f.supportsDescriptors=!!u,e.exports=f},2098:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var c=i[a],u=Object.getOwnPropertyDescriptor(o,c);void 0!==u&&u.enumerable&&(r[c]=o[c])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},229:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,l,f=arguments[0],h=1,p=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h<p;++h)if(null!=(t=arguments[h]))for(r in t)n=c(f,r),f!==(o=c(t,r))&&(d&&o&&(a(o)||(u=i(o)))?(u?(u=!1,l=n&&i(n)?n:[]):l=n&&a(n)?n:{},s(f,{name:r,newValue:e(d,l,o)})):void 0!==o&&s(f,{name:r,newValue:o}));return f}},6471:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var a=i[o];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},6440:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(r=t.cmp,function(e){return function(t,n){var o={key:t,value:e[t]},i={key:n,value:e[n]};return r(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r<t.length;r++)r&&(a+=","),a+=e(t[r])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,c=Object.keys(t).sort(o&&o(t));for(a="",r=0;r<c.length;r++){var u=c[r],l=e(t[u]);l&&(a&&(a+=","),a+=JSON.stringify(u)+":"+l)}return i.splice(s,1),"{"+a+"}"}}(e)}},7728:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var a=n[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},5278:(e,t,r)=>{"use strict";var n=r(2922),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,r){for(var n=0,o=e.length;n<o;n++)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))},s=function(e,t,r){for(var n=0,o=e.length;n<o;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)},c=function(e,t,r){for(var n in e)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))};e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),"[object Array]"===o.call(e)?a(e,t,i):"string"==typeof e?s(e,t,i):c(e,t,i)}},8326:e=>{!function(){var t;function r(e){for(var t,r,n,o,i=1,a=[].slice.call(arguments),s=0,c=e.length,u="",l=!1,f=!1,h=function(){return a[i++]},p=function(){for(var r="";/\d/.test(e[s]);)r+=e[s++],t=e[s];return r.length>0?parseInt(r):null};s<c;++s)if(t=e[s],l)switch(l=!1,"."==t?(f=!1,t=e[++s]):"0"==t&&"."==e[s+1]?(f=!0,t=e[s+=2]):f=!0,o=p(),t){case"b":u+=parseInt(h(),10).toString(2);break;case"c":u+="string"==typeof(r=h())||r instanceof String?r:String.fromCharCode(parseInt(r,10));break;case"d":u+=parseInt(h(),10);break;case"f":n=String(parseFloat(h()).toFixed(o||6)),u+=f?n:n.replace(/^0/,"");break;case"j":u+=JSON.stringify(h());break;case"o":u+="0"+parseInt(h(),10).toString(8);break;case"s":u+=h();break;case"x":u+="0x"+parseInt(h(),10).toString(16);break;case"X":u+="0x"+parseInt(h(),10).toString(16).toUpperCase();break;default:u+=t}else"%"===t?l=!0:u+=t;return u}(t=e.exports=r).format=r,t.vsprintf=function(e,t){return r.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(r.apply(null,arguments))})}()},8458:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(t+i);for(var a,s=r.call(arguments,1),c=function(){if(this instanceof a){var t=i.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(r.call(arguments)))},u=Math.max(0,i.length-s.length),l=[],f=0;f<u;f++)l.push("$"+f);if(a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),i.prototype){var h=function(){};h.prototype=i.prototype,a.prototype=new h,h.prototype=null}return a}},132:(e,t,r)=>{"use strict";var n=r(8458);e.exports=Function.prototype.bind||n},8750:(e,t,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new a},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,f=r(679)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},d="undefined"==typeof Uint8Array?n:h(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=h(o.prototype))}return m[t]=r,r},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(132),b=r(7492),E=v.call(Function.call,Array.prototype.concat),w=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),S=v.call(Function.call,String.prototype.slice),A=v.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,D=/\\(\\)?/g,C=function(e){var t=S(e,0,1),r=S(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,k,(function(e,t,r,o){n[n.length]=r?x(o,D,"$1"):t||e})),n},F=function(e,t){var r,n=e;if(b(y,n)&&(n="%"+(r=y[n])[0]+"%"),b(m,n)){var i=m[n];if(i===p&&(i=g(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/g,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=C(e),n=r.length>0?r[0]:"",i=F("%"+n+"%",t),s=i.name,u=i.value,l=!1,f=i.alias;f&&(n=f[0],w(r,E([0,1],f)));for(var h=1,p=!0;h<r.length;h+=1){var d=r[h],g=S(d,0,1),y=S(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&p||(l=!0),b(m,s="%"+(n+="."+d)+"%"))u=m[s];else if(null!=u){if(!(d in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&h+1>=r.length){var v=c(u,d);u=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[d]}else p=b(u,d),u=u[d];p&&!l&&(m[s]=u)}}return u}},5969:(e,t,r)=>{const n=r(1346);e.exports=i;const o=Object.hasOwnProperty;function i(){if(!(this instanceof i))return new i;this.reset()}function a(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(n,"").replace(/ /g,"-"))}i.prototype.slug=function(e,t){const r=this;let n=a(e,!0===t);const i=n;for(;o.call(r.occurrences,n);)r.occurrences[i]++,n=i+"-"+r.occurrences[i];return r.occurrences[n]=0,n},i.prototype.reset=function(){this.occurrences=Object.create(null)},i.slug=a},1346:e=>{e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08BE-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D04\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31BB-\u31EF\u3200-\u33FF\u4DB6-\u4DFF\u9FF0-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7C7-\uA7F6\uA828-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB68-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD47-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD-\uDDCF\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC60-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD00-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD823-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D-\uD83F\uD87B-\uD87D\uD87F-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD822[\uDEF3-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},1365:(e,t,r)=>{"use strict";var n=r(8750)("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},679:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(8186);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},8186:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},698:(e,t,r)=>{"use strict";var n=r(8186);e.exports=function(){return n()&&!!Symbol.toStringTag}},7492:(e,t,r)=>{"use strict";var n=r(132);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},5839:(e,t,r)=>{"use strict";var n=r(9185),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var o=p(r);o&&o!==d&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(t),m=c(r),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=h(r,y);try{u(t,y,v)}catch(e){}}}}return t}},4799:(e,t,r)=>{"use strict";e.exports=r(9354)},8907:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[V]}function i(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[q]||!!e.constructor[q]||h(e)||p(e))}function a(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:W)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function s(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function l(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return H&&e instanceof Map}function p(e){return z&&e instanceof Set}function d(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[V];for(var r=W(t),n=0;n<r.length;n++){var o=r[n],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||o(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=K[e];return t||n(18,e),t}function E(){return N}function w(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){S(e),e.p.forEach(k),e.p=null}function S(e){e===N&&(N=e.l)}function A(e){return N={p:[],l:N,h:e,m:!0,_:0}}function k(e){var t=e[V];0===t.i||1===t.i?t.j():t.g=!0}function D(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.O||b("ES5").S(t,e,o),o?(r[V].P&&(x(t),n(4)),i(e)&&(e=C(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[V],e,t.u,t.s)):e=C(t,r,[]),x(t),t.u&&t.v(t.u,t.s),e!==$?e:void 0}function C(e,t,r){if(v(t))return t;var n=t[V];if(!n)return a(t,(function(o,i){return F(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return P(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=m(n.k):n.o;a(3===n.i?new Set(o):o,(function(t,i){return F(e,n,o,t,i,r)})),P(e,o,!1),r&&e.u&&b("Patches").R(n,r,e.u,e.s)}return n.o}function F(e,t,r,n,a,s){if(o(a)){var u=C(e,a,s&&t&&3!==t.i&&!c(t.D,n)?s.concat(n):void 0);if(l(r,n,u),!o(u))return;e.m=!1}if(i(a)&&!v(a)){if(!e.h.F&&e._<1)return;C(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&g(t,r)}function O(e,t){var r=e[V];return(r?d(r):e)[t]}function T(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function j(e){e.P||(e.P=!0,e.l&&j(e.l))}function I(e){e.o||(e.o=m(e.t))}function _(e,t,r){var n=h(t)?b("MapSet").N(t,r):p(t)?b("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Z;r&&(o=[n],i=Y);var a=Proxy.revocable(o,i),s=a.revoke,c=a.proxy;return n.k=c,n.j=s,c}(t,r):b("ES5").J(t,r);return(r?r.A:E()).p.push(n),n}function R(e){return o(e)||n(22,e),function e(t){if(!i(t))return t;var r,n=t[V],o=s(t);if(n){if(!n.P&&(n.i<4||!b("ES5").K(n)))return n.t;n.I=!0,r=B(t,o),n.I=!1}else r=B(t,o);return a(r,(function(t,o){n&&u(n.t,t)===o||l(r,t,e(o))})),3===o?new Set(r):r}(e)}function B(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}r.d(t,{Fl:()=>te,Uy:()=>ee,sc:()=>q});var L,N,M="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),H="undefined"!=typeof Map,z="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$=M?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),q=M?Symbol.for("immer-draftable"):"__$immer_draftable",V=M?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},Z={get:function(e,t){if(t===V)return e;var r=d(e);if(!c(r,t))return function(e,t,r){var n,o=T(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!i(n)?n:n===O(e.t,t)?(I(e),e.o[t]=_(e.A.h,n,e)):n},has:function(e,t){return t in d(e)},ownKeys:function(e){return Reflect.ownKeys(d(e))},set:function(e,t,r){var n=T(d(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=O(d(e),t),i=null==o?void 0:o[V];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(f(r,o)&&(void 0!==r||c(e.t,t)))return!0;I(e),j(e)}return e.o[t]===r&&"number"!=typeof r||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.D[t]=!1,I(e),j(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=d(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},Y={};a(Z,(function(e,t){Y[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Y.deleteProperty=function(e,t){return Z.deleteProperty.call(this,e[0],t)},Y.set=function(e,t,r){return Z.set.call(this,e[0],t,r,e[0])};var X=function(){function e(e){var t=this;this.O=U,this.F=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var c;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var u=A(t),l=_(t,e,void 0),f=!0;try{c=r(l),f=!1}finally{f?x(u):S(u)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return w(u,o),D(e,u)}),(function(e){throw x(u),e})):(w(u,o),D(c,u))}if(!e||"object"!=typeof e){if((c=r(e))===$)return;return void 0===c&&(c=e),t.F&&g(c,!0),c}n(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(o))}))}:[t.produce(e,r,(function(e,t){n=e,o=t})),n,o];var n,o},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),o(e)&&(e=R(e));var t=A(this),r=_(this,e,void 0);return r[V].C=!0,S(t),r},t.finishDraft=function(e,t){var r=(e&&e[V]).A;return w(r,t),D(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!U&&n(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(r+1))}))},e}(),J=new X,ee=J.produce,te=(J.produceWithPatches.bind(J),J.setAutoFreeze.bind(J));J.setUseProxies.bind(J),J.applyPatches.bind(J),J.createDraft.bind(J),J.finishDraft.bind(J)},87:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},3996:e=>{"use strict";e.exports=function(e,t,r,n,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},7740:(e,t,r)=>{"use strict";var n=r(698)(),o=r(2737)("Object.prototype.toString"),i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},8809:e=>{
31
16
  /*!
32
17
  * Determine if an object is a Buffer
33
18
  *
34
19
  * @author Feross Aboukhadijeh <https://feross.org>
35
20
  * @license MIT
36
21
  */
37
- e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8265:(e,t,r)=>{"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(698)(),u=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&u(t)}return u(e)===n}},4127:e=>{"use strict";e.exports=function(e){return e!=e}},4866:(e,t,r)=>{"use strict";var n=r(4573),i=r(286),o=r(4127),a=r(850),s=r(8045),u=n(a(),Number);i(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},850:(e,t,r)=>{"use strict";var n=r(4127);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},8045:(e,t,r)=>{"use strict";var n=r(286),i=r(850);e.exports=function(){var e=i();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},387:(e,t,r)=>{"use strict";var n=r(8372),i=r(973),o=r(2737),a=o("Object.prototype.toString"),s=r(698)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),l=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},f=o("String.prototype.slice"),p={},h=r(8828),d=Object.getPrototypeOf;s&&h&&d&&n(c,(function(e){var t=new u[e];if(Symbol.toStringTag in t){var r=d(t),n=h(r,Symbol.toStringTag);if(!n){var i=d(r);n=h(i,Symbol.toStringTag)}p[e]=n.get}}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=f(a(e),8,-1);return l(c,t)>-1}return!!h&&function(e){var t=!1;return n(p,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}},5127:e=>{"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,n,i,o,a,s,u,c,l,f){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var p in n(o,a,s,u,c,l,f),o){var h=o[p];if(Array.isArray(h)){if(p in t.arrayKeywords)for(var d=0;d<h.length;d++)r(e,n,i,h[d],a+"/"+p+"/"+d,s,a,p,o,d)}else if(p in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)r(e,n,i,h[m],a+"/"+p+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,p,o,m)}else(p in t.keywords||e.allKeys&&!(p in t.skipKeywords))&&r(e,n,i,h,a+"/"+p,s,a,p,o)}i(o,a,s,u,c,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},6051:function(e,t){var r,n,i;n=[],void 0===(i="function"==typeof(r=function(){var e=function(){},t={},r={},n={};function i(e,t){e=e.push?e:[e];var i,o,a,s=[],u=e.length,c=u;for(i=function(e,r){r.length&&s.push(e),--c||t(s)};u--;)o=e[u],(a=r[o])?i(o,a):(n[o]=n[o]||[]).push(i)}function o(e,t){if(e){var i=n[e];if(r[e]=t,i)for(;i.length;)i[0](e,t),i.splice(0,1)}}function a(t,r){t.call&&(t={success:t}),r.length?(t.error||e)(r):(t.success||e)(t)}function s(t,r,n,i){var o,a,u=document,c=n.async,l=(n.numRetries||0)+1,f=n.before||e,p=t.replace(/[\?|#].*$/,""),h=t.replace(/^(css|img)!/,"");i=i||0,/(^css!|\.css$)/.test(p)?((a=u.createElement("link")).rel="stylesheet",a.href=h,(o="hideFocus"in a)&&a.relList&&(o=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(p)?(a=u.createElement("img")).src=h:((a=u.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var u=e.type[0];if(o)try{a.sheet.cssText.length||(u="e")}catch(e){18!=e.code&&(u="e")}if("e"==u){if((i+=1)<l)return s(t,r,n,i)}else if("preload"==a.rel&&"style"==a.as)return a.rel="stylesheet";r(t,u,e.defaultPrevented)},!1!==f(t,a)&&u.head.appendChild(a)}function u(e,t,r){var n,i,o=(e=e.push?e:[e]).length,a=o,u=[];for(n=function(e,r,n){if("e"==r&&u.push(e),"b"==r){if(!n)return;u.push(e)}--o||t(u)},i=0;i<a;i++)s(e[i],n,r)}function c(e,r,n){var i,s;if(r&&r.trim&&(i=r),s=(i?n:r)||{},i){if(i in t)throw"LoadJS";t[i]=!0}function c(t,r){u(e,(function(e){a(s,e),t&&a({success:t,error:r},e),o(i,e)}),s)}if(s.returnPromise)return new Promise(c);c()}return c.ready=function(e,t){return i(e,(function(e){a(t,e)})),c},c.done=function(e){o(e,[])},c.reset=function(){t={},r={},n={}},c.isDefined=function(e){return e in t},c})?r.apply(t,n):r)||(e.exports=i)},819:e=>{"use strict";var t={};function r(e,n){var i;return"string"!=typeof n&&(n=r.defaultChars),i=function(e){var r,n,i=t[e];if(i)return i;for(i=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),i.push(n);for(r=0;r<e.length;r++)i[n=e.charCodeAt(r)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(n),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,n,o,a,s,u,c="";for(t=0,r=e.length;t<r;t+=3)(n=parseInt(e.slice(t+1,t+3),16))<128?c+=i[n]:192==(224&n)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(u=n<<6&1984|63&o)<128?"��":String.fromCharCode(u),t+=3):224==(240&n)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(c+=(u=n<<12&61440|o<<6&4032|63&a)<2048||u>=55296&&u<=57343?"���":String.fromCharCode(u),t+=6):240==(248&n)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((u=n<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||u>1114111?c+="����":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):c+="�";return c}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},4651:e=>{"use strict";var t={};function r(e,n,i){var o,a,s,u,c,l="";for("string"!=typeof n&&(i=n,n=r.defaultChars),void 0===i&&(i=!0),c=function(e){var r,n,i=t[e];if(i)return i;for(i=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<e.length;r++)i[e.charCodeAt(r)]=e[r];return i}(n),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),i&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))l+=e.slice(o,o+3),o+=2;else if(s<128)l+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(u=e.charCodeAt(o+1))>=56320&&u<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},814:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},9762:(e,t,r)=>{"use strict";e.exports.encode=r(4651),e.exports.decode=r(819),e.exports.format=r(814),e.exports.parse=r(7670)},7670:e=>{"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(o),s=["%","/","?",";","#"].concat(a),u=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,o,a,h,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=i.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var y=r.exec(m);if(y&&(a=(y=y[0]).toLowerCase(),this.protocol=y,m=m.substr(y.length)),(t||y||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||y&&f[y]||(m=m.substr(2),this.slashes=!0)),!f[y]&&(d||y&&!p[y])){var v,b,E=-1;for(n=0;n<u.length;n++)-1!==(h=m.indexOf(u[n]))&&(-1===E||h<E)&&(E=h);for(-1!==(b=-1===E?m.lastIndexOf("@"):m.lastIndexOf("@",E))&&(v=m.slice(0,b),m=m.slice(b+1),this.auth=v),E=-1,n=0;n<s.length;n++)-1!==(h=m.indexOf(s[n]))&&(-1===E||h<E)&&(E=h);-1===E&&(E=m.length),":"===m[E-1]&&E--;var w=m.slice(0,E);m=m.slice(E),this.parseHost(w),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x){var S=this.hostname.split(/\./);for(n=0,o=S.length;n<o;n++){var k=S[n];if(k&&!k.match(c)){for(var A="",D=0,C=k.length;D<C;D++)k.charCodeAt(D)>127?A+="x":A+=k[D];if(!A.match(c)){var F=S.slice(0,n),P=S.slice(n+1),O=k.match(l);O&&(F.push(O[1]),P.unshift(O[2])),P.length&&(m=P.join(".")+m),this.hostname=F.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=m.indexOf("#");-1!==T&&(this.hash=m.substr(T),m=m.slice(0,T));var j=m.indexOf("?");return-1!==j&&(this.search=m.substr(j),m=m.slice(0,j)),m&&(this.pathname=m),p[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},1404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compile=void 0;var n=r(9377);t.compile=function(e){var t=e[0],r=e[1]-1;if(r<0&&t<=0)return n.falseFunc;if(-1===t)return function(e){return e<=r};if(0===t)return function(e){return e===r};if(1===t)return r<0?n.trueFunc:function(e){return e>=r};var i=Math.abs(t),o=(r%i+i)%i;return t>1?function(e){return e>=r&&e%i===o}:function(e){return e<=r&&e%i===o}}},364:(e,t,r)=>{"use strict";var n=r(4912);var i=r(1404);t.ZP=function(e){return(0,i.compile)((0,n.parse)(e))}},4912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var r=new Set([9,10,12,13,32]),n="0".charCodeAt(0),i="9".charCodeAt(0);t.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,o=0,a=u(),s=c();if(t<e.length&&"n"===e.charAt(t)&&(t++,o=a*(null!=s?s:1),l(),t<e.length?(a=u(),l(),s=c()):a=s=0),null===s||t<e.length)throw new Error("n-th rule couldn't be parsed ('"+e+"')");return[o,a*s];function u(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function c(){for(var r=t,o=0;t<e.length&&e.charCodeAt(t)>=n&&e.charCodeAt(t)<=i;)o=10*o+(e.charCodeAt(t)-n),t++;return t===r?null:o}function l(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}},2525:e=>{"use strict";
22
+ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},2922:e=>{"use strict";var t,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,t)}catch(e){e!==r&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},s=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};e.exports=o?function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{o(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)}:function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=s.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},8265:(e,t,r)=>{"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(698)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(i.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===o.call(e);if(!c)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&c(t)}return c(e)===n}},4127:e=>{"use strict";e.exports=function(e){return e!=e}},4866:(e,t,r)=>{"use strict";var n=r(4573),o=r(286),i=r(4127),a=r(850),s=r(8045),c=n(a(),Number);o(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},850:(e,t,r)=>{"use strict";var n=r(4127);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},8045:(e,t,r)=>{"use strict";var n=r(286),o=r(850);e.exports=function(){var e=o();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},387:(e,t,r)=>{"use strict";var n=r(5278),o=r(973),i=r(2737),a=i("Object.prototype.toString"),s=r(698)(),c="undefined"==typeof globalThis?r.g:globalThis,u=o(),l=i("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},f=i("String.prototype.slice"),h={},p=r(8828),d=Object.getPrototypeOf;s&&p&&d&&n(u,(function(e){var t=new c[e];if(Symbol.toStringTag in t){var r=d(t),n=p(r,Symbol.toStringTag);if(!n){var o=d(r);n=p(o,Symbol.toStringTag)}h[e]=n.get}}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=f(a(e),8,-1);return l(u,t)>-1}return!!p&&function(e){var t=!1;return n(h,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}},5127:e=>{"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,n,o,i,a,s,c,u,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var h in n(i,a,s,c,u,l,f),i){var p=i[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var d=0;d<p.length;d++)r(e,n,o,p[d],a+"/"+h+"/"+d,s,a,h,i,d)}else if(h in t.propsKeywords){if(p&&"object"==typeof p)for(var m in p)r(e,n,o,p[m],a+"/"+h+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,h,i,m)}else(h in t.keywords||e.allKeys&&!(h in t.skipKeywords))&&r(e,n,o,p,a+"/"+h,s,a,h,i)}o(i,a,s,c,u,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},6051:function(e,t){var r,n,o;n=[],void 0===(o="function"==typeof(r=function(){var e=function(){},t={},r={},n={};function o(e,t){e=e.push?e:[e];var o,i,a,s=[],c=e.length,u=c;for(o=function(e,r){r.length&&s.push(e),--u||t(s)};c--;)i=e[c],(a=r[i])?o(i,a):(n[i]=n[i]||[]).push(o)}function i(e,t){if(e){var o=n[e];if(r[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function a(t,r){t.call&&(t={success:t}),r.length?(t.error||e)(r):(t.success||e)(t)}function s(t,r,n,o){var i,a,c=document,u=n.async,l=(n.numRetries||0)+1,f=n.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(h)?((a=c.createElement("link")).rel="stylesheet",a.href=p,(i="hideFocus"in a)&&a.relList&&(i=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(a=c.createElement("img")).src=p:((a=c.createElement("script")).src=t,a.async=void 0===u||u),a.onload=a.onerror=a.onbeforeload=function(e){var c=e.type[0];if(i)try{a.sheet.cssText.length||(c="e")}catch(e){18!=e.code&&(c="e")}if("e"==c){if((o+=1)<l)return s(t,r,n,o)}else if("preload"==a.rel&&"style"==a.as)return a.rel="stylesheet";r(t,c,e.defaultPrevented)},!1!==f(t,a)&&c.head.appendChild(a)}function c(e,t,r){var n,o,i=(e=e.push?e:[e]).length,a=i,c=[];for(n=function(e,r,n){if("e"==r&&c.push(e),"b"==r){if(!n)return;c.push(e)}--i||t(c)},o=0;o<a;o++)s(e[o],n,r)}function u(e,r,n){var o,s;if(r&&r.trim&&(o=r),s=(o?n:r)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function u(t,r){c(e,(function(e){a(s,e),t&&a({success:t,error:r},e),i(o,e)}),s)}if(s.returnPromise)return new Promise(u);u()}return u.ready=function(e,t){return o(e,(function(e){a(t,e)})),u},u.done=function(e){i(e,[])},u.reset=function(){t={},r={},n={}},u.isDefined=function(e){return e in t},u})?r.apply(t,n):r)||(e.exports=o)},819:e=>{"use strict";var t={};function r(e,n){var o;return"string"!=typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r<e.length;r++)o[n=e.charCodeAt(r)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}(n),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,n,i,a,s,c,u="";for(t=0,r=e.length;t<r;t+=3)(n=parseInt(e.slice(t+1,t+3),16))<128?u+=o[n]:192==(224&n)&&t+3<r&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(u+=(c=n<<6&1984|63&i)<128?"��":String.fromCharCode(c),t+=3):224==(240&n)&&t+6<r&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(u+=(c=n<<12&61440|i<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&n)&&t+9<r&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&a)&&128==(192&s))?((c=n<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||c>1114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):u+="�";return u}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},4651:e=>{"use strict";var t={};function r(e,n,o){var i,a,s,c,u,l="";for("string"!=typeof n&&(o=n,n=r.defaultChars),void 0===o&&(o=!0),u=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<e.length;r++)o[e.charCodeAt(r)]=e[r];return o}(n),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),o&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))l+=e.slice(i,i+3),i+=2;else if(s<128)l+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(c=e.charCodeAt(i+1))>=56320&&c<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},814:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},9762:(e,t,r)=>{"use strict";e.exports.encode=r(4651),e.exports.decode=r(819),e.exports.format=r(814),e.exports.parse=r(7670)},7670:e=>{"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(i),s=["%","/","?",";","#"].concat(a),c=["/","?","#"],u=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,i,a,p,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var y=r.exec(m);if(y&&(a=(y=y[0]).toLowerCase(),this.protocol=y,m=m.substr(y.length)),(t||y||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||y&&f[y]||(m=m.substr(2),this.slashes=!0)),!f[y]&&(d||y&&!h[y])){var v,b,E=-1;for(n=0;n<c.length;n++)-1!==(p=m.indexOf(c[n]))&&(-1===E||p<E)&&(E=p);for(-1!==(b=-1===E?m.lastIndexOf("@"):m.lastIndexOf("@",E))&&(v=m.slice(0,b),m=m.slice(b+1),this.auth=v),E=-1,n=0;n<s.length;n++)-1!==(p=m.indexOf(s[n]))&&(-1===E||p<E)&&(E=p);-1===E&&(E=m.length),":"===m[E-1]&&E--;var w=m.slice(0,E);m=m.slice(E),this.parseHost(w),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x){var S=this.hostname.split(/\./);for(n=0,i=S.length;n<i;n++){var A=S[n];if(A&&!A.match(u)){for(var k="",D=0,C=A.length;D<C;D++)A.charCodeAt(D)>127?k+="x":k+=A[D];if(!k.match(u)){var F=S.slice(0,n),P=S.slice(n+1),O=A.match(l);O&&(F.push(O[1]),P.unshift(O[2])),P.length&&(m=P.join(".")+m),this.hostname=F.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=m.indexOf("#");-1!==T&&(this.hash=m.substr(T),m=m.slice(0,T));var j=m.indexOf("?");return-1!==j&&(this.search=m.substr(j),m=m.slice(0,j)),m&&(this.pathname=m),h[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},2525:e=>{"use strict";
38
23
  /*
39
24
  object-assign
40
25
  (c) Sindre Sorhus
41
26
  @license MIT
42
- */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,u=i(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},836:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,r){return 0===e&&0===r?1/e==1/r:e===r||!(!t(e)||!t(r))}},3822:(e,t,r)=>{"use strict";var n=r(286),i=r(4573),o=r(836),a=r(1800),s=r(7894),u=i(a(),Object);n(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},1800:(e,t,r)=>{"use strict";var n=r(836);e.exports=function(){return"function"==typeof Object.is?Object.is:n}},7894:(e,t,r)=>{"use strict";var n=r(1800),i=r(286);e.exports=function(){var e=n();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},9538:(e,t,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(1030),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===o.call(e),n=a(e),s=t&&"[object String]"===o.call(e),p=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=c&&r;if(s&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)p.push(String(m));if(n&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var y in e)d&&"prototype"===y||!i.call(e,y)||p.push(String(y));if(u)for(var v=function(e){if("undefined"==typeof window||!h)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<l.length;++b)v&&"constructor"===l[b]||!i.call(e,l[b])||p.push(l[b]);return p}}e.exports=n},4733:(e,t,r)=>{"use strict";var n=Array.prototype.slice,i=r(1030),o=Object.keys,a=o?function(e){return o(e)}:r(9538),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(n.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},1030:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},7425:(e,t,r)=>{"use strict";var n=r(7061);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,n="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){-1===u?(n="",i=0):i=(n=n.slice(0,u)).length-1-n.lastIndexOf("/"),o=s,a=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=s,a=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var a={resolve:function(){for(var e,t="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s;a>=0?s=arguments[a]:(void 0===e&&(e=n.cwd()),s=e),i(s),0!==s.length&&(t=s+"/"+t,r=47===s.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,o=n-r,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var u=t.length-s,c=o<u?o:u,l=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(47===t.charCodeAt(s+f))return t.slice(s+f+1);if(0===f)return t.slice(s+f)}else o>c&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(r+f);if(p!==t.charCodeAt(s+f))break;47===p&&(l=f)}var h="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(s+l):(s+=l,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!o){n=a;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var r,n=0,o=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,u=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){n=r+1;break}}else-1===u&&(a=!1,u=r+1),s>=0&&(c===t.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=u))}return n===o?o=u:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){n=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===n&&(o=!1,n=s+1),46===u?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){r=s+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(t.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,c=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===u&&(c=!1,u=l+1),46===n?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){s=l+1;break}return-1===a||-1===u||0===f||1===f&&a===u-1&&a===s+1?-1!==u&&(t.base=t.name=0===s&&o?e.slice(1,u):e.slice(s,u)):(0===s&&o?(t.name=e.slice(1,a),t.base=e.slice(1,u)):(t.name=e.slice(s,a),t.base=e.slice(s,u)),t.ext=e.slice(a,u)),s>0?t.dir=e.slice(0,s-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},7061:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},8772:(e,t,r)=>{"use strict";var n=r(331);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},3615:(e,t,r)=>{e.exports=r(8772)()},331:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8891:(e,t,r)=>{"use strict";const n=r(9742),i=r(1998),o=r(9400),a=r(7728),s=Symbol("encodeFragmentIdentifier");function u(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function l(e,t){return t.decode?i(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){u((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const i="string"==typeof r&&r.includes(e.arrayFormatSeparator),o="string"==typeof r&&!i&&l(r,e).includes(e.arrayFormatSeparator);r=o?l(r,e):r;const a=i||o?r.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===r?r:l(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(n[t]=r?l(r,e):r);const o=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],o):n[t]=o};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),r(l(e,t),a,n)}for(const e of Object.keys(n)){const r=n[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=d(r[e],t);else n[e]=d(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=f(r):e[t]=r,e}),Object.create(null))}t.extract=h,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";u((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&(e=>null==e)(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const i=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",i,"]"].join("")]:[...r,[c(t,e),"[",c(i,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),":list="].join("")]:[...r,[c(t,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:(i=null===i?"":i,0===n.length?[[c(r,e),t,c(i,e)].join("")]:[[n,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),i={};for(const t of Object.keys(e))r(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((r=>{const i=e[r];return void 0===i?"":null===i?c(r,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":i.reduce(n(r),[]).join("&"):c(r,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=o(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(h(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=p(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let u=t.stringify(a,r);u&&(u=`?${u}`);let l=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${r[s]?c(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${u}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:i,query:o,fragmentIdentifier:u}=t.parseUrl(e,n);return t.stringifyUrl({url:i,query:a(o,r),fragmentIdentifier:u},n)},t.exclude=(e,r,n)=>{const i=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,i,n)}},9350:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var l,f,p,h,d=e[c].replace(a,"%20"),m=d.indexOf(n);m>=0?(l=d.substr(0,m),f=d.substr(m+1)):(l=d,f=""),p=decodeURIComponent(l),h=decodeURIComponent(f),t(o,p)?Array.isArray(o[p])?o[p].push(h):o[p]=[o[p],h]:o[p]=h}return o}},4104:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,r,n,i){return r=r||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(r):o+encodeURIComponent(t(e[i]))})).join(r):i?encodeURIComponent(t(i))+n+encodeURIComponent(t(e)):""}},6541:(e,t,r)=>{"use strict";t.decode=t.parse=r(9350),t.encode=t.stringify=r(4104)},4335:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(e[u],a[u]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=e.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(u=s;0!=u--;)if(e[u]!==a[u])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(t&&e instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!e.$$typeof)&&!o(e[c[u]],a[c[u]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},8702:(e,t)=>{"use strict";
27
+ */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,c=o(e),u=1;u<arguments.length;u++){for(var l in a=Object(arguments[u]))r.call(a,l)&&(c[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(c[s[f]]=a[s[f]])}}return c}},836:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,r){return 0===e&&0===r?1/e==1/r:e===r||!(!t(e)||!t(r))}},3822:(e,t,r)=>{"use strict";var n=r(286),o=r(4573),i=r(836),a=r(1800),s=r(7894),c=o(a(),Object);n(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},1800:(e,t,r)=>{"use strict";var n=r(836);e.exports=function(){return"function"==typeof Object.is?Object.is:n}},7894:(e,t,r)=>{"use strict";var n=r(1800),o=r(286);e.exports=function(){var e=n();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},9538:(e,t,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(1030),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),n=a(e),s=t&&"[object String]"===i.call(e),h=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=u&&r;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)h.push(String(m));if(n&&e.length>0)for(var g=0;g<e.length;++g)h.push(String(g));else for(var y in e)d&&"prototype"===y||!o.call(e,y)||h.push(String(y));if(c)for(var v=function(e){if("undefined"==typeof window||!p)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<l.length;++b)v&&"constructor"===l[b]||!o.call(e,l[b])||h.push(l[b]);return h}}e.exports=n},4733:(e,t,r)=>{"use strict";var n=Array.prototype.slice,o=r(1030),i=Object.keys,a=i?function(e){return i(e)}:r(9538),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(n.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},1030:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},7425:(e,t,r)=>{"use strict";var n=r(7061);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var r,n="",o=0,i=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(i===s-1||1===a);else if(i!==s-1&&2===a){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),i=s,a=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=s,a=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var a={resolve:function(){for(var e,t="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s;a>=0?s=arguments[a]:(void 0===e&&(e=n.cwd()),s=e),o(s),0!==s.length&&(t=s+"/"+t,r=47===s.charCodeAt(0))}return t=i(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,i=n-r,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var c=t.length-s,u=i<c?i:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===t.charCodeAt(s+f))return t.slice(s+f+1);if(0===f)return t.slice(s+f)}else i>u&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var h=e.charCodeAt(r+f);if(h!==t.charCodeAt(s+f))break;47===h&&(l=f)}var p="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(s+l):(s+=l,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){n=a;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!a){n=r+1;break}}else-1===c&&(a=!1,c=r+1),s>=0&&(u===t.charCodeAt(s)?-1==--s&&(i=r):(s=-1,i=c))}return n===i?i=c:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){n=r+1;break}}else-1===i&&(a=!1,i=r+1);return-1===i?"":e.slice(n,i)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,i=!0,a=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===n&&(i=!1,n=s+1),46===c?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){r=s+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),i=47===n;i?(t.root="/",r=1):r=0;for(var a=-1,s=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!u){s=l+1;break}return-1===a||-1===c||0===f||1===f&&a===c-1&&a===s+1?-1!==c&&(t.base=t.name=0===s&&i?e.slice(1,c):e.slice(s,c)):(0===s&&i?(t.name=e.slice(1,a),t.base=e.slice(1,c)):(t.name=e.slice(s,a),t.base=e.slice(s,c)),t.ext=e.slice(a,c)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},7061:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&h())}function h(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l<t;)s&&s[l].run();l=-1,t=c.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},8772:(e,t,r)=>{"use strict";var n=r(331);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},3615:(e,t,r)=>{e.exports=r(8772)()},331:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8891:(e,t,r)=>{"use strict";const n=r(9742),o=r(1998),i=r(9400),a=r(7728),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function h(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=h(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const o="string"==typeof r&&r.includes(e.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,e).includes(e.arrayFormatSeparator);r=i?l(r,e):r;const a=o||i?r.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===r?r:l(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(n[t]=r?l(r,e):r);const i=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],i):n[t]=i};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),r(l(e,t),a,n)}for(const e of Object.keys(n)){const r=n[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=d(r[e],t);else n[e]=d(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=f(r):e[t]=r,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&(e=>null==e)(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),"[",o,"]"].join("")]:[...r,[u(t,e),"[",u(o,e),"]=",u(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),"[]"].join("")]:[...r,[u(t,e),"[]=",u(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),":list="].join("")]:[...r,[u(t,e),":list=",u(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(r,e),t,u(o,e)].join("")]:[[n,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,u(t,e)]:[...r,[u(t,e),"=",u(n,e)].join("")]}}(t),o={};for(const t of Object.keys(e))r(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((r=>{const o=e[r];return void 0===o?"":null===o?u(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(r,t)+"[]":o.reduce(n(r),[]).join("&"):u(r,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=i(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=h(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,r);c&&(c=`?${c}`);let l=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${r[s]?u(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${c}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:c},n)},t.exclude=(e,r,n)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},9350:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,n,o){r=r||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(r);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u<c;++u){var l,f,h,p,d=e[u].replace(a,"%20"),m=d.indexOf(n);m>=0?(l=d.substr(0,m),f=d.substr(m+1)):(l=d,f=""),h=decodeURIComponent(l),p=decodeURIComponent(f),t(i,h)?Array.isArray(i[h])?i[h].push(p):i[h]=[i[h],p]:i[h]=p}return i}},4104:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,r,n,o){return r=r||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(t(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(t(e))})).join(r):i+encodeURIComponent(t(e[o]))})).join(r):o?encodeURIComponent(t(o))+n+encodeURIComponent(t(e)):""}},6541:(e,t,r)=>{"use strict";t.decode=t.parse=r(9350),t.encode=t.stringify=r(4104)},4335:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(e[c],a[c]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=e.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!e.$$typeof)&&!i(e[u[c]],a[u[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},8702:(e,t)=>{"use strict";
43
28
  /** @license React v16.13.1
44
29
  * react-is.production.min.js
45
30
  *
@@ -47,7 +32,7 @@ object-assign
47
32
  *
48
33
  * This source code is licensed under the MIT license found in the
49
34
  * LICENSE file in the root directory of this source tree.
50
- */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case u:return e;default:return t}}case i:return t}}}function x(e){return w(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||w(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===E||e.$$typeof===y)},t.typeOf=w},9185:(e,t,r)=>{"use strict";e.exports=r(8702)},7978:(e,t)=>{"use strict";var r=60103,n=60106,i=60107,o=60108,a=60114,s=60109,u=60110,c=60112,l=60113,f=60120,p=60115,h=60116,d=60121,m=60122,g=60117,y=60129,v=60131;
35
+ */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case m:case c:return e;default:return t}}case o:return t}}}function x(e){return w(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=n,t.ForwardRef=h,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||w(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===a||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===E||e.$$typeof===y)},t.typeOf=w},9185:(e,t,r)=>{"use strict";e.exports=r(8702)},7978:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,i=60108,a=60114,s=60109,c=60110,u=60112,l=60113,f=60120,h=60115,p=60116,d=60121,m=60122,g=60117,y=60129,v=60131;
51
36
  /** @license React v17.0.2
52
37
  * react-is.production.min.js
53
38
  *
@@ -55,7 +40,7 @@ object-assign
55
40
  *
56
41
  * This source code is licensed under the MIT license found in the
57
42
  * LICENSE file in the root directory of this source tree.
58
- */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),p=b("react.memo"),h=b("react.lazy"),d=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case l:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case p:case s:return e;default:return t}}case n:return t}}}},9272:(e,t,r)=>{"use strict";r(7978)},1426:(e,t,r)=>{"use strict";
43
+ */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),c=b("react.context"),u=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),h=b("react.memo"),p=b("react.lazy"),d=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case p:case h:case s:return e;default:return t}}case n:return t}}}},9272:(e,t,r)=>{"use strict";r(7978)},1426:(e,t,r)=>{"use strict";
59
44
  /** @license React v17.0.2
60
45
  * react-jsx-runtime.production.min.js
61
46
  *
@@ -63,7 +48,7 @@ object-assign
63
48
  *
64
49
  * This source code is licensed under the MIT license found in the
65
50
  * LICENSE file in the root directory of this source tree.
66
- */r(2525);var n=r(7363),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},1311:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>o,detach:()=>a,shouldRetryRequest:()=>l,getConfig:()=>f});var n=r(4206),i=r.n(n);function o(e){return(e=e||i()).interceptors.response.use(s,c)}function a(e,t){(t=t||i()).interceptors.response.eject(e)}function s(e){return e}function u(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach((function(r){"number"==typeof r&&(t[r]=e[r])})),t)}function c(e){if(i().isCancel(e))return Promise.reject(e);var t=f(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||i(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=u(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=u(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||l)(e))return Promise.reject(e);var r=new Promise((function(r,n){var i=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var o=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(o&&o>0&&o<=t.maxRetryAfter))return n(e);i=o}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===i&&(i="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(i=Math.min(i,t.maxRetryDelay))),setTimeout(r,i)})),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then((function(){return r})).then((function(){return n})).then((function(){return t.instance.request(e.config)}))}function l(e){var t=e.config.raxConfig;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){for(var r=!1,n=0,i=t.statusCodesToRetry;n<i.length;n+=1){var o=i[n],a=e.response.status;if(a>=o[0]&&a<=o[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function f(e){if(e&&e.config)return e.config.raxConfig}},4445:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(i=r?r.call(n,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},9400:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},9742:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},2371:function(e,t){
51
+ */r(2525);var n=r(7363),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,i={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:l,props:i,_owner:a.current}}t.jsx=u,t.jsxs=u},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},1311:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>i,detach:()=>a,getConfig:()=>f,shouldRetryRequest:()=>l});var n=r(4206),o=r.n(n);function i(e){return(e=e||o()).interceptors.response.use(s,u)}function a(e,t){(t=t||o()).interceptors.response.eject(e)}function s(e){return e}function c(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach((function(r){"number"==typeof r&&(t[r]=e[r])})),t)}function u(e){if(o().isCancel(e))return Promise.reject(e);var t=f(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||o(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=c(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=c(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||l)(e))return Promise.reject(e);var r=new Promise((function(r,n){var o=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var i=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(i&&i>0&&i<=t.maxRetryAfter))return n(e);o=i}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===o&&(o="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(o=Math.min(o,t.maxRetryDelay))),setTimeout(r,o)})),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then((function(){return r})).then((function(){return n})).then((function(){return t.instance.request(e.config)}))}function l(e){var t=e.config.raxConfig;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){for(var r=!1,n=0,o=t.statusCodesToRetry;n<o.length;n+=1){var i=o[n],a=e.response.status;if(a>=i[0]&&a<=i[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function f(e){if(e&&e.config)return e.config.raxConfig}},4445:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=e[u],f=t[u];if(!1===(o=r?r.call(n,l,f,u):void 0)||void 0===o&&l!==f)return!1}return!0}},9400:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},9742:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},2371:function(e,t){
67
52
  /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
68
- !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,i,"[\\+\\-\\.]")+"*"),p=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),d=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(o+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),w=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),x=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),S=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),k=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),A=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),D=r([y,v,b,E,w,x,S,k,A].join("|")),C=r(r(l+"|"+a)+"+"),F=(r(D+"\\%25"+C),r(D+r("\\%25|\\%(?!"+o+"{2})")+C)),P=r("[vV]"+o+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(F+"|"+D+"|"+P)+"\\]"),T=r(r(a+"|"+t(l,s))+"*"),j=r(O+"|"+d+"(?!"+T+")|"+T),_=r(i+"*"),I=r(r(p+"@")+"?"+j+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),L=r(R+"*"),N=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),B=r(r("\\/"+L)+"*"),z=r("\\/"+r(N+B)+"?"),U=r(M+B),$=r(N+B),q="(?!"+R+")",V=(r(B+"|"+z+"|"+U+"|"+$+"|"+q),r(r(R+"|"+t("[\\/\\?]",c))+"*")),H=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+I+B)+"|"+z+"|"+$+"|"+q),W=r(f+"\\:"+G+r("\\?"+V)+"?"+r("\\#"+H)+"?"),Q=r(r("\\/\\/"+I+B)+"|"+z+"|"+U+"|"+q),K=r(Q+r("\\?"+V)+"?"+r("\\#"+H)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+V)+"?"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+U+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r("("+p+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+D+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+C+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},p=2147483647,h=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",w=/^xn--/,x=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=h-d,D=Math.floor,C=String.fromCharCode;function F(e){throw new RangeError(k[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(S,".")).split("."),t).join(".")}function T(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,r){var n=0;for(e=r?D(e/y):e>>1,e+=D(e/t);e>A*m>>1;n+=h)e=D(e/A);return D(n+(A+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,i=b,o=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&F("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=h;;f+=h){u>=r&&F("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>D((p-n)/l))&&F("overflow"),n+=g*l;var y=f<=o?d:f>=o+m?m:f-o;if(g<y)break;var w=h-y;l>D(p/w)&&F("overflow"),l*=w}var x=t.length+1;o=I(n-c,x,0==c),D(n/x)>p-i&&F("overflow"),i+=D(n/x),n%=x,t.splice(n++,0,i)}return String.fromCodePoint.apply(String,t)},L=function(e){var t=[],r=(e=T(e)).length,n=b,i=0,o=v,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(C(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var w=p,x=!0,S=!1,k=void 0;try{for(var A,P=e[Symbol.iterator]();!(x=(A=P.next()).done);x=!0){var O=A.value;O>=n&&O<w&&(w=O)}}catch(e){S=!0,k=e}finally{try{!x&&P.return&&P.return()}finally{if(S)throw k}}var j=y+1;w-n>D((p-i)/j)&&F("overflow"),i+=(w-n)*j,n=w;var R=!0,L=!1,N=void 0;try{for(var M,B=e[Symbol.iterator]();!(R=(M=B.next()).done);R=!0){var z=M.value;if(z<n&&++i>p&&F("overflow"),z==n){for(var U=i,$=h;;$+=h){var q=$<=o?d:$>=o+m?m:$-o;if(U<q)break;var V=U-q,H=h-q;t.push(C(_(q+V%H,0))),U=D(V/H)}t.push(C(_(U,0))),o=I(i,j,y==g),i=0,++y}}}catch(e){L=!0,N=e}finally{try{!R&&B.return&&B.return()}finally{if(L)throw N}}++i,++n}return t.join("")},N=function(e){return O(e,(function(e){return w.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return x.test(e)?"xn--"+L(e):e}))},B={version:"2.1.0",ucs2:{decode:T,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:L,toASCII:M,toUnicode:N},z={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function $(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function q(e,t){function r(e){var r=$(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,i)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function H(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(V).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(V):[],p=u.split(":").map(V),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,m=p.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||p[m+y]||"";h&&(g[d-1]=H(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),w=g.slice(v.index+v.length);b=E.join(":")+"::"+w.join(":")}else b=g.join(":");return o&&(b+="%"+o),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(W);if(i){Q?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=G(H(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=z[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)q(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=B.toASCII(r.host.replace(n.PCT_ENCODED,$).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}q(r,u)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Y(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(H(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var X=/^\.\.?\//,Z=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],i=z[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(r.PCT_ENCODED,$).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}q(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=Y(e,t);if(void 0!==o&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||i&&i.absolutePath||(a=te(a)),void 0===o&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function ie(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function oe(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,$)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),i=n[0],o=n[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),xe=new RegExp(ye,"g"),Se=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),ke=new RegExp(t("[^]",me,Ee),"g"),Ae=ke;function De(e){var t=$(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,p=l.length;f<p;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:i=!0,o[ue(c[0],t)]=ue(c[1],t)}}i&&(r.headers=o)}r.query=void 0;for(var h=0,d=n.length;h<d;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=o(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(xe,De).replace(xe,i).replace(Se,U),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var h=[];for(var d in p)p[d]!==de[d]&&h.push(d.replace(xe,De).replace(xe,i).replace(ke,U)+"="+p[d].replace(xe,De).replace(xe,i).replace(Ae,U));return h.length&&(r.query=h.join("&")),r}},Fe=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Fe),n=e;if(r){var i=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(t.nid||o),u=z[s];n.nid=o,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),o=z[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Te={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};z[ce.scheme]=ce,z[le.scheme]=le,z[pe.scheme]=pe,z[he.scheme]=he,z[Ce.scheme]=Ce,z[Pe.scheme]=Pe,z[Te.scheme]=Te,e.SCHEMES=z,e.pctEncChar=U,e.pctDecChars=$,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=ie,e.normalize=oe,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8884:function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r.g&&r.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,d=String.fromCharCode;function m(e){throw RangeError(p[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=d(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;n+=u)e=h(e/35);return h(n+36*e/(e+38))}function x(e){var t,r,n,i,o,a,c,l,f,p,d,g=[],y=e.length,v=0,E=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&m("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<y;){for(o=v,a=1,c=u;i>=y&&m("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:u)>=u||l>h((s-v)/a))&&m("overflow"),v+=l*a,!(l<(f=c<=x?1:c>=x+26?26:c-x));c+=u)a>h(s/(p=u-f))&&m("overflow"),a*=p;x=w(v-o,t=g.length+1,0==o),h(v/t)>s-E&&m("overflow"),E+=h(v/t),v%=t,g.splice(v++,0,E)}return b(g)}function S(e){var t,r,n,i,o,a,c,l,f,p,g,y,b,x,S,k=[];for(y=(e=v(e)).length,t=128,r=0,o=72,a=0;a<y;++a)(g=e[a])<128&&k.push(d(g));for(n=i=k.length,i&&k.push("-");n<y;){for(c=s,a=0;a<y;++a)(g=e[a])>=t&&g<c&&(c=g);for(c-t>h((s-r)/(b=n+1))&&m("overflow"),r+=(c-t)*b,t=c,a=0;a<y;++a)if((g=e[a])<t&&++r>s&&m("overflow"),g==t){for(l=r,f=u;!(l<(p=f<=o?1:f>=o+26?26:f-o));f+=u)S=l-p,x=u-p,k.push(d(E(p+S%x,0))),l=h(S/x);k.push(d(E(l,0))),o=w(r,b,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:x,encode:S,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},4760:(e,t,r)=>{"use strict";var n=r(8884),i=r(569);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(6541);function b(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=u.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(S||w&&!y[w])){for(var k,A,D=-1,C=0;C<p.length;C++){-1!==(F=b.indexOf(p[C]))&&(-1===D||F<D)&&(D=F)}-1!==(A=-1===D?b.lastIndexOf("@"):b.lastIndexOf("@",D))&&(k=b.slice(0,A),b=b.slice(A+1),this.auth=decodeURIComponent(k)),D=-1;for(C=0;C<f.length;C++){var F;-1!==(F=b.indexOf(f[C]))&&(-1===D||F<D)&&(D=F)}-1===D&&(D=b.length),this.host=b.slice(0,D),b=b.slice(D),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),T=(C=0,O.length);C<T;C++){var j=O[C];if(j&&!j.match(h)){for(var _="",I=0,R=j.length;I<R;I++)j.charCodeAt(I)>127?_+="x":_+=j[I];if(!_.match(h)){var L=O.slice(0,C),N=O.slice(C+1),M=j.match(d);M&&(L.push(M[1]),N.unshift(M[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+B,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(C=0,T=l.length;C<T;C++){var U=l[C];if(-1!==b.indexOf(U)){var $=encodeURIComponent(U);$===U&&($=escape(U)),b=b.split(U).join($)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var V=b.indexOf("?");if(-1!==V?(this.search=b.substr(V),this.query=b.substr(V+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,V)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var H=this.search||"";this.path=B+H}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=E||b||r.host&&e.pathname,x=w,S=r.pathname&&r.pathname.split("/")||[],k=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(k&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===S[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(k)r.hostname=r.host=S.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=S.slice(-1)[0],D=(r.host||e.host||S.length>1)&&("."===A||".."===A)||""===A,C=0,F=S.length;F>=0;F--)"."===(A=S[F])?S.splice(F,1):".."===A?(S.splice(F,1),C++):C&&(S.splice(F,1),C--);if(!w&&!x)for(;C--;C)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),D&&"/"!==S.join("/").substr(-1)&&S.push("");var P,O=""===S[0]||S[0]&&"/"===S[0].charAt(0);k&&(r.hostname=r.host=O?"":S.length?S.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(w=w||r.host&&S.length)&&!O&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},569:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},6579:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:(e,t,r)=>{"use strict";var n=r(7740),i=r(8265),o=r(2505),a=r(387);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function w(e){return"[object ArrayBuffer]"===l(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===l(e)}function k(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=x,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function D(e){return"[object SharedArrayBuffer]"===l(e)}function C(e){return void 0!==A&&(void 0===D.working&&(D.working=D(new A)),D.working?D(e):e instanceof A)}function F(e){return g(e,f)}function P(e){return g(e,p)}function O(e){return g(e,h)}function T(e){return u&&g(e,d)}function j(e){return c&&g(e,m)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=F,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=T,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return F(e)||P(e)||O(e)||T(e)||j(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},1323:(e,t,r)=>{var n=r(7061),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<i;s=n[++r])y(s)||!x(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&A(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=p(e,i,n)),i}var o=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(A(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(k(r))return h(r)}var c,l="",f=!1,x=["{","}"];(m(r)&&(f=!0,x=["[","]"]),A(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),k(r)&&(l=" "+h(r)),0!==a.length||f&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(d(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,x)):x[0]+l+x[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===D(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===D(e)}function k(e){return x(e)&&("[object Error]"===D(e)||e instanceof Error)}function A(e){return"function"==typeof e}function D(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7673),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=S,t.types.isDate=S,t.isError=k,t.types.isNativeError=k,t.isFunction=A,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(6579);var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=r(87),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},2505:(e,t,r)=>{"use strict";var n=r(8372),i=r(973),o=r(2737),a=o("Object.prototype.toString"),s=r(698)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),l=o("String.prototype.slice"),f={},p=r(8828),h=Object.getPrototypeOf;s&&p&&h&&n(c,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=p(r,Symbol.toStringTag);if(!n){var i=h(r);n=p(i,Symbol.toStringTag)}f[e]=n.get}}}));var d=r(387);e.exports=function(e){return!!d(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return n(f,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):l(a(e),8,-1))}},7363:e=>{"use strict";e.exports=React},1533:e=>{"use strict";e.exports=ReactDOM},2611:e=>{"use strict";e.exports=_},134:e=>{"use strict";e.exports=_.isEqual},429:()=>{},973:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},8828:(e,t,r)=>{"use strict";var n=r(8750)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},9477:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});const n=document.createElement("i");function i(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},2268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blockquote:()=>o});var n=r(5471),i=r(4671);function o(e,t,r){const o=r.enter("blockquote"),s=(0,i.Q)((0,n.K)(e,r),a);return o(),s}function a(e,t,r){return">"+(r?"":" ")+e}},6156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>s});var n=r(3428),i=r(3339),o=r(8717);var a=r(7567);function s(e,t,r){const s=Math.max(Math.min(6,e.depth||1),1);if(function(e,t){let r=!1;return(0,n.visit)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,i.BK})),Boolean((!e.depth||e.depth<3)&&(0,o.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),i=(0,a.p)(e,r,{before:"\n",after:"\n"});return n(),t(),i+"\n"+(1===s?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const u="#".repeat(s),c=r.enter("headingAtx"),l=r.enter("phrasing");let f=(0,a.p)(e,r,{before:"# ",after:"\n"});return/^[\t ]/.test(f)&&(f="&#x"+f.charCodeAt(0).toString(16).toUpperCase()+";"+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),l(),c(),f}},8627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(1481),i=r(3316);function o(e,t,r){const o=(0,n.l)(r),a='"'===o?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label"),c="!["+(0,i.T)(r,e.alt,{before:"[",after:"]"})+"](";return u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),c+="<"+(0,i.T)(r,e.url,{before:"<",after:">"})+">"):(u=r.enter("destinationRaw"),c+=(0,i.T)(r,e.url,{before:"(",after:e.title?" ":")"})),u(),e.title&&(u=r.enter("title"+a),c+=" "+o+(0,i.T)(r,e.title,{before:o,after:o})+o,u()),c+=")",s(),c}o.peek=function(){return"!"}},2848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{paragraph:()=>i});var n=r(7567);function i(e,t,r){const i=r.enter("paragraph"),o=r.enter("phrasing"),a=(0,n.p)(e,r,{before:"\n",after:"\n"});return o(),i(),a}},1481:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},5471:(e,t,r)=>{"use strict";function n(e,t){const r=t.indexStack,n=e.children||[],i=[];let o=-1;for(r.push(-1);++o<n.length;){const s=n[o];r[r.length-1]=o,i.push(t.handle(s,e,t,{before:"\n",after:"\n"})),"list"!==s.type&&(t.bulletLastUsed=void 0),o<n.length-1&&i.push(a(s,n[o+1]))}return r.pop(),i.join("");function a(r,n){let i=t.join.length;for(;i--;){const o=t.join[i](r,n,e,t);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}r.d(t,{K:()=>n})},7567:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],o=[];let a=-1,s=r.before;for(n.push(-1);++a<i.length;){const u=i[a];let c;if(n[n.length-1]=a,a+1<i.length){let r=t.handle.handlers[i[a+1].type];r&&r.peek&&(r=r.peek),c=r?r(i[a+1],e,t,{before:"",after:""}).charAt(0):""}else c=r.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" "),o.push(t.handle(u,e,t,{before:s,after:c})),s=o[o.length-1].slice(-1)}return n.pop(),o.join("")}r.d(t,{p:()=>n})},4671:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});const n=/\r?\n|\r/g;function i(e,t){const r=[];let i,o=0,a=0;for(;i=n.exec(e);)s(e.slice(o,i.index)),r.push(i[0]),o=i.index+i[0].length,a++;return s(e.slice(o)),r.join("");function s(e){r.push(t(e,a,!e))}}},7866:(e,t,r)=>{"use strict";function n(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}r.d(t,{T:()=>n})},3316:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(7866);function i(e,t){return o(e,t.inConstruct,!0)&&!o(e,t.notInConstruct,!1)}function o(e,t,r){if(!t)return r;"string"==typeof t&&(t=[t]);let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function a(e,t,r){const o=(r.before||"")+(t||"")+(r.after||""),a=[],c=[],l={};let f=-1;for(;++f<e.unsafe.length;){const t=e.unsafe[f];if(!i(e.stack,t))continue;const r=(0,n.T)(t);let s;for(;s=r.exec(o);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=s.index+(e?s[1].length:0);a.includes(n)?(l[n].before&&!e&&(l[n].before=!1),l[n].after&&!r&&(l[n].after=!1)):(a.push(n),l[n]={before:e,after:r})}}a.sort(s);let p=r.before?r.before.length:0;const h=o.length-(r.after?r.after.length:0);for(f=-1;++f<a.length;){const e=a[f];e<p||e>=h||(e+1<h&&a[f+1]===e+1&&l[e].after&&!l[e+1].before&&!l[e+1].after||a[f-1]===e-1&&l[e].before&&!l[e-1].before&&!l[e-1].after||(p!==e&&c.push(u(o.slice(p,e),"\\")),p=e,!/[!-/:-@[-`{-~]/.test(o.charAt(e))||r.encode&&r.encode.includes(o.charAt(e))?(c.push("&#x"+o.charCodeAt(e).toString(16).toUpperCase()+";"),p++):c.push("\\")))}return c.push(u(o.slice(p,h),r.after)),c.join("")}function s(e,t){return e-t}function u(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],i=[],o=e+t;let a,s=-1,u=0;for(;a=r.exec(o);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&i.push(e.slice(u,n[s])),i.push("\\"),u=n[s];return i.push(e.slice(u)),i.join("")}},8717:(e,t,r)=>{"use strict";function n(e,t){var{includeImageAlt:r=!0}=t||{};return i(e,r)}function i(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&o(e.children,t)||Array.isArray(e)&&o(e,t))||""}function o(e,t){for(var r=[],n=-1;++n<e.length;)r[n]=i(e[n],t);return r.join("")}r.d(t,{B:()=>n})},9531:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>i.j,blankLine:()=>o.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>p.k,definition:()=>h.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>w.g,list:()=>x.p,setextUnderline:()=>S.C,thematicBreak:()=>k.C});var n=r(8415),i=r(7444),o=r(2929),a=r(7207),s=r(1687),u=r(2810),c=r(4897),l=r(2535),f=r(5180),p=r(6814),h=r(4882),d=r(6100),m=r(5528),g=r(5198),y=r(5890),v=r(8966),b=r(5365),E=r(5856),w=r(890),x=r(4618),S=r(6263),k=r(8038)},8415:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(8300),i=r(3886),o=r(3879);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=(0,i.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,i.r)(u),f=!l||2===l&&o||r.includes(u),p=!o||2===o&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(o||!p)),c._close=Boolean(42===a?p:p&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,i,a,u,c,l,f,p,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close)for(r=h;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[r][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[h][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[h][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[h][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[h][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,o.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,h),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",i,t]]),e[h][1].end.offset-e[h][1].start.offset?(p=2,f=(0,n.V)(f,[["enter",e[h][1],t],["exit",e[h][1],t]])):p=0,(0,n.d)(e,r-1,h-r+3,f),h=r+f.length-p-2;break}h=-1;for(;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},7444:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(488);const i={name:"autolink",tokenize:function(e,t,r){let i=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&i++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),i=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),i=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):p(t)}function p(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&i++<63?(e.consume(t),45===t?p:f):r(t)}function h(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},2929:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(4014),i=r(488);const o={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,i.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},7207:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(4014),i=r(488);const o={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return r(t)};function o(r){return(0,i.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(o,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},1687:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(488);const i={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return(0,n.asciiPunctuation)(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}}},2810:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var n=r(9477),i=r(488);const o={name:"characterReference",tokenize:function(e,t,r){const o=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=i.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=i.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=i.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==i.asciiAlphanumeric||(0,n.T)(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},4897:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(4014),i=r(488);const o={name:"codeFenced",tokenize:function(e,t,r){const o=this,a={tokenize:function(e,t,r){let o=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),o++,s):o<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,p(t)};function p(t){return t===l?(e.consume(t),f++,p):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,h,"whitespace")(t))}function h(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),o.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,i.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,c?(0,n.factorySpace)(e,v,"linePrefix",c+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},2535:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});var n=r(4014),i=r(488);const o={name:"codeIndented",tokenize:function(e,t,r){const o=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,i.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const o=this;return a;function a(t){return o.parser.lazy[o.now().line]?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=o.events[o.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,i.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},5180:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(488);const i={name:"codeText",tokenize:function(e,t,r){let i,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(o=e.enter("codeTextSequence"),i=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),i++,l):i===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(o.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}t=i-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},6814:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(4014),i=r(488),o=r(2988);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?o(t):(0,i.markdownLineEnding)(t)?e.check(s,a,o)(t):(e.consume(t),n)}function o(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,o._)(e),e}},s={tokenize:function(e,t,r){const o=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,i.markdownLineEnding)(n))return r(n);const a=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(o.parser.constructs.flow,r,t)(n)}},partial:!0}},4882:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(917),i=r(7504),o=r(4014),a=r(1559),s=r(6096),u=r(2493),c=r(488);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),i.factoryLabel.call(a,e,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,o.factorySpace)(e,h,"whitespace"),(0,o.factorySpace)(e,h,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function h(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,o.factorySpace)(e,i,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function i(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},6100:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var n=r(488);const i={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return(0,n.markdownLineEnding)(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):r(i)}}}},5528:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(4014),i=r(488),o=r(8300);const a={name:"headingAtx",tokenize:function(e,t,r){const o=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,i.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),o.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,i.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,i.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,i=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);i-2>a&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4);i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,o.d)(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},5198:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(488);const i=["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"],o=["pre","script","style","textarea"];var a=r(2929);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,p;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h};function h(i){return 33===i?(e.consume(i),d):47===i?(e.consume(i),y):63===i?(e.consume(i),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(i)?(e.consume(i),l=String.fromCharCode(i),c=!0,v):r(i)}function d(i){return 45===i?(e.consume(i),s=2,m):91===i?(e.consume(i),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(i)?(e.consume(i),s=4,a.interrupt?t:M):r(i)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&o.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):i.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?w(u):E(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),v):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):F(t)}function w(t){return 47===t?(e.consume(t),F):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),x):(0,n.markdownSpace)(t)?(e.consume(t),w):F(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),x):S(t)}function S(t){return 61===t?(e.consume(t),k):(0,n.markdownSpace)(t)?(e.consume(t),S):w(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),p=t,A):(0,n.markdownSpace)(t)?(e.consume(t),k):(p=null,D(t))}function A(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===p?(e.consume(t),C):(e.consume(t),A)}function D(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?S(t):(e.consume(t),D)}function C(e){return 47===e||62===e||(0,n.markdownSpace)(e)?w(e):r(e)}function F(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),I):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),B):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),N):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?T(t):(e.consume(t),O):e.check(u,B,T)(t)}function T(t){return e.exit("htmlFlowData"),j(t)}function j(t){return null===t?z(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},j,z)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function I(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",L):O(t)}function L(t){return 62===t&&o.includes(l.toLowerCase())?(e.consume(t),B):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),L):O(t)}function N(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),B):45===t&&2===s?(e.consume(t),M):O(t)}function B(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),B)}function z(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););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));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},5890:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(4014),i=r(488);const o={name:"htmlText",tokenize:function(e,t,r){const o=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),k):63===t?(e.consume(t),x):(0,i.asciiAlpha)(t)?(e.consume(t),C):r(t)}function f(t){return 45===t?(e.consume(t),p):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,i.asciiAlpha)(t)?(e.consume(t),w):r(t)}function p(t){return 45===t?(e.consume(t),h):r(t)}function h(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,i.markdownLineEnding)(t)?(c=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),N):m(t)}function y(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,i.markdownLineEnding)(t)?(c=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?N(t):93===t?(e.consume(t),E):v(t)}function w(t){return null===t||62===t?N(t):(0,i.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(t){return null===t?r(t):63===t?(e.consume(t),S):(0,i.markdownLineEnding)(t)?(c=x,R(t)):(e.consume(t),x)}function S(e){return 62===e?N(e):x(e)}function k(t){return(0,i.asciiAlpha)(t)?(e.consume(t),A):r(t)}function A(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),A):D(t)}function D(t){return(0,i.markdownLineEnding)(t)?(c=D,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),D):N(t)}function C(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),C):47===t||62===t||(0,i.markdownLineEndingOrSpace)(t)?F(t):r(t)}function F(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,i.asciiAlpha)(t)?(e.consume(t),P):(0,i.markdownLineEnding)(t)?(c=F,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),F):N(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),T):(0,i.markdownLineEnding)(t)?(c=O,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),O):F(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,j):(0,i.markdownLineEnding)(t)?(c=T,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),T):(e.consume(t),a=void 0,I)}function j(t){return t===a?(e.consume(t),_):null===t?r(t):(0,i.markdownLineEnding)(t)?(c=j,R(t)):(e.consume(t),j)}function _(e){return 62===e||47===e||(0,i.markdownLineEndingOrSpace)(e)?F(e):r(e)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,i.markdownLineEndingOrSpace)(t)?F(t):(e.consume(t),I)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function L(t){return e.enter("htmlTextData"),c(t)}function N(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},8966:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(917),i=r(7504),o=r(1559),a=r(6096),s=r(488),u=r(8300),c=r(2493),l=r(3879);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let i,o,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){i=n.events[a][1];break}return function(t){if(!i)return r(t);return i._inactive?u(t):(o=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(p,t,o?t:u)(r):91===r?e.attempt(h,t,o?e.attempt(d,t,u):u)(r):o?t(r):u(r)}function u(e){return i._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,i,o,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(i=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[i][1].end)},p={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",c,t],["enter",f,t]],o=(0,u.V)(o,e.slice(n+1,n+s+3)),o=(0,u.V)(o,[["enter",p,t]]),o=(0,u.V)(o,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,i-3),t)),o=(0,u.V)(o,[["exit",p,t],e[i-2],e[i-1],["exit",f,t]]),o=(0,u.V)(o,e.slice(i+1)),o=(0,u.V)(o,[["exit",c,t]]),(0,u.d)(e,n,e.length,o),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},p={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,i)};function i(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,o.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},h={tokenize:function(e,t,r){const n=this;return function(t){return i.factoryLabel.call(n,e,o,r,"reference","referenceMarker","referenceString")(t)};function o(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},5365:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},5856:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},890:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(4014);const i={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},4618:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(4014),i=r(488),o=r(2929),a=r(8038);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const o=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!n.containerState.marker||t===n.containerState.marker:(0,i.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,p)(t):p(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,i.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),p(t)):r(t)}function p(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(o.w,n.interrupt?r:h,e.attempt(u,m,d))}function h(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,i.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(o.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,i.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(i){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return!(0,i.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===i.containerState.size?t(e):r(e)}),"listItemIndent",i.containerState.size+1)},partial:!0}},6263:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"setextUnderline",tokenize:function(e,t,r){const o=this;let a,s,u=o.events.length;for(;u--;)if("lineEnding"!==o.events[u][1].type&&"linePrefix"!==o.events[u][1].type&&"content"!==o.events[u][1].type){s="paragraph"===o.events[u][1].type;break}return function(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(n=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},8038:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"thematicBreak",tokenize:function(e,t,r){let o,a=0;return function(t){return e.enter("thematicBreak"),o=t,s(t)};function s(c){return c===o?(e.enter("thematicBreakSequence"),u(c)):(0,i.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,i.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===o?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>i});var n=r(488);function i(e,t,r,i,o,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(i),e.enter(o),e.enter(a),e.consume(t),e.exit(a),p;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(i),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),e.exit(i),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(u),p(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(o){return 40===o?++f>l?r(o):(e.consume(o),m):41===o?f--?(e.consume(o),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):null===o||(0,n.markdownLineEndingOrSpace)(o)?f?r(o):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):(0,n.asciiControl)(o)?r(o):(e.consume(o),92===o?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},7504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>i});var n=r(488);function i(e,t,r,i,o,a){const s=this;let u,c=0;return function(t){return e.enter(i),e.enter(o),e.consume(t),e.exit(o),e.enter(a),l};function l(p){return null===p||91===p||93===p&&!u||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(p):93===p?(e.exit(a),e.enter(o),e.consume(p),e.exit(o),e.exit(i),t):(0,n.markdownLineEnding)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},4014:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>i});var n=r(488);function i(e,t,r,i){const o=i?i-1:Number.POSITIVE_INFINITY;let a=0;return function(i){if((0,n.markdownSpace)(i))return e.enter(r),s(i);return t(i)};function s(i){return(0,n.markdownSpace)(i)&&a++<o?(e.consume(i),s):(e.exit(r),t(i))}}},1559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>o});var n=r(4014),i=r(488);function o(e,t,r,o,a,s){let u;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:f)}function p(t){return t===u||92===t?(e.consume(t),f):f(t)}}},6096:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>o});var n=r(4014),i=r(488);function o(e,t){let r;return function o(a){if((0,i.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,o;if((0,i.markdownSpace)(a))return(0,n.factorySpace)(e,o,r?"linePrefix":"lineSuffix")(a);return t(a)}}},488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>i,asciiHexDigit:()=>o,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>p,unicodePunctuation:()=>d,unicodeWhitespace:()=>h});const n=m(/[A-Za-z]/),i=m(/\d/),o=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function p(e){return-2===e||-1===e||32===e}const h=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\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]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},8300:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),[].splice.apply(e,o);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function i(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{d:()=>n,V:()=>i})},3886:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(488);function i(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},4666:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(8300);const i={}.hasOwnProperty;function o(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(i.call(e,r)?e[r]:void 0)||(e[r]={}),o=t[r];let a;for(a in o){i.call(n,a)||(n[a]=[]);const e=o[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const i=[];for(;++r<t.length;)("after"===t[r].add?e:i).push(t[r]);(0,n.d)(e,0,0,i)}},8031:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},2116:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(9477),i=r(8031);const o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(o,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,i.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},2493:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},3879:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!n.includes(o)&&(t=o(t,r),n.push(o))}return t}r.d(t,{C:()=>n})},2988:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(8300);function i(e){const t={};let r,i,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,o(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,i=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),u=e.slice(i,f),u.unshift(r),(0,n.d)(e,i,f-i+1,u))}}return!l}function o(e,t){const r=e[t][1],i=e[t][2];let o=t-1;const a=[],s=r._tokenizer||i.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,p,h=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++o][1]!==d;);a.push(o),d._tokenizer||(f=i.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=r;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(g=h+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),h=y.length;h--;){const t=u.slice(y[h],y[h+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(h=-1;++h<c.length;)l[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return l}},7605:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:3,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},58:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3428);const i=/[\t ]*(?:\r?\n|\r)/g;function o(){return e=>{(0,n.visit)(e,"text",((e,t,r)=>{const n=[];let o=0;i.lastIndex=0;let a=i.exec(e.value);for(;a;){const t=a.index;o!==t&&n.push({type:"text",value:e.value.slice(o,t)}),n.push({type:"break"}),o=t+a[0].length,a=i.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return o<e.value.length&&n.push({type:"text",value:e.value.slice(o)}),r.children.splice(t,1,...n),t+n.length}))}}},4914:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>o});var n=r(3428);const i={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};function o(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[i.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==i.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==i.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),o)}function o(n){return[i.carriageReturn,i.lineFeed,i.carriageReturnLineFeed,null,i.backslash,i.leftCurlyBrace].includes(n)?r(n):n===i.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),o)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.visit)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.visit)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},5164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>X});var n=r(4014),i=r(488),o=r(6096);function a(e,t,r,a,s,u,c,l,f,p,h,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=c,w(t)):46===t?(v=l,w(t)):58===t||95===t||(0,i.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),k):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,E)(t):j(t)}function w(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),x}function x(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),S)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(u),E(t)):(e.consume(t),S)}function k(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),k):(e.exit(f),y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,A)(t):A(t))}function A(t){return 61===t?(e.enter(p),e.consume(t),e.exit(p),D):(e.exit(u),E(t))}function D(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,i.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(h),e.enter(m),e.consume(t),e.exit(m),b=t,F):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,D,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,D)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,C)}function C(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(u),E(t)):(e.consume(t),C)}function F(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(h),e.exit(u),T):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),F(t)):null===t?r(t):(0,i.markdownLineEnding)(t)?y?r(t):(0,o.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,i.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function T(e){return 125===e||(0,i.markdownLineEndingOrSpace)(e)?E(e):j(e)}function j(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,o,a,s){let u=0,c=0;return function(t){return e.enter(n),e.enter(o),e.consume(t),e.exit(o),l};function l(r){return 93===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(n),t):(e.enter(a),f(r))}function f(t){return null===t||u>999?r(t):93!==t||c--?(0,i.markdownLineEnding)(t)?s?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):(e.enter("chunkText",{contentType:"text"}),p(t)):h(t)}function p(t){return null===t||(0,i.markdownLineEnding)(t)||u>999?(e.exit("chunkText"),f(t)):91===t&&++c>3?r(t):93!==t||c--?(e.consume(t),92===t?d:p):(e.exit("chunkText"),h(t))}function h(r){return e.exit(a),e.enter(o),e.consume(r),e.exit(o),e.exit(n),t}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,p):p(t)}}function u(e,t,r,n){const o=this;return function(t){if((0,i.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,i.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===o.previous||95===o.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const o=this,a=o.events[o.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,h=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),h++,d):h<3?r(t):(e.exit("directiveContainerSequence"),u.call(o,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,i.markdownLineEnding)(n)?o.interrupt?t(n):e.attempt(p,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),w(r))}function w(t){return null===t?D(t):e.attempt({tokenize:C,partial:!0},D,s?(0,n.factorySpace)(e,x,"linePrefix",s+1):x)(t)}function x(t){if(null===t)return D(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,S(t)}function S(t){if(null===t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}return(0,i.markdownLineEnding)(t)?e.check(p,k,A)(t):(e.consume(t),S)}function k(t){e.consume(t);const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,w}function A(t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}function D(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function C(e,t,r){let o=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),o++,a):o<h?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},p={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const h={tokenize:function(e,t,r){const o=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(o,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,i,r,"directiveTextName")};function i(t){return 58===t?r(t):91===t?e.attempt(y,o,o)(t):o(t)}function o(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function x(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function S(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||w(e)}var k=r(9477);const A=String.fromCharCode,D=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function C(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let i,o,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(o=t.position.indent,i=t.position.start):i=t.position);let c,l=(i?i.line:0)||1,f=(i?i.column:0)||1,p=d();for(a--;++a<=e.length;)if(10===c&&(f=(o?o[s]:0)||1),c=e.charCodeAt(a),38===c){const i=e.charCodeAt(a+1);if(9===i||10===i||12===i||32===i||38===i||60===i||Number.isNaN(i)||r&&i===r){u+=A(c),f++;continue}const o=a+1;let s,l=o,y=o;if(35===i){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",D="",C="";const P="named"===s?S:"decimal"===s?w:x;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;C+=A(t),"named"===s&&b.includes(C)&&(v=C,D=(0,k.T)(C))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,k.T)(C);e&&(v=C,D=e)}let T=1+y-o,j="";if(O||!1!==t.nonTerminated)if(C)if("named"===s){if(O&&!D)m(5,1);else if(v!==C&&(y=l+v.length,T=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,T),D=""):S(t)?D="":m(r,T)}else m(r,T)}j=D}else{O||m(2,T);let e=Number.parseInt(C,"hexadecimal"===s?16:10);if((h=e)>=55296&&h<=57343||h>1114111)m(7,T),j=A(65533);else if(e in E)m(6,T),j=E[e];else{let t="";F(e)&&m(6,T),e>65535&&(e-=65536,t+=A(e>>>10|55296),e=56320|1023&e),j=t+A(e)}}else"named"!==s&&m(4,T);else;if(j){g(),p=d(),a=y-1,f+=y-o+1,n.push(j);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:p,end:r},e.slice(o-1,y)),p=r}else C=e.slice(o-1,y),u+=C,f+=C.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=A(c),f++);var h;return n.join("");function d(){return{line:l,column:f,offset:a+((i?i.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,D[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:p,end:d()}),u="")}}function F(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var T=r(213);const j=function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null);const i=(0,T.convert)(t),o=n?-1:1;!function e(a,s,u){const c="object"==typeof a&&null!==a?a:{};let l;"string"==typeof c.type&&(l="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(l?"<"+l+">":"")+")"}));return f;function f(){let c,l,f,p=[];if((!t||i(a,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(a,u)),false===p[0]))return p;if(a.children&&"skip"!==p[0])for(l=(n?a.children.length:-1)+o,f=u.concat(a);l>-1&&l<a.children.length;){if(c=e(a.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+o}return p}}(e,null,[])()};var _=r(5471),I=r(7567),R=r(1481);const L={}.hasOwnProperty,N=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){z.call(this,"containerDirective",e)},directiveContainerAttributes:$,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){z.call(this,"leafDirective",e)},directiveLeafAttributes:$,directiveText:function(e){z.call(this,"textDirective",e)},directiveTextAttributes:$},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:V,directiveContainerAttributeIdValue:q,directiveContainerAttributeName:G,directiveContainerAttributeValue:H,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:V,directiveLeafAttributeIdValue:q,directiveLeafAttributeName:G,directiveLeafAttributeValue:H,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:V,directiveTextAttributeIdValue:q,directiveTextAttributeName:G,directiveTextAttributeValue:H,directiveTextAttributes:W,directiveTextName:U}},B={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function z(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function $(){this.setData("directiveAttributes",[]),this.buffer()}function q(e){this.getData("directiveAttributes").push(["id",C(this.sliceSerialize(e))])}function V(e){this.getData("directiveAttributes").push(["class",C(this.sliceSerialize(e))])}function H(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=C(this.sliceSerialize(e))}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r){const n=function(e){let t=0;"containerDirective"===e.type?(j(e,"containerDirective",r),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t);function r(e,r){let n=r.length,i=0;for(;n--;)"containerDirective"===r[n].type&&i++;i>t&&(t=i)}}(e),i=r.enter(e.type);let o=n+(e.name||"")+function(e,t){let r=e;if("containerDirective"===e.type){const t=(e.children||[])[0];if(!Y(t))return"";r=t}const n=t.enter("label"),i=t.enter(e.type+"Label"),o=(0,I.p)(r,t,{before:"[",after:"]"});return i(),n(),o?"["+o+"]":""}(e,r)+function(e,t){const r=(0,R.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],i=e.attributes||{},o=[];let a,s,u,c;for(c in i)if(L.call(i,c)&&void 0!==i[c]&&null!==i[c]){const e=String(i[c]);if("id"===c)u=N.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let i=-1;for(;++i<t.length;)(N.test(t[i])?n:r).push(t[i]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else o.push(l(c,e))}a&&o.unshift(a);s&&o.unshift(s);u&&o.unshift(u);return o.length>0?"{"+o.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r);if("containerDirective"===e.type){const t=function(e,t){Y((e.children||[])[0])&&(e=Object.assign({},e,{children:e.children.slice(1)}));return(0,_.K)(e,t)}(e,r);t&&(o+="\n"+t),o+="\n"+n}return i(),o}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function X(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,h]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",B)}},9715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(488),i=r(8326);const o=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?i(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw o("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw o("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw o("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw o("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,i=t+"Value",o=t+"Fence",a=o+"Sequence",s={tokenize:function(e,t,r){let i=0;return function(t){if(t===u.charCodeAt(i))return e.enter(o),e.enter(a),s(t);return r(t)};function s(t){return i===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(i++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(i){return null===i||(0,n.markdownLineEnding)(i)?(e.exit(o),t(i)):r(i)}},partial:!0};let u;return{tokenize:function(o,a,c){const l=this;return function(n){const i=l.now();if(1!==i.column||!r&&1!==i.line)return c(n);return o.enter(t),u=p(e,"open"),o.attempt(s,f,c)(n)};function f(t){return u=p(e,"close"),m(t)}function h(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(o.enter(i),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(o.exit(i),m(e)):(o.consume(e),d)}function m(e){return null===e?c(e):(o.enter("lineEnding"),o.consume(e),o.exit("lineEnding"),o.attempt(s,g,h))}function g(e){return o.exit(t),a(e)}},concrete:!0}}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n,i,o=-1;for(;++o<t.length;)n=t[o],i=p(n,"open").charCodeAt(0),i in r?r[i].push(f(n)):r[i]=[f(n)];return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let i=-1;for(;++i<t.length;){const e=t[i];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let i=-1;for(;++i<n.length;){const e=n[i];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},3314:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Te});var n=r(4666),i=r(488);const o={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),o):r(t)}function o(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,i.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,o;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||45!==t&&(0,i.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(o=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return o||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,i)(a):(40===a&&r++,41===a?e.check(u,o,i)(a):y(a)?t(a):g(a)?e.check(u,t,i)(a):(e.consume(a),n))}function i(t){return e.consume(t),n}function o(e){return r--,r<0?t(e):i(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(i){return g(i)?(e.consume(i),n):y(i)?t(i):r(i)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,i.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),o):r(t)}function o(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(o,e.attempt(a,e.attempt(s,i),r),r)(t)};function i(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),o};function o(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||(0,i.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},p={tokenize:function(e,t,r){const n=this;let o,a;return function(t){if(!v(t)||!w(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,h,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,i.asciiAlphanumeric)(t)?(!a&&(0,i.asciiDigit)(t)&&(a=!0),e.consume(t),c):h(t)}function l(t){return e.consume(t),o=!0,a=void 0,c}function f(t){return e.consume(t),p}function p(t){return 46===t?e.check(u,r,l)(t):c(t)}function h(n){return o&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:w},h={},d={text:h};let m=48;for(;m<123;)h[m]=p,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,i.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,i.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,i.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,i.asciiAlpha)(e)}function w(e){return 47!==e&&E(e)}function x(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}h[43]=p,h[45]=p,h[46]=p,h[95]=p,h[72]=[p,f],h[104]=[p,f],h[87]=[p,l],h[119]=[p,l];var S=r(2929),k=r(4014),A=r(2493);const D={tokenize:function(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function C(e,t,r){const n=this;let i=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;i--;){const e=n.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return r(i);const s=(0,A.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!o.includes(s.slice(1)))return r(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function F(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),o.includes((0,A.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,i.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let o;return null===t||91===t||u>999?r(t):93===t?s?(o=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,A.normalizeIdentifier)(n.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,i.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,i.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,k.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return o.includes(a)||o.push(a),t(e)}}function T(e,t,r){return e.check(S.w,t,e.attempt(D,t,r))}function j(e){e.exit("gfmFootnoteDefinition")}var _=r(8300),I=r(3886),R=r(3879);function L(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const u=(0,I.r)(i);if(126===o)return a>1?n(o):(e.consume(o),a++,s);if(a<2&&!t)return n(o);const c=e.exit("strikethroughSequenceTemporary"),l=(0,I.r)(o);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(o)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},o={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",o,t]];(0,_.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",i,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const N={flow:{null:{tokenize:function(e,t,r){const n=this,o=[];let a,s,u=0;return function(t){if(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),p(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const i=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=i,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=i,r(e)}))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),p(t)))}function f(t){return(0,i.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function p(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?h:p)}function h(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,o.push(null),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,i.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===o.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,w,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function w(t){return e.enter("tableBody"),x(t)}function x(t){return e.enter("tableRow"),124===t?S(t):(e.enter("temporaryTableCellContent"),C(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),A}function A(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,x,"linePrefix",4),P))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),D):124===t?S(t):(e.enter("temporaryTableCellContent"),C(t))}function D(t){return(0,i.markdownSpace)(t)?(e.consume(t),D):(e.exit("whitespace"),A(t))}function C(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),A(t)):(e.consume(t),92===t?F:C)}function F(t){return 92===t||124===t?(e.consume(t),C):C(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,k.factorySpace)(e,o,"linePrefix")};function o(o){if(n.parser.lazy[n.now().line]||null===o||(0,i.markdownLineEnding)(o))return r(o);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(o):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(o))}}},resolve:function(e,t){let r,n,i,o,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(i&&("temporaryTableCellContent"===l.type&&(o=o||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[o][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(o,a-o+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-o-3,o=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const i={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",i,t]),e.splice(s,0,["enter",i,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(i="enter"===e[c][0],i&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),o};function o(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:o):null===a||(0,i.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const B={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return(0,i.markdownSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:U},t,r)):r(n)}}},z={text:{91:B}};function U(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"whitespace"===o[1].type&&null!==e&&!(0,i.markdownLineEndingOrSpace)(e)?t(e):r(e)}),"whitespace")}function $(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;-1!==i;)n++,i=r.indexOf(t,i+t.length);return n}var q=r(7918),V=r(213);const H={}.hasOwnProperty,G=function(e,t,r,n){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,r]],i=n):(o=t,i=r),i||(i={});const a=(0,V.convert)(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)H.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(o);let u=-1;for(;++u<s.length;)(0,q.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=s[u][0],n=s[u][1];let i,o=0,a=t.children.indexOf(e),c=[];r.lastIndex=0;let l=r.exec(e.value);for(;l;){i=l.index;let t=n(...l,{index:l.index,input:l.input});if("string"==typeof t&&(t=t.length>0?{type:"text",value:t}:void 0),!1!==t&&(o!==i&&c.push({type:"text",value:e.value.slice(o,i)}),Array.isArray(t)?c.push(...t):t&&c.push(t),o=i+l[0].length),!r.global)break;l=r.exec(e.value)}void 0===i?(c=[e],a--):(o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),t.children.splice(a,1,...c));return a+c.length+1}(e,r)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Y=["autolink","link","image","label"],X={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Z={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Y}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,i){let o="";if(!re(i))return!1;if(/^w/i.test(t)&&(r=t+r,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let r,n,i,o;if(t)for(e=e.slice(0,t.index),o=t[0],r=o.indexOf(")"),n=$(e,"("),i=$(e,")");-1!==r&&n>i;)e+=o.slice(0,r+1),o=o.slice(r+1),r=o.indexOf(")"),i++;return[e,o]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[_-\d]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.unicodeWhitespace)(r)||(0,i.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(2116);function ie(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var oe=r(5471),ae=r(4671),se=r(3316),ue=r(3428),ce=r(3339);let le=!1,fe=!1;function pe(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,r){const n=r.enter("footnoteDefinition"),i=r.enter("label"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"}),a="[^"+o+"]:";i();const s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ")+e;return(r?a:a+" ")+e}));n(),!le&&o.includes(":")&&(console.warn("[mdast-util-gfm-footnote] Warning: Found a colon in footnote identifier `"+o+"`. GitHub currently crahes on colons in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),le=!0);fe||(0,ue.visit)(e,"list",(()=>(console.warn("[mdast-util-gfm-footnote] Warning: Found a list in a footnote definition. GitHub currently crahes on lists in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),fe=!0,ce.BK)));return s},footnoteReference:e}};function e(e,t,r){const n=r.enter("footnoteReference"),i=r.enter("reference"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"});return i(),n(),"[^"+o+"]"}}var he=r(7567);const de={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},me={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:ge}};function ge(e,t,r){const n=r.enter("emphasis"),i=(0,he.p)(e,r,{before:"~",after:"~"});return n(),"~~"+i+"~~"}ge.peek=function(){return"~"};var ye=r(7866);function ve(e,t,r){let n=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<r.unsafe.length;){const e=r.unsafe[o],t=(0,ye.T)(e);let i;if(e.atBreak)for(;i=t.exec(n);){let e=i.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(i.index+1)}}return i+n+i}function be(e){return null==e?"":String(e)}function Ee(e){return e.length}function we(e){const t="string"==typeof e?e.charCodeAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}ve.peek=function(){return"`"};const xe={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t,children:[]},e),this.setData("inTable",!0)},tableData:ke,tableHeader:ke,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ae));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Se,tableHeader:Se,tableRow:Se}};function Se(e){this.exit(e)}function ke(e){this.enter({type:"tableCell",children:[]},e)}function Ae(e,t){return"|"===t?t:e}function De(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r){return s(function(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("table");for(;++n<r.length;)i[n]=u(r[n],t);return o(),i}(e,r),e.align)},tableRow:function(e,t,r){const n=s([u(e,r)]);return n.slice(0,n.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=ve(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r){const n=r.enter("tableCell"),i=r.enter("phrasing"),a=(0,he.p)(e,r,{before:o,after:o});return i(),n(),a}function s(e,t){return function(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||Ee,o=[];let a=-1;const s=[],u=[],c=[];let l,f,p,h,d,m,g,y,v,b=0;for(;++a<e.length;){for(l=-1,f=[],p=[],e[a].length>b&&(b=e[a].length);++l<e[a].length;)d=be(e[a][l]),!1!==r.alignDelimiters&&(h=i(d),p[l]=h,(void 0===c[l]||h>c[l])&&(c[l]=h)),f.push(d);s[a]=f,u[a]=p}if(l=-1,"object"==typeof n&&"length"in n)for(;++l<b;)o[l]=we(n[l]);else for(v=we(n);++l<b;)o[l]=v;for(l=-1,f=[],p=[];++l<b;)v=o[l],g="",y="",99===v?(g=":",y=":"):108===v?g=":":114===v&&(y=":"),h=!1===r.alignDelimiters?1:Math.max(1,c[l]-g.length-y.length),d=g+"-".repeat(h)+y,!1!==r.alignDelimiters&&(h=g.length+h+y.length,h>c[l]&&(c[l]=h),p[l]=h),f[l]=d;s.splice(1,0,f),u.splice(1,0,p),a=-1;const E=[];for(;++a<s.length;){for(f=s[a],p=u[a],l=-1,m=[];++l<b;)d=f[l]||"",g="",y="",!1!==r.alignDelimiters&&(h=c[l]-(p[l]||0),v=o[l],114===v?g=" ".repeat(h):99===v?h%2?(g=" ".repeat(h/2+.5),y=" ".repeat(h/2-.5)):(g=" ".repeat(h/2),y=g):y=" ".repeat(h)),!1===r.delimiterStart||l||m.push("|"),!1===r.padding||!1===r.alignDelimiters&&""===d||!1===r.delimiterStart&&!l||m.push(" "),!1!==r.alignDelimiters&&m.push(g),m.push(d),!1!==r.alignDelimiters&&m.push(y),!1!==r.padding&&m.push(" "),!1===r.delimiterEnd&&l===b-1||m.push("|");E.push(!1===r.delimiterEnd?m.join("").replace(/ +$/,""):m.join(""))}return E.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:i})}function u(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("tableRow");for(;++n<r.length;)i[n]=a(r[n],0,t);return o(),i}}function Ce(e,t,r){const n=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=r.enter("listItem"),s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ".repeat(o))+e;return(r?i:i+" ".repeat(o-i.length))+e}));return a(),s}const Fe={exit:{taskListCheckValueChecked:Oe,taskListCheckValueUnchecked:Oe,paragraph:function(e){const t=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],n=t.children,i=r.children[0];let o,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&i&&"text"===i.type){for(;++a<n.length;){const e=n[a];if("paragraph"===e.type){o=e;break}}o===r&&(i.value=i.value.slice(1),0===i.value.length?r.children.shift():(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}this.exit(e)}}},Pe={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r){const n=e.children[0];let i=Ce(e,t,r);"boolean"==typeof e.checked&&n&&"paragraph"===n.type&&(i=i.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+"["+(e.checked?"x":" ")+"] "})));return i}}};function Oe(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Te(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:T},exit:j}},text:{91:{tokenize:P},93:{add:"after",tokenize:C,resolveTo:F}}},L(e),N,z])}(e)),r("fromMarkdownExtensions",[X,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}}},de,xe,Fe]),r("toMarkdownExtensions",function(e){return{extensions:[Z,pe(),me,De(e),Pe]}}(e))}},7265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>le});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>V,disable:()=>X,document:()=>q,flow:()=>G,flowInitial:()=>H,insideSpan:()=>K,string:()=>W,text:()=>Q});var i=r(8717),o=r(4666),a=r(4014),s=r(488);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),i)}}};var c=r(8300);const l={tokenize:function(e){const t=this,r=[];let n,i,o,a=0;return u;function u(n){if(a<r.length){const i=r[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,p)(n)}return p(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&w();const r=t.events.length;let i,o=r;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return(0,c.d)(t.events,o+1,0,t.events.slice(r)),t.events.length=s,p(e)}return u(e)}function p(i){if(a===r.length){if(!n)return m(i);if(n.currentConstruct&&n.currentConstruct.concrete)return y(i);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,h,d)(i)}function h(e){return n&&w(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,o=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&w(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=i,i&&(i.next=e),i=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<o&&(!n.events[e][1].end||n.events[e][1].end.offset>o))return;const r=t.events.length;let i,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(i){s=t.events[u][1].end;break}i=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let i=r.length;for(;i-- >n;){const n=r[i];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function w(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var p=r(2929),h=r(6814);const d={tokenize:function(e){const t=this,r=e.attempt(p.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(h.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],i=t.attempt(n,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=-1;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],i=t.sliceStream(n);let o,a=i.length,s=-1,u=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)o=!0,u++;else if(-1!==e){a++;break}}if(u){const i={type:r===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},i.start),n.start.offset===n.end.offset?Object.assign(n,i):(e.splice(r,0,["enter",i,t],["exit",i,t]),r+=2)}r++}return e}var w=r(3879);function x(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,S()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));p.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),p.events.push(["enter",r,p]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),p.events.push(["exit",t,p]),t},attempt:E((function(e,t){x(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const o=e[r];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){i[e.line]=e.column,S()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return x(t,0),p.events=(0,w.C)(o,p.events,p),p.events}};let h,d=t.tokenize.call(p,f);return t.resolveAll&&o.push(t),p;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;r===i?a=[e[r].slice(n,o)]:(a=e.slice(r,i),n>-1&&(a[0]=a[0].slice(n)),o>0&&a.push(e[i].slice(0,o)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,h=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,i,o){let a,s,c,h;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?o:m(e[s])}function m(e){return function(r){h=function(){const e=g(),t=p.previous,r=p.currentConstruct,i=p.events.length,o=Array.from(u);return{restore:a,from:i};function a(){n=e,p.previous=t,p.currentConstruct=r,p.events.length=i,u=o,S()}}(),c=e,e.partial||(p.currentConstruct=e);if(e.name&&p.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(p),t):p,f,y,v)(r)}}function y(t){return l=!0,e(c,h),i}function v(e){return l=!0,h.restore(),++s<a.length?m(a[s]):o}}}function x(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,c.d)(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p)),e.resolveTo&&(p.events=e.resolveTo(p.events,p))}function S(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}var S=r(4618),k=r(7207),A=r(4882),D=r(2535),C=r(5528),F=r(8038),P=r(6263),O=r(5198),T=r(4897),j=r(2810),_=r(1687),I=r(890),R=r(5365),L=r(8415),N=r(7444),M=r(5890),B=r(5856),z=r(6100),U=r(8966),$=r(5180);const q={42:S.p,43:S.p,45:S.p,48:S.p,49:S.p,50:S.p,51:S.p,52:S.p,53:S.p,54:S.p,55:S.p,56:S.p,57:S.p,62:k.m},V={91:A.D},H={[-2]:D.S,[-1]:D.S,32:D.S},G={35:C.Z,42:F.C,45:[P.C,F.C],60:O.P,61:P.C,95:F.C,96:T._,126:T._},W={38:j.u,92:_.L},Q={[-5]:I.g,[-4]:I.g,[-3]:I.g,33:R.C,38:j.u,42:L.v,60:[N.j,M.L],91:B.F,92:[z.R,_.L],93:U.Z,95:L.v,96:$.h},K={null:[L.v,m]},Y={null:[42,95]},X={null:[]};const Z=/[\0\t\n\r]/g;var J=r(2988);var ee=r(8031),te=r(2116),re=r(2493),ne=r(9477),ie=r(1513);const oe={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e={}){const t=se({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(pe),autolinkProtocol:P,autolinkEmail:P,atxHeading:c(ae),blockQuote:c(K),characterEscape:P,characterReference:P,codeFenced:c(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:c(Y,l),codeText:c(X,l),codeTextData:P,data:P,codeFlowValue:P,definition:c(Z),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:c(J),hardBreakEscape:c(ue),hardBreakTrailing:c(ue),htmlFlow:c(le,l),htmlFlowData:P,htmlText:c(le,l),htmlTextData:P,image:c(fe),label:l,link:c(pe),listItem:c(de),listItemValue:g,listOrdered:c(he,m),listUnordered:c(he),paragraph:c(me),reference:q,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:c(ae),strong:c(ge),thematicBreak:c(ve)},exit:{atxHeading:p(),atxHeadingSequence:A,autolink:p(),autolinkEmail:Q,autolinkProtocol:W,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:H,characterReferenceMarkerNumeric:H,characterReferenceValue:G,codeFenced:p(E),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:v,codeFlowValue:O,codeIndented:p(w),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:k,definitionLabelString:x,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(j),hardBreakTrailing:p(j),htmlFlow:p(_),htmlFlowData:O,htmlText:p(I),htmlTextData:O,image:p(N),label:B,labelText:M,lineEnding:T,link:p(L),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:V,resourceDestinationString:z,resourceTitleString:U,resource:$,setextHeading:p(F),setextHeadingLineSequence:C,setextHeadingText:D,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),r={};return n;function n(e){let r={type:"root",children:[]};const n=[],i=[],c={stack:[r],tokenStack:n,config:t,enter:f,exit:h,buffer:l,resume:d,setData:a,getData:s};let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])i.push(p);else{p=o(e,i.pop(),p)}for(p=-1;++p<e.length;){const r=t[e[p][0]];oe.call(r,e[p][1].type)&&r[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},c),e[p][1])}if(n.length>0){const e=n[n.length-1];(e[1]||ce).call(c,void 0,e[0])}for(r.position={start:u(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:u(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,r){let n,i,o,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,o=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e){return{line:e.line,column:e.column,offset:e.offset}}function c(e,t){return r;function r(r){f.call(this,e(r),r),t&&t.call(this,r)}}function l(){this.stack.push({type:"fragment",children:[]})}function f(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:u(t.start)},e}function p(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||ce).call(this,e,n[0])}return r.position.end=u(e.end),r}function d(){return(0,i.B)(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function g(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function y(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function v(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function S(){const e=this.resume();this.stack[this.stack.length-1].title=e}function k(){const e=this.resume();this.stack[this.stack.length-1].url=e}function A(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function D(){a("setextHeadingSlurpLineEnding",!0)}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function F(){a("setextHeadingSlurpLineEnding")}function P(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:u(e.start)},t.children.push(r)),this.stack.push(r)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=u(e.end)}function T(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=u(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(P.call(this,e),O.call(this,e))}function j(){a("atHardBreak",!0)}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function N(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function M(e){const t=this.stack[this.stack.length-2],r=this.sliceSerialize(e);t.label=(0,te.v)(r),t.identifier=(0,re.normalizeIdentifier)(r).toLowerCase()}function B(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];a("inReference",!0),"link"===r.type?r.children=e.children:r.alt=t}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function U(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){a("inReference")}function q(){a("referenceType","collapsed")}function V(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function H(e){a("characterReferenceType",e.type)}function G(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;r?(n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):n=(0,ne.T)(t);const i=this.stack.pop();i.value+=n,i.position.end=u(e.end)}function W(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){O.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function X(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function ae(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function le(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function he(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,o.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return x(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(i,o,a){const s=[];let u,c,l,f,p;for(i=r+i.toString(o),l=0,r="",n&&(65279===i.charCodeAt(0)&&l++,n=void 0);l<i.length;){if(Z.lastIndex=l,u=Z.exec(i),f=u&&void 0!==u.index?u.index:i.length,p=i.charCodeAt(f),!u){r=i.slice(l);break}if(10===p&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(i.slice(l,f)),t+=f-l),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?se(e,n):ue(e,n)}return e}function ue(e,t){let r;for(r in t)if(oe.call(t,r)){const n="canContainEols"===r||"transforms"===r,i=(oe.call(e,r)?e[r]:void 0)||(e[r]=n?[]:{}),o=t[r];o&&(n?e[r]=[...i,...o]:Object.assign(i,o))}}function ce(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is still open")}const le=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},3085:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var i=r(8809),o=r(229);function a(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function i(o,...a){const s=e[++r];let u=-1;if(o)n(o);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(i);try{a=e(...t)}catch(e){const t=e;if(n&&r)throw t;return i(t)}n||(a instanceof Promise?a.then(o,i):a instanceof Error?i(a):o(a))}function i(e,...n){r||(r=!0,t(e,...n))}function o(e){i(null,e)}}(s,i)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(1513);class c extends Error{constructor(e,t,r){var n,i=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(r=t,t=null),"string"==typeof r&&(-1===(n=r.indexOf(":"))?i[1]=r:(i[0]=r.slice(0,n),i[1]=r.slice(n+1))),t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.line=o.start.line,this.column=o.start.column,this.source=i[0],this.ruleId=i[1],this.position=o,this.file,this.fatal,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else i<0&&(r=!0,i=o+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else a<0&&(r=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));n===i?i=a:i<0&&(i=e.length);return e.slice(n,i)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,i=0,o=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?o<0?o=r:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=r+1;break}}if(o<0||n<0||0===a||1===a&&o===n-1&&o===i+1)return"";return e.slice(o,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,i="",o=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(n=i.lastIndexOf("/"),n!==i.length-1){n<0?(i="",o=0):(i=i.slice(0,n),o=i.length-1-i.lastIndexOf("/")),a=u,s=0;continue}}else if(i.length>0){i="",o=0,a=u,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return i}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||i(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(A("data",u),c[e]=t,f):w.call(c,e)&&c[e]||null;if(e)return A("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[1]=void 0);const i=e.call(f,...n);"function"==typeof i&&t.use(i)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(A("use",u),null==e);else if("function"==typeof e)p(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function i(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;p(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function p(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(a(n[1])&&a(t)&&(t=o(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=F(e),r=f.Parser;if(S("parse",r),x(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=F(t),n=f.Compiler;if(k("stringify",n),D(e),x(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){D(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(i);function i(i,o){function a(t,r,a){r=r||e,t?o(t):i?i(r):n(null,r,a)}t.run(e,F(r),a)}i(null,n)},f.runSync=function(e,t){let r,i;return f.run(e,t,o),C("runSync","run",i),r;function o(e,t){n(e),r=t,i=!0}},f.process=function(e,t){if(f.freeze(),S("process",f.Parser),k("process",f.Compiler),!t)return new Promise(r);function r(r,n){const o=F(e);function a(e,i){e||!i?n(e):r?r(i):t(null,i)}f.run(f.parse(o),o,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||i(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),S("processSync",f.Parser),k("processSync",f.Compiler);const r=F(e);return f.process(r,i),C("processSync","process",t),r;function i(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(o(!0,{},c)),t}}().freeze(),w={}.hasOwnProperty;function x(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(w.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function S(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function k(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function A(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function C(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function F(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{is:()=>n,convert:()=>i});const n=function e(t,r,n,o,a){const s=i(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==o||e(o)&&o.children))throw new Error("Expected parent node");if(null==o!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,o))},i=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return o(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=i(e[r]);return o(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return o(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return o(e);throw new Error("Expected function, string, or object as test")};function o(e){return function(...t){return Boolean(e.call(this,...t))}}function a(){return!0}},4249:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>I,select:()=>R,selectAll:()=>L});var n={}.hasOwnProperty;function i(e,t){var r=t||{};function i(t){var r=i.invalid,o=i.handlers;if(t&&n.call(t,e)&&(r=n.call(o,t[e])?o[t[e]]:i.unknown),r)return r.apply(this,arguments)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function o(e){return Array.isArray(e.children)}const a={}.hasOwnProperty,s=i("nestingOperator",{unknown:function(e){throw new Error("Unexpected nesting `"+e.nestingOperator+"`")},invalid:function(e,t,r,n,i){if(n)throw new Error("topScan is supposed to be called from the root node");if(!i.iterator)throw new Error("Expected `iterator` to be defined");if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");i.iterator(e,t,r,n,i),i.shallow||u(e,t,r,n,i)},handlers:{null:u,">":c,"+":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r,++r).prefillTypeIndex(r).done()},"~":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r).done()}}});function u(e,t,r,n,i){if(!i.iterator)throw new Error("Expected `iterator` to be defined");const o=i.iterator;i.iterator=function e(t,r,n,i,a){if(a.iterator=o,o(t,r,n,i,a),a.iterator=e,a.one&&a.found)return;c(t,r,n,i,a)},c(e,t,r,n,i)}function c(e,t,r,n,i){o(t)&&0!==t.children.length&&new l(e,t,i).each().done()}class l{constructor(e,t,r){this.query=e,this.parent=t,this.state=r,this.typeIndex=r.index?new f:void 0,this.delayed=[]}prefillTypeIndex(e,t){let[r,n]=this.defaults(e,t);if(this.typeIndex)for(;r<n;)this.typeIndex.index(this.parent.children[r]),r++;return this}each(e,t){const[r,n]=this.defaults(e,t),i=this.parent.children[r];let o,a;if(r>=n)return this;if(this.typeIndex)a=this.typeIndex.nodes,o=this.typeIndex.index(i),this.delayed.push((function(){if(!this.typeIndex)throw new TypeError("Expected `typeIndex` to be defined");if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.typeIndex=o,this.state.nodeIndex=a,this.state.typeCount=this.typeIndex.count(i),this.state.nodeCount=this.typeIndex.nodes,this.state.iterator(this.query,i,r,this.parent,this.state)}));else{if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.iterator(this.query,i,r,this.parent,this.state)}return this.state.one&&this.state.found?this:this.each(r+1,n)}done(){let e=-1;for(;++e<this.delayed.length&&(this.delayed[e].call(this),!this.state.one||!this.state.found););return this}defaults(e,t){return(null==e||e<0)&&(e=0),(null==t||t>this.parent.children.length)&&(t=this.parent.children.length),[e,t]}}class f{constructor(){this.counts={},this.nodes=0}index(e){const t=e.type;return this.nodes++,a.call(this.counts,t)||(this.counts[t]=0),this.counts[t]++}count(e){return this.counts[e.type]}}const p=(0,r(213).convert)(),h=i("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:m,blank:g,empty:g,"first-child":function(e,t,r,n,i){return y(i,e),0===i.nodeIndex},"first-of-type":function(e,t,r,n,i){return y(i,e),0===i.typeIndex},has:function(e,t,r,n,i){const o=i.shallow,a=i.one,s=i.scopeNodes,u=function(e){const t="ruleSet"===e.type?{type:"selectors",selectors:[e]}:e;let r,n=-1;for(;++n<t.selectors.length;)r=t.selectors[n].rule,r.nestingOperator=null,r.pseudos&&1===r.pseudos.length&&"scope"===r.pseudos[0].name||(t.selectors[n]={type:"ruleSet",rule:{type:"rule",rule:r,pseudos:[{name:"scope"}]}});return t}(e.value),c=i.any;i.shallow=!1,i.one=!0,i.scopeNodes=[t];const l=Boolean(c(u,t,i)[0]);return i.shallow=o,i.one=a,i.scopeNodes=s,l},"last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&i.nodeIndex===i.nodeCount-1},"last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:m,not:function(e,t,r,n,i){return!m(e,t,r,n,i)},"nth-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeIndex&&e.value(i.nodeIndex)},"nth-last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&"number"==typeof i.nodeIndex&&e.value(i.nodeCount-i.nodeIndex-1)},"nth-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&e.value(i.typeIndex)},"nth-last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&"number"==typeof i.typeCount&&e.value(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,r,n,i){return y(i,e),1===i.nodeCount},"only-of-type":function(e,t,r,n,i){return y(i,e),1===i.typeCount},root:function(e,t,r,n){return p(t)&&!n},scope:function(e,t,r,n,i){return p(t)&&void 0!==i.scopeNodes&&i.scopeNodes.includes(t)}}});function d(e,t,r,n,i){const o=e.pseudos;let a=-1;for(;++a<o.length;)if(!h(o[a],t,r,n,i))return!1;return!0}function m(e,t,r,n,i){const o=i.shallow,a=i.one;i.one=!0,i.shallow=!0;const s=i.any(e.value,t,i)[0]===t;return i.shallow=o,i.one=a,s}function g(e,t){return o(t)?0===t.children.length:!("value"in t)}function y(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}d.needsIndex=["first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const v=i("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:b,handlers:{"=":function(e,t){return b(e,t)&&String(t[e.name])===e.value},"^=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(0,e.value.length)===e.value},"$=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(-e.value.length)===e.value},"*=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.includes(e.value)},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;if(Array.isArray(r)&&r.includes(e.value))return!0;return String(r)===e.value}}});function b(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function E(e,t,r,n,i){if(e.id)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");return Boolean(t&&(!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.type}(e,t))&&(!e.attrs||function(e,t){let r=-1;for(;++r<e.attrs.length;)if(!v(e.attrs[r],t))return!1;return!0}(e,t))&&(!e.pseudos||d(e,t,r,n,i)))}const w=i("type",{unknown:function(e){throw new Error("Unknown type `"+e.type+"`")},invalid:function(){throw new Error("Invalid type")},handlers:{selectors:function(e,t,r){const n=D(r.one);let i=-1;for(;++i<e.selectors.length;)n(S(e.selectors[i],t,r));return n.result},ruleSet:S,rule:k}});function x(e,t,r){return e&&t?w(e,t,r):[]}function S(e,t,r){return k(e.rule,t,r)}function k(e,t,r){const n=D(r.one);if(r.shallow&&e.rule)throw new Error("Expected selector without nesting");var i;return s(e,t,0,null,A(e,{scopeNodes:(i=t,"RootNode"===i.type||"root"===i.type?t.children:[t]),index:!1,iterator:function(e,t,r,i,o){E(e,t,r,i,o)&&(e.rule?s(e.rule,t,r,i,A(e.rule,o)):(n(t),o.found=!0))},one:r.one,shallow:r.shallow,any:r.any})),n.result}function A(e,t){const r=e.pseudos||[];let n=-1;for(;++n<r.length;)if(d.needsIndex.includes(r[n].name)){t.index=!0;break}return t}function D(e){const t=[];let r;return n.result=t,n;function n(e){let t=-1;if("length"in e)for(;++t<e.length;)i(e[t]);else i(e)}function i(n){if(e){if(r)throw new Error("Cannot collect multiple nodes");r=!0}t.includes(n)||t.push(n)}}var C=r(301);const F=r(364).ZP,P=new Set(["nth-child","nth-last-child","nth-of-type","nth-last-of-type"]),O=new C.N;O.registerAttrEqualityMods("~","^","$","*"),O.registerSelectorPseudos("any","matches","not","has"),O.registerNestingOperators(">","+","~");const T=i("type",{handlers:{selectors:function(e){const t=e.selectors;let r=-1;for(;++r<t.length;)T(t[r]);return e},ruleSet:function(e){return _(e.rule)},rule:_}});function j(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return T(O.parse(e))}function _(e){const t=e.pseudos||[];let r,n=-1;for(;++n<t.length;)r=t[n],P.has(r.name)&&(r.value=F(r.value),r.valueType="function");return T(e.rule),e}function I(e,t){return Boolean(x(j(e),t,{one:!0,shallow:!0,any:x})[0])}function R(e,t){return x(j(e),t,{one:!0,any:x})[0]||null}function L(e,t){return x(j(e),t,{any:x})}},1513:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n={}.hasOwnProperty;function i(e){return e&&"object"==typeof e?n.call(e,"position")||n.call(e,"type")?a(e.position):n.call(e,"start")||n.call(e,"end")?a(e):n.call(e,"line")||n.call(e,"column")?o(e):"":""}function o(e){return s(e&&e.line)+":"+s(e&&e.column)}function a(e){return o(e&&e.start)+"-"+o(e&&e.end)}function s(e){return e&&"number"==typeof e?e:1}},7918:(e,t,r)=>{"use strict";r.d(t,{S4:()=>i});var n=r(213);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null);var o=(0,n.convert)(t),a=i?-1:1;!function e(n,s,u){var c,l="object"==typeof n&&null!==n?n:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,p=[];if((!t||o(n,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(n,u)),false===p[0]))return p;if(n.children&&"skip"!==p[0])for(l=(i?n.children.length:-1)+a,f=u.concat(n);l>-1&&l<n.children.length;){if(c=e(n.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+a}return p}}(e,null,[])()}},3428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,SKIP:()=>n.AM,EXIT:()=>n.BK,visit:()=>i});var n=r(3339);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),i)}},3339:(e,t,r)=>{"use strict";r.d(t,{dR:()=>i,BK:()=>a,AM:()=>o,S4:()=>s});var n=r(213);const i=!0,o="skip",a=!1,s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.convert)(t),c=s?-1:1;!function e(n,l,f){const p="object"==typeof n&&null!==n?n:{};let h;"string"==typeof p.type&&(h="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0,Object.defineProperty(d,"name",{value:"node ("+p.type+(h?"<"+h+">":"")+")"}));return d;function d(){let p,h,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[i,e];return[e]}(r(n,f)),m[0]===a))return m;if(n.children&&m[0]!==o)for(h=(s?n.children.length:-1)+c,d=f.concat(n);h>-1&&h<n.children.length;){if(p=e(n.children[h],h,d)(),p[0]===a)return p;h="number"==typeof p[1]?p[1]:h+c}return m}}(e,null,[])()}},168:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{Z:()=>n})},3633:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},4222:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9354:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}},s={};function u(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,loaded:!1,exports:{}};return a[e].call(r.exports,r,r.exports,u),r.loaded=!0,r.exports}u.m=a,u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);u.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,u.d(i,o),i},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce(((t,r)=>(u.f[r](e,t),t)),[])),u.u=e=>e+"-"+{7:"7d6f45",267:"b5c5b0",363:"7802c0",378:"c5be1d"}[e]+".js",u.miniCssF=e=>e+".css",u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",u.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+i){a=f;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.setAttribute("data-webpack",n+i),a.src=e),r[e]=[t];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(h);var i=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;u.g.importScripts&&(e=u.g.location+"");var t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e})(),i=e=>new Promise(((t,r)=>{var n=u.miniCssF(e),i=u.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var i=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(n=0;n<o.length;n++){var a;if((i=(a=o[n]).getAttribute("data-href"))===e||i===t)return a}})(n,i))return t();((e,t,r,n)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=o=>{if(i.onerror=i.onload=null,"load"===o.type)r();else{var a=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode.removeChild(i),n(u)}},i.href=t,document.head.appendChild(i)})(e,i,t,r)})),o={826:0},u.f.miniCss=(e,t)=>{o[e]?t.push(o[e]):0!==o[e]&&{363:1}[e]&&t.push(o[e]=i(e).then((()=>{o[e]=0}),(t=>{throw delete o[e],t})))},(()=>{var e={826:0};u.f.j=(t,r)=>{var n=u.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=u.p+u.u(t),a=new Error;u.l(o,(r=>{if(u.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,s]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in a)u.o(a,n)&&(u.m[n]=a[n]);if(s)s(u)}for(t&&t(r);c<o.length;c++)i=o[c],u.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var c={};(()=>{"use strict";u.r(c),u.d(c,{Anchor:()=>ae,Article:()=>de,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>xe,Catalog:()=>we,CatalogItems:()=>ve,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>ne,Logo:()=>re,Markdown:()=>pe,Model:()=>t.Hn,Plugin:()=>t.Sy,PoweredBy:()=>te,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ToFirstArticle:()=>Se,VERSION:()=>t.q4,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>X,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>x,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>U,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useAsyncFetchMore:()=>t.r3,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>L,useHotkeys:()=>t.y1,useInPreview:()=>ee,useIntl:()=>t.cw,useLockBodyScroll:()=>J,useLogo:()=>G,useModel:()=>t.tT,useNextArticle:()=>$,useOptions:()=>t.D2,usePrevArticle:()=>q,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>B,useWindowSize:()=>Z.Z,windowSizes:()=>Z.D});var e={};u.r(e),u.d(e,{book:()=>k,page:()=>D,search:()=>F}),Date.prototype.format=function(e){const t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(const r in t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e};var t=u(131),r=u(4246),n=u(1533),i=u.n(n),o=u(8907);t.$B.prototype[o.sc]=!0;var a=u(7363),s=u.n(a);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}var p,h=p||(p={});h.Pop="POP",h.Push="PUSH",h.Replace="REPLACE";var d=function(e){return e};function m(e){e.preventDefault(),e.returnValue=""}function g(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function y(){return Math.random().toString(36).substr(2,8)}function v(e){var t=e.pathname,r=e.search;return(void 0===t?"/":t)+(void 0===r?"":r)+(void 0===(e=e.hash)?"":e)}function b(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const E="undefined"!=typeof window&&window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol;class w{constructor(){l(this,"history",void 0),this.history=E?function(e){function t(){var e=a.location,t=s.state||{};return[t.idx,d({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function r(e){return"string"==typeof e?e:v(e)}function n(e,t){return void 0===t&&(t=null),d(f({pathname:h.pathname,hash:"",search:""},"string"==typeof e?b(e):e,{state:t,key:y()}))}function i(e){c=e,e=t(),l=e[0],h=e[1],E.call({action:c,location:h})}function o(e){s.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,s=a.history,u=null;a.addEventListener("popstate",(function(){if(u)w.call(u),u=null;else{var e=p.Pop,r=t(),n=r[0];if(r=r[1],w.length){if(null!=n){var a=l-n;a&&(u={action:e,location:r,retry:function(){o(-1*a)}},o(a))}}else i(e)}}));var c=p.Pop,l=(e=t())[0],h=e[1],E=g(),w=g();return null==l&&(l=0,s.replaceState(f({},s.state,{idx:l}),"")),{get action(){return c},get location(){return h},createHref:r,push:function e(t,o){var u=p.Push,c=n(t,o);if(!w.length||(w.call({action:u,location:c,retry:function(){e(t,o)}}),0)){var f=[{usr:c.state,key:c.key,idx:l+1},r(c)];c=f[0],f=f[1];try{s.pushState(c,"",f)}catch(e){a.location.assign(f)}i(u)}},replace:function e(t,o){var a=p.Replace,u=n(t,o);w.length&&(w.call({action:a,location:u,retry:function(){e(t,o)}}),1)||(u=[{usr:u.state,key:u.key,idx:l},r(u)],s.replaceState(u[0],"",u[1]),i(a))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return E.push(e)},block:function(e){var t=w.push(e);return 1===w.length&&a.addEventListener("beforeunload",m),function(){t(),w.length||a.removeEventListener("beforeunload",m)}}}}():function(e){function t(e,t){return void 0===t&&(t=null),d(f({pathname:c.pathname,search:"",hash:""},"string"==typeof e?b(e):e,{state:t,key:y()}))}function r(e,t,r){return!h.length||(h.call({action:e,location:t,retry:r}),!1)}function n(e,t){u=e,c=t,l.call({action:u,location:c})}function i(e){var t=Math.min(Math.max(s+e,0),a.length-1),o=p.Pop,u=a[t];r(o,u,(function(){i(e)}))&&(s=t,n(o,u))}void 0===e&&(e={});var o=e;e=o.initialEntries,o=o.initialIndex;var a=(void 0===e?["/"]:e).map((function(e){return d(f({pathname:"/",search:"",hash:"",state:null,key:y()},"string"==typeof e?b(e):e))})),s=Math.min(Math.max(null==o?a.length-1:o,0),a.length-1),u=p.Pop,c=a[s],l=g(),h=g();return{get index(){return s},get action(){return u},get location(){return c},createHref:function(e){return"string"==typeof e?e:v(e)},push:function e(i,o){var u=p.Push,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(s+=1,a.splice(s,a.length,c),n(u,c))},replace:function e(i,o){var u=p.Replace,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(a[s]=c,n(u,c))},go:i,back:function(){i(-1)},forward:function(){i(1)},listen:function(e){return l.push(e)},block:function(e){return h.push(e)}}}({initialEntries:[window.location]})}get location(){const e=this.history.location;return{...e,toString:()=>v(e)}}listen(e){this.history.listen(e)}replace(e){return this.history.replace(e)}push(e){return this.history.push(e)}}let x;class S extends t.Hn{}const k=new S;class A extends t.Hn{constructor(){super(...arguments),l(this,"initialState",{loading:!1,request:t.WY.create(),config:{}})}subscription(e){let{fetch:t}=e,r=x.location;x.listen((async e=>{let{location:n}=e;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((()=>{window.scrollTo(0,0)}))),r=n}))}async*fetch(e){yield this.setState((e=>{e.loading=!0}));const{request:r,config:n}=yield*this.getState("page");try{const i=decodeURI(e);let{data:o}=await r.get(i,n);"string"==typeof o&&(o=(0,t.He)(o));const{file:a,lfs:s}=o;yield this.setState((e=>{e.file=new t.$B(a),e.lfs=s}))}catch(e){yield this.setState((t=>{t.error=e}))}finally{yield this.setState((e=>{e.loading=!1}))}}*intercept(e){const{request:t}=yield*this.getState("page");e(t.interceptors)}*updateConfig(e){yield this.setState((t=>{e(t.config)}))}}const D=new A;class C extends t.Hn{constructor(){super(...arguments),l(this,"initialState",{status:"idle",results:[],query:""})}async*fetch(e){if(e=e.trim()){yield this.setState((t=>{t.query=e,t.status="loading"}));let{handler:t}=yield*this.getState("search");if(!t){const{summary:r}=yield*this.getState("book");t=()=>{const t=[];return r.getArticle((r=>{const n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1})),t}}try{const r=await t(e);yield this.setState((e=>{e.results=r,e.status="idle"}))}catch{yield this.setState((e=>{e.results=[],e.status="error"}))}}else yield this.setState((t=>{t.query=e,t.status="idle",t.results=[]}))}*setHandler(e){yield this.setState((t=>{t.handler=e}))}}const F=new C;var P,O,T=u(8891),j=u(168);function _(){return(0,r.jsx)(R,{children:(0,r.jsx)(I,{})})}const I=t.zo.div(P||(P=(0,j.Z)(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid #3c60ff;\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"]))),R=t.zo.div(O||(O=(0,j.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));function L(){const{file:e}=(0,t.v9)("page");return e}const N=(0,a.createContext)(void 0);function M(e){let{children:n}=e;const i=L(),{result:o,loading:a}=(0,t.r5)((async()=>{const{data:e}=await(0,t.WY)(i.relative(t.fy.style));return e}),[]);return a?null:(0,r.jsx)(N.Provider,{value:o,children:n})}function B(){const e=(0,t.cw)(),{config:r}=(0,t.CQ)();return r.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}const z=(0,a.createContext)(void 0);function U(){return(0,a.useContext)(z)}function $(){const{summary:e}=(0,t.CQ)(),r=U();if(r)return(0,a.useMemo)((()=>{const t=r.getLevel();let n=!1;return e.getArticle((e=>n?!!e.getPath():(n=e.getLevel()==t,!1)))}),[e,r])}function q(){const{summary:e}=(0,t.CQ)(),r=U();if(r)return(0,a.useMemo)((()=>{const t=r.getLevel();let n;return e.getArticle((e=>e.getLevel()==t||(e.getPath()&&(n=e),!1))),n}),[e,r])}const V=(0,a.createContext)(void 0);function H(e){let{children:n}=e;const[i,o]=(0,a.useState)((()=>"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=")),s=L();return(0,a.useEffect)((()=>{const e=s.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){const e=document.createElement("canvas");e.height=this.height,e.width=this.width;const t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((e=>{e&&o(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,r.jsx)(V.Provider,{value:i,children:n})}function G(){return(0,a.useContext)(V)}const W=s().lazy((()=>Promise.all([u.e(378),u.e(363)]).then(u.bind(u,4363))));function Q(){const{summary:e}=(0,t.CQ)(),n=B(),i=L(),o=(0,a.useMemo)((()=>e.getArticle((e=>e.getPath()===i.path))),[e,i]);(0,a.useEffect)((()=>{window.dispatchEvent(new Event("bootstrapped"))}),[]);const u=G();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(o?"".concat(o.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:u,type:"image/png"})]}),(0,r.jsxs)(z.Provider,{value:o,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(s().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:W})})]})]})}async function K(e){return"en"===e?u.e(7).then(u.t.bind(u,2007,19)):u.e(267).then(u.t.bind(u,3267,19))}function Y(){const[n,i]=(0,a.useState)();return(0,t.bd)((async()=>{try{const{location:n}=x=new w;let o=(0,t.He)();if(!o){o=(await t.WY.get(n.toString())).data}let{id:a,summary:s,file:u,config:c={},options:l={},lfs:f,pluginsCenter:p}=o;c=t.De.createFromObject(c),s=t.ER.create(s);const h=new t.fy(a,c,s),d={page:{config:{params:T.parse(n.search)},file:new t.$B(u),lfs:f},options:l},m=await(0,t.W3)("reader",h,e,d,K,p),g=(0,r.jsx)(m,{children:(0,r.jsx)(H,{children:(0,r.jsx)(M,{children:(0,r.jsx)(Q,{})})})});i(g)}catch(e){var n;if(console.error(e),t.WY.isAxiosError(e))i((null===(n=e.response)||void 0===n?void 0:n.data)||e.message);else i(e.message)}}),[]),n||(0,r.jsx)(_,{})}const X=()=>{i().render((0,r.jsx)(Y,{}),document.getElementById("root"))};var Z=u(9958);function J(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,a.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",window.scrollTo(0,0),()=>{document.body.style.overflow="visible"})),[e])}function ee(){const{preview:e=!1}=(0,t.v9)("options");return e}function te(e){let{className:n}=e;const i=(0,t.cw)(),{poweredBy:o}=(0,t.v9)("options");return o?(0,r.jsx)("div",{className:n,children:i.formatMessage({id:"IHXx7d",defaultMessage:[{type:0,value:"本文档使用 "},{type:1,value:"link"},{type:0,value:" 构建"}]},{link:(0,r.jsx)("a",{href:o.link,target:"_blank",children:o.name})})}):null}function re(e){let{size:t=60,className:n}=e;const i=G();return(0,r.jsx)("img",{className:n,src:i,width:t,height:t,alt:"logo"})}function ne(e){let{children:n,to:i,className:o,...s}=e;const u=L(),{loading:c}=(0,t.v9)("page");let l;i instanceof t.oI?(l=i.getPath(),n||(n=i.getTitle())):l=i;const f=l?u.relative(l):"#!",p=(0,a.useCallback)((e=>{if(e.preventDefault(),l&&!c){const t={pathname:"",search:"",hash:"",...b(e.currentTarget.pathname)};x.push(t)}}),[l,c]);return(0,r.jsx)("a",{...s,onClick:p,className:o,href:f,children:n})}var ie=u(7425),oe=u.n(ie);const ae=e=>{let{base:n,href:i,...o}=e;const{summary:a}=(0,t.CQ)();if(i){if(!(0,t.CB)(i)){let e=i;if(".md"===oe().extname(i)){let t;t=n?decodeURIComponent(oe().join(oe().dirname(n),i)):i;const r=a.getArticle((e=>e.ref===t));r&&(e=r)}return(0,r.jsx)(ne,{to:e,...o})}o.target="_blank"}return(0,r.jsx)("a",{href:i,...o,rel:"noopener noreferrer"})};var se,ue=u(3440);function ce(e){let{element:n,src:i,...o}=e;const{lfs:a,file:s}=(0,t.v9)("page");if(i&&a&&!(0,ue.CB)(i)&&s){const{url:e,files:t}=a,r=t[s.resolve(decodeURIComponent(i))];r&&(i=e.replace("{oid}",r))}return(0,r.jsx)(t.cu,{role:"page:asset",props:{src:i,...o},component:n})}const le=t.zo.a(se||(se=(0,j.Z)(["\n display: block;\n position: relative;\n top: -.5rem;\n"]))),fe={a:function(e){const t=L();return(0,r.jsx)(ae,{...e,base:t.path})},img:function(e){return(0,r.jsx)(ce,{element:"img",...e})},attachment:function(e){return(0,r.jsx)(ce,{element:"t-attachment",...e})},video:function(e){return(0,r.jsx)(ce,{element:"video",...e})},audio:function(e){return(0,r.jsx)(ce,{element:"audio",...e})},heading:function(e){let{depth:t,id:n,children:i,...o}=e;return n&&(i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(le,{tabIndex:-1,id:n}),i]})),(0,a.createElement)("h".concat(t),o,i)}};function pe(e){let{children:n,...i}=e;(0,a.useEffect)((()=>{const e=x.location.hash;if(e){const t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}}),[]);const o=(0,a.useContext)(N);return(0,r.jsx)(t.UG,{css:o,...i,components:fe,children:n})}var he;function de(e){let{className:n,header:i,footer:o,...a}=e;const s=L(),u=U();void 0===i&&u&&(i=(0,r.jsx)(me,{children:u.title})),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),i]}),o=(0,r.jsxs)(r.Fragment,{children:[o,(0,r.jsx)(t.IA,{role:"page:article:after"})]});const c=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:pe,props:{header:i,footer:o,children:s.content,...a}});return(0,r.jsx)("div",{className:n,children:c})}const me=t.zo.h1(he||(he=(0,j.Z)(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),ge=e=>{let{item:n,itemComponent:i,itemsComponent:o}=e;const{path:s}=L(),u=U(),c=(0,a.useMemo)((()=>Boolean(u&&n.getLevel().isDescendant(u.getLevel()))),[n,u]),l=s===n.getPath(),f=n.children.length>0,p=!n.getPath(),h=f?(0,r.jsx)(ve,{itemsComponent:o,itemComponent:i,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,active:l,disabled:p,activeDescendant:c,children:h},component:i})},ye=e=>{let{children:t}=e;return(0,r.jsx)("ul",{children:t})},ve=e=>{let{items:n,part:i,itemsComponent:o=ye,itemComponent:a}=e;const s=(0,r.jsx)(r.Fragment,{children:n.map((e=>(0,r.jsx)(ge,{itemsComponent:o,itemComponent:a,item:e},e.level.toString())))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:i,children:s},component:o})},be=e=>{let{part:n,component:i,itemsComponent:o,itemComponent:a}=e;const s=(0,r.jsx)(ve,{itemsComponent:o,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:i})},Ee=e=>{let{summary:t,partComponent:n,itemsComponent:i,itemComponent:o}=e;return t.isSinglePart()?(0,r.jsx)(ve,{itemsComponent:i,itemComponent:o,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((e=>(0,r.jsx)(be,{component:n,itemsComponent:i,itemComponent:o,part:e},e.level.toString())))})};function we(e){let{...n}=e;const{summary:i}=(0,t.v9)("book"),{renderItem:o,renderPart:a}=n;o&&(console.warn("renderItem deprecated"),n.itemComponent=o),a&&(console.warn("renderPart deprecated"),n.partComponent=a);const{partComponent:s,itemsComponent:u,itemComponent:c}=n;return(0,r.jsx)(Ee,{summary:i,partComponent:s,itemsComponent:u,itemComponent:c})}function xe(e){let{className:n}=e;const{summary:i}=(0,t.CQ)(),o=U(),a=(0,t.cw)(),s=[(0,r.jsx)("li",{children:(0,r.jsx)(ne,{to:".",children:a.formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]})})},"0")];if(o){const e=o.getLevel();e.data.reduce(((n,o)=>{n.push(o);const a=new t.aC(n),u=i.getByLevel(a);return u&&(u instanceof t.oI&&!a.eq(e)?s.push((0,r.jsx)("li",{children:(0,r.jsx)(ne,{to:u})},a.toString())):u.title&&s.push((0,r.jsx)("li",{children:u.title},a.toString()))),n}),[])}return(0,r.jsx)("ol",{className:n,children:s})}function Se(e){let{children:r}=e;const{summary:n}=(0,t.CQ)(),i=U(),o=L();return(0,a.useEffect)((()=>{if(!i){const e=n.getFirstArticle();e&&x.replace(o.relative(e.path))}}),[i]),i?r:null}})(),window.TopWrite=c})();
53
+ !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=r(r("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+r("%[89A-Fa-f]"+i+"%"+i+i)+"|"+r("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),u=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,o,"[\\+\\-\\.]")+"*"),h=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),p=(r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("[1-9]"+o)+"|"+o),r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o)),d=r(p+"\\."+p+"\\."+p+"\\."+p),m=r(i+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),w=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),x=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),S=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),A=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),k=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),D=r([y,v,b,E,w,x,S,A,k].join("|")),C=r(r(l+"|"+a)+"+"),F=(r(D+"\\%25"+C),r(D+r("\\%25|\\%(?!"+i+"{2})")+C)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(F+"|"+D+"|"+P)+"\\]"),T=r(r(a+"|"+t(l,s))+"*"),j=r(O+"|"+d+"(?!"+T+")|"+T),I=r(o+"*"),_=r(r(h+"@")+"?"+j+r("\\:"+I)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),B=r(R+"*"),L=r(R+"+"),N=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),M=r(r("\\/"+B)+"*"),H=r("\\/"+r(L+M)+"?"),z=r(N+M),U=r(L+M),$="(?!"+R+")",q=(r(M+"|"+H+"|"+z+"|"+U+"|"+$),r(r(R+"|"+t("[\\/\\?]",u))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+_+M)+"|"+H+"|"+U+"|"+$),W=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+_+M)+"|"+H+"|"+z+"|"+$),K=r(Q+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+j+")"+r("\\:("+I+")")+"?)")+"?("+M+"|"+H+"|"+U+"|"+$+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+j+")"+r("\\:("+I+")")+"?)")+"?("+M+"|"+H+"|"+z+"|"+$+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+j+")"+r("\\:("+I+")")+"?)")+"?("+M+"|"+H+"|"+U+"|"+$+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+h+")@"),r("\\:("+I+")"),{NOT_SCHEME:new RegExp(t("[^]",n,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,c),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+D+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+C+")")+"?\\]?$")}}var c=s(!1),u=s(!0),l=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},h=2147483647,p=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",w=/^xn--/,x=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=p-d,D=Math.floor,C=String.fromCharCode;function F(e){throw new RangeError(A[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(S,".")).split("."),t).join(".")}function T(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:p},I=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},_=function(e,t,r){var n=0;for(e=r?D(e/y):e>>1,e+=D(e/t);e>k*m>>1;n+=p)e=D(e/k);return D(n+(k+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,o=b,i=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&F("not-basic"),t.push(e.charCodeAt(s));for(var c=a>0?a+1:0;c<r;){for(var u=n,l=1,f=p;;f+=p){c>=r&&F("invalid-input");var g=j(e.charCodeAt(c++));(g>=p||g>D((h-n)/l))&&F("overflow"),n+=g*l;var y=f<=i?d:f>=i+m?m:f-i;if(g<y)break;var w=p-y;l>D(h/w)&&F("overflow"),l*=w}var x=t.length+1;i=_(n-u,x,0==u),D(n/x)>h-o&&F("overflow"),o+=D(n/x),n%=x,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},B=function(e){var t=[],r=(e=T(e)).length,n=b,o=0,i=v,a=!0,s=!1,c=void 0;try{for(var u,l=e[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var f=u.value;f<128&&t.push(C(f))}}catch(e){s=!0,c=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw c}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var w=h,x=!0,S=!1,A=void 0;try{for(var k,P=e[Symbol.iterator]();!(x=(k=P.next()).done);x=!0){var O=k.value;O>=n&&O<w&&(w=O)}}catch(e){S=!0,A=e}finally{try{!x&&P.return&&P.return()}finally{if(S)throw A}}var j=y+1;w-n>D((h-o)/j)&&F("overflow"),o+=(w-n)*j,n=w;var R=!0,B=!1,L=void 0;try{for(var N,M=e[Symbol.iterator]();!(R=(N=M.next()).done);R=!0){var H=N.value;if(H<n&&++o>h&&F("overflow"),H==n){for(var z=o,U=p;;U+=p){var $=U<=i?d:U>=i+m?m:U-i;if(z<$)break;var q=z-$,V=p-$;t.push(C(I($+q%V,0))),z=D(q/V)}t.push(C(I(z,0))),i=_(o,j,y==g),o=0,++y}}}catch(e){B=!0,L=e}finally{try{!R&&M.return&&M.return()}finally{if(B)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return w.test(e)?R(e.slice(4).toLowerCase()):e}))},N=function(e){return O(e,(function(e){return x.test(e)?"xn--"+B(e):e}))},M={version:"2.1.0",ucs2:{decode:T,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:B,toASCII:N,toUnicode:L},H={};function z(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function $(e,t){function r(e){var r=U(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function V(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(q).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),o=n[1],i=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=l(a,2),c=s[0],u=s[1],f=u?u.split(":").map(q):[],h=c.split(":").map(q),p=t.IPV4ADDRESS.test(h[h.length-1]),d=p?7:8,m=h.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||h[m+y]||"";p&&(g[d-1]=V(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),w=g.slice(v.index+v.length);b=E.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?u:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(W);if(o){Q?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=G(V(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var i=H[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)$(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=M.toASCII(r.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}$(r,c)}i&&i.parse&&i.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Z(e,t){var r=!1!==t.iri?u:c,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(V(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Y=/^\.\.?\//,X=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Y))e=e.replace(Y,"");else if(e.match(X))e=e.replace(X,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?u:c,n=[],o=H[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?M.toUnicode(e.host):M.toASCII(e.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}$(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Z(e,t);if(void 0!==i&&("suffix"!==t.reference&&n.push("//"),n.push(i),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function oe(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function ie(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?u.ESCAPE:c.ESCAPE,z)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?u.PCT_ENCODED:c.PCT_ENCODED,U)}var ue={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ue.domainHost,parse:ue.parse,serialize:ue.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var he={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),o=n[0],i=n[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},pe={scheme:"wss",domainHost:he.domainHost,parse:he.parse,serialize:he.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),xe=new RegExp(ye,"g"),Se=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Ae=new RegExp(t("[^]",me,Ee),"g"),ke=Ae;function De(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,i={},a=r.query.split("&"),s=0,c=a.length;s<c;++s){var u=a[s].split("=");switch(u[0]){case"to":for(var l=u[1].split(","),f=0,h=l.length;f<h;++f)n.push(l[f]);break;case"subject":r.subject=ce(u[1],t);break;case"body":r.body=ce(u[1],t);break;default:o=!0,i[ce(u[0],t)]=ce(u[1],t)}}o&&(r.headers=i)}r.query=void 0;for(var p=0,d=n.length;p<d;++p){var m=n[p].split("@");if(m[0]=ce(m[0]),t.unicodeSupport)m[1]=ce(m[1],t).toLowerCase();else try{m[1]=M.toASCII(ce(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[p]=m.join("@")}return r},serialize:function(e,t){var r=e,n=i(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var c=String(n[a]),u=c.lastIndexOf("@"),l=c.slice(0,u).replace(xe,De).replace(xe,o).replace(Se,z),f=c.slice(u+1);try{f=t.iri?M.toUnicode(f):M.toASCII(ce(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var p=[];for(var d in h)h[d]!==de[d]&&p.push(d.replace(xe,De).replace(xe,o).replace(Ae,z)+"="+h[d].replace(xe,De).replace(xe,o).replace(ke,z));return p.length&&(r.query=p.join("&")),r}},Fe=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Fe),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),c=H[s];n.nid=i,n.nss=a,n.path=void 0,c&&(n=c.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),i=H[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Te={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};H[ue.scheme]=ue,H[le.scheme]=le,H[he.scheme]=he,H[pe.scheme]=pe,H[Ce.scheme]=Ce,H[Pe.scheme]=Pe,H[Te.scheme]=Te,e.SCHEMES=H,e.pctEncChar=z,e.pctDecChars=U,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8884:function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,u=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,d=String.fromCharCode;function m(e){throw RangeError(h[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=d(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;n+=c)e=p(e/35);return p(n+36*e/(e+38))}function x(e){var t,r,n,o,i,a,u,l,f,h,d,g=[],y=e.length,v=0,E=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&m("not-basic"),g.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=v,a=1,u=c;o>=y&&m("invalid-input"),((l=(d=e.charCodeAt(o++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:c)>=c||l>p((s-v)/a))&&m("overflow"),v+=l*a,!(l<(f=u<=x?1:u>=x+26?26:u-x));u+=c)a>p(s/(h=c-f))&&m("overflow"),a*=h;x=w(v-i,t=g.length+1,0==i),p(v/t)>s-E&&m("overflow"),E+=p(v/t),v%=t,g.splice(v++,0,E)}return b(g)}function S(e){var t,r,n,o,i,a,u,l,f,h,g,y,b,x,S,A=[];for(y=(e=v(e)).length,t=128,r=0,i=72,a=0;a<y;++a)(g=e[a])<128&&A.push(d(g));for(n=o=A.length,o&&A.push("-");n<y;){for(u=s,a=0;a<y;++a)(g=e[a])>=t&&g<u&&(u=g);for(u-t>p((s-r)/(b=n+1))&&m("overflow"),r+=(u-t)*b,t=u,a=0;a<y;++a)if((g=e[a])<t&&++r>s&&m("overflow"),g==t){for(l=r,f=c;!(l<(h=f<=i?1:f>=i+26?26:f-i));f+=c)S=l-h,x=c-h,A.push(d(E(h+S%x,0))),l=p(S/x);A.push(d(E(l,0))),i=w(r,b,n==o),r=0,++n}++r,++t}return A.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:x,encode:S,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},4760:(e,t,r)=>{"use strict";var n=r(8884),o=r(569);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(6541);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",u=e.split(s);u[0]=u[0].replace(/\\/g,"/");var b=e=u.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=c.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(S||w&&!y[w])){for(var A,k,D=-1,C=0;C<h.length;C++){-1!==(F=b.indexOf(h[C]))&&(-1===D||F<D)&&(D=F)}-1!==(k=-1===D?b.lastIndexOf("@"):b.lastIndexOf("@",D))&&(A=b.slice(0,k),b=b.slice(k+1),this.auth=decodeURIComponent(A)),D=-1;for(C=0;C<f.length;C++){var F;-1!==(F=b.indexOf(f[C]))&&(-1===D||F<D)&&(D=F)}-1===D&&(D=b.length),this.host=b.slice(0,D),b=b.slice(D),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),T=(C=0,O.length);C<T;C++){var j=O[C];if(j&&!j.match(p)){for(var I="",_=0,R=j.length;_<R;_++)j.charCodeAt(_)>127?I+="x":I+=j[_];if(!I.match(p)){var B=O.slice(0,C),L=O.slice(C+1),N=j.match(d);N&&(B.push(N[1]),L.unshift(N[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var M=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+M,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(C=0,T=l.length;C<T;C++){var z=l[C];if(-1!==b.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),b=b.split(z).join(U)}}var $=b.indexOf("#");-1!==$&&(this.hash=b.substr($),b=b.slice(0,$));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var V=this.search||"";this.path=M+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var p=f[h];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=E||b||r.host&&e.pathname,x=w,S=r.pathname&&r.pathname.split("/")||[],A=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(A&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===S[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(A)r.hostname=r.host=S.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var k=S.slice(-1)[0],D=(r.host||e.host||S.length>1)&&("."===k||".."===k)||""===k,C=0,F=S.length;F>=0;F--)"."===(k=S[F])?S.splice(F,1):".."===k?(S.splice(F,1),C++):C&&(S.splice(F,1),C--);if(!w&&!x)for(;C--;C)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),D&&"/"!==S.join("/").substr(-1)&&S.push("");var P,O=""===S[0]||S[0]&&"/"===S[0].charAt(0);A&&(r.hostname=r.host=O?"":S.length?S.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(w=w||r.host&&S.length)&&!O&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},569:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},6579:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:(e,t,r)=>{"use strict";var n=r(7740),o=r(8265),i=r(2505),a=r(387);function s(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),h=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(c)var d=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function w(e){return"[object ArrayBuffer]"===l(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===l(e)}function A(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||A(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=x,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=A;var k="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function D(e){return"[object SharedArrayBuffer]"===l(e)}function C(e){return void 0!==k&&(void 0===D.working&&(D.working=D(new k)),D.working?D(e):e instanceof k)}function F(e){return g(e,f)}function P(e){return g(e,h)}function O(e){return g(e,p)}function T(e){return c&&g(e,d)}function j(e){return u&&g(e,m)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=F,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=T,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return F(e)||P(e)||O(e)||T(e)||j(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},1323:(e,t,r)=>{var n=r(7061),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<o;s=n[++r])y(s)||!x(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var c=n.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+c+"$","i")}function u(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),h(n,e,n.depth)}function l(e,t){var r=u.styles[t];return r?"["+u.colors[r][0]+"m"+e+"["+u.colors[r][1]+"m":e}function f(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&k(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=h(e,o,n)),o}var i=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(i)return i;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),A(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(k(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(A(r))return p(r)}var u,l="",f=!1,x=["{","}"];(m(r)&&(f=!0,x=["[","]"]),k(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),A(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)O(t,String(a))?i.push(d(e,t,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(d(e,t,r,n,o,!0))})),i}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,l,x)):x[0]+l+x[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),O(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=y(r)?h(e,c.value,null):h(e,c.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===D(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===D(e)}function A(e){return x(e)&&("[object Error]"===D(e)||e instanceof Error)}function k(e){return"function"==typeof e}function D(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7673),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=S,t.types.isDate=S,t.isError=A,t.types.isNativeError=A,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(6579);var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=r(87),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},2505:(e,t,r)=>{"use strict";var n=r(5278),o=r(973),i=r(2737),a=i("Object.prototype.toString"),s=r(698)(),c="undefined"==typeof globalThis?r.g:globalThis,u=o(),l=i("String.prototype.slice"),f={},h=r(8828),p=Object.getPrototypeOf;s&&h&&p&&n(u,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=p(t),n=h(r,Symbol.toStringTag);if(!n){var o=p(r);n=h(o,Symbol.toStringTag)}f[e]=n.get}}}));var d=r(387);e.exports=function(e){return!!d(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return n(f,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):l(a(e),8,-1))}},7363:e=>{"use strict";e.exports=React},1533:e=>{"use strict";e.exports=ReactDOM},2611:e=>{"use strict";e.exports=_},134:e=>{"use strict";e.exports=_.isEqual},429:()=>{},973:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},8828:(e,t,r)=>{"use strict";var n=r(8750)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},4649:(e,t,r)=>{"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:()=>n})},5773:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(4649);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},669:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{Z:()=>n})},9477:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});const n=document.createElement("i");function o(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},2268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blockquote:()=>a});var n=r(5471),o=r(4671),i=r(2343);function a(e,t,r,a){const c=r.enter("blockquote"),u=(0,i.j)(a);u.move("> "),u.shift(2);const l=(0,o.Q)((0,n.K)(e,r,u.current()),s);return c(),l}function s(e,t,r){return">"+(r?"":" ")+e}},6156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>c});var n=r(3428),o=r(7918),i=r(8717);var a=r(7567),s=r(2343);function c(e,t,r,c){const u=Math.max(Math.min(6,e.depth||1),1),l=(0,s.j)(c);if(function(e,t){let r=!1;return(0,n.visit)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,o.BK})),Boolean((!e.depth||e.depth<3)&&(0,i.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),o=(0,a.p)(e,r,{...l.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===u?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const f="#".repeat(u),h=r.enter("headingAtx"),p=r.enter("phrasing");l.move(f+" ");let d=(0,a.p)(e,r,{before:"# ",after:"\n",...l.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?f+" "+d:f,r.options.closeAtx&&(d+=" "+f),p(),h(),d}},8627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>a});var n=r(1481),o=r(3316),i=r(2343);function a(e,t,r,a){const s=(0,n.l)(r),c='"'===s?"Quote":"Apostrophe",u=r.enter("image");let l=r.enter("label");const f=(0,i.j)(a);let h=f.move("![");return h+=f.move((0,o.T)(r,e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),h+=f.move("<"),h+=f.move((0,o.T)(r,e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(l=r.enter("destinationRaw"),h+=f.move((0,o.T)(r,e.url,{before:h,after:e.title?" ":")",...f.current()}))),l(),e.title&&(l=r.enter("title"+c),h+=f.move(" "+s),h+=f.move((0,o.T)(r,e.title,{before:h,after:s,...f.current()})),h+=f.move(s),l()),h+=f.move(")"),u(),h}a.peek=function(){return"!"}},2848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{paragraph:()=>o});var n=r(7567);function o(e,t,r,o){const i=r.enter("paragraph"),a=r.enter("phrasing"),s=(0,n.p)(e,r,o);return a(),i(),s}},1481:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},5471:(e,t,r)=>{"use strict";r.d(t,{K:()=>o});var n=r(2343);function o(e,t,r){const o=t.indexStack,i=e.children||[],a=(0,n.j)(r),s=[];let c=-1;for(o.push(-1);++c<i.length;){const r=i[c];o[o.length-1]=c,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),c<i.length-1&&s.push(a.move(u(r,i[c+1])))}return o.pop(),s.join("");function u(r,n){let o=t.join.length;for(;o--;){const i=t.join[o](r,n,e,t);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}},7567:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var n=r(2343);function o(e,t,r){const o=t.indexStack,i=e.children||[],a=[];let s=-1,c=r.before;o.push(-1);let u=(0,n.j)(r);for(;++s<i.length;){const l=i[s];let f;if(o[o.length-1]=s,s+1<i.length){let r=t.handle.handlers[i[s+1].type];r&&r.peek&&(r=r.peek),f=r?r(i[s+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else f=r.after;a.length>0&&("\r"===c||"\n"===c)&&"html"===l.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),c=" ",u=(0,n.j)(r),u.move(a.join(""))),a.push(u.move(t.handle(l,e,t,{...u.current(),before:c,after:f}))),c=a[a.length-1].slice(-1)}return o.pop(),a.join("")}},4671:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o});const n=/\r?\n|\r/g;function o(e,t){const r=[];let o,i=0,a=0;for(;o=n.exec(e);)s(e.slice(i,o.index)),r.push(o[0]),i=o.index+o[0].length,a++;return s(e.slice(i)),r.join("");function s(e){r.push(t(e,a,!e))}}},7866:(e,t,r)=>{"use strict";function n(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}r.d(t,{T:()=>n})},3316:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(7866);function o(e,t){return i(e,t.inConstruct,!0)&&!i(e,t.notInConstruct,!1)}function i(e,t,r){if(!t)return r;"string"==typeof t&&(t=[t]);let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function a(e,t,r){const i=(r.before||"")+(t||"")+(r.after||""),a=[],u=[],l={};let f=-1;for(;++f<e.unsafe.length;){const t=e.unsafe[f];if(!o(e.stack,t))continue;const r=(0,n.T)(t);let s;for(;s=r.exec(i);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=s.index+(e?s[1].length:0);a.includes(n)?(l[n].before&&!e&&(l[n].before=!1),l[n].after&&!r&&(l[n].after=!1)):(a.push(n),l[n]={before:e,after:r})}}a.sort(s);let h=r.before?r.before.length:0;const p=i.length-(r.after?r.after.length:0);for(f=-1;++f<a.length;){const e=a[f];e<h||e>=p||(e+1<p&&a[f+1]===e+1&&l[e].after&&!l[e+1].before&&!l[e+1].after||a[f-1]===e-1&&l[e].before&&!l[e-1].before&&!l[e-1].after||(h!==e&&u.push(c(i.slice(h,e),"\\")),h=e,!/[!-/:-@[-`{-~]/.test(i.charAt(e))||r.encode&&r.encode.includes(i.charAt(e))?(u.push("&#x"+i.charCodeAt(e).toString(16).toUpperCase()+";"),h++):u.push("\\")))}return u.push(c(i.slice(h,p),r.after)),u.join("")}function s(e,t){return e-t}function c(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,c=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)c!==n[s]&&o.push(e.slice(c,n[s])),o.push("\\"),c=n[s];return o.push(e.slice(c)),o.join("")}},2343:(e,t,r)=>{"use strict";function n(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,o=r.line||1,i=r.column||1;return{move:function(e=""){const t=e.split(/\r?\n|\r/g),r=t[t.length-1];return o+=t.length-1,i=1===t.length?i+r.length:1+r.length+n,e},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},8717:(e,t,r)=>{"use strict";function n(e,t){var{includeImageAlt:r=!0}=t||{};return o(e,r)}function o(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&i(e.children,t)||Array.isArray(e)&&i(e,t))||""}function i(e,t){for(var r=[],n=-1;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},9531:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>o.j,blankLine:()=>i.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>c.u,codeFenced:()=>u._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>h.k,definition:()=>p.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>w.g,list:()=>x.p,setextUnderline:()=>S.C,thematicBreak:()=>A.C});var n=r(8415),o=r(7444),i=r(2929),a=r(7207),s=r(1687),c=r(2810),u=r(4897),l=r(2535),f=r(5180),h=r(6814),p=r(4882),d=r(6100),m=r(5528),g=r(5198),y=r(5890),v=r(8966),b=r(5365),E=r(5856),w=r(890),x=r(4618),S=r(6263),A=r(8038)},8415:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(8300),o=r(3886),i=r(3879);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=(0,o.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(c){if(c===a)return e.consume(c),s;const u=e.exit("attentionSequence"),l=(0,o.r)(c),f=!l||2===l&&i||r.includes(c),h=!i||2===i&&l||r.includes(n);return u._open=Boolean(42===a?f:f&&(i||!h)),u._close=Boolean(42===a?h:h&&(l||!f)),t(c)}},resolveAll:function(e,t){let r,o,a,c,u,l,f,h,p=-1;for(;++p<e.length;)if("enter"===e[p][0]&&"attentionSequence"===e[p][1].type&&e[p][1]._close)for(r=p;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[p][1]).charCodeAt(0)){if((e[r][1]._close||e[p][1]._open)&&(e[p][1].end.offset-e[p][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[p][1].end.offset-e[p][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[p][1].start);s(d,-l),s(m,l),c={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[p][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[p][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},c.start),end:Object.assign({},u.end)},e[r][1].end=Object.assign({},c.start),e[p][1].start=Object.assign({},u.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",o,t],["enter",c,t],["exit",c,t],["enter",a,t]]),f=(0,n.V)(f,(0,i.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,p),t)),f=(0,n.V)(f,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",o,t]]),e[p][1].end.offset-e[p][1].start.offset?(h=2,f=(0,n.V)(f,[["enter",e[p][1],t],["exit",e[p][1],t]])):h=0,(0,n.d)(e,r-1,p-r+3,f),p=r+f.length-h-2;break}p=-1;for(;++p<e.length;)"attentionSequence"===e[p][1].type&&(e[p][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},7444:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(488);const o={name:"autolink",tokenize:function(e,t,r){let o=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?u(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):u(e)}function s(t){return 58===t?(e.consume(t),c):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&o++<32?(e.consume(t),s):u(t)}function c(t){return 62===t?(e.exit("autolinkProtocol"),p(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),c)}function u(t){return 64===t?(e.consume(t),o=0,l):(0,n.asciiAtext)(t)?(e.consume(t),u):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),o=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",p(t)):h(t)}function h(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&o++<63?(e.consume(t),45===t?h:f):r(t)}function p(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},2929:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(4014),o=r(488);const i={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,o.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},7207:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(4014),o=r(488);const i={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,o.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(i,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},1687:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(488);const o={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return(0,n.asciiPunctuation)(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}}},2810:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(9477),o=r(488);const i={name:"characterReference",tokenize:function(e,t,r){const i=this;let a,s,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),u};function u(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=o.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=o.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=o.asciiDigit,f(t))}function f(u){let l;return 59===u&&c?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(u)):s(u)&&c++<a?(e.consume(u),f):r(u)}}}},4897:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(4014),o=r(488);const i={name:"codeFenced",tokenize:function(e,t,r){const i=this,a={tokenize:function(e,t,r){let i=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),i++,s):i<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,c,"whitespace")(t))}function c(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},c=this.events[this.events.length-1],u=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,h(t)};function h(t){return t===l?(e.consume(t),f++,h):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,p,"whitespace")(t))}function p(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,o.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),i.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,o.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,u?(0,n.factorySpace)(e,v,"linePrefix",u+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},2535:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(4014),o=r(488);const i={name:"codeIndented",tokenize:function(e,t,r){const i=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=i.events[i.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?c(e):r(e)}function c(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,c,l)(t):(e.enter("codeFlowValue"),u(t))}function u(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),c(t)):(e.consume(t),u)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=i.events[i.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,o.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},5180:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(488);const o={name:"codeText",tokenize:function(e,t,r){let o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),c(t))}function c(t){return null===t?r(t):96===t?(i=e.enter("codeTextSequence"),o=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),c):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),c(t)):(e.consume(t),u)}function l(r){return 96===r?(e.consume(r),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",u(r))}},resolve:function(e){let t,r,n=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=o;++t<n;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[n][1].type="codeTextPadding",o+=2,n-=2;break}t=o-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},6814:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(4014),o=r(488),i=r(2988);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,o.markdownLineEnding)(t)?e.check(s,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,i._)(e),e}},s={tokenize:function(e,t,r){const i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,o.markdownLineEnding)(n))return r(n);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(i.parser.constructs.flow,r,t)(n)}},partial:!0}},4882:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(917),o=r(7504),i=r(4014),a=r(1559),s=r(6096),c=r(2493),u=r(488);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),o.factoryLabel.call(a,e,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function h(t){return l=(0,c.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,i.factorySpace)(e,p,"whitespace"),(0,i.factorySpace)(e,p,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function p(n){return null===n||(0,u.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,u.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,u.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},6100:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(488);const o={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return(0,n.markdownLineEnding)(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):r(o)}}}},5528:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(4014),o=r(488),i=r(8300);const a={name:"headingAtx",tokenize:function(e,t,r){const i=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,o.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),i.interrupt?t(n):c(n)):r(n)}function c(r){return 35===r?(e.enter("atxHeadingSequence"),u(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.markdownSpace)(r)?(0,n.factorySpace)(e,c,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function u(t){return 35===t?(e.consume(t),u):(e.exit("atxHeadingSequence"),c(t))}function l(t){return null===t||35===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),c(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>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&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},n={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,i.d)(e,a,o-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},5198:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(488);const o=["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","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],i=["pre","script","style","textarea"];var a=r(2929);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,u,l,f,h;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),p};function p(o){return 33===o?(e.consume(o),d):47===o?(e.consume(o),y):63===o?(e.consume(o),s=3,a.interrupt?t:N):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),u=!0,v):r(o)}function d(o){return 45===o?(e.consume(o),s=2,m):91===o?(e.consume(o),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(o)?(e.consume(o),s=4,a.interrupt?t:N):r(o)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:N):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(c){return null===c||47===c||62===c||(0,n.markdownLineEndingOrSpace)(c)?47!==c&&u&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(c):O(c)):o.includes(l.toLowerCase())?(s=6,47===c?(e.consume(c),b):a.interrupt?t(c):O(c)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(c):u?w(c):E(c)):45===c||(0,n.asciiAlphanumeric)(c)?(e.consume(c),l+=String.fromCharCode(c),v):r(c)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):F(t)}function w(t){return 47===t?(e.consume(t),F):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),x):(0,n.markdownSpace)(t)?(e.consume(t),w):F(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),x):S(t)}function S(t){return 61===t?(e.consume(t),A):(0,n.markdownSpace)(t)?(e.consume(t),S):w(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,k):(0,n.markdownSpace)(t)?(e.consume(t),A):(h=null,D(t))}function k(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===h?(e.consume(t),C):(e.consume(t),k)}function D(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?S(t):(e.consume(t),D)}function C(e){return 47===e||62===e||(0,n.markdownSpace)(e)?w(e):r(e)}function F(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),_):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),M):63===t&&3===s?(e.consume(t),N):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?T(t):(e.consume(t),O):e.check(c,M,T)(t)}function T(t){return e.exit("htmlFlowData"),j(t)}function j(t){return null===t?H(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:I,partial:!0},j,H)(t):(e.enter("htmlFlowData"),O(t))}function I(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function _(t){return 45===t?(e.consume(t),N):O(t)}function R(t){return 47===t?(e.consume(t),l="",B):O(t)}function B(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),M):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),B):O(t)}function L(t){return 93===t?(e.consume(t),N):O(t)}function N(t){return 62===t?(e.consume(t),M):45===t&&2===s?(e.consume(t),N):O(t)}function M(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),H(t)):(e.consume(t),M)}function H(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););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));return e},concrete:!0},c={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},5890:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(4014),o=r(488);const i={name:"htmlText",tokenize:function(e,t,r){const i=this;let a,s,c,u;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),A):63===t?(e.consume(t),x):(0,o.asciiAlpha)(t)?(e.consume(t),C):r(t)}function f(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),s="CDATA[",c=0,y):(0,o.asciiAlpha)(t)?(e.consume(t),w):r(t)}function h(t){return 45===t?(e.consume(t),p):r(t)}function p(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,o.markdownLineEnding)(t)?(u=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),L):m(t)}function y(t){return t===s.charCodeAt(c++)?(e.consume(t),c===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,o.markdownLineEnding)(t)?(u=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?L(t):93===t?(e.consume(t),E):v(t)}function w(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(u=w,R(t)):(e.consume(t),w)}function x(t){return null===t?r(t):63===t?(e.consume(t),S):(0,o.markdownLineEnding)(t)?(u=x,R(t)):(e.consume(t),x)}function S(e){return 62===e?L(e):x(e)}function A(t){return(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):D(t)}function D(t){return(0,o.markdownLineEnding)(t)?(u=D,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),D):L(t)}function C(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),C):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?F(t):r(t)}function F(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(u=F,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),F):L(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),T):(0,o.markdownLineEnding)(t)?(u=O,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):F(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,j):(0,o.markdownLineEnding)(t)?(u=T,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),T):(e.consume(t),a=void 0,_)}function j(t){return t===a?(e.consume(t),I):null===t?r(t):(0,o.markdownLineEnding)(t)?(u=j,R(t)):(e.consume(t),j)}function I(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?F(e):r(e)}function _(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?F(t):(e.consume(t),_)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,B,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function B(t){return e.enter("htmlTextData"),u(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},8966:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(917),o=r(7504),i=r(1559),a=r(6096),s=r(488),c=r(8300),u=r(2493),l=r(3879);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){o=n.events[a][1];break}return function(t){if(!o)return r(t);return o._inactive?c(t):(i=n.parser.defined.includes((0,u.normalizeIdentifier)(n.sliceSerialize({start:o.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(h,t,i?t:c)(r):91===r?e.attempt(p,t,i?e.attempt(d,t,c):c)(r):i?t(r):c(r)}function c(e){return o._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,o,i,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);const u={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},h={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",u,t],["enter",f,t]],i=(0,c.V)(i,e.slice(n+1,n+s+3)),i=(0,c.V)(i,[["enter",h,t]]),i=(0,c.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,c.V)(i,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,c.V)(i,e.slice(o+1)),i=(0,c.V)(i,[["exit",u,t]]),(0,c.d)(e,n,e.length,i),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},h={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,o)};function o(t){return 41===t?l(t):(0,n.factoryDestination)(e,c,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function c(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,u)(t):l(t)}function u(t){return 34===t||39===t||40===t?(0,i.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},p={tokenize:function(e,t,r){const n=this;return function(t){return o.factoryLabel.call(n,e,i,r,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,u.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},5365:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},5856:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},890:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(4014);const o={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},4618:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(4014),o=r(488),i=r(2929),a=r(8038);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let u=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,o.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,h)(t):h(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,o.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),h(t)):r(t)}function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(i.w,n.interrupt?r:p,e.attempt(c,m,d))}function p(e){return n.containerState.initialBlankLine=!0,u++,m(e)}function d(t){return(0,o.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=u+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(i.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,o.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,c(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(u,t,c)(r)}));function c(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},c={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return!(0,o.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},u={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===o.containerState.size?t(e):r(e)}),"listItemIndent",o.containerState.size+1)},partial:!0}},6263:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(4014),o=r(488);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,c=i.events.length;for(;c--;)if("lineEnding"!==i.events[c][1].type&&"linePrefix"!==i.events[c][1].type&&"content"!==i.events[c][1].type){s="paragraph"===i.events[c][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,u(t);return r(t)};function u(t){return t===a?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",o?(e.splice(n,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},8038:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(4014),o=r(488);const i={name:"thematicBreak",tokenize:function(e,t,r){let i,a=0;return function(t){return e.enter("thematicBreak"),i=t,s(t)};function s(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):(0,o.markdownSpace)(u)?(0,n.factorySpace)(e,s,"whitespace")(u):a<3||null!==u&&!(0,o.markdownLineEnding)(u)?r(u):(e.exit("thematicBreak"),t(u))}function c(t){return t===i?(e.consume(t),a++,c):(e.exit("thematicBreakSequence"),s(t))}}}},917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(488);function o(e,t,r,o,i,a,s,c,u){const l=u||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(o),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(o),e.enter(s),e.enter(c),e.enter("chunkString",{contentType:"string"}),m(t)};function h(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(c),h(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return 40===i?++f>l?r(i):(e.consume(i),m):41===i?f--?(e.consume(i),m):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(o),t(i)):(0,n.asciiControl)(i)?r(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},7504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(488);function o(e,t,r,o,i,a){const s=this;let c,u=0;return function(t){return e.enter(o),e.enter(i),e.consume(t),e.exit(i),e.enter(a),l};function l(h){return null===h||91===h||93===h&&!c||94===h&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs||u>999?r(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(o),t):(0,n.markdownLineEnding)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||u++>999?(e.exit("chunkString"),l(t)):(e.consume(t),c=c||!(0,n.markdownSpace)(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}}},4014:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(488);function o(e,t,r,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return function(o){if((0,n.markdownSpace)(o))return e.enter(r),s(o);return t(o)};function s(o){return(0,n.markdownSpace)(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}},1559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(4014),o=r(488);function i(e,t,r,i,a,s){let c;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),c=40===t?41:t,u};function u(r){return r===c?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(s),l(r))}function l(t){return t===c?(e.exit(s),u(c)):null===t?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===c||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?h:f)}function h(t){return t===c||92===t?(e.consume(t),f):f(t)}}},6096:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(4014),o=r(488);function i(e,t){let r;return function i(a){if((0,o.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i;if((0,o.markdownSpace)(a))return(0,n.factorySpace)(e,i,r?"linePrefix":"lineSuffix")(a);return t(a)}}},488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>c,asciiControl:()=>u,asciiDigit:()=>o,asciiHexDigit:()=>i,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>h,unicodePunctuation:()=>d,unicodeWhitespace:()=>p});const n=m(/[A-Za-z]/),o=m(/\d/),i=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),c=m(/[#-'*+\--9=?A-Z^-~]/);function u(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function h(e){return-2===e||-1===e||32===e}const p=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\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]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},8300:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,r=r>0?r:0,n.length<1e4)i=Array.from(n),i.unshift(t,r),[].splice.apply(e,i);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)i=n.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{V:()=>o,d:()=>n})},3886:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(488);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},4666:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(8300);const o={}.hasOwnProperty;function i(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(o.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let a;for(a in i){o.call(n,a)||(n[a]=[]);const e=i[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const o=[];for(;++r<t.length;)("after"===t[r].add?e:o).push(t[r]);(0,n.d)(e,0,0,o)}},8031:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},2116:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(9477),o=r(8031);const i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,o.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},2493:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},3879:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}r.d(t,{C:()=>n})},2988:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(8300);function o(e){const t={};let r,o,a,s,c,u,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(u=r[1]._tokenizer.events,a=0,a<u.length&&"lineEndingBlank"===u[a][1].type&&(a+=2),a<u.length&&"content"===u[a][1].type))for(;++a<u.length&&"content"!==u[a][1].type;)"chunkText"===u[a][1].type&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,o=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(o&&(e[o][1].type="lineEndingBlank"),s[1].type="lineEnding",o=a);o&&(r[1].end=Object.assign({},e[o][1].start),c=e.slice(o,f),c.unshift(r),(0,n.d)(e,o,f-o+1,c))}}return!l}function i(e,t){const r=e[t][1],o=e[t][2];let i=t-1;const a=[],s=r._tokenizer||o.parser[r.contentType](r.start),c=s.events,u=[],l={};let f,h,p=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++i][1]!==d;);a.push(i),d._tokenizer||(f=o.sliceStream(d),d.next||f.push(null),h&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=r;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(g=p+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){const t=c.slice(y[p],y[p+1]),r=a.pop();u.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(p=-1;++p<u.length;)l[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return l}},7605:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},58:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(3428);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.visit)(e,"text",((e,t,r)=>{const n=[];let i=0;o.lastIndex=0;let a=o.exec(e.value);for(;a;){const t=a.index;i!==t&&n.push({type:"text",value:e.value.slice(i,t)}),n.push({type:"break"}),i=t+a[0].length,a=o.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return i<e.value.length&&n.push({type:"text",value:e.value.slice(i)}),r.children.splice(t,1,...n),t+n.length}))}}},8056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(3428),o=r(7605);function i(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[o.codes.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==o.codes.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==o.codes.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),i)}function i(n){return[o.codes.carriageReturn,o.codes.lineFeed,o.codes.carriageReturnLineFeed,null,o.codes.backslash,o.codes.leftCurlyBrace].includes(n)?r(n):n===o.codes.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),i)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.visit)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.visit)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},7327:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Y});var n=r(4014),o=r(488),i=r(6096);function a(e,t,r,a,s,c,u,l,f,h,p,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=u,w(t)):46===t?(v=l,w(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(c),e.enter(f),e.consume(t),A):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,E)(t):j(t)}function w(t){return e.enter(c),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),x}function x(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),S)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(c),E(t)):(e.consume(t),S)}function A(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),A):(e.exit(f),y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,k,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,k)(t):k(t))}function k(t){return 61===t?(e.enter(h),e.consume(t),e.exit(h),D):(e.exit(c),E(t))}function D(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,o.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(p),e.enter(m),e.consume(t),e.exit(m),b=t,F):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,D,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,D)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,C)}function C(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(c),E(t)):(e.consume(t),C)}function F(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(p),e.exit(c),T):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),F(t)):null===t?r(t):(0,o.markdownLineEnding)(t)?y?r(t):(0,i.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,o.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function T(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?E(e):j(e)}function j(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,i,a,s){let c,u=0,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),f};function f(r){return 93===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),h(r))}function h(t){if(93===t&&!l)return m(t);const r=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=r),c=r,p(t)}function p(t){return null===t||u>999||91===t&&++l>32?r(t):93!==t||l--?(0,o.markdownLineEnding)(t)?s?r(t):(e.consume(t),e.exit("chunkText"),h):(e.consume(t),92===t?d:p):(e.exit("chunkText"),m(t))}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,p):p(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function c(e,t,r,n){const i=this;return function(t){if((0,o.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,o.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===i.previous||95===i.previous?r(s):t(s))}}const u={tokenize:function(e,t,r){const i=this,a=i.events[i.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let u,p=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),p++,d):p<3?r(t):(e.exit("directiveContainerSequence"),c.call(i,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,o.markdownLineEnding)(n)?i.interrupt?t(n):e.attempt(h,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),w(r))}function w(t){return null===t?D(t):e.attempt({tokenize:C,partial:!0},D,s?(0,n.factorySpace)(e,x,"linePrefix",s+1):x)(t)}function x(t){if(null===t)return D(t);const r=e.enter("chunkDocument",{contentType:"document",previous:u});return u&&(u.next=r),u=r,S(t)}function S(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D(t)}return(0,o.markdownLineEnding)(t)?e.check(h,A,k)(t):(e.consume(t),S)}function A(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,w}function k(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D(t)}function D(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function C(e,t,r){let i=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),i++,a):i<p?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},h={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const p={tokenize:function(e,t,r){const i=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),c.call(i,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,u,u)(t):u(t)}function u(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),c.call(n,e,o,r,"directiveTextName")};function o(t){return 58===t?r(t):91===t?e.attempt(y,i,i)(t):i(t)}function i(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function x(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function S(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||w(e)}var A=r(9477);const k=String.fromCharCode,D=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function C(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,c="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let u,l=(o?o.line:0)||1,f=(o?o.column:0)||1,h=d();for(a--;++a<=e.length;)if(10===u&&(f=(i?i[s]:0)||1),u=e.charCodeAt(a),38===u){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||r&&o===r){c+=k(u),f++;continue}const i=a+1;let s,l=i,y=i;if(35===o){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",D="",C="";const P="named"===s?S:"decimal"===s?w:x;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;C+=k(t),"named"===s&&b.includes(C)&&(v=C,D=(0,A.T)(C))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,A.T)(C);e&&(v=C,D=e)}let T=1+y-i,j="";if(O||!1!==t.nonTerminated)if(C)if("named"===s){if(O&&!D)m(5,1);else if(v!==C&&(y=l+v.length,T=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,T),D=""):S(t)?D="":m(r,T)}else m(r,T)}j=D}else{O||m(2,T);let e=Number.parseInt(C,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,T),j=k(65533);else if(e in E)m(6,T),j=E[e];else{let t="";F(e)&&m(6,T),e>65535&&(e-=65536,t+=k(e>>>10|55296),e=56320|1023&e),j=t+k(e)}}else"named"!==s&&m(4,T);else;if(j){g(),h=d(),a=y-1,f+=y-i+1,n.push(j);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:h,end:r},e.slice(i-1,y)),h=r}else C=e.slice(i-1,y),c+=C,f+=C.length,a=y-1}else 10===u&&(l++,s++,f=0),Number.isNaN(u)?g():(c+=k(u),f++);var p;return n.join("");function d(){return{line:l,column:f,offset:a+((o?o.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,D[e],n,e))}function g(){c&&(n.push(c),t.text&&t.text.call(t.textContext,c,{start:h,end:d()}),c="")}}function F(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var T=r(7918),j=r(5471),I=r(7567),_=r(1481),R=r(2343);const B={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const N={canContainEols:["textDirective"],enter:{directiveContainer:function(e){H.call(this,"containerDirective",e)},directiveContainerAttributes:U,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){H.call(this,"leafDirective",e)},directiveLeafAttributes:U,directiveText:function(e){H.call(this,"textDirective",e)},directiveTextAttributes:U},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:$,directiveContainerAttributeName:G,directiveContainerAttributeValue:V,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:z,directiveLeaf:Q,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:$,directiveLeafAttributeName:G,directiveLeafAttributeValue:V,directiveLeafAttributes:W,directiveLeafName:z,directiveText:Q,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:$,directiveTextAttributeName:G,directiveTextAttributeValue:V,directiveTextAttributes:W,directiveTextName:z}},M={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function H(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function z(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function U(){this.setData("directiveAttributes",[]),this.buffer()}function $(e){this.getData("directiveAttributes").push(["id",C(this.sliceSerialize(e))])}function q(e){this.getData("directiveAttributes").push(["class",C(this.sliceSerialize(e))])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=C(this.sliceSerialize(e))}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r,n){const o=(0,R.j)(n),i=function(e){let t=0;"containerDirective"===e.type?((0,T.S4)(e,"containerDirective",r),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t);function r(e,r){let n=r.length,o=0;for(;n--;)"containerDirective"===r[n].type&&o++;o>t&&(t=o)}}(e),a=r.enter(e.type);let s=o.move(i+(e.name||"")),c=e;if("containerDirective"===e.type){const t=(e.children||[])[0];c=Z(t)?t:void 0}if(c&&c.children&&c.children.length>0){const t=r.enter("label"),n=r.enter(e.type+"Label");s+=o.move("["),s+=o.move((0,I.p)(c,r,{...o.current(),before:s,after:"]"})),s+=o.move("]"),n(),t()}if(s+=o.move(function(e,t){const r=(0,_.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,c,u;for(u in o)if(B.call(o,u)&&void 0!==o[u]&&null!==o[u]){const e=String(o[u]);if("id"===u)c=L.test(e)?"#"+e:l("id",e);else if("class"===u){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let o=-1;for(;++o<t.length;)(L.test(t[o])?n:r).push(t[o]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else i.push(l(u,e))}a&&i.unshift(a);s&&i.unshift(s);c&&i.unshift(c);return i.length>0?"{"+i.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r)),"containerDirective"===e.type){let t=e;Z((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(s+=o.move("\n"),s+=o.move((0,j.K)(t,r,o.current()))),s+=o.move("\n"+i)}return a(),s}function Z(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Y(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[u,p]}}),t("fromMarkdownExtensions",N),t("toMarkdownExtensions",M)}},9715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(488),o=r(8326);const i=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?o(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,c={yaml:"-",toml:"+"};function u(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(c,t))throw i("Missing matter definition for `%s`",t);t={type:t,marker:c[t]}}else if("object"!=typeof t)throw i("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw i("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw i("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,o=t+"Value",i=t+"Fence",a=i+"Sequence",s={tokenize:function(e,t,r){let o=0;return function(t){if(t===c.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===c.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),u(t)):l(t)):t===c.charCodeAt(o++)?(e.consume(t),s):r(t)}function u(t){return(0,n.markdownSpace)(t)?(e.consume(t),u):(e.exit("whitespace"),l(t))}function l(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let c;return{tokenize:function(i,a,u){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return u(n);return i.enter(t),c=h(e,"open"),i.attempt(s,f,u)(n)};function f(t){return c=h(e,"close"),m(t)}function p(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(i.enter(o),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(i.exit(o),m(e)):(i.consume(e),d)}function m(e){return null===e?u(e):(i.enter("lineEnding"),i.consume(e),i.exit("lineEnding"),i.attempt(s,g,p))}function g(e){return i.exit(t),a(e)}},concrete:!0}}function h(e,t){return e.marker?p(e.marker,t).repeat(3):p(e.fence,t)}function p(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=u(e),r={};let n,o,i=-1;for(;++i<t.length;)n=t[i],o=h(n,"open").charCodeAt(0),o in r?r[o].push(f(n)):r[o]=[f(n)];return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=u(e),r={},n={};let o=-1;for(;++o<t.length;){const e=t[o];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=u(e);let o=-1;for(;++o<n.length;){const e=n[o];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},4382:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Fe});var n=r(4666),o=r(488);const i={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),i):r(t)}function i(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,o.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,i;return a;function a(t){return 38===t?e.check(u,l,s)(t):46===t||95===t?e.check(c,l,s)(t):null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||45!==t&&(0,o.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(i=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return i||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(u,t,o)(a):(40===a&&r++,41===a?e.check(c,i,o)(a):y(a)?t(a):g(a)?e.check(c,t,o)(a):(e.consume(a),n))}function o(t){return e.consume(t),n}function i(e){return r--,r<0?t(e):o(e)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(o){return g(o)?(e.consume(o),n):y(o)?t(o):r(o)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,o.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),i):r(t)}function i(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(s,o),r),r)(t)};function o(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||(0,o.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},h={tokenize:function(e,t,r){const n=this;let i,a;return function(t){if(!v(t)||!w(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),u):r(t)}function u(t){return 46===t?e.check(c,p,l)(t):45===t||95===t?e.check(c,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),u):p(t)}function l(t){return e.consume(t),i=!0,a=void 0,u}function f(t){return e.consume(t),h}function h(t){return 46===t?e.check(c,r,l)(t):u(t)}function p(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:w},p={},d={text:p};let m=48;for(;m<123;)p[m]=h,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,o.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,o.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,o.asciiAlpha)(e)}function w(e){return 47!==e&&E(e)}function x(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}p[43]=h,p[45]=h,p[46]=h,p[95]=h,p[72]=[h,f],p[104]=[h,f],p[87]=[h,l],p[119]=[h,l];var S=r(2929),A=r(4014),k=r(2493);const D={tokenize:function(e,t,r){const n=this;return(0,A.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function C(e,t,r){const n=this;let o=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;o--;){const e=n.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return r(o);const s=(0,k.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return r(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function F(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},c=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...c),e}function P(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),c};function c(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){let f;return null===c||91===c||s++>999?r(c):93===c?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),i.includes((0,k.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(c):r(c)):r(c):(e.consume(c),(0,o.markdownLineEndingOrSpace)(c)||(a=!0),92===c?l:u)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function O(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,c=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let i;return null===t||91===t||c>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,k.normalizeIdentifier)(n.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),c++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||c>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),c++,e.consume(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,A.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function T(e,t,r){return e.check(S.w,t,e.attempt(D,t,r))}function j(e){e.exit("gfmFootnoteDefinition")}var I=r(8300),_=r(3886),R=r(3879);function B(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const c=(0,_.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const u=e.exit("strikethroughSequenceTemporary"),l=(0,_.r)(i);return u._open=!l||2===l&&Boolean(c),u._close=!c||2===c&&Boolean(l),r(i)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},i={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",i,t]];(0,I.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,I.d)(a,a.length,0,[["exit",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,t]]),(0,I.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,c=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return u(t);return c++,e.enter("temporaryTableCellContent"),h(t)};function u(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const o=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=o,r(e)}))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,c++),124===t?u(t):(e.enter("temporaryTableCellContent"),h(t)))}function f(t){return(0,o.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function h(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?p:h)}function p(t){return 92===t||124===t?(e.consume(t),h):h(t)}function d(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,i.push("none"),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,o.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&c===i.length?null===t?E(t):e.check(N,E,e.attempt({tokenize:O,partial:!0},(0,A.factorySpace)(e,w,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function w(t){return e.enter("tableBody"),x(t)}function x(t){return e.enter("tableRow"),124===t?S(t):(e.enter("temporaryTableCellContent"),C(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),k}function k(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(N,P,e.attempt({tokenize:O,partial:!0},(0,A.factorySpace)(e,x,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),D):124===t?S(t):(e.enter("temporaryTableCellContent"),C(t))}function D(t){return(0,o.markdownSpace)(t)?(e.consume(t),D):(e.exit("whitespace"),k(t))}function C(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),k(t)):(e.consume(t),92===t?F:C)}function F(t){return 92===t||124===t?(e.consume(t),C):C(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,A.factorySpace)(e,i,"linePrefix")};function i(i){if(n.parser.lazy[n.now().line]||null===i||(0,o.markdownLineEnding)(i))return r(i);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(i):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let r,n,o,i,a,s,c,u=-1;for(;++u<e.length;){const l=e[u][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||u,a=u),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(i,a-i+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),u-=a-i-3,i=void 0,a=void 0}if("exit"===e[u][0]&&void 0!==s&&s+(c?0:1)<u&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<u||"whitespace"!==e[s][1].type))){const o={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[u][1].end};e.splice(u+("tableCellDivider"===l.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),u+=2,s=u+1,c=!0}"tableRow"===l.type&&(o="enter"===e[u][0],o&&(s=u+1,c=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[u][0],n&&(s=u+1,c=!1)),"tableHead"===l.type&&(r="enter"===e[u][0])}return e}}}},N={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:i):null===a||(0,o.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const M={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:z},t,r)):r(n)}}},H={text:{91:M}};function z(e,t,r){const n=this;return(0,A.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return(i&&"whitespace"===i[1].type||(0,o.markdownLineEnding)(e))&&null!==e?t(e):r(e)}),"whitespace")}function U(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;-1!==o;)n++,o=r.indexOf(t,o+t.length);return n}var $=r(7918),q=r(213);const V={}.hasOwnProperty,G=function(e,t,r,n){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,r]],o=n):(i=t,o=r),o||(o={});const a=(0,q.convert)(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)V.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(i);let c=-1;for(;++c<s.length;)(0,$.S4)(e,"text",u);return e;function u(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=s[c][0],o=s[c][1];let i=0;const a=r.children.indexOf(e);let u,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){u=f.index;const r={index:f.index,input:f.input,stack:[...t,e]};let a=o(...f,r);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?u=void 0:(i!==u&&l.push({type:"text",value:e.value.slice(i,u)}),Array.isArray(a)?l.push(...a):a&&l.push(a),i=u+f[0].length),!n.global)break;f=n.exec(e.value)}void 0===u?l=[e]:(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l));return a+l.length}(e,t)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Z=["autolink","link","image","label"],Y={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Z},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Z},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Z}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,o){let i="";if(!re(o))return!1;if(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let r,n,o,i;if(t)for(e=e.slice(0,t.index),i=t[0],r=i.indexOf(")"),n=U(e,"("),o=U(e,")");-1!==r&&n>o;)e+=i.slice(0,r+1),i=i.slice(r+1),r=i.indexOf(")"),o++;return[e,i]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[_-\d]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.unicodeWhitespace)(r)||(0,o.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(2116);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(5471),ae=r(4671),se=r(3316),ce=r(2343);function ue(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,r,n){const o=(0,ce.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move((0,se.T)(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move((0,ae.Q)((0,ie.K)(e,r,o.current()),(function(e,t,r){if(t)return(r?"":" ")+e;return e}))),a(),i},footnoteReference:e}};function e(e,t,r,n){const o=(0,ce.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move((0,se.T)(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}}var le=r(7567);const fe={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},he={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:pe}};function pe(e,t,r,n){const o=(0,ce.j)(n),i=r.enter("emphasis");let a=o.move("~~");return a+=(0,le.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}pe.peek=function(){return"~"};var de=r(7866);function me(e,t,r){let n=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const e=r.unsafe[i],t=(0,de.T)(e);let o;if(e.atBreak)for(;o=t.exec(n);){let e=o.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(o.index+1)}}return o+n+o}function ge(e){return null==e?"":String(e)}function ye(e){return e.length}function ve(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}me.peek=function(){return"`"};const be={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:we,tableHeader:we,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,xe));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Ee,tableHeader:Ee,tableRow:Ee}};function Ee(e){this.exit(e)}function we(e){this.enter({type:"tableCell",children:[]},e)}function xe(e,t){return"|"===t?t:e}function Se(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<n.length;)i[o]=c(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([c(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=me(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r,n){const o=r.enter("tableCell"),a=r.enter("phrasing"),s=(0,le.p)(e,r,{...n,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||ye,o=[],i=[],a=[],s=[];let c=0,u=-1;for(;++u<e.length;){const r=[],o=[];let l=-1;for(e[u].length>c&&(c=e[u].length);++l<e[u].length;){const i=ge(e[u][l]);if(!1!==t.alignDelimiters){const e=n(i);o[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}r.push(i)}i[u]=r,a[u]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<c;)o[l]=ve(r[l]);else{const e=ve(r);for(;++l<c;)o[l]=e}l=-1;const f=[],h=[];for(;++l<c;){const e=o[l];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[l]-r.length-n.length);const a=r+"-".repeat(i)+n;!1!==t.alignDelimiters&&(i=r.length+i+n.length,i>s[l]&&(s[l]=i),h[l]=i),f[l]=a}i.splice(1,0,f),a.splice(1,0,h),u=-1;const p=[];for(;++u<i.length;){const e=i[u],r=a[u];l=-1;const n=[];for(;++l<c;){const i=e[l]||"";let a="",u="";if(!1!==t.alignDelimiters){const e=s[l]-(r[l]||0),t=o[l];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),u=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),u=a):u=" ".repeat(e)}!1===t.delimiterStart||l||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!l||n.push(" "),!1!==t.alignDelimiters&&n.push(a),n.push(i),!1!==t.alignDelimiters&&n.push(u),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===c-1||n.push("|")}p.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:o})}function c(e,t,r){const n=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<n.length;)i[o]=a(n[o],0,t,r);return s(),i}}function Ae(e,t,r,n){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=(0,ce.j)(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const c=r.enter("listItem"),u=(0,ae.Q)((0,ie.K)(e,r,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return c(),u}const ke={exit:{taskListCheckValueChecked:Ce,taskListCheckValueUnchecked:Ce,paragraph:function(e){const t=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],n=t.children,o=r.children[0];let i,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&o&&"text"===o.type){for(;++a<n.length;){const e=n[a];if("paragraph"===e.type){i=e;break}}i===r&&(o.value=o.value.slice(1),0===o.value.length?r.children.shift():r.position&&o.position&&"number"==typeof o.position.start.offset&&(o.position.start.column++,o.position.start.offset++,r.position.start=Object.assign({},o.position.start)))}this.exit(e)}}},De={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r,n){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=(0,ce.j)(n);i&&s.move(a);let c=Ae(e,t,r,{...n,...s.current()});i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return c}}};function Ce(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Fe(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:T},exit:j}},text:{91:{tokenize:P},93:{add:"after",tokenize:C,resolveTo:F}}},B(e),L,H])}(e)),r("fromMarkdownExtensions",[Y,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,k.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,k.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}}},fe,be,ke]),r("toMarkdownExtensions",function(e){return{extensions:[X,ue(),he,Se(e),De]}}(e))}},7265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>le});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Z,contentInitial:()=>q,disable:()=>Y,document:()=>$,flow:()=>G,flowInitial:()=>V,insideSpan:()=>K,string:()=>W,text:()=>Q});var o=r(8717),i=r(4666),a=r(4014),s=r(488);const c={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),o)}}};var u=r(8300);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return c;function c(n){if(a<r.length){const o=r[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,h)(n)}return h(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&w();const r=t.events.length;let o,i=r;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return(0,u.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,h(e)}return c(e)}function h(o){if(a===r.length){if(!n)return m(o);if(n.currentConstruct&&n.currentConstruct.concrete)return y(o);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,p,d)(o)}function p(e){return n&&w(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,i=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&w(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,c):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=o,o&&(o.next=e),o=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<i&&(!n.events[e][1].end||n.events[e][1].end.offset>i))return;const r=t.events.length;let o,s,c=r;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(o){s=t.events[c][1].end;break}o=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,u.d)(t.events,c+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function w(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var h=r(2929),p=r(6814);const d={tokenize:function(e){const t=this,r=e.attempt(h.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(p.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],o=t.attempt(n,i,a);return i;function i(e){return c(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return c(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function c(e){if(null===e)return!0;const t=n[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,o=-1;for(;++o<=t.length;)void 0===n?t[o]&&"data"===t[o][1].type&&(n=o,o++):t[o]&&"data"===t[o][1].type||(o!==n+2&&(t[n][1].end=t[o-1][1].end,t.splice(n+2,o-n-2),o=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],o=t.sliceStream(n);let i,a=o.length,s=-1,c=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)c++,s--;if(s)break;s=-1}else if(-2===e)i=!0,c++;else if(-1!==e){a++;break}}if(c){const o={type:r===e.length||i||c<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-c,offset:n.end.offset-c,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}var w=r(3879);function x(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],c=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,S()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));h.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),h.events.push(["enter",r,h]),c.push(r),r},exit:function(e){const t=c.pop();return t.end=g(),h.events.push(["exit",t,h]),t},attempt:E((function(e,t){x(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const i=e[r];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){o[e.line]=e.column,S()},write:function(e){if(a=(0,u.V)(a,e),y(),null!==a[a.length-1])return[];return x(t,0),h.events=(0,w.C)(i,h.events,h),h.events}};let p,d=t.tokenize.call(h,f);return t.resolveAll&&i.push(t),h;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;r===o?a=[e[r].slice(n,i)]:(a=e.slice(r,o),n>-1&&(a[0]=a[0].slice(n)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,p=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,o,i){let a,s,u,p;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?i:m(e[s])}function m(e){return function(r){p=function(){const e=g(),t=h.previous,r=h.currentConstruct,o=h.events.length,i=Array.from(c);return{restore:a,from:o};function a(){n=e,h.previous=t,h.currentConstruct=r,h.events.length=o,c=i,S()}}(),u=e,e.partial||(h.currentConstruct=e);if(e.name&&h.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(h),t):h,f,y,v)(r)}}function y(t){return l=!0,e(u,p),o}function v(e){return l=!0,p.restore(),++s<a.length?m(a[s]):i}}}function x(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,u.d)(h.events,t,h.events.length-t,e.resolve(h.events.slice(t),h)),e.resolveTo&&(h.events=e.resolveTo(h.events,h))}function S(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var S=r(4618),A=r(7207),k=r(4882),D=r(2535),C=r(5528),F=r(8038),P=r(6263),O=r(5198),T=r(4897),j=r(2810),I=r(1687),_=r(890),R=r(5365),B=r(8415),L=r(7444),N=r(5890),M=r(5856),H=r(6100),z=r(8966),U=r(5180);const $={42:S.p,43:S.p,45:S.p,48:S.p,49:S.p,50:S.p,51:S.p,52:S.p,53:S.p,54:S.p,55:S.p,56:S.p,57:S.p,62:A.m},q={91:k.D},V={[-2]:D.S,[-1]:D.S,32:D.S},G={35:C.Z,42:F.C,45:[P.C,F.C],60:O.P,61:P.C,95:F.C,96:T._,126:T._},W={38:j.u,92:I.L},Q={[-5]:_.g,[-4]:_.g,[-3]:_.g,33:R.C,38:j.u,42:B.v,60:[L.j,N.L],91:M.F,92:[H.R,I.L],93:z.Z,95:B.v,96:U.h},K={null:[B.v,m]},Z={null:[42,95]},Y={null:[]};const X=/[\0\t\n\r]/g;var J=r(2988);var ee=r(8031),te=r(2116),re=r(2493),ne=r(9477),oe=r(1513);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e={}){const t=se({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(he),autolinkProtocol:P,autolinkEmail:P,atxHeading:u(ae),blockQuote:u(K),characterEscape:P,characterReference:P,codeFenced:u(Z),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(Z,l),codeText:u(Y,l),codeTextData:P,data:P,codeFlowValue:P,definition:u(X),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(J),hardBreakEscape:u(ce),hardBreakTrailing:u(ce),htmlFlow:u(le,l),htmlFlowData:P,htmlText:u(le,l),htmlTextData:P,image:u(fe),label:l,link:u(he),listItem:u(de),listItemValue:g,listOrdered:u(pe,m),listUnordered:u(pe),paragraph:u(me),reference:$,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(ae),strong:u(ge),thematicBreak:u(ve)},exit:{atxHeading:h(),atxHeadingSequence:k,autolink:h(),autolinkEmail:Q,autolinkProtocol:W,blockQuote:h(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:G,codeFenced:h(E),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:v,codeFlowValue:O,codeIndented:h(w),codeText:h(R),codeTextData:O,data:O,definition:h(),definitionDestinationString:A,definitionLabelString:x,definitionTitleString:S,emphasis:h(),hardBreakEscape:h(j),hardBreakTrailing:h(j),htmlFlow:h(I),htmlFlowData:O,htmlText:h(_),htmlTextData:O,image:h(L),label:M,labelText:N,lineEnding:T,link:h(B),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:q,resourceDestinationString:H,resourceTitleString:z,resource:U,setextHeading:h(F),setextHeadingLineSequence:C,setextHeadingText:D,strong:h(),thematicBreak:h()}},e.mdastExtensions||[]),r={};return n;function n(e){let r={type:"root",children:[]};const n=[],o=[],u={stack:[r],tokenStack:n,config:t,enter:f,exit:p,buffer:l,resume:d,setData:a,getData:s};let h=-1;for(;++h<e.length;)if("listOrdered"===e[h][1].type||"listUnordered"===e[h][1].type)if("enter"===e[h][0])o.push(h);else{h=i(e,o.pop(),h)}for(h=-1;++h<e.length;){const r=t[e[h][0]];ie.call(r,e[h][1].type)&&r[e[h][1].type].call(Object.assign({sliceSerialize:e[h][2].sliceSerialize},u),e[h][1])}if(n.length>0){const e=n[n.length-1];(e[1]||ue).call(u,void 0,e[0])}for(r.position={start:c(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:c(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)r=t.transforms[h](r)||r;return r}function i(e,t,r){let n,o,i,a,s=t-1,c=-1,u=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?c++:c--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||c||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(n._spread=!0),n.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,i=void 0,a=!0)}}return e[t][1]._spread=u,r}function a(e,t){r[e]=t}function s(e){return r[e]}function c(e){return{line:e.line,column:e.column,offset:e.offset}}function u(e,t){return r;function r(r){f.call(this,e(r),r),t&&t.call(this,r)}}function l(){this.stack.push({type:"fragment",children:[]})}function f(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:c(t.start)},e}function h(e){return t;function t(t){e&&e.call(this,t),p.call(this,t)}}function p(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||ue).call(this,e,n[0])}return r.position.end=c(e.end),r}function d(){return(0,o.B)(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function g(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function y(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function v(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function S(){const e=this.resume();this.stack[this.stack.length-1].title=e}function A(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function D(){a("setextHeadingSlurpLineEnding",!0)}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function F(){a("setextHeadingSlurpLineEnding")}function P(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:c(e.start)},t.children.push(r)),this.stack.push(r)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=c(e.end)}function T(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=c(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(P.call(this,e),O.call(this,e))}function j(){a("atHardBreak",!0)}function I(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function B(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function L(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function N(e){const t=this.stack[this.stack.length-2],r=this.sliceSerialize(e);t.label=(0,te.v)(r),t.identifier=(0,re.normalizeIdentifier)(r).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];a("inReference",!0),"link"===r.type?r.children=e.children:r.alt=t}function H(){const e=this.resume();this.stack[this.stack.length-1].url=e}function z(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){a("inReference")}function $(){a("referenceType","collapsed")}function q(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function V(e){a("characterReferenceType",e.type)}function G(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;r?(n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):n=(0,ne.T)(t);const o=this.stack.pop();o.value+=n,o.position.end=c(e.end)}function W(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){O.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[]}}function Z(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function X(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function ae(){return{type:"heading",depth:void 0,children:[]}}function ce(){return{type:"break"}}function le(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function he(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.W)([n].concat(e.extensions||[])),content:r(c),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return x(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let c,u,l,f,h;for(o=r+o.toString(i),l=0,r="",n&&(65279===o.charCodeAt(0)&&l++,n=void 0);l<o.length;){if(X.lastIndex=l,c=X.exec(o),f=c&&void 0!==c.index?c.index:o.length,h=o.charCodeAt(f),!c){r=o.slice(l);break}if(10===h&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(o.slice(l,f)),t+=f-l),h){case 0:s.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),s.push(-2);t++<u;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?se(e,n):ce(e,n)}return e}function ce(e,t){let r;for(r in t)if(ie.call(t,r)){const n="canContainEols"===r||"transforms"===r,o=(ie.call(e,r)?e[r]:void 0)||(e[r]=n?[]:{}),i=t[r];i&&(n?e[r]=[...o,...i]:Object.assign(o,i))}}function ue(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is still open")}const le=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},3085:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var o=r(8809),i=r(229);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function o(i,...a){const s=e[++r];let c=-1;if(i)n(i);else{for(;++c<t.length;)null!==a[c]&&void 0!==a[c]||(a[c]=t[c]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(o);try{a=e.apply(this,t)}catch(e){const t=e;if(n&&r)throw t;return o(t)}n||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...n){r||(r=!0,t(e,...n))}function i(e){o(null,e)}}(s,o)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var c=r(1513);class u extends Error{constructor(e,t,r){const n=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,c.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.source=n[0],this.ruleId=n[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}}u.prototype.file="",u.prototype.name="",u.prototype.reason="",u.prototype.message="",u.prototype.stack="",u.prototype.fatal=null,u.prototype.column=null,u.prototype.line=null,u.prototype.source=null,u.prototype.ruleId=null,u.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));n===o?o=a:o<0&&(o=e.length);return e.slice(n,o)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,o=0,i=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=r+1;break}}if(i<0||n<0||0===a||1===a&&i===n-1&&i===o+1)return"";return e.slice(i,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,o="",i=0,a=-1,s=0,c=-1;for(;++c<=e.length;){if(c<e.length)r=e.charCodeAt(c);else{if(47===r)break;r=47}if(47===r){if(a===c-1||1===s);else if(a!==c-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(n=o.lastIndexOf("/"),n!==o.length-1){n<0?(o="",i=0):(o=o.slice(0,n),i=o.length-1-o.lastIndexOf("/")),a=c,s=0;continue}}else if(o.length>0){o="",i=0,a=c,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,c):o=e.slice(a+1,c),i=c-a-1;a=c,s=0}else 46===r&&s>-1?s++:s=-1}return o}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function p(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!p(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||o(e)?{value:e}:p(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){p(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const n=new u(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let c,u={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(k("data",c),u[e]=t,f):w.call(u,e)&&u[e]||null;if(e)return k("data",c),u=e,f;return u},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(c)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return c=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(k("use",c),null==e);else if("function"==typeof e)h(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(u.settings=Object.assign(u.settings||{},n));return f;function o(e){if("function"==typeof e)h(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;h(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function h(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(a(n[1])&&a(t)&&(t=i(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=F(e),r=f.Parser;if(S("parse",r),x(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=F(t),n=f.Compiler;if(A("stringify",n),D(e),x(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){D(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(o);function o(o,i){function a(t,r,a){r=r||e,t?i(t):o?o(r):n(null,r,a)}t.run(e,F(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),C("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),S("process",f.Parser),A("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=F(e);function a(e,o){e||!o?n(e):r?r(o):t(null,o)}f.run(f.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||o(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),S("processSync",f.Parser),A("processSync",f.Compiler);const r=F(e);return f.process(r,o),C("processSync","process",t),r;function o(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(i(!0,{},u)),t}}().freeze(),w={}.hasOwnProperty;function x(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(w.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function S(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function A(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function k(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function C(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function F(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>o,is:()=>n});const n=function e(t,r,n,i,a){const s=o(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==i||e(i)&&i.children))throw new Error("Expected parent node");if(null==i!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,i))},o=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return i(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=o(e[r]);return i(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return i(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(...t){return Boolean(e.call(this,...t))}}function a(){return!0}},907:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>N,select:()=>M,selectAll:()=>H});var n={}.hasOwnProperty;function o(e,t){var r=t||{};function o(t){var r=o.invalid,i=o.handlers;if(t&&n.call(t,e)&&(r=n.call(i,t[e])?i[t[e]]:o.unknown),r)return r.apply(this,arguments)}return o.handlers=r.handlers||{},o.invalid=r.invalid,o.unknown=r.unknown,o}function i(e){return Array.isArray(e.children)}const a={}.hasOwnProperty,s=o("nestingOperator",{unknown:function(e){throw new Error("Unexpected nesting `"+e.nestingOperator+"`")},invalid:function(e,t,r,n,o){if(n)throw new Error("topScan is supposed to be called from the root node");if(!o.iterator)throw new Error("Expected `iterator` to be defined");if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");o.iterator(e,t,r,n,o),o.shallow||c(e,t,r,n,o)},handlers:{null:c,">":u,"+":function(e,t,r,n,o){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,o).prefillTypeIndex(0,++r).each(r,++r).prefillTypeIndex(r).done()},"~":function(e,t,r,n,o){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,o).prefillTypeIndex(0,++r).each(r).done()}}});function c(e,t,r,n,o){if(!o.iterator)throw new Error("Expected `iterator` to be defined");const i=o.iterator;o.iterator=function e(t,r,n,o,a){if(a.iterator=i,i(t,r,n,o,a),a.iterator=e,a.one&&a.found)return;u(t,r,n,o,a)},u(e,t,r,n,o)}function u(e,t,r,n,o){i(t)&&0!==t.children.length&&new l(e,t,o).each().done()}class l{constructor(e,t,r){this.query=e,this.parent=t,this.state=r,this.typeIndex=r.index?new f:void 0,this.delayed=[]}prefillTypeIndex(e,t){let[r,n]=this.defaults(e,t);if(this.typeIndex)for(;r<n;)this.typeIndex.index(this.parent.children[r]),r++;return this}each(e,t){const[r,n]=this.defaults(e,t),o=this.parent.children[r];let i,a;if(r>=n)return this;if(this.typeIndex)a=this.typeIndex.nodes,i=this.typeIndex.index(o),this.delayed.push((function(){if(!this.typeIndex)throw new TypeError("Expected `typeIndex` to be defined");if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.typeIndex=i,this.state.nodeIndex=a,this.state.typeCount=this.typeIndex.count(o),this.state.nodeCount=this.typeIndex.nodes,this.state.iterator(this.query,o,r,this.parent,this.state)}));else{if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.iterator(this.query,o,r,this.parent,this.state)}return this.state.one&&this.state.found?this:this.each(r+1,n)}done(){let e=-1;for(;++e<this.delayed.length&&(this.delayed[e].call(this),!this.state.one||!this.state.found););return this}defaults(e,t){return(null==e||e<0)&&(e=0),(null==t||t>this.parent.children.length)&&(t=this.parent.children.length),[e,t]}}class f{constructor(){this.counts={},this.nodes=0}index(e){const t=e.type;return this.nodes++,a.call(this.counts,t)||(this.counts[t]=0),this.counts[t]++}count(e){return this.counts[e.type]}}const h=(0,r(213).convert)(),p=o("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:m,blank:g,empty:g,"first-child":function(e,t,r,n,o){return y(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return y(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=o.shallow,a=o.one,s=o.scopeNodes,c=function(e){const t="ruleSet"===e.type?{type:"selectors",selectors:[e]}:e;let r,n=-1;for(;++n<t.selectors.length;)r=t.selectors[n].rule,r.nestingOperator=null,r.pseudos&&1===r.pseudos.length&&"scope"===r.pseudos[0].name||(t.selectors[n]={type:"ruleSet",rule:{type:"rule",rule:r,pseudos:[{name:"scope"}]}});return t}(e.value),u=o.any;o.shallow=!1,o.one=!0,o.scopeNodes=[t];const l=Boolean(u(c,t,o)[0]);return o.shallow=i,o.one=a,o.scopeNodes=s,l},"last-child":function(e,t,r,n,o){return y(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return y(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},matches:m,not:function(e,t,r,n,o){return!m(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){return y(o,e),"number"==typeof o.nodeIndex&&e.value(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){return y(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&e.value(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){return y(o,e),"number"==typeof o.typeIndex&&e.value(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){return y(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&e.value(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return y(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return y(o,e),1===o.typeCount},root:function(e,t,r,n){return h(t)&&!n},scope:function(e,t,r,n,o){return h(t)&&void 0!==o.scopeNodes&&o.scopeNodes.includes(t)}}});function d(e,t,r,n,o){const i=e.pseudos;let a=-1;for(;++a<i.length;)if(!p(i[a],t,r,n,o))return!1;return!0}function m(e,t,r,n,o){const i=o.shallow,a=o.one;o.one=!0,o.shallow=!0;const s=o.any(e.value,t,o)[0]===t;return o.shallow=i,o.one=a,s}function g(e,t){return i(t)?0===t.children.length:!("value"in t)}function y(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}d.needsIndex=["first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const v=o("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:b,handlers:{"=":function(e,t){return b(e,t)&&String(t[e.name])===e.value},"^=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(0,e.value.length)===e.value},"$=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(-e.value.length)===e.value},"*=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.includes(e.value)},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;if(Array.isArray(r)&&r.includes(e.value))return!0;return String(r)===e.value}}});function b(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function E(e,t,r,n,o){if(e.id)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");return Boolean(t&&(!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.type}(e,t))&&(!e.attrs||function(e,t){let r=-1;for(;++r<e.attrs.length;)if(!v(e.attrs[r],t))return!1;return!0}(e,t))&&(!e.pseudos||d(e,t,r,n,o)))}const w=o("type",{unknown:function(e){throw new Error("Unknown type `"+e.type+"`")},invalid:function(){throw new Error("Invalid type")},handlers:{selectors:function(e,t,r){const n=D(r.one);let o=-1;for(;++o<e.selectors.length;)n(S(e.selectors[o],t,r));return n.result},ruleSet:S,rule:A}});function x(e,t,r){return e&&t?w(e,t,r):[]}function S(e,t,r){return A(e.rule,t,r)}function A(e,t,r){const n=D(r.one);if(r.shallow&&e.rule)throw new Error("Expected selector without nesting");var o;return s(e,t,0,null,k(e,{scopeNodes:(o=t,"RootNode"===o.type||"root"===o.type?t.children:[t]),index:!1,iterator:function(e,t,r,o,i){E(e,t,r,o,i)&&(e.rule?s(e.rule,t,r,o,k(e.rule,i)):(n(t),i.found=!0))},one:r.one,shallow:r.shallow,any:r.any})),n.result}function k(e,t){const r=e.pseudos||[];let n=-1;for(;++n<r.length;)if(d.needsIndex.includes(r[n].name)){t.index=!0;break}return t}function D(e){const t=[];let r;return n.result=t,n;function n(e){let t=-1;if("length"in e)for(;++t<e.length;)o(e[t]);else o(e)}function o(n){if(e){if(r)throw new Error("Cannot collect multiple nodes");r=!0}t.includes(n)||t.push(n)}}var C=r(301);const F=new Set([9,10,12,13,32]),P="0".charCodeAt(0),O="9".charCodeAt(0);var T=r(9377);const j=function(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return T.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?T.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),s(),t<e.length?(n=i(),s(),o=a()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=P&&e.charCodeAt(t)<=O;)n=10*n+(e.charCodeAt(t)-P),t++;return t===r?null:n}function s(){for(;t<e.length&&F.has(e.charCodeAt(t));)t++}}(e))}.default,I=new Set(["nth-child","nth-last-child","nth-of-type","nth-last-of-type"]),_=new C.N;_.registerAttrEqualityMods("~","^","$","*"),_.registerSelectorPseudos("any","matches","not","has"),_.registerNestingOperators(">","+","~");const R=o("type",{handlers:{selectors:function(e){const t=e.selectors;let r=-1;for(;++r<t.length;)R(t[r]);return e},ruleSet:function(e){return L(e.rule)},rule:L}});function B(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return R(_.parse(e))}function L(e){const t=e.pseudos||[];let r,n=-1;for(;++n<t.length;)r=t[n],I.has(r.name)&&(r.value=j(r.value),r.valueType="function");return R(e.rule),e}function N(e,t){return Boolean(x(B(e),t,{one:!0,shallow:!0,any:x})[0])}function M(e,t){return x(B(e),t,{one:!0,any:x})[0]||null}function H(e,t){return x(B(e),t,{any:x})}},1513:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?o(e):"":""}function o(e){return a(e&&e.line)+":"+a(e&&e.column)}function i(e){return o(e&&e.start)+"-"+o(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}r.d(t,{y:()=>n})},7918:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>a,AM:()=>i,S4:()=>s});var n=r(213);const o=!0,i="skip",a=!1,s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const c=(0,n.convert)(t),u=s?-1:1;!function e(n,l,f){const h="object"==typeof n&&null!==n?n:{};let p;"string"==typeof h.type&&(p="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0,Object.defineProperty(d,"name",{value:"node ("+h.type+(p?"<"+p+">":"")+")"}));return d;function d(){let h,p,d,m=[];if((!t||c(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[o,e];return[e]}(r(n,f)),m[0]===a))return m;if(n.children&&m[0]!==i)for(p=(s?n.children.length:-1)+u,d=f.concat(n);p>-1&&p<n.children.length;){if(h=e(n.children[p],p,d)(),h[0]===a)return h;p="number"==typeof h[1]?h[1]:p+u}return m}}(e,null,[])()}},3428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o});var n=r(7918);const o=function(e,t,r,o){"function"==typeof t&&"function"!=typeof r&&(o=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o)}},3633:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},4222:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9354:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,loaded:!1,exports:{}};return a[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=a,c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);c.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,c.d(o,i),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>e+"-"+{7:"7d6f45",267:"b5c5b0",363:"a6af82",812:"edff19"}[e]+".js",c.miniCssF=e=>e+".css",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",c.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var a,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){a=f;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-webpack",n+o),a.src=e),r[e]=[t];var h=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),s&&document.head.appendChild(a)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;c.g.importScripts&&(e=c.g.location+"");var t=c.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e})(),o=e=>new Promise(((t,r)=>{var n=c.miniCssF(e),o=c.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=i=>{if(o.onerror=o.onload=null,"load"===i.type)r();else{var a=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=s,o.parentNode.removeChild(o),n(c)}},o.href=t,document.head.appendChild(o)})(e,o,t,r)})),i={826:0},c.f.miniCss=(e,t)=>{i[e]?t.push(i[e]):0!==i[e]&&{363:1}[e]&&t.push(i[e]=o(e).then((()=>{i[e]=0}),(t=>{throw delete i[e],t})))},(()=>{var e={826:0};c.f.j=(t,r)=>{var n=c.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=c.p+c.u(t),a=new Error;c.l(i,(r=>{if(c.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,s]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in a)c.o(a,n)&&(c.m[n]=a[n]);if(s)s(c)}for(t&&t(r);u<i.length;u++)o=i[u],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var u={};(()=>{"use strict";c.r(u),c.d(u,{Anchor:()=>ce,Article:()=>ge,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>Ae,Catalog:()=>Se,CatalogItems:()=>Ee,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>ie,Logo:()=>oe,Markdown:()=>de,Model:()=>t.Hn,Plugin:()=>t.Sy,PoweredBy:()=>ne,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ToFirstArticle:()=>ke,VERSION:()=>t.q4,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>J,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>A,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>$,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useAsyncFetchMore:()=>t.r3,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>N,useHotkeys:()=>t.y1,useInPreview:()=>re,useIntl:()=>t.cw,useLockBodyScroll:()=>te,useLogo:()=>Q,useModel:()=>t.tT,useNextArticle:()=>q,useOptions:()=>t.D2,usePrevArticle:()=>V,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>z,useWindowSize:()=>ee.Z,windowSizes:()=>ee.D});var e={};c.r(e),c.d(e,{book:()=>D,page:()=>F,search:()=>O}),Date.prototype.format=function(e){const t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(const r in t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e};var t=c(8924),r=c(4246),n=c(1533),o=c.n(n),i=c(8907);t.$B.prototype[i.sc]=!0;var a,s=c(7363),l=c.n(s),f=c(4649),h=c(5773);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));var p=function(e){return e};var d="beforeunload",m="popstate";function g(e,t,r){return Math.min(Math.max(e,t),r)}function y(e){e.preventDefault(),e.returnValue=""}function v(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function b(){return Math.random().toString(36).substr(2,8)}function E(e){var t=e.pathname,r=void 0===t?"/":t,n=e.search,o=void 0===n?"":n,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(r+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function w(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}const x="undefined"!=typeof window&&window.history&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol;class S{constructor(){(0,f.Z)(this,"history",void 0),this.history=x?function(e){void 0===e&&(e={});var t=e.window,r=void 0===t?document.defaultView:t,n=r.history;function o(){var e=r.location,t=e.pathname,o=e.search,i=e.hash,a=n.state||{};return[a.idx,p({pathname:t,search:o,hash:i,state:a.usr||null,key:a.key||"default"})]}var i=null;r.addEventListener(m,(function(){if(i)g.call(i),i=null;else{var e=a.Pop,t=o(),r=t[0],n=t[1];if(g.length){if(null!=r){var s=u-r;s&&(i={action:e,location:n,retry:function(){C(-1*s)}},C(s))}}else D(e)}}));var s=a.Pop,c=o(),u=c[0],l=c[1],f=v(),g=v();function x(e){return"string"==typeof e?e:E(e)}function S(e,t){return void 0===t&&(t=null),p((0,h.Z)({pathname:l.pathname,hash:"",search:""},"string"==typeof e?w(e):e,{state:t,key:b()}))}function A(e,t){return[{usr:e.state,key:e.key,idx:t},x(e)]}function k(e,t,r){return!g.length||(g.call({action:e,location:t,retry:r}),!1)}function D(e){s=e;var t=o();u=t[0],l=t[1],f.call({action:s,location:l})}function C(e){n.go(e)}return null==u&&(u=0,n.replaceState((0,h.Z)({},n.state,{idx:u}),"")),{get action(){return s},get location(){return l},createHref:x,push:function e(t,o){var i=a.Push,s=S(t,o);if(k(i,s,(function(){e(t,o)}))){var c=A(s,u+1),l=c[0],f=c[1];try{n.pushState(l,"",f)}catch(e){r.location.assign(f)}D(i)}},replace:function e(t,r){var o=a.Replace,i=S(t,r);if(k(o,i,(function(){e(t,r)}))){var s=A(i,u),c=s[0],l=s[1];n.replaceState(c,"",l),D(o)}},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(e){return f.push(e)},block:function(e){var t=g.push(e);return 1===g.length&&r.addEventListener(d,y),function(){t(),g.length||r.removeEventListener(d,y)}}}}():function(e){void 0===e&&(e={});var t=e,r=t.initialEntries,n=void 0===r?["/"]:r,o=t.initialIndex,i=n.map((function(e){return p((0,h.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},"string"==typeof e?w(e):e))})),s=g(null==o?i.length-1:o,0,i.length-1),c=a.Pop,u=i[s],l=v(),f=v();function d(e,t){return void 0===t&&(t=null),p((0,h.Z)({pathname:u.pathname,search:"",hash:""},"string"==typeof e?w(e):e,{state:t,key:b()}))}function m(e,t,r){return!f.length||(f.call({action:e,location:t,retry:r}),!1)}function y(e,t){c=e,u=t,l.call({action:c,location:u})}function x(e){var t=g(s+e,0,i.length-1),r=a.Pop,n=i[t];m(r,n,(function(){x(e)}))&&(s=t,y(r,n))}return{get index(){return s},get action(){return c},get location(){return u},createHref:function(e){return"string"==typeof e?e:E(e)},push:function e(t,r){var n=a.Push,o=d(t,r);m(n,o,(function(){e(t,r)}))&&(s+=1,i.splice(s,i.length,o),y(n,o))},replace:function e(t,r){var n=a.Replace,o=d(t,r);m(n,o,(function(){e(t,r)}))&&(i[s]=o,y(n,o))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(e){return l.push(e)},block:function(e){return f.push(e)}}}({initialEntries:[window.location]})}get location(){const e=this.history.location;return{...e,toString:()=>E(e)}}listen(e){this.history.listen(e)}replace(e){return this.history.replace(e)}push(e){return this.history.push(e)}}let A;class k extends t.Hn{}const D=new k;class C extends t.Hn{constructor(){super(...arguments),(0,f.Z)(this,"initialState",{loading:!1,request:t.WY.create(),config:{}})}subscription(e){let{fetch:t}=e,r=A.location;A.listen((async e=>{let{location:n}=e;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((()=>{window.scrollTo(0,0)}))),r=n}))}async*fetch(e){yield this.setState((e=>{e.loading=!0}));const{request:r,config:n}=yield*this.getState("page");try{const o=decodeURI(e);let{data:i}=await r.get(o,n);"string"==typeof i&&(i=(0,t.He)(i));const{file:a,lfs:s}=i;yield this.setState((e=>{e.file=new t.$B(a),e.lfs=s}))}catch(e){yield this.setState((t=>{t.error=e}))}finally{yield this.setState((e=>{e.loading=!1}))}}*intercept(e){const{request:t}=yield*this.getState("page");e(t.interceptors)}*updateConfig(e){yield this.setState((t=>{e(t.config)}))}}const F=new C;class P extends t.Hn{constructor(){super(...arguments),(0,f.Z)(this,"initialState",{status:"idle",results:[],query:""})}async*fetch(e){if(e=e.trim()){yield this.setState((t=>{t.query=e,t.status="loading"}));let{handler:t}=yield*this.getState("search");if(!t){const{summary:r}=yield*this.getState("book");t=()=>{const t=[];return r.getArticle((r=>{const n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1})),t}}try{const r=await t(e);yield this.setState((e=>{e.results=r,e.status="idle"}))}catch{yield this.setState((e=>{e.results=[],e.status="error"}))}}else yield this.setState((t=>{t.query=e,t.status="idle",t.results=[]}))}*setHandler(e){yield this.setState((t=>{t.handler=e}))}}const O=new P;var T,j,I=c(8891),_=c(669);function R(){return(0,r.jsx)(L,{children:(0,r.jsx)(B,{})})}const B=t.zo.div(T||(T=(0,_.Z)(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid #3c60ff;\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"]))),L=t.zo.div(j||(j=(0,_.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));function N(){const{file:e}=(0,t.v9)("page");return e}const M=(0,s.createContext)(void 0);function H(e){let{children:n}=e;const o=N(),{result:i,loading:a}=(0,t.r5)((async()=>{const{data:e}=await(0,t.WY)(o.relative(t.fy.style));return e}),[]);return a?null:(0,r.jsx)(M.Provider,{value:i,children:n})}function z(){const e=(0,t.cw)(),{config:r}=(0,t.CQ)();return r.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}const U=(0,s.createContext)(void 0);function $(){return(0,s.useContext)(U)}function q(){const{summary:e}=(0,t.CQ)(),r=$();if(r)return(0,s.useMemo)((()=>{const t=r.getLevel();let n=!1;return e.getArticle((e=>n?!!e.getPath():(n=e.getLevel()==t,!1)))}),[e,r])}function V(){const{summary:e}=(0,t.CQ)(),r=$();if(r)return(0,s.useMemo)((()=>{const t=r.getLevel();let n;return e.getArticle((e=>e.getLevel()==t||(e.getPath()&&(n=e),!1))),n}),[e,r])}const G=(0,s.createContext)(void 0);function W(e){let{children:n}=e;const[o,i]=(0,s.useState)((()=>"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=")),a=N();return(0,s.useEffect)((()=>{const e=a.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){const e=document.createElement("canvas");e.height=this.height,e.width=this.width;const t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((e=>{e&&i(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,r.jsx)(G.Provider,{value:o,children:n})}function Q(){return(0,s.useContext)(G)}const K=l().lazy((()=>Promise.all([c.e(812),c.e(363)]).then(c.bind(c,4363))));function Z(){const{summary:e}=(0,t.CQ)(),n=z(),o=N(),i=(0,s.useMemo)((()=>e.getArticle((e=>e.getPath()===o.path))),[e,o]);(0,s.useEffect)((()=>{window.dispatchEvent(new Event("bootstrapped"))}),[]);const a=Q();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(i?"".concat(i.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,r.jsxs)(U.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(l().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:K})})]})]})}async function Y(e){return"en"===e?c.e(7).then(c.t.bind(c,2007,19)):c.e(267).then(c.t.bind(c,3267,19))}function X(){const[n,o]=(0,s.useState)();return(0,t.bd)((async()=>{try{const{location:n}=A=new S;let i=(0,t.He)();if(!i){i=(await t.WY.get(n.toString())).data}let{id:a,summary:s,file:c,config:u={},options:l={},lfs:f,pluginsCenter:h}=i;u=t.De.createFromObject(u),s=t.ER.create(s);const p=new t.fy(a,u,s),d={page:{config:{params:I.parse(n.search)},file:new t.$B(c),lfs:f},options:l},m=await(0,t.W3)("reader",p,e,d,Y,h),g=(0,r.jsx)(m,{children:(0,r.jsx)(W,{children:(0,r.jsx)(H,{children:(0,r.jsx)(Z,{})})})});o(g)}catch(e){var n;if(console.error(e),t.WY.isAxiosError(e))o((null===(n=e.response)||void 0===n?void 0:n.data)||e.message);else o(e.message)}}),[]),n||(0,r.jsx)(R,{})}const J=()=>{o().render((0,r.jsx)(X,{}),document.getElementById("root"))};var ee=c(9958);function te(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,s.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",window.scrollTo(0,0),()=>{document.body.style.overflow="visible"})),[e])}function re(){const{preview:e=!1}=(0,t.v9)("options");return e}function ne(e){let{className:n}=e;const o=(0,t.cw)(),{poweredBy:i}=(0,t.v9)("options");return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"IHXx7d",defaultMessage:[{type:0,value:"本文档使用 "},{type:1,value:"link"},{type:0,value:" 构建"}]},{link:(0,r.jsx)("a",{href:i.link,target:"_blank",children:i.name})})}):null}function oe(e){let{size:t=60,className:n}=e;const o=Q();return(0,r.jsx)("img",{className:n,src:o,width:t,height:t,alt:"logo"})}function ie(e){let{children:n,to:o,className:i,...a}=e;const c=N(),{loading:u}=(0,t.v9)("page");let l;o instanceof t.oI?(l=o.getPath(),n||(n=o.getTitle())):l=o;const f=l?c.relative(l):"#!",h=(0,s.useCallback)((e=>{if(e.preventDefault(),l&&!u){const t={pathname:"",search:"",hash:"",...w(e.currentTarget.pathname)};A.push(t)}}),[l,u]);return(0,r.jsx)("a",{...a,onClick:h,className:i,href:f,children:n})}var ae=c(7425),se=c.n(ae);const ce=e=>{let{base:n,href:o,...i}=e;const{summary:a}=(0,t.CQ)();if(o){if(!(0,t.CB)(o)){let e=o;if(".md"===se().extname(o)){let t;t=n?decodeURIComponent(se().join(se().dirname(n),o)):o;const r=a.getArticle((e=>e.ref===t));r&&(e=r)}return(0,r.jsx)(ie,{to:e,...i})}i.target="_blank"}return(0,r.jsx)("a",{href:o,...i,rel:"noopener noreferrer"})};var ue,le=c(3440);function fe(e){let{element:n,src:o,...i}=e;const{lfs:a,file:s}=(0,t.v9)("page");if(o&&a&&!(0,le.CB)(o)&&s){const{url:e,files:t}=a,r=t[s.resolve(decodeURIComponent(o))];r&&(o=e.replace("{oid}",r))}return(0,r.jsx)(t.cu,{role:"page:asset",props:{src:o,...i},component:n})}const he=t.zo.a(ue||(ue=(0,_.Z)(["\n display: block;\n position: relative;\n top: -.5rem;\n"]))),pe={a:function(e){const t=N();return(0,r.jsx)(ce,{...e,base:t.path})},img:function(e){return(0,r.jsx)(fe,{element:"img",...e})},attachment:function(e){return(0,r.jsx)(fe,{element:"t-attachment",...e})},video:function(e){return(0,r.jsx)(fe,{element:"video",...e})},audio:function(e){return(0,r.jsx)(fe,{element:"audio",...e})},heading:function(e){let{depth:t,id:n,children:o,...i}=e;return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(he,{tabIndex:-1,id:n}),o]})),(0,s.createElement)("h".concat(t),i,o)}};function de(e){let{children:n,...o}=e;(0,s.useEffect)((()=>{const e=A.location.hash;if(e){const t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}}),[]);const i=(0,s.useContext)(M);return(0,r.jsx)(t.UG,{css:i,...o,components:pe,children:n})}var me;function ge(e){let{className:n,header:o,footer:i,...a}=e;const s=N(),c=$();void 0===o&&c&&(o=(0,r.jsx)(ye,{children:c.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o]}),i=(0,r.jsxs)(r.Fragment,{children:[i,(0,r.jsx)(t.IA,{role:"page:article:after"})]});const u=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:de,props:{header:o,footer:i,children:s.content,...a}});return(0,r.jsx)("div",{className:n,children:u})}const ye=t.zo.h1(me||(me=(0,_.Z)(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),ve=e=>{let{item:n,itemComponent:o,itemsComponent:i}=e;const{path:a}=N(),c=$(),u=(0,s.useMemo)((()=>Boolean(c&&n.getLevel().isDescendant(c.getLevel()))),[n,c]),l=a===n.getPath(),f=n.children.length>0,h=!n.getPath(),p=f?(0,r.jsx)(Ee,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,active:l,disabled:h,activeDescendant:u,children:p},component:o})},be=e=>{let{children:t}=e;return(0,r.jsx)("ul",{children:t})},Ee=e=>{let{items:n,part:o,itemsComponent:i=be,itemComponent:a}=e;const s=(0,r.jsx)(r.Fragment,{children:n.map((e=>(0,r.jsx)(ve,{itemsComponent:i,itemComponent:a,item:e},e.level.toString())))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:s},component:i})},we=e=>{let{part:n,component:o,itemsComponent:i,itemComponent:a}=e;const s=(0,r.jsx)(Ee,{itemsComponent:i,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:o})},xe=e=>{let{summary:t,partComponent:n,itemsComponent:o,itemComponent:i}=e;return t.isSinglePart()?(0,r.jsx)(Ee,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((e=>(0,r.jsx)(we,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())))})};function Se(e){let{...n}=e;const{summary:o}=(0,t.v9)("book"),{renderItem:i,renderPart:a}=n;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);const{partComponent:s,itemsComponent:c,itemComponent:u}=n;return(0,r.jsx)(xe,{summary:o,partComponent:s,itemsComponent:c,itemComponent:u})}function Ae(e){let{className:n}=e;const{summary:o}=(0,t.CQ)(),i=$(),a=(0,t.cw)(),s=[(0,r.jsx)("li",{children:(0,r.jsx)(ie,{to:".",children:a.formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]})})},"0")];if(i){const e=i.getLevel();e.data.reduce(((n,i)=>{n.push(i);const a=new t.aC(n),c=o.getByLevel(a);return c&&(c instanceof t.oI&&!a.eq(e)?s.push((0,r.jsx)("li",{children:(0,r.jsx)(ie,{to:c})},a.toString())):c.title&&s.push((0,r.jsx)("li",{children:c.title},a.toString()))),n}),[])}return(0,r.jsx)("ol",{className:n,children:s})}function ke(e){let{children:r}=e;const{summary:n}=(0,t.CQ)(),o=$(),i=N();return(0,s.useEffect)((()=>{if(!o){const e=n.getFirstArticle();e&&A.replace(i.relative(e.path))}}),[o]),o?r:null}})(),window.TopWrite=u})();
69
54
  //# sourceMappingURL=index.js.map