@topwrite/reader 1.0.79 → 1.0.80-alpha.1
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/{449-c4532e.js → 101-f52e60.js} +2 -2
- package/dist/{449-c4532e.js.map → 101-f52e60.js.map} +1 -1
- package/dist/154-07a8f6.js +17 -0
- package/dist/154-07a8f6.js.map +1 -0
- package/dist/368-75537b.js +2 -0
- package/dist/368-75537b.js.map +1 -0
- package/dist/{454-b0e4b2.js → 848-537c13.js} +2 -2
- package/dist/848-537c13.js.map +1 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +48 -48
- package/types/components/anchor.d.ts +7 -7
- package/types/components/app.d.ts +1 -1
- package/types/components/article.d.ts +8 -8
- package/types/components/asset.d.ts +6 -6
- package/types/components/breadcrumb.d.ts +8 -8
- package/types/components/catalog.d.ts +35 -35
- package/types/components/html/a.d.ts +2 -2
- package/types/components/html/attachment.d.ts +2 -2
- package/types/components/html/audio.d.ts +2 -2
- package/types/components/html/img.d.ts +2 -2
- package/types/components/html/video.d.ts +2 -2
- package/types/components/link.d.ts +7 -7
- package/types/components/loading-bar/index.d.ts +1 -1
- package/types/components/loading-bar/loading-bar.d.ts +2 -2
- package/types/components/logo.d.ts +6 -6
- package/types/components/markdown.d.ts +2 -2
- package/types/components/menu.d.ts +14 -14
- package/types/components/nav-link.d.ts +7 -7
- package/types/components/page-loader.d.ts +1 -1
- package/types/components/page.d.ts +1 -1
- package/types/components/powered-by.d.ts +5 -5
- package/types/components/search/ask-box/form.d.ts +5 -5
- package/types/components/search/ask-box/index.d.ts +5 -5
- package/types/components/search/ask-box/screens/error-screen.d.ts +1 -1
- package/types/components/search/ask-box/screens/start-screen.d.ts +1 -1
- package/types/components/search/ask-box/state.d.ts +5 -5
- package/types/components/search/constants.d.ts +1 -1
- package/types/components/search/doc-search-button.d.ts +3 -3
- package/types/components/search/doc-search-modal.d.ts +4 -4
- package/types/components/search/doc-search.d.ts +8 -8
- package/types/components/search/footer.d.ts +1 -1
- package/types/components/search/hooks/use-keyboard-events.d.ts +9 -9
- package/types/components/search/hooks/use-trap-focus.d.ts +5 -5
- package/types/components/search/icons/ask-icon.d.ts +1 -1
- package/types/components/search/icons/content-icon.d.ts +1 -1
- package/types/components/search/icons/control-key-icon.d.ts +1 -1
- package/types/components/search/icons/error-icon.d.ts +1 -1
- package/types/components/search/icons/go-to-external-icon.d.ts +1 -1
- package/types/components/search/icons/index.d.ts +12 -12
- package/types/components/search/icons/loading-icon.d.ts +1 -1
- package/types/components/search/icons/no-results-icon.d.ts +1 -1
- package/types/components/search/icons/recent-icon.d.ts +1 -1
- package/types/components/search/icons/reset-icon.d.ts +1 -1
- package/types/components/search/icons/search-icon.d.ts +1 -1
- package/types/components/search/icons/select-icon.d.ts +1 -1
- package/types/components/search/icons/star-icon.d.ts +1 -1
- package/types/components/search/index.d.ts +2 -2
- package/types/components/search/mode-provider.d.ts +5 -5
- package/types/components/search/search-box/form.d.ts +5 -5
- package/types/components/search/search-box/index.d.ts +5 -5
- package/types/components/search/search-box/results.d.ts +13 -13
- package/types/components/search/search-box/screens/error-screen.d.ts +1 -1
- package/types/components/search/search-box/screens/no-result-screen.d.ts +1 -1
- package/types/components/search/search-box/screens/results-screen.d.ts +13 -13
- package/types/components/search/search-box/screens/start-screen.d.ts +5 -5
- package/types/components/search/search-box/state.d.ts +7 -7
- package/types/components/spinner.d.ts +2 -2
- package/types/components/to-first-article.d.ts +2 -2
- package/types/hello.d.ts +1 -1
- package/types/index.d.ts +29 -29
- package/types/lib/bootstrap.d.ts +3 -3
- package/types/lib/date.d.ts +7 -7
- package/types/lib/extend-entities.d.ts +6 -6
- package/types/lib/history.d.ts +18 -18
- package/types/lib/use-article.d.ts +6 -7
- package/types/lib/use-asset-url.d.ts +1 -1
- package/types/lib/use-asset.d.ts +4 -4
- package/types/lib/use-css.d.ts +8 -8
- package/types/lib/use-file.d.ts +1 -1
- package/types/lib/use-in-preview.d.ts +1 -1
- package/types/lib/use-lock-body-scroll.d.ts +1 -1
- package/types/lib/use-logo.d.ts +7 -7
- package/types/lib/use-title.d.ts +1 -1
- package/types/lib/use-window-scroll.d.ts +2 -2
- package/types/lib/use-window-size.d.ts +4 -4
- package/types/models/ask.d.ts +18 -18
- package/types/models/book.d.ts +5 -5
- package/types/models/index.d.ts +4 -4
- package/types/models/page.d.ts +28 -28
- package/types/models/search.d.ts +22 -22
- package/types/typings.d.ts +39 -39
- package/dist/347-fe3bab.js +0 -8
- package/dist/347-fe3bab.js.map +0 -1
- package/dist/454-b0e4b2.js.map +0 -1
- package/dist/659-e7416c.js +0 -2
- package/dist/659-e7416c.js.map +0 -1
- /package/dist/{449.css → 101.css} +0 -0
- /package/dist/{659.css → 368.css} +0 -0
- /package/dist/{454.css → 848.css} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var e,t,r,n,o={61091:(e,t,r)=>{"use strict";r.d(t,{l_:()=>n.l_,fy:()=>n.fy,D7:()=>Ys,De:()=>n.De,$B:()=>n.$B,ql:()=>$a,cu:()=>Ga,IA:()=>Wa,fH:()=>vn,$q:()=>n.$q,aC:()=>n.aC,UG:()=>Ks,Hn:()=>N,Sy:()=>Cs,ER:()=>n.ER,oI:()=>n.oI,Lj:()=>n.Lj,f6:()=>Et,rK:()=>n.rK,US:()=>au,W3:()=>Ds,nC:()=>Ka,vJ:()=>St,WA:()=>es,iv:()=>ut,Em:()=>ao,vU:()=>io,He:()=>iu,Ak:()=>ks,oe:()=>n.oe,V5:()=>su,N0:()=>n.N0,CB:()=>n.CB,F4:()=>At,_f:()=>ts,j0:()=>W(),JH:()=>n.JH,FB:()=>n.FB,YB:()=>n.YB,WY:()=>n.WY,zo:()=>kt,ol:()=>ws,r5:()=>Oi,UK:()=>Ti,bd:()=>Ss,r3:()=>_i,CQ:()=>Ya,Nr:()=>eu,jr:()=>Xs,zX:()=>Ko,Rs:()=>ou,y1:()=>wi,cw:()=>Xn,mP:()=>gs,Rr:()=>rs,tT:()=>Fs,D2:()=>ru,D9:()=>Zs,v9:()=>xs,CM:()=>As,LU:()=>Js,TC:()=>ls,fB:()=>tu});var n=r(23440),o=r(3040),i=r(35250),a=r(87363),s=r.n(a),u=r(6322),c=r.n(u),l=r(67666);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 h="function"==typeof Symbol&&Symbol.observable||"@@observable",p=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+p(),REPLACE:"@@redux/REPLACE"+p(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+p()}};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 o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(f(3));return i}function p(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,i=o(i,e)}finally{u=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}return y({type:d.INIT}),(n={dispatch:y,subscribe:p,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error(f(10));o=e,y({type:d.REPLACE})}})[h]=function(){var e,t=p;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)}}})[h]=function(){return this},e},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))}}))}var v=r(56065),b=r(12611),E=s().createContext(null);var D=function(e){e()},w=function(){return D};var x={notify:function(){},get:function(){return[]}};function F(e,t){var r,n=x;function o(){a.onStateChange&&a.onStateChange()}function i(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){var e=w(),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=x)},getListeners:function(){return n}};return a}var S="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;const A=function(e){var t=e.store,r=e.context,n=e.children,o=(0,a.useMemo)((function(){var e=F(t);return{store:t,subscription:e}}),[t]),i=(0,a.useMemo)((function(){return t.getState()}),[t]);S((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 u=r||E;return s().createElement(u.Provider,{value:o},n)};var k=r(26095),C=r.n(k),P=r(20503);r(45675);function O(){return(0,a.useContext)(E)}var j=function(e,t){return e===t};function T(e){void 0===e&&(e=E);var t=e===E?O:function(){return(0,a.useContext)(e)};return function(e,r){void 0===r&&(r=j);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 F(r,n)}),[r,n]),u=(0,a.useRef)(),c=(0,a.useRef)(),l=(0,a.useRef)(),f=(0,a.useRef)(),h=r.getState();try{if(e!==c.current||h!==l.current||u.current){var p=e(h);o=void 0!==f.current&&t(p,f.current)?f.current:p}else o=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 S((function(){c.current=e,l.current=h,f.current=o,u.current=void 0})),S((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}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 _,B=T(),R=r(61533);_=R.unstable_batchedUpdates,D=_;const I="TYPE_SET_STATE",L="TYPE_GET_STATE";function M(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(){c()(this,"initialState",void 0),c()(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:L,payload:{models:t}}}setState(e){return{type:I,payload:{fn:e}}}dispatch(e){}}(0,v.Fl)(!1);const $=(e,t,r)=>{for(let n of e)t=n(t,r);return t},U=(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 z(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={},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,b.merge)(n.initialState,t[r]):a[r]=t[r],i[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),o=1;o<t;o++)n[o-1]=arguments[o];s[r][e](...n)}};const l=M(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a=`${r}/${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: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 h=$(f,t.bind(n),a)(...i);const p=async e=>{let t=await e.next();for(;!t.done;){let i,c;if(t.value instanceof Promise)try{i=await t.value}catch(e){c=e}else if((n=t.value)&&"function"==typeof n.next&&"function"==typeof n.throw)try{i=await p(t.value)}catch(e){c=e}else{let e=t.value,n=e.payload;switch(e.type){case L:const e=u();i=n.models.length>0?n.models.length>1?n.models.map((t=>e[t])):e[n.models[0]]:e;break;case I:let t=`${a}/@@${++l}`;o[t]=n.fn,s({type:t,name:r}),delete o[t]}}t=c?await e.throw(c):await e.next(i)}var n;return t.value};await p(h)}}}}const h=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||y,p=g(r((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])}))})),a,h(function(){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))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=y.apply(void 0,i)(r.dispatch),(0,l.Z)((0,l.Z)({},r),{},{dispatch:n})}}}(...n))),{getState:d}=p;for(let[e,t]of Object.entries(i))s[e]=U(t,p);for(let t in u)u[t].call(e[t],s[t],d()[t]);return p.actions=s,p}const H=(0,a.createContext)({actions:{}});function q(e){let{store:t,children:r}=e;return(0,i.jsx)(H.Provider,{value:{actions:t.actions},children:(0,i.jsx)(A,{store:t,children:r})})}function V(e,t){return"string"==typeof e||Array.isArray(e)?B((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):B(e,t)}var G=r(44636),W=r.n(G),Q=r(52815),K=r(35218),Y=r.n(K);const Z=function(e){function t(e,n,u,c,h){for(var p,d,m,g,E,w=0,x=0,F=0,S=0,A=0,T=0,B=m=p=0,I=0,L=0,M=0,N=0,$=u.length,U=$-1,z="",H="",q="",V="";I<$;){if(d=u.charCodeAt(I),I===U&&0!==x+S+F+w&&(0!==x&&(d=47===x?10:47),S=F=w=0,$++,U++),0===x+S+F+w){if(I===U&&(0<L&&(z=z.replace(f,"")),0<z.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:z+=u.charAt(I)}d=59}switch(d){case 123:for(p=(z=z.trim()).charCodeAt(0),m=1,N=++I;I<$;){switch(d=u.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(d=u.charCodeAt(I+1)){case 42:case 47:e:{for(B=I+1;B<U;++B)switch(u.charCodeAt(B)){case 47:if(42===d&&42===u.charCodeAt(B-1)&&I+2!==B){I=B+1;break e}break;case 10:if(47===d){I=B+1;break e}}I=B}}break;case 91:d++;case 40:d++;case 34:case 39:for(;I++<U&&u.charCodeAt(I)!==d;);}if(0===m)break;I++}if(m=u.substring(N,I),0===p&&(p=(z=z.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(z=z.replace(f,"")),d=z.charCodeAt(1)){case 100:case 109:case 115:case 45:L=n;break;default:L=j}if(N=(m=t(n,L,m,d,h+1)).length,0<_&&(E=s(3,m,L=r(j,z,M),n,C,k,N,d,h,c),z=L.join(""),void 0!==E&&0===(N=(m=E.trim()).length)&&(d=0,m="")),0<N)switch(d){case 115:z=z.replace(D,a);case 100:case 109:case 45:m=z+"{"+m+"}";break;case 107:m=(z=z.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=z+m,112===c&&(H+=m,m="")}else m=""}else m=t(n,r(n,z,M),m,c,h+1);q+=m,m=M=L=B=p=0,z="",d=u.charCodeAt(++I);break;case 125:case 59:if(1<(N=(z=(0<L?z.replace(f,""):z).trim()).length))switch(0===B&&(p=z.charCodeAt(0),45===p||96<p&&123>p)&&(N=(z=z.replace(" ",":")).length),0<_&&void 0!==(E=s(1,z,n,e,C,k,H.length,c,h,c))&&0===(N=(z=E.trim()).length)&&(z="\0\0"),p=z.charCodeAt(0),d=z.charCodeAt(1),p){case 0:break;case 64:if(105===d||99===d){V+=z+u.charAt(I);break}default:58!==z.charCodeAt(N-1)&&(H+=o(z,p,d,z.charCodeAt(2)))}M=L=B=p=0,z="",d=u.charCodeAt(++I)}}switch(d){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<z.length&&(L=1,z+="\0"),0<_*R&&s(0,z,n,e,C,k,H.length,c,h,c),k=1,C++;break;case 59:case 125:if(0===x+S+F+w){k++;break}default:switch(k++,g=u.charAt(I),d){case 9:case 32:if(0===S+w+x)switch(A){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===S+x+w&&(L=M=1,g="\f"+g);break;case 108:if(0===S+x+w+P&&0<B)switch(I-B){case 2:112===A&&58===u.charCodeAt(I-3)&&(P=A);case 8:111===T&&(P=T)}break;case 58:0===S+x+w&&(B=I);break;case 44:0===x+F+S+w&&(L=1,g+="\r");break;case 34:case 39:0===x&&(S=S===d?0:0===S?d:S);break;case 91:0===S+x+F&&w++;break;case 93:0===S+x+F&&w--;break;case 41:0===S+x+w&&F--;break;case 40:if(0===S+x+w){if(0===p)if(2*A+3*T==533);else p=1;F++}break;case 64:0===x+F+S+w+B+m&&(m=1);break;case 42:case 47:if(!(0<S+w+F))switch(x){case 0:switch(2*d+3*u.charCodeAt(I+1)){case 235:x=47;break;case 220:N=I,x=42}break;case 42:47===d&&42===A&&N+2!==I&&(33===u.charCodeAt(N+2)&&(H+=u.substring(N,I+1)),g="",x=0)}}0===x&&(z+=g)}T=A,A=d,I++}if(0<(N=H.length)){if(L=n,0<_&&(void 0!==(E=s(2,H,L,e,C,k,N,c,h,c))&&0===(H=E).length))return V+H+q;if(H=L.join(",")+"{"+H+"}",0!=O*P){switch(2!==O||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(v,"::-webkit-input-$1")+H.replace(v,"::-moz-$1")+H.replace(v,":-ms-input-$1")+H}P=0}}return V+H+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 u=s=0;for(t=[];s<i;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",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 u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&i(u,1)?"-webkit-"+u+u:u}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(A,"$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 p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-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(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(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 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),B(2!==t?n:n.replace(F,"$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(w," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,i,a,s,u,l){for(var f,h=0,p=t;h<_;++h)switch(f=T[h].call(c,e,p,r,n,o,i,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(B=null,e?"function"!=typeof e?O=1:(O=2,B=e):O=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var o=s(-1,r,n,n,C,k,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var i=t(j,n,r,0,0);return 0<_&&(void 0!==(o=s(-2,i,n,n,C,k,i.length,0,0,0))&&(i=o)),"",P=0,k=C=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}/,D=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,x=/-self|flex-/g,F=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,k=1,C=1,P=0,O=1,j=[],T=[],_=0,B=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:_=T.length=0;break;default:if("function"==typeof t)T[_++]=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 J={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};function X(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var ee=/^((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)-.*))$/,te=X((function(e){return ee.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),re=r(44675);function ne(){return(ne=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 oe=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},ie=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,P.typeOf)(e)},ae=Object.freeze([]),se=Object.freeze({});function ue(e){return"function"==typeof e}function ce(e){return e.displayName||e.name||"Component"}function le(e){return e&&"string"==typeof e.styledComponentId}var fe=void 0!==re&&void 0!==re.env&&(re.env.REACT_APP_SC_ATTR||re.env.SC_ATTR)||"data-styled",he="undefined"!=typeof window&&"HTMLElement"in window,pe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==re&&void 0!==re.env&&(void 0!==re.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==re.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==re.env.REACT_APP_SC_DISABLE_SPEEDY&&re.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==re.env.SC_DISABLE_SPEEDY&&""!==re.env.SC_DISABLE_SPEEDY&&("false"!==re.env.SC_DISABLE_SPEEDY&&re.env.SC_DISABLE_SPEEDY))),de={};function me(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 ge=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&&me(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,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 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}(),ye=new Map,ve=new Map,be=1,Ee=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(be);)be++;var t=be++;return ye.set(e,t),ve.set(t,e),t},De=function(e){return ve.get(e)},we=function(e,t){t>=be&&(be=t+1),ye.set(e,t),ve.set(t,e)},xe="style["+fe+'][data-styled-version="5.3.8"]',Fe=new RegExp("^"+fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Se=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)},Ae=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(Fe);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(we(c,u),Se(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},ke=function(){return r.nc},Ce=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(fe))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(fe,"active"),n.setAttribute("data-styled-version","5.3.8");var a=ke();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Pe=function(){function e(e){var t=this.element=Ce(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}me(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}(),Oe=function(){function e(e){var t=this.element=Ce(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}(),je=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}(),Te=he,_e={isServer:!he,useCSSOMInjection:!pe},Be=function(){function e(e,t,r){void 0===e&&(e=se),void 0===t&&(t={}),this.options=ne({},_e,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&he&&Te&&(Te=!1,function(e){for(var t=document.querySelectorAll(xe),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(fe)&&(Ae(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Ee(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(ne({},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 je(o):n?new Pe(o):new Oe(o),new ge(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(Ee(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(Ee(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Ee(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=De(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var u=fe+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),Re=/(a)(d)/gi,Ie=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Ie(t%52)+r;return(Ie(t%52)+r).replace(Re,"$1-$2")}var Me=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ne=function(e){return Me(5381,e)};function $e(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ue(r)&&!le(r))return!1}return!0}var Ue=Ne("5.3.8"),ze=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&$e(e),this.componentId=t,this.baseHash=Me(Ue,t),this.baseStyle=r,Be.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=at(this.rules,e,t,r).join(""),a=Le(Me(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 u=this.rules.length,c=Me(this.baseHash,r.hash),l="",f=0;f<u;f++){var h=this.rules[f];if("string"==typeof h)l+=h;else if(h){var p=at(h,e,t,r),d=Array.isArray(p)?p.join(""):p;c=Me(c,d+f),l+=d}}if(l){var m=Le(c>>>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}(),He=/^\s*\/\/.*$/gm,qe=[":","[",".","#"];function Ve(e){var t,r,n,o,i=void 0===e?se:e,a=i.options,s=void 0===a?se:a,u=i.plugins,c=void 0===u?ae:u,l=new Z(s),f=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,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(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!==qe.indexOf(i[r.length])||i.match(o)?e:"."+t};function d(e,i,a,s){void 0===s&&(s="&");var u=e.replace(He,""),c=i&&a?a+" "+i+" { "+u+" }":u;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),l(a||!i?"":i,c)}return l.use([].concat(c,[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=c.length?c.reduce((function(e,t){return t.name||me(15),Me(e,t.name)}),5381).toString():"",d}var Ge=s().createContext(),We=(Ge.Consumer,s().createContext()),Qe=(We.Consumer,new Be),Ke=Ve();function Ye(){return(0,a.useContext)(Ge)||Qe}function Ze(){return(0,a.useContext)(We)||Ke}function Je(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],o=Ye(),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]),u=(0,a.useMemo)((function(){return Ve({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,a.useEffect)((function(){Y()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),s().createElement(Ge.Provider,{value:i},s().createElement(We.Provider,{value:u},e.children))}var Xe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Ke);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 me(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=Ke),this.name+e.hash},e}(),et=/([A-Z])/,tt=/([A-Z])/g,rt=/^ms-/,nt=function(e){return"-"+e.toLowerCase()};function ot(e){return et.test(e)?e.replace(tt,nt).replace(rt,"-ms-"):e}var it=function(e){return null==e||!1===e||""===e};function at(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=at(e[a],t,r,n))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return it(e)?"":le(e)?"."+e.styledComponentId:ue(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:at(e(t),t,r,n):e instanceof Xe?r?(e.inject(r,n),e.getName(n)):e:ie(e)?function e(t,r){var n,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!it(t[a])&&(Array.isArray(t[a])&&t[a].isCss||ue(t[a])?i.push(ot(a)+":",t[a],";"):ie(t[a])?i.push.apply(i,e(t[a],a)):i.push(ot(a)+": "+(n=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in J?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(i,["}"]):i}(e):e.toString();var u}var st=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ut(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 ue(e)||ie(e)?st(at(oe(ae,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:st(at(oe(e,r)))}new Set;var ct=function(e,t,r){return void 0===r&&(r=se),e.theme!==r.theme&&e.theme||t||r.theme},lt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ft=/(^-|-$)/g;function ht(e){return e.replace(lt,"-").replace(ft,"")}var pt=function(e){return Le(Ne(e)>>>0)};function dt(e){return"string"==typeof e&&!0}var mt=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},gt=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function yt(e,t,r){var n=e[r];mt(t)&&mt(n)?vt(n,t):e[r]=t}function vt(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(mt(a))for(var s in a)gt(s)&&yt(e,a[s],s)}return e}var bt=s().createContext();bt.Consumer;function Et(e){var t=(0,a.useContext)(bt),r=(0,a.useMemo)((function(){return function(e,t){return e?ue(e)?e(t):Array.isArray(e)||"object"!=typeof e?me(8):t?ne({},t,{},e):e:me(14)}(e.theme,t)}),[e.theme,t]);return e.children?s().createElement(bt.Provider,{value:r},e.children):null}var Dt={};function wt(e,t,r){var n=le(e),o=!dt(e),i=t.attrs,u=void 0===i?ae:i,c=t.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":ht(e);Dt[r]=(Dt[r]||0)+1;var n=r+"-"+pt("5.3.8"+r+Dt[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):c,f=t.displayName,h=void 0===f?function(e){return dt(e)?"styled."+e:"Styled("+ce(e)+")"}(e):f,p=t.displayName&&t.componentId?ht(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,o){return e.shouldForwardProp(r,n,o)&&t.shouldForwardProp(r,n,o)}:e.shouldForwardProp);var g,y=new ze(r,p,n?e.componentStyle:void 0),v=y.isStatic&&0===u.length,b=function(e,t){return function(e,t,r,n){var o=e.attrs,i=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,f=e.target,h=function(e,t,r){void 0===e&&(e=se);var n=ne({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,i,a=e;for(t in ue(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]}(ct(t,(0,a.useContext)(bt),s)||se,t,o),p=h[0],d=h[1],m=function(e,t,r,n){var o=Ye(),i=Ze();return t?e.generateAndInjectStyles(se,o,i):e.generateAndInjectStyles(r,o,i)}(i,n,p),g=r,y=d.$as||t.$as||d.as||t.as||f,v=dt(y),b=d!==t?ne({},t,{},d):t,E={};for(var D in b)"$"!==D[0]&&"as"!==D&&("forwardedAs"===D?E.as=b[D]:(c?c(D,te,y):!v||te(D))&&(E[D]=b[D]));return t.style&&d.style!==t.style&&(E.style=ne({},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=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):ae,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+"-"+(dt(e)?e:ht(ce(e)));return wt(e,ne({},o,{attrs:d,componentId:i}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?vt({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},o&&C()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var xt=function(e){return function e(t,r,n){if(void 0===n&&(n=se),!(0,P.isValidElementType)(r))return me(1,String(r));var o=function(){return t(r,n,ut.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,ne({},n,{},o))},o.attrs=function(o){return e(t,r,ne({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(wt,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){xt[e]=xt(e)}));var Ft=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=$e(e),Be.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(at(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&&Be.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function St(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=ut.apply(void 0,[e].concat(r)),i="sc-global-"+pt(JSON.stringify(o)),u=new Ft(o,i);function c(e){var t=Ye(),r=Ze(),n=(0,a.useContext)(bt),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 u.removeStyles(o,t)}}),[o,e,t,n,r]),null}function l(e,t,r,n,o){if(u.isStatic)u.renderStyles(e,de,r,o);else{var i=ne({},t,{theme:ct(t,n,c.defaultProps)});u.renderStyles(e,i,r,o)}}return s().memo(c)}function At(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=ut.apply(void 0,[e].concat(r)).join(""),i=pt(o);return new Xe(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=ke();return"<style "+[r&&'nonce="'+r+'"',fe+'="true"','data-styled-version="5.3.8"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?me(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return me(2);var r=((t={})[fe]="",t["data-styled-version"]="5.3.8",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=ke();return n&&(r.nonce=n),[s().createElement("style",ne({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Be({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?me(2):s().createElement(Je,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return me(3)}}();const kt=xt;var Ct=function(e,t){return Ct=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])},Ct(e,t)};function Pt(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}Ct(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Ot=function(){return Ot=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},Ot.apply(this,arguments)};Object.create;function jt(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))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Tt,_t,Bt;function Rt(e){return e.type===_t.literal}function It(e){return e.type===_t.argument}function Lt(e){return e.type===_t.number}function Mt(e){return e.type===_t.date}function Nt(e){return e.type===_t.time}function $t(e){return e.type===_t.select}function Ut(e){return e.type===_t.plural}function zt(e){return e.type===_t.pound}function Ht(e){return e.type===_t.tag}function qt(e){return!(!e||"object"!=typeof e||e.type!==Bt.number)}function Vt(e){return!(!e||"object"!=typeof e||e.type!==Bt.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"}(Tt||(Tt={})),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"}(_t||(_t={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Bt||(Bt={}));var Gt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wt=/(?:[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 Qt(e){var t={};return e.replace(Wt,(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 Kt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Yt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zt=/^(@+)?(\+|#+)?[rs]?$/g,Jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Xt=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Zt,(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 tr(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 rr(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)),!Xt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function nr(e){var t=tr(e);return t||{}}function or(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=Ot(Ot(Ot({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Ot(Ot({},e),nr(t))}),{}));continue;case"engineering":t=Ot(Ot(Ot({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Ot(Ot({},e),nr(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(Jt,(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(Xt.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Yt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Yt,(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=Ot(Ot({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Ot(Ot({},t),er(i)))}else if(Zt.test(o.stem))t=Ot(Ot({},t),er(o.stem));else{var a=tr(o.stem);a&&(t=Ot(Ot({},t),a));var s=rr(o.stem);s&&(t=Ot(Ot({},t),s))}}return t}var ir,ar={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 sr(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),(ar[r||""]||ar[n||""]||ar["".concat(n,"-001")]||ar["001"])[0]}var ur=new RegExp("^".concat(Gt.source,"*")),cr=new RegExp("".concat(Gt.source,"*$"));function lr(e,t){return{start:e,end:t}}var fr=!!String.prototype.startsWith,hr=!!String.fromCodePoint,pr=!!Object.fromEntries,dr=!!String.prototype.codePointAt,mr=!!String.prototype.trimStart,gr=!!String.prototype.trimEnd,yr=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vr=!0;try{vr="a"===(null===(ir=Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ir?void 0:ir[0])}catch(ce){vr=!1}var br,Er=fr?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Dr=hr?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},wr=pr?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},xr=dr?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}},Fr=mr?function(e){return e.trimStart()}:function(e){return e.replace(ur,"")},Sr=gr?function(e){return e.trimEnd()}:function(e){return e.replace(cr,"")};function Ar(e,t){return new RegExp(e,t)}if(vr){var kr=Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");br=function(e,t){var r;return kr.lastIndex=t,null!==(r=kr.exec(e)[1])&&void 0!==r?r:""}}else br=function(e,t){for(var r=[];;){var n=xr(e,t);if(void 0===n||Or(n)||jr(n))break;r.push(n),t+=n>=65536?2:1}return Dr.apply(void 0,r)};var Cr=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(Tt.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Pr(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:_t.pound,location:lr(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:_t.literal,value:"<".concat(n,"/>"),location:lr(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()||!Pr(this.char()))return this.error(Tt.INVALID_TAG,lr(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(Tt.UNMATCHED_CLOSING_TAG,lr(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_t.tag,value:n,children:i,location:lr(r,this.clonePosition())},err:null}:this.error(Tt.INVALID_TAG,lr(a,this.clonePosition())))}return this.error(Tt.UNCLOSED_TAG,lr(r,this.clonePosition()))}return this.error(Tt.INVALID_TAG,lr(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||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);)this.bump();return this.message.slice(t,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=lr(r,this.clonePosition());return{val:{type:_t.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Pr(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 Dr.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(),Dr(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Tt.EMPTY_ARGUMENT,lr(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Tt.MALFORMED_ARGUMENT,lr(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_t.argument,value:n,location:lr(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(Tt.MALFORMED_ARGUMENT,lr(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=br(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:lr(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(Tt.EXPECT_ARGUMENT_TYPE,lr(i,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(p=Sr(y.val)).length)return this.error(Tt.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:lr(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var l=lr(n,this.clonePosition());if(u&&Er(null==u?void 0:u.style,"::",0)){var f=Fr(u.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:_t.number,value:r,location:l,style:y.val},err:null};if(0===f.length)return this.error(Tt.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),u=sr(t);for("H"!=u&&"k"!=u||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=u+r}else r+="J"===o?"H":o}return r}(f,this.locale));var p={type:Bt.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Qt(h):{}};return{val:{type:"date"===a?_t.date:_t.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?_t.number:"date"===a?_t.date:_t.time,value:r,location:l,style:null!==(o=null==u?void 0:u.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(Tt.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(d,Ot({},d)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Tt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Tt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Tt.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=lr(n,this.clonePosition());return"select"===a?{val:{type:_t.select,value:r,options:wr(b.val),location:E},err:null}:{val:{type:_t.plural,value:r,options:wr(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:E},err:null};default:return this.error(Tt.INVALID_ARGUMENT_TYPE,lr(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Tt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Kt).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),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(Tt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?or(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o,i=!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(Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Tt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=lr(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(s.has(u))return this.error("select"===t?Tt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Tt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Tt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(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([u,{value:p.val,location:lr(h,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?Tt.EXPECT_SELECT_ARGUMENT_SELECTOR:Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Tt.MISSING_OTHER_CLAUSE,lr(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=lr(n,this.clonePosition());return o?yr(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=xr(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(Er(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()&&Or(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 Pr(e){return e>=97&&e<=122||e>=65&&e<=90}function Or(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function jr(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 Tr(e){e.forEach((function(e){if(delete e.location,$t(e)||Ut(e))for(var t in e.options)delete e.options[t].location,Tr(e.options[t].value);else Lt(e)&&qt(e.style)||(Mt(e)||Nt(e))&&Vt(e.style)?delete e.style.location:Ht(e)&&Tr(e.children)}))}function _r(e,t){void 0===t&&(t={}),t=Ot({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Cr(e,t).parse();if(r.err){var n=SyntaxError(Tt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Tr(r.val),r.val}function Br(e,t){var r=t&&t.cache?t.cache:zr,n=t&&t.serializer?t.serializer:Nr;return(t&&t.strategy?t.strategy:Mr)(e,{cache:r,serializer:n})}function Rr(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 Ir(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 Lr(e,t,r,n,o){return r.bind(t,e,n,o)}function Mr(e,t){return Lr(e,this,1===e.length?Rr:Ir,t.cache.create(),t.serializer)}var Nr=function(){return JSON.stringify(arguments)};function $r(){this.cache=Object.create(null)}$r.prototype.get=function(e){return this.cache[e]},$r.prototype.set=function(e,t){this.cache[e]=t};var Ur,zr={create:function(){return new $r}},Hr={variadic:function(e,t){return Lr(e,this,Ir,t.cache.create(),t.serializer)},monadic:function(e,t){return Lr(e,this,Rr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ur||(Ur={}));var qr,Vr=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return Pt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Gr=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('", "'),'"'),Ur.INVALID_VALUE,o)||this}return Pt(t,e),t}(Vr),Wr=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),Ur.INVALID_VALUE,n)||this}return Pt(t,e),t}(Vr),Qr=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,'"'),Ur.MISSING_VALUE,r)||this}return Pt(t,e),t}(Vr);function Kr(e){return"function"==typeof e}function Yr(e,t,r,n,o,i,a){if(1===e.length&&Rt(e[0]))return[{type:qr.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(Rt(l))s.push({type:qr.literal,value:l.value});else if(zt(l))"number"==typeof i&&s.push({type:qr.literal,value:r.getNumberFormat(t).format(i)});else{var f=l.value;if(!o||!(f in o))throw new Qr(f,a);var h=o[f];if(It(l))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?qr.literal:qr.object,value:h});else if(Mt(l)){var p="string"==typeof l.style?n.date[l.style]:Vt(l.style)?l.style.parsedOptions:void 0;s.push({type:qr.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Nt(l)){p="string"==typeof l.style?n.time[l.style]:Vt(l.style)?l.style.parsedOptions:n.time.medium;s.push({type:qr.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Lt(l)){(p="string"==typeof l.style?n.number[l.style]:qt(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:qr.literal,value:r.getNumberFormat(t,p).format(h)})}else{if(Ht(l)){var d=l.children,m=l.value,g=o[m];if(!Kr(g))throw new Wr(m,"function",a);var y=g(Yr(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?qr.literal:qr.object,value:e}})))}if($t(l)){if(!(v=l.options[h]||l.options.other))throw new Gr(l.value,h,Object.keys(l.options),a);s.push.apply(s,Yr(v.value,t,r,n,o))}else if(Ut(l)){var v;if(!(v=l.options["=".concat(h)])){if(!Intl.PluralRules)throw new Vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.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 Gr(l.value,h,Object.keys(l.options),a);s.push.apply(s,Yr(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===qr.literal&&t.type===qr.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function Zr(e,t){return t?Object.keys(e).reduce((function(r,n){var o,i;return r[n]=(o=e[n],(i=t[n])?Ot(Ot(Ot({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Ot(Ot({},o[t]),i[t]||{}),e}),{})):o),r}),Ot({},e)):e}function Jr(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"}(qr||(qr={}));var Xr,en=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===qr.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 Yr(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=Zr(e.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.number),strategy:Hr.variadic}),getDateTimeFormat:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.dateTime),strategy:Hr.variadic}),getPluralRules:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.pluralRules),strategy:Hr.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=_r,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"}(Xr||(Xr={}));var tn=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 Pt(t,e),t}(Error),rn=function(e){function t(t,r){return e.call(this,Xr.UNSUPPORTED_FORMATTER,t,r)||this}return Pt(t,e),t}(tn),nn=function(e){function t(t,r){return e.call(this,Xr.INVALID_CONFIG,t,r)||this}return Pt(t,e),t}(tn),on=function(e){function t(t,r){return e.call(this,Xr.MISSING_DATA,t,r)||this}return Pt(t,e),t}(tn),an=function(e){function t(t,r,n){return e.call(this,Xr.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(r,"\n"),n)||this}return Pt(t,e),t}(tn),sn=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 Pt(t,e),t}(an),un=function(e){function t(t,r){var n=e.call(this,Xr.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 Pt(t,e),t}(tn);function cn(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 ln={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function fn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function hn(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new rn("No ".concat(t," format named: ").concat(r)))}var pn=function(e,t){return pn=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])},pn(e,t)};var dn=function(){return dn=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},dn.apply(this,arguments)};function mn(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}Object.create;Object.create;var gn=a.createContext(null),yn=(gn.Consumer,gn.Provider),vn=gn;function bn(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function En(e){bn(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Dn=dn(dn({},ln),{textComponent:a.Fragment});function wn(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=Ot({timeZone:t},e[n]),r}),{})}function xn(e,t){return Object.keys(Ot(Ot({},e),t)).reduce((function(r,n){return r[n]=Ot(Ot({},e[n]||{}),t[n]||{}),r}),{})}function Fn(e,t){if(!t)return e;var r=en.formats;return Ot(Ot(Ot({},r),e),{date:xn(wn(r.date,t),wn(e.date||{},t)),time:xn(wn(r.time,t),wn(e.time||{},t))})}function Sn(e,t,r,n,o){var i=e.locale,a=e.formats,s=e.messages,u=e.defaultLocale,c=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;bn(!!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===_t.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!p)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=Ot(Ot({},p),n||{}),a=Fn(a,h),c=Fn(c,h),!y){if(!1===l&&""===y)return y;if((!m||i&&i.toLowerCase()!==u.toLowerCase())&&f(new un(r,i)),m)try{return t.getMessageFormat(m,u,c,o).format(n)}catch(e){return f(new sn('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,Ot({formatters:t},o||{})).format(n)}catch(e){f(new sn('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),i,r,e))}if(m)try{return t.getMessageFormat(m,u,c,o).format(n)}catch(e){f(new sn('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 An=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function kn(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=a&&hn(o,"number",a,i)||{};return t(n,cn(r,An,s))}function Cn(e,t,r,n){void 0===n&&(n={});try{return kn(e,t,n).format(r)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Pn(e,t,r,n){void 0===n&&(n={});try{return kn(e,t,n).formatToParts(r)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting number.",t))}return[]}var On=["numeric","style"];function jn(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new Vr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ur.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&&hn(o,"relative",a,i)||{};return t(n,cn(r,On,s))}(e,t,o).format(r,n)}catch(t){e.onError(new an("Error formatting relative time.",e.locale,t))}return String(r)}var Tn=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function _n(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var u=n.format,c=Ot(Ot({},s&&{timeZone:s}),u&&hn(i,t,u,a)),l=cn(n,Tn,c);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=Ot(Ot({},l),{hour:"numeric",minute:"numeric"})),r(o,l)}function Bn(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 _n(e,"date",t,a).format(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Rn(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 _n(e,"time",t,a).format(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function In(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,u=e.timeZone,c=e.locale,l=e.onError,f=cn(s,Tn,u?{timeZone:u}:{});try{return t(c,f).formatRange(o,i)}catch(e){l(new tn(Xr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Ln(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 _n(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Mn(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 _n(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Nn=["localeMatcher","type"];function $n(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.PluralRules||i(new Vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.MISSING_INTL_API));var a=cn(n,Nn);try{return t(o,a).select(r)}catch(e){i(new an("Error formatting plural.",o,e))}return"other"}var Un=["localeMatcher","type","style"],zn=Date.now();function Hn(e,t,r,n){void 0===n&&(n={});var o=qn(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 qn(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.ListFormat||i(new Vr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ur.MISSING_INTL_API));var a=cn(n,Un);try{var s={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(zn,"_").concat(e,"_").concat(zn)}(t);return s[r]=e,r}return String(e)}));return t(o,a).formatToParts(u).map((function(e){return"literal"===e.type?e:Ot(Ot({},e),{value:s[e.value]||e.value})}))}catch(e){i(new tn(Xr.FORMAT_ERROR,"Error formatting list.",e))}return r}var Vn=["localeMatcher","style","type","fallback"];function Gn(e,t,r,n){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new Vr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ur.MISSING_INTL_API));var a=cn(n,Vn);try{return t(o,a).of(r)}catch(e){i(new tn(Xr.FORMAT_ERROR,"Error formatting display name.",e))}}function Wn(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 Qn(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=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.dateTime),strategy:Hr.variadic}),i=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.number),strategy:Hr.variadic}),a=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.pluralRules),strategy:Hr.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:Br((function(e,t,r,n){return new en(e,t,r,Ot({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:a}},n||{}))}),{cache:fn(e.message),strategy:Hr.variadic}),getRelativeTimeFormat:Br((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,jt([void 0],e,!1)))}),{cache:fn(e.relativeTime),strategy:Hr.variadic}),getPluralRules:a,getListFormat:Br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,jt([void 0],e,!1)))}),{cache:fn(e.list),strategy:Hr.variadic}),getDisplayNames:Br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,jt([void 0],e,!1)))}),{cache:fn(e.displayNames),strategy:Hr.variadic})}}(t),n=Ot(Ot({},ln),e),o=n.locale,i=n.defaultLocale,a=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&a?a(new on('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 on('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 nn('"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"),Wn(n),Ot(Ot({},n),{formatters:r,formatNumber:Cn.bind(null,n,r.getNumberFormat),formatNumberToParts:Pn.bind(null,n,r.getNumberFormat),formatRelativeTime:jn.bind(null,n,r.getRelativeTimeFormat),formatDate:Bn.bind(null,n,r.getDateTimeFormat),formatDateToParts:Ln.bind(null,n,r.getDateTimeFormat),formatTime:Rn.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:In.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Mn.bind(null,n,r.getDateTimeFormat),formatPlural:$n.bind(null,n,r.getPluralRules),formatMessage:Sn.bind(null,n,r),$t:Sn.bind(null,n,r),formatList:Hn.bind(null,n,r.getListFormat),formatListToParts:qn.bind(null,n,r.getListFormat),formatDisplayName:Gn.bind(null,n,r.getDisplayNames)})}function Kn(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 Yn(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Kr(o)?(n=o,function(e){return n(a.Children.toArray(e))}):o,t}),{}):e}var Zn=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var s=Yn(n),u=Sn.apply(void 0,function(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))}([e,t,r,s],o,!1));return Array.isArray(u)?a.Children.toArray(u):u},Jn=function(e,t){var r=e.defaultRichTextElements,n=mn(e,["defaultRichTextElements"]),o=Yn(r),i=Qn(dn(dn(dn({},Dn),n),{defaultRichTextElements:o}),t);return dn(dn({},i),{formatMessage:Zn.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:Jn(Kn(t.props),t.cache),prevConfig:Kn(t.props)},t}(function(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}pn(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=Kn(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:Jn(o,n),prevConfig:o}},t.prototype.render=function(){return En(this.state.intl),a.createElement(yn,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Dn}(a.PureComponent);function Xn(){var e=a.useContext(vn);return En(e),e}var eo,to;!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(eo||(eo={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(to||(to={}));var ro=function(e){var t=Xn(),r=e.value,n=e.children,o=mn(e,["value","children"]);return n(t.formatNumberToParts(r,o))};ro.displayName="FormattedNumberParts";function no(e){var t=function(t){var r=Xn(),n=t.value,o=t.children,i=mn(t,["value","children"]),a="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?r.formatDateToParts(a,i):r.formatTimeToParts(a,i))};return t.displayName=to[e],t}function oo(e){var t=function(t){var r=Xn(),n=t.value,o=t.children,i=mn(t,["value","children"]),s=r[e](n,i);if("function"==typeof o)return o(s);var u=r.textComponent||a.Fragment;return a.createElement(u,null,s)};return t.displayName=eo[e],t}function io(e){return e}function ao(e){return e}ro.displayName="FormattedNumberParts";oo("formatDate"),oo("formatTime"),oo("formatNumber"),oo("formatList"),oo("formatDisplayName"),no("formatDate"),no("formatTime");var so=r(28989),uo=r(53827);const co=new(r(93074));function lo(){return e=>{co.reset(),(0,uo.Vn)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?co.slug(String(n),!0):co.slug((0,so.B)(e)),t.id=n,r.id=n}))}}const fo=/[\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\u08C8-\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-\u0B54\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\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\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\u1AC1-\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\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\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\uAB6A-\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-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\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\uDC62-\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\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\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-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\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\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\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]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,ho=Object.hasOwnProperty;var po=r(44516);function mo(e){return new RegExp("^("+e+")$","i")}const go=new class{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=function(e,t){if("string"!=typeof e)return"";t||(e=e.toLowerCase());return e.replace(fo,"").replace(/ /g,"-")}(e,!0===t);const o=n;for(;ho.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};var yo=r(24740);function vo(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;)bo(e[s],i,{ordered:r,tight:n,prefix:o});return i}function bo(e,t,r){let n=-1;const o=t.children[t.children.length-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:Eo(e.children)}]}]});else if(t.children.length>0){bo(e,t.children[t.children.length-1],r)}else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),bo(e,n,r)}else if(o&&"list"===o.type)e.depth--,bo(e,o,r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,bo(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 Eo(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(Do(e[r]));return t}function Do(e){if("footnoteReference"===e.type)return[];if("link"===e.type||"linkReference"===e.type||"footnote"===e.type)return Eo(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(yo(!0,{},n),{children:Eo(e.children)})}const{position:t,...r}=e;return yo(!0,{},r)}function wo(e,t){const r=t||{},n=r.heading?mo(r.heading):void 0,o=function(e,t,r){const n=r.skip?mo(r.skip):void 0,o=(0,po.O)(r.parents||(t=>t===e)),i=[];let a,s,u;return go.reset(),(0,uo.Vn)(e,"heading",((e,c,l)=>{const f=(0,so.B)(e,{includeImageAlt:!1}),h=e.data&&e.data.hProperties&&e.data.hProperties.id,p=go.slug(h||f);if(o(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)||i.push({depth:e.depth,children:e.children,id:p})}})),{index:void 0===a?-1:a,endIndex:void 0===a?-1:s||e.children.length,map:i}}(e,n,r);return{index:n?o.index:null,endIndex:n?o.endIndex:null,map:o.map.length>0?vo(o.map,r):null}}const xo=So("start"),Fo=So("end");function So(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 Ao={}.hasOwnProperty;function ko(e){return String(e||"").toUpperCase()}var Co=r(19967);function Po(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,Co.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,Co.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)}function Oo(e,t){const r=String(t.identifier).toUpperCase(),n=Po(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],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function jo(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+n};const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=n:o.push({type:"text",value:n}),o}function To(e){const t=e.spread;return null==t?e.children.length>1:t}const _o=9,Bo=32;function Ro(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),o=0;const i=[];for(;n;)i.push(Io(t.slice(o,n.index),o>0,!0),n[0]),o=n.index+n[0].length,n=r.exec(t);return i.push(Io(t.slice(o),o>0,!1)),i.join("")}function Io(e,t,r){let n=0,o=e.length;if(t){let t=e.codePointAt(n);for(;t===_o||t===Bo;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(o-1);for(;t===_o||t===Bo;)o--,t=e.codePointAt(o-1)}return o>n?e.slice(n,o):""}const Lo={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};n&&(o.className=["language-"+n]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:Oo,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},Oo(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.dangerous){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return jo(e,t);const n={src:Po(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(n.title=r.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const r={src:Po(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return jo(e,t);const n={href:Po(r.url||"")};null!==r.title&&void 0!==r.title&&(n.title=r.title);const o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const r={href:Po(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){const n=e.all(t),o=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=To(r[n])}return t}(r):To(t),i={},a=[];if("boolean"==typeof t.checked){const e=n[0];let r;e&&"element"===e.type&&"p"===e.tagName?r=e:(r={type:"element",tagName:"p",properties:{},children:[]},n.unshift(r)),r.children.length>0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),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({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const u=n[n.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const r={},n=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++o<n.length;){const e=n[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}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){const r=e.all(t),n=r.shift(),o=[];if(n){const r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),o.push(r)}if(r.length>0){const n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},i=xo(t.children[1]),a=Fo(t.children[t.children.length-1]);i.line&&a.line&&(n.position={start:i,end:a}),o.push(n)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const n=r?r.children:void 0,o=0===(n?n.indexOf(t):1)?"th":"td",i=r&&"table"===r.type?r.align:void 0,a=i?i.length:t.children.length;let s=-1;const u=[];for(;++s<a;){const r=t.children[s],n={},a=i?i[s]:void 0;a&&(n.align=a);let c={type:"element",tagName:o,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(t,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const r={type:"text",value:Ro(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:Mo,yaml:Mo,definition:Mo,footnoteDefinition:Mo};function Mo(){return null}const No={}.hasOwnProperty;function $o(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.footnoteLabelTagName=r.footnoteLabelTagName||"h2",a.footnoteLabelProperties=r.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,a.handlers={...Lo,...r.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return(0,uo.Vn)(e,"definition",(e=>{const r=ko(e.identifier);r&&!Ao.call(t,r)&&(t[r]=e)})),function(e){const r=ko(e);return r&&Ao.call(t,r)?t[r]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Uo,a.applyData=zo,a.one=function(e,t){return Ho(a,e,t)},a.all=function(e){return qo(a,e)},a.wrap=Vo,a.augment=i,(0,uo.Vn)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();No.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:xo(n),end:Fo(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 Uo(e,t){var r;e.position&&(t.position={start:xo(r=e),end:Fo(r)})}function zo(e,t){let r=t;if(e&&e.data){const t=e.data.hName,n=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:[]}),"element"===r.type&&o&&(r.properties={...r.properties,...o}),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function Ho(e,t,r){const n=t&&t.type;if(!n)throw new Error("Expected node, got `"+t+"`");return No.call(e.handlers,n)?e.handlers[n](e,t,r):e.passThrough&&e.passThrough.includes(n)?"children"in t?{...t,children:qo(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,r):function(e,t){const r=t.data||{},n=!("value"in t)||No.call(r,"hProperties")||No.call(r,"hChildren")?{type:"element",tagName:"div",properties:{},children:qo(e,t)}:{type:"text",value:t.value};return e.patch(t,n),e.applyData(t,n)}(e,t)}function qo(e,t){const r=[];if("children"in t){const n=t.children;let o=-1;for(;++o<n.length;){const i=Ho(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}function Vo(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function Go(e,t){const r=$o(e,t),n=r.one(e,null),o=function(e){const t=[];let r=-1;for(;++r<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[r]];if(!n)continue;const o=e.all(n),i=String(n.identifier).toUpperCase(),a=Po(i.toLowerCase());let s=0;const u=[];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)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}const c=o[o.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 o.push(...u);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(n,l),t.push(l)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(r);return o&&n.children.push({type:"text",value:"\n"},o),Array.isArray(n)?{type:"root",children:n}:n}var Wo=r(56391),Qo=r(35110);const Ko=function(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(...e){n||o.current.apply(this,e)}r.addEventListener(t,a);const s=i.current;return()=>{n=1,r.removeEventListener(t,a),s&&s()}}),[e,t])};
|
|
1
|
+
(()=>{var e,t,r,n,o={92498:(e,t,r)=>{"use strict";r.d(t,{l_:()=>n.l_,fy:()=>n.fy,D7:()=>Xs,De:()=>n.De,$B:()=>n.$B,ql:()=>Na,cu:()=>Va,IA:()=>Ga,fH:()=>vn,$q:()=>n.$q,aC:()=>n.aC,UG:()=>Js,Hn:()=>N,Sy:()=>js,ER:()=>n.ER,oI:()=>n.oI,Lj:()=>n.Lj,f6:()=>Et,rK:()=>n.rK,US:()=>cu,W3:()=>Fs,nC:()=>os,vJ:()=>St,WA:()=>Za,iv:()=>ut,Em:()=>ao,vU:()=>io,He:()=>uu,Ak:()=>Os,Mw:()=>n.Mw,oe:()=>n.oe,V5:()=>lu,N0:()=>n.N0,CB:()=>n.CB,F4:()=>At,_f:()=>Ja,j0:()=>W(),JH:()=>n.JH,FB:()=>n.FB,YB:()=>n.YB,WY:()=>n.WY,zo:()=>kt,ol:()=>Ss,r5:()=>Oi,UK:()=>Ti,bd:()=>Cs,CQ:()=>is,Nr:()=>nu,jr:()=>ru,zX:()=>Ko,Rs:()=>su,y1:()=>wi,cw:()=>Xn,mP:()=>bs,Rr:()=>ns,tT:()=>ks,D2:()=>iu,D9:()=>eu,v9:()=>As,CM:()=>Ps,LU:()=>tu,TC:()=>ps,fB:()=>ou});var n=r(23440),o=r(3040),i=r(35250),a=r(87363),s=r.n(a),u=r(6322),c=r.n(u),l=r(67666);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 h="function"==typeof Symbol&&Symbol.observable||"@@observable",p=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+p(),REPLACE:"@@redux/REPLACE"+p(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+p()}};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 o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(f(3));return i}function p(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,i=o(i,e)}finally{u=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}return y({type:d.INIT}),(n={dispatch:y,subscribe:p,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error(f(10));o=e,y({type:d.REPLACE})}})[h]=function(){var e,t=p;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)}}})[h]=function(){return this},e},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))}}))}var v=r(56065),b=r(12611),E=s().createContext(null);var D=function(e){e()},w=function(){return D};var x={notify:function(){},get:function(){return[]}};function F(e,t){var r,n=x;function o(){a.onStateChange&&a.onStateChange()}function i(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){var e=w(),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=x)},getListeners:function(){return n}};return a}var S="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;const A=function(e){var t=e.store,r=e.context,n=e.children,o=(0,a.useMemo)((function(){var e=F(t);return{store:t,subscription:e}}),[t]),i=(0,a.useMemo)((function(){return t.getState()}),[t]);S((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 u=r||E;return s().createElement(u.Provider,{value:o},n)};var k=r(26095),C=r.n(k),P=r(20503);r(45675);function O(){return(0,a.useContext)(E)}var j=function(e,t){return e===t};function T(e){void 0===e&&(e=E);var t=e===E?O:function(){return(0,a.useContext)(e)};return function(e,r){void 0===r&&(r=j);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 F(r,n)}),[r,n]),u=(0,a.useRef)(),c=(0,a.useRef)(),l=(0,a.useRef)(),f=(0,a.useRef)(),h=r.getState();try{if(e!==c.current||h!==l.current||u.current){var p=e(h);o=void 0!==f.current&&t(p,f.current)?f.current:p}else o=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 S((function(){c.current=e,l.current=h,f.current=o,u.current=void 0})),S((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}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 _,B=T(),R=r(61533);_=R.unstable_batchedUpdates,D=_;const I="TYPE_SET_STATE",L="TYPE_GET_STATE";function M(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(){c()(this,"initialState",void 0),c()(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:L,payload:{models:t}}}setState(e){return{type:I,payload:{fn:e}}}dispatch(e){}}(0,v.Fl)(!1);const $=(e,t,r)=>{for(let n of e)t=n(t,r);return t},U=(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 z(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={},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,b.merge)(n.initialState,t[r]):a[r]=t[r],i[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),o=1;o<t;o++)n[o-1]=arguments[o];s[r][e](...n)}};const l=M(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a=`${r}/${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: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 h=$(f,t.bind(n),a)(...i);const p=async e=>{let t=await e.next();for(;!t.done;){let i,c;if(t.value instanceof Promise)try{i=await t.value}catch(e){c=e}else if((n=t.value)&&"function"==typeof n.next&&"function"==typeof n.throw)try{i=await p(t.value)}catch(e){c=e}else{let e=t.value,n=e.payload;switch(e.type){case L:const e=u();i=n.models.length>0?n.models.length>1?n.models.map((t=>e[t])):e[n.models[0]]:e;break;case I:let t=`${a}/@@${++l}`;o[t]=n.fn,s({type:t,name:r}),delete o[t]}}t=c?await e.throw(c):await e.next(i)}var n;return t.value};await p(h)}}}}const h=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||y,p=g(r((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])}))})),a,h(function(){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))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=y.apply(void 0,i)(r.dispatch),(0,l.Z)((0,l.Z)({},r),{},{dispatch:n})}}}(...n))),{getState:d}=p;for(let[e,t]of Object.entries(i))s[e]=U(t,p);for(let t in u)u[t].call(e[t],s[t],d()[t]);return p.actions=s,p}const H=(0,a.createContext)({actions:{}});function q(e){let{store:t,children:r}=e;return(0,i.jsx)(H.Provider,{value:{actions:t.actions},children:(0,i.jsx)(A,{store:t,children:r})})}function V(e,t){return"string"==typeof e||Array.isArray(e)?B((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):B(e,t)}var G=r(44636),W=r.n(G),Q=r(52815),K=r(35218),Y=r.n(K);const Z=function(e){function t(e,n,u,c,h){for(var p,d,m,g,E,w=0,x=0,F=0,S=0,A=0,T=0,B=m=p=0,I=0,L=0,M=0,N=0,$=u.length,U=$-1,z="",H="",q="",V="";I<$;){if(d=u.charCodeAt(I),I===U&&0!==x+S+F+w&&(0!==x&&(d=47===x?10:47),S=F=w=0,$++,U++),0===x+S+F+w){if(I===U&&(0<L&&(z=z.replace(f,"")),0<z.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:z+=u.charAt(I)}d=59}switch(d){case 123:for(p=(z=z.trim()).charCodeAt(0),m=1,N=++I;I<$;){switch(d=u.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(d=u.charCodeAt(I+1)){case 42:case 47:e:{for(B=I+1;B<U;++B)switch(u.charCodeAt(B)){case 47:if(42===d&&42===u.charCodeAt(B-1)&&I+2!==B){I=B+1;break e}break;case 10:if(47===d){I=B+1;break e}}I=B}}break;case 91:d++;case 40:d++;case 34:case 39:for(;I++<U&&u.charCodeAt(I)!==d;);}if(0===m)break;I++}if(m=u.substring(N,I),0===p&&(p=(z=z.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(z=z.replace(f,"")),d=z.charCodeAt(1)){case 100:case 109:case 115:case 45:L=n;break;default:L=j}if(N=(m=t(n,L,m,d,h+1)).length,0<_&&(E=s(3,m,L=r(j,z,M),n,C,k,N,d,h,c),z=L.join(""),void 0!==E&&0===(N=(m=E.trim()).length)&&(d=0,m="")),0<N)switch(d){case 115:z=z.replace(D,a);case 100:case 109:case 45:m=z+"{"+m+"}";break;case 107:m=(z=z.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=z+m,112===c&&(H+=m,m="")}else m=""}else m=t(n,r(n,z,M),m,c,h+1);q+=m,m=M=L=B=p=0,z="",d=u.charCodeAt(++I);break;case 125:case 59:if(1<(N=(z=(0<L?z.replace(f,""):z).trim()).length))switch(0===B&&(p=z.charCodeAt(0),45===p||96<p&&123>p)&&(N=(z=z.replace(" ",":")).length),0<_&&void 0!==(E=s(1,z,n,e,C,k,H.length,c,h,c))&&0===(N=(z=E.trim()).length)&&(z="\0\0"),p=z.charCodeAt(0),d=z.charCodeAt(1),p){case 0:break;case 64:if(105===d||99===d){V+=z+u.charAt(I);break}default:58!==z.charCodeAt(N-1)&&(H+=o(z,p,d,z.charCodeAt(2)))}M=L=B=p=0,z="",d=u.charCodeAt(++I)}}switch(d){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<z.length&&(L=1,z+="\0"),0<_*R&&s(0,z,n,e,C,k,H.length,c,h,c),k=1,C++;break;case 59:case 125:if(0===x+S+F+w){k++;break}default:switch(k++,g=u.charAt(I),d){case 9:case 32:if(0===S+w+x)switch(A){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===S+x+w&&(L=M=1,g="\f"+g);break;case 108:if(0===S+x+w+P&&0<B)switch(I-B){case 2:112===A&&58===u.charCodeAt(I-3)&&(P=A);case 8:111===T&&(P=T)}break;case 58:0===S+x+w&&(B=I);break;case 44:0===x+F+S+w&&(L=1,g+="\r");break;case 34:case 39:0===x&&(S=S===d?0:0===S?d:S);break;case 91:0===S+x+F&&w++;break;case 93:0===S+x+F&&w--;break;case 41:0===S+x+w&&F--;break;case 40:if(0===S+x+w){if(0===p)if(2*A+3*T==533);else p=1;F++}break;case 64:0===x+F+S+w+B+m&&(m=1);break;case 42:case 47:if(!(0<S+w+F))switch(x){case 0:switch(2*d+3*u.charCodeAt(I+1)){case 235:x=47;break;case 220:N=I,x=42}break;case 42:47===d&&42===A&&N+2!==I&&(33===u.charCodeAt(N+2)&&(H+=u.substring(N,I+1)),g="",x=0)}}0===x&&(z+=g)}T=A,A=d,I++}if(0<(N=H.length)){if(L=n,0<_&&(void 0!==(E=s(2,H,L,e,C,k,N,c,h,c))&&0===(H=E).length))return V+H+q;if(H=L.join(",")+"{"+H+"}",0!=O*P){switch(2!==O||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(v,"::-webkit-input-$1")+H.replace(v,"::-moz-$1")+H.replace(v,":-ms-input-$1")+H}P=0}}return V+H+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 u=s=0;for(t=[];s<i;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",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 u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&i(u,1)?"-webkit-"+u+u:u}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(A,"$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 p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-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(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(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 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),B(2!==t?n:n.replace(F,"$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(w," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,i,a,s,u,l){for(var f,h=0,p=t;h<_;++h)switch(f=T[h].call(c,e,p,r,n,o,i,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(B=null,e?"function"!=typeof e?O=1:(O=2,B=e):O=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var o=s(-1,r,n,n,C,k,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var i=t(j,n,r,0,0);return 0<_&&(void 0!==(o=s(-2,i,n,n,C,k,i.length,0,0,0))&&(i=o)),"",P=0,k=C=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}/,D=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,x=/-self|flex-/g,F=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,k=1,C=1,P=0,O=1,j=[],T=[],_=0,B=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:_=T.length=0;break;default:if("function"==typeof t)T[_++]=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 J={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};function X(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var ee=/^((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)-.*))$/,te=X((function(e){return ee.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),re=r(44675);function ne(){return(ne=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 oe=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},ie=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,P.typeOf)(e)},ae=Object.freeze([]),se=Object.freeze({});function ue(e){return"function"==typeof e}function ce(e){return e.displayName||e.name||"Component"}function le(e){return e&&"string"==typeof e.styledComponentId}var fe=void 0!==re&&void 0!==re.env&&(re.env.REACT_APP_SC_ATTR||re.env.SC_ATTR)||"data-styled",he="undefined"!=typeof window&&"HTMLElement"in window,pe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==re&&void 0!==re.env&&(void 0!==re.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==re.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==re.env.REACT_APP_SC_DISABLE_SPEEDY&&re.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==re.env.SC_DISABLE_SPEEDY&&""!==re.env.SC_DISABLE_SPEEDY&&("false"!==re.env.SC_DISABLE_SPEEDY&&re.env.SC_DISABLE_SPEEDY))),de={};function me(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 ge=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&&me(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,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 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}(),ye=new Map,ve=new Map,be=1,Ee=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(be);)be++;var t=be++;return ye.set(e,t),ve.set(t,e),t},De=function(e){return ve.get(e)},we=function(e,t){t>=be&&(be=t+1),ye.set(e,t),ve.set(t,e)},xe="style["+fe+'][data-styled-version="5.3.8"]',Fe=new RegExp("^"+fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Se=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)},Ae=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(Fe);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(we(c,u),Se(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},ke=function(){return r.nc},Ce=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(fe))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(fe,"active"),n.setAttribute("data-styled-version","5.3.8");var a=ke();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Pe=function(){function e(e){var t=this.element=Ce(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}me(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}(),Oe=function(){function e(e){var t=this.element=Ce(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}(),je=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}(),Te=he,_e={isServer:!he,useCSSOMInjection:!pe},Be=function(){function e(e,t,r){void 0===e&&(e=se),void 0===t&&(t={}),this.options=ne({},_e,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&he&&Te&&(Te=!1,function(e){for(var t=document.querySelectorAll(xe),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(fe)&&(Ae(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Ee(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(ne({},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 je(o):n?new Pe(o):new Oe(o),new ge(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(Ee(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(Ee(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Ee(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=De(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var u=fe+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),Re=/(a)(d)/gi,Ie=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Ie(t%52)+r;return(Ie(t%52)+r).replace(Re,"$1-$2")}var Me=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ne=function(e){return Me(5381,e)};function $e(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ue(r)&&!le(r))return!1}return!0}var Ue=Ne("5.3.8"),ze=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&$e(e),this.componentId=t,this.baseHash=Me(Ue,t),this.baseStyle=r,Be.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=at(this.rules,e,t,r).join(""),a=Le(Me(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 u=this.rules.length,c=Me(this.baseHash,r.hash),l="",f=0;f<u;f++){var h=this.rules[f];if("string"==typeof h)l+=h;else if(h){var p=at(h,e,t,r),d=Array.isArray(p)?p.join(""):p;c=Me(c,d+f),l+=d}}if(l){var m=Le(c>>>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}(),He=/^\s*\/\/.*$/gm,qe=[":","[",".","#"];function Ve(e){var t,r,n,o,i=void 0===e?se:e,a=i.options,s=void 0===a?se:a,u=i.plugins,c=void 0===u?ae:u,l=new Z(s),f=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,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(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!==qe.indexOf(i[r.length])||i.match(o)?e:"."+t};function d(e,i,a,s){void 0===s&&(s="&");var u=e.replace(He,""),c=i&&a?a+" "+i+" { "+u+" }":u;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),l(a||!i?"":i,c)}return l.use([].concat(c,[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=c.length?c.reduce((function(e,t){return t.name||me(15),Me(e,t.name)}),5381).toString():"",d}var Ge=s().createContext(),We=(Ge.Consumer,s().createContext()),Qe=(We.Consumer,new Be),Ke=Ve();function Ye(){return(0,a.useContext)(Ge)||Qe}function Ze(){return(0,a.useContext)(We)||Ke}function Je(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],o=Ye(),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]),u=(0,a.useMemo)((function(){return Ve({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,a.useEffect)((function(){Y()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),s().createElement(Ge.Provider,{value:i},s().createElement(We.Provider,{value:u},e.children))}var Xe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Ke);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 me(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=Ke),this.name+e.hash},e}(),et=/([A-Z])/,tt=/([A-Z])/g,rt=/^ms-/,nt=function(e){return"-"+e.toLowerCase()};function ot(e){return et.test(e)?e.replace(tt,nt).replace(rt,"-ms-"):e}var it=function(e){return null==e||!1===e||""===e};function at(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=at(e[a],t,r,n))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return it(e)?"":le(e)?"."+e.styledComponentId:ue(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:at(e(t),t,r,n):e instanceof Xe?r?(e.inject(r,n),e.getName(n)):e:ie(e)?function e(t,r){var n,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!it(t[a])&&(Array.isArray(t[a])&&t[a].isCss||ue(t[a])?i.push(ot(a)+":",t[a],";"):ie(t[a])?i.push.apply(i,e(t[a],a)):i.push(ot(a)+": "+(n=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in J?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(i,["}"]):i}(e):e.toString();var u}var st=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ut(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 ue(e)||ie(e)?st(at(oe(ae,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:st(at(oe(e,r)))}new Set;var ct=function(e,t,r){return void 0===r&&(r=se),e.theme!==r.theme&&e.theme||t||r.theme},lt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ft=/(^-|-$)/g;function ht(e){return e.replace(lt,"-").replace(ft,"")}var pt=function(e){return Le(Ne(e)>>>0)};function dt(e){return"string"==typeof e&&!0}var mt=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},gt=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function yt(e,t,r){var n=e[r];mt(t)&&mt(n)?vt(n,t):e[r]=t}function vt(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(mt(a))for(var s in a)gt(s)&&yt(e,a[s],s)}return e}var bt=s().createContext();bt.Consumer;function Et(e){var t=(0,a.useContext)(bt),r=(0,a.useMemo)((function(){return function(e,t){return e?ue(e)?e(t):Array.isArray(e)||"object"!=typeof e?me(8):t?ne({},t,{},e):e:me(14)}(e.theme,t)}),[e.theme,t]);return e.children?s().createElement(bt.Provider,{value:r},e.children):null}var Dt={};function wt(e,t,r){var n=le(e),o=!dt(e),i=t.attrs,u=void 0===i?ae:i,c=t.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":ht(e);Dt[r]=(Dt[r]||0)+1;var n=r+"-"+pt("5.3.8"+r+Dt[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):c,f=t.displayName,h=void 0===f?function(e){return dt(e)?"styled."+e:"Styled("+ce(e)+")"}(e):f,p=t.displayName&&t.componentId?ht(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,o){return e.shouldForwardProp(r,n,o)&&t.shouldForwardProp(r,n,o)}:e.shouldForwardProp);var g,y=new ze(r,p,n?e.componentStyle:void 0),v=y.isStatic&&0===u.length,b=function(e,t){return function(e,t,r,n){var o=e.attrs,i=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,f=e.target,h=function(e,t,r){void 0===e&&(e=se);var n=ne({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,i,a=e;for(t in ue(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]}(ct(t,(0,a.useContext)(bt),s)||se,t,o),p=h[0],d=h[1],m=function(e,t,r,n){var o=Ye(),i=Ze();return t?e.generateAndInjectStyles(se,o,i):e.generateAndInjectStyles(r,o,i)}(i,n,p),g=r,y=d.$as||t.$as||d.as||t.as||f,v=dt(y),b=d!==t?ne({},t,{},d):t,E={};for(var D in b)"$"!==D[0]&&"as"!==D&&("forwardedAs"===D?E.as=b[D]:(c?c(D,te,y):!v||te(D))&&(E[D]=b[D]));return t.style&&d.style!==t.style&&(E.style=ne({},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=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):ae,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+"-"+(dt(e)?e:ht(ce(e)));return wt(e,ne({},o,{attrs:d,componentId:i}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?vt({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},o&&C()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var xt=function(e){return function e(t,r,n){if(void 0===n&&(n=se),!(0,P.isValidElementType)(r))return me(1,String(r));var o=function(){return t(r,n,ut.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,ne({},n,{},o))},o.attrs=function(o){return e(t,r,ne({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(wt,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){xt[e]=xt(e)}));var Ft=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=$e(e),Be.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(at(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&&Be.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function St(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=ut.apply(void 0,[e].concat(r)),i="sc-global-"+pt(JSON.stringify(o)),u=new Ft(o,i);function c(e){var t=Ye(),r=Ze(),n=(0,a.useContext)(bt),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 u.removeStyles(o,t)}}),[o,e,t,n,r]),null}function l(e,t,r,n,o){if(u.isStatic)u.renderStyles(e,de,r,o);else{var i=ne({},t,{theme:ct(t,n,c.defaultProps)});u.renderStyles(e,i,r,o)}}return s().memo(c)}function At(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=ut.apply(void 0,[e].concat(r)).join(""),i=pt(o);return new Xe(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=ke();return"<style "+[r&&'nonce="'+r+'"',fe+'="true"','data-styled-version="5.3.8"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?me(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return me(2);var r=((t={})[fe]="",t["data-styled-version"]="5.3.8",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=ke();return n&&(r.nonce=n),[s().createElement("style",ne({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Be({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?me(2):s().createElement(Je,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return me(3)}}();const kt=xt;var Ct=function(e,t){return Ct=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])},Ct(e,t)};function Pt(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}Ct(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Ot=function(){return Ot=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},Ot.apply(this,arguments)};Object.create;function jt(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))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Tt,_t,Bt;function Rt(e){return e.type===_t.literal}function It(e){return e.type===_t.argument}function Lt(e){return e.type===_t.number}function Mt(e){return e.type===_t.date}function Nt(e){return e.type===_t.time}function $t(e){return e.type===_t.select}function Ut(e){return e.type===_t.plural}function zt(e){return e.type===_t.pound}function Ht(e){return e.type===_t.tag}function qt(e){return!(!e||"object"!=typeof e||e.type!==Bt.number)}function Vt(e){return!(!e||"object"!=typeof e||e.type!==Bt.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"}(Tt||(Tt={})),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"}(_t||(_t={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Bt||(Bt={}));var Gt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wt=/(?:[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 Qt(e){var t={};return e.replace(Wt,(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 Kt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Yt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zt=/^(@+)?(\+|#+)?[rs]?$/g,Jt=/(\*)(0+)|(#+)(0+)|(0+)/g,Xt=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Zt,(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 tr(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 rr(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)),!Xt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function nr(e){var t=tr(e);return t||{}}function or(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=Ot(Ot(Ot({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Ot(Ot({},e),nr(t))}),{}));continue;case"engineering":t=Ot(Ot(Ot({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Ot(Ot({},e),nr(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(Jt,(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(Xt.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Yt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Yt,(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=Ot(Ot({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Ot(Ot({},t),er(i)))}else if(Zt.test(o.stem))t=Ot(Ot({},t),er(o.stem));else{var a=tr(o.stem);a&&(t=Ot(Ot({},t),a));var s=rr(o.stem);s&&(t=Ot(Ot({},t),s))}}return t}var ir,ar={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 sr(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),(ar[r||""]||ar[n||""]||ar["".concat(n,"-001")]||ar["001"])[0]}var ur=new RegExp("^".concat(Gt.source,"*")),cr=new RegExp("".concat(Gt.source,"*$"));function lr(e,t){return{start:e,end:t}}var fr=!!String.prototype.startsWith,hr=!!String.fromCodePoint,pr=!!Object.fromEntries,dr=!!String.prototype.codePointAt,mr=!!String.prototype.trimStart,gr=!!String.prototype.trimEnd,yr=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vr=!0;try{vr="a"===(null===(ir=Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ir?void 0:ir[0])}catch(ce){vr=!1}var br,Er=fr?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Dr=hr?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},wr=pr?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},xr=dr?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}},Fr=mr?function(e){return e.trimStart()}:function(e){return e.replace(ur,"")},Sr=gr?function(e){return e.trimEnd()}:function(e){return e.replace(cr,"")};function Ar(e,t){return new RegExp(e,t)}if(vr){var kr=Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");br=function(e,t){var r;return kr.lastIndex=t,null!==(r=kr.exec(e)[1])&&void 0!==r?r:""}}else br=function(e,t){for(var r=[];;){var n=xr(e,t);if(void 0===n||Or(n)||jr(n))break;r.push(n),t+=n>=65536?2:1}return Dr.apply(void 0,r)};var Cr=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(Tt.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Pr(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:_t.pound,location:lr(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:_t.literal,value:"<".concat(n,"/>"),location:lr(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()||!Pr(this.char()))return this.error(Tt.INVALID_TAG,lr(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(Tt.UNMATCHED_CLOSING_TAG,lr(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_t.tag,value:n,children:i,location:lr(r,this.clonePosition())},err:null}:this.error(Tt.INVALID_TAG,lr(a,this.clonePosition())))}return this.error(Tt.UNCLOSED_TAG,lr(r,this.clonePosition()))}return this.error(Tt.INVALID_TAG,lr(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||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);)this.bump();return this.message.slice(t,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=lr(r,this.clonePosition());return{val:{type:_t.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Pr(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 Dr.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(),Dr(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Tt.EMPTY_ARGUMENT,lr(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Tt.MALFORMED_ARGUMENT,lr(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_t.argument,value:n,location:lr(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(Tt.MALFORMED_ARGUMENT,lr(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=br(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:lr(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(Tt.EXPECT_ARGUMENT_TYPE,lr(i,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(p=Sr(y.val)).length)return this.error(Tt.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:lr(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var l=lr(n,this.clonePosition());if(u&&Er(null==u?void 0:u.style,"::",0)){var f=Fr(u.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:_t.number,value:r,location:l,style:y.val},err:null};if(0===f.length)return this.error(Tt.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),u=sr(t);for("H"!=u&&"k"!=u||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=u+r}else r+="J"===o?"H":o}return r}(f,this.locale));var p={type:Bt.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Qt(h):{}};return{val:{type:"date"===a?_t.date:_t.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?_t.number:"date"===a?_t.date:_t.time,value:r,location:l,style:null!==(o=null==u?void 0:u.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(Tt.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(d,Ot({},d)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Tt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Tt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Tt.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=lr(n,this.clonePosition());return"select"===a?{val:{type:_t.select,value:r,options:wr(b.val),location:E},err:null}:{val:{type:_t.plural,value:r,options:wr(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:E},err:null};default:return this.error(Tt.INVALID_ARGUMENT_TYPE,lr(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Tt.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Tt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Kt).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),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(Tt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?or(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o,i=!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(Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Tt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=lr(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(s.has(u))return this.error("select"===t?Tt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Tt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Tt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(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([u,{value:p.val,location:lr(h,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?Tt.EXPECT_SELECT_ARGUMENT_SELECTOR:Tt.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Tt.MISSING_OTHER_CLAUSE,lr(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=lr(n,this.clonePosition());return o?yr(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=xr(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(Er(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()&&Or(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 Pr(e){return e>=97&&e<=122||e>=65&&e<=90}function Or(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function jr(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 Tr(e){e.forEach((function(e){if(delete e.location,$t(e)||Ut(e))for(var t in e.options)delete e.options[t].location,Tr(e.options[t].value);else Lt(e)&&qt(e.style)||(Mt(e)||Nt(e))&&Vt(e.style)?delete e.style.location:Ht(e)&&Tr(e.children)}))}function _r(e,t){void 0===t&&(t={}),t=Ot({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Cr(e,t).parse();if(r.err){var n=SyntaxError(Tt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Tr(r.val),r.val}function Br(e,t){var r=t&&t.cache?t.cache:zr,n=t&&t.serializer?t.serializer:Nr;return(t&&t.strategy?t.strategy:Mr)(e,{cache:r,serializer:n})}function Rr(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 Ir(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 Lr(e,t,r,n,o){return r.bind(t,e,n,o)}function Mr(e,t){return Lr(e,this,1===e.length?Rr:Ir,t.cache.create(),t.serializer)}var Nr=function(){return JSON.stringify(arguments)};function $r(){this.cache=Object.create(null)}$r.prototype.get=function(e){return this.cache[e]},$r.prototype.set=function(e,t){this.cache[e]=t};var Ur,zr={create:function(){return new $r}},Hr={variadic:function(e,t){return Lr(e,this,Ir,t.cache.create(),t.serializer)},monadic:function(e,t){return Lr(e,this,Rr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ur||(Ur={}));var qr,Vr=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return Pt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Gr=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('", "'),'"'),Ur.INVALID_VALUE,o)||this}return Pt(t,e),t}(Vr),Wr=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),Ur.INVALID_VALUE,n)||this}return Pt(t,e),t}(Vr),Qr=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,'"'),Ur.MISSING_VALUE,r)||this}return Pt(t,e),t}(Vr);function Kr(e){return"function"==typeof e}function Yr(e,t,r,n,o,i,a){if(1===e.length&&Rt(e[0]))return[{type:qr.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(Rt(l))s.push({type:qr.literal,value:l.value});else if(zt(l))"number"==typeof i&&s.push({type:qr.literal,value:r.getNumberFormat(t).format(i)});else{var f=l.value;if(!o||!(f in o))throw new Qr(f,a);var h=o[f];if(It(l))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?qr.literal:qr.object,value:h});else if(Mt(l)){var p="string"==typeof l.style?n.date[l.style]:Vt(l.style)?l.style.parsedOptions:void 0;s.push({type:qr.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Nt(l)){p="string"==typeof l.style?n.time[l.style]:Vt(l.style)?l.style.parsedOptions:n.time.medium;s.push({type:qr.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Lt(l)){(p="string"==typeof l.style?n.number[l.style]:qt(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:qr.literal,value:r.getNumberFormat(t,p).format(h)})}else{if(Ht(l)){var d=l.children,m=l.value,g=o[m];if(!Kr(g))throw new Wr(m,"function",a);var y=g(Yr(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?qr.literal:qr.object,value:e}})))}if($t(l)){if(!(v=l.options[h]||l.options.other))throw new Gr(l.value,h,Object.keys(l.options),a);s.push.apply(s,Yr(v.value,t,r,n,o))}else if(Ut(l)){var v;if(!(v=l.options["=".concat(h)])){if(!Intl.PluralRules)throw new Vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.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 Gr(l.value,h,Object.keys(l.options),a);s.push.apply(s,Yr(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===qr.literal&&t.type===qr.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function Zr(e,t){return t?Object.keys(e).reduce((function(r,n){var o,i;return r[n]=(o=e[n],(i=t[n])?Ot(Ot(Ot({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Ot(Ot({},o[t]),i[t]||{}),e}),{})):o),r}),Ot({},e)):e}function Jr(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"}(qr||(qr={}));var Xr,en=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===qr.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 Yr(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=Zr(e.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.number),strategy:Hr.variadic}),getDateTimeFormat:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.dateTime),strategy:Hr.variadic}),getPluralRules:Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,jt([void 0],t,!1)))}),{cache:Jr(i.pluralRules),strategy:Hr.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=_r,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"}(Xr||(Xr={}));var tn=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 Pt(t,e),t}(Error),rn=function(e){function t(t,r){return e.call(this,Xr.UNSUPPORTED_FORMATTER,t,r)||this}return Pt(t,e),t}(tn),nn=function(e){function t(t,r){return e.call(this,Xr.INVALID_CONFIG,t,r)||this}return Pt(t,e),t}(tn),on=function(e){function t(t,r){return e.call(this,Xr.MISSING_DATA,t,r)||this}return Pt(t,e),t}(tn),an=function(e){function t(t,r,n){return e.call(this,Xr.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(r,"\n"),n)||this}return Pt(t,e),t}(tn),sn=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 Pt(t,e),t}(an),un=function(e){function t(t,r){var n=e.call(this,Xr.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 Pt(t,e),t}(tn);function cn(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 ln={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function fn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function hn(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new rn("No ".concat(t," format named: ").concat(r)))}var pn=function(e,t){return pn=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])},pn(e,t)};var dn=function(){return dn=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},dn.apply(this,arguments)};function mn(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}Object.create;Object.create;var gn=a.createContext(null),yn=(gn.Consumer,gn.Provider),vn=gn;function bn(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function En(e){bn(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Dn=dn(dn({},ln),{textComponent:a.Fragment});function wn(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=Ot({timeZone:t},e[n]),r}),{})}function xn(e,t){return Object.keys(Ot(Ot({},e),t)).reduce((function(r,n){return r[n]=Ot(Ot({},e[n]||{}),t[n]||{}),r}),{})}function Fn(e,t){if(!t)return e;var r=en.formats;return Ot(Ot(Ot({},r),e),{date:xn(wn(r.date,t),wn(e.date||{},t)),time:xn(wn(r.time,t),wn(e.time||{},t))})}function Sn(e,t,r,n,o){var i=e.locale,a=e.formats,s=e.messages,u=e.defaultLocale,c=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;bn(!!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===_t.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!p)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=Ot(Ot({},p),n||{}),a=Fn(a,h),c=Fn(c,h),!y){if(!1===l&&""===y)return y;if((!m||i&&i.toLowerCase()!==u.toLowerCase())&&f(new un(r,i)),m)try{return t.getMessageFormat(m,u,c,o).format(n)}catch(e){return f(new sn('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,Ot({formatters:t},o||{})).format(n)}catch(e){f(new sn('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),i,r,e))}if(m)try{return t.getMessageFormat(m,u,c,o).format(n)}catch(e){f(new sn('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 An=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function kn(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=a&&hn(o,"number",a,i)||{};return t(n,cn(r,An,s))}function Cn(e,t,r,n){void 0===n&&(n={});try{return kn(e,t,n).format(r)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Pn(e,t,r,n){void 0===n&&(n={});try{return kn(e,t,n).formatToParts(r)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting number.",t))}return[]}var On=["numeric","style"];function jn(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new Vr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ur.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&&hn(o,"relative",a,i)||{};return t(n,cn(r,On,s))}(e,t,o).format(r,n)}catch(t){e.onError(new an("Error formatting relative time.",e.locale,t))}return String(r)}var Tn=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function _n(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var u=n.format,c=Ot(Ot({},s&&{timeZone:s}),u&&hn(i,t,u,a)),l=cn(n,Tn,c);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=Ot(Ot({},l),{hour:"numeric",minute:"numeric"})),r(o,l)}function Bn(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 _n(e,"date",t,a).format(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Rn(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 _n(e,"time",t,a).format(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function In(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,u=e.timeZone,c=e.locale,l=e.onError,f=cn(s,Tn,u?{timeZone:u}:{});try{return t(c,f).formatRange(o,i)}catch(e){l(new tn(Xr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Ln(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 _n(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Mn(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 _n(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new tn(Xr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Nn=["localeMatcher","type"];function $n(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.PluralRules||i(new Vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.MISSING_INTL_API));var a=cn(n,Nn);try{return t(o,a).select(r)}catch(e){i(new an("Error formatting plural.",o,e))}return"other"}var Un=["localeMatcher","type","style"],zn=Date.now();function Hn(e,t,r,n){void 0===n&&(n={});var o=qn(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 qn(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.ListFormat||i(new Vr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ur.MISSING_INTL_API));var a=cn(n,Un);try{var s={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(zn,"_").concat(e,"_").concat(zn)}(t);return s[r]=e,r}return String(e)}));return t(o,a).formatToParts(u).map((function(e){return"literal"===e.type?e:Ot(Ot({},e),{value:s[e.value]||e.value})}))}catch(e){i(new tn(Xr.FORMAT_ERROR,"Error formatting list.",e))}return r}var Vn=["localeMatcher","style","type","fallback"];function Gn(e,t,r,n){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new Vr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ur.MISSING_INTL_API));var a=cn(n,Vn);try{return t(o,a).of(r)}catch(e){i(new tn(Xr.FORMAT_ERROR,"Error formatting display name.",e))}}function Wn(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 Qn(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=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.dateTime),strategy:Hr.variadic}),i=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.number),strategy:Hr.variadic}),a=Br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,jt([void 0],t,!1)))}),{cache:fn(e.pluralRules),strategy:Hr.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:Br((function(e,t,r,n){return new en(e,t,r,Ot({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:a}},n||{}))}),{cache:fn(e.message),strategy:Hr.variadic}),getRelativeTimeFormat:Br((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,jt([void 0],e,!1)))}),{cache:fn(e.relativeTime),strategy:Hr.variadic}),getPluralRules:a,getListFormat:Br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,jt([void 0],e,!1)))}),{cache:fn(e.list),strategy:Hr.variadic}),getDisplayNames:Br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,jt([void 0],e,!1)))}),{cache:fn(e.displayNames),strategy:Hr.variadic})}}(t),n=Ot(Ot({},ln),e),o=n.locale,i=n.defaultLocale,a=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&a?a(new on('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 on('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 nn('"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"),Wn(n),Ot(Ot({},n),{formatters:r,formatNumber:Cn.bind(null,n,r.getNumberFormat),formatNumberToParts:Pn.bind(null,n,r.getNumberFormat),formatRelativeTime:jn.bind(null,n,r.getRelativeTimeFormat),formatDate:Bn.bind(null,n,r.getDateTimeFormat),formatDateToParts:Ln.bind(null,n,r.getDateTimeFormat),formatTime:Rn.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:In.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Mn.bind(null,n,r.getDateTimeFormat),formatPlural:$n.bind(null,n,r.getPluralRules),formatMessage:Sn.bind(null,n,r),$t:Sn.bind(null,n,r),formatList:Hn.bind(null,n,r.getListFormat),formatListToParts:qn.bind(null,n,r.getListFormat),formatDisplayName:Gn.bind(null,n,r.getDisplayNames)})}function Kn(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 Yn(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Kr(o)?(n=o,function(e){return n(a.Children.toArray(e))}):o,t}),{}):e}var Zn=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var s=Yn(n),u=Sn.apply(void 0,function(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))}([e,t,r,s],o,!1));return Array.isArray(u)?a.Children.toArray(u):u},Jn=function(e,t){var r=e.defaultRichTextElements,n=mn(e,["defaultRichTextElements"]),o=Yn(r),i=Qn(dn(dn(dn({},Dn),n),{defaultRichTextElements:o}),t);return dn(dn({},i),{formatMessage:Zn.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:Jn(Kn(t.props),t.cache),prevConfig:Kn(t.props)},t}(function(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}pn(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=Kn(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:Jn(o,n),prevConfig:o}},t.prototype.render=function(){return En(this.state.intl),a.createElement(yn,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Dn}(a.PureComponent);function Xn(){var e=a.useContext(vn);return En(e),e}var eo,to;!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(eo||(eo={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(to||(to={}));var ro=function(e){var t=Xn(),r=e.value,n=e.children,o=mn(e,["value","children"]);return n(t.formatNumberToParts(r,o))};ro.displayName="FormattedNumberParts";function no(e){var t=function(t){var r=Xn(),n=t.value,o=t.children,i=mn(t,["value","children"]),a="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?r.formatDateToParts(a,i):r.formatTimeToParts(a,i))};return t.displayName=to[e],t}function oo(e){var t=function(t){var r=Xn(),n=t.value,o=t.children,i=mn(t,["value","children"]),s=r[e](n,i);if("function"==typeof o)return o(s);var u=r.textComponent||a.Fragment;return a.createElement(u,null,s)};return t.displayName=eo[e],t}function io(e){return e}function ao(e){return e}ro.displayName="FormattedNumberParts";oo("formatDate"),oo("formatTime"),oo("formatNumber"),oo("formatList"),oo("formatDisplayName"),no("formatDate"),no("formatTime");var so=r(28989),uo=r(53827);const co=new(r(93074));function lo(){return e=>{co.reset(),(0,uo.Vn)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?co.slug(String(n),!0):co.slug((0,so.B)(e)),t.id=n,r.id=n}))}}const fo=/[\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\u08C8-\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-\u0B54\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\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\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\u1AC1-\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\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\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\uAB6A-\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-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\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\uDC62-\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\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\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-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\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\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\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]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,ho=Object.hasOwnProperty;var po=r(44516);function mo(e){return new RegExp("^("+e+")$","i")}const go=new class{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=function(e,t){if("string"!=typeof e)return"";t||(e=e.toLowerCase());return e.replace(fo,"").replace(/ /g,"-")}(e,!0===t);const o=n;for(;ho.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};var yo=r(24740);function vo(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;)bo(e[s],i,{ordered:r,tight:n,prefix:o});return i}function bo(e,t,r){let n=-1;const o=t.children[t.children.length-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:Eo(e.children)}]}]});else if(t.children.length>0){bo(e,t.children[t.children.length-1],r)}else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),bo(e,n,r)}else if(o&&"list"===o.type)e.depth--,bo(e,o,r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,bo(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 Eo(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(Do(e[r]));return t}function Do(e){if("footnoteReference"===e.type)return[];if("link"===e.type||"linkReference"===e.type||"footnote"===e.type)return Eo(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(yo(!0,{},n),{children:Eo(e.children)})}const{position:t,...r}=e;return yo(!0,{},r)}function wo(e,t){const r=t||{},n=r.heading?mo(r.heading):void 0,o=function(e,t,r){const n=r.skip?mo(r.skip):void 0,o=(0,po.O)(r.parents||(t=>t===e)),i=[];let a,s,u;return go.reset(),(0,uo.Vn)(e,"heading",((e,c,l)=>{const f=(0,so.B)(e,{includeImageAlt:!1}),h=e.data&&e.data.hProperties&&e.data.hProperties.id,p=go.slug(h||f);if(o(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)||i.push({depth:e.depth,children:e.children,id:p})}})),{index:void 0===a?-1:a,endIndex:void 0===a?-1:s||e.children.length,map:i}}(e,n,r);return{index:n?o.index:null,endIndex:n?o.endIndex:null,map:o.map.length>0?vo(o.map,r):null}}const xo=So("start"),Fo=So("end");function So(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 Ao={}.hasOwnProperty;function ko(e){return String(e||"").toUpperCase()}var Co=r(19967);function Po(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,Co.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,Co.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)}function Oo(e,t){const r=String(t.identifier).toUpperCase(),n=Po(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],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function jo(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+n};const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=n:o.push({type:"text",value:n}),o}function To(e){const t=e.spread;return null==t?e.children.length>1:t}const _o=9,Bo=32;function Ro(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),o=0;const i=[];for(;n;)i.push(Io(t.slice(o,n.index),o>0,!0),n[0]),o=n.index+n[0].length,n=r.exec(t);return i.push(Io(t.slice(o),o>0,!1)),i.join("")}function Io(e,t,r){let n=0,o=e.length;if(t){let t=e.codePointAt(n);for(;t===_o||t===Bo;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(o-1);for(;t===_o||t===Bo;)o--,t=e.codePointAt(o-1)}return o>n?e.slice(n,o):""}const Lo={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};n&&(o.className=["language-"+n]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:Oo,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},Oo(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.dangerous){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return jo(e,t);const n={src:Po(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(n.title=r.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const r={src:Po(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return jo(e,t);const n={href:Po(r.url||"")};null!==r.title&&void 0!==r.title&&(n.title=r.title);const o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const r={href:Po(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){const n=e.all(t),o=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=To(r[n])}return t}(r):To(t),i={},a=[];if("boolean"==typeof t.checked){const e=n[0];let r;e&&"element"===e.type&&"p"===e.tagName?r=e:(r={type:"element",tagName:"p",properties:{},children:[]},n.unshift(r)),r.children.length>0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),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({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const u=n[n.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const r={},n=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++o<n.length;){const e=n[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}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){const r=e.all(t),n=r.shift(),o=[];if(n){const r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),o.push(r)}if(r.length>0){const n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},i=xo(t.children[1]),a=Fo(t.children[t.children.length-1]);i.line&&a.line&&(n.position={start:i,end:a}),o.push(n)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const n=r?r.children:void 0,o=0===(n?n.indexOf(t):1)?"th":"td",i=r&&"table"===r.type?r.align:void 0,a=i?i.length:t.children.length;let s=-1;const u=[];for(;++s<a;){const r=t.children[s],n={},a=i?i[s]:void 0;a&&(n.align=a);let c={type:"element",tagName:o,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(t,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const r={type:"text",value:Ro(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:Mo,yaml:Mo,definition:Mo,footnoteDefinition:Mo};function Mo(){return null}const No={}.hasOwnProperty;function $o(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.footnoteLabelTagName=r.footnoteLabelTagName||"h2",a.footnoteLabelProperties=r.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,a.handlers={...Lo,...r.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return(0,uo.Vn)(e,"definition",(e=>{const r=ko(e.identifier);r&&!Ao.call(t,r)&&(t[r]=e)})),function(e){const r=ko(e);return r&&Ao.call(t,r)?t[r]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Uo,a.applyData=zo,a.one=function(e,t){return Ho(a,e,t)},a.all=function(e){return qo(a,e)},a.wrap=Vo,a.augment=i,(0,uo.Vn)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();No.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:xo(n),end:Fo(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 Uo(e,t){var r;e.position&&(t.position={start:xo(r=e),end:Fo(r)})}function zo(e,t){let r=t;if(e&&e.data){const t=e.data.hName,n=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:[]}),"element"===r.type&&o&&(r.properties={...r.properties,...o}),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function Ho(e,t,r){const n=t&&t.type;if(!n)throw new Error("Expected node, got `"+t+"`");return No.call(e.handlers,n)?e.handlers[n](e,t,r):e.passThrough&&e.passThrough.includes(n)?"children"in t?{...t,children:qo(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,r):function(e,t){const r=t.data||{},n=!("value"in t)||No.call(r,"hProperties")||No.call(r,"hChildren")?{type:"element",tagName:"div",properties:{},children:qo(e,t)}:{type:"text",value:t.value};return e.patch(t,n),e.applyData(t,n)}(e,t)}function qo(e,t){const r=[];if("children"in t){const n=t.children;let o=-1;for(;++o<n.length;){const i=Ho(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}function Vo(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function Go(e,t){const r=$o(e,t),n=r.one(e,null),o=function(e){const t=[];let r=-1;for(;++r<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[r]];if(!n)continue;const o=e.all(n),i=String(n.identifier).toUpperCase(),a=Po(i.toLowerCase());let s=0;const u=[];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)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}const c=o[o.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 o.push(...u);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(n,l),t.push(l)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(r);return o&&n.children.push({type:"text",value:"\n"},o),Array.isArray(n)?{type:"root",children:n}:n}var Wo=r(56391),Qo=r(35110);const Ko=function(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(...e){n||o.current.apply(this,e)}r.addEventListener(t,a);const s=i.current;return()=>{n=1,r.removeEventListener(t,a),s&&s()}}),[e,t])};
|
|
2
2
|
/**!
|
|
3
3
|
* hotkeys-js v3.9.4
|
|
4
4
|
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* http://jaywcjlove.github.io/hotkeys
|
|
8
8
|
* Licensed under the MIT license
|
|
9
9
|
*/
|
|
10
|
-
var Yo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Zo(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function Jo(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 Xo(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 ei={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,"-":Yo?173:189,"=":Yo?61:187,";":Yo?59:186,"'":222,"[":219,"]":221,"\\":220},ti={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},ri={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},ni={16:!1,18:!1,17:!1,91:!1},oi={},ii=1;ii<20;ii++)ei["f".concat(ii)]=111+ii;var ai=[],si=!1,ui="all",ci=[],li=function(e){return ei[e.toLowerCase()]||ti[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function fi(e){ui=e||"all"}function hi(){return ui||"all"}var pi=function(e){var t=e.key,r=e.scope,n=e.method,o=e.splitKey,i=void 0===o?"+":o;Xo(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":li(a);if(oi[s]){r||(r=hi());var u=o>1?Jo(ti,t):[];oi[s]=oi[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,u))}))}}))};function di(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,ni)Object.prototype.hasOwnProperty.call(ni,i)&&(!ni[i]&&t.mods.indexOf(+i)>-1||ni[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||ni[16]||ni[18]||ni[17]||ni[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 mi(e,t){var r=oi["*"],n=e.keyCode||e.which||e.charCode;if(gi.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===ai.indexOf(n)&&229!==n&&ai.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=ri[t];e[t]&&-1===ai.indexOf(r)?ai.push(r):!e[t]&&ai.indexOf(r)>-1?ai.splice(ai.indexOf(r),1):"metaKey"===t&&e[t]&&3===ai.length&&(e.ctrlKey||e.shiftKey||e.altKey||(ai=ai.slice(ai.indexOf(r))))})),n in ni){for(var o in ni[n]=!0,ti)ti[o]===n&&(gi[o]=!0);if(!r)return}for(var i in ni)Object.prototype.hasOwnProperty.call(ni,i)&&(ni[i]=e[ri[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===ai.indexOf(17)&&ai.push(17),-1===ai.indexOf(18)&&ai.push(18),ni[17]=!0,ni[18]=!0);var a=hi();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)&&di(e,r[s],a,t);if(n in oi)for(var u=0;u<oi[n].length;u++)if(("keydown"===e.type&&oi[n][u].keydown||"keyup"===e.type&&oi[n][u].keyup)&&oi[n][u].key){for(var c=oi[n][u],l=c.splitKey,f=c.key.split(l),h=[],p=0;p<f.length;p++)h.push(li(f[p]));h.sort().join("")===ai.sort().join("")&&di(e,c,a,t)}}}function gi(e,t,r){ai=[];var n=Xo(e),o=[],i="all",a=document,s=0,u=!1,c=!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&&(u=t.keyup),void 0!==t.keydown&&(c=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=Jo(ti,e)),(e="*"===(e=e[e.length-1])?"*":li(e))in oi||(oi[e]=[]),oi[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:n[s],method:r,key:n[s],splitKey:l,element:a});void 0!==a&&!function(e){return ci.indexOf(e)>-1}(a)&&window&&(ci.push(a),Zo(a,"keydown",(function(e){mi(e,a)}),f),si||(si=!0,Zo(window,"focus",(function(){ai=[]}),f)),Zo(a,"keyup",(function(e){mi(e,a),function(e){var t=e.keyCode||e.which||e.charCode,r=ai.indexOf(t);if(r>=0&&ai.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&ai.splice(0,ai.length),93!==t&&224!==t||(t=91),t in ni)for(var n in ni[t]=!1,ti)ti[n]===t&&(gi[n]=!1)}(e)}),f))}var yi={setScope:fi,getScope:hi,deleteScope:function(e,t){var r,n;for(var o in e||(e=hi()),oi)if(Object.prototype.hasOwnProperty.call(oi,o))for(r=oi[o],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;hi()===e&&fi(t||"all")},getPressedKeyCodes:function(){return ai.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=li(e)),-1!==ai.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(oi).forEach((function(r){var n=oi[r].find((function(r){return r.scope===t&&r.shortcut===e}));n&&n.method&&n.method()}))},unbind:function(e){if(void 0===e)Object.keys(oi).forEach((function(e){return delete oi[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&pi(e)}));else if("object"==typeof e)e.key&&pi(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=""),pi({key:e,scope:o,method:i,splitKey:"+"})}},keyMap:ei,modifier:ti,modifierMap:ri};for(var vi in yi)Object.prototype.hasOwnProperty.call(yi,vi)&&(gi[vi]=yi[vi]);if("undefined"!=typeof window){var bi=window.hotkeys;gi.noConflict=function(e){return e&&window.hotkeys===gi&&(window.hotkeys=bi),gi},window.hotkeys=gi}gi.filter=function(){return!0};var Ei=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))},Di=function(e){return Ei(e,["INPUT","TEXTAREA","SELECT"])};function wi(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var o=r||{},i=o.enableOnTags,s=o.filter,u=o.keyup,c=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,o;return s&&!s(e)?!f:!!(Di(e)&&!Ei(e,i)||null!=(n=e.target)&&n.isContentEditable&&!m)||!!(null===g.current||document.activeElement===g.current||null!=(o=g.current)&&o.contains(document.activeElement))&&(t(e,r),!0)}),n?[g,i,s].concat(n):[g,i,s]);return(0,a.useEffect)((function(){if(p)return u&&!0!==c&&(r.keydown=!1),gi(e,r||{},y),function(){return gi.unbind(e,y)};gi.unbind(e,y)}),[y,e,p]),g}gi.isPressed;function xi(){return xi=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},xi.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var Fi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect,Si={status:"not-requested",loading:!1,result:void 0,error:void 0},Ai={status:"loading",loading:!0,result:void 0,error:void 0},ki=function(){},Ci={initialState:function(e){return e&&e.executeOnMount?Ai:Si},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return Ai},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:ki,onError:ki},Pi=function(e,t,r){var n,o=function(e){return xi({},Ci,{},e)}(r),i=(0,a.useState)(null),s=i[0],u=i[1],c=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]),u=(0,a.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),c=n,l=(0,a.useCallback)((function(e){return c(xi({},r,{},e))}),[r,c]);return{value:r,set:c,merge:l,reset:o,setLoading:i,setResult:s,setError:u}}(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(u(r),i instanceof Promise)return f.set(i),c.setLoading(),i.then((function(e){h(i)&&c.setResult(e),o.onSuccess(e,{isCurrent:function(){return f.is(i)}})}),(function(e){h(i)&&c.setError(e),o.onError(e,{isCurrent:function(){return f.is(i)}})})),i;var a=i;return c.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),xi({},c.value,{set:c.set,merge:c.merge,reset:c.reset,execute:p,currentPromise:f.get(),currentParams:s})};function Oi(e,t,r){return Pi(e,t,r)}var ji,Ti=function(e,t){return Pi(e,[],xi({},t,{executeOnMount:!1,executeOnUpdate:!1}))},_i=function(e){var t,r,n=e.value,o=e.fetchMore,i=e.merge,s=e.isEnd,u=(t=n,r=(0,a.useRef)(t),Fi((function(){r.current=t})),function(){return r.current}),c=(0,a.useState)(!1),l=c[0],f=c[1],h=(0,a.useRef)(0),p=Ti((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"===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===u().status&&e.result===u().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}},Bi=r(39519),Ri=r.n(Bi),Ii=r(40411),Li=r.n(Ii),Mi=r(10172),Ni=r.n(Mi),$i=r(81538),Ui=r.n($i),zi="bodyAttributes",Hi="htmlAttributes",qi="titleAttributes",Vi={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Gi=(Object.keys(Vi).map((function(e){return Vi[e]})),"charset"),Wi="cssText",Qi="href",Ki="http-equiv",Yi="innerHTML",Zi="itemprop",Ji="name",Xi="property",ea="rel",ta="src",ra="target",na={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},oa="defaultTitle",ia="defer",aa="encodeSpecialCharacters",sa="onChangeClientState",ua="titleTemplate",ca=Object.keys(na).reduce((function(e,t){return e[na[t]]=t,e}),{}),la=[Vi.NOSCRIPT,Vi.SCRIPT,Vi.STYLE],fa="data-react-helmet",ha="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},pa=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},da=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),ma=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},ga=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},ya=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},va=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},ba=function(e){var t=Fa(e,Vi.TITLE),r=Fa(e,ua);if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=Fa(e,oa);return t||n||void 0},Ea=function(e){return Fa(e,sa)||function(){}},Da=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return ma({},e,t)}),{})},wa=function(e,t){return t.filter((function(e){return void 0!==e[Vi.BASE]})).map((function(e){return e[Vi.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o<n.length;o++){var i=n[o].toLowerCase();if(-1!==e.indexOf(i)&&r[i])return t.concat(r)}return t}),[])},xa=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&Pa("Helmet: "+e+' should be of type "Array". Instead found type "'+ha(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var o={};r.filter((function(e){for(var r=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],u=s.toLowerCase();-1===t.indexOf(u)||r===ea&&"canonical"===e[r].toLowerCase()||u===ea&&"stylesheet"===e[u].toLowerCase()||(r=u),-1===t.indexOf(s)||s!==Yi&&s!==Wi&&s!==Zi||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][c]&&(o[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],u=Ui()({},n[s],o[s]);n[s]=u}return e}),[]).reverse()},Fa=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},Sa=(ji=Date.now(),function(e){var t=Date.now();t-ji>16?(ji=t,e(t)):setTimeout((function(){Sa(e)}),0)}),Aa=function(e){return clearTimeout(e)},ka="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Sa:r.g.requestAnimationFrame||Sa,Ca="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Aa:r.g.cancelAnimationFrame||Aa,Pa=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Oa=null,ja=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,f=e.title,h=e.titleAttributes;Ba(Vi.BODY,n),Ba(Vi.HTML,o),_a(f,h);var p={baseTag:Ra(Vi.BASE,r),linkTags:Ra(Vi.LINK,i),metaTags:Ra(Vi.META,a),noscriptTags:Ra(Vi.NOSCRIPT,s),scriptTags:Ra(Vi.SCRIPT,c),styleTags:Ra(Vi.STYLE,l)},d={},m={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(d[e]=r),n.length&&(m[e]=p[e].oldTags)})),t&&t(),u(e,d,m)},Ta=function(e){return Array.isArray(e)?e.join(""):e},_a=function(e,t){void 0!==e&&document.title!==e&&(document.title=Ta(e)),Ba(Vi.TITLE,t)},Ba=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(fa),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var u=a[s],c=t[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),-1===o.indexOf(u)&&o.push(u);var l=i.indexOf(u);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute(fa):r.getAttribute(fa)!==a.join(",")&&r.setAttribute(fa,a.join(","))}},Ra=function(e,t){var r=document.head||document.querySelector(Vi.HEAD),n=r.querySelectorAll(e+"["+fa+"]"),o=Array.prototype.slice.call(n),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===Yi)r.innerHTML=t.innerHTML;else if(n===Wi)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[n]?"":t[n];r.setAttribute(n,s)}r.setAttribute(fa,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},Ia=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}),"")},La=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[na[r]||r]=e[r],t}),t)},Ma=function(e,t,r){switch(e){case Vi.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(n={key:e})[fa]=!0,o=La(r,n),[s().createElement(Vi.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=Ia(r),i=Ta(t);return o?"<"+e+" "+fa+'="true" '+o+">"+va(i,n)+"</"+e+">":"<"+e+" "+fa+'="true">'+va(i,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case zi:case Hi:return{toComponent:function(){return La(t)},toString:function(){return Ia(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,o=((n={key:r})[fa]=!0,n);return Object.keys(t).forEach((function(e){var r=na[e]||e;if(r===Yi||r===Wi){var n=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:n}}else o[r]=t[e]})),s().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!(e===Yi||e===Wi)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+va(n[t],r)+'"';return e?e+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===la.indexOf(e);return t+"<"+e+" "+fa+'="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,r)}}}},Na=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.scriptTags,c=e.styleTags,l=e.title,f=void 0===l?"":l,h=e.titleAttributes;return{base:Ma(Vi.BASE,t,n),bodyAttributes:Ma(zi,r,n),htmlAttributes:Ma(Hi,o,n),link:Ma(Vi.LINK,i,n),meta:Ma(Vi.META,a,n),noscript:Ma(Vi.NOSCRIPT,s,n),script:Ma(Vi.SCRIPT,u,n),style:Ma(Vi.STYLE,c,n),title:Ma(Vi.TITLE,{title:f,titleAttributes:h},n)}},$a=function(e){var t,r;return r=t=function(t){function r(){return pa(this,r),ya(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(e){return!Ni()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Vi.SCRIPT:case Vi.NOSCRIPT:return{innerHTML:t};case Vi.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return ma({},n,((t={})[r.type]=[].concat(n[r.type]||[],[ma({},o,this.mapNestedChildrenToProps(r,i))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case Vi.TITLE:return ma({},o,((t={})[n.type]=a,t.titleAttributes=ma({},i),t));case Vi.BODY:return ma({},o,{bodyAttributes:ma({},i)});case Vi.HTML:return ma({},o,{htmlAttributes:ma({},i)})}return ma({},o,((r={})[n.type]=ma({},i),r))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=ma({},t);return Object.keys(e).forEach((function(t){var n;r=ma({},r,((n={})[t]=e[t],n))})),r},r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.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=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[ca[r]||r]=e[r],t}),t)}(ga(o,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case Vi.LINK:case Vi.META:case Vi.NOSCRIPT:case Vi.SCRIPT:case Vi.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:a,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},r.prototype.render=function(){var t=this.props,r=t.children,n=ga(t,["children"]),o=ma({},n);return r&&(o=this.mapChildrenToProps(r,o)),s().createElement(e,o)},da(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(s().Component),t.propTypes={base:Ri().object,bodyAttributes:Ri().object,children:Ri().oneOfType([Ri().arrayOf(Ri().node),Ri().node]),defaultTitle:Ri().string,defer:Ri().bool,encodeSpecialCharacters:Ri().bool,htmlAttributes:Ri().object,link:Ri().arrayOf(Ri().object),meta:Ri().arrayOf(Ri().object),noscript:Ri().arrayOf(Ri().object),onChangeClientState:Ri().func,script:Ri().arrayOf(Ri().object),style:Ri().arrayOf(Ri().object),title:Ri().string,titleAttributes:Ri().object,titleTemplate:Ri().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=Na({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(Li()((function(e){return{baseTag:wa([Qi,ra],e),bodyAttributes:Da(zi,e),defer:Fa(e,ia),encode:Fa(e,aa),htmlAttributes:Da(Hi,e),linkTags:xa(Vi.LINK,[ea,Qi],e),metaTags:xa(Vi.META,[Ji,Gi,Ki,Xi,Zi],e),noscriptTags:xa(Vi.NOSCRIPT,[Yi],e),onChangeClientState:Ea(e),scriptTags:xa(Vi.SCRIPT,[ta,Yi],e),styleTags:xa(Vi.STYLE,[Wi],e),title:ba(e),titleAttributes:Da(qi,e)}}),(function(e){Oa&&Ca(Oa),e.defer?Oa=ka((function(){ja(e,(function(){Oa=null}))})):(ja(e),Oa=null)}),Na)((function(){return null})));$a.renderStatic=$a.rewind;window.TopWritePlugins={};class Ua extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=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 za(e){let{component:t,defaultComponent:r=a.Fragment,props:n,children:o=null,context:s}=e;return null===t?null:(0,i.jsx)(a.Suspense,{fallback:null,children:(0,i.jsx)(t,{props:n,Component:r,context:s,children:o})})}customElements.define("t-attachment",Ua);class Ha extends a.Component{constructor(){super(...arguments),c()(this,"state",{hasError:!1})}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?null:this.props.children}}var qa=(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=>{return t=e.Component,e=>(0,i.jsx)(Ha,{children:(0,i.jsx)(t,{...e},"WrappedComponent")});var t}));function Va(e){let{component:t,props:r}=e;return(0,a.createElement)(t,r)}function Ga(e){let{props:t,role:r,component:n,context:o}=e;const s=n?(0,i.jsx)(Va,{component:n,props:t,context:o}):null,u=V("components");return(0,a.useMemo)((()=>qa(u,r)),[u,r]).reduce(((e,r)=>(0,i.jsx)(za,{defaultComponent:n,component:r,props:t,context:o,children:e})),s)}function Wa(e){let{props:t,component:r,role:n,context:o}=e;const s=V("components"),u=(0,a.useMemo)((()=>qa(s,n)),[s,n]);return(0,i.jsx)(i.Fragment,{children:u.map(((e,n)=>(0,i.jsx)(za,{defaultComponent:r,component:e,props:t,context:o},n)))})}async function Qa(e){let t=`topwrite-plugin-${e.name}`;if(!W().isDefined(t)){let r=`${e.host}/${e.main}`;try{await W()(r,t,{returnPromise:!0})}catch{console.warn(`插件${e.name}加载失败`)}}}function Ka(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function Ya(){const e=V("book");if(!e)throw new Error("book object not initialized");return e}const Za="localStorage";function Ja(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za;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:()=>{}},es=(e,t)=>{const r=Ja(t?.persistence);return null===r?Xa:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function ts(){const e=Ja(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za);if(!e)return[];const t=[];for(let r=0;r<e.length;r+=1){const n=e.key(r);null!==n&&t.push(n)}return t}function rs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=(0,a.useMemo)((()=>es(e)),[e]),[n,o]=(0,a.useState)((()=>r.get()||t)),i=(0,a.useCallback)((e=>{o(e),e===t?r.del():r.set(e)}),[r]);return(0,a.useEffect)((()=>{const r=r=>{r.key===e&&o((e=>r.newValue!==e?r.newValue||t:e))};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}),[e]),[n,i]}const ns={light:"light",dark:"dark"},os=e=>e===ns.dark?ns.dark:ns.light,is=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):void 0,as=()=>is?.matches?ns.dark:ns.light,ss=e=>{document.documentElement.setAttribute("data-theme",e)},us=(0,a.createContext)(void 0);function cs(e){let{children:t,context:r,theme:n}=e;const o=Ya(),[s,u]=rs(`${r}.${o.id}.theme`,"auto"),[c,l]=(0,a.useState)((()=>{let e;return e=n||"auto"!==s?os(n||s):as(),e}));(0,a.useEffect)((()=>{if(is&&!n&&"auto"===s){const e=e=>{e.matches?l(ns.dark):l(ns.light)};return is.addEventListener("change",e),()=>{is.removeEventListener("change",e)}}}),[s,n]),(0,a.useEffect)((()=>{l("auto"==s?n||as():os(s))}),[s]),(0,a.useEffect)((()=>{ss(c)}),[c]);const f=(0,a.useCallback)((()=>{u(ns.light)}),[]),h=(0,a.useCallback)((()=>{u(ns.dark)}),[]),p=(0,a.useCallback)((()=>{u("auto")}),[]),d=(0,a.useCallback)((()=>{"auto"===s?f():c===ns.light?h():p()}),[c,s,f,h]);return(0,i.jsx)(us.Provider,{value:{theme:c,isAutoTheme:"auto"===s,isDarkTheme:c===ns.dark,setLightTheme:f,setDarkTheme:h,setAutoTheme:p,toggleTheme:d},children:t})}function ls(){const e=(0,a.useContext)(us);if(!e)throw new Error("theme context not exist");return e}const fs=St`
|
|
10
|
+
var Yo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Zo(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function Jo(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 Xo(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 ei={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,"-":Yo?173:189,"=":Yo?61:187,";":Yo?59:186,"'":222,"[":219,"]":221,"\\":220},ti={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},ri={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},ni={16:!1,18:!1,17:!1,91:!1},oi={},ii=1;ii<20;ii++)ei["f".concat(ii)]=111+ii;var ai=[],si=!1,ui="all",ci=[],li=function(e){return ei[e.toLowerCase()]||ti[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function fi(e){ui=e||"all"}function hi(){return ui||"all"}var pi=function(e){var t=e.key,r=e.scope,n=e.method,o=e.splitKey,i=void 0===o?"+":o;Xo(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":li(a);if(oi[s]){r||(r=hi());var u=o>1?Jo(ti,t):[];oi[s]=oi[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,u))}))}}))};function di(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,ni)Object.prototype.hasOwnProperty.call(ni,i)&&(!ni[i]&&t.mods.indexOf(+i)>-1||ni[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||ni[16]||ni[18]||ni[17]||ni[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 mi(e,t){var r=oi["*"],n=e.keyCode||e.which||e.charCode;if(gi.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===ai.indexOf(n)&&229!==n&&ai.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=ri[t];e[t]&&-1===ai.indexOf(r)?ai.push(r):!e[t]&&ai.indexOf(r)>-1?ai.splice(ai.indexOf(r),1):"metaKey"===t&&e[t]&&3===ai.length&&(e.ctrlKey||e.shiftKey||e.altKey||(ai=ai.slice(ai.indexOf(r))))})),n in ni){for(var o in ni[n]=!0,ti)ti[o]===n&&(gi[o]=!0);if(!r)return}for(var i in ni)Object.prototype.hasOwnProperty.call(ni,i)&&(ni[i]=e[ri[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===ai.indexOf(17)&&ai.push(17),-1===ai.indexOf(18)&&ai.push(18),ni[17]=!0,ni[18]=!0);var a=hi();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)&&di(e,r[s],a,t);if(n in oi)for(var u=0;u<oi[n].length;u++)if(("keydown"===e.type&&oi[n][u].keydown||"keyup"===e.type&&oi[n][u].keyup)&&oi[n][u].key){for(var c=oi[n][u],l=c.splitKey,f=c.key.split(l),h=[],p=0;p<f.length;p++)h.push(li(f[p]));h.sort().join("")===ai.sort().join("")&&di(e,c,a,t)}}}function gi(e,t,r){ai=[];var n=Xo(e),o=[],i="all",a=document,s=0,u=!1,c=!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&&(u=t.keyup),void 0!==t.keydown&&(c=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=Jo(ti,e)),(e="*"===(e=e[e.length-1])?"*":li(e))in oi||(oi[e]=[]),oi[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:n[s],method:r,key:n[s],splitKey:l,element:a});void 0!==a&&!function(e){return ci.indexOf(e)>-1}(a)&&window&&(ci.push(a),Zo(a,"keydown",(function(e){mi(e,a)}),f),si||(si=!0,Zo(window,"focus",(function(){ai=[]}),f)),Zo(a,"keyup",(function(e){mi(e,a),function(e){var t=e.keyCode||e.which||e.charCode,r=ai.indexOf(t);if(r>=0&&ai.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&ai.splice(0,ai.length),93!==t&&224!==t||(t=91),t in ni)for(var n in ni[t]=!1,ti)ti[n]===t&&(gi[n]=!1)}(e)}),f))}var yi={setScope:fi,getScope:hi,deleteScope:function(e,t){var r,n;for(var o in e||(e=hi()),oi)if(Object.prototype.hasOwnProperty.call(oi,o))for(r=oi[o],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;hi()===e&&fi(t||"all")},getPressedKeyCodes:function(){return ai.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=li(e)),-1!==ai.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(oi).forEach((function(r){var n=oi[r].find((function(r){return r.scope===t&&r.shortcut===e}));n&&n.method&&n.method()}))},unbind:function(e){if(void 0===e)Object.keys(oi).forEach((function(e){return delete oi[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&pi(e)}));else if("object"==typeof e)e.key&&pi(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=""),pi({key:e,scope:o,method:i,splitKey:"+"})}},keyMap:ei,modifier:ti,modifierMap:ri};for(var vi in yi)Object.prototype.hasOwnProperty.call(yi,vi)&&(gi[vi]=yi[vi]);if("undefined"!=typeof window){var bi=window.hotkeys;gi.noConflict=function(e){return e&&window.hotkeys===gi&&(window.hotkeys=bi),gi},window.hotkeys=gi}gi.filter=function(){return!0};var Ei=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))},Di=function(e){return Ei(e,["INPUT","TEXTAREA","SELECT"])};function wi(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var o=r||{},i=o.enableOnTags,s=o.filter,u=o.keyup,c=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,o;return s&&!s(e)?!f:!!(Di(e)&&!Ei(e,i)||null!=(n=e.target)&&n.isContentEditable&&!m)||!!(null===g.current||document.activeElement===g.current||null!=(o=g.current)&&o.contains(document.activeElement))&&(t(e,r),!0)}),n?[g,i,s].concat(n):[g,i,s]);return(0,a.useEffect)((function(){if(p)return u&&!0!==c&&(r.keydown=!1),gi(e,r||{},y),function(){return gi.unbind(e,y)};gi.unbind(e,y)}),[y,e,p]),g}gi.isPressed;function xi(){return xi=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},xi.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var Fi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect,Si={status:"not-requested",loading:!1,result:void 0,error:void 0},Ai={status:"loading",loading:!0,result:void 0,error:void 0},ki=function(){},Ci={initialState:function(e){return e&&e.executeOnMount?Ai:Si},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return Ai},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:ki,onError:ki},Pi=function(e,t,r){!t&&(t=[]);var n,o=function(e){return xi({},Ci,{},e)}(r),i=(0,a.useState)(null),s=i[0],u=i[1],c=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]),u=(0,a.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),c=(0,a.useCallback)((function(e){return n(xi({},r,{},e))}),[r,n]);return{value:r,set:n,merge:c,reset:o,setLoading:i,setResult:s,setError:u}}(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(e){var t=(0,a.useRef)(e);return Fi((function(){t.current=e})),(0,a.useCallback)((function(){return t.current}),[t])}((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=function(){try{return Promise.resolve(e.apply(void 0,r))}catch(e){return Promise.reject(e)}}();return u(r),f.set(i),c.setLoading(),i.then((function(e){h(i)&&c.setResult(e),o.onSuccess(e,{isCurrent:function(){return f.is(i)}})}),(function(e){h(i)&&c.setError(e),o.onError(e,{isCurrent:function(){return f.is(i)}})})),i})),d=(0,a.useCallback)((function(){return p().apply(void 0,arguments)}),[p]),m=!l();return(0,a.useEffect)((function(){var e=function(){return p().apply(void 0,t)};m&&o.executeOnMount&&e(),!m&&o.executeOnUpdate&&e()}),t),xi({},c.value,{set:c.set,merge:c.merge,reset:c.reset,execute:d,currentPromise:f.get(),currentParams:s})};function Oi(e,t,r){return Pi(e,t,r)}var ji,Ti=function(e,t){return Pi(e,[],xi({},t,{executeOnMount:!1,executeOnUpdate:!1}))},_i=r(39519),Bi=r.n(_i),Ri=r(40411),Ii=r.n(Ri),Li=r(10172),Mi=r.n(Li),Ni=r(81538),$i=r.n(Ni),Ui="bodyAttributes",zi="htmlAttributes",Hi="titleAttributes",qi={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Vi=(Object.keys(qi).map((function(e){return qi[e]})),"charset"),Gi="cssText",Wi="href",Qi="http-equiv",Ki="innerHTML",Yi="itemprop",Zi="name",Ji="property",Xi="rel",ea="src",ta="target",ra={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},na="defaultTitle",oa="defer",ia="encodeSpecialCharacters",aa="onChangeClientState",sa="titleTemplate",ua=Object.keys(ra).reduce((function(e,t){return e[ra[t]]=t,e}),{}),ca=[qi.NOSCRIPT,qi.SCRIPT,qi.STYLE],la="data-react-helmet",fa="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},ha=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},pa=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),da=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},ma=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},ga=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},ya=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},va=function(e){var t=xa(e,qi.TITLE),r=xa(e,sa);if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=xa(e,na);return t||n||void 0},ba=function(e){return xa(e,aa)||function(){}},Ea=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return da({},e,t)}),{})},Da=function(e,t){return t.filter((function(e){return void 0!==e[qi.BASE]})).map((function(e){return e[qi.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o<n.length;o++){var i=n[o].toLowerCase();if(-1!==e.indexOf(i)&&r[i])return t.concat(r)}return t}),[])},wa=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&Ca("Helmet: "+e+' should be of type "Array". Instead found type "'+fa(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var o={};r.filter((function(e){for(var r=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],u=s.toLowerCase();-1===t.indexOf(u)||r===Xi&&"canonical"===e[r].toLowerCase()||u===Xi&&"stylesheet"===e[u].toLowerCase()||(r=u),-1===t.indexOf(s)||s!==Ki&&s!==Gi&&s!==Yi||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][c]&&(o[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],u=$i()({},n[s],o[s]);n[s]=u}return e}),[]).reverse()},xa=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},Fa=(ji=Date.now(),function(e){var t=Date.now();t-ji>16?(ji=t,e(t)):setTimeout((function(){Fa(e)}),0)}),Sa=function(e){return clearTimeout(e)},Aa="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Fa:r.g.requestAnimationFrame||Fa,ka="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Sa:r.g.cancelAnimationFrame||Sa,Ca=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Pa=null,Oa=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,f=e.title,h=e.titleAttributes;_a(qi.BODY,n),_a(qi.HTML,o),Ta(f,h);var p={baseTag:Ba(qi.BASE,r),linkTags:Ba(qi.LINK,i),metaTags:Ba(qi.META,a),noscriptTags:Ba(qi.NOSCRIPT,s),scriptTags:Ba(qi.SCRIPT,c),styleTags:Ba(qi.STYLE,l)},d={},m={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(d[e]=r),n.length&&(m[e]=p[e].oldTags)})),t&&t(),u(e,d,m)},ja=function(e){return Array.isArray(e)?e.join(""):e},Ta=function(e,t){void 0!==e&&document.title!==e&&(document.title=ja(e)),_a(qi.TITLE,t)},_a=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(la),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var u=a[s],c=t[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),-1===o.indexOf(u)&&o.push(u);var l=i.indexOf(u);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute(la):r.getAttribute(la)!==a.join(",")&&r.setAttribute(la,a.join(","))}},Ba=function(e,t){var r=document.head||document.querySelector(qi.HEAD),n=r.querySelectorAll(e+"["+la+"]"),o=Array.prototype.slice.call(n),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===Ki)r.innerHTML=t.innerHTML;else if(n===Gi)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[n]?"":t[n];r.setAttribute(n,s)}r.setAttribute(la,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},Ra=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}),"")},Ia=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[ra[r]||r]=e[r],t}),t)},La=function(e,t,r){switch(e){case qi.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(n={key:e})[la]=!0,o=Ia(r,n),[s().createElement(qi.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=Ra(r),i=ja(t);return o?"<"+e+" "+la+'="true" '+o+">"+ya(i,n)+"</"+e+">":"<"+e+" "+la+'="true">'+ya(i,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case Ui:case zi:return{toComponent:function(){return Ia(t)},toString:function(){return Ra(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,o=((n={key:r})[la]=!0,n);return Object.keys(t).forEach((function(e){var r=ra[e]||e;if(r===Ki||r===Gi){var n=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:n}}else o[r]=t[e]})),s().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!(e===Ki||e===Gi)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+ya(n[t],r)+'"';return e?e+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===ca.indexOf(e);return t+"<"+e+" "+la+'="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,r)}}}},Ma=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.scriptTags,c=e.styleTags,l=e.title,f=void 0===l?"":l,h=e.titleAttributes;return{base:La(qi.BASE,t,n),bodyAttributes:La(Ui,r,n),htmlAttributes:La(zi,o,n),link:La(qi.LINK,i,n),meta:La(qi.META,a,n),noscript:La(qi.NOSCRIPT,s,n),script:La(qi.SCRIPT,u,n),style:La(qi.STYLE,c,n),title:La(qi.TITLE,{title:f,titleAttributes:h},n)}},Na=function(e){var t,r;return r=t=function(t){function r(){return ha(this,r),ga(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(e){return!Mi()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case qi.SCRIPT:case qi.NOSCRIPT:return{innerHTML:t};case qi.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return da({},n,((t={})[r.type]=[].concat(n[r.type]||[],[da({},o,this.mapNestedChildrenToProps(r,i))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case qi.TITLE:return da({},o,((t={})[n.type]=a,t.titleAttributes=da({},i),t));case qi.BODY:return da({},o,{bodyAttributes:da({},i)});case qi.HTML:return da({},o,{htmlAttributes:da({},i)})}return da({},o,((r={})[n.type]=da({},i),r))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=da({},t);return Object.keys(e).forEach((function(t){var n;r=da({},r,((n={})[t]=e[t],n))})),r},r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.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=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[ua[r]||r]=e[r],t}),t)}(ma(o,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case qi.LINK:case qi.META:case qi.NOSCRIPT:case qi.SCRIPT:case qi.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:a,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},r.prototype.render=function(){var t=this.props,r=t.children,n=ma(t,["children"]),o=da({},n);return r&&(o=this.mapChildrenToProps(r,o)),s().createElement(e,o)},pa(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(s().Component),t.propTypes={base:Bi().object,bodyAttributes:Bi().object,children:Bi().oneOfType([Bi().arrayOf(Bi().node),Bi().node]),defaultTitle:Bi().string,defer:Bi().bool,encodeSpecialCharacters:Bi().bool,htmlAttributes:Bi().object,link:Bi().arrayOf(Bi().object),meta:Bi().arrayOf(Bi().object),noscript:Bi().arrayOf(Bi().object),onChangeClientState:Bi().func,script:Bi().arrayOf(Bi().object),style:Bi().arrayOf(Bi().object),title:Bi().string,titleAttributes:Bi().object,titleTemplate:Bi().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=Ma({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(Ii()((function(e){return{baseTag:Da([Wi,ta],e),bodyAttributes:Ea(Ui,e),defer:xa(e,oa),encode:xa(e,ia),htmlAttributes:Ea(zi,e),linkTags:wa(qi.LINK,[Xi,Wi],e),metaTags:wa(qi.META,[Zi,Vi,Qi,Ji,Yi],e),noscriptTags:wa(qi.NOSCRIPT,[Ki],e),onChangeClientState:ba(e),scriptTags:wa(qi.SCRIPT,[ea,Ki],e),styleTags:wa(qi.STYLE,[Gi],e),title:va(e),titleAttributes:Ea(Hi,e)}}),(function(e){Pa&&ka(Pa),e.defer?Pa=Aa((function(){Oa(e,(function(){Pa=null}))})):(Oa(e),Pa=null)}),Ma)((function(){return null})));Na.renderStatic=Na.rewind;window.TopWritePlugins={};class $a extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=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 Ua(e){let{component:t,defaultComponent:r=a.Fragment,props:n,children:o=null,context:s}=e;return null===t?null:(0,i.jsx)(a.Suspense,{fallback:null,children:(0,i.jsx)(t,{props:n,Component:r,context:s,children:o})})}customElements.define("t-attachment",$a);class za extends a.Component{constructor(){super(...arguments),c()(this,"state",{hasError:!1})}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?null:this.props.children}}var Ha=(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=>{return t=e.Component,e=>(0,i.jsx)(za,{children:(0,i.jsx)(t,{...e},"WrappedComponent")});var t}));function qa(e){let{component:t,props:r}=e;return(0,a.createElement)(t,r)}function Va(e){let{props:t,role:r,component:n,context:o}=e;const s=n?(0,i.jsx)(qa,{component:n,props:t,context:o}):null,u=V("components");return(0,a.useMemo)((()=>Ha(u,r)),[u,r]).reduce(((e,r)=>(0,i.jsx)(Ua,{defaultComponent:n,component:r,props:t,context:o,children:e})),s)}function Ga(e){let{props:t,component:r,role:n,context:o}=e;const s=V("components"),u=(0,a.useMemo)((()=>Ha(s,n)),[s,n]);return(0,i.jsx)(i.Fragment,{children:u.map(((e,n)=>(0,i.jsx)(Ua,{defaultComponent:r,component:e,props:t,context:o},n)))})}async function Wa(e){let t=`topwrite-plugin-${e.name}`;if(!W().isDefined(t)){let r=`${e.host}/${e.main}`;try{await W()(r,t,{returnPromise:!0})}catch{console.warn(`插件${e.name}加载失败`)}}}const Qa="localStorage";function Ka(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qa;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 Ya={get:()=>null,set:()=>{},del:()=>{}},Za=(e,t)=>{const r=Ka(t?.persistence);return null===r?Ya:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function Ja(){const e=Ka(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qa);if(!e)return[];const t=[];for(let r=0;r<e.length;r+=1){const n=e.key(r);null!==n&&t.push(n)}return t}function Xa(e,t){if(null===e)return t;if(void 0===t||"string"==typeof t)return e;try{return JSON.parse(e)}catch{return t}}class es{constructor(){c()(this,"listeners",new Map),c()(this,"values",new Map)}subscribe(e,t){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{const r=this.listeners.get(e);r&&(r.delete(t),0===r.size&&this.listeners.delete(e))}}setValue(e,t,r){this.values.set(e,t);const n=Za(e);t===r?n.del():n.set(function(e){return void 0===e||"string"==typeof e?e:JSON.stringify(e)}(t));const o=this.listeners.get(e);o&&o.forEach((e=>e(t)))}getValue(e,t){if(this.values.has(e))return this.values.get(e);const r=Xa(Za(e).get(),t);return this.values.set(e,r),r}handleStorageEvent(e,t){if(e.key&&this.listeners.has(e.key)){const r=t.get(e.key),n=Xa(e.newValue,r);this.values.set(e.key,n);const o=this.listeners.get(e.key);o&&o.forEach((e=>e(n)))}}}const ts=(0,a.createContext)(null);function rs(e){let{children:t}=e;const r=(0,a.useMemo)((()=>new es),[]),n=(0,a.useMemo)((()=>new Map),[]);return(0,a.useEffect)((()=>{const e=e=>{r.handleStorageEvent(e,n)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[r,n]),(0,i.jsx)(ts.Provider,{value:r,children:t})}function ns(e,t){const r=(0,a.useContext)(ts);if(!r)throw new Error("useLocalStorageState must be used within a LocalStorageStateProvider");const[n,o]=(0,a.useState)((()=>r.getValue(e,t))),i=(0,a.useCallback)((n=>{r.setValue(e,n,t)}),[r,e,t]);return(0,a.useEffect)((()=>r.subscribe(e,o)),[r,e]),[n,i]}function os(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function is(){const e=V("book");if(!e)throw new Error("book object not initialized");return e}const as={light:"light",dark:"dark"},ss=e=>e===as.dark?as.dark:as.light,us=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):void 0,cs=()=>us?.matches?as.dark:as.light,ls=e=>{document.documentElement.setAttribute("data-theme",e)},fs=(0,a.createContext)(void 0);function hs(e){let{children:t,context:r,theme:n}=e;const o=is(),[s,u]=ns(`${r}.${o.id}.theme`,"auto"),[c,l]=(0,a.useState)((()=>{let e;return e=n||"auto"!==s?ss(n||s):cs(),e}));(0,a.useEffect)((()=>{if(us&&!n&&"auto"===s){const e=e=>{e.matches?l(as.dark):l(as.light)};return us.addEventListener("change",e),()=>{us.removeEventListener("change",e)}}}),[s,n]),(0,a.useEffect)((()=>{l("auto"==s?n||cs():ss(s))}),[s]),(0,a.useEffect)((()=>{ls(c)}),[c]);const f=(0,a.useCallback)((()=>{u(as.light)}),[]),h=(0,a.useCallback)((()=>{u(as.dark)}),[]),p=(0,a.useCallback)((()=>{u("auto")}),[]),d=(0,a.useCallback)((()=>{"auto"===s?f():c===as.light?h():p()}),[c,s,f,h]);return(0,i.jsx)(fs.Provider,{value:{theme:c,isAutoTheme:"auto"===s,isDarkTheme:c===as.dark,setLightTheme:f,setDarkTheme:h,setAutoTheme:p,toggleTheme:d},children:t})}function ps(){const e=(0,a.useContext)(fs);if(!e)throw new Error("theme context not exist");return e}const ds=St`
|
|
11
11
|
:root {
|
|
12
12
|
--ttw-color: #333;
|
|
13
13
|
--ttw-primary-color: #3c60ff;
|
|
@@ -72,7 +72,7 @@ var Yo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf(
|
|
|
72
72
|
cursor: text;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,ms=new class extends N{constructor(){super(...arguments),c()(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},gs=new class extends N{};var ys=Object.freeze({__proto__:null,components:ms,options:gs});const vs=(0,a.createContext)(void 0),bs=()=>{const e=(0,a.useContext)(vs);if(void 0===e)throw new Error("useIntlContext must be used within a Layout component");return e},Es=e=>{let{children:t}=e;const{locale:r,messages:n}=bs(),o=(0,a.useMemo)((()=>Jn({locale:r,messages:n,defaultLocale:"en"},{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}})),[r,n]);return(0,i.jsx)(yn,{value:o,children:t})},Ds=e=>{let{children:t,locale:r,messages:n}=e;const[o,s]=(0,a.useState)(n);return(0,i.jsx)(vs.Provider,{value:{locale:r,messages:o,setMessages:s},children:(0,i.jsx)(Es,{children:t})})};function ws(e){return e.__esModule&&e.default?e.default:e}class xs{constructor(e,t,r){c()(this,"name",void 0),c()(this,"book",void 0),c()(this,"models",{...ys}),c()(this,"components",[]),c()(this,"activates",[]),c()(this,"plugins",[]),c()(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&&(r=`plugin:setting:${t}`),this.components.push(os(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models[`@${t}@${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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.language,r=arguments.length>2?arguments[2]:void 0;t=this.detectLocale(t);const n=await this.loadMessages(t,e),o=z(this.models,{book:this.book,components:this.components,...this.initialState}),a=e=>{let{children:t}=e;return(0,i.jsx)(i.Fragment,{children:t})},s=e=>{let{children:t}=e;const r=(0,i.jsx)(Va,{role:`activate:${this.name}`,props:{children:t,name:this.name},component:a});return this.activates.reduce(((e,t)=>{const r=t(this.name);return void 0!==r?(0,i.jsx)(i.Fragment,{children:r}):e}),r)};return e=>{let{children:a}=e;return(0,i.jsx)(q,{store:o,children:(0,i.jsx)(rs,{children:(0,i.jsxs)(hs,{context:this.name,theme:r,children:[(0,i.jsx)(ds,{}),(0,i.jsx)(Ds,{locale:t,messages:n,children:(0,i.jsx)(s,{children:a})})]})})})}}detectLocale(e){const t=Za(`${this.name}.${this.book.id}.lang`);e=t.get()||e;const r=new URLSearchParams(window.location.search).get("lang");return r&&(t.set(r),e=r),document.documentElement.setAttribute("lang",e),e}async loadMessages(e,t){return await this.plugins.reduce((async(t,r)=>{const n=ws(await t);return r.localize?Object.assign({},n,ws(await r.localize(e))):n}),t(e))}}async function Fs(e){const{name:t,book:r,models:o,initialState:i,localize:a,pluginCenter:s,locale:u,theme:c}=e,l=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=>!window.TopWritePlugins[e.name]?.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:${o}/meta`)).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(Wa(e));return await Promise.all(s),o.push(...r),window.TopWritePluginsMeta=o,Object.values(window.TopWritePlugins||{})}(r,s),f=new xs(t,r,i);return f.registerModels(o),await f.registerPlugins(l),await f.createApp(a,u,c)}function Ss(e){return function(e){const{actions:t}=(0,a.useContext)(H);return e?t[e]:t}(e)}function As(e){return V(e)}function ks(e){return[As(e),Ss(e)]}function Cs(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 Ps(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 Os(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class js{constructor(e){let{name:t,meta:r,models:n={},components:o={},activate:i,register:a,localize:s,config:u}=e;c()(this,"name",void 0),c()(this,"config",void 0),c()(this,"localize",void 0),c()(this,"models",void 0),c()(this,"components",void 0),c()(this,"activate",void 0),c()(this,"register",void 0),c()(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=u}}const Ts=(0,a.createContext)({}),_s=Ts.Provider,Bs=()=>(0,a.useContext)(Ts);function Rs(e,t){return Bs()[e]||t}const Is=(0,po.O)("root"),Ls=(0,po.O)("element"),Ms=(0,po.O)("text");function Ns(e){return e.filter((e=>!(Ms(e)&&"\n"===e.value)))}function $s(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=Ns(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Ls(t)?a.push($s(e,t,r)):Ms(t)&&a.push(t.value)}return e.call(t,o,i,a.length>0?a:void 0)}function Us(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},qo(e,t)),leafDirective:(e,t)=>e({},"leafDirective",{name:t.name,attributes:t.attributes},qo(e,t)),containerDirective(e,t){"children"in t||(t.children=[]);let r=!1;for(const e of t.children)if(e.data?.directiveLabel){r=!0;break}return r||t.children.unshift({type:"paragraph",children:[{type:"text",value:""}]}),e({},"containerDirective",{name:t.name,attributes:t.attributes},qo(e,t))},heading(e,t){const r=e(t,"heading",qo(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},i=Go(e,o);if(Is(i))return Ns(i.children).map(((e,t)=>Ls(e)?$s(n,e,{key:0,prefix:`h-${t}-`}):Ms(e)?e.value:void 0));if(!Ls(i))throw new Error("Expected root or element, not `"+(i&&i.type||i)+"`");return $s(n,i,{key:0,prefix:"h-"})}function zs(e){let{extensions:t,tree:r,options:n}=e;const o=(0,a.useMemo)((()=>{let e=null;if(n){const o=wo(r).map;o&&(e=Us(o,{extensions:[...t,{link:(e,t)=>{const r=(0,so.B)(t.children);return e(t,"a",{href:(0,Wo.encode)(t.url)},[{type:"text",value:r}])}}]})),"object"==typeof n&&(e=(0,i.jsxs)(i.Fragment,{children:[n.header,e,n.footer]}))}return e}),[t,r,n]);return o?(0,i.jsx)("aside",{children:o}):null}const Hs=e=>{let{value:t}=e;return(0,i.jsx)("pre",{children:(0,i.jsx)("code",{children:t})})},qs=e=>{let{value:t}=e;return(0,i.jsx)("code",{children:t})},Vs=["video","audio"];function Gs(e){const{name:t,attributes:r,children:n}=e;let o=Rs(t),a=`html:${t}`;return customElements.get(`t-${t}`)?o=o||`t-${t}`:Vs.includes(t)||(o=void 0,a=`directive:${t}`),(0,i.jsx)(Va,{role:a,props:{...r,children:n},component:o})}function Ws(e){let{depth:t=5,...r}=e;return(0,a.createElement)(`h${t}`,r)}const Qs={"x-inline":function(e){const{name:t,value:r}=e;return(0,i.jsx)(Va,{role:`inline:${t}`,props:{type:"inline",name:t,value:r},component:qs})},"x-block":function(e){const{name:t,value:r,parameter:n}=e;return(0,i.jsx)(Va,{role:`block:${t}`,props:{type:"block",name:t,parameter:n,value:r},component:Hs})},textDirective:Gs,leafDirective:Gs,containerDirective:function(e){let{name:t,attributes:r,children:n}=e,o=Rs(t),s=`html:${t}`;const[u,...c]=a.Children.toArray(n),l={children:c,label:u,...r};return customElements.get(`t-${t}`)?o=o||`t-${t}`:Vs.includes(t)||(o=void 0,s=`directive:${t}`),(0,i.jsx)(Va,{role:s,props:l,component:o})},heading:function(e){const t=Rs("heading",Ws);return(0,i.jsx)(Va,{role:"html:heading",props:e,component:t})}},Ks=e=>{let{tagName:t,inject:r=!0,...n}=e;const o=Rs(t,t);return r?Qs[t]?(0,a.createElement)(Qs[t],n):Qo.includes(t)?(0,i.jsx)(Va,{role:`html:${t}`,props:n,component:o}):(console.warn(`unknown tagName: ${t}`),null):(0,a.createElement)(o,n)};function Ys(e){let{tree:t,extensions:r,as:n,css:o,header:s,footer:u,inject:c}=e;const l=(0,a.useMemo)((()=>Us(t,{extensions:r,creator:(e,t,r)=>(0,a.createElement)(Ks,{...t,tagName:e,inject:c},r)})),[t,r]);return(0,i.jsxs)("article",{children:[s,(0,i.jsx)(Zs,{$css:o,as:n,children:l}),u]})}const Zs=kt.section`
|
|
76
76
|
-ms-text-size-adjust: 100%;
|
|
77
77
|
-webkit-text-size-adjust: 100%;
|
|
78
78
|
line-height: 1.2;
|
|
@@ -364,13 +364,13 @@ var Yo="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf(
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
${e=>e.$css}
|
|
367
|
-
`;function Ks(e){let{as:t=a.Fragment,children:r,components:o={},aside:s=!0,header:u,footer:c,css:l,sectionAs:f,inject:h=!0,loader:p=null,onShow:d,...m}=e;const g=(0,a.useMemo)((()=>(0,n.JH)().use(lo).freeze()),[]),[y,v]=(0,a.useState)(p),[b,E]=(0,a.useState)(null);return Ss((async()=>{try{const e=await g.run(g.parse(r));E(e)}catch(e){console.warn(e),E(!1)}}),[r,g]),(0,a.useEffect)((()=>{if(null!==b){if(!1===b)v(null);else if(b){const e=g.data("toHastExtensions");v((0,i.jsxs)(Os,{value:o,children:[(0,i.jsx)(Ws,{tree:b,extensions:e,header:u,footer:c,as:f,css:l,inject:h}),(0,i.jsx)(Ns,{tree:b,extensions:e,options:s})]}))}d&&requestAnimationFrame(d)}}),[b,s,u,c,l,f,h]),(0,a.createElement)(t,m,y)}function Ys(e){let{onChange:t,onCompositionStart:r,onCompositionEnd:n,...o}=e;const s=(0,a.useRef)(!1),u=(0,a.useCallback)((e=>{s.current||t?.(e)}),[t]),c=(0,a.useCallback)((e=>{s.current=!0,r?.(e)}),[r]),l=(0,a.useCallback)((e=>{s.current=!1,t?.(e),n?.(e)}),[n,t]);return(0,i.jsx)("input",{...o,onChange:u,onCompositionStart:c,onCompositionEnd:l})}function Zs(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current}function Js(){const{config:e}=Ya();return e.getValue("themeConfig")}function Xs(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function eu(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 tu(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 ru(){return V("options")}const nu=new EventTarget;function ou(){return nu}function iu(){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 au=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 su(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}},23440:(e,t,r)=>{"use strict";var n=r(12611),o=r(87625),i=r(9874),a=r(22776),s=r(93227),u=r(29477),c=r(24851),l=r(52795),f=r(59463),h=r(56391),p=r(44478),d=r(3962),m=r(15472),g=r(55975),y=r(8449),v=r(84829),b=r(37618),E=r(48948),D=r(20447),w=r(19967),x=r(42874),F=r(67784),S=r(18213),A=r(48486),k=r(81100),C=r(46050),P=r(79243),O=r(42363),j=r(47759),T=r(63038),_=r(49522),B=r(18887),R=r(87233),I=r(54426),L=r(3003);function M(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var N=M(o),$=M(i),U=M(a),z=M(c),H=M(l),q=M(f),V=M(v),G=M(O),W=M(j),Q=M(B),K=M(R),Y=M(I),Z=M(L);class J{constructor(e,t,r,n,o){this.id=void 0,this.sha=void 0,this.metadata=void 0,this.summary=void 0,this._config=void 0,this.id=e,this.summary=r,this.config=t,this.metadata=n,this.sha=o}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}setMetadata(e,t){this.metadata||(this.metadata={}),n.set(this.metadata,e,t)}get config(){return this._config}set config(e){e.setKey(`${this.id}:config`),this._config=e}}function X(e,t){return $.default.encrypt(e,t).toString()}function ee(e,t){try{return $.default.decrypt(e,t).toString(U.default)}catch{return""}}J.style=".topwrite/style.css",J.logo="logo.png",J.readme="README.md";var te=Object.freeze({__proto__:null,encrypt:X,decrypt:ee});function re(e){return"string"==typeof e&&e.startsWith("@encrypted:")}class ne{constructor(e,t,r,o){this.key=void 0,this.values=void 0,this.presetValues=void 0,this.schema=void 0,this.values=n.merge(e,o),this.presetValues=o,this.schema=t,this.key=r}setKey(e){this.key=e}getValues(){return this.values}setValues(e){const t=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:"ignore"}).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}getPresetValues(){return this.presetValues}getValue(e,t){return n.get(this.values,e,t)}setValue(e,t){return n.set(this.values,e,t)}toObject(){let e=n.cloneDeep(this.values);this.presetValues&&(e=n.omit(e,n.keys(this.presetValues)));const t=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:["color"]});return t.removeKeyword("default"),t.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.substring(1)))),!0),modifying:!0,errors:!1}),t.addKeyword("encrypt",{validate:(e,t,r,o,i,a)=>(this.key&&e&&!re(t)&&i&&a&&n.set(i,a,`@encrypted:${X(t,this.key)}`),!0),modifying:!0,errors:!1}),t.compile(this.schema)(e),e}toText(){const e=this.toObject();let t="";return n.isEmpty(e)||(t=JSON.stringify(e,null,4)),t}static createFromObject(e,t,r,o){const i=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:["color"]});i.addKeyword("encrypt",{validate:(e,t,o,i,a,s)=>(r&&e&&re(t)&&a&&s&&n.set(a,s,ee(t.substring(11),r)),!0),modifying:!0,errors:!1});const a=i.compile(t);if(!a(e))for(const t of a.errors)e=n.omit(e,t.dataPath.substring(1).split("/"));return new this(e,t,r,o)}}class oe extends ne{constructor(){super(...arguments),this.pluginsConfig={},this.presetPlugins={}}setPresetPlugins(e){this.presetPlugins=e}getPresetPluginConfig(e){return this.presetPlugins[e]}getPlugins(){return Array.from(new Set([...this.getValue("plugins"),...Object.keys(this.presetPlugins)]))}getPluginConfig(e,t){if(!this.pluginsConfig[e]){const r=this.getValue(["pluginsConfig",e],{});this.pluginsConfig[e]=ne.createFromObject(n.cloneDeep(r),t,`${this.key}:${e}`,this.presetPlugins[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",default:"light"},primaryColor:{type:"string",title:"Primary Color",format:"color",default:"#3c60ff"},expandLevel:{type:"integer",title:"Expand level",default:0},navs:{type:"array",title:"Nav configures",items:{type:"object",properties:{title:{title:"Label",type:"string"},url:{title:"Link",type:"string"}},required:["title","url"],additionalProperties:!1},default:[]}},default:{}},plugins:{type:"array",items:{type:"string"},default:[]},pluginsConfig:{type:"object",title:"Configuration for plugins",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:{}},release:{type:"object",title:"Release specific configurations",properties:{pathEncode:{type:"boolean",title:"Whether to encode the chapter path",default:!0}},default:{}}},required:[]};const ie={tokenize:function(e,t,r){function n(t){return t===g.codes.rightParenthesis?f(t):D.factoryDestination(e,o,r,m.types.resourceDestination,m.types.resourceDestinationLiteral,m.types.resourceDestinationLiteralMarker,m.types.resourceDestinationRaw,m.types.resourceDestinationString,y.constants.linkResourceDestinationBalanceMax)(t)}function o(t){return w.markdownLineEndingOrSpace(t)?E.factoryWhitespace(e,i)(t):f(t)}function i(t){return t===g.codes.quotationMark||t===g.codes.apostrophe||t===g.codes.leftParenthesis?F.factoryTitle(e,E.factoryWhitespace(e,a),r,m.types.resourceTitle,m.types.resourceTitleMarker,m.types.resourceTitleString)(t):a(t)}function a(t){return t===g.codes.equalsTo?(e.enter("resourceSize"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),s):f(t)}function s(t){return t===g.codes.lowercaseX?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),c):t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeWidth"),e.enter(m.types.chunkString,{contentType:"string"}),u(t))}function u(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit(m.types.chunkString),e.exit("resourceSizeWidth"),e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):t===g.codes.lowercaseX?(e.exit(m.types.chunkString),e.exit("resourceSizeWidth"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),c):(e.consume(t),u)}function c(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeHeight"),e.enter(m.types.chunkString,{contentType:"string"}),l(t))}function l(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit(m.types.chunkString),e.exit("resourceSizeHeight"),e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.consume(t),l)}function f(n){return n===g.codes.rightParenthesis?(e.enter(m.types.resourceMarker),e.consume(n),e.exit(m.types.resourceMarker),e.exit(m.types.resource),t):r(n)}return function(t){return e.enter(m.types.resource),e.enter(m.types.resourceMarker),e.consume(t),e.exit(m.types.resourceMarker),E.factoryWhitespace(e,n)}}},ae={tokenize:function(e,t,r){const n=this;function o(e){return n.parser.defined.includes(b.normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}return function(t){return V.default.strictEqual(t,g.codes.leftSquareBracket,"expected left bracket"),x.factoryLabel.call(n,e,o,r,m.types.reference,m.types.referenceMarker,m.types.referenceString)(t)}}},se={tokenize:function(e,t,r){function n(n){return 93===n?(e.enter(m.types.referenceMarker),e.consume(n),e.exit(m.types.referenceMarker),e.exit(m.types.reference),t):r(n)}return function(t){return e.enter(m.types.reference),e.enter(m.types.referenceMarker),e.consume(t),e.exit(m.types.referenceMarker),n}}};var ue={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===m.types.labelImage||n.events[a][1].type===m.types.labelLink)&&!n.events[a][1]._balanced){o=n.events[a][1];break}function s(e){return o._balanced=!0,r(e)}function u(r){return r===g.codes.leftParenthesis?e.attempt(ie,t,i?t:s)(r):r===g.codes.leftSquareBracket?e.attempt(ae,t,i?e.attempt(se,t,s):s)(r):i?t(r):s(r)}return function(t){return V.default(t===g.codes.rightSquareBracket,"expected `]`"),o?o._inactive?s(t):(i=n.parser.defined.indexOf(b.normalizeIdentifier(n.sliceSerialize({start:o.end,end:n.now()})))>-1,e.enter(m.types.labelEnd),e.enter(m.types.labelMarker),e.consume(t),e.exit(m.types.labelMarker),e.exit(m.types.labelEnd),u):r(t)}},resolveTo:d.labelEnd.resolveTo,resolveAll:d.labelEnd.resolveAll};const ce=(e,t,r,n)=>{const o=p.image(e,t,r,n);return e.width||e.height?o.replace(/\)$/,` =${e.width||""}${e.height?`x${e.height}`:""})`):o};ce.peek=p.image.peek;const le=e=>{let t;switch(e){case"right":t="--: ";break;case"center":t=":-: ";break;default:t=""}return t},fe={tokenize:function(e,t,r){function n(t){return t===g.codes.rightSquareBracket?r(t):(e.enter("blockQuoteType"),e.enter(m.types.chunkString,{contentType:"string"}),o(t))}function o(t){return t===g.codes.rightSquareBracket?(e.exit(m.types.chunkString),e.exit("blockQuoteType"),e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),i):w.markdownLineEndingOrSpace(t)||!w.asciiAlpha(t)?r(t):(e.consume(t),o)}function i(e){return e===g.codes.leftParenthesis?r(e):t(e)}return function(t){return e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),n}},partial:!0},he={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(t===g.codes.greaterThan){const r=n.containerState;return V.default(r,"expected `containerState` to be defined in container"),r.open||(e.enter(m.types.blockQuote,{_container:!0}),r.open=!0),e.enter(m.types.blockQuotePrefix),e.enter(m.types.blockQuoteMarker),e.consume(t),e.exit(m.types.blockQuoteMarker),C.factorySpace(e,o,m.types.whitespace)}return r(t)};function o(t){return t===g.codes.leftSquareBracket?e.attempt(fe,i,i)(t):i(t)}function i(r){return w.markdownSpace(r)?(e.enter(m.types.blockQuotePrefixWhitespace),e.consume(r),e.exit(m.types.blockQuotePrefixWhitespace),e.exit(m.types.blockQuotePrefix),t):(e.exit(m.types.blockQuotePrefix),t(r))}},continuation:{tokenize:function(e,t,r){return C.factorySpace(e,e.attempt(he,t,r),m.types.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:y.constants.tabSize)}},exit:d.blockQuote.exit},pe="blankLine",de="blankLineSequence",me={name:"blankLine",tokenize:(e,t,r)=>{let n;const o=t=>t===n?(e.consume(t),o):(e.exit(de),i(t)),i=a=>a===n?(e.enter(de),o(a)):w.markdownSpace(a)?C.factorySpace(e,i,m.types.whitespace)(a):a===g.codes.eof||w.markdownLineEnding(a)?(e.exit(pe),t(a)):r(a);return t=>(V.default(t===g.codes.caret,"expected `^`"),e.enter(pe),n=t,i(t))}},ge=function(e,t){void 0===t&&(t="text");let r="";return S.visit(e,t,(function(e){r+=e.value})),r},ye=/^\[toc(?:=(\d)(?:,(\d))?)?]$/im,ve=u.unified().use(z.default).use((function(){const e=this.data();e.micromarkExtensions=[],e.fromMarkdownExtensions=[],e.toMarkdownExtensions=[],e.toHastExtensions=[]})).use(W.default).use(G.default,["yaml"]).use(H.default).use(q.default).use(T.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){S.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:{[g.codes.rightSquareBracket]:ue}}),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:ce}}),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,n)=>{const o=A.paragraph(e,t,r,n);return le(e.align)+o},heading:(e,t,r,n)=>k.heading(e,t,r,n).replace(/^#+\s/,`$&${le(e.align)}`)}}),function(e){S.visit(e,((e,t,r)=>{if((e=>"paragraph"===e.type||"heading"===e.type)(e)){const t=s.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=P.blockquote(e,t,r,n);return e.variant?o.replace(/(^|\s+)>\s/,`$1> [${e.variant}] `):o}}}),e.micromarkExtensions.push({document:{[g.codes.greaterThan]:he}}),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){S.visit(e,"blockquote",(e=>{e.variant&&(e.data={...e.data,hProperties:{className:e.variant}})}))}})).use((function(){const e=this.data();e.toHastExtensions.push({blankLine:e=>e({},"p",[e({},"br")])}),e.micromarkExtensions.push({flow:{[g.codes.caret]:me}}),e.toMarkdownExtensions.push({handlers:{blankLine:()=>"^"}}),e.fromMarkdownExtensions.push({enter:{blankLine:function(e){this.enter({type:"blankLine"},e)}},exit:{blankLine:function(e){this.exit(e)}}})})).use((function(){return function(e){S.visit(e,((e,t,r)=>{if(r&&"root"===r.type&&null!==t&&ge(e).match(ye))return r.children.splice(t,1),[S.SKIP,t]}))}}));function be(e){const t=[];for(const r of e.children){const e=r.children,n=s.select("paragraph:first-child>*",r);if(!n)continue;const o=ge(n);if(!o)continue;let i="";n.url&&(i=decodeURI(n.url),i.match(/[\\:*?"<>|]/)&&(i=""));let a={title:o,ref:i};if(e.length>1){const t=e[e.length-1];_.is(t,"list")&&(a.children=be(t))}t.push(a)}return t}const Ee=ve();class De{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 De(this.data.slice(0,1))}getParent(){return new De(this.data.slice(0,-1))}createChild(e){return new De(this.data.concat(e))}isDescendant(e){return e.toString().startsWith(`${this.toString()}.`)}getNext(){const e=[...this.data];return e[e.length-1]++,new De(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 we{constructor(e){let{title:t,ref:r="",path:n,children:o=[],metadata:i}=e;this.level=void 0,this.title=void 0,this.ref=void 0,this.path=void 0,this.children=void 0,this.metadata=void 0,this.hasPath=!1,this.title=t,this.ref=r,n?(this.hasPath=!0,this.path=n):this.path=r?B.posix.format({...B.posix.parse(r),ext:".html",base:""}):"",this.children=o,this.level=new De,this.metadata=i}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}setMetadata(e,t){this.metadata||(this.metadata={}),n.set(this.metadata,e,t)}getLevel(){return this.level}getTitle(){return this.title}getRef(){return this.ref}getPath(){return this.path}getArticles(){return this.children}getDescendants(){const e=[];return we.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))}toObject(){const e=this.children.map((function(e){return e.toObject()}));return{title:this.title,ref:this.ref,path:this.hasPath?this.path:void 0,metadata:this.metadata,children:n.isEmpty(e)?void 0:e}}static findArticle(e,t){return e.getArticles().reduce(((e,r)=>e||(t(r)?r:we.findArticle(r,t))),void 0)}static createFromObject(e){const t=e.children?.filter((e=>!!e.title)).map((e=>we.createFromObject(e)));return new we({...e,children:t})}}class xe{constructor(e,t,r){void 0===t&&(t=[]),this.level=void 0,this.title=void 0,this.articles=void 0,this.metadata=void 0,this.level=new De,this.title=e,this.articles=t,this.metadata=r}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}getLevel(){return this.level}getTitle(){return this.title}getArticles(){return this.articles}getFirstArticle(){return we.findArticle(this,(()=>!0))}getDescendants(){const e=[];return we.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))}toText(){let e="";return we.findArticle(this,(t=>{const r=t.ref?`[${t.title}](${t.ref.replace(/\s/g,"%20")})`:t.title;return e+=`${n.repeat(" ",t.getDepth()-1)}* ${r}\n`,!1})),e}toObject(){const e=this.articles.map((function(e){return e.toObject()}));return{title:this.title,metadata:this.metadata,articles:n.isEmpty(e)?void 0:e}}static createFromObject(e){const t=e.articles?.filter((e=>!!e.title)).map((e=>we.createFromObject(e)));return new xe(e.title,t,e.metadata)}}class Fe{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=!1),this.parts=void 0,this.json=void 0,this.parts=e,this.json=t,this.indexLevels()}insertPart(e,t){if(e instanceof xe||(e=xe.createFromObject(e)),this.isEmpty())this.parts=[e];else{const r=t?t.getLeafIndex():this.parts.length;this.parts.splice(r,0,e)}this.indexLevels()}updatePart(e,t){const r=this.getByLevel(e);r instanceof xe&&(n.isFunction(t)?t(r):(r.title=t.title,r.metadata=t.metadata))}removePart(e){const t=e.getLeafIndex();this.parts.splice(t,1),0===this.parts.length&&(this.parts=[new xe("")]),this.indexLevels()}insertArticle(e,t){e instanceof we||(e=we.createFromObject(e));const r=this.getParent(t);if(!r)return;const n=r.getArticles(),o=t.getLeafIndex();n.splice(o,0,e),r.indexLevels()}updateArticle(e,t){const r=this.getByLevel(e);r instanceof we&&(n.isFunction(t)?t(r):(r.title=t.title,r.ref=t.ref,r.metadata=t.metadata))}removeArticle(e){const t=this.getParent(e);if(!t)return;const r=t.getArticles(),n=e.getLeafIndex();r.splice(n,1),t.indexLevels()}toText(){let e="";if(1!==this.parts.length||this.parts[0].title)for(let t of this.parts)e+=`## ${t.title}`,e+="\n",e+=t.toText(),e+="\n";else e+=this.parts[0].toText();return e}hasMetadata(){let e=!1;return this.getArticle((t=>!!e||!n.isEmpty(t.metadata)&&(e=!0,!0)),(t=>(n.isEmpty(t.metadata)||(e=!0),!0))),e}isJson(){return this.json}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)?we.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:we.findArticle(r,t))),void 0)}getFirstArticle(){return this.getArticle((()=>!0))}getNextArticle(e){const t=e instanceof we?e.getLevel():e;let r=!1;return this.getArticle((e=>!!r||(r=e.getLevel()==t,!1)))}getPrevArticle(e){const t=e instanceof we?e.getLevel():e;let r;return this.getArticle((e=>e.getLevel()==t||(r=e,!1))),r}getParent(e){const t=(e instanceof we?e.getLevel():e).getParent();if(t)return this.getByLevel(t)}indexLevels(){for(const[e,t]of this.parts.entries()){const r=new De(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}toObject(){return this.parts.map((function(e){return e.toObject()}))}static createFromObject(e){return new Fe(e.map((e=>xe.createFromObject(e))),!0)}static createFromText(e){const t=function(e){const t=Ee.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={title:ge(e).trim()}),_.is(e,"list")){const t=be(e);n?n.articles=(n.articles||[]).concat(t):n={title:"",articles:t}}return n?r.push(n):r.push({title:""}),r}(e);return new Fe(t.map((e=>xe.createFromObject(e))))}static create(e){return"object"==typeof e?Fe.createFromObject(e):Fe.createFromText(e)}}Fe.file={json:"SUMMARY.json",markdown:"SUMMARY.md"};class Se{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 trial(e,t){try{const{data:r}=await K.default.get(`${this.host}/api/trial?book=${e.id}&plugin=${t.name}`);return r}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.flatMap((e=>!e.builtin||this.preset?.[e.name]?(e.preset=!!this.preset?.[e.name],[e]):[]))}}t.YB=void 0;class Ae{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;if(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(),this.letter.length>0){const t=this.letter[0].toUpperCase();e.fillStyle=this.flatColors[t.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)}else e.fillStyle=this.flatColors[0],e.fill()}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 Ae(e,t,r)}}const ke=/^(?:\w+:)?\/\/(\S+)$/,Ce=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Pe=/^[^\s\.]+\.\S{2,}$/;Y.default.attach(),K.default.defaults.raxConfig={retryDelay:2e3,backoffType:"static",shouldRetry:e=>{let{config:t,response:r}=e;const n=t.raxConfig||{};return!(n?.retryDecider&&!n.retryDecider()||!t.method||!n.httpMethodsToRetry?.includes(t.method.toUpperCase())||449!==r?.status)}},K.default.defaults.maxContentLength=1/0,K.default.defaults.maxBodyLength=1/0,K.default.interceptors.response.use((e=>e),(e=>{if(K.default.isAxiosError(e)&&e.response){const{data:t,status:r}=e.response;401===r?e.errors="Unauthorized":function(e){return e&&"object"==typeof e}(t)&&422!==r?"message"in t&&(e.errors=t.message):e.errors=t,"string"!=typeof e.errors?e.message=Object.values(e.errors).join("\n"):e.message=e.errors}return Promise.reject(e)}));const Oe=K.default.isAxiosError;Object.defineProperty(t,"WY",{enumerable:!0,get:function(){return K.default}}),t.l_=ne,t.fy=J,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=Q.default.posix.relative(Q.default.posix.dirname(this.path),e)||".")+(t?"/":"")}resolve(e){return Q.default.posix.join(Q.default.posix.dirname(this.path),e)}},t.$q=Ae,t.aC=De,t.ER=Fe,t.oI=we,t.Lj=xe,t.rK=te,t.NC=function(e){return t.YB=new Se(e)},t.oe=re,t.N0=Oe,t.CB=function(e){const t=e.match(ke);if(!t)return!1;const r=t[1];return!!r&&(Ce.test(r)||Pe.test(r))},t.JH=ve,t.FB=function(e){return Z.default(e).toString()}},87625:(e,t,r)=>{"use strict";var n=r(27499),o=r(36809),i=r(25075),a=r(73200),s=r(46128),u=r(49361),c=r(26302),l=r(13158),f=r(1760);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 x(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,u=r.baseId,c=n.call(e,i,s,void 0,u);return e._fragments[t]=new a({ref:t,fragment:!0,schema:i,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 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,u=this._cache.get(s);if(u)return u;n=n||!1!==this._opts.addUsedSchema;var c=o.normalizeId(this._getId(e));c&&n&&x(this,c);var l,f=!1!==this._opts.validateSchema&&!t;f&&!(l=c&&c==o.normalizeId(e.$schema))&&this.validateSchema(e,!0);var h=o.ids.call(this,e),p=new a({id:c,schema:e,localRefs:h,cacheKey:s,meta:r});"#"!=c[0]&&n&&(this._refs[c]=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(88559);var h=r(63114);y.prototype.addKeyword=h.add,y.prototype.getKeyword=h.get,y.prototype.removeKeyword=h.remove,y.prototype.validateKeyword=h.validate;var p=r(86720);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:F,warn:F,error:F};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 i,this._loadingSchemas={},this._compilations=[],this.RULES=c(),this._getId=function(e){switch(e.schemaId){case"auto":return w;case"id":return E;default:return D}}(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(84862),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var n=r(74502);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 D(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function w(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 x(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function F(){}},25075: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={}}},88559:(e,t,r)=>{"use strict";var n=r(86720).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||u(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 u(e){try{return i._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 o=i._loadingSchemas[n];o||(o=i._loadingSchemas[n]=i._opts.loadSchema(n)).then(a,a);return o.then((function(e){if(!c(n))return s(e).then((function(){c(n)||i.addSchema(e,n,void 0,r)}))})).then((function(){return u(e)}));function a(){delete i._loadingSchemas[n]}function c(e){return i._refs[e]||i._schemas[e]}}(t);throw t}}}},86720:(e,t,r)=>{"use strict";var n=r(36809);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}},49361:(e,t,r)=>{"use strict";var n=r(1760),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,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,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":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:D,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)&&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:D,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 D(e){if(E.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},27499:(e,t,r)=>{"use strict";var n=r(36809),o=r(1760),i=r(86720),a=r(46128),s=r(43833),u=o.ucs2length,c=r(95490),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,D=this._opts,w=[void 0],x={},F=[],S={},A=[],k={},C=[];r=r||{schema:t,refVal:w,refs:x};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 j=this._formats,T=this.RULES;try{var _=R(t,r,p,b);O.validate=_;var B=O.callValidate;return B&&(B.schema=_.schema,B.errors=null,B.refs=_.refs,B.refVal=_.refVal,B.root=_.root,B.$async=_.$async,D.sourceCode&&(B.source=_.source)),_}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,S=!0===t.$async,k=s({isTop:!0,schema:t,isRoot:p,baseId:h,root:a,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:T,validate:s,util:o,resolve:n,resolveRef:I,usePattern:N,useDefault:$,useCustomRule:U,opts:D,formats:j,logger:E.logger,self:E});k=v(w,g)+v(F,d)+v(A,m)+v(C,y)+k,D.processCode&&(k=D.processCode(k,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",k)(E,T,j,r,w,A,C,c,u,l),w[0]=b}catch(e){throw E.logger.error("Error compiling schema, function code:",k),e}return b.schema=t,b.errors=null,b.refs=x,b.refVal=w,b.root=p?b:a,S&&(b.$async=!0),!0===D.sourceCode&&(b.source={code:k,patterns:F,defaults:A}),b}function I(t,o,i){o=n.url(t,o);var a,s,u=x[o];if(void 0!==u)return M(a=w[u],s="refVal["+u+"]");if(!i&&r.refs){var c=r.refs[o];if(void 0!==c)return M(a=r.refVal[c],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,D.inlineRefs)?f:e.call(E,f,r,p,t))}if(void 0!==l)return function(e,t){var r=x[e];w[r]=t}(o,l),M(l,s);!function(e){delete x[e]}(o)}function L(e,t){var r=w.length;return w[r]=t,x[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 N(e){var t=S[e];return void 0===t&&(t=S[e]=F.length,F[t]=e),"pattern"+t}function $(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=k[t];return void 0===r&&(r=k[t]=A.length,A[r]=e),"default"+r}}function U(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,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!==D.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=C.length;return C[f]=s,{code:"customRule"+f,validate:s}}}},36809:(e,t,r)=>{"use strict";var n=r(85648),o=r(95490),i=r(1760),a=r(73200),s=r(20276);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 o,i,s,l=c.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 c(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),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:i};e=u}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=c.call(this,e,t);if(n){var o=n.schema,i=n.baseId;e=n.root;var a=this._getId(o);return a&&(i=D(i,a)),h.call(this,r,i,o,e)}}e.exports=u,u.normalizeId=E,u.fullPath=y,u.url=D,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,h,p){if(""!==t){var d=c._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=c._refs[d];if("string"==typeof y&&(y=c._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(u[d]&&!o(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=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 u;if(!f[s]&&((u=this._getId(r))&&(t=D(t,u)),r.$ref)){var l=D(t,r.$ref),h=c.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 D(e,t){return t=E(t),n.resolve(e,t)}},26302:(e,t,r)=>{"use strict";var n=r(40112),o=r(1760).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}},73200:(e,t,r)=>{"use strict";var n=r(1760);e.exports=function(e){n.copy(e,this)}},51554: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}},1760:(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:u,escapeQuotes:c,equal:r(95490),ucs2length:r(51554),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):u(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,c=o.split("/"),l=0;l<c.length;l++){var p=c[l];p&&(s+=" && "+(i+=u(m(p))))}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 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)*$/,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,"~")}},13158: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],u=a[s];u&&(a[s]={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},71448:(e,t,r)=>{"use strict";var n=r(74502);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"}]}}}},6457:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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),D="exclusive"+i,w="exclType"+i,x="exclIsNumber"+i,F="' + "+(k="op"+i)+" + '";o+=" var schemaExcl"+i+" = "+E+"; ",o+=" var "+D+"; var "+w+" = typeof "+(E="schemaExcl"+i)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var S;b=d;(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var A=o;o=S.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+A+"]); ":o+=" validate.errors = ["+A+"]; return false; ":o+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+w+" == 'number' ? ( ("+D+" = "+n+" === undefined || "+E+" "+y+"= "+n+") ? "+f+" "+v+"= "+E+" : "+f+" "+v+" "+n+" ) : ( ("+D+" = "+E+" === true) ? "+f+" "+v+"= "+n+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { var op"+i+" = "+D+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=d,c=e.errSchemaPath+"/"+d,n=E,h=g)}else{F=y;if((x="number"==typeof m)&&h){var k="'"+F+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" ( "+n+" === undefined || "+m+" "+y+"= "+n+" ? "+f+" "+v+"= "+m+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { "}else{x&&void 0===s?(D=!0,b=d,c=e.errSchemaPath+"/"+d,n=m,v+="="):(x&&(n=Math[p?"min":"max"](m,s)),m===(!x||n)?(D=!0,b=d,c=e.errSchemaPath+"/"+d,v+="="):(D=!1,F+="="));k="'"+F+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+f+" "+v+" "+n+" || "+f+" !== "+f+") { "}}b=b||t,(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+k+", limit: "+n+", exclusive: "+D+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be "+F+" ",o+=h?"' + "+n:n+"'"),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+u:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";A=o;return o=S.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+A+"]); ":o+=" validate.errors = ["+A+"]; return false; ":o+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",l&&(o+=" else { "),o}},30496:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},4080:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},5169:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},41251: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,u=e.util.copy(e),c="";u.level++;var l="valid"+u.level,f=u.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,u.schema=d,u.schemaPath=i+"["+m+"]",u.errSchemaPath=a+"/"+m,n+=" "+e.validate(u)+" ",u.baseId=f,s&&(n+=" if ("+l+") { ",c+="}"));return s&&(n+=h?" if (true) { ":" "+c.slice(0,-1)+" "),n}},84648: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),u=e.errSchemaPath+"/"+t,c=!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,D=-1,w=b.length-1;D<w;)E=b[D+=1],p.schema=E,p.schemaPath=s+"["+D+"]",p.errSchemaPath=u+"/"+D,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(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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else c&&(n+=" if (true) { ");return n}},97890: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}},92508: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),u=e.errSchemaPath+"/"+t,c=!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(u)+" , 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&&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}},21269: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),u=e.errSchemaPath+"/"+t,c=!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=u,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 D=l+"["+m+"]";p.dataPathArr[g]=m;var w=e.validate(p);p.baseId=v,e.util.varOccurences(w,y)<2?n+=" "+e.util.varReplace(w,y,D)+" ":n+=" var "+y+" = "+D+"; "+w+" ",n+=" if ("+d+") break; } ",e.compositeRule=p.compositeRule=E,n+=" if (!"+d+") {"}else n+=" if ("+l+".length == 0) {";var x=x||[];x.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 F=n;return n=x.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++; ",n+=" } else { ",b&&(n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n}},53800:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",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,h="data"+(s||""),p="valid"+a,d="errs__"+a,m=e.opts.$data&&u&&u.$data;m?(i+=" var schema"+a+" = "+e.util.getData(u.$data,s,e.dataPathArr)+"; ",o="schema"+a):o=u;var g,y,v,b,E,D=this,w="definition"+a,x=D.definition,F="";if(m&&x.$data){E="keywordValidate"+a;var S=x.validateSchema;i+=" var "+w+" = RULES.custom['"+t+"'].definition; var "+E+" = "+w+".validate;"}else{if(!(b=e.useCustomRule(D,u,e.schema,e)))return;o="validate.schema"+c,E=b.code,g=x.compile,y=x.inline,v=x.macro}var A=E+".errors",k="i"+a,C="ruleErr"+a,P=x.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(i+=A+" = null;"),i+="var "+d+" = errors;var "+p+";",m&&x.$data&&(F+="}",i+=" if ("+o+" === undefined) { "+p+" = true; } else { ",S&&(F+="}",i+=" "+p+" = "+w+".validateSchema("+o+"); if ("+p+") { ")),y)x.statements?i+=" "+b.validate+" ":i+=" "+p+" = "+b.validate+"; ";else if(v){var O=e.util.copy(e);F="";O.level++;var j="valid"+O.level;O.schema=b.validate,O.schemaPath="";var T=e.compositeRule;e.compositeRule=O.compositeRule=!0;var _=e.validate(O).replace(/validate\.schema/g,E);e.compositeRule=O.compositeRule=T,i+=" "+_}else{(L=L||[]).push(i),i="",i+=" "+E+".call( ",e.opts.passContext?i+="this":i+="self",g||!1===x.schema?i+=" , "+h+" ":i+=" , "+o+" , "+h+" , validate.schema"+e.schemaPath+" ",i+=" , (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var B=s?"data"+(s-1||""):"parentData",R=s?e.dataPathArr[s]:"parentDataProperty",I=i+=" , "+B+" , "+R+" , rootData ) ";i=L.pop(),!1===x.errors?(i+=" "+p+" = ",P&&(i+="await "),i+=I+"; "):i+=P?" var "+(A="customErrors"+a)+" = null; try { "+p+" = await "+I+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+A+" = e.errors; else throw e; } ":" "+A+" = null; "+p+" = "+I+"; "}if(x.modifying&&(i+=" if ("+B+") "+h+" = "+B+"["+R+"];"),i+=""+F,x.valid)f&&(i+=" if (true) { ");else{var L;i+=" if ( ",void 0===x.valid?(i+=" !",i+=v?""+j:""+p):i+=" "+!x.valid+" ",i+=") { ",n=D.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: '"+D.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var M=i;i=L.pop(),!e.compositeRule&&f?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++; ";var N=i;i=L.pop(),y?x.errors?"full"!=x.errors&&(i+=" for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".data = "+h+"; "),i+=" } "):!1===x.errors?i+=" "+N+" ":(i+=" if ("+d+" == errors) { "+N+" } else { for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".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: '"+D.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , 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===x.errors?i+=" "+N+" ":(i+=" if (Array.isArray("+A+")) { if (vErrors === null) vErrors = "+A+"; else vErrors = vErrors.concat("+A+"); errors = vErrors.length; for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; "+C+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".data = "+h+"; "),i+=" } } else { "+N+" } "),i+=" } ",f&&(i+=" else { ")}return i}},75800: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),u=e.errSchemaPath+"/"+t,c=!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(D in a)if("__proto__"!=D){var v=a[D],b=Array.isArray(v)?g:m;b[D]=v}n+="var "+f+" = errors;";var E=e.errorPath;for(var D in n+="var missing"+o+";",g)if((b=g[D]).length){if(n+=" if ( "+l+e.util.getProperty(D)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),c){n+=" && ( ";var w=b;if(w)for(var x=-1,F=w.length-1;x<F;){O=w[x+=1],x&&(n+=" || "),n+=" ( ( "+(B=l+(_=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:_)+") ) "}n+=")) { ";var S="missing"+o,A="' + "+S+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,S,!0):E+" + "+S);var k=k||[];k.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(D)+"', missingProperty: '"+A+"', 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(D)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var C=n;n=k.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+C+"]); ":n+=" validate.errors = ["+C+"]; return false; ":n+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var P=b;if(P)for(var O,j=-1,T=P.length-1;j<T;){O=P[j+=1];var _=e.util.getProperty(O),B=(A=e.util.escapeQuotes(O),l+_);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,O,e.opts.jsonPointers)),n+=" if ( "+B+" === 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(D)+"', missingProperty: '"+A+"', 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(D)+" 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&&(p+="}",n+=" else { ")}e.errorPath=E;var R=h.baseId;for(var D in m){v=m[D];(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(D)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),n+=") { ",h.schema=v,h.schemaPath=s+e.util.getProperty(D),h.errSchemaPath=u+"/"+e.util.escapeFragment(D),n+=" "+e.validate(h)+" ",h.baseId=R,n+=" } ",c&&(n+=" if ("+d+") { ",p+="}"))}return c&&(n+=" "+p+" if ("+f+" == errors) {"),n}},45813: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),u=e.errSchemaPath+"/"+t,c=!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(u)+" , 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&&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}},45341: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),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(i||"");if(!1===e.opts.format)return c&&(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+'"'),c&&(n+=" if (true) { "),n;if(d&&p.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+=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 D=n;return n=E.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}},98739: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),u=e.errSchemaPath+"/"+t,c=!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=u,n+=" var "+h+" = errors; var "+f+" = true; ";var D=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=D,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(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}},40112:(e,t,r)=>{"use strict";e.exports={$ref:r(5925),allOf:r(41251),anyOf:r(84648),$comment:r(97890),const:r(92508),contains:r(21269),dependencies:r(75800),enum:r(45813),format:r(45341),if:r(98739),items:r(81973),maximum:r(6457),minimum:r(6457),maxItems:r(30496),minItems:r(30496),maxLength:r(4080),minLength:r(4080),maxProperties:r(5169),minProperties:r(5169),multipleOf:r(97124),not:r(3755),oneOf:r(86665),pattern:r(89913),properties:r(99446),propertyNames:r(28658),required:r(9501),uniqueItems:r(99383),validate:r(43833)}},81973: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),u=e.errSchemaPath+"/"+t,c=!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 D=u;u=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var w=w||[];w.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 x=n;n=w.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+x+"]); ":n+=" validate.errors = ["+x+"]; return false; ":n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u=D,c&&(d+="}",n+=" else { ")}var F=a;if(F)for(var S,A=-1,k=F.length-1;A<k;)if(S=F[A+=1],e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+A+") { ";var C=l+"["+A+"]";p.schema=S,p.schemaPath=s+"["+A+"]",p.errSchemaPath=u+"/"+A,p.errorPath=e.util.getPathExpr(e.errorPath,A,e.opts.jsonPointers,!0),p.dataPathArr[y]=A;var P=e.validate(p);p.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,C)+" ":n+=" var "+v+" = "+C+"; "+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))){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);C=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,C)+" ":n+=" var "+v+" = "+C+"; "+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)){p.schema=a,p.schemaPath=s,p.errSchemaPath=u,n+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);C=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,C)+" ":n+=" var "+v+" = "+C+"; "+P+" ",c&&(n+=" if (!"+m+") break; "),n+=" }"}return c&&(n+=" "+d+" if ("+h+" == errors) {"),n}},97124:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},3755: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),u=e.errSchemaPath+"/"+t,c=!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=u,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(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}},86665: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),u=e.errSchemaPath+"/"+t,c=!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 D,w=-1,x=E.length-1;w<x;)D=E[w+=1],(e.opts.strictKeywords?"object"==typeof D&&Object.keys(D).length>0||!1===D:e.util.schemaHasRules(D,e.RULES.all))?(p.schema=D,p.schemaPath=s+"["+w+"]",p.errSchemaPath=u+"/"+w,n+=" "+e.validate(p)+" ",p.baseId=g):n+=" var "+m+" = true; ",w&&(n+=" if ("+m+" && "+y+") { "+f+" = false; "+v+" = ["+v+", "+w+"]; } else { ",d+="}"),n+=" if ("+m+") { "+f+" = "+y+" = true; "+v+" = "+w+"; }";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(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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n}},89913:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},99446: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),u=e.errSchemaPath+"/"+t,c=!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(_),D=e.schema.patternProperties||{},w=Object.keys(D).filter(_),x=e.schema.additionalProperties,F=E.length||w.length,S=!1===x,A="object"==typeof x&&Object.keys(x).length,k=e.opts.removeAdditional,C=S||A||k,P=e.opts.ownProperties,O=e.baseId,j=e.schema.required;if(j&&(!e.opts.$data||!j.$data)&&j.length<e.opts.loopRequired)var T=e.util.toHash(j);function _(e){return"__proto__"!==e}if(n+="var "+f+" = errors;var "+d+" = true;",P&&(n+=" var "+b+" = undefined;"),C){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+") { ",F){if(n+=" var isAdditional"+o+" = !(false ",E.length)if(E.length>8)n+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var B=E;if(B)for(var R=-1,I=B.length-1;R<I;)K=B[R+=1],n+=" || "+m+" == "+e.util.toQuotedString(K)+" "}if(w.length){var L=w;if(L)for(var M=-1,N=L.length-1;M<N;)ie=L[M+=1],n+=" || "+e.usePattern(ie)+".test("+m+") "}n+=" ); if (isAdditional"+o+") { "}if("all"==k)n+=" delete "+l+"["+m+"]; ";else{var $=e.errorPath,U="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),S)if(k)n+=" delete "+l+"["+m+"]; ";else{n+=" "+d+" = false; ";var z=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 H=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+H+"]); ":n+=" validate.errors = ["+H+"]; return false; ":n+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=z,c&&(n+=" break; ")}else if(A)if("failing"==k){n+=" var "+f+" = errors; ";var q=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=x,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=x,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+" ",c&&(n+=" if (!"+d+") break; ")}e.errorPath=$}F&&(n+=" } "),n+=" } ",c&&(n+=" if ("+d+") { ",p+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(E.length){var Q=E;if(Q)for(var K,Y=-1,Z=Q.length-1;Y<Z;){var J=a[K=Q[Y+=1]];if(e.opts.strictKeywords?"object"==typeof J&&Object.keys(J).length>0||!1===J:e.util.schemaHasRules(J,e.RULES.all)){var X=e.util.getProperty(K),ee=(V=l+X,W&&void 0!==J.default);h.schema=J,h.schemaPath=s+X,h.errSchemaPath=u+"/"+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(T&&T[K]){n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = false; ";$=e.errorPath,z=u;var re,ne=e.util.escapeQuotes(K);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,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+=" {} ";H=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+H+"]); ":n+=" validate.errors = ["+H+"]; return false; ":n+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=z,e.errorPath=$,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+") { ",p+="}")}}if(w.length){var oe=w;if(oe)for(var ie,ae=-1,se=oe.length-1;ae<se;){J=D[ie=oe[ae+=1]];if(e.opts.strictKeywords?"object"==typeof J&&Object.keys(J).length>0||!1===J:e.util.schemaHasRules(J,e.RULES.all)){h.schema=J,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+" ",c&&(n+=" if (!"+d+") break; "),n+=" } ",c&&(n+=" else "+d+" = true; "),n+=" } ",c&&(n+=" if ("+d+") { ",p+="}")}}}return c&&(n+=" "+p+" if ("+f+" == errors) {"),n}},28658: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),u=e.errSchemaPath+"/"+t,c=!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=u;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,D=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 w=d,x=e.compositeRule;e.compositeRule=h.compositeRule=!0;var F=e.validate(h);h.baseId=D,e.util.varOccurences(F,v)<2?n+=" "+e.util.varReplace(F,v,w)+" ":n+=" var "+v+" = "+w+"; "+F+" ",e.compositeRule=h.compositeRule=x,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(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}},5925:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",a=e.level,s=e.dataLevel,u=e.schema[t],c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(s||""),h="valid"+a;if("#"==u||"#/"==u)e.isRoot?(n=e.async,o="validate"):(n=!0===e.root.schema.$async,o="root.refVal[0]");else{var p=e.resolveRef(e.baseId,u,e.isRoot);if(void 0===p){var d=e.MissingRefError.message(e.baseId,u);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(c)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(u)+" , 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,u,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=u,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}},9501: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),u=e.errSchemaPath+"/"+t,c=!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,D=h||d.length>=e.opts.loopRequired,w=e.opts.ownProperties;if(c)if(n+=" var missing"+o+"; ",D){h||(n+=" var "+p+" = validate.schema"+s+"; ");var x="' + "+(P="schema"+o+"["+(A="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 "+A+" = 0; "+A+" < "+p+".length; "+A+"++) { "+f+" = "+l+"["+p+"["+A+"]] !== undefined ",w&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", "+p+"["+A+"]) "),n+="; if (!"+f+") break; } ",h&&(n+=" } "),n+=" if (!"+f+") { ",(C=C||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",n+="' "),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++; ",n+=" } else { "}else{n+=" if ( ";var S=d;if(S)for(var A=-1,k=S.length-1;A<k;){j=S[A+=1],A&&(n+=" || "),n+=" ( ( "+(R=l+(B=e.util.getProperty(j)))+" === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(j)+"') "),n+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?j:B)+") ) "}n+=") { ";var C;x="' + "+(P="missing"+o)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,P,!0):E+" + "+P),(C=C||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";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++; ",n+=" } else { "}else if(D){h||(n+=" var "+p+" = validate.schema"+s+"; ");var P;x="' + "+(P="schema"+o+"["+(A="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(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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 "+A+" = 0; "+A+" < "+p+".length; "+A+"++) { if ("+l+"["+p+"["+A+"]] === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+p+"["+A+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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 j,T=-1,_=O.length-1;T<_;){j=O[T+=1];var B=e.util.getProperty(j),R=(x=e.util.escapeQuotes(j),l+B);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,j,e.opts.jsonPointers)),n+=" if ( "+R+" === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(j)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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}},99383:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},43833: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 u="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(u);e.logger.warn(u)}}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 c=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"+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(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=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+=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;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)),o&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+c+" = errors;"}g="valid"+c,d=!e.opts.allErrors;var E="",D="",w=e.schema.type,x=Array.isArray(w);if(w&&e.opts.nullable&&!0===e.schema.nullable&&(x?-1==w.indexOf("null")&&(w=w.concat("null")):"null"!=w&&(w=[w,"null"],x=!0)),x&&1==w.length&&(w=w[0],x=!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")),w){if(e.opts.coerceTypes)var F=e.util.coerceToTypes(e.opts.coerceTypes,w);var S=e.RULES.types[w];if(F||x||!0===S||S&&!Z(S)){h=e.schemaPath+".type",p=e.errSchemaPath+"/type",h=e.schemaPath+".type",p=e.errSchemaPath+"/type";var A=x?"checkDataTypes":"checkDataType";if(n+=" if ("+e.util[A](w,m,e.opts.strictNumbers,!0)+") { ",F){var k="dataType"+c,C="coerced"+c;n+=" var "+k+" = typeof "+m+"; var "+C+" = undefined; ","array"==e.opts.coerceTypes&&(n+=" if ("+k+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+k+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+C+" = "+m+"; } "),n+=" if ("+C+" !== undefined) ; ";var P=F;if(P)for(var O,j=-1,T=P.length-1;j<T;)"string"==(O=P[j+=1])?n+=" else if ("+k+" == 'number' || "+k+" == 'boolean') "+C+" = '' + "+m+"; else if ("+m+" === null) "+C+" = ''; ":"number"==O||"integer"==O?(n+=" else if ("+k+" == 'boolean' || "+m+" === null || ("+k+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==O&&(n+=" && !("+m+" % 1)"),n+=")) "+C+" = +"+m+"; "):"boolean"==O?n+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+C+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+C+" = true; ":"null"==O?n+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+C+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(n+=" else if ("+k+" == 'string' || "+k+" == 'number' || "+k+" == 'boolean' || "+m+" == null) "+C+" = ["+m+"]; ");n+=" else { ",(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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 ("+C+" !== undefined) { ";var _=l?"data"+(l-1||""):"parentData";n+=" "+m+" = "+C+"; ",l||(n+="if ("+_+" !== undefined)"),n+=" "+_+"["+(l?e.dataPathArr[l]:"parentDataProperty")+"] = "+C+"; } "}else{(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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&&!i)n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(n+=" } if (errors === ",n+=v?"0":"errs_"+c,n+=") { ",D+="}");else{var B=e.RULES;if(B)for(var R=-1,I=B.length-1;R<I;)if(Z(S=B[R+=1])){if(S.type&&(n+=" if ("+e.util.checkDataType(S.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==S.type&&e.schema.properties){f=e.schema.properties;var L=Object.keys(f);if(L)for(var M,N=-1,$=L.length-1;N<$;){if(void 0!==(H=f[M=L[N+=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(H.default)+" ":n+=" "+JSON.stringify(H.default)+" ",n+="; "}}}else if("array"==S.type&&Array.isArray(e.schema.items)){var z=e.schema.items;if(z){j=-1;for(var H,q=z.length-1;j<q;)if(void 0!==(H=z[j+=1]).default){U=m+"["+j+"]";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(H.default)+" ":n+=" "+JSON.stringify(H.default)+" ",n+="; "}}}var V=S.rules;if(V)for(var G,W=-1,Q=V.length-1;W<Q;)if(J(G=V[W+=1])){var K=G.code(e,G.keyword,S.type);K&&(n+=" "+K+" ",d&&(E+="}"))}if(d&&(n+=" "+E+" ",E=""),S.type&&(n+=" } ",w&&w===S.type&&!F)){n+=" else { ";var Y;h=e.schemaPath+".type",p=e.errSchemaPath+"/type";(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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+=") { ",D+="}")}}function Z(e){for(var t=e.rules,r=0;r<t.length;r++)if(J(t[r]))return!0}function J(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+=" "+D+" "),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_"+c+";",n}},63114:(e,t,r)=>{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i,o=r(53800),i=r(71448);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++)u(e,i[a],t);else u(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 u(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 u={keyword:e,definition:n,custom:!0,code:o,implements:n.implements};i.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,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}}},84829:(e,t,r)=>{"use strict";var n=r(44675);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(18114).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,c=s.ERR_INVALID_ARG_TYPE,l=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,h=s.ERR_MISSING_ARGS,p=r(24924),d=r(35210).inspect,m=r(35210).types,g=m.isPromise,y=m.isRegExp,v=Object.assign?Object.assign:r(37593).assign,b=Object.is?Object.is:r(96959);new Map;function E(){var e=r(55375);i=e.isDeepEqual,a=e.isDeepStrictEqual}var D=!1,w=e.exports=A,x={};function F(e){if(e.message instanceof Error)throw e.message;throw new p(e)}function S(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 A(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];S.apply(void 0,[A,t.length].concat(t))}w.fail=function e(t,r,o,i,a){var s,u=arguments.length;if(0===u)s="Failed";else if(1===u)o=t,t=void 0;else{if(!1===D)D=!0,(n.emitWarning?n.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===u&&(i="!=")}if(o instanceof Error)throw o;var c={actual:t,expected:r,operator:void 0===i?"fail":i,stackStartFn:a||e};void 0!==o&&(c.message=o);var l=new p(c);throw s&&(l.message=s,l.generatedMessage=!0),l},w.AssertionError=p,w.ok=A,w.equal=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t!=r&&F({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},w.notEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t==r&&F({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},w.deepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)||F({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},w.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)&&F({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},w.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),a(t,r)||F({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},w.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E();a(t,r)&&F({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},w.strictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)||F({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},w.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)&&F({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var k=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 C(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"!==o(e)||null===e){var s=new p({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw s.operator=n.name,s}var u=Object.keys(t);if(t instanceof Error)u.push("name","message");else if(0===u.length)throw new l("error",t,"may not be an empty object");return void 0===i&&E(),u.forEach((function(o){"string"==typeof e[o]&&y(t[o])&&t[o].test(e[o])||function(e,t,r,n,o,i){if(!(r in e)||!a(e[r],t[r])){if(!n){var s=new k(e,o),u=new k(t,o,e),c=new p({actual:s,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw c.actual=e,c.expected=t,c.operator=i.name,c}F({actual:e,expected:t,message:n,operator:i.name,stackStartFn:i})}}(e,t,o,r,u,n)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function P(e){if("function"!=typeof e)throw new c("fn","Function",e);try{e()}catch(e){return e}return x}function O(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(!O(t=e()))throw new f("instance of Promise","promiseFn",t)}else{if(!O(e))throw new c("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return x})).catch((function(e){return e}))}))}function T(e,t,r,n){if("string"==typeof r){if(4===arguments.length)throw new c("error",["Object","Error","Function","RegExp"],r);if("object"===o(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"!==o(r)&&"function"!=typeof r)throw new c("error",["Object","Error","Function","RegExp"],r);if(t===x){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";F({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(r&&!C(t,r,n,e))throw t}function _(e,t,r,n){if(t!==x){if("string"==typeof r&&(n=r,r=void 0),!r||C(t,r)){var o=n?": ".concat(n):".",i="doesNotReject"===e.name?"rejection":"exception";F({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 B(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];S.apply(void 0,[B,t.length].concat(t))}w.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];T.apply(void 0,[e,P(t)].concat(n))},w.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 T.apply(void 0,[e,t].concat(n))}))},w.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,P(t)].concat(n))},w.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))}))},w.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"),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}},w.strict=v(B,w,{equal:w.strictEqual,deepEqual:w.deepStrictEqual,notEqual:w.notStrictEqual,notDeepEqual:w.notDeepStrictEqual}),w.strict.strict=w.strict},24924:(e,t,r)=>{"use strict";var n=r(44675);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"!==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 c(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)},u(e)}function c(e,t,r){return c=function(){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}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&l(o,r.prototype),o},c.apply(null,arguments)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(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 p=r(35210).inspect,d=r(18114).codes.ERR_INVALID_ARG_TYPE;function m(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var g="",y="",v="",b="",E={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:"},D=10;function w(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 x(e){return p(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function F(e,t,r){var o="",i="",a=0,s="",u=!1,c=x(e),l=c.split("\n"),f=x(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 w=l[0].length+f[0].length;if(w<=D){if(!("object"===h(e)&&null!==e||"object"===h(t)&&null!==t||0===e&&0===t))return"".concat(E[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(w<(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 F=l[l.length-1],S=f[f.length-1];F===S&&(p++<2?s="\n ".concat(F).concat(s):o=F,l.pop(),f.pop(),0!==l.length&&0!==f.length);)F=l[l.length-1],S=f[f.length-1];var A=Math.max(l.length,f.length);if(0===A){var k=c.split("\n");if(k.length>30)for(k[26]="".concat(g,"...").concat(b);k.length>27;)k.pop();return"".concat(E.notIdentical,"\n\n").concat(k.join("\n"),"\n")}p>3&&(s="\n".concat(g,"...").concat(b).concat(s),u=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var C=0,P=E[r]+"\n".concat(y,"+ actual").concat(b," ").concat(v,"- expected").concat(b),O=" ".concat(g,"...").concat(b," Lines skipped");for(p=0;p<A;p++){var j=p-a;if(l.length<p+1)j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(f[p-2]),C++),i+="\n ".concat(f[p-1]),C++),a=p,o+="\n".concat(v,"-").concat(b," ").concat(f[p]),C++;else if(f.length<p+1)j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(l[p-2]),C++),i+="\n ".concat(l[p-1]),C++),a=p,i+="\n".concat(y,"+").concat(b," ").concat(l[p]),C++;else{var T=f[p],_=l[p],B=_!==T&&(!m(_,",")||_.slice(0,-1)!==T);B&&m(T,",")&&T.slice(0,-1)===_&&(B=!1,_+=","),B?(j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(l[p-2]),C++),i+="\n ".concat(l[p-1]),C++),a=p,i+="\n".concat(y,"+").concat(b," ").concat(_),o+="\n".concat(v,"-").concat(b," ").concat(T),C+=2):(i+=o,o="",1!==j&&0!==p||(i+="\n ".concat(_),C++))}if(C>20&&p<A-2)return"".concat(P).concat(O,"\n").concat(i,"\n").concat(g,"...").concat(b).concat(o,"\n")+"".concat(g,"...").concat(b)}return"".concat(P).concat(u?O:"","\n").concat(i).concat(o).concat(s).concat(d)}var S=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 d("options","Object",e);var o=e.message,i=e.operator,u=e.stackStartFn,c=e.actual,l=e.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,f(t).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(g="[34m",y="[32m",b="[39m",v="[31m"):(g="",y="",b="",v="")),"object"===h(c)&&null!==c&&"object"===h(l)&&null!==l&&"stack"in c&&c instanceof Error&&"stack"in l&&l instanceof Error&&(c=w(c),l=w(l)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,f(t).call(this,F(c,l,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var m=E[i],D=x(c).split("\n");if("notStrictEqual"===i&&"object"===h(c)&&null!==c&&(m=E.notStrictEqualObject),D.length>30)for(D[26]="".concat(g,"...").concat(b);D.length>27;)D.pop();r=1===D.length?a(this,f(t).call(this,"".concat(m," ").concat(D[0]))):a(this,f(t).call(this,"".concat(m,"\n\n").concat(D.join("\n"),"\n")))}else{var S=x(c),A="",k=E[i];"notDeepEqual"===i||"notEqual"===i?(S="".concat(E[i],"\n\n").concat(S)).length>1024&&(S="".concat(S.slice(0,1021),"...")):(A="".concat(x(l)),S.length>512&&(S="".concat(S.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),"deepEqual"===i||"equal"===i?S="".concat(k,"\n\n").concat(S,"\n\nshould equal\n\n"):A=" ".concat(i," ").concat(A)),r=a(this,f(t).call(this,"".concat(S).concat(A)))}return Error.stackTraceLimit=p,r.generatedMessage=!o,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=i,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&&l(e,t)}(t,e),r=t,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:p.custom,value:function(e,t){return p(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}))}}],u&&i(r.prototype,u),c&&i(r,c),t}(u(Error));e.exports=S},18114:(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,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=o(this,i(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,o){var i,a,u,c;if(void 0===s&&(s=r(84829)),s("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!u||u<0?0:+u,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"))c="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";c='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(f(t,"type"))}return c+=". 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===u&&(u=r(35210));var o=u.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(84829)),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=c},55375:(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},u=Object.is?Object.is:r(96959),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:r(74300);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(35210).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,v=m.isDate,b=m.isMap,E=m.isRegExp,D=m.isSet,w=m.isNativeError,x=m.isBoxedPrimitive,F=m.isNumberObject,S=m.isStringObject,A=m.isBooleanObject,k=m.isBigIntObject,C=m.isSymbolObject,P=m.isFloat32Array,O=m.isFloat64Array;function j(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 T(e){return Object.keys(e).filter(j).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}
|
|
367
|
+
`;function Js(e){let{as:t=a.Fragment,children:r,components:o={},aside:s=!0,header:u,footer:c,css:l,sectionAs:f,inject:h=!0,loader:p=null,onShow:d,...m}=e;const g=(0,a.useMemo)((()=>(0,n.JH)().use(lo).freeze()),[]),[y,v]=(0,a.useState)(p),[b,E]=(0,a.useState)(null);return Cs((async()=>{try{const e=await g.run(g.parse(r));E(e)}catch(e){console.warn(e),E(!1)}}),[r,g]),(0,a.useEffect)((()=>{if(null!==b){if(!1===b)v(null);else if(b){const e=g.data("toHastExtensions");v((0,i.jsxs)(_s,{value:o,children:[(0,i.jsx)(Ys,{tree:b,extensions:e,header:u,footer:c,as:f,css:l,inject:h}),(0,i.jsx)(zs,{tree:b,extensions:e,options:s})]}))}d&&requestAnimationFrame(d)}}),[b,s,u,c,l,f,h]),(0,a.createElement)(t,m,y)}function Xs(e){let{onChange:t,onCompositionStart:r,onCompositionEnd:n,...o}=e;const s=(0,a.useRef)(!1),u=(0,a.useCallback)((e=>{s.current||t?.(e)}),[t]),c=(0,a.useCallback)((e=>{s.current=!0,r?.(e)}),[r]),l=(0,a.useCallback)((e=>{s.current=!1,t?.(e),n?.(e)}),[n,t]);return(0,i.jsx)("input",{...o,onChange:u,onCompositionStart:c,onCompositionEnd:l})}function eu(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current}function tu(){const{config:e}=is();return e.getValue("themeConfig")}function ru(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function nu(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 ou(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 iu(){return V("options")}const au=new EventTarget;function su(){return au}function uu(){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 cu=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 lu(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}},23440:(e,t,r)=>{"use strict";var n=r(12611),o=r(87625),i=r(9874),a=r(22776),s=r(93227),u=r(29477),c=r(24851),l=r(52795),f=r(59463),h=r(56391),p=r(44478),d=r(3962),m=r(15472),g=r(55975),y=r(8449),v=r(84829),b=r(37618),E=r(48948),D=r(20447),w=r(19967),x=r(42874),F=r(67784),S=r(18213),A=r(48486),k=r(81100),C=r(46050),P=r(79243),O=r(42363),j=r(47759),T=r(63038),_=r(49522),B=r(18887),R=r(87233),I=r(54426),L=r(3003);function M(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var N=M(o),$=M(i),U=M(a),z=M(c),H=M(l),q=M(f),V=M(v),G=M(O),W=M(j),Q=M(B),K=M(R),Y=M(I),Z=M(L);class J{constructor(e,t,r,n,o){this.id=void 0,this.sha=void 0,this.metadata=void 0,this.summary=void 0,this._config=void 0,this.id=e,this.summary=r,this.config=t,this.metadata=n,this.sha=o}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}setMetadata(e,t){this.metadata||(this.metadata={}),n.set(this.metadata,e,t)}get config(){return this._config}set config(e){e.setKey(`${this.id}:config`),this._config=e}}function X(e,t){return $.default.encrypt(e,t).toString()}function ee(e,t){try{return $.default.decrypt(e,t).toString(U.default)}catch{return""}}J.style=".topwrite/style.css",J.logo="logo.png",J.readme="README.md";var te=Object.freeze({__proto__:null,encrypt:X,decrypt:ee});function re(e){return"string"==typeof e&&e.startsWith("@encrypted:")}class ne{constructor(e,t,r,o){this.key=void 0,this.values=void 0,this.presetValues=void 0,this.schema=void 0,this.values=n.merge(e,o),this.presetValues=o,this.schema=t,this.key=r}setKey(e){this.key=e}getValues(){return this.values}setValues(e){const t=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:"ignore"}).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}getPresetValues(){return this.presetValues}getValue(e,t){return n.get(this.values,e,t)}setValue(e,t){return n.set(this.values,e,t)}toObject(){let e=n.cloneDeep(this.values);this.presetValues&&(e=n.omit(e,n.keys(this.presetValues)));const t=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:["color"]});return t.removeKeyword("default"),t.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.substring(1)))),!0),modifying:!0,errors:!1}),t.addKeyword("encrypt",{validate:(e,t,r,o,i,a)=>(this.key&&e&&!re(t)&&i&&a&&n.set(i,a,`@encrypted:${X(t,this.key)}`),!0),modifying:!0,errors:!1}),t.compile(this.schema)(e),e}toText(){const e=this.toObject();let t="";return n.isEmpty(e)||(t=JSON.stringify(e,null,4)),t}static createFromObject(e,t,r,o){const i=new N.default({removeAdditional:!0,useDefaults:!0,allErrors:!0,unknownFormats:["color"]});i.addKeyword("encrypt",{validate:(e,t,o,i,a,s)=>(r&&e&&re(t)&&a&&s&&n.set(a,s,ee(t.substring(11),r)),!0),modifying:!0,errors:!1});const a=i.compile(t);if(!a(e))for(const t of a.errors)e=n.omit(e,t.dataPath.substring(1).split("/"));return new this(e,t,r,o)}}class oe extends ne{constructor(){super(...arguments),this.pluginsConfig={},this.presetPlugins={}}setPresetPlugins(e){this.presetPlugins=e}getPresetPluginConfig(e){return this.presetPlugins[e]}getPlugins(){return Array.from(new Set([...this.getValue("plugins"),...Object.keys(this.presetPlugins)]))}getPluginConfig(e,t){if(!this.pluginsConfig[e]){const r=this.getValue(["pluginsConfig",e],{});this.pluginsConfig[e]=ne.createFromObject(n.cloneDeep(r),t,`${this.key}:${e}`,this.presetPlugins[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",default:"light"},primaryColor:{type:"string",title:"Primary Color",format:"color",default:"#3c60ff"},expandLevel:{type:"integer",title:"Expand level",default:0},navs:{type:"array",title:"Nav configures",items:{type:"object",properties:{title:{title:"Label",type:"string"},url:{title:"Link",type:"string"}},required:["title","url"],additionalProperties:!1},default:[]}},default:{}},plugins:{type:"array",items:{type:"string"},default:[]},pluginsConfig:{type:"object",title:"Configuration for plugins",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:{}},release:{type:"object",title:"Release specific configurations",properties:{pathEncode:{type:"boolean",title:"Whether to encode the chapter path",default:!0}},default:{}},assistant:{type:"object",title:"AI Assistant configurations",properties:{token:{type:"string",title:"ThinkAI Token",encrypt:!0}},default:{}}},required:[]};const ie={tokenize:function(e,t,r){function n(t){return t===g.codes.rightParenthesis?f(t):D.factoryDestination(e,o,r,m.types.resourceDestination,m.types.resourceDestinationLiteral,m.types.resourceDestinationLiteralMarker,m.types.resourceDestinationRaw,m.types.resourceDestinationString,y.constants.linkResourceDestinationBalanceMax)(t)}function o(t){return w.markdownLineEndingOrSpace(t)?E.factoryWhitespace(e,i)(t):f(t)}function i(t){return t===g.codes.quotationMark||t===g.codes.apostrophe||t===g.codes.leftParenthesis?F.factoryTitle(e,E.factoryWhitespace(e,a),r,m.types.resourceTitle,m.types.resourceTitleMarker,m.types.resourceTitleString)(t):a(t)}function a(t){return t===g.codes.equalsTo?(e.enter("resourceSize"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),s):f(t)}function s(t){return t===g.codes.lowercaseX?(e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),c):t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeWidth"),e.enter(m.types.chunkString,{contentType:"string"}),u(t))}function u(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit(m.types.chunkString),e.exit("resourceSizeWidth"),e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):t===g.codes.lowercaseX?(e.exit(m.types.chunkString),e.exit("resourceSizeWidth"),e.enter("resourceSizeMarker"),e.consume(t),e.exit("resourceSizeMarker"),c):(e.consume(t),u)}function c(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.enter("resourceSizeHeight"),e.enter(m.types.chunkString,{contentType:"string"}),l(t))}function l(t){return t===g.codes.rightParenthesis||w.markdownLineEndingOrSpace(t)?(e.exit(m.types.chunkString),e.exit("resourceSizeHeight"),e.exit("resourceSize"),E.factoryWhitespace(e,f)(t)):(e.consume(t),l)}function f(n){return n===g.codes.rightParenthesis?(e.enter(m.types.resourceMarker),e.consume(n),e.exit(m.types.resourceMarker),e.exit(m.types.resource),t):r(n)}return function(t){return e.enter(m.types.resource),e.enter(m.types.resourceMarker),e.consume(t),e.exit(m.types.resourceMarker),E.factoryWhitespace(e,n)}}},ae={tokenize:function(e,t,r){const n=this;function o(e){return n.parser.defined.includes(b.normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}return function(t){return V.default.strictEqual(t,g.codes.leftSquareBracket,"expected left bracket"),x.factoryLabel.call(n,e,o,r,m.types.reference,m.types.referenceMarker,m.types.referenceString)(t)}}},se={tokenize:function(e,t,r){function n(n){return 93===n?(e.enter(m.types.referenceMarker),e.consume(n),e.exit(m.types.referenceMarker),e.exit(m.types.reference),t):r(n)}return function(t){return e.enter(m.types.reference),e.enter(m.types.referenceMarker),e.consume(t),e.exit(m.types.referenceMarker),n}}};var ue={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===m.types.labelImage||n.events[a][1].type===m.types.labelLink)&&!n.events[a][1]._balanced){o=n.events[a][1];break}function s(e){return o._balanced=!0,r(e)}function u(r){return r===g.codes.leftParenthesis?e.attempt(ie,t,i?t:s)(r):r===g.codes.leftSquareBracket?e.attempt(ae,t,i?e.attempt(se,t,s):s)(r):i?t(r):s(r)}return function(t){return V.default(t===g.codes.rightSquareBracket,"expected `]`"),o?o._inactive?s(t):(i=n.parser.defined.indexOf(b.normalizeIdentifier(n.sliceSerialize({start:o.end,end:n.now()})))>-1,e.enter(m.types.labelEnd),e.enter(m.types.labelMarker),e.consume(t),e.exit(m.types.labelMarker),e.exit(m.types.labelEnd),u):r(t)}},resolveTo:d.labelEnd.resolveTo,resolveAll:d.labelEnd.resolveAll};const ce=(e,t,r,n)=>{const o=p.image(e,t,r,n);return e.width||e.height?o.replace(/\)$/,` =${e.width||""}${e.height?`x${e.height}`:""})`):o};ce.peek=p.image.peek;const le=e=>{let t;switch(e){case"right":t="--: ";break;case"center":t=":-: ";break;default:t=""}return t},fe={tokenize:function(e,t,r){function n(t){return t===g.codes.rightSquareBracket?r(t):(e.enter("blockQuoteType"),e.enter(m.types.chunkString,{contentType:"string"}),o(t))}function o(t){return t===g.codes.rightSquareBracket?(e.exit(m.types.chunkString),e.exit("blockQuoteType"),e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),i):w.markdownLineEndingOrSpace(t)||!w.asciiAlpha(t)?r(t):(e.consume(t),o)}function i(e){return e===g.codes.leftParenthesis?r(e):t(e)}return function(t){return e.enter("blockQuoteTypeMarker"),e.consume(t),e.exit("blockQuoteTypeMarker"),n}},partial:!0},he={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(t===g.codes.greaterThan){const r=n.containerState;return V.default(r,"expected `containerState` to be defined in container"),r.open||(e.enter(m.types.blockQuote,{_container:!0}),r.open=!0),e.enter(m.types.blockQuotePrefix),e.enter(m.types.blockQuoteMarker),e.consume(t),e.exit(m.types.blockQuoteMarker),C.factorySpace(e,o,m.types.whitespace)}return r(t)};function o(t){return t===g.codes.leftSquareBracket?e.attempt(fe,i,i)(t):i(t)}function i(r){return w.markdownSpace(r)?(e.enter(m.types.blockQuotePrefixWhitespace),e.consume(r),e.exit(m.types.blockQuotePrefixWhitespace),e.exit(m.types.blockQuotePrefix),t):(e.exit(m.types.blockQuotePrefix),t(r))}},continuation:{tokenize:function(e,t,r){return C.factorySpace(e,e.attempt(he,t,r),m.types.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:y.constants.tabSize)}},exit:d.blockQuote.exit},pe="blankLine",de="blankLineSequence",me={name:"blankLine",tokenize:(e,t,r)=>{let n;const o=t=>t===n?(e.consume(t),o):(e.exit(de),i(t)),i=a=>a===n?(e.enter(de),o(a)):w.markdownSpace(a)?C.factorySpace(e,i,m.types.whitespace)(a):a===g.codes.eof||w.markdownLineEnding(a)?(e.exit(pe),t(a)):r(a);return t=>(V.default(t===g.codes.caret,"expected `^`"),e.enter(pe),n=t,i(t))}},ge=function(e,t){void 0===t&&(t="text");let r="";return S.visit(e,t,(function(e){r+=e.value})),r},ye=/^\[toc(?:=(\d)(?:,(\d))?)?]$/im,ve=u.unified().use(z.default).use((function(){const e=this.data();e.micromarkExtensions=[],e.fromMarkdownExtensions=[],e.toMarkdownExtensions=[],e.toHastExtensions=[]})).use(W.default).use(G.default,["yaml"]).use(H.default).use(q.default).use(T.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){S.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:{[g.codes.rightSquareBracket]:ue}}),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:ce}}),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,n)=>{const o=A.paragraph(e,t,r,n);return le(e.align)+o},heading:(e,t,r,n)=>k.heading(e,t,r,n).replace(/^#+\s/,`$&${le(e.align)}`)}}),function(e){S.visit(e,((e,t,r)=>{if((e=>"paragraph"===e.type||"heading"===e.type)(e)){const t=s.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=P.blockquote(e,t,r,n);return e.variant?o.replace(/(^|\s+)>\s/,`$1> [${e.variant}] `):o}}}),e.micromarkExtensions.push({document:{[g.codes.greaterThan]:he}}),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){S.visit(e,"blockquote",(e=>{e.variant&&(e.data={...e.data,hProperties:{className:e.variant}})}))}})).use((function(){const e=this.data();e.toHastExtensions.push({blankLine:e=>e({},"p",[e({},"br")])}),e.micromarkExtensions.push({flow:{[g.codes.caret]:me}}),e.toMarkdownExtensions.push({handlers:{blankLine:()=>"^"}}),e.fromMarkdownExtensions.push({enter:{blankLine:function(e){this.enter({type:"blankLine"},e)}},exit:{blankLine:function(e){this.exit(e)}}})})).use((function(){return function(e){S.visit(e,((e,t,r)=>{if(r&&"root"===r.type&&null!==t&&ge(e).match(ye))return r.children.splice(t,1),[S.SKIP,t]}))}}));function be(e){const t=[];for(const r of e.children){const e=r.children,n=s.select("paragraph:first-child>*",r);if(!n)continue;const o=ge(n);if(!o)continue;let i="";n.url&&(i=decodeURI(n.url),i.match(/[\\:*?"<>|]/)&&(i=""));let a={title:o,ref:i};if(e.length>1){const t=e[e.length-1];_.is(t,"list")&&(a.children=be(t))}t.push(a)}return t}const Ee=ve();class De{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 De(this.data.slice(0,1))}getParent(){return new De(this.data.slice(0,-1))}createChild(e){return new De(this.data.concat(e))}isDescendant(e){return e.toString().startsWith(`${this.toString()}.`)}getNext(){const e=[...this.data];return e[e.length-1]++,new De(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 we{constructor(e){let{title:t,ref:r="",path:n,children:o=[],metadata:i}=e;this.level=void 0,this.title=void 0,this.ref=void 0,this.path=void 0,this.children=void 0,this.metadata=void 0,this.hasPath=!1,this.title=t,this.ref=r,n?(this.hasPath=!0,this.path=n):this.path=r?B.posix.format({...B.posix.parse(r),ext:".html",base:""}):"",this.children=o,this.level=new De,this.metadata=i}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}setMetadata(e,t){this.metadata||(this.metadata={}),n.set(this.metadata,e,t)}getLevel(){return this.level}getTitle(){return this.title}getRef(){return this.ref}getPath(){return this.path}getArticles(){return this.children}getDescendants(){const e=[];return we.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))}toObject(){const e=this.children.map((function(e){return e.toObject()}));return{title:this.title,ref:this.ref,path:this.hasPath?this.path:void 0,metadata:this.metadata,children:n.isEmpty(e)?void 0:e}}static findArticle(e,t){return e.getArticles().reduce(((e,r)=>e||(t(r)?r:we.findArticle(r,t))),void 0)}static createFromObject(e){const t=e.children?.filter((e=>!!e.title)).map((e=>we.createFromObject(e)));return new we({...e,children:t})}}class xe{constructor(e,t,r){void 0===t&&(t=[]),this.level=void 0,this.title=void 0,this.articles=void 0,this.metadata=void 0,this.level=new De,this.title=e,this.articles=t,this.metadata=r}getMetadata(e,t){return this.metadata?n.get(this.metadata,e,t):t}getLevel(){return this.level}getTitle(){return this.title}getArticles(){return this.articles}getFirstArticle(){return we.findArticle(this,(()=>!0))}getDescendants(){const e=[];return we.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))}toText(){let e="";return we.findArticle(this,(t=>{const r=t.ref?`[${t.title}](${t.ref.replace(/\s/g,"%20")})`:t.title;return e+=`${n.repeat(" ",t.getDepth()-1)}* ${r}\n`,!1})),e}toObject(){const e=this.articles.map((function(e){return e.toObject()}));return{title:this.title,metadata:this.metadata,articles:n.isEmpty(e)?void 0:e}}static createFromObject(e){const t=e.articles?.filter((e=>!!e.title)).map((e=>we.createFromObject(e)));return new xe(e.title,t,e.metadata)}}class Fe{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=!1),this.parts=void 0,this.json=void 0,this.parts=e,this.json=t,this.indexLevels()}insertPart(e,t){if(e instanceof xe||(e=xe.createFromObject(e)),this.isEmpty())this.parts=[e];else{const r=t?t.getLeafIndex():this.parts.length;this.parts.splice(r,0,e)}this.indexLevels()}updatePart(e,t){const r=this.getByLevel(e);r instanceof xe&&(n.isFunction(t)?t(r):(r.title=t.title,r.metadata=t.metadata))}removePart(e){const t=e.getLeafIndex();this.parts.splice(t,1),0===this.parts.length&&(this.parts=[new xe("")]),this.indexLevels()}insertArticle(e,t){e instanceof we||(e=we.createFromObject(e));const r=this.getParent(t);if(!r)return;const n=r.getArticles(),o=t.getLeafIndex();n.splice(o,0,e),r.indexLevels()}updateArticle(e,t){const r=this.getByLevel(e);r instanceof we&&(n.isFunction(t)?t(r):(r.title=t.title,r.ref=t.ref,r.metadata=t.metadata))}removeArticle(e){const t=this.getParent(e);if(!t)return;const r=t.getArticles(),n=e.getLeafIndex();r.splice(n,1),t.indexLevels()}toText(){let e="";if(1!==this.parts.length||this.parts[0].title)for(let t of this.parts)e+=`## ${t.title}`,e+="\n",e+=t.toText(),e+="\n";else e+=this.parts[0].toText();return e}hasMetadata(){let e=!1;return this.getArticle((t=>!!e||!n.isEmpty(t.metadata)&&(e=!0,!0)),(t=>(n.isEmpty(t.metadata)||(e=!0),!0))),e}isJson(){return this.json}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)?we.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:we.findArticle(r,t))),void 0)}getFirstArticle(){return this.getArticle((()=>!0))}getNextArticle(e){const t=e instanceof we?e.getLevel():e;let r=!1;return this.getArticle((e=>!!r||(r=e.getLevel()==t,!1)))}getPrevArticle(e){const t=e instanceof we?e.getLevel():e;let r;return this.getArticle((e=>e.getLevel()==t||(r=e,!1))),r}getParent(e){const t=(e instanceof we?e.getLevel():e).getParent();if(t)return this.getByLevel(t)}indexLevels(){for(const[e,t]of this.parts.entries()){const r=new De(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}toObject(){return this.parts.map((function(e){return e.toObject()}))}static createFromObject(e){return new Fe(e.map((e=>xe.createFromObject(e))),!0)}static createFromText(e){const t=function(e){const t=Ee.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={title:ge(e).trim()}),_.is(e,"list")){const t=be(e);n?n.articles=(n.articles||[]).concat(t):n={title:"",articles:t}}return n?r.push(n):r.push({title:""}),r}(e);return new Fe(t.map((e=>xe.createFromObject(e))))}static create(e){return"object"==typeof e?Fe.createFromObject(e):Fe.createFromText(e)}}Fe.file={json:"SUMMARY.json",markdown:"SUMMARY.md"};class Se{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 trial(e,t){try{const{data:r}=await K.default.get(`${this.host}/api/trial?book=${e.id}&plugin=${t.name}`);return r}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.flatMap((e=>!e.builtin||this.preset?.[e.name]?(e.preset=!!this.preset?.[e.name],[e]):[]))}}t.YB=void 0;class Ae{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;if(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(),this.letter.length>0){const t=this.letter[0].toUpperCase();e.fillStyle=this.flatColors[t.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)}else e.fillStyle=this.flatColors[0],e.fill()}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 Ae(e,t,r)}}const ke=/^(?:\w+:)?\/\/(\S+)$/,Ce=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Pe=/^[^\s\.]+\.\S{2,}$/;Y.default.attach(),K.default.defaults.raxConfig={retryDelay:2e3,backoffType:"static",shouldRetry:e=>{let{config:t,response:r}=e;const n=t.raxConfig||{};return!(n?.retryDecider&&!n.retryDecider()||!t.method||!n.httpMethodsToRetry?.includes(t.method.toUpperCase())||449!==r?.status)}},K.default.defaults.maxContentLength=1/0,K.default.defaults.maxBodyLength=1/0,K.default.interceptors.request.use((e=>{if(e.onMessage){let t=0,r="",n=null;const o=e.onMessage;e.onDownloadProgress=e=>{const i=e.target,{responseText:a}=i;for(;t<e.loaded;){const e=a.substring(t,++t);if(r+=e,"\n"===e){if(n||(n={id:"",event:"",data:""}),"\n"===r)o(n),n=null;else{const e=r.match(/^data:(?<data>.*)/);e&&(n.data=e.groups.data.trim())}r=""}}}}return e})),K.default.interceptors.response.use((e=>e),(e=>{if(K.default.isAxiosError(e)&&e.response){const{data:t,status:r}=e.response;401===r?e.errors="Unauthorized":function(e){return e&&"object"==typeof e}(t)&&422!==r?"message"in t&&(e.errors=t.message):e.errors=t,"string"!=typeof e.errors?e.message=Object.values(e.errors).join("\n"):e.message=e.errors}return Promise.reject(e)}));const Oe=K.default.isAxiosError,je=K.default.isCancel;Object.defineProperty(t,"WY",{enumerable:!0,get:function(){return K.default}}),t.l_=ne,t.fy=J,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=Q.default.posix.relative(Q.default.posix.dirname(this.path),e)||".")+(t?"/":"")}resolve(e){return Q.default.posix.join(Q.default.posix.dirname(this.path),e)}},t.$q=Ae,t.aC=De,t.ER=Fe,t.oI=we,t.Lj=xe,t.rK=te,t.NC=function(e){return t.YB=new Se(e)},t.Mw=je,t.oe=re,t.N0=Oe,t.CB=function(e){const t=e.match(ke);if(!t)return!1;const r=t[1];return!!r&&(Ce.test(r)||Pe.test(r))},t.JH=ve,t.FB=function(e){return Z.default(e).toString()}},87625:(e,t,r)=>{"use strict";var n=r(27499),o=r(36809),i=r(25075),a=r(73200),s=r(46128),u=r(49361),c=r(26302),l=r(13158),f=r(1760);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 x(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,u=r.baseId,c=n.call(e,i,s,void 0,u);return e._fragments[t]=new a({ref:t,fragment:!0,schema:i,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 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,u=this._cache.get(s);if(u)return u;n=n||!1!==this._opts.addUsedSchema;var c=o.normalizeId(this._getId(e));c&&n&&x(this,c);var l,f=!1!==this._opts.validateSchema&&!t;f&&!(l=c&&c==o.normalizeId(e.$schema))&&this.validateSchema(e,!0);var h=o.ids.call(this,e),p=new a({id:c,schema:e,localRefs:h,cacheKey:s,meta:r});"#"!=c[0]&&n&&(this._refs[c]=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(88559);var h=r(63114);y.prototype.addKeyword=h.add,y.prototype.getKeyword=h.get,y.prototype.removeKeyword=h.remove,y.prototype.validateKeyword=h.validate;var p=r(86720);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:F,warn:F,error:F};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 i,this._loadingSchemas={},this._compilations=[],this.RULES=c(),this._getId=function(e){switch(e.schemaId){case"auto":return w;case"id":return E;default:return D}}(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(84862),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var n=r(74502);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 D(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function w(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 x(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function F(){}},25075: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={}}},88559:(e,t,r)=>{"use strict";var n=r(86720).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||u(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 u(e){try{return i._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 o=i._loadingSchemas[n];o||(o=i._loadingSchemas[n]=i._opts.loadSchema(n)).then(a,a);return o.then((function(e){if(!c(n))return s(e).then((function(){c(n)||i.addSchema(e,n,void 0,r)}))})).then((function(){return u(e)}));function a(){delete i._loadingSchemas[n]}function c(e){return i._refs[e]||i._schemas[e]}}(t);throw t}}}},86720:(e,t,r)=>{"use strict";var n=r(36809);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}},49361:(e,t,r)=>{"use strict";var n=r(1760),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,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,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":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:D,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)&&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:D,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 D(e){if(E.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},27499:(e,t,r)=>{"use strict";var n=r(36809),o=r(1760),i=r(86720),a=r(46128),s=r(43833),u=o.ucs2length,c=r(95490),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,D=this._opts,w=[void 0],x={},F=[],S={},A=[],k={},C=[];r=r||{schema:t,refVal:w,refs:x};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 j=this._formats,T=this.RULES;try{var _=R(t,r,p,b);O.validate=_;var B=O.callValidate;return B&&(B.schema=_.schema,B.errors=null,B.refs=_.refs,B.refVal=_.refVal,B.root=_.root,B.$async=_.$async,D.sourceCode&&(B.source=_.source)),_}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,S=!0===t.$async,k=s({isTop:!0,schema:t,isRoot:p,baseId:h,root:a,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:T,validate:s,util:o,resolve:n,resolveRef:I,usePattern:N,useDefault:$,useCustomRule:U,opts:D,formats:j,logger:E.logger,self:E});k=v(w,g)+v(F,d)+v(A,m)+v(C,y)+k,D.processCode&&(k=D.processCode(k,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",k)(E,T,j,r,w,A,C,c,u,l),w[0]=b}catch(e){throw E.logger.error("Error compiling schema, function code:",k),e}return b.schema=t,b.errors=null,b.refs=x,b.refVal=w,b.root=p?b:a,S&&(b.$async=!0),!0===D.sourceCode&&(b.source={code:k,patterns:F,defaults:A}),b}function I(t,o,i){o=n.url(t,o);var a,s,u=x[o];if(void 0!==u)return M(a=w[u],s="refVal["+u+"]");if(!i&&r.refs){var c=r.refs[o];if(void 0!==c)return M(a=r.refVal[c],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,D.inlineRefs)?f:e.call(E,f,r,p,t))}if(void 0!==l)return function(e,t){var r=x[e];w[r]=t}(o,l),M(l,s);!function(e){delete x[e]}(o)}function L(e,t){var r=w.length;return w[r]=t,x[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 N(e){var t=S[e];return void 0===t&&(t=S[e]=F.length,F[t]=e),"pattern"+t}function $(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=k[t];return void 0===r&&(r=k[t]=A.length,A[r]=e),"default"+r}}function U(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,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!==D.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=C.length;return C[f]=s,{code:"customRule"+f,validate:s}}}},36809:(e,t,r)=>{"use strict";var n=r(85648),o=r(95490),i=r(1760),a=r(73200),s=r(20276);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 o,i,s,l=c.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 c(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),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:i};e=u}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=c.call(this,e,t);if(n){var o=n.schema,i=n.baseId;e=n.root;var a=this._getId(o);return a&&(i=D(i,a)),h.call(this,r,i,o,e)}}e.exports=u,u.normalizeId=E,u.fullPath=y,u.url=D,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,h,p){if(""!==t){var d=c._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=c._refs[d];if("string"==typeof y&&(y=c._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(u[d]&&!o(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=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 u;if(!f[s]&&((u=this._getId(r))&&(t=D(t,u)),r.$ref)){var l=D(t,r.$ref),h=c.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 D(e,t){return t=E(t),n.resolve(e,t)}},26302:(e,t,r)=>{"use strict";var n=r(40112),o=r(1760).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}},73200:(e,t,r)=>{"use strict";var n=r(1760);e.exports=function(e){n.copy(e,this)}},51554: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}},1760:(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:u,escapeQuotes:c,equal:r(95490),ucs2length:r(51554),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):u(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,c=o.split("/"),l=0;l<c.length;l++){var p=c[l];p&&(s+=" && "+(i+=u(m(p))))}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 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)*$/,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,"~")}},13158: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],u=a[s];u&&(a[s]={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},71448:(e,t,r)=>{"use strict";var n=r(74502);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"}]}}}},6457:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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),D="exclusive"+i,w="exclType"+i,x="exclIsNumber"+i,F="' + "+(k="op"+i)+" + '";o+=" var schemaExcl"+i+" = "+E+"; ",o+=" var "+D+"; var "+w+" = typeof "+(E="schemaExcl"+i)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var S;b=d;(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var A=o;o=S.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+A+"]); ":o+=" validate.errors = ["+A+"]; return false; ":o+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+w+" == 'number' ? ( ("+D+" = "+n+" === undefined || "+E+" "+y+"= "+n+") ? "+f+" "+v+"= "+E+" : "+f+" "+v+" "+n+" ) : ( ("+D+" = "+E+" === true) ? "+f+" "+v+"= "+n+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { var op"+i+" = "+D+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=d,c=e.errSchemaPath+"/"+d,n=E,h=g)}else{F=y;if((x="number"==typeof m)&&h){var k="'"+F+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" ( "+n+" === undefined || "+m+" "+y+"= "+n+" ? "+f+" "+v+"= "+m+" : "+f+" "+v+" "+n+" ) || "+f+" !== "+f+") { "}else{x&&void 0===s?(D=!0,b=d,c=e.errSchemaPath+"/"+d,n=m,v+="="):(x&&(n=Math[p?"min":"max"](m,s)),m===(!x||n)?(D=!0,b=d,c=e.errSchemaPath+"/"+d,v+="="):(D=!1,F+="="));k="'"+F+"'";o+=" if ( ",h&&(o+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),o+=" "+f+" "+v+" "+n+" || "+f+" !== "+f+") { "}}b=b||t,(S=S||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+k+", limit: "+n+", exclusive: "+D+" } ",!1!==e.opts.messages&&(o+=" , message: 'should be "+F+" ",o+=h?"' + "+n:n+"'"),e.opts.verbose&&(o+=" , schema: ",o+=h?"validate.schema"+u:""+s,o+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";A=o;return o=S.pop(),!e.compositeRule&&l?e.async?o+=" throw new ValidationError(["+A+"]); ":o+=" validate.errors = ["+A+"]; return false; ":o+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } ",l&&(o+=" else { "),o}},30496:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},4080:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},5169:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},41251: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,u=e.util.copy(e),c="";u.level++;var l="valid"+u.level,f=u.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,u.schema=d,u.schemaPath=i+"["+m+"]",u.errSchemaPath=a+"/"+m,n+=" "+e.validate(u)+" ",u.baseId=f,s&&(n+=" if ("+l+") { ",c+="}"));return s&&(n+=h?" if (true) { ":" "+c.slice(0,-1)+" "),n}},84648: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),u=e.errSchemaPath+"/"+t,c=!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,D=-1,w=b.length-1;D<w;)E=b[D+=1],p.schema=E,p.schemaPath=s+"["+D+"]",p.errSchemaPath=u+"/"+D,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(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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else c&&(n+=" if (true) { ");return n}},97890: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}},92508: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),u=e.errSchemaPath+"/"+t,c=!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(u)+" , 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&&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}},21269: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),u=e.errSchemaPath+"/"+t,c=!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=u,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 D=l+"["+m+"]";p.dataPathArr[g]=m;var w=e.validate(p);p.baseId=v,e.util.varOccurences(w,y)<2?n+=" "+e.util.varReplace(w,y,D)+" ":n+=" var "+y+" = "+D+"; "+w+" ",n+=" if ("+d+") break; } ",e.compositeRule=p.compositeRule=E,n+=" if (!"+d+") {"}else n+=" if ("+l+".length == 0) {";var x=x||[];x.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 F=n;return n=x.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++; ",n+=" } else { ",b&&(n+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n}},53800:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",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,h="data"+(s||""),p="valid"+a,d="errs__"+a,m=e.opts.$data&&u&&u.$data;m?(i+=" var schema"+a+" = "+e.util.getData(u.$data,s,e.dataPathArr)+"; ",o="schema"+a):o=u;var g,y,v,b,E,D=this,w="definition"+a,x=D.definition,F="";if(m&&x.$data){E="keywordValidate"+a;var S=x.validateSchema;i+=" var "+w+" = RULES.custom['"+t+"'].definition; var "+E+" = "+w+".validate;"}else{if(!(b=e.useCustomRule(D,u,e.schema,e)))return;o="validate.schema"+c,E=b.code,g=x.compile,y=x.inline,v=x.macro}var A=E+".errors",k="i"+a,C="ruleErr"+a,P=x.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(i+=A+" = null;"),i+="var "+d+" = errors;var "+p+";",m&&x.$data&&(F+="}",i+=" if ("+o+" === undefined) { "+p+" = true; } else { ",S&&(F+="}",i+=" "+p+" = "+w+".validateSchema("+o+"); if ("+p+") { ")),y)x.statements?i+=" "+b.validate+" ":i+=" "+p+" = "+b.validate+"; ";else if(v){var O=e.util.copy(e);F="";O.level++;var j="valid"+O.level;O.schema=b.validate,O.schemaPath="";var T=e.compositeRule;e.compositeRule=O.compositeRule=!0;var _=e.validate(O).replace(/validate\.schema/g,E);e.compositeRule=O.compositeRule=T,i+=" "+_}else{(L=L||[]).push(i),i="",i+=" "+E+".call( ",e.opts.passContext?i+="this":i+="self",g||!1===x.schema?i+=" , "+h+" ":i+=" , "+o+" , "+h+" , validate.schema"+e.schemaPath+" ",i+=" , (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var B=s?"data"+(s-1||""):"parentData",R=s?e.dataPathArr[s]:"parentDataProperty",I=i+=" , "+B+" , "+R+" , rootData ) ";i=L.pop(),!1===x.errors?(i+=" "+p+" = ",P&&(i+="await "),i+=I+"; "):i+=P?" var "+(A="customErrors"+a)+" = null; try { "+p+" = await "+I+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+A+" = e.errors; else throw e; } ":" "+A+" = null; "+p+" = "+I+"; "}if(x.modifying&&(i+=" if ("+B+") "+h+" = "+B+"["+R+"];"),i+=""+F,x.valid)f&&(i+=" if (true) { ");else{var L;i+=" if ( ",void 0===x.valid?(i+=" !",i+=v?""+j:""+p):i+=" "+!x.valid+" ",i+=") { ",n=D.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: '"+D.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var M=i;i=L.pop(),!e.compositeRule&&f?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++; ";var N=i;i=L.pop(),y?x.errors?"full"!=x.errors&&(i+=" for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".data = "+h+"; "),i+=" } "):!1===x.errors?i+=" "+N+" ":(i+=" if ("+d+" == errors) { "+N+" } else { for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".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: '"+D.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , 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===x.errors?i+=" "+N+" ":(i+=" if (Array.isArray("+A+")) { if (vErrors === null) vErrors = "+A+"; else vErrors = vErrors.concat("+A+"); errors = vErrors.length; for (var "+k+"="+d+"; "+k+"<errors; "+k+"++) { var "+C+" = vErrors["+k+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; "+C+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(i+=" "+C+".schema = "+o+"; "+C+".data = "+h+"; "),i+=" } } else { "+N+" } "),i+=" } ",f&&(i+=" else { ")}return i}},75800: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),u=e.errSchemaPath+"/"+t,c=!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(D in a)if("__proto__"!=D){var v=a[D],b=Array.isArray(v)?g:m;b[D]=v}n+="var "+f+" = errors;";var E=e.errorPath;for(var D in n+="var missing"+o+";",g)if((b=g[D]).length){if(n+=" if ( "+l+e.util.getProperty(D)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),c){n+=" && ( ";var w=b;if(w)for(var x=-1,F=w.length-1;x<F;){O=w[x+=1],x&&(n+=" || "),n+=" ( ( "+(B=l+(_=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:_)+") ) "}n+=")) { ";var S="missing"+o,A="' + "+S+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,S,!0):E+" + "+S);var k=k||[];k.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(D)+"', missingProperty: '"+A+"', 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(D)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var C=n;n=k.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+C+"]); ":n+=" validate.errors = ["+C+"]; return false; ":n+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var P=b;if(P)for(var O,j=-1,T=P.length-1;j<T;){O=P[j+=1];var _=e.util.getProperty(O),B=(A=e.util.escapeQuotes(O),l+_);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,O,e.opts.jsonPointers)),n+=" if ( "+B+" === 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(D)+"', missingProperty: '"+A+"', 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(D)+" 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&&(p+="}",n+=" else { ")}e.errorPath=E;var R=h.baseId;for(var D in m){v=m[D];(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(D)+" !== undefined ",y&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(D)+"') "),n+=") { ",h.schema=v,h.schemaPath=s+e.util.getProperty(D),h.errSchemaPath=u+"/"+e.util.escapeFragment(D),n+=" "+e.validate(h)+" ",h.baseId=R,n+=" } ",c&&(n+=" if ("+d+") { ",p+="}"))}return c&&(n+=" "+p+" if ("+f+" == errors) {"),n}},45813: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),u=e.errSchemaPath+"/"+t,c=!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(u)+" , 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&&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}},45341: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),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,l="data"+(i||"");if(!1===e.opts.format)return c&&(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+'"'),c&&(n+=" if (true) { "),n;if(d&&p.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+=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 D=n;return n=E.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}},98739: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),u=e.errSchemaPath+"/"+t,c=!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=u,n+=" var "+h+" = errors; var "+f+" = true; ";var D=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=D,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(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}},40112:(e,t,r)=>{"use strict";e.exports={$ref:r(5925),allOf:r(41251),anyOf:r(84648),$comment:r(97890),const:r(92508),contains:r(21269),dependencies:r(75800),enum:r(45813),format:r(45341),if:r(98739),items:r(81973),maximum:r(6457),minimum:r(6457),maxItems:r(30496),minItems:r(30496),maxLength:r(4080),minLength:r(4080),maxProperties:r(5169),minProperties:r(5169),multipleOf:r(97124),not:r(3755),oneOf:r(86665),pattern:r(89913),properties:r(99446),propertyNames:r(28658),required:r(9501),uniqueItems:r(99383),validate:r(43833)}},81973: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),u=e.errSchemaPath+"/"+t,c=!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 D=u;u=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var w=w||[];w.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 x=n;n=w.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+x+"]); ":n+=" validate.errors = ["+x+"]; return false; ":n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u=D,c&&(d+="}",n+=" else { ")}var F=a;if(F)for(var S,A=-1,k=F.length-1;A<k;)if(S=F[A+=1],e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+A+") { ";var C=l+"["+A+"]";p.schema=S,p.schemaPath=s+"["+A+"]",p.errSchemaPath=u+"/"+A,p.errorPath=e.util.getPathExpr(e.errorPath,A,e.opts.jsonPointers,!0),p.dataPathArr[y]=A;var P=e.validate(p);p.baseId=b,e.util.varOccurences(P,v)<2?n+=" "+e.util.varReplace(P,v,C)+" ":n+=" var "+v+" = "+C+"; "+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))){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);C=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,C)+" ":n+=" var "+v+" = "+C+"; "+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)){p.schema=a,p.schemaPath=s,p.errSchemaPath=u,n+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);C=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,C)+" ":n+=" var "+v+" = "+C+"; "+P+" ",c&&(n+=" if (!"+m+") break; "),n+=" }"}return c&&(n+=" "+d+" if ("+h+" == errors) {"),n}},97124:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},3755: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),u=e.errSchemaPath+"/"+t,c=!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=u,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(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}},86665: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),u=e.errSchemaPath+"/"+t,c=!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 D,w=-1,x=E.length-1;w<x;)D=E[w+=1],(e.opts.strictKeywords?"object"==typeof D&&Object.keys(D).length>0||!1===D:e.util.schemaHasRules(D,e.RULES.all))?(p.schema=D,p.schemaPath=s+"["+w+"]",p.errSchemaPath=u+"/"+w,n+=" "+e.validate(p)+" ",p.baseId=g):n+=" var "+m+" = true; ",w&&(n+=" if ("+m+" && "+y+") { "+f+" = false; "+v+" = ["+v+", "+w+"]; } else { ",d+="}"),n+=" if ("+m+") { "+f+" = "+y+" = true; "+v+" = "+w+"; }";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(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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n}},89913:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},99446: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),u=e.errSchemaPath+"/"+t,c=!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(_),D=e.schema.patternProperties||{},w=Object.keys(D).filter(_),x=e.schema.additionalProperties,F=E.length||w.length,S=!1===x,A="object"==typeof x&&Object.keys(x).length,k=e.opts.removeAdditional,C=S||A||k,P=e.opts.ownProperties,O=e.baseId,j=e.schema.required;if(j&&(!e.opts.$data||!j.$data)&&j.length<e.opts.loopRequired)var T=e.util.toHash(j);function _(e){return"__proto__"!==e}if(n+="var "+f+" = errors;var "+d+" = true;",P&&(n+=" var "+b+" = undefined;"),C){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+") { ",F){if(n+=" var isAdditional"+o+" = !(false ",E.length)if(E.length>8)n+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var B=E;if(B)for(var R=-1,I=B.length-1;R<I;)K=B[R+=1],n+=" || "+m+" == "+e.util.toQuotedString(K)+" "}if(w.length){var L=w;if(L)for(var M=-1,N=L.length-1;M<N;)ie=L[M+=1],n+=" || "+e.usePattern(ie)+".test("+m+") "}n+=" ); if (isAdditional"+o+") { "}if("all"==k)n+=" delete "+l+"["+m+"]; ";else{var $=e.errorPath,U="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),S)if(k)n+=" delete "+l+"["+m+"]; ";else{n+=" "+d+" = false; ";var z=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 H=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+H+"]); ":n+=" validate.errors = ["+H+"]; return false; ":n+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=z,c&&(n+=" break; ")}else if(A)if("failing"==k){n+=" var "+f+" = errors; ";var q=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=x,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=x,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+" ",c&&(n+=" if (!"+d+") break; ")}e.errorPath=$}F&&(n+=" } "),n+=" } ",c&&(n+=" if ("+d+") { ",p+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(E.length){var Q=E;if(Q)for(var K,Y=-1,Z=Q.length-1;Y<Z;){var J=a[K=Q[Y+=1]];if(e.opts.strictKeywords?"object"==typeof J&&Object.keys(J).length>0||!1===J:e.util.schemaHasRules(J,e.RULES.all)){var X=e.util.getProperty(K),ee=(V=l+X,W&&void 0!==J.default);h.schema=J,h.schemaPath=s+X,h.errSchemaPath=u+"/"+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(T&&T[K]){n+=" if ( "+te+" === undefined ",P&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(K)+"') "),n+=") { "+d+" = false; ";$=e.errorPath,z=u;var re,ne=e.util.escapeQuotes(K);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,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+=" {} ";H=n;n=re.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+H+"]); ":n+=" validate.errors = ["+H+"]; return false; ":n+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=z,e.errorPath=$,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+") { ",p+="}")}}if(w.length){var oe=w;if(oe)for(var ie,ae=-1,se=oe.length-1;ae<se;){J=D[ie=oe[ae+=1]];if(e.opts.strictKeywords?"object"==typeof J&&Object.keys(J).length>0||!1===J:e.util.schemaHasRules(J,e.RULES.all)){h.schema=J,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+" ",c&&(n+=" if (!"+d+") break; "),n+=" } ",c&&(n+=" else "+d+" = true; "),n+=" } ",c&&(n+=" if ("+d+") { ",p+="}")}}}return c&&(n+=" "+p+" if ("+f+" == errors) {"),n}},28658: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),u=e.errSchemaPath+"/"+t,c=!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=u;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,D=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 w=d,x=e.compositeRule;e.compositeRule=h.compositeRule=!0;var F=e.validate(h);h.baseId=D,e.util.varOccurences(F,v)<2?n+=" "+e.util.varReplace(F,v,w)+" ":n+=" var "+v+" = "+w+"; "+F+" ",e.compositeRule=h.compositeRule=x,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(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}},5925:e=>{"use strict";e.exports=function(e,t,r){var n,o,i=" ",a=e.level,s=e.dataLevel,u=e.schema[t],c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(s||""),h="valid"+a;if("#"==u||"#/"==u)e.isRoot?(n=e.async,o="validate"):(n=!0===e.root.schema.$async,o="root.refVal[0]");else{var p=e.resolveRef(e.baseId,u,e.isRoot);if(void 0===p){var d=e.MissingRefError.message(e.baseId,u);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(c)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(u)+" , 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,u,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=u,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}},9501: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),u=e.errSchemaPath+"/"+t,c=!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,D=h||d.length>=e.opts.loopRequired,w=e.opts.ownProperties;if(c)if(n+=" var missing"+o+"; ",D){h||(n+=" var "+p+" = validate.schema"+s+"; ");var x="' + "+(P="schema"+o+"["+(A="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 "+A+" = 0; "+A+" < "+p+".length; "+A+"++) { "+f+" = "+l+"["+p+"["+A+"]] !== undefined ",w&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", "+p+"["+A+"]) "),n+="; if (!"+f+") break; } ",h&&(n+=" } "),n+=" if (!"+f+") { ",(C=C||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",n+="' "),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++; ",n+=" } else { "}else{n+=" if ( ";var S=d;if(S)for(var A=-1,k=S.length-1;A<k;){j=S[A+=1],A&&(n+=" || "),n+=" ( ( "+(R=l+(B=e.util.getProperty(j)))+" === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(j)+"') "),n+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?j:B)+") ) "}n+=") { ";var C;x="' + "+(P="missing"+o)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(E,P,!0):E+" + "+P),(C=C||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";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++; ",n+=" } else { "}else if(D){h||(n+=" var "+p+" = validate.schema"+s+"; ");var P;x="' + "+(P="schema"+o+"["+(A="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(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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 "+A+" = 0; "+A+" < "+p+".length; "+A+"++) { if ("+l+"["+p+"["+A+"]] === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+p+"["+A+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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 j,T=-1,_=O.length-1;T<_;){j=O[T+=1];var B=e.util.getProperty(j),R=(x=e.util.escapeQuotes(j),l+B);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(E,j,e.opts.jsonPointers)),n+=" if ( "+R+" === undefined ",w&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(j)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",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}},99383:e=>{"use strict";e.exports=function(e,t,r){var n,o=" ",i=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||""),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(c)+" , 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"+u:""+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}},43833: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 u="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(u);e.logger.warn(u)}}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 c=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"+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(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=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+=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;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)),o&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+c+" = errors;"}g="valid"+c,d=!e.opts.allErrors;var E="",D="",w=e.schema.type,x=Array.isArray(w);if(w&&e.opts.nullable&&!0===e.schema.nullable&&(x?-1==w.indexOf("null")&&(w=w.concat("null")):"null"!=w&&(w=[w,"null"],x=!0)),x&&1==w.length&&(w=w[0],x=!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")),w){if(e.opts.coerceTypes)var F=e.util.coerceToTypes(e.opts.coerceTypes,w);var S=e.RULES.types[w];if(F||x||!0===S||S&&!Z(S)){h=e.schemaPath+".type",p=e.errSchemaPath+"/type",h=e.schemaPath+".type",p=e.errSchemaPath+"/type";var A=x?"checkDataTypes":"checkDataType";if(n+=" if ("+e.util[A](w,m,e.opts.strictNumbers,!0)+") { ",F){var k="dataType"+c,C="coerced"+c;n+=" var "+k+" = typeof "+m+"; var "+C+" = undefined; ","array"==e.opts.coerceTypes&&(n+=" if ("+k+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+k+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+C+" = "+m+"; } "),n+=" if ("+C+" !== undefined) ; ";var P=F;if(P)for(var O,j=-1,T=P.length-1;j<T;)"string"==(O=P[j+=1])?n+=" else if ("+k+" == 'number' || "+k+" == 'boolean') "+C+" = '' + "+m+"; else if ("+m+" === null) "+C+" = ''; ":"number"==O||"integer"==O?(n+=" else if ("+k+" == 'boolean' || "+m+" === null || ("+k+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==O&&(n+=" && !("+m+" % 1)"),n+=")) "+C+" = +"+m+"; "):"boolean"==O?n+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+C+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+C+" = true; ":"null"==O?n+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+C+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(n+=" else if ("+k+" == 'string' || "+k+" == 'number' || "+k+" == 'boolean' || "+m+" == null) "+C+" = ["+m+"]; ");n+=" else { ",(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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 ("+C+" !== undefined) { ";var _=l?"data"+(l-1||""):"parentData";n+=" "+m+" = "+C+"; ",l||(n+="if ("+_+" !== undefined)"),n+=" "+_+"["+(l?e.dataPathArr[l]:"parentDataProperty")+"] = "+C+"; } "}else{(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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&&!i)n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(n+=" } if (errors === ",n+=v?"0":"errs_"+c,n+=") { ",D+="}");else{var B=e.RULES;if(B)for(var R=-1,I=B.length-1;R<I;)if(Z(S=B[R+=1])){if(S.type&&(n+=" if ("+e.util.checkDataType(S.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==S.type&&e.schema.properties){f=e.schema.properties;var L=Object.keys(f);if(L)for(var M,N=-1,$=L.length-1;N<$;){if(void 0!==(H=f[M=L[N+=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(H.default)+" ":n+=" "+JSON.stringify(H.default)+" ",n+="; "}}}else if("array"==S.type&&Array.isArray(e.schema.items)){var z=e.schema.items;if(z){j=-1;for(var H,q=z.length-1;j<q;)if(void 0!==(H=z[j+=1]).default){U=m+"["+j+"]";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(H.default)+" ":n+=" "+JSON.stringify(H.default)+" ",n+="; "}}}var V=S.rules;if(V)for(var G,W=-1,Q=V.length-1;W<Q;)if(J(G=V[W+=1])){var K=G.code(e,G.keyword,S.type);K&&(n+=" "+K+" ",d&&(E+="}"))}if(d&&(n+=" "+E+" ",E=""),S.type&&(n+=" } ",w&&w===S.type&&!F)){n+=" else { ";var Y;h=e.schemaPath+".type",p=e.errSchemaPath+"/type";(Y=Y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",n+=x?""+w.join(","):""+w,n+="' } ",!1!==e.opts.messages&&(n+=" , message: 'should be ",n+=x?""+w.join(","):""+w,n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+h+" , 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+=") { ",D+="}")}}function Z(e){for(var t=e.rules,r=0;r<t.length;r++)if(J(t[r]))return!0}function J(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+=" "+D+" "),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_"+c+";",n}},63114:(e,t,r)=>{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i,o=r(53800),i=r(71448);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++)u(e,i[a],t);else u(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 u(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 u={keyword:e,definition:n,custom:!0,code:o,implements:n.implements};i.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,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}}},84829:(e,t,r)=>{"use strict";var n=r(44675);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(18114).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,c=s.ERR_INVALID_ARG_TYPE,l=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,h=s.ERR_MISSING_ARGS,p=r(24924),d=r(35210).inspect,m=r(35210).types,g=m.isPromise,y=m.isRegExp,v=Object.assign?Object.assign:r(37593).assign,b=Object.is?Object.is:r(96959);new Map;function E(){var e=r(55375);i=e.isDeepEqual,a=e.isDeepStrictEqual}var D=!1,w=e.exports=A,x={};function F(e){if(e.message instanceof Error)throw e.message;throw new p(e)}function S(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 A(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];S.apply(void 0,[A,t.length].concat(t))}w.fail=function e(t,r,o,i,a){var s,u=arguments.length;if(0===u)s="Failed";else if(1===u)o=t,t=void 0;else{if(!1===D)D=!0,(n.emitWarning?n.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===u&&(i="!=")}if(o instanceof Error)throw o;var c={actual:t,expected:r,operator:void 0===i?"fail":i,stackStartFn:a||e};void 0!==o&&(c.message=o);var l=new p(c);throw s&&(l.message=s,l.generatedMessage=!0),l},w.AssertionError=p,w.ok=A,w.equal=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t!=r&&F({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},w.notEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");t==r&&F({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},w.deepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)||F({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},w.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),i(t,r)&&F({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},w.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E(),a(t,r)||F({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},w.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===i&&E();a(t,r)&&F({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},w.strictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)||F({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},w.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new h("actual","expected");b(t,r)&&F({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var k=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 C(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"!==o(e)||null===e){var s=new p({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw s.operator=n.name,s}var u=Object.keys(t);if(t instanceof Error)u.push("name","message");else if(0===u.length)throw new l("error",t,"may not be an empty object");return void 0===i&&E(),u.forEach((function(o){"string"==typeof e[o]&&y(t[o])&&t[o].test(e[o])||function(e,t,r,n,o,i){if(!(r in e)||!a(e[r],t[r])){if(!n){var s=new k(e,o),u=new k(t,o,e),c=new p({actual:s,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw c.actual=e,c.expected=t,c.operator=i.name,c}F({actual:e,expected:t,message:n,operator:i.name,stackStartFn:i})}}(e,t,o,r,u,n)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function P(e){if("function"!=typeof e)throw new c("fn","Function",e);try{e()}catch(e){return e}return x}function O(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(!O(t=e()))throw new f("instance of Promise","promiseFn",t)}else{if(!O(e))throw new c("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return x})).catch((function(e){return e}))}))}function T(e,t,r,n){if("string"==typeof r){if(4===arguments.length)throw new c("error",["Object","Error","Function","RegExp"],r);if("object"===o(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"!==o(r)&&"function"!=typeof r)throw new c("error",["Object","Error","Function","RegExp"],r);if(t===x){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";F({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(r&&!C(t,r,n,e))throw t}function _(e,t,r,n){if(t!==x){if("string"==typeof r&&(n=r,r=void 0),!r||C(t,r)){var o=n?": ".concat(n):".",i="doesNotReject"===e.name?"rejection":"exception";F({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 B(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];S.apply(void 0,[B,t.length].concat(t))}w.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];T.apply(void 0,[e,P(t)].concat(n))},w.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 T.apply(void 0,[e,t].concat(n))}))},w.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,P(t)].concat(n))},w.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))}))},w.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"),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}},w.strict=v(B,w,{equal:w.strictEqual,deepEqual:w.deepStrictEqual,notEqual:w.notStrictEqual,notDeepEqual:w.notDeepStrictEqual}),w.strict.strict=w.strict},24924:(e,t,r)=>{"use strict";var n=r(44675);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"!==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 c(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)},u(e)}function c(e,t,r){return c=function(){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}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&l(o,r.prototype),o},c.apply(null,arguments)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(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 p=r(35210).inspect,d=r(18114).codes.ERR_INVALID_ARG_TYPE;function m(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var g="",y="",v="",b="",E={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:"},D=10;function w(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 x(e){return p(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function F(e,t,r){var o="",i="",a=0,s="",u=!1,c=x(e),l=c.split("\n"),f=x(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 w=l[0].length+f[0].length;if(w<=D){if(!("object"===h(e)&&null!==e||"object"===h(t)&&null!==t||0===e&&0===t))return"".concat(E[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(w<(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 F=l[l.length-1],S=f[f.length-1];F===S&&(p++<2?s="\n ".concat(F).concat(s):o=F,l.pop(),f.pop(),0!==l.length&&0!==f.length);)F=l[l.length-1],S=f[f.length-1];var A=Math.max(l.length,f.length);if(0===A){var k=c.split("\n");if(k.length>30)for(k[26]="".concat(g,"...").concat(b);k.length>27;)k.pop();return"".concat(E.notIdentical,"\n\n").concat(k.join("\n"),"\n")}p>3&&(s="\n".concat(g,"...").concat(b).concat(s),u=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var C=0,P=E[r]+"\n".concat(y,"+ actual").concat(b," ").concat(v,"- expected").concat(b),O=" ".concat(g,"...").concat(b," Lines skipped");for(p=0;p<A;p++){var j=p-a;if(l.length<p+1)j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(f[p-2]),C++),i+="\n ".concat(f[p-1]),C++),a=p,o+="\n".concat(v,"-").concat(b," ").concat(f[p]),C++;else if(f.length<p+1)j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(l[p-2]),C++),i+="\n ".concat(l[p-1]),C++),a=p,i+="\n".concat(y,"+").concat(b," ").concat(l[p]),C++;else{var T=f[p],_=l[p],B=_!==T&&(!m(_,",")||_.slice(0,-1)!==T);B&&m(T,",")&&T.slice(0,-1)===_&&(B=!1,_+=","),B?(j>1&&p>2&&(j>4?(i+="\n".concat(g,"...").concat(b),u=!0):j>3&&(i+="\n ".concat(l[p-2]),C++),i+="\n ".concat(l[p-1]),C++),a=p,i+="\n".concat(y,"+").concat(b," ").concat(_),o+="\n".concat(v,"-").concat(b," ").concat(T),C+=2):(i+=o,o="",1!==j&&0!==p||(i+="\n ".concat(_),C++))}if(C>20&&p<A-2)return"".concat(P).concat(O,"\n").concat(i,"\n").concat(g,"...").concat(b).concat(o,"\n")+"".concat(g,"...").concat(b)}return"".concat(P).concat(u?O:"","\n").concat(i).concat(o).concat(s).concat(d)}var S=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 d("options","Object",e);var o=e.message,i=e.operator,u=e.stackStartFn,c=e.actual,l=e.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,f(t).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(g="[34m",y="[32m",b="[39m",v="[31m"):(g="",y="",b="",v="")),"object"===h(c)&&null!==c&&"object"===h(l)&&null!==l&&"stack"in c&&c instanceof Error&&"stack"in l&&l instanceof Error&&(c=w(c),l=w(l)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,f(t).call(this,F(c,l,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var m=E[i],D=x(c).split("\n");if("notStrictEqual"===i&&"object"===h(c)&&null!==c&&(m=E.notStrictEqualObject),D.length>30)for(D[26]="".concat(g,"...").concat(b);D.length>27;)D.pop();r=1===D.length?a(this,f(t).call(this,"".concat(m," ").concat(D[0]))):a(this,f(t).call(this,"".concat(m,"\n\n").concat(D.join("\n"),"\n")))}else{var S=x(c),A="",k=E[i];"notDeepEqual"===i||"notEqual"===i?(S="".concat(E[i],"\n\n").concat(S)).length>1024&&(S="".concat(S.slice(0,1021),"...")):(A="".concat(x(l)),S.length>512&&(S="".concat(S.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),"deepEqual"===i||"equal"===i?S="".concat(k,"\n\n").concat(S,"\n\nshould equal\n\n"):A=" ".concat(i," ").concat(A)),r=a(this,f(t).call(this,"".concat(S).concat(A)))}return Error.stackTraceLimit=p,r.generatedMessage=!o,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=i,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&&l(e,t)}(t,e),r=t,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:p.custom,value:function(e,t){return p(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}))}}],u&&i(r.prototype,u),c&&i(r,c),t}(u(Error));e.exports=S},18114:(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,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=o(this,i(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,o){var i,a,u,c;if(void 0===s&&(s=r(84829)),s("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(!u||u<0?0:+u,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"))c="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";c='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(f(t,"type"))}return c+=". 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===u&&(u=r(35210));var o=u.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(84829)),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=c},55375:(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},u=Object.is?Object.is:r(96959),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:r(74300);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(35210).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,v=m.isDate,b=m.isMap,E=m.isRegExp,D=m.isSet,w=m.isNativeError,x=m.isBoxedPrimitive,F=m.isNumberObject,S=m.isStringObject,A=m.isBooleanObject,k=m.isBigIntObject,C=m.isSymbolObject,P=m.isFloat32Array,O=m.isFloat64Array;function j(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 T(e){return Object.keys(e).filter(j).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}
|
|
368
368
|
/*!
|
|
369
369
|
* The buffer module from node.js, for the browser.
|
|
370
370
|
*
|
|
371
371
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
372
372
|
* @license MIT
|
|
373
|
-
*/function _(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}var B=!0,R=!1,I=0,L=1,M=2,N=3;function $(e,t,r,n){if(e===t)return 0!==e||(!r||u(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,c,f,h=d(e);if(h!==d(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var p=T(e),m=T(t);return p.length===m.length&&z(e,t,r,n,L,p)}if("[object Object]"===h&&(!b(e)&&b(t)||!D(e)&&D(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,!(i?c.source===f.source&&c.flags===f.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(f))))return!1}else if(w(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 j=T(e),B=T(t);return j.length===B.length&&z(e,t,r,n,I,j)}if(D(e))return!(!D(t)||e.size!==t.size)&&z(e,t,r,n,M);if(b(e))return!(!b(t)||e.size!==t.size)&&z(e,t,r,n,N);if(g(e)){if(s=t,(a=e).byteLength!==s.byteLength||0!==_(new Uint8Array(a),new Uint8Array(s)))return!1}else if(x(e)&&!function(e,t){return F(e)?F(t)&&u(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):S(e)?S(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):A(e)?A(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):k(e)?k(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):C(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return z(e,t,r,n,I)}function U(e,t){return t.filter((function(t){return p(e,t)}))}function z(e,t,r,i,u,l){if(5===arguments.length){l=Object.keys(e);var f=Object.keys(t);if(l.length!==f.length)return!1}for(var d=0;d<l.length;d++)if(!h(t,l[d]))return!1;if(r&&5===arguments.length){var m=c(e);if(0!==m.length){var g=0;for(d=0;d<m.length;d++){var y=m[d];if(p(e,y)){if(!p(t,y))return!1;l.push(y),g++}else if(p(t,y))return!1}var v=c(t);if(m.length!==v.length&&U(t,v).length!==g)return!1}else{var b=c(t);if(0!==b.length&&0!==U(t,b).length)return!1}}if(0===l.length&&(u===I||u===L&&0===e.length||0===e.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var E=i.val1.get(e);if(void 0!==E){var D=i.val2.get(t);if(void 0!==D)return E===D}i.position++}i.val1.set(e,i.position),i.val2.set(t,i.position);var w=function(e,t,r,i,u,c){var l=0;if(c===M){if(!function(e,t,r,n){for(var i=null,s=a(e),u=0;u<s.length;u++){var c=s[u];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!t.has(c)){if(r)return!1;if(!V(e,t,c))return!1;null===i&&(i=new Set),i.add(c)}}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(!H(i,h,r,n))return!1}else if(!r&&!e.has(h)&&!H(i,h,r,n))return!1}return 0===i.size}return!0}(e,t,r,u))return!1}else if(c===N){if(!function(e,t,r,i){for(var a=null,u=s(e),c=0;c<u.length;c++){var l=n(u[c],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(!G(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(!W(a,e,f,y,r,i))return!1}else if(!(r||e.has(f)&&$(e.get(f),y,!1,i)||W(a,e,f,y,!1,i)))return!1}return 0===a.size}return!0}(e,t,r,u))return!1}else if(c===L)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,u))return!1}return f.length===Object.keys(t).length}if(!h(t,l)||!$(e[l],t[l],r,u))return!1}for(l=0;l<i.length;l++){var d=i[l];if(!$(e[d],t[d],r,u))return!1}return!0}(e,t,r,l,i,u);return i.val1.delete(e),i.val2.delete(t),w}function H(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 q(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 V(e,t,r){var n=q(r);return null!=n?n:t.has(n)&&!e.has(n)}function G(e,t,r,n,o){var i=q(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 W(e,t,r,n,o,i){for(var s=a(e),u=0;u<s.length;u++){var c=s[u];if($(r,c,o,i)&&$(n,t.get(c),o,i))return e.delete(c),!0}return!1}e.exports={isDeepEqual:function(e,t){return $(e,t,R)},isDeepStrictEqual:function(e,t){return $(e,t,B)}}},87233:(e,t,r)=>{e.exports=r(40786)},26322:(e,t,r)=>{"use strict";var n=r(57964),o=r(65530),i=r(67469),a=r(24081),s=r(55088),u=r(40100),c=r(40523),l=r(70422),f=r(35114),h=r(33673);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 D=s(e.baseURL,e.url);function w(){if(v){var n="getAllResponseHeaders"in v?u(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(D,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},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 x=(e.withCredentials||c(D))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"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)}))}},40786:(e,t,r)=>{"use strict";var n=r(57964),o=r(76764),i=r(96718),a=r(11745);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(77278));s.Axios=i,s.Cancel=r(33673),s.CancelToken=r(94875),s.isCancel=r(40533),s.VERSION=r(39212).version,s.all=function(e){return Promise.all(e)},s.spread=r(799),s.isAxiosError=r(57631),e.exports=s,e.exports.default=s},33673: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},94875:(e,t,r)=>{"use strict";var n=r(33673);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},40533:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},96718:(e,t,r)=>{"use strict";var n=r(57964),o=r(24081),i=r(82976),a=r(21042),s=r(11745),u=r(62943),c=u.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&&u.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.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},82976:(e,t,r)=>{"use strict";var n=r(57964);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},55088:(e,t,r)=>{"use strict";var n=r(40455),o=r(95495);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},70422:(e,t,r)=>{"use strict";var n=r(91181);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},21042:(e,t,r)=>{"use strict";var n=r(57964),o=r(88119),i=r(40533),a=r(77278),s=r(33673);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=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 u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},91181: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}},11745:(e,t,r)=>{"use strict";var n=r(57964);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 u(r){return r in t?o(e[r],t[r]):r in e?o(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]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},65530:(e,t,r)=>{"use strict";var n=r(70422);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)}},88119:(e,t,r)=>{"use strict";var n=r(57964),o=r(77278);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},77278:(e,t,r)=>{"use strict";var n=r(44675),o=r(57964),i=r(81417),a=r(91181),s=r(35114),u={"Content-Type":"application/x-www-form-urlencoded"};function c(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(26322)),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)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(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(u)})),e.exports=f},35114:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},39212:e=>{e.exports={version:"0.26.1"}},76764: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)}}},24081:(e,t,r)=>{"use strict";var n=r(57964);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}},95495:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},67469:(e,t,r)=>{"use strict";var n=r(57964);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(){}}},40455:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},57631:(e,t,r)=>{"use strict";var n=r(57964);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},40523:(e,t,r)=>{"use strict";var n=r(57964);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}},81417:(e,t,r)=>{"use strict";var n=r(57964);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},40100:(e,t,r)=>{"use strict";var n=r(57964),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}},799:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},62943:(e,t,r)=>{"use strict";var n=r(39212).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],u=void 0===s||a(s,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},57964:(e,t,r)=>{"use strict";var n=r(76764),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 u(e){return null!==e&&"object"==typeof e}function c(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:u,isPlainObject:c,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 u(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){c(t[n])&&c(r)?t[n]=e(t[n],r):c(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}}},92159:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(6322),o=r.n(n),i=r(34889),a=r.n(i),s=(r(70888),r(25444),r(82814),r(44703),r(63583),r(19855),r(25013),r(77389),r(37607),r(55126),r(87462),r(5148),r(35250)),u=r(61091),c=r(18887),l=r.n(c),f=r(91223),h=["base","href"];function p(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 d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const m=function(e){var t=e.base,r=e.href,n=a()(e,h),o=(0,u.CQ)().summary;if(r)if((0,u.CB)(r))n.target="_blank";else{if(".md"===l().extname(r)){var i;i=t?decodeURIComponent(l().join(l().dirname(t.ref),r)):decodeURIComponent(r);var c=o.getArticle((function(e){return e.ref===i}));if(c)return(0,s.jsx)(f.Z,d({to:c},n))}r="#!"}return(0,s.jsx)("a",d(d({href:r},n),{},{rel:"noopener noreferrer"}))}},91223:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(6322),o=r.n(n),i=r(34889),a=r.n(i),s=(r(38664),r(57930),r(25013),r(25444),r(82814),r(44703),r(63583),r(19855),r(77389),r(37607),r(55126),r(87462),r(5148),r(35250)),u=r(87363),c=r(61091),l=r(8192),f=r(50892),h=["children","to","className"];function p(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 d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e){var t,r=e.children,n=e.to,o=e.className,i=a()(e,h),p=(0,f.Z)(),m=(0,c.v9)("page").loading;n instanceof c.oI?(t=n.getPath(),r||(r=n.getTitle())):t=n;var g=t?p.relative(t):"#!",y=(0,u.useCallback)((function(e){if(e.preventDefault(),t&&!m){var r=e.currentTarget,n=r.pathname,o=r.search,i=r.hash;l.m8.push({pathname:n,search:o,hash:i})}}),[t,m]);return(0,s.jsx)("a",d(d({},i),{},{onClick:y,className:o,href:g,children:r}))}},8192:(e,t,r)=>{"use strict";r.d(t,{fi:()=>m,m8:()=>h});r(25444),r(82814),r(44703),r(63583),r(19855),r(77389),r(37607),r(55126),r(87462),r(5148);var n=r(32078),o=r.n(n),i=r(82357),a=r.n(i),s=r(6322),u=r.n(s),c=(r(38664),r(61228),r(17915),r(25013),r(22827));function l(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 f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h,p="undefined"!=typeof window&&window.history&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol,d=function(){function e(){o()(this,e),u()(this,"history",void 0),this.history=p?(0,c.lX)():(0,c.PP)({initialEntries:[window.location]})}return a()(e,[{key:"location",get:function(){var e=this.history.location;return f(f({},e),{},{toString:function(){return(0,c.Ep)(e)}})}},{key:"listen",value:function(e){return this.history.listen(e)}},{key:"replace",value:function(e){return this.history.replace(e)}},{key:"push",value:function(e){return this.history.push(e)}}]),e}();function m(){return h=new d}},54718:(e,t,r)=>{"use strict";r.d(t,{Q3:()=>i,VI:()=>s,ZP:()=>a,ir:()=>u,tA:()=>c});var n=r(61091),o=r(87363),i=(0,o.createContext)(void 0);function a(){return(0,o.useContext)(i)}function s(){var e=(0,n.CQ)().summary,t=a();if(t)return(0,o.useMemo)((function(){var r=t.getLevel(),n=!1;return e.getArticle((function(e){return n?!!e.getPath():(n=e.getLevel()==r,!1)}))}),[e,t])}function u(){var e=(0,n.CQ)().summary,t=a();if(t)return(0,o.useMemo)((function(){var r,n=t.getLevel();return e.getArticle((function(e){return e.getLevel()==n||(e.getPath()&&(r=e),!1)})),r}),[e,t])}function c(){var e=(0,n.CQ)().summary,t=a();return t?e.getArticlePart(t):void 0}},50892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(61091);function o(){return(0,n.v9)("page").file}},77852:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(45990),o=r.n(n),i=r(61091),a=r(87363),s="undefined"==typeof window?null:window,u=function(){return void 0!==s.scrollY?s.scrollY:void 0===s.pageYOffset?0:s.pageYOffset};const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,t=(0,a.useState)((function(){return u()})),r=o()(t,2),n=r[0],c=r[1],l=(0,i.fB)((function(){c(u())}),e);return(0,i.zX)(s,"scroll",l),n}},4286:(e,t,r)=>{"use strict";r.d(t,{D:()=>s,Z:()=>u});var n=r(45990),o=r.n(n),i=r(87363),a=996,s={desktop:"desktop",mobile:"mobile"};function u(){function e(){return window.innerWidth>a?s.desktop:s.mobile}var t=(0,i.useState)(e),r=o()(t,2),n=r[0],u=r[1];return(0,i.useEffect)((function(){function t(){u(e())}return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),n}},96501:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},57372:(e,t,r)=>{"use strict";var n=r(38514),o=r(5806),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}},5806:(e,t,r)=>{"use strict";var n=r(4148),o=r(38514),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(n,a,arguments);u&&c&&(u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var f=function(){return s(n,i,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},41241:(e,t,r)=>{const n=r(33608),o={};for(const e of Object.keys(n))o[n[e]]=e;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}function a(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=i-o;let s,u;i===o?s=0:t===i?s=(r-n)/a:r===i?s=2+(n-t)/a:n===i&&(s=4+(t-r)/a),s=Math.min(60*s,360),s<0&&(s+=360);const c=(o+i)/2;return u=i===o?0:c<=.5?a/(i+o):a/(2-i-o),[s,100*u,100*c]},i.rgb.hsv=function(e){let t,r,n,o,i;const a=e[0]/255,s=e[1]/255,u=e[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),f=function(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=f(a),r=f(s),n=f(u),a===c?o=n-r:s===c?o=1/3+t-n:u===c&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},i.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const o=i.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,100*a,100*n]},i.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n);return[100*((1-t-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*o]},i.rgb.keyword=function(e){const t=o[e];if(t)return t;let r,i=1/0;for(const t of Object.keys(n)){const o=a(e,n[t]);o<i&&(i=o,r=t)}return r},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(r-n),200*(n-o)]},i.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let o,i,a;if(0===r)return a=255*n,[a,a,a];o=n<.5?n*(1+r):n+r-n*r;const s=2*n-o,u=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,a=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,u[e]=255*a;return u},i.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,o=r;const i=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i;return[t,100*(0===n?2*o/(i+o):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*i),u=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,u,a];case 1:return[s,n,a];case 2:return[a,n,u];case 3:return[a,s,n];case 4:return[u,a,n];case 5:return[n,a,s]}},i.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01);let i,a;a=(2-r)*n;const s=(2-r)*o;return i=r*o,i/=s<=1?s:2-s,i=i||0,a/=2,[t,100*i,100*a]},i.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const o=r+n;let i;o>1&&(r/=o,n/=o);const a=Math.floor(6*t),s=1-n;i=6*t-a,0!=(1&a)&&(i=1-i);const u=r+i*(s-r);let c,l,f;switch(a){default:case 6:case 0:c=s,l=u,f=r;break;case 1:c=u,l=s,f=r;break;case 2:c=r,l=s,f=u;break;case 3:c=r,l=u,f=s;break;case 4:c=u,l=r,f=s;break;case 5:c=s,l=r,f=u}return[255*c,255*l,255*f]},i.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},i.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let o,i,a;return o=3.2406*t+-1.5372*r+-.4986*n,i=-.9689*t+1.8758*r+.0415*n,a=.0557*t+-.204*r+1.057*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[255*o,255*i,255*a]},i.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*r-16,500*(t-r),200*(r-n)]},i.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const o=r**3,i=t**3,a=n**3;return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},i.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let o;o=360*Math.atan2(n,r)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(r*r+n*n),o]},i.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},i.rgb.ansi16=function(e,t=null){const[r,n,o]=e;let a=null===t?i.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let s=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===a&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map((e=>e+e)).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),a=o-i;let s,u;return s=a<1?i/(1-a):0,u=a<=0?0:o===t?(r-n)/a%6:o===r?2+(n-t)/a:4+(t-r)/a,u/=6,u%=1,[360*u,100*a,100*s]},i.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],100*n,100*o]},i.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},i.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const o=[0,0,0],i=t%1*6,a=i%1,s=1-a;let u=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return u=(1-r)*n,[255*(r*o[0]+u),255*(r*o[1]+u),255*(r*o[2]+u)]},i.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},21096:(e,t,r)=>{const n=r(41241),o=r(85504),i={};Object.keys(n).forEach((e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});const t=o(e);Object.keys(t).forEach((r=>{const n=t[r];i[e][r]=function(e){const t=function(...t){const r=t[0];if(null==r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),i[e][r].raw=function(e){const t=function(...t){const r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=i},85504:(e,t,r)=>{const n=r(41241);function o(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){const e=r.pop(),o=Object.keys(n[e]);for(let n=o.length,i=0;i<n;i++){const n=o[i],a=t[n];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,r.unshift(n))}}return t}function i(e,t){return function(r){return t(e(r))}}function a(e,t){const r=[t[e].parent,e];let o=n[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)r.unshift(t[a].parent),o=i(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=r,o}e.exports=function(e){const t=o(e),r={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];null!==t[e].parent&&(r[e]=a(e,t))}return r}},33608:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},64510:(e,t,r)=>{var n=r(33608),o=r(5458),i=Object.hasOwnProperty,a=Object.create(null);for(var s in n)i.call(n,s)&&(a[n[s]]=s);var u=e.exports={to:{},get:{}};function c(e,t,r){return Math.min(Math.max(t,e),r)}function l(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}u.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=u.get.hsl(e),r="hsl";break;case"hwb":t=u.get.hwb(e),r="hwb";break;default:t=u.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},u.get.rgb=function(e){if(!e)return null;var t,r,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],r=0;r<3;r++){var s=2*r;a[r]=parseInt(t.slice(s,s+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],r=0;r<3;r++)a[r]=parseInt(t[r]+t[r],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)a[r]=parseInt(t[r+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:i.call(n,t[1])?((a=n[t[1]])[3]=1,a):null:null;for(r=0;r<3;r++)a[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(r=0;r<3;r++)a[r]=c(a[r],0,255);return a[3]=c(a[3],0,1),a},u.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},u.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},u.to.hex=function(){var e=o(arguments);return"#"+l(e[0])+l(e[1])+l(e[2])+(e[3]<1?l(Math.round(255*e[3])):"")},u.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},u.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},u.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},u.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},u.to.keyword=function(e){return a[e.slice(0,3)]}},47851:(e,t,r)=>{const n=r(64510),o=r(21096),i=["keyword","gray","hex"],a={};for(const e of Object.keys(o))a[[...o[e].labels].sort().join("")]=e;const s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in i&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);let r,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=n.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,c=o[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"==typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=o[this.model].channels;const r=Array.prototype.slice.call(e,0,c);this.color=p(r,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const n=t.sort().join("");if(!(n in a))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=a[n];const{labels:i}=o[this.model],s=[];for(r=0;r<i.length;r++)s.push(e[i[r]]);this.color=p(s)}if(s[this.model])for(c=o[this.model].channels,r=0;r<c;r++){const e=s[this.model][r];e&&(this.color[r]=e(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}u.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in n.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const r=1===t.valpha?t.color:[...t.color,this.valpha];return n.to[t.model](r)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:[...t.color,this.valpha];return n.to.rgb.percent(r)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=o[this.model],{labels:r}=o[this.model];for(let n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new u([...this.color.map(c(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new u([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:l("rgb",0,f(255)),green:l("rgb",1,f(255)),blue:l("rgb",2,f(255)),hue:l(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:l("hsl",1,f(100)),lightness:l("hsl",2,f(100)),saturationv:l("hsv",1,f(100)),value:l("hsv",2,f(100)),chroma:l("hcg",1,f(100)),gray:l("hcg",2,f(100)),white:l("hwb",1,f(100)),wblack:l("hwb",2,f(100)),cyan:l("cmyk",0,f(100)),magenta:l("cmyk",1,f(100)),yellow:l("cmyk",2,f(100)),black:l("cmyk",3,f(100)),x:l("xyz",0,f(95.047)),y:l("xyz",1,f(100)),z:l("xyz",2,f(108.833)),l:l("lab",0,f(100)),a:l("lab",1),b:l("lab",2),keyword(e){return void 0!==e?new u(e):o[this.model].keyword(this.color)},hex(e){return void 0!==e?new u(e):n.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new u(e);const t=this.rgb().round().color;let r=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===r.length&&(r="0"+r),n.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const e=n/255;t[r]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),o=void 0===t?.5:t,i=2*o-1,a=r.alpha()-n.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,c=1-s;return u.rgb(s*r.red()+c*n.red(),s*r.green()+c*n.green(),s*r.blue()+c*n.blue(),r.alpha()*o+n.alpha()*(1-o))}};for(const e of Object.keys(o)){if(i.includes(e))continue;const{channels:t}=o[e];u.prototype[e]=function(...t){return this.model===e?new u(this):t.length>0?new u(t,e):new u([...h(o[this.model][e].raw(this.color)),this.valpha],e)},u[e]=function(...r){let n=r[0];return"number"==typeof n&&(n=p(r,t)),new u(n,e)}}function c(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function l(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(s[n]||(s[n]=[]))[t]=r;return e=e[0],function(n){let o;return void 0!==n?(r&&(n=r(n)),o=this[e](),o.color[t]=n,o):(o=this[e]().color[t],r&&(o=r(o)),o)}}function f(e){return function(t){return Math.max(0,Math.min(e,t))}}function h(e){return Array.isArray(e)?e:[e]}function p(e,t){for(let r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}e.exports=u},52427:(e,t,r)=>{var n=r(17389),o=r(74259),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a function")}},17752:(e,t,r)=>{var n=r(35615),o=r(74259),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a constructor")}},33693:(e,t,r)=>{var n=r(17389),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},52921:(e,t,r)=>{var n=r(19163),o=r(22909),i=r(33015).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},10329:(e,t,r)=>{"use strict";var n=r(34003).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},21167:(e,t,r)=>{var n=r(42378),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw o("Incorrect invocation")}},76824:(e,t,r)=>{var n=r(12465),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not an object")}},71385:(e,t,r)=>{"use strict";var n=r(93250).forEach,o=r(3939)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},76807:(e,t,r)=>{"use strict";var n=r(46748),o=r(51568),i=r(44247),a=r(86948),s=r(22464),u=r(35615),c=r(61166),l=r(87926),f=r(59119),h=r(89781),p=Array;e.exports=function(e){var t=i(e),r=u(this),d=arguments.length,m=d>1?arguments[1]:void 0,g=void 0!==m;g&&(m=n(m,d>2?arguments[2]:void 0));var y,v,b,E,D,w,x=h(t),F=0;if(!x||this===p&&s(x))for(y=c(t),v=r?new this(y):p(y);y>F;F++)w=g?m(t[F],F):t[F],l(v,F,w);else for(D=(E=f(t,x)).next,v=r?new this:[];!(b=o(D,E)).done;F++)w=g?a(E,m,[b.value,F],!0):b.value,l(v,F,w);return v.length=F,v}},99483:(e,t,r)=>{var n=r(82415),o=r(73041),i=r(61166),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},93250:(e,t,r)=>{var n=r(46748),o=r(80764),i=r(22146),a=r(44247),s=r(61166),u=r(31780),c=o([].push),l=function(e){var t=1==e,r=2==e,o=3==e,l=4==e,f=6==e,h=7==e,p=5==e||f;return function(d,m,g,y){for(var v,b,E=a(d),D=i(E),w=n(m,g),x=s(D),F=0,S=y||u,A=t?S(d,x):r||h?S(d,0):void 0;x>F;F++)if((p||F in D)&&(b=w(v=D[F],F,E),e))if(t)A[F]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return F;case 2:c(A,v)}else switch(e){case 4:return!1;case 7:c(A,v)}return f?-1:o||l?l:A}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},15815:(e,t,r)=>{var n=r(82170),o=r(19163),i=r(27098),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},3939:(e,t,r)=>{"use strict";var n=r(82170);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},2005:(e,t,r)=>{var n=r(52427),o=r(44247),i=r(22146),a=r(61166),s=TypeError,u=function(e){return function(t,r,u,c){n(r);var l=o(t),f=i(l),h=a(l),p=e?h-1:0,d=e?-1:1;if(u<2)for(;;){if(p in f){c=f[p],p+=d;break}if(p+=d,e?p<0:h<=p)throw s("Reduce of empty array with no initial value")}for(;e?p>=0:h>p;p+=d)p in f&&(c=r(c,f[p],p,l));return c}};e.exports={left:u(!1),right:u(!0)}},19912:(e,t,r)=>{"use strict";var n=r(12404),o=r(55384),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},56765:(e,t,r)=>{var n=r(73041),o=r(61166),i=r(87926),a=Array,s=Math.max;e.exports=function(e,t,r){for(var u=o(e),c=n(t,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),h=0;c<l;c++,h++)i(f,h,e[c]);return f.length=h,f}},52980:(e,t,r)=>{var n=r(80764);e.exports=n([].slice)},98110:(e,t,r)=>{var n=r(56765),o=Math.floor,i=function(e,t){var r=e.length,u=o(r/2);return r<8?a(e,t):s(e,i(n(e,0,u),t),i(n(e,u),t),t)},a=function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},s=function(e,t,r,n){for(var o=t.length,i=r.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?n(t[a],r[s])<=0?t[a++]:r[s++]:a<o?t[a++]:r[s++];return e};e.exports=i},12916:(e,t,r)=>{var n=r(55384),o=r(35615),i=r(12465),a=r(19163)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},31780:(e,t,r)=>{var n=r(12916);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},86948:(e,t,r)=>{var n=r(76824),o=r(53821);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},49328:(e,t,r)=>{var n=r(19163)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},956:(e,t,r)=>{var n=r(80764),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},9909:(e,t,r)=>{var n=r(57867),o=r(17389),i=r(956),a=r(19163)("toStringTag"),s=Object,u="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:u?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},59962:(e,t,r)=>{var n=r(20627),o=r(32463),i=r(83178),a=r(33015);e.exports=function(e,t,r){for(var s=o(t),u=a.f,c=i.f,l=0;l<s.length;l++){var f=s[l];n(e,f)||r&&n(r,f)||u(e,f,c(t,f))}}},34749:(e,t,r)=>{var n=r(19163)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},92757:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},55771:(e,t,r)=>{var n=r(80764),o=r(28466),i=r(38943),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var u=i(o(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(i(n),a,""")+'"'),c+">"+u+"</"+t+">"}},82229:e=>{e.exports=function(e,t){return{value:e,done:t}}},3085:(e,t,r)=>{var n=r(12404),o=r(33015),i=r(30073);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},30073:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},87926:(e,t,r)=>{"use strict";var n=r(61918),o=r(33015),i=r(30073);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},21571:(e,t,r)=>{var n=r(7841),o=r(33015);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},94519:(e,t,r)=>{var n=r(17389),o=r(33015),i=r(7841),a=r(67528);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&i(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},68965:(e,t,r)=>{var n=r(94519);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},67528:(e,t,r)=>{var n=r(92019),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},12404:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},93398:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},1220:(e,t,r)=>{var n=r(92019),o=r(12465),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},37711:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},12135:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},25011:(e,t,r)=>{var n=r(1220)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},76786:(e,t,r)=>{var n=r(89384),o=r(5936);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},89384:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},9022:(e,t,r)=>{var n=r(75531);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},47684:(e,t,r)=>{var n=r(75531);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5936:(e,t,r)=>{var n=r(44675),o=r(956);e.exports=void 0!==n&&"process"==o(n)},42173:(e,t,r)=>{var n=r(75531);e.exports=/web0s(?!.*chrome)/i.test(n)},75531:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},27098:(e,t,r)=>{var n,o,i=r(92019),a=r(75531),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},72197:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},58936:(e,t,r)=>{var n=r(80764),o=Error,i=n("".replace),a=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},49235:(e,t,r)=>{var n=r(3085),o=r(58936),i=r(3358),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},3358:(e,t,r)=>{var n=r(82170),o=r(30073);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},20123:(e,t,r)=>{"use strict";var n=r(12404),o=r(82170),i=r(76824),a=r(22909),s=r(94425),u=Error.prototype.toString,c=o((function(){if(n){var e=a(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==u.call(e))return!0}return"2: 1"!==u.call({message:1,name:2})||"Error"!==u.call({})}));e.exports=c?function(){var e=i(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:u},46367:(e,t,r)=>{var n=r(92019),o=r(83178).f,i=r(3085),a=r(94519),s=r(67528),u=r(59962),c=r(61323);e.exports=function(e,t){var r,l,f,h,p,d=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[d]||s(d,{}):(n[d]||{}).prototype)for(l in t){if(h=t[l],f=e.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(m?l:d+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(r,l,h,e)}}},82170:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},51705:(e,t,r)=>{"use strict";r(38664);var n=r(91889),o=r(94519),i=r(9338),a=r(82170),s=r(19163),u=r(3085),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),p=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!p||!d||r){var m=n(/./[h]),g=t(h,""[e],(function(e,t,r,o,a){var s=n(e),u=t.exec;return u===i||u===l.exec?p&&!a?{done:!0,value:m(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(l,h,g[1])}f&&u(l[h],"sham",!0)}},31152:(e,t,r)=>{var n=r(13780),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},46748:(e,t,r)=>{var n=r(91889),o=r(52427),i=r(13780),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},13780:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},48836:(e,t,r)=>{"use strict";var n=r(80764),o=r(52427),i=r(12465),a=r(20627),s=r(52980),u=r(13780),c=Function,l=n([].concat),f=n([].join),h={},p=function(e,t,r){if(!a(h,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";h[t]=c("C,a","return new C("+f(n,",")+")")}return h[t](e,r)};e.exports=u?c.bind:function(e){var t=o(this),r=t.prototype,n=s(arguments,1),a=function(){var r=l(n,s(arguments));return this instanceof a?p(t,r.length,r):t.apply(e,r)};return i(r)&&(a.prototype=r),a}},51568:(e,t,r)=>{var n=r(13780),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},95114:(e,t,r)=>{var n=r(12404),o=r(20627),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},75904:(e,t,r)=>{var n=r(80764),o=r(52427);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},91889:(e,t,r)=>{var n=r(956),o=r(80764);e.exports=function(e){if("Function"===n(e))return o(e)}},80764:(e,t,r)=>{var n=r(13780),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},73012:(e,t,r)=>{var n=r(92019),o=r(17389),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},89781:(e,t,r)=>{var n=r(9909),o=r(28453),i=r(82109),a=r(22311),s=r(19163)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[n(e)]}},59119:(e,t,r)=>{var n=r(51568),o=r(52427),i=r(76824),a=r(74259),s=r(89781),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw u(a(e)+" is not iterable")}},63209:(e,t,r)=>{var n=r(80764),o=r(55384),i=r(17389),a=r(956),s=r(38943),u=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var c=e[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!=a(c)&&"String"!=a(c)||u(r,s(c))}var l=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(o(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},28453:(e,t,r)=>{var n=r(52427),o=r(82109);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},42371:(e,t,r)=>{var n=r(80764),o=r(44247),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var p=r+e.length,d=n.length,m=l;return void 0!==f&&(f=o(f),m=c),s(h,m,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,p);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>d){var h=i(l/10);return 0===h?o:h<=d?void 0===n[h-1]?a(s,1):n[h-1]+a(s,1):o}c=n[l-1]}return void 0===c?"":c}))}},92019:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},20627:(e,t,r)=>{var n=r(80764),o=r(44247),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},96508:e=>{e.exports={}},6666:e=>{e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},83345:(e,t,r)=>{var n=r(73012);e.exports=n("document","documentElement")},88437:(e,t,r)=>{var n=r(12404),o=r(82170),i=r(1220);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},22146:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(956),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},3661:(e,t,r)=>{var n=r(17389),o=r(12465),i=r(9125);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},6070:(e,t,r)=>{var n=r(80764),o=r(17389),i=r(62548),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},42534:(e,t,r)=>{var n=r(12465),o=r(3085);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},53292:(e,t,r)=>{var n,o,i,a=r(43018),s=r(92019),u=r(12465),c=r(3085),l=r(20627),f=r(62548),h=r(40019),p=r(96508),d="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw m(d);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var v=h("state");p[v]=!0,n=function(e,t){if(l(e,v))throw m(d);return t.facade=e,c(e,v,t),t},o=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return r}}}},22464:(e,t,r)=>{var n=r(19163),o=r(22311),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},55384:(e,t,r)=>{var n=r(956);e.exports=Array.isArray||function(e){return"Array"==n(e)}},17389:(e,t,r)=>{var n=r(93398),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},35615:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(17389),a=r(9909),s=r(73012),u=r(6070),c=function(){},l=[],f=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),d=!h.exec(c),m=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(h,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!f||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},61323:(e,t,r)=>{var n=r(82170),o=r(17389),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==l||r!=c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},82109:e=>{e.exports=function(e){return null==e}},12465:(e,t,r)=>{var n=r(17389),o=r(93398),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},33709:e=>{e.exports=!1},75863:(e,t,r)=>{var n=r(12465),o=r(956),i=r(19163)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},51666:(e,t,r)=>{var n=r(73012),o=r(17389),i=r(42378),a=r(78238),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},64247:(e,t,r)=>{var n=r(46748),o=r(51568),i=r(76824),a=r(74259),s=r(22464),u=r(61166),c=r(42378),l=r(59119),f=r(89781),h=r(53821),p=TypeError,d=function(e,t){this.stopped=e,this.result=t},m=d.prototype;e.exports=function(e,t,r){var g,y,v,b,E,D,w,x=r&&r.that,F=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),C=n(t,x),P=function(e){return g&&h(g,"normal",e),new d(!0,e)},O=function(e){return F?(i(e),k?C(e[0],e[1],P):C(e[0],e[1])):k?C(e,P):C(e)};if(S)g=e.iterator;else if(A)g=e;else{if(!(y=f(e)))throw p(a(e)+" is not iterable");if(s(y)){for(v=0,b=u(e);b>v;v++)if((E=O(e[v]))&&c(m,E))return E;return new d(!1)}g=l(e,y)}for(D=S?e.next:g.next;!(w=o(D,g)).done;){try{E=O(w.value)}catch(e){h(g,"throw",e)}if("object"==typeof E&&E&&c(m,E))return E}return new d(!1)}},53821:(e,t,r)=>{var n=r(51568),o=r(76824),i=r(28453);e.exports=function(e,t,r){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return o(a),r}},91395:(e,t,r)=>{"use strict";var n=r(40641).IteratorPrototype,o=r(22909),i=r(30073),a=r(99434),s=r(22311),u=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,l,!1,!0),s[l]=u,e}},8629:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(33709),a=r(95114),s=r(17389),u=r(91395),c=r(29710),l=r(9125),f=r(99434),h=r(3085),p=r(94519),d=r(19163),m=r(22311),g=r(40641),y=a.PROPER,v=a.CONFIGURABLE,b=g.IteratorPrototype,E=g.BUGGY_SAFARI_ITERATORS,D=d("iterator"),w="keys",x="values",F="entries",S=function(){return this};e.exports=function(e,t,r,a,d,g,A){u(r,t,a);var k,C,P,O=function(e){if(e===d&&R)return R;if(!E&&e in _)return _[e];switch(e){case w:case x:case F:return function(){return new r(this,e)}}return function(){return new r(this)}},j=t+" Iterator",T=!1,_=e.prototype,B=_[D]||_["@@iterator"]||d&&_[d],R=!E&&B||O(d),I="Array"==t&&_.entries||B;if(I&&(k=c(I.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===b||(l?l(k,b):s(k[D])||p(k,D,S)),f(k,j,!0,!0),i&&(m[j]=S)),y&&d==x&&B&&B.name!==x&&(!i&&v?h(_,"name",x):(T=!0,R=function(){return o(B,this)})),d)if(C={values:O(x),keys:g?R:O(w),entries:O(F)},A)for(P in C)(E||T||!(P in _))&&p(_,P,C[P]);else n({target:t,proto:!0,forced:E||T},C);return i&&!A||_[D]===R||p(_,D,R,{name:d}),m[t]=R,C}},40641:(e,t,r)=>{"use strict";var n,o,i,a=r(82170),s=r(17389),u=r(12465),c=r(22909),l=r(29710),f=r(94519),h=r(19163),p=r(33709),d=h("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):m=!0),!u(n)||a((function(){var e={};return n[d].call(e)!==e}))?n={}:p&&(n=c(n)),s(n[d])||f(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},22311:e=>{e.exports={}},61166:(e,t,r)=>{var n=r(66772);e.exports=function(e){return n(e.length)}},7841:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(17389),a=r(20627),s=r(12404),u=r(95114).CONFIGURABLE,c=r(6070),l=r(53292),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,m=n("".slice),g=n("".replace),y=n([].join),v=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),E=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=E((function(){return i(this)&&h(this).source||c(this)}),"toString")},97951:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},90174:(e,t,r)=>{var n,o,i,a,s,u=r(92019),c=r(46748),l=r(83178).f,f=r(36218).set,h=r(66884),p=r(47684),d=r(9022),m=r(42173),g=r(5936),y=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,E=u.Promise,D=l(u,"queueMicrotask"),w=D&&D.value;if(!w){var x=new h,F=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&n(),e}e&&e.enter()};p||g||m||!y||!v?!d&&E&&E.resolve?((a=E.resolve(void 0)).constructor=E,s=c(a.then,a),n=function(){s(F)}):g?n=function(){b.nextTick(F)}:(f=c(f,u),n=function(){f(F)}):(o=!0,i=v.createTextNode(""),new y(F).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),w=function(e){x.head||n(),x.add(e)}}e.exports=w},28567:(e,t,r)=>{"use strict";var n=r(52427),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},94425:(e,t,r)=>{var n=r(38943);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},28410:(e,t,r)=>{var n=r(75863),o=TypeError;e.exports=function(e){if(n(e))throw o("The method doesn't accept regular expressions");return e}},98340:(e,t,r)=>{"use strict";var n=r(12404),o=r(80764),i=r(51568),a=r(82170),s=r(34329),u=r(38891),c=r(38327),l=r(44247),f=r(22146),h=Object.assign,p=Object.defineProperty,d=o([].concat);e.exports=!h||a((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=h({},e)[r]||s(h({},t)).join("")!=o}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,h=u.f,p=c.f;o>a;)for(var m,g=f(arguments[a++]),y=h?d(s(g),h(g)):s(g),v=y.length,b=0;v>b;)m=y[b++],n&&!i(p,g,m)||(r[m]=g[m]);return r}:h},22909:(e,t,r)=>{var n,o=r(76824),i=r(70948),a=r(72197),s=r(96508),u=r(83345),c=r(1220),l=r(40019),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+h+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var o=a.length;o--;)delete y[f][a[o]];return y()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=o(e),r=new d,d[f]=null,r[p]=e):r=y(),void 0===t?r:i.f(r,t)}},70948:(e,t,r)=>{var n=r(12404),o=r(53939),i=r(33015),a=r(76824),s=r(82415),u=r(34329);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),o=u(t),c=o.length,l=0;c>l;)i.f(e,r=o[l++],n[r]);return e}},33015:(e,t,r)=>{var n=r(12404),o=r(88437),i=r(53939),a=r(76824),s=r(61918),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},83178:(e,t,r)=>{var n=r(12404),o=r(51568),i=r(38327),a=r(30073),s=r(82415),u=r(61918),c=r(20627),l=r(88437),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},66877:(e,t,r)=>{var n=r(956),o=r(82415),i=r(28290).f,a=r(56765),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},28290:(e,t,r)=>{var n=r(39814),o=r(72197).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},38891:(e,t)=>{t.f=Object.getOwnPropertySymbols},29710:(e,t,r)=>{var n=r(20627),o=r(17389),i=r(44247),a=r(40019),s=r(92757),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?l:null}},42378:(e,t,r)=>{var n=r(80764);e.exports=n({}.isPrototypeOf)},39814:(e,t,r)=>{var n=r(80764),o=r(20627),i=r(82415),a=r(99483).indexOf,s=r(96508),u=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&u(l,r);for(;t.length>c;)o(n,r=t[c++])&&(~a(l,r)||u(l,r));return l}},34329:(e,t,r)=>{var n=r(39814),o=r(72197);e.exports=Object.keys||function(e){return n(e,o)}},38327:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},9125:(e,t,r)=>{var n=r(75904),o=r(76824),i=r(33693);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},63850:(e,t,r)=>{"use strict";var n=r(57867),o=r(9909);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},29276:(e,t,r)=>{var n=r(51568),o=r(17389),i=r(12465),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw a("Can't convert object to primitive value")}},32463:(e,t,r)=>{var n=r(73012),o=r(80764),i=r(28290),a=r(38891),s=r(76824),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?u(t,r(e)):t}},89683:(e,t,r)=>{var n=r(92019);e.exports=n},20481:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},16069:(e,t,r)=>{var n=r(92019),o=r(61636),i=r(17389),a=r(61323),s=r(6070),u=r(19163),c=r(76786),l=r(89384),f=r(33709),h=r(27098),p=o&&o.prototype,d=u("species"),m=!1,g=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===h)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(m=r.then((function(){}))instanceof n))return!0}return!t&&(c||l)&&!g}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:g,SUBCLASSING:m}},61636:(e,t,r)=>{var n=r(92019);e.exports=n.Promise},25777:(e,t,r)=>{var n=r(76824),o=r(12465),i=r(28567);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},83152:(e,t,r)=>{var n=r(61636),o=r(49328),i=r(16069).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},85981:(e,t,r)=>{var n=r(33015).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},66884:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},35198:(e,t,r)=>{var n=r(51568),o=r(76824),i=r(17389),a=r(956),s=r(9338),u=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},9338:(e,t,r)=>{"use strict";var n,o,i=r(51568),a=r(80764),s=r(38943),u=r(68811),c=r(45526),l=r(34558),f=r(22909),h=r(53292).get,p=r(92993),d=r(39953),m=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,v=a("".charAt),b=a("".indexOf),E=a("".replace),D=a("".slice),w=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),x=c.BROKEN_CARET,F=void 0!==/()??/.exec("")[1];(w||F||x||p||d)&&(y=function(e){var t,r,n,o,a,c,l,p=this,d=h(p),S=s(e),A=d.raw;if(A)return A.lastIndex=p.lastIndex,t=i(y,A,S),p.lastIndex=A.lastIndex,t;var k=d.groups,C=x&&p.sticky,P=i(u,p),O=p.source,j=0,T=S;if(C&&(P=E(P,"y",""),-1===b(P,"g")&&(P+="g"),T=D(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==v(S,p.lastIndex-1))&&(O="(?: "+O+")",T=" "+T,j++),r=new RegExp("^(?:"+O+")",P)),F&&(r=new RegExp("^"+O+"$(?!\\s)",P)),w&&(n=p.lastIndex),o=i(g,C?r:p,T),C?o?(o.input=D(o.input,j),o[0]=D(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:w&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),F&&o&&o.length>1&&i(m,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=c=f(null),a=0;a<k.length;a++)c[(l=k[a])[0]]=o[l[1]];return o}),e.exports=y},68811:(e,t,r)=>{"use strict";var n=r(76824);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},46059:(e,t,r)=>{var n=r(51568),o=r(20627),i=r(42378),a=r(68811),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},45526:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),s=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},92993:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},39953:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},28466:(e,t,r)=>{var n=r(82109),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},82977:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},79229:(e,t,r)=>{"use strict";var n=r(73012),o=r(21571),i=r(19163),a=r(12404),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},99434:(e,t,r)=>{var n=r(33015).f,o=r(20627),i=r(19163)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},40019:(e,t,r)=>{var n=r(34558),o=r(58103),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},62548:(e,t,r)=>{var n=r(92019),o=r(67528),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},34558:(e,t,r)=>{var n=r(33709),o=r(62548);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8256:(e,t,r)=>{var n=r(76824),o=r(17752),i=r(82109),a=r(19163)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||i(r=n(s)[a])?t:o(r)}},87241:(e,t,r)=>{var n=r(82170);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},34003:(e,t,r)=>{var n=r(80764),o=r(86287),i=r(38943),a=r(28466),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),h=o(r),p=f.length;return h<0||h>=p?e?"":void 0:(n=u(f,h))<55296||n>56319||h+1===p||(l=u(f,h+1))<56320||l>57343?e?s(f,h):n:e?c(f,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},85946:(e,t,r)=>{var n=r(80764),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=n(a.exec),l=Math.floor,f=String.fromCharCode,h=n("".charCodeAt),p=n([].join),d=n([].push),m=n("".replace),g=n("".split),y=n("".toLowerCase),v=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},E=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=h(e,r++);if(o>=55296&&o<=56319&&r<n){var i=h(e,r++);56320==(64512&i)?d(t,((1023&o)<<10)+(1023&i)+65536):(d(t,o),r--)}else d(t,o)}return t}(e);var r,n,i=e.length,a=128,c=0,m=72;for(r=0;r<e.length;r++)(n=e[r])<128&&d(t,f(n));var g=t.length,y=g;for(g&&d(t,"-");y<i;){var E=o;for(r=0;r<e.length;r++)(n=e[r])>=a&&n<E&&(E=n);var D=y+1;if(E-a>l((o-c)/D))throw u(s);for(c+=(E-a)*D,a=E,r=0;r<e.length;r++){if((n=e[r])<a&&++c>o)throw u(s);if(n==a){for(var w=c,x=36;;){var F=x<=m?1:x>=m+26?26:x-m;if(w<F)break;var S=w-F,A=36-F;d(t,f(v(F+S%A))),w=l(S/A),x+=36}d(t,f(v(w))),m=b(c,D,y==g),c=0,y++}}c++,a++}return p(t,"")};e.exports=function(e){var t,r,n=[],o=g(m(y(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],d(n,c(i,r)?"xn--"+E(r):r);return p(n,".")}},81582:(e,t,r)=>{var n=r(95114).PROPER,o=r(82170),i=r(2567);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},50252:(e,t,r)=>{var n=r(80764),o=r(28466),i=r(38943),a=r(2567),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,c,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},63488:(e,t,r)=>{var n=r(27098),o=r(82170),i=r(92019).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},22818:(e,t,r)=>{var n=r(51568),o=r(73012),i=r(19163),a=r(94519);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},58463:(e,t,r)=>{var n=r(63488);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},36218:(e,t,r)=>{var n,o,i,a,s=r(92019),u=r(31152),c=r(46748),l=r(17389),f=r(20627),h=r(82170),p=r(83345),d=r(52980),m=r(1220),g=r(13108),y=r(47684),v=r(5936),b=s.setImmediate,E=s.clearImmediate,D=s.process,w=s.Dispatch,x=s.Function,F=s.MessageChannel,S=s.String,A=0,k={},C="onreadystatechange";h((function(){n=s.location}));var P=function(e){if(f(k,e)){var t=k[e];delete k[e],t()}},O=function(e){return function(){P(e)}},j=function(e){P(e.data)},T=function(e){s.postMessage(S(e),n.protocol+"//"+n.host)};b&&E||(b=function(e){g(arguments.length,1);var t=l(e)?e:x(e),r=d(arguments,1);return k[++A]=function(){u(t,void 0,r)},o(A),A},E=function(e){delete k[e]},v?o=function(e){D.nextTick(O(e))}:w&&w.now?o=function(e){w.now(O(e))}:F&&!y?(a=(i=new F).port2,i.port1.onmessage=j,o=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(T)?(o=T,s.addEventListener("message",j,!1)):o=C in m("script")?function(e){p.appendChild(m("script"))[C]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:b,clear:E}},73041:(e,t,r)=>{var n=r(86287),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},82415:(e,t,r)=>{var n=r(22146),o=r(28466);e.exports=function(e){return n(o(e))}},86287:(e,t,r)=>{var n=r(97951);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},66772:(e,t,r)=>{var n=r(86287),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},44247:(e,t,r)=>{var n=r(28466),o=Object;e.exports=function(e){return o(n(e))}},34929:(e,t,r)=>{var n=r(51568),o=r(12465),i=r(51666),a=r(28453),s=r(29276),u=r(19163),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,l);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},61918:(e,t,r)=>{var n=r(34929),o=r(51666);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},57867:(e,t,r)=>{var n={};n[r(19163)("toStringTag")]="z",e.exports="[object z]"===String(n)},38943:(e,t,r)=>{var n=r(9909),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},74259:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},58103:(e,t,r)=>{var n=r(80764),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},25047:(e,t,r)=>{var n=r(82170),o=r(19163),i=r(12404),a=r(33709),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},78238:(e,t,r)=>{var n=r(63488);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},53939:(e,t,r)=>{var n=r(12404),o=r(82170);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},13108:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},43018:(e,t,r)=>{var n=r(92019),o=r(17389),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},33758:(e,t,r)=>{var n=r(89683),o=r(20627),i=r(71705),a=r(33015).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},71705:(e,t,r)=>{var n=r(19163);t.f=n},19163:(e,t,r)=>{var n=r(92019),o=r(34558),i=r(20627),a=r(58103),s=r(63488),u=r(78238),c=n.Symbol,l=o("wks"),f=u?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(c,e)?c[e]:f("Symbol."+e)),l[e]}},2567:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},15171:(e,t,r)=>{"use strict";var n=r(73012),o=r(20627),i=r(3085),a=r(42378),s=r(9125),u=r(59962),c=r(85981),l=r(3661),f=r(94425),h=r(42534),p=r(49235),d=r(12404),m=r(33709);e.exports=function(e,t,r,g){var y="stackTraceLimit",v=g?2:1,b=e.split("."),E=b[b.length-1],D=n.apply(null,b);if(D){var w=D.prototype;if(!m&&o(w,"cause")&&delete w.cause,!r)return D;var x=n("Error"),F=t((function(e,t){var r=f(g?t:e,void 0),n=g?new D(e):new D;return void 0!==r&&i(n,"message",r),p(n,F,n.stack,2),this&&a(w,this)&&l(n,this,F),arguments.length>v&&h(n,arguments[v]),n}));if(F.prototype=w,"Error"!==E?s?s(F,x):u(F,x,{name:!0}):d&&y in D&&(c(F,D,y),c(F,D,"prepareStackTrace")),u(F,D),!m)try{w.name!==E&&i(w,"name",E),w.constructor=F}catch(e){}return F}}},7190:(e,t,r)=>{"use strict";var n=r(46367),o=r(82170),i=r(55384),a=r(12465),s=r(44247),u=r(61166),c=r(37711),l=r(87926),f=r(31780),h=r(15815),p=r(19163),d=r(27098),m=p("isConcatSpreadable"),g=d>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!g||!h("concat")},{concat:function(e){var t,r,n,o,i,a=s(this),h=f(a,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(y(i=-1===t?a:arguments[t]))for(o=u(i),c(p+o),r=0;r<o;r++,p++)r in i&&l(h,p,i[r]);else c(p+1),l(h,p++,i);return h.length=p,h}})},44703:(e,t,r)=>{"use strict";var n=r(46367),o=r(93250).filter;n({target:"Array",proto:!0,forced:!r(15815)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},77389:(e,t,r)=>{"use strict";var n=r(46367),o=r(71385);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},62443:(e,t,r)=>{"use strict";var n=r(46367),o=r(99483).includes,i=r(82170),a=r(52921);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},75591:(e,t,r)=>{"use strict";var n=r(82415),o=r(52921),i=r(22311),a=r(53292),s=r(33015).f,u=r(8629),c=r(82229),l=r(33709),f=r(12404),h="Array Iterator",p=a.set,d=a.getterFor(h);e.exports=u(Array,"Array",(function(e,t){p(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,c(void 0,!0)):c("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},70888:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(22146),a=r(82415),s=r(3939),u=o([].join);n({target:"Array",proto:!0,forced:i!=Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},8213:(e,t,r)=>{"use strict";var n=r(46367),o=r(93250).map;n({target:"Array",proto:!0,forced:!r(15815)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},25013:(e,t,r)=>{"use strict";var n=r(46367),o=r(44247),i=r(61166),a=r(19912),s=r(37711);n({target:"Array",proto:!0,arity:1,forced:r(82170)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},75041:(e,t,r)=>{"use strict";var n=r(46367),o=r(2005).left,i=r(3939),a=r(27098);n({target:"Array",proto:!0,forced:!r(5936)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},43934:(e,t,r)=>{"use strict";var n=r(46367),o=r(55384),i=r(35615),a=r(12465),s=r(73041),u=r(61166),c=r(82415),l=r(87926),f=r(19163),h=r(15815),p=r(52980),d=h("slice"),m=f("species"),g=Array,y=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,f,h=c(this),d=u(h),v=s(e,d),b=s(void 0===t?d:t,d);if(o(h)&&(r=h.constructor,(i(r)&&(r===g||o(r.prototype))||a(r)&&null===(r=r[m]))&&(r=void 0),r===g||void 0===r))return p(h,v,b);for(n=new(void 0===r?g:r)(y(b-v,0)),f=0;v<b;v++,f++)v in h&&l(n,f,h[v]);return n.length=f,n}})},93344:(e,t,r)=>{var n=r(80764),o=r(94519),i=Date.prototype,a="Invalid Date",s="toString",u=n(i[s]),c=n(i.getTime);String(new Date(NaN))!=a&&o(i,s,(function(){var e=c(this);return e==e?u(this):a}))},27313:(e,t,r)=>{var n=r(46367),o=r(92019),i=r(31152),a=r(15171),s="WebAssembly",u=o[s],c=7!==Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=a(e,t,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},f=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},81044:(e,t,r)=>{var n=r(94519),o=r(20123),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},23740:(e,t,r)=>{var n=r(12404),o=r(95114).EXISTS,i=r(80764),a=r(21571),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(e){return""}}})},70776:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(31152),a=r(51568),s=r(80764),u=r(82170),c=r(17389),l=r(51666),f=r(52980),h=r(63209),p=r(63488),d=String,m=o("JSON","stringify"),g=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),E=s(1..toString),D=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,F=!p||u((function(){var e=o("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),S=u((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),A=function(e,t){var r=f(arguments),n=h(t);if(c(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(c(n)&&(t=a(n,this,d(e),t)),!l(t))return t},i(m,null,r)},k=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return g(w,e)&&!g(x,o)||g(x,e)&&!g(w,n)?"\\u"+E(v(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:F||S},{stringify:function(e,t,r){var n=f(arguments),o=i(F?A:m,null,n);return S&&"string"==typeof o?b(o,D,k):o}})},94332:(e,t,r)=>{var n=r(46367),o=r(98340);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},87462:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(70948).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},5148:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(33015).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},19855:(e,t,r)=>{var n=r(46367),o=r(82170),i=r(82415),a=r(83178).f,s=r(12404);n({target:"Object",stat:!0,forced:!s||o((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},55126:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(32463),a=r(82415),s=r(83178),u=r(87926);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=s.f,c=i(n),l={},f=0;c.length>f;)void 0!==(r=o(n,t=c[f++]))&&u(l,t,r);return l}})},71423:(e,t,r)=>{var n=r(46367),o=r(63488),i=r(82170),a=r(38891),s=r(44247);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},25444:(e,t,r)=>{var n=r(46367),o=r(44247),i=r(34329);n({target:"Object",stat:!0,forced:r(82170)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},63583:(e,t,r)=>{var n=r(57867),o=r(94519),i=r(63850);n||o(Object.prototype,"toString",i,{unsafe:!0})},12022:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(52427),a=r(28567),s=r(20481),u=r(64247);n({target:"Promise",stat:!0,forced:r(83152)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1;u(e,(function(e){var i=s++,u=!1;l++,o(r,t,e).then((function(e){u||(u=!0,a[i]=e,--l||n(a))}),c)})),--l||n(a)}));return l.error&&c(l.value),r.promise}})},67089:(e,t,r)=>{"use strict";var n=r(46367),o=r(33709),i=r(16069).CONSTRUCTOR,a=r(61636),s=r(73012),u=r(17389),c=r(94519),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(a)){var f=s("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},67951:(e,t,r)=>{"use strict";var n,o,i,a=r(46367),s=r(33709),u=r(5936),c=r(92019),l=r(51568),f=r(94519),h=r(9125),p=r(99434),d=r(79229),m=r(52427),g=r(17389),y=r(12465),v=r(21167),b=r(8256),E=r(36218).set,D=r(90174),w=r(6666),x=r(20481),F=r(66884),S=r(53292),A=r(61636),k=r(16069),C=r(28567),P="Promise",O=k.CONSTRUCTOR,j=k.REJECTION_EVENT,T=k.SUBCLASSING,_=S.getterFor(P),B=S.set,R=A&&A.prototype,I=A,L=R,M=c.TypeError,N=c.document,$=c.process,U=C.f,z=U,H=!!(N&&N.createEvent&&c.dispatchEvent),q="unhandledrejection",V=function(e){var t;return!(!y(e)||!g(t=e.then))&&t},G=function(e,t){var r,n,o,i=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===e.promise?c(M("Promise-chain cycle")):(n=V(r))?l(n,r,u,c):u(r)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},W=function(e,t){e.notified||(e.notified=!0,D((function(){for(var r,n=e.reactions;r=n.get();)G(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},Q=function(e,t,r){var n,o;H?((n=N.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!j&&(o=c["on"+e])?o(n):e===q&&w("Unhandled promise rejection",r)},K=function(e){l(E,c,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=x((function(){u?$.emit("unhandledRejection",n,r):Q(q,r,n)})),e.rejection=u||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){l(E,c,(function(){var t=e.facade;u?$.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},J=function(e,t,r){return function(n){e(t,n,r)}},X=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw M("Promise can't be resolved itself");var n=V(t);n?D((function(){var r={done:!1};try{l(n,t,J(ee,r,e),J(X,r,e))}catch(t){X(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){X({done:!1},t,e)}}};if(O&&(L=(I=function(e){v(this,L),m(e),l(n,this);var t=_(this);try{e(J(ee,t),J(X,t))}catch(e){X(t,e)}}).prototype,(n=function(e){B(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new F,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var r=_(this),n=U(b(this,I));return r.parent=!0,n.ok=!g(e)||e,n.fail=g(t)&&t,n.domain=u?$.domain:void 0,0==r.state?r.reactions.add(n):D((function(){G(n,r)})),n.promise})),o=function(){var e=new n,t=_(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(X,t)},C.f=U=function(e){return e===I||undefined===e?new o(e):z(e)},!s&&g(A)&&R!==Object.prototype)){i=R.then,T||f(R,"then",(function(e,t){var r=this;return new I((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(e){}h&&h(R,L)}a({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:I}),p(I,P,!1,!0),d(P)},7395:(e,t,r)=>{r(67951),r(12022),r(67089),r(49795),r(35264),r(598)},49795:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(52427),a=r(28567),s=r(20481),u=r(64247);n({target:"Promise",stat:!0,forced:r(83152)},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=s((function(){var a=i(t.resolve);u(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},35264:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(28567);n({target:"Promise",stat:!0,forced:r(16069).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},598:(e,t,r)=>{"use strict";var n=r(46367),o=r(73012),i=r(33709),a=r(61636),s=r(16069).CONSTRUCTOR,u=r(25777),c=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return u(l&&this===c?a:this,e)}})},11333:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(31152),a=r(48836),s=r(17752),u=r(76824),c=r(12465),l=r(22909),f=r(82170),h=o("Reflect","construct"),p=Object.prototype,d=[].push,m=f((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),g=!f((function(){h((function(){}))})),y=m||g;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),u(t);var r=arguments.length<3?e:s(arguments[2]);if(g&&!m)return h(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(d,n,t),new(i(a,e,n))}var o=r.prototype,f=l(c(o)?o:p),y=i(e,f,t);return c(y)?y:f}})},16585:(e,t,r)=>{var n=r(46367),o=r(92019),i=r(99434);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},83473:(e,t,r)=>{var n=r(12404),o=r(92019),i=r(80764),a=r(61323),s=r(3661),u=r(3085),c=r(28290).f,l=r(42378),f=r(75863),h=r(38943),p=r(46059),d=r(45526),m=r(85981),g=r(94519),y=r(82170),v=r(20627),b=r(53292).enforce,E=r(79229),D=r(19163),w=r(92993),x=r(39953),F=D("match"),S=o.RegExp,A=S.prototype,k=o.SyntaxError,C=i(A.exec),P=i("".charAt),O=i("".replace),j=i("".indexOf),T=i("".slice),_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,R=/a/g,I=new S(B)!==B,L=d.MISSED_STICKY,M=d.UNSUPPORTED_Y,N=n&&(!I||L||w||x||y((function(){return R[F]=!1,S(B)!=B||S(R)==R||"/a/i"!=S(B,"i")})));if(a("RegExp",N)){for(var $=function(e,t){var r,n,o,i,a,c,d=l(A,this),m=f(e),g=void 0===t,y=[],E=e;if(!d&&m&&g&&e.constructor===$)return e;if((m||l(A,e))&&(e=e.source,g&&(t=p(E))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),E=e,w&&"dotAll"in B&&(n=!!t&&j(t,"s")>-1)&&(t=O(t,/s/g,"")),r=t,L&&"sticky"in B&&(o=!!t&&j(t,"y")>-1)&&M&&(t=O(t,/y/g,"")),x&&(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,u=!1,c=0,l="";n<=r;n++){if("\\"===(t=P(e,n)))t+=P(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(_,T(e,n+1))&&(n+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||v(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],u=!1,l="";continue}u?l+=t:o+=t}return[o,i]}(e),e=i[0],y=i[1]),a=s(S(e,t),d?this:A,$),(n||o||y.length)&&(c=b(a),n&&(c.dotAll=!0,c.raw=$(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=P(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+P(e,++n);return o}(e),r)),o&&(c.sticky=!0),y.length&&(c.groups=y)),e!==E)try{u(a,"source",""===E?"(?:)":E)}catch(e){}return a},U=c(S),z=0;U.length>z;)m($,S,U[z++]);A.constructor=$,$.prototype=A,g(o,"RegExp",$,{constructor:!0})}E("RegExp")},51913:(e,t,r)=>{var n=r(12404),o=r(92993),i=r(956),a=r(21571),s=r(53292).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},38664:(e,t,r)=>{"use strict";var n=r(46367),o=r(9338);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},43050:(e,t,r)=>{var n=r(12404),o=r(45526).MISSED_STICKY,i=r(956),a=r(21571),s=r(53292).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},80532:(e,t,r)=>{"use strict";r(38664);var n,o,i=r(46367),a=r(51568),s=r(17389),u=r(76824),c=r(38943),l=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=u(this),r=c(e),n=t.exec;if(!s(n))return a(f,t,r);var o=a(n,t,r);return null!==o&&(u(o),!0)}})},65251:(e,t,r)=>{"use strict";var n=r(95114).PROPER,o=r(94519),i=r(76824),a=r(38943),s=r(82170),u=r(46059),c="toString",l=RegExp.prototype[c],f=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h=n&&l.name!=c;(f||h)&&o(RegExp.prototype,c,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},82122:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(28410),a=r(28466),s=r(38943),u=r(34749),c=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},96853:(e,t,r)=>{"use strict";var n=r(34003).charAt,o=r(38943),i=r(53292),a=r(8629),s=r(82229),u="String Iterator",c=i.set,l=i.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},53915:(e,t,r)=>{"use strict";var n=r(46367),o=r(55771);n({target:"String",proto:!0,forced:r(87241)("link")},{link:function(e){return o(this,"a","href",e)}})},61228:(e,t,r)=>{"use strict";var n=r(51568),o=r(51705),i=r(76824),a=r(82109),s=r(66772),u=r(38943),c=r(28466),l=r(28453),f=r(10329),h=r(35198);o("match",(function(e,t,r){return[function(t){var r=c(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](u(r))},function(e){var n=i(this),o=u(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return h(n,o);var c=n.unicode;n.lastIndex=0;for(var l,p=[],d=0;null!==(l=h(n,o));){var m=u(l[0]);p[d]=m,""===m&&(n.lastIndex=f(o,s(n.lastIndex),c)),d++}return 0===d?null:p}]}))},17915:(e,t,r)=>{"use strict";var n=r(31152),o=r(51568),i=r(80764),a=r(51705),s=r(82170),u=r(76824),c=r(17389),l=r(82109),f=r(86287),h=r(66772),p=r(38943),d=r(28466),m=r(10329),g=r(28453),y=r(42371),v=r(35198),b=r(19163)("replace"),E=Math.max,D=Math.min,w=i([].concat),x=i([].push),F=i("".indexOf),S=i("".slice),A="$0"==="a".replace(/./,"$0"),k=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,r){var i=k?"$":"$0";return[function(e,r){var n=d(this),i=l(e)?void 0:g(e,b);return i?o(i,e,n,r):o(t,p(n),e,r)},function(e,o){var a=u(this),s=p(e);if("string"==typeof o&&-1===F(o,i)&&-1===F(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var d=c(o);d||(o=p(o));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var A=[];;){var k=v(a,s);if(null===k)break;if(x(A,k),!g)break;""===p(k[0])&&(a.lastIndex=m(s,h(a.lastIndex),b))}for(var C,P="",O=0,j=0;j<A.length;j++){for(var T=p((k=A[j])[0]),_=E(D(f(k.index),s.length),0),B=[],R=1;R<k.length;R++)x(B,void 0===(C=k[R])?C:String(C));var I=k.groups;if(d){var L=w([T],B,_,s);void 0!==I&&x(L,I);var M=p(n(o,void 0,L))}else M=y(T,s,_,B,I,o);_>=O&&(P+=S(s,O,_)+M,O=_+T.length)}return P+S(s,O)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||k)},57930:(e,t,r)=>{"use strict";var n=r(51568),o=r(51705),i=r(76824),a=r(82109),s=r(28466),u=r(82977),c=r(38943),l=r(28453),f=r(35198);o("search",(function(e,t,r){return[function(t){var r=s(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;var s=n.lastIndex;u(s,0)||(n.lastIndex=0);var l=f(n,o);return u(n.lastIndex,s)||(n.lastIndex=s),null===l?-1:l.index}]}))},69017:(e,t,r)=>{"use strict";var n,o=r(46367),i=r(91889),a=r(83178).f,s=r(66772),u=r(38943),c=r(28410),l=r(28466),f=r(34749),h=r(33709),p=i("".startsWith),d=i("".slice),m=Math.min,g=f("startsWith");o({target:"String",proto:!0,forced:!!(h||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(e){var t=u(l(this));c(e);var r=s(m(arguments.length>1?arguments[1]:void 0,t.length)),n=u(e);return p?p(t,n,r):d(t,r,r+n.length)===n}})},98006:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(28466),a=r(86287),s=r(38943),u=o("".slice),c=Math.max,l=Math.min;n({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(e,t){var r,n,o=s(i(this)),f=o.length,h=a(e);return h===1/0&&(h=0),h<0&&(h=c(f+h,0)),(r=void 0===t?f:a(t))<=0||r===1/0||h>=(n=l(h+r,f))?"":u(o,h,n)}})},33394:(e,t,r)=>{"use strict";var n=r(46367),o=r(50252).trim;n({target:"String",proto:!0,forced:r(81582)("trim")},{trim:function(){return o(this)}})},72336:(e,t,r)=>{r(33758)("asyncIterator")},79953:(e,t,r)=>{"use strict";var n=r(46367),o=r(92019),i=r(51568),a=r(80764),s=r(33709),u=r(12404),c=r(63488),l=r(82170),f=r(20627),h=r(42378),p=r(76824),d=r(82415),m=r(61918),g=r(38943),y=r(30073),v=r(22909),b=r(34329),E=r(28290),D=r(66877),w=r(38891),x=r(83178),F=r(33015),S=r(70948),A=r(38327),k=r(94519),C=r(21571),P=r(34558),O=r(40019),j=r(96508),T=r(58103),_=r(19163),B=r(71705),R=r(33758),I=r(22818),L=r(99434),M=r(53292),N=r(93250).forEach,$=O("hidden"),U="Symbol",z="prototype",H=M.set,q=M.getterFor(U),V=Object[z],G=o.Symbol,W=G&&G[z],Q=o.TypeError,K=o.QObject,Y=x.f,Z=F.f,J=D.f,X=A.f,ee=a([].push),te=P("symbols"),re=P("op-symbols"),ne=P("wks"),oe=!K||!K[z]||!K[z].findChild,ie=u&&l((function(){return 7!=v(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(V,t);n&&delete V[t],Z(e,t,r),n&&e!==V&&Z(V,t,n)}:Z,ae=function(e,t){var r=te[e]=v(W);return H(r,{type:U,tag:e,description:t}),u||(r.description=t),r},se=function(e,t,r){e===V&&se(re,t,r),p(e);var n=m(t);return p(r),f(te,n)?(r.enumerable?(f(e,$)&&e[$][n]&&(e[$][n]=!1),r=v(r,{enumerable:y(0,!1)})):(f(e,$)||Z(e,$,y(1,{})),e[$][n]=!0),ie(e,n,r)):Z(e,n,r)},ue=function(e,t){p(e);var r=d(t),n=b(r).concat(he(r));return N(n,(function(t){u&&!i(ce,r,t)||se(e,t,r[t])})),e},ce=function(e){var t=m(e),r=i(X,this,t);return!(this===V&&f(te,t)&&!f(re,t))&&(!(r||!f(this,t)||!f(te,t)||f(this,$)&&this[$][t])||r)},le=function(e,t){var r=d(e),n=m(t);if(r!==V||!f(te,n)||f(re,n)){var o=Y(r,n);return!o||!f(te,n)||f(r,$)&&r[$][n]||(o.enumerable=!0),o}},fe=function(e){var t=J(d(e)),r=[];return N(t,(function(e){f(te,e)||f(j,e)||ee(r,e)})),r},he=function(e){var t=e===V,r=J(t?re:d(e)),n=[];return N(r,(function(e){!f(te,e)||t&&!f(V,e)||ee(n,te[e])})),n};c||(k(W=(G=function(){if(h(W,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=T(e),r=function(e){this===V&&i(r,re,e),f(this,$)&&f(this[$],t)&&(this[$][t]=!1),ie(this,t,y(1,e))};return u&&oe&&ie(V,t,{configurable:!0,set:r}),ae(t,e)})[z],"toString",(function(){return q(this).tag})),k(G,"withoutSetter",(function(e){return ae(T(e),e)})),A.f=ce,F.f=se,S.f=ue,x.f=le,E.f=D.f=fe,w.f=he,B.f=function(e){return ae(_(e),e)},u&&(C(W,"description",{configurable:!0,get:function(){return q(this).description}}),s||k(V,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:G}),N(b(ne),(function(e){R(e)})),n({target:U,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?v(e):ue(v(e),t)},defineProperty:se,defineProperties:ue,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe}),I(),L(G,U),j[$]=!0},60337:(e,t,r)=>{"use strict";var n=r(46367),o=r(12404),i=r(92019),a=r(80764),s=r(20627),u=r(17389),c=r(42378),l=r(38943),f=r(21571),h=r(59962),p=i.Symbol,d=p&&p.prototype;if(o&&u(p)&&(!("description"in d)||void 0!==p().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(d,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};h(g,p),g.prototype=d,d.constructor=g;var y="Symbol(test)"==String(p("test")),v=a(d.valueOf),b=a(d.toString),E=/^Symbol\((.*)\)[^)]+$/,D=a("".replace),w=a("".slice);f(d,"description",{configurable:!0,get:function(){var e=v(this);if(s(m,e))return"";var t=b(e),r=y?w(t,7,-1):D(t,E,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},84944:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(20627),a=r(38943),s=r(34558),u=r(58463),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},49778:(e,t,r)=>{r(33758)("iterator")},82814:(e,t,r)=>{r(79953),r(84944),r(17206),r(70776),r(71423)},17206:(e,t,r)=>{var n=r(46367),o=r(20627),i=r(51666),a=r(74259),s=r(34558),u=r(58463),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},37607:(e,t,r)=>{var n=r(92019),o=r(12135),i=r(25011),a=r(71385),s=r(3085),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&u(n[c]&&n[c].prototype);u(i)},68546:(e,t,r)=>{var n=r(92019),o=r(12135),i=r(25011),a=r(75591),s=r(3085),u=r(19163),c=u("iterator"),l=u("toStringTag"),f=a.values,h=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(t){e[c]=f}if(e[l]||s(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var p in o)h(n[p]&&n[p].prototype,p);h(i,"DOMTokenList")},13122:(e,t,r)=>{"use strict";r(75591);var n=r(46367),o=r(92019),i=r(51568),a=r(80764),s=r(12404),u=r(25047),c=r(94519),l=r(21571),f=r(68965),h=r(99434),p=r(91395),d=r(53292),m=r(21167),g=r(17389),y=r(20627),v=r(46748),b=r(9909),E=r(76824),D=r(12465),w=r(38943),x=r(22909),F=r(30073),S=r(59119),A=r(89781),k=r(13108),C=r(19163),P=r(98110),O=C("iterator"),j="URLSearchParams",T=j+"Iterator",_=d.set,B=d.getterFor(j),R=d.getterFor(T),I=Object.getOwnPropertyDescriptor,L=function(e){if(!s)return o[e];var t=I(o,e);return t&&t.value},M=L("fetch"),N=L("Request"),$=L("Headers"),U=N&&N.prototype,z=$&&$.prototype,H=o.RegExp,q=o.TypeError,V=o.decodeURIComponent,G=o.encodeURIComponent,W=a("".charAt),Q=a([].join),K=a([].push),Y=a("".replace),Z=a([].shift),J=a([].splice),X=a("".split),ee=a("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return V(e)}catch(t){return e}},ie=function(e){var t=Y(e,te," "),r=4;try{return V(t)}catch(e){for(;r;)t=Y(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return se[e]},ce=function(e){return Y(G(e),ae,ue)},le=p((function(e,t){_(this,{type:T,iterator:S(B(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(D(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?ee(e,1):e:w(e)))};fe.prototype={type:j,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,s,u,c=A(e);if(c)for(r=(t=S(e,c)).next;!(n=i(r,t)).done;){if(a=(o=S(E(n.value))).next,(s=i(a,o)).done||(u=i(a,o)).done||!i(a,o).done)throw q("Expected sequence with length 2");K(this.entries,{key:w(s.value),value:w(u.value)})}else for(var l in e)y(e,l)&&K(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=X(e,"&"),o=0;o<n.length;)(t=n[o++]).length&&(r=X(t,"="),K(this.entries,{key:ie(Z(r)),value:ie(Q(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],K(r,ce(e.key)+"="+ce(e.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var he=function(){m(this,pe);var e=_(this,new fe(arguments.length>0?arguments[0]:void 0));s||(this.size=e.entries.length)},pe=he.prototype;if(f(pe,{append:function(e,t){var r=B(this);k(arguments.length,2),K(r.entries,{key:w(e),value:w(t)}),s||this.length++,r.updateURL()},delete:function(e){for(var t=B(this),r=k(arguments.length,1),n=t.entries,o=w(e),i=r<2?void 0:arguments[1],a=void 0===i?i:w(i),u=0;u<n.length;){var c=n[u];if(c.key!==o||void 0!==a&&c.value!==a)u++;else if(J(n,u,1),void 0!==a)break}s||(this.size=n.length),t.updateURL()},get:function(e){var t=B(this).entries;k(arguments.length,1);for(var r=w(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=B(this).entries;k(arguments.length,1);for(var r=w(e),n=[],o=0;o<t.length;o++)t[o].key===r&&K(n,t[o].value);return n},has:function(e){for(var t=B(this).entries,r=k(arguments.length,1),n=w(e),o=r<2?void 0:arguments[1],i=void 0===o?o:w(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=B(this);k(arguments.length,1);for(var n,o=r.entries,i=!1,a=w(e),u=w(t),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?J(o,c--,1):(i=!0,n.value=u));i||K(o,{key:a,value:u}),s||(this.size=o.length),r.updateURL()},sort:function(){var e=B(this);P(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=B(this).entries,n=v(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),c(pe,O,pe.entries,{name:"entries"}),c(pe,"toString",(function(){return B(this).serialize()}),{enumerable:!0}),s&&l(pe,"size",{get:function(){return B(this).entries.length},configurable:!0,enumerable:!0}),h(he,j),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:he}),!u&&g($)){var de=a(z.has),me=a(z.set),ge=function(e){if(D(e)){var t,r=e.body;if(b(r)===j)return t=e.headers?new $(e.headers):new $,de(t,"content-type")||me(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:F(0,w(r)),headers:F(0,t)})}return e};if(g(M)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return M(e,arguments.length>1?ge(arguments[1]):{})}}),g(N)){var ye=function(e){return m(this,U),new N(e,arguments.length>1?ge(arguments[1]):{})};U.constructor=ye,ye.prototype=U,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:he,getState:B}},7525:(e,t,r)=>{r(13122)},64167:(e,t,r)=>{"use strict";r(96853);var n,o=r(46367),i=r(12404),a=r(25047),s=r(92019),u=r(46748),c=r(80764),l=r(94519),f=r(21571),h=r(21167),p=r(20627),d=r(98340),m=r(76807),g=r(56765),y=r(34003).codeAt,v=r(85946),b=r(38943),E=r(99434),D=r(13108),w=r(13122),x=r(53292),F=x.set,S=x.getterFor("URL"),A=w.URLSearchParams,k=w.getState,C=s.URL,P=s.TypeError,O=s.parseInt,j=Math.floor,T=Math.pow,_=c("".charAt),B=c(/./.exec),R=c([].join),I=c(1..toString),L=c([].pop),M=c([].push),N=c("".replace),$=c([].shift),U=c("".split),z=c("".slice),H=c("".toLowerCase),q=c([].unshift),V="Invalid scheme",G="Invalid host",W="Invalid port",Q=/[a-z]/i,K=/[\d+-.a-z]/i,Y=/\d/,Z=/^0x/i,J=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)q(t,e%256),e=j(e/256);return R(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=I(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},se={},ue=d({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=d({},ue,{"#":1,"?":1,"{":1,"}":1}),le=d({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var r=y(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2==e.length&&B(Q,_(e,0))&&(":"==(r=_(e,1))||!t&&"|"==r)},de=function(e){var t;return e.length>1&&pe(z(e,0,2))&&(2==e.length||"/"===(t=_(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===H(e)},ge={},ye={},ve={},be={},Ee={},De={},we={},xe={},Fe={},Se={},Ae={},ke={},Ce={},Pe={},Oe={},je={},Te={},_e={},Be={},Re={},Ie={},Le=function(e,t,r){var n,o,i,a=b(e);if(t){if(o=this.parse(a))throw P(o);this.searchParams=null}else{if(void 0!==r&&(n=new Le(r,!0)),o=this.parse(a,null,n))throw P(o);(i=k(new A)).bindURL(this),this.searchParams=i}};Le.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,u,c=this,l=t||ge,f=0,h="",d=!1,y=!1,v=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=N(e,ne,""),e=N(e,oe,"$1")),e=N(e,ie,""),o=m(e);f<=o.length;){switch(i=o[f],l){case ge:if(!i||!B(Q,i)){if(t)return V;l=ve;continue}h+=H(i),l=ye;break;case ye:if(i&&(B(K,i)||"+"==i||"-"==i||"."==i))h+=H(i);else{if(":"!=i){if(t)return V;h="",l=ve,f=0;continue}if(t&&(c.isSpecial()!=p(he,h)||"file"==h&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=h,t)return void(c.isSpecial()&&he[c.scheme]==c.port&&(c.port=null));h="","file"==c.scheme?l=Pe:c.isSpecial()&&r&&r.scheme==c.scheme?l=be:c.isSpecial()?l=xe:"/"==o[f+1]?(l=Ee,f++):(c.cannotBeABaseURL=!0,M(c.path,""),l=Be)}break;case ve:if(!r||r.cannotBeABaseURL&&"#"!=i)return V;if(r.cannotBeABaseURL&&"#"==i){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Ie;break}l="file"==r.scheme?Pe:De;continue;case be:if("/"!=i||"/"!=o[f+1]){l=De;continue}l=Fe,f++;break;case Ee:if("/"==i){l=Se;break}l=_e;continue;case De:if(c.scheme=r.scheme,i==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query;else if("/"==i||"\\"==i&&c.isSpecial())l=we;else if("?"==i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",l=Re;else{if("#"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,l=_e;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",l=Ie}break;case we:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=_e;continue}l=Se}else l=Fe;break;case xe:if(l=Fe,"/"!=i||"/"!=_(h,f+1))continue;f++;break;case Fe:if("/"!=i&&"\\"!=i){l=Se;continue}break;case Se:if("@"==i){d&&(h="%40"+h),d=!0,a=m(h);for(var E=0;E<a.length;E++){var D=a[E];if(":"!=D||v){var w=fe(D,le);v?c.password+=w:c.username+=w}else v=!0}h=""}else if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(d&&""==h)return"Invalid authority";f-=m(h).length+1,h="",l=Ae}else h+=i;break;case Ae:case ke:if(t&&"file"==c.scheme){l=je;continue}if(":"!=i||y){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==h)return G;if(t&&""==h&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(h))return s;if(h="",l=Te,t)return;continue}"["==i?y=!0:"]"==i&&(y=!1),h+=i}else{if(""==h)return G;if(s=c.parseHost(h))return s;if(h="",l=Ce,t==ke)return}break;case Ce:if(!B(Y,i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=h){var x=O(h,10);if(x>65535)return W;c.port=c.isSpecial()&&x===he[c.scheme]?null:x,h=""}if(t)return;l=Te;continue}return W}h+=i;break;case Pe:if(c.scheme="file","/"==i||"\\"==i)l=Oe;else{if(!r||"file"!=r.scheme){l=_e;continue}if(i==n)c.host=r.host,c.path=g(r.path),c.query=r.query;else if("?"==i)c.host=r.host,c.path=g(r.path),c.query="",l=Re;else{if("#"!=i){de(R(g(o,f),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),l=_e;continue}c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",l=Ie}}break;case Oe:if("/"==i||"\\"==i){l=je;break}r&&"file"==r.scheme&&!de(R(g(o,f),""))&&(pe(r.path[0],!0)?M(c.path,r.path[0]):c.host=r.host),l=_e;continue;case je:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&pe(h))l=_e;else if(""==h){if(c.host="",t)return;l=Te}else{if(s=c.parseHost(h))return s;if("localhost"==c.host&&(c.host=""),t)return;h="",l=Te}continue}h+=i;break;case Te:if(c.isSpecial()){if(l=_e,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=n&&(l=_e,"/"!=i))continue}else c.fragment="",l=Ie;else c.query="",l=Re;break;case _e:if(i==n||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(u=H(u=h))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||M(c.path,"")):me(h)?"/"==i||"\\"==i&&c.isSpecial()||M(c.path,""):("file"==c.scheme&&!c.path.length&&pe(h)&&(c.host&&(c.host=""),h=_(h,0)+":"),M(c.path,h)),h="","file"==c.scheme&&(i==n||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)$(c.path);"?"==i?(c.query="",l=Re):"#"==i&&(c.fragment="",l=Ie)}else h+=fe(i,ce);break;case Be:"?"==i?(c.query="",l=Re):"#"==i?(c.fragment="",l=Ie):i!=n&&(c.path[0]+=fe(i,se));break;case Re:t||"#"!=i?i!=n&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":fe(i,se)):(c.fragment="",l=Ie);break;case Ie:i!=n&&(c.fragment+=fe(i,ue))}f++}},parseHost:function(e){var t,r,n;if("["==_(e,0)){if("]"!=_(e,e.length-1))return G;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return _(e,f)};if(":"==h()){if(":"!=_(e,1))return;f+=2,l=++c}for(;h();){if(8==c)return;if(":"!=h()){for(t=r=0;r<4&&B(ee,h());)t=16*t+O(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;f++}if(!B(Y,h()))return;for(;B(Y,h());){if(i=O(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u}(z(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=v(e),B(te,e))return G;if(t=function(e){var t,r,n,o,i,a,s,u=U(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=u[n]))return e;if(i=10,o.length>1&&"0"==_(o,0)&&(i=B(Z,o)?16:8,o=z(o,8==i?1:2)),""===o)a=0;else{if(!B(10==i?X:8==i?J:ee,o))return e;a=O(o,i)}M(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(s=L(r),n=0;n<r.length;n++)s+=r[n]*T(256,3-n);return s}(e),null===t)return G;this.host=t}else{if(B(re,e))return G;for(t="",r=m(e),n=0;n<r.length;n++)t+=fe(r[n],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(he,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ae(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+R(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Me(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=fe(t[r],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=fe(t[r],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+R(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==_(e,0)&&(e=z(e,1)),this.query="",this.parse(e,Re)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==_(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,Ie)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Me=function(e){var t=h(this,Ne),r=D(arguments.length,1)>1?arguments[1]:void 0,n=F(t,new Le(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ne=Me.prototype,$e=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ne,"href",$e("serialize","setHref")),f(Ne,"origin",$e("getOrigin")),f(Ne,"protocol",$e("getProtocol","setProtocol")),f(Ne,"username",$e("getUsername","setUsername")),f(Ne,"password",$e("getPassword","setPassword")),f(Ne,"host",$e("getHost","setHost")),f(Ne,"hostname",$e("getHostname","setHostname")),f(Ne,"port",$e("getPort","setPort")),f(Ne,"pathname",$e("getPathname","setPathname")),f(Ne,"search",$e("getSearch","setSearch")),f(Ne,"searchParams",$e("getSearchParams")),f(Ne,"hash",$e("getHash","setHash"))),l(Ne,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),C){var Ue=C.createObjectURL,ze=C.revokeObjectURL;Ue&&l(Me,"createObjectURL",u(Ue,C)),ze&&l(Me,"revokeObjectURL",u(ze,C))}E(Me,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Me})},66164:(e,t,r)=>{r(64167)},9874:function(e,t,r){var n;e.exports=(n=r(28165),r(46454),r(3003),r(92746),r(33973),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],u=[],c=[],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,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,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]:(c=i[a-1],a%r?r>6&&a%r==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=d[a/r|0]<<24),i[a]=i[a-r]^c);for(var s=this._invKeySchedule=[],u=0;u<n;u++){if(a=n-u,u%4)var c=i[a];else c=i[a-4];s[u]=u<4||a<=4?c:l[o[c>>>24]]^f[o[c>>>16&255]]^h[o[c>>>8&255]]^p[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,c,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 u=this._nRounds,c=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<u;d++){var m=n[c>>>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&c]^r[p++],y=n[f>>>24]^o[h>>>16&255]^i[c>>>8&255]^a[255&l]^r[p++],v=n[h>>>24]^o[c>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++];c=m,l=g,f=y,h=v}m=(s[c>>>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&c])^r[p++],y=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&l])^r[p++],v=(s[h>>>24]<<24|s[c>>>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)},33973:function(e,t,r){var n;e.exports=(n=r(28165),r(92746),void(n.lib.Cipher||function(e){var t=n,r=t.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,u=(s.Utf8,s.Base64),c=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 u=i.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: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(u)},parse:function(e){var t,r=u.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=c.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)}})}()))},28165: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(26089)}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={},u=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)}},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,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=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(o());return new c.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 c.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 c.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=u.extend({reset:function(){this._data=new c.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),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,i);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(o,f);r=o.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)},46454:function(e,t,r){var n;e.exports=(n=r(28165),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 u=n.charAt(64);if(u)for(;o.length%4;)o.push(u);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)},22776:function(e,t,r){var n;e.exports=(n=r(28165),n.enc.Utf8)},92746:function(e,t,r){var n,o,i,a,s,u,c,l;e.exports=(l=r(28165),r(35310),r(16645),o=(n=l).lib,i=o.Base,a=o.WordArray,s=n.algo,u=s.MD5,c=s.EvpKDF=i.extend({cfg:i.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,o=n.hasher.create(),i=a.create(),s=i.words,u=n.keySize,c=n.iterations;s.length<u;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var l=1;l<c;l++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*u,i}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},l.EvpKDF)},16645:function(e,t,r){var n,o,i,a;e.exports=(n=r(28165),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,u=i.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=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))}})))},3003:function(e,t,r){var n;e.exports=(n=r(28165),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 u=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],u=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],D=e[t+10],w=e[t+11],x=e[t+12],F=e[t+13],S=e[t+14],A=e[t+15],k=i[0],C=i[1],P=i[2],O=i[3];k=c(k,C,P,O,a,7,s[0]),O=c(O,k,C,P,u,12,s[1]),P=c(P,O,k,C,p,17,s[2]),C=c(C,P,O,k,d,22,s[3]),k=c(k,C,P,O,m,7,s[4]),O=c(O,k,C,P,g,12,s[5]),P=c(P,O,k,C,y,17,s[6]),C=c(C,P,O,k,v,22,s[7]),k=c(k,C,P,O,b,7,s[8]),O=c(O,k,C,P,E,12,s[9]),P=c(P,O,k,C,D,17,s[10]),C=c(C,P,O,k,w,22,s[11]),k=c(k,C,P,O,x,7,s[12]),O=c(O,k,C,P,F,12,s[13]),P=c(P,O,k,C,S,17,s[14]),k=l(k,C=c(C,P,O,k,A,22,s[15]),P,O,u,5,s[16]),O=l(O,k,C,P,y,9,s[17]),P=l(P,O,k,C,w,14,s[18]),C=l(C,P,O,k,a,20,s[19]),k=l(k,C,P,O,g,5,s[20]),O=l(O,k,C,P,D,9,s[21]),P=l(P,O,k,C,A,14,s[22]),C=l(C,P,O,k,m,20,s[23]),k=l(k,C,P,O,E,5,s[24]),O=l(O,k,C,P,S,9,s[25]),P=l(P,O,k,C,d,14,s[26]),C=l(C,P,O,k,b,20,s[27]),k=l(k,C,P,O,F,5,s[28]),O=l(O,k,C,P,p,9,s[29]),P=l(P,O,k,C,v,14,s[30]),k=f(k,C=l(C,P,O,k,x,20,s[31]),P,O,g,4,s[32]),O=f(O,k,C,P,b,11,s[33]),P=f(P,O,k,C,w,16,s[34]),C=f(C,P,O,k,S,23,s[35]),k=f(k,C,P,O,u,4,s[36]),O=f(O,k,C,P,m,11,s[37]),P=f(P,O,k,C,v,16,s[38]),C=f(C,P,O,k,D,23,s[39]),k=f(k,C,P,O,F,4,s[40]),O=f(O,k,C,P,a,11,s[41]),P=f(P,O,k,C,d,16,s[42]),C=f(C,P,O,k,y,23,s[43]),k=f(k,C,P,O,E,4,s[44]),O=f(O,k,C,P,x,11,s[45]),P=f(P,O,k,C,A,16,s[46]),k=h(k,C=f(C,P,O,k,p,23,s[47]),P,O,a,6,s[48]),O=h(O,k,C,P,v,10,s[49]),P=h(P,O,k,C,S,15,s[50]),C=h(C,P,O,k,g,21,s[51]),k=h(k,C,P,O,x,6,s[52]),O=h(O,k,C,P,d,10,s[53]),P=h(P,O,k,C,D,15,s[54]),C=h(C,P,O,k,u,21,s[55]),k=h(k,C,P,O,b,6,s[56]),O=h(O,k,C,P,A,10,s[57]),P=h(P,O,k,C,y,15,s[58]),C=h(C,P,O,k,F,21,s[59]),k=h(k,C,P,O,m,6,s[60]),O=h(O,k,C,P,w,10,s[61]),P=h(P,O,k,C,p,15,s[62]),C=h(C,P,O,k,E,21,s[63]),i[0]=i[0]+k|0,i[1]=i[1]+C|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,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=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(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(u),t.HmacMD5=i._createHmacHelper(u)}(Math),n.MD5)},35310:function(e,t,r){var n,o,i,a,s,u,c,l;e.exports=(l=r(28165),o=(n=l).lib,i=o.WordArray,a=o.Hasher,s=n.algo,u=[],c=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],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+(o&i|~o&a):c<40?1859775393+(o^i^a):c<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(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},47354:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",u="week",c="month",l="quarter",f="year",h="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,c),i=r-o<0,a=t.clone().add(n+(i?-1:1),c);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:u,d:s,D:h,h:a,m:i,s:o,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",E={};E[b]=g;var D=function(e){return e instanceof S},w=function e(t,r,n){var o;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();E[i]&&(o=i),r&&(E[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;E[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},x=function(e,t){if(D(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new S(r)},F=v;F.l=w,F.i=D,F.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function g(e){this.$L=w(e.locale,null,!0),this.parse(e)}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(F.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return F},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return x(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<x(e)},y.$g=function(e,t,r){return F.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!F.u(t)||t,l=F.p(e),p=function(e,t){var o=F.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?o:o.endOf(s)},d=function(e,t){return F.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case f:return n?p(1,0):p(31,11);case c:return n?p(1,g):p(0,g+1);case u:var b=this.$locale().weekStart||0,E=(m<b?m+7:m)-b;return p(n?y-E:y+(6-E),g);case s:case h:return d(v+"Hours",0);case a:return d(v+"Minutes",1);case i:return d(v+"Seconds",2);case o:return d(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,u=F.p(e),l="set"+(this.$u?"UTC":""),p=(r={},r[s]=l+"Date",r[h]=l+"Date",r[c]=l+"Month",r[f]=l+"FullYear",r[a]=l+"Hours",r[i]=l+"Minutes",r[o]=l+"Seconds",r[n]=l+"Milliseconds",r)[u],d=u===s?this.$D+(t-this.$W):t;if(u===c||u===f){var m=this.clone().set(h,1);m.$d[p](d),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[F.p(e)]()},y.add=function(n,l){var h,p=this;n=Number(n);var d=F.p(l),m=function(e){var t=x(p);return F.w(t.date(t.date()+Math.round(e*n)),p)};if(d===c)return this.set(c,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===s)return m(1);if(d===u)return m(7);var g=(h={},h[i]=t,h[a]=r,h[o]=e,h)[d]||1,y=this.$d.getTime()+n*g;return F.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||p;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=F.z(this),i=this.$H,a=this.$m,s=this.$M,u=r.weekdays,c=r.months,l=function(e,r,o,i){return e&&(e[r]||e(t,n))||o[r].slice(0,i)},f=function(e){return F.s(i%12||12,e,"0")},h=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},d={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:F.s(s+1,2,"0"),MMM:l(r.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:F.s(this.$D,2,"0"),d:String(this.$W),dd:l(r.weekdaysMin,this.$W,u,2),ddd:l(r.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:F.s(i,2,"0"),h:f(1),hh:f(2),a:h(i,a,!0),A:h(i,a,!1),m:String(a),mm:F.s(a,2,"0"),s:String(this.$s),ss:F.s(this.$s,2,"0"),SSS:F.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(e,t){return t||d[e]||o.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,h,p){var d,m=F.p(h),g=x(n),y=(g.utcOffset()-this.utcOffset())*t,v=this-g,b=F.m(this,g);return b=(d={},d[f]=b/12,d[c]=b,d[l]=b/3,d[u]=(v-y)/6048e5,d[s]=(v-y)/864e5,d[a]=v/r,d[i]=v/t,d[o]=v/e,d)[m]||v,p?b:F.a(b)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return E[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return F.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),A=S.prototype;return x.prototype=A,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",f],["$D",h]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,S,x),e.$i=!0),x},x.locale=w,x.isDayjs=D,x.unix=function(e){return x(1e3*e)},x.en=E[b],x.Ls=E,x.p={},x}()},82386:function(e){e.exports=function(){"use strict";return function(e,t,r){e=e||{};var n=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,r,o){return n.fromToBase(e,t,r,o)}r.en.relativeTime=o,n.fromToBase=function(t,n,i,a,s){for(var u,c,l,f=i.$locale().relativeTime||o,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=h.length,d=0;d<p;d+=1){var m=h[d];m.d&&(u=a?r(t).diff(i,m.d,!0):i.diff(t,m.d,!0));var g=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,g<=m.r||!m.r){g<=1&&d>0&&(m=h[d-1]);var y=f[m.l];s&&(g=s(""+g)),c="string"==typeof y?y.replace("%d",g):y(g,n,m.l,l);break}}if(n)return c;var v=l?f.future:f.past;return"function"==typeof v?v(c):v.replace("%s",c)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}()},26018: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 u=a[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},25416:(e,t,r)=>{"use strict";var n=r(38315),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=r(28030)(),c=s&&u,l=function(e,t,r,n){if(t in e)if(!0===n){if(e[t]===r)return}else if("function"!=typeof(o=n)||"[object Function]"!==i.call(o)||!n())return;var o;c?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=!!c,e.exports=f},37593: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 u=i[a],c=Object.getOwnPropertyDescriptor(o,u);void 0!==c&&c.enumerable&&(r[u]=o[u])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},24740: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},u=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,c,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=u(f,r),f!==(o=u(t,r))&&(d&&o&&(a(o)||(c=i(o)))?(c?(c=!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}},95490: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}},46128: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,u=Object.keys(t).sort(o&&o(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 i.splice(s,1),"{"+a+"}"}}(e)}},95739: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}},6862:(e,t,r)=>{"use strict";var n=r(20387),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)},u=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):u(e,t,i)}},98544:e=>{!function(){var t;function r(e){for(var t,r,n,o,i=1,a=[].slice.call(arguments),s=0,u=e.length,c="",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<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,o=p(),t){case"b":c+=parseInt(h(),10).toString(2);break;case"c":c+="string"==typeof(r=h())||r instanceof String?r:String.fromCharCode(parseInt(r,10));break;case"d":c+=parseInt(h(),10);break;case"f":n=String(parseFloat(h()).toFixed(o||6)),c+=f?n:n.replace(/^0/,"");break;case"j":c+=JSON.stringify(h());break;case"o":c+="0"+parseInt(h(),10).toString(8);break;case"s":c+=h();break;case"x":c+="0x"+parseInt(h(),10).toString(16);break;case"X":c+="0x"+parseInt(h(),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))})}()},6574: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),u=Math.max(0,i.length-s.length),c=[],l=0;l<u;l++)c.push("$"+l);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((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)))})),i.prototype){var f=function(){};f.prototype=i.prototype,a.prototype=new f,f.prototype=null}return a}},4148:(e,t,r)=>{"use strict";var n=r(6574);e.exports=Function.prototype.bind||n},38514:(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){}},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(22499)(),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,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%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};try{null.error}catch(e){var g=h(h(e));m["%Error.prototype%"]=g}var y=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},v={"%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"]},b=r(4148),E=r(43494),D=b.call(Function.call,Array.prototype.concat),w=b.call(Function.apply,Array.prototype.splice),x=b.call(Function.call,String.prototype.replace),F=b.call(Function.call,String.prototype.slice),S=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,C=function(e){var t=F(e,0,1),r=F(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,A,(function(e,t,r,o){n[n.length]=r?x(o,k,"$1"):t||e})),n},P=function(e,t){var r,n=e;if(E(v,n)&&(n="%"+(r=v[n])[0]+"%"),E(m,n)){var i=m[n];if(i===p&&(i=y(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===S(/^%?[^%]*%?$/,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=P("%"+n+"%",t),s=i.name,c=i.value,l=!1,f=i.alias;f&&(n=f[0],w(r,D([0,1],f)));for(var h=1,p=!0;h<r.length;h+=1){var d=r[h],g=F(d,0,1),y=F(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),E(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&&h+1>=r.length){var v=u(c,d);c=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[d]}else p=E(c,d),c=c[d];p&&!l&&(m[s]=c)}}return c}},93074:(e,t,r)=>{const n=r(99495);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},99495: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\u08C8-\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-\u0B54\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\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\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\u1AC1-\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\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\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\uAB6A-\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-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\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\uDC62-\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\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\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-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\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\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\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]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},49662:(e,t,r)=>{"use strict";var n=r(38514)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},28030:(e,t,r)=>{"use strict";var n=r(38514)("%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},22499:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(82171);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},82171: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}},3825:(e,t,r)=>{"use strict";var n=r(82171);e.exports=function(){return n()&&!!Symbol.toStringTag}},43494:(e,t,r)=>{"use strict";var n=r(4148);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},22827:(e,t,r)=>{"use strict";r.d(t,{Ep:()=>d,PP:()=>c,lX:()=>u});var n,o=r(45675);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));var i=function(e){return e};var a="beforeunload",s="popstate";function u(e){void 0===e&&(e={});var t=e.window,r=void 0===t?document.defaultView:t,u=r.history;function c(){var e=r.location,t=e.pathname,n=e.search,o=e.hash,a=u.state||{};return[a.idx,i({pathname:t,search:n,hash:o,state:a.usr||null,key:a.key||"default"})]}var l=null;r.addEventListener(s,(function(){if(l)D.call(l),l=null;else{var e=n.Pop,t=c(),r=t[0],o=t[1];if(D.length){if(null!=r){var i=v-r;i&&(l={action:e,location:o,retry:function(){k(-1*i)}},k(i))}}else A(e)}}));var g=n.Pop,y=c(),v=y[0],b=y[1],E=h(),D=h();function w(e){return"string"==typeof e?e:d(e)}function x(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:b.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function F(e,t){return[{usr:e.state,key:e.key,idx:t},w(e)]}function S(e,t,r){return!D.length||(D.call({action:e,location:t,retry:r}),!1)}function A(e){g=e;var t=c();v=t[0],b=t[1],E.call({action:g,location:b})}function k(e){u.go(e)}null==v&&(v=0,u.replaceState((0,o.Z)({},u.state,{idx:v}),""));var C={get action(){return g},get location(){return b},createHref:w,push:function e(t,o){var i=n.Push,a=x(t,o);if(S(i,a,(function(){e(t,o)}))){var s=F(a,v+1),c=s[0],l=s[1];try{u.pushState(c,"",l)}catch(e){r.location.assign(l)}A(i)}},replace:function e(t,r){var o=n.Replace,i=x(t,r);if(S(o,i,(function(){e(t,r)}))){var a=F(i,v),s=a[0],c=a[1];u.replaceState(s,"",c),A(o)}},go:k,back:function(){k(-1)},forward:function(){k(1)},listen:function(e){return E.push(e)},block:function(e){var t=D.push(e);return 1===D.length&&r.addEventListener(a,f),function(){t(),D.length||r.removeEventListener(a,f)}}};return C}function c(e){void 0===e&&(e={});var t=e,r=t.initialEntries,a=void 0===r?["/"]:r,s=t.initialIndex,u=a.map((function(e){return i((0,o.Z)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"==typeof e?m(e):e))})),c=l(null==s?u.length-1:s,0,u.length-1),f=n.Pop,g=u[c],y=h(),v=h();function b(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:g.pathname,search:"",hash:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function E(e,t,r){return!v.length||(v.call({action:e,location:t,retry:r}),!1)}function D(e,t){f=e,g=t,y.call({action:f,location:g})}function w(e){var t=l(c+e,0,u.length-1),r=n.Pop,o=u[t];E(r,o,(function(){w(e)}))&&(c=t,D(r,o))}var x={get index(){return c},get action(){return f},get location(){return g},createHref:function(e){return"string"==typeof e?e:d(e)},push:function e(t,r){var o=n.Push,i=b(t,r);E(o,i,(function(){e(t,r)}))&&(c+=1,u.splice(c,u.length,i),D(o,i))},replace:function e(t,r){var o=n.Replace,i=b(t,r);E(o,i,(function(){e(t,r)}))&&(u[c]=i,D(o,i))},go:w,back:function(){w(-1)},forward:function(){w(1)},listen:function(e){return y.push(e)},block:function(e){return v.push(e)}};return x}function l(e,t,r){return Math.min(Math.max(e,t),r)}function f(e){e.preventDefault(),e.returnValue=""}function h(){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 p(){return Math.random().toString(36).substr(2,8)}function d(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 m(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}},26095:(e,t,r)=>{"use strict";var n=r(65566),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 u(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 c=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=u(t),m=u(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{c(t,y,v)}catch(e){}}}}return t}},35110:(e,t,r)=>{"use strict";e.exports=r(6614)},89118: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}}},7974:(e,t,r)=>{"use strict";var n=r(3825)(),o=r(57372)("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},89161:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},38165:e=>{
|
|
373
|
+
*/function _(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}var B=!0,R=!1,I=0,L=1,M=2,N=3;function $(e,t,r,n){if(e===t)return 0!==e||(!r||u(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,c,f,h=d(e);if(h!==d(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var p=T(e),m=T(t);return p.length===m.length&&z(e,t,r,n,L,p)}if("[object Object]"===h&&(!b(e)&&b(t)||!D(e)&&D(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,!(i?c.source===f.source&&c.flags===f.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(f))))return!1}else if(w(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 j=T(e),B=T(t);return j.length===B.length&&z(e,t,r,n,I,j)}if(D(e))return!(!D(t)||e.size!==t.size)&&z(e,t,r,n,M);if(b(e))return!(!b(t)||e.size!==t.size)&&z(e,t,r,n,N);if(g(e)){if(s=t,(a=e).byteLength!==s.byteLength||0!==_(new Uint8Array(a),new Uint8Array(s)))return!1}else if(x(e)&&!function(e,t){return F(e)?F(t)&&u(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):S(e)?S(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):A(e)?A(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):k(e)?k(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):C(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return z(e,t,r,n,I)}function U(e,t){return t.filter((function(t){return p(e,t)}))}function z(e,t,r,i,u,l){if(5===arguments.length){l=Object.keys(e);var f=Object.keys(t);if(l.length!==f.length)return!1}for(var d=0;d<l.length;d++)if(!h(t,l[d]))return!1;if(r&&5===arguments.length){var m=c(e);if(0!==m.length){var g=0;for(d=0;d<m.length;d++){var y=m[d];if(p(e,y)){if(!p(t,y))return!1;l.push(y),g++}else if(p(t,y))return!1}var v=c(t);if(m.length!==v.length&&U(t,v).length!==g)return!1}else{var b=c(t);if(0!==b.length&&0!==U(t,b).length)return!1}}if(0===l.length&&(u===I||u===L&&0===e.length||0===e.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var E=i.val1.get(e);if(void 0!==E){var D=i.val2.get(t);if(void 0!==D)return E===D}i.position++}i.val1.set(e,i.position),i.val2.set(t,i.position);var w=function(e,t,r,i,u,c){var l=0;if(c===M){if(!function(e,t,r,n){for(var i=null,s=a(e),u=0;u<s.length;u++){var c=s[u];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!t.has(c)){if(r)return!1;if(!V(e,t,c))return!1;null===i&&(i=new Set),i.add(c)}}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(!H(i,h,r,n))return!1}else if(!r&&!e.has(h)&&!H(i,h,r,n))return!1}return 0===i.size}return!0}(e,t,r,u))return!1}else if(c===N){if(!function(e,t,r,i){for(var a=null,u=s(e),c=0;c<u.length;c++){var l=n(u[c],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(!G(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(!W(a,e,f,y,r,i))return!1}else if(!(r||e.has(f)&&$(e.get(f),y,!1,i)||W(a,e,f,y,!1,i)))return!1}return 0===a.size}return!0}(e,t,r,u))return!1}else if(c===L)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,u))return!1}return f.length===Object.keys(t).length}if(!h(t,l)||!$(e[l],t[l],r,u))return!1}for(l=0;l<i.length;l++){var d=i[l];if(!$(e[d],t[d],r,u))return!1}return!0}(e,t,r,l,i,u);return i.val1.delete(e),i.val2.delete(t),w}function H(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 q(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 V(e,t,r){var n=q(r);return null!=n?n:t.has(n)&&!e.has(n)}function G(e,t,r,n,o){var i=q(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 W(e,t,r,n,o,i){for(var s=a(e),u=0;u<s.length;u++){var c=s[u];if($(r,c,o,i)&&$(n,t.get(c),o,i))return e.delete(c),!0}return!1}e.exports={isDeepEqual:function(e,t){return $(e,t,R)},isDeepStrictEqual:function(e,t){return $(e,t,B)}}},87233:(e,t,r)=>{e.exports=r(40786)},26322:(e,t,r)=>{"use strict";var n=r(57964),o=r(65530),i=r(67469),a=r(24081),s=r(55088),u=r(40100),c=r(40523),l=r(70422),f=r(35114),h=r(33673);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 D=s(e.baseURL,e.url);function w(){if(v){var n="getAllResponseHeaders"in v?u(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(D,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},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 x=(e.withCredentials||c(D))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"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)}))}},40786:(e,t,r)=>{"use strict";var n=r(57964),o=r(76764),i=r(96718),a=r(11745);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(77278));s.Axios=i,s.Cancel=r(33673),s.CancelToken=r(94875),s.isCancel=r(40533),s.VERSION=r(39212).version,s.all=function(e){return Promise.all(e)},s.spread=r(799),s.isAxiosError=r(57631),e.exports=s,e.exports.default=s},33673: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},94875:(e,t,r)=>{"use strict";var n=r(33673);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},40533:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},96718:(e,t,r)=>{"use strict";var n=r(57964),o=r(24081),i=r(82976),a=r(21042),s=r(11745),u=r(62943),c=u.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&&u.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.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},82976:(e,t,r)=>{"use strict";var n=r(57964);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},55088:(e,t,r)=>{"use strict";var n=r(40455),o=r(95495);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},70422:(e,t,r)=>{"use strict";var n=r(91181);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},21042:(e,t,r)=>{"use strict";var n=r(57964),o=r(88119),i=r(40533),a=r(77278),s=r(33673);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=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 u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},91181: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}},11745:(e,t,r)=>{"use strict";var n=r(57964);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 u(r){return r in t?o(e[r],t[r]):r in e?o(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]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},65530:(e,t,r)=>{"use strict";var n=r(70422);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)}},88119:(e,t,r)=>{"use strict";var n=r(57964),o=r(77278);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},77278:(e,t,r)=>{"use strict";var n=r(44675),o=r(57964),i=r(81417),a=r(91181),s=r(35114),u={"Content-Type":"application/x-www-form-urlencoded"};function c(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(26322)),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)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(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(u)})),e.exports=f},35114:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},39212:e=>{e.exports={version:"0.26.1"}},76764: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)}}},24081:(e,t,r)=>{"use strict";var n=r(57964);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}},95495:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},67469:(e,t,r)=>{"use strict";var n=r(57964);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(){}}},40455:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},57631:(e,t,r)=>{"use strict";var n=r(57964);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},40523:(e,t,r)=>{"use strict";var n=r(57964);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}},81417:(e,t,r)=>{"use strict";var n=r(57964);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},40100:(e,t,r)=>{"use strict";var n=r(57964),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}},799:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},62943:(e,t,r)=>{"use strict";var n=r(39212).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],u=void 0===s||a(s,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},57964:(e,t,r)=>{"use strict";var n=r(76764),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 u(e){return null!==e&&"object"==typeof e}function c(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:u,isPlainObject:c,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 u(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){c(t[n])&&c(r)?t[n]=e(t[n],r):c(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}}},61419:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(6322),o=r.n(n),i=r(34889),a=r.n(i),s=(r(70888),r(25444),r(82814),r(44703),r(63583),r(19855),r(25013),r(77389),r(37607),r(55126),r(87462),r(5148),r(35250)),u=r(92498),c=r(18887),l=r.n(c),f=r(61739),h=["base","href"];function p(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 d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const m=function(e){var t=e.base,r=e.href,n=a()(e,h),o=(0,u.CQ)().summary;if(r)if((0,u.CB)(r))n.target="_blank";else{if(".md"===l().extname(r)){var i;i=t?decodeURIComponent(l().join(l().dirname(t.ref),r)):decodeURIComponent(r);var c=o.getArticle((function(e){return e.ref===i}));if(c)return(0,s.jsx)(f.Z,d({to:c},n))}r="#!"}return(0,s.jsx)("a",d(d({href:r},n),{},{rel:"noopener noreferrer"}))}},61739:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(6322),o=r.n(n),i=r(34889),a=r.n(i),s=(r(38664),r(57930),r(25013),r(25444),r(82814),r(44703),r(63583),r(19855),r(77389),r(37607),r(55126),r(87462),r(5148),r(35250)),u=r(87363),c=r(92498),l=r(50361),f=r(19909),h=["children","to","className"];function p(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 d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e){var t,r=e.children,n=e.to,o=e.className,i=a()(e,h),p=(0,f.Z)(),m=(0,c.v9)("page").loading;n instanceof c.oI?(t=n.getPath(),r||(r=n.getTitle())):t=n;var g=t?p.relative(t):"#!",y=(0,u.useCallback)((function(e){if(e.preventDefault(),t&&!m){var r=e.currentTarget,n=r.pathname,o=r.search,i=r.hash;l.m8.push({pathname:n,search:o,hash:i})}}),[t,m]);return(0,s.jsx)("a",d(d({},i),{},{onClick:y,className:o,href:g,children:r}))}},50361:(e,t,r)=>{"use strict";r.d(t,{fi:()=>m,m8:()=>h});r(25444),r(82814),r(44703),r(63583),r(19855),r(77389),r(37607),r(55126),r(87462),r(5148);var n=r(32078),o=r.n(n),i=r(82357),a=r.n(i),s=r(6322),u=r.n(s),c=(r(38664),r(61228),r(17915),r(25013),r(22827));function l(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 f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h,p="undefined"!=typeof window&&window.history&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol,d=function(){function e(){o()(this,e),u()(this,"history",void 0),this.history=p?(0,c.lX)():(0,c.PP)({initialEntries:[window.location]})}return a()(e,[{key:"location",get:function(){var e=this.history.location;return f(f({},e),{},{toString:function(){return(0,c.Ep)(e)}})}},{key:"listen",value:function(e){return this.history.listen(e)}},{key:"replace",value:function(e){return this.history.replace(e)}},{key:"push",value:function(e){return this.history.push(e)}}]),e}();function m(){return h=new d}},72794:(e,t,r)=>{"use strict";r.d(t,{Q3:()=>i,VI:()=>s,ZP:()=>a,ir:()=>u,tA:()=>c});var n=r(92498),o=r(87363),i=(0,o.createContext)(void 0);function a(){return(0,o.useContext)(i)}function s(){var e=(0,n.CQ)().summary,t=a();if(t)return(0,o.useMemo)((function(){var r=t.getLevel(),n=!1;return e.getArticle((function(e){return n?!!e.getPath():(n=e.getLevel()==r,!1)}))}),[e,t])}function u(){var e=(0,n.CQ)().summary,t=a();if(t)return(0,o.useMemo)((function(){var r,n=t.getLevel();return e.getArticle((function(e){return e.getLevel()==n||(e.getPath()&&(r=e),!1)})),r}),[e,t])}function c(){var e=(0,n.CQ)().summary,t=a();return t?e.getArticlePart(t):void 0}},19909:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(92498);function o(){return(0,n.v9)("page").file}},16327:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(45990),o=r.n(n),i=r(92498),a=r(87363),s="undefined"==typeof window?null:window,u=function(){return void 0!==s.scrollY?s.scrollY:void 0===s.pageYOffset?0:s.pageYOffset};const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,t=(0,a.useState)((function(){return u()})),r=o()(t,2),n=r[0],c=r[1],l=(0,i.fB)((function(){c(u())}),e);return(0,i.zX)(s,"scroll",l),n}},36895:(e,t,r)=>{"use strict";r.d(t,{D:()=>s,Z:()=>u});var n=r(45990),o=r.n(n),i=r(87363),a=996,s={desktop:"desktop",mobile:"mobile"};function u(){function e(){return window.innerWidth>a?s.desktop:s.mobile}var t=(0,i.useState)(e),r=o()(t,2),n=r[0],u=r[1];return(0,i.useEffect)((function(){function t(){u(e())}return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),n}},96501:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},57372:(e,t,r)=>{"use strict";var n=r(38514),o=r(5806),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}},5806:(e,t,r)=>{"use strict";var n=r(4148),o=r(38514),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(n,a,arguments);u&&c&&(u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var f=function(){return s(n,i,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},41241:(e,t,r)=>{const n=r(33608),o={};for(const e of Object.keys(n))o[n[e]]=e;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}function a(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=i-o;let s,u;i===o?s=0:t===i?s=(r-n)/a:r===i?s=2+(n-t)/a:n===i&&(s=4+(t-r)/a),s=Math.min(60*s,360),s<0&&(s+=360);const c=(o+i)/2;return u=i===o?0:c<=.5?a/(i+o):a/(2-i-o),[s,100*u,100*c]},i.rgb.hsv=function(e){let t,r,n,o,i;const a=e[0]/255,s=e[1]/255,u=e[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),f=function(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=f(a),r=f(s),n=f(u),a===c?o=n-r:s===c?o=1/3+t-n:u===c&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},i.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const o=i.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,100*a,100*n]},i.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n);return[100*((1-t-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*o]},i.rgb.keyword=function(e){const t=o[e];if(t)return t;let r,i=1/0;for(const t of Object.keys(n)){const o=a(e,n[t]);o<i&&(i=o,r=t)}return r},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(r-n),200*(n-o)]},i.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let o,i,a;if(0===r)return a=255*n,[a,a,a];o=n<.5?n*(1+r):n+r-n*r;const s=2*n-o,u=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,a=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,u[e]=255*a;return u},i.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,o=r;const i=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i;return[t,100*(0===n?2*o/(i+o):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*i),u=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,u,a];case 1:return[s,n,a];case 2:return[a,n,u];case 3:return[a,s,n];case 4:return[u,a,n];case 5:return[n,a,s]}},i.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01);let i,a;a=(2-r)*n;const s=(2-r)*o;return i=r*o,i/=s<=1?s:2-s,i=i||0,a/=2,[t,100*i,100*a]},i.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const o=r+n;let i;o>1&&(r/=o,n/=o);const a=Math.floor(6*t),s=1-n;i=6*t-a,0!=(1&a)&&(i=1-i);const u=r+i*(s-r);let c,l,f;switch(a){default:case 6:case 0:c=s,l=u,f=r;break;case 1:c=u,l=s,f=r;break;case 2:c=r,l=s,f=u;break;case 3:c=r,l=u,f=s;break;case 4:c=u,l=r,f=s;break;case 5:c=s,l=r,f=u}return[255*c,255*l,255*f]},i.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},i.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let o,i,a;return o=3.2406*t+-1.5372*r+-.4986*n,i=-.9689*t+1.8758*r+.0415*n,a=.0557*t+-.204*r+1.057*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[255*o,255*i,255*a]},i.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*r-16,500*(t-r),200*(r-n)]},i.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const o=r**3,i=t**3,a=n**3;return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},i.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let o;o=360*Math.atan2(n,r)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(r*r+n*n),o]},i.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},i.rgb.ansi16=function(e,t=null){const[r,n,o]=e;let a=null===t?i.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let s=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===a&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map((e=>e+e)).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),a=o-i;let s,u;return s=a<1?i/(1-a):0,u=a<=0?0:o===t?(r-n)/a%6:o===r?2+(n-t)/a:4+(t-r)/a,u/=6,u%=1,[360*u,100*a,100*s]},i.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],100*n,100*o]},i.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},i.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const o=[0,0,0],i=t%1*6,a=i%1,s=1-a;let u=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return u=(1-r)*n,[255*(r*o[0]+u),255*(r*o[1]+u),255*(r*o[2]+u)]},i.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},21096:(e,t,r)=>{const n=r(41241),o=r(85504),i={};Object.keys(n).forEach((e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});const t=o(e);Object.keys(t).forEach((r=>{const n=t[r];i[e][r]=function(e){const t=function(...t){const r=t[0];if(null==r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),i[e][r].raw=function(e){const t=function(...t){const r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=i},85504:(e,t,r)=>{const n=r(41241);function o(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){const e=r.pop(),o=Object.keys(n[e]);for(let n=o.length,i=0;i<n;i++){const n=o[i],a=t[n];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,r.unshift(n))}}return t}function i(e,t){return function(r){return t(e(r))}}function a(e,t){const r=[t[e].parent,e];let o=n[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)r.unshift(t[a].parent),o=i(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=r,o}e.exports=function(e){const t=o(e),r={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];null!==t[e].parent&&(r[e]=a(e,t))}return r}},33608:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},64510:(e,t,r)=>{var n=r(33608),o=r(5458),i=Object.hasOwnProperty,a=Object.create(null);for(var s in n)i.call(n,s)&&(a[n[s]]=s);var u=e.exports={to:{},get:{}};function c(e,t,r){return Math.min(Math.max(t,e),r)}function l(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}u.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=u.get.hsl(e),r="hsl";break;case"hwb":t=u.get.hwb(e),r="hwb";break;default:t=u.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},u.get.rgb=function(e){if(!e)return null;var t,r,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],r=0;r<3;r++){var s=2*r;a[r]=parseInt(t.slice(s,s+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],r=0;r<3;r++)a[r]=parseInt(t[r]+t[r],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)a[r]=parseInt(t[r+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:i.call(n,t[1])?((a=n[t[1]])[3]=1,a):null:null;for(r=0;r<3;r++)a[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(r=0;r<3;r++)a[r]=c(a[r],0,255);return a[3]=c(a[3],0,1),a},u.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},u.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},u.to.hex=function(){var e=o(arguments);return"#"+l(e[0])+l(e[1])+l(e[2])+(e[3]<1?l(Math.round(255*e[3])):"")},u.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},u.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},u.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},u.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},u.to.keyword=function(e){return a[e.slice(0,3)]}},47851:(e,t,r)=>{const n=r(64510),o=r(21096),i=["keyword","gray","hex"],a={};for(const e of Object.keys(o))a[[...o[e].labels].sort().join("")]=e;const s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in i&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);let r,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=n.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,c=o[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"==typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=o[this.model].channels;const r=Array.prototype.slice.call(e,0,c);this.color=p(r,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const n=t.sort().join("");if(!(n in a))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=a[n];const{labels:i}=o[this.model],s=[];for(r=0;r<i.length;r++)s.push(e[i[r]]);this.color=p(s)}if(s[this.model])for(c=o[this.model].channels,r=0;r<c;r++){const e=s[this.model][r];e&&(this.color[r]=e(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}u.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in n.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const r=1===t.valpha?t.color:[...t.color,this.valpha];return n.to[t.model](r)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:[...t.color,this.valpha];return n.to.rgb.percent(r)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=o[this.model],{labels:r}=o[this.model];for(let n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new u([...this.color.map(c(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new u([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:l("rgb",0,f(255)),green:l("rgb",1,f(255)),blue:l("rgb",2,f(255)),hue:l(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:l("hsl",1,f(100)),lightness:l("hsl",2,f(100)),saturationv:l("hsv",1,f(100)),value:l("hsv",2,f(100)),chroma:l("hcg",1,f(100)),gray:l("hcg",2,f(100)),white:l("hwb",1,f(100)),wblack:l("hwb",2,f(100)),cyan:l("cmyk",0,f(100)),magenta:l("cmyk",1,f(100)),yellow:l("cmyk",2,f(100)),black:l("cmyk",3,f(100)),x:l("xyz",0,f(95.047)),y:l("xyz",1,f(100)),z:l("xyz",2,f(108.833)),l:l("lab",0,f(100)),a:l("lab",1),b:l("lab",2),keyword(e){return void 0!==e?new u(e):o[this.model].keyword(this.color)},hex(e){return void 0!==e?new u(e):n.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new u(e);const t=this.rgb().round().color;let r=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===r.length&&(r="0"+r),n.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const e=n/255;t[r]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),o=void 0===t?.5:t,i=2*o-1,a=r.alpha()-n.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,c=1-s;return u.rgb(s*r.red()+c*n.red(),s*r.green()+c*n.green(),s*r.blue()+c*n.blue(),r.alpha()*o+n.alpha()*(1-o))}};for(const e of Object.keys(o)){if(i.includes(e))continue;const{channels:t}=o[e];u.prototype[e]=function(...t){return this.model===e?new u(this):t.length>0?new u(t,e):new u([...h(o[this.model][e].raw(this.color)),this.valpha],e)},u[e]=function(...r){let n=r[0];return"number"==typeof n&&(n=p(r,t)),new u(n,e)}}function c(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function l(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(s[n]||(s[n]=[]))[t]=r;return e=e[0],function(n){let o;return void 0!==n?(r&&(n=r(n)),o=this[e](),o.color[t]=n,o):(o=this[e]().color[t],r&&(o=r(o)),o)}}function f(e){return function(t){return Math.max(0,Math.min(e,t))}}function h(e){return Array.isArray(e)?e:[e]}function p(e,t){for(let r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}e.exports=u},52427:(e,t,r)=>{var n=r(17389),o=r(74259),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a function")}},17752:(e,t,r)=>{var n=r(35615),o=r(74259),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a constructor")}},33693:(e,t,r)=>{var n=r(17389),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},52921:(e,t,r)=>{var n=r(19163),o=r(22909),i=r(33015).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},10329:(e,t,r)=>{"use strict";var n=r(34003).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},21167:(e,t,r)=>{var n=r(42378),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw o("Incorrect invocation")}},76824:(e,t,r)=>{var n=r(12465),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not an object")}},71385:(e,t,r)=>{"use strict";var n=r(93250).forEach,o=r(3939)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},76807:(e,t,r)=>{"use strict";var n=r(46748),o=r(51568),i=r(44247),a=r(86948),s=r(22464),u=r(35615),c=r(61166),l=r(87926),f=r(59119),h=r(89781),p=Array;e.exports=function(e){var t=i(e),r=u(this),d=arguments.length,m=d>1?arguments[1]:void 0,g=void 0!==m;g&&(m=n(m,d>2?arguments[2]:void 0));var y,v,b,E,D,w,x=h(t),F=0;if(!x||this===p&&s(x))for(y=c(t),v=r?new this(y):p(y);y>F;F++)w=g?m(t[F],F):t[F],l(v,F,w);else for(D=(E=f(t,x)).next,v=r?new this:[];!(b=o(D,E)).done;F++)w=g?a(E,m,[b.value,F],!0):b.value,l(v,F,w);return v.length=F,v}},99483:(e,t,r)=>{var n=r(82415),o=r(73041),i=r(61166),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},93250:(e,t,r)=>{var n=r(46748),o=r(80764),i=r(22146),a=r(44247),s=r(61166),u=r(31780),c=o([].push),l=function(e){var t=1==e,r=2==e,o=3==e,l=4==e,f=6==e,h=7==e,p=5==e||f;return function(d,m,g,y){for(var v,b,E=a(d),D=i(E),w=n(m,g),x=s(D),F=0,S=y||u,A=t?S(d,x):r||h?S(d,0):void 0;x>F;F++)if((p||F in D)&&(b=w(v=D[F],F,E),e))if(t)A[F]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return F;case 2:c(A,v)}else switch(e){case 4:return!1;case 7:c(A,v)}return f?-1:o||l?l:A}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},15815:(e,t,r)=>{var n=r(82170),o=r(19163),i=r(27098),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},3939:(e,t,r)=>{"use strict";var n=r(82170);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},2005:(e,t,r)=>{var n=r(52427),o=r(44247),i=r(22146),a=r(61166),s=TypeError,u=function(e){return function(t,r,u,c){n(r);var l=o(t),f=i(l),h=a(l),p=e?h-1:0,d=e?-1:1;if(u<2)for(;;){if(p in f){c=f[p],p+=d;break}if(p+=d,e?p<0:h<=p)throw s("Reduce of empty array with no initial value")}for(;e?p>=0:h>p;p+=d)p in f&&(c=r(c,f[p],p,l));return c}};e.exports={left:u(!1),right:u(!0)}},19912:(e,t,r)=>{"use strict";var n=r(12404),o=r(55384),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},56765:(e,t,r)=>{var n=r(73041),o=r(61166),i=r(87926),a=Array,s=Math.max;e.exports=function(e,t,r){for(var u=o(e),c=n(t,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),h=0;c<l;c++,h++)i(f,h,e[c]);return f.length=h,f}},52980:(e,t,r)=>{var n=r(80764);e.exports=n([].slice)},98110:(e,t,r)=>{var n=r(56765),o=Math.floor,i=function(e,t){var r=e.length,u=o(r/2);return r<8?a(e,t):s(e,i(n(e,0,u),t),i(n(e,u),t),t)},a=function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},s=function(e,t,r,n){for(var o=t.length,i=r.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?n(t[a],r[s])<=0?t[a++]:r[s++]:a<o?t[a++]:r[s++];return e};e.exports=i},12916:(e,t,r)=>{var n=r(55384),o=r(35615),i=r(12465),a=r(19163)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},31780:(e,t,r)=>{var n=r(12916);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},86948:(e,t,r)=>{var n=r(76824),o=r(53821);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},49328:(e,t,r)=>{var n=r(19163)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},956:(e,t,r)=>{var n=r(80764),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},9909:(e,t,r)=>{var n=r(57867),o=r(17389),i=r(956),a=r(19163)("toStringTag"),s=Object,u="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:u?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},59962:(e,t,r)=>{var n=r(20627),o=r(32463),i=r(83178),a=r(33015);e.exports=function(e,t,r){for(var s=o(t),u=a.f,c=i.f,l=0;l<s.length;l++){var f=s[l];n(e,f)||r&&n(r,f)||u(e,f,c(t,f))}}},34749:(e,t,r)=>{var n=r(19163)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},92757:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},55771:(e,t,r)=>{var n=r(80764),o=r(28466),i=r(38943),a=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var u=i(o(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(i(n),a,""")+'"'),c+">"+u+"</"+t+">"}},82229:e=>{e.exports=function(e,t){return{value:e,done:t}}},3085:(e,t,r)=>{var n=r(12404),o=r(33015),i=r(30073);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},30073:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},87926:(e,t,r)=>{"use strict";var n=r(61918),o=r(33015),i=r(30073);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},21571:(e,t,r)=>{var n=r(7841),o=r(33015);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},94519:(e,t,r)=>{var n=r(17389),o=r(33015),i=r(7841),a=r(67528);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&i(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},68965:(e,t,r)=>{var n=r(94519);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},67528:(e,t,r)=>{var n=r(92019),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},12404:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},93398:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},1220:(e,t,r)=>{var n=r(92019),o=r(12465),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},37711:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},12135:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},25011:(e,t,r)=>{var n=r(1220)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},76786:(e,t,r)=>{var n=r(89384),o=r(5936);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},89384:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},9022:(e,t,r)=>{var n=r(75531);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},47684:(e,t,r)=>{var n=r(75531);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5936:(e,t,r)=>{var n=r(44675),o=r(956);e.exports=void 0!==n&&"process"==o(n)},42173:(e,t,r)=>{var n=r(75531);e.exports=/web0s(?!.*chrome)/i.test(n)},75531:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},27098:(e,t,r)=>{var n,o,i=r(92019),a=r(75531),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},72197:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},58936:(e,t,r)=>{var n=r(80764),o=Error,i=n("".replace),a=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},49235:(e,t,r)=>{var n=r(3085),o=r(58936),i=r(3358),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},3358:(e,t,r)=>{var n=r(82170),o=r(30073);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},20123:(e,t,r)=>{"use strict";var n=r(12404),o=r(82170),i=r(76824),a=r(22909),s=r(94425),u=Error.prototype.toString,c=o((function(){if(n){var e=a(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==u.call(e))return!0}return"2: 1"!==u.call({message:1,name:2})||"Error"!==u.call({})}));e.exports=c?function(){var e=i(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:u},46367:(e,t,r)=>{var n=r(92019),o=r(83178).f,i=r(3085),a=r(94519),s=r(67528),u=r(59962),c=r(61323);e.exports=function(e,t){var r,l,f,h,p,d=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[d]||s(d,{}):(n[d]||{}).prototype)for(l in t){if(h=t[l],f=e.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!c(m?l:d+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;u(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(r,l,h,e)}}},82170:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},51705:(e,t,r)=>{"use strict";r(38664);var n=r(91889),o=r(94519),i=r(9338),a=r(82170),s=r(19163),u=r(3085),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),p=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!p||!d||r){var m=n(/./[h]),g=t(h,""[e],(function(e,t,r,o,a){var s=n(e),u=t.exec;return u===i||u===l.exec?p&&!a?{done:!0,value:m(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(l,h,g[1])}f&&u(l[h],"sham",!0)}},31152:(e,t,r)=>{var n=r(13780),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},46748:(e,t,r)=>{var n=r(91889),o=r(52427),i=r(13780),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},13780:(e,t,r)=>{var n=r(82170);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},48836:(e,t,r)=>{"use strict";var n=r(80764),o=r(52427),i=r(12465),a=r(20627),s=r(52980),u=r(13780),c=Function,l=n([].concat),f=n([].join),h={},p=function(e,t,r){if(!a(h,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";h[t]=c("C,a","return new C("+f(n,",")+")")}return h[t](e,r)};e.exports=u?c.bind:function(e){var t=o(this),r=t.prototype,n=s(arguments,1),a=function(){var r=l(n,s(arguments));return this instanceof a?p(t,r.length,r):t.apply(e,r)};return i(r)&&(a.prototype=r),a}},51568:(e,t,r)=>{var n=r(13780),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},95114:(e,t,r)=>{var n=r(12404),o=r(20627),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},75904:(e,t,r)=>{var n=r(80764),o=r(52427);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},91889:(e,t,r)=>{var n=r(956),o=r(80764);e.exports=function(e){if("Function"===n(e))return o(e)}},80764:(e,t,r)=>{var n=r(13780),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},73012:(e,t,r)=>{var n=r(92019),o=r(17389),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},89781:(e,t,r)=>{var n=r(9909),o=r(28453),i=r(82109),a=r(22311),s=r(19163)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[n(e)]}},59119:(e,t,r)=>{var n=r(51568),o=r(52427),i=r(76824),a=r(74259),s=r(89781),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw u(a(e)+" is not iterable")}},63209:(e,t,r)=>{var n=r(80764),o=r(55384),i=r(17389),a=r(956),s=r(38943),u=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var c=e[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!=a(c)&&"String"!=a(c)||u(r,s(c))}var l=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(o(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},28453:(e,t,r)=>{var n=r(52427),o=r(82109);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},42371:(e,t,r)=>{var n=r(80764),o=r(44247),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var p=r+e.length,d=n.length,m=l;return void 0!==f&&(f=o(f),m=c),s(h,m,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,p);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>d){var h=i(l/10);return 0===h?o:h<=d?void 0===n[h-1]?a(s,1):n[h-1]+a(s,1):o}c=n[l-1]}return void 0===c?"":c}))}},92019:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},20627:(e,t,r)=>{var n=r(80764),o=r(44247),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},96508:e=>{e.exports={}},6666:e=>{e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},83345:(e,t,r)=>{var n=r(73012);e.exports=n("document","documentElement")},88437:(e,t,r)=>{var n=r(12404),o=r(82170),i=r(1220);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},22146:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(956),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},3661:(e,t,r)=>{var n=r(17389),o=r(12465),i=r(9125);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},6070:(e,t,r)=>{var n=r(80764),o=r(17389),i=r(62548),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},42534:(e,t,r)=>{var n=r(12465),o=r(3085);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},53292:(e,t,r)=>{var n,o,i,a=r(43018),s=r(92019),u=r(12465),c=r(3085),l=r(20627),f=r(62548),h=r(40019),p=r(96508),d="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw m(d);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var v=h("state");p[v]=!0,n=function(e,t){if(l(e,v))throw m(d);return t.facade=e,c(e,v,t),t},o=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return r}}}},22464:(e,t,r)=>{var n=r(19163),o=r(22311),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},55384:(e,t,r)=>{var n=r(956);e.exports=Array.isArray||function(e){return"Array"==n(e)}},17389:(e,t,r)=>{var n=r(93398),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},35615:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(17389),a=r(9909),s=r(73012),u=r(6070),c=function(){},l=[],f=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),d=!h.exec(c),m=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(h,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!f||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},61323:(e,t,r)=>{var n=r(82170),o=r(17389),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==l||r!=c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},82109:e=>{e.exports=function(e){return null==e}},12465:(e,t,r)=>{var n=r(17389),o=r(93398),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},33709:e=>{e.exports=!1},75863:(e,t,r)=>{var n=r(12465),o=r(956),i=r(19163)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},51666:(e,t,r)=>{var n=r(73012),o=r(17389),i=r(42378),a=r(78238),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},64247:(e,t,r)=>{var n=r(46748),o=r(51568),i=r(76824),a=r(74259),s=r(22464),u=r(61166),c=r(42378),l=r(59119),f=r(89781),h=r(53821),p=TypeError,d=function(e,t){this.stopped=e,this.result=t},m=d.prototype;e.exports=function(e,t,r){var g,y,v,b,E,D,w,x=r&&r.that,F=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),C=n(t,x),P=function(e){return g&&h(g,"normal",e),new d(!0,e)},O=function(e){return F?(i(e),k?C(e[0],e[1],P):C(e[0],e[1])):k?C(e,P):C(e)};if(S)g=e.iterator;else if(A)g=e;else{if(!(y=f(e)))throw p(a(e)+" is not iterable");if(s(y)){for(v=0,b=u(e);b>v;v++)if((E=O(e[v]))&&c(m,E))return E;return new d(!1)}g=l(e,y)}for(D=S?e.next:g.next;!(w=o(D,g)).done;){try{E=O(w.value)}catch(e){h(g,"throw",e)}if("object"==typeof E&&E&&c(m,E))return E}return new d(!1)}},53821:(e,t,r)=>{var n=r(51568),o=r(76824),i=r(28453);e.exports=function(e,t,r){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return o(a),r}},91395:(e,t,r)=>{"use strict";var n=r(40641).IteratorPrototype,o=r(22909),i=r(30073),a=r(99434),s=r(22311),u=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,l,!1,!0),s[l]=u,e}},8629:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(33709),a=r(95114),s=r(17389),u=r(91395),c=r(29710),l=r(9125),f=r(99434),h=r(3085),p=r(94519),d=r(19163),m=r(22311),g=r(40641),y=a.PROPER,v=a.CONFIGURABLE,b=g.IteratorPrototype,E=g.BUGGY_SAFARI_ITERATORS,D=d("iterator"),w="keys",x="values",F="entries",S=function(){return this};e.exports=function(e,t,r,a,d,g,A){u(r,t,a);var k,C,P,O=function(e){if(e===d&&R)return R;if(!E&&e in _)return _[e];switch(e){case w:case x:case F:return function(){return new r(this,e)}}return function(){return new r(this)}},j=t+" Iterator",T=!1,_=e.prototype,B=_[D]||_["@@iterator"]||d&&_[d],R=!E&&B||O(d),I="Array"==t&&_.entries||B;if(I&&(k=c(I.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===b||(l?l(k,b):s(k[D])||p(k,D,S)),f(k,j,!0,!0),i&&(m[j]=S)),y&&d==x&&B&&B.name!==x&&(!i&&v?h(_,"name",x):(T=!0,R=function(){return o(B,this)})),d)if(C={values:O(x),keys:g?R:O(w),entries:O(F)},A)for(P in C)(E||T||!(P in _))&&p(_,P,C[P]);else n({target:t,proto:!0,forced:E||T},C);return i&&!A||_[D]===R||p(_,D,R,{name:d}),m[t]=R,C}},40641:(e,t,r)=>{"use strict";var n,o,i,a=r(82170),s=r(17389),u=r(12465),c=r(22909),l=r(29710),f=r(94519),h=r(19163),p=r(33709),d=h("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):m=!0),!u(n)||a((function(){var e={};return n[d].call(e)!==e}))?n={}:p&&(n=c(n)),s(n[d])||f(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},22311:e=>{e.exports={}},61166:(e,t,r)=>{var n=r(66772);e.exports=function(e){return n(e.length)}},7841:(e,t,r)=>{var n=r(80764),o=r(82170),i=r(17389),a=r(20627),s=r(12404),u=r(95114).CONFIGURABLE,c=r(6070),l=r(53292),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,m=n("".slice),g=n("".replace),y=n([].join),v=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),E=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=E((function(){return i(this)&&h(this).source||c(this)}),"toString")},97951:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},90174:(e,t,r)=>{var n,o,i,a,s,u=r(92019),c=r(46748),l=r(83178).f,f=r(36218).set,h=r(66884),p=r(47684),d=r(9022),m=r(42173),g=r(5936),y=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,E=u.Promise,D=l(u,"queueMicrotask"),w=D&&D.value;if(!w){var x=new h,F=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&n(),e}e&&e.enter()};p||g||m||!y||!v?!d&&E&&E.resolve?((a=E.resolve(void 0)).constructor=E,s=c(a.then,a),n=function(){s(F)}):g?n=function(){b.nextTick(F)}:(f=c(f,u),n=function(){f(F)}):(o=!0,i=v.createTextNode(""),new y(F).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),w=function(e){x.head||n(),x.add(e)}}e.exports=w},28567:(e,t,r)=>{"use strict";var n=r(52427),o=TypeError,i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw o("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},94425:(e,t,r)=>{var n=r(38943);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},28410:(e,t,r)=>{var n=r(75863),o=TypeError;e.exports=function(e){if(n(e))throw o("The method doesn't accept regular expressions");return e}},98340:(e,t,r)=>{"use strict";var n=r(12404),o=r(80764),i=r(51568),a=r(82170),s=r(34329),u=r(38891),c=r(38327),l=r(44247),f=r(22146),h=Object.assign,p=Object.defineProperty,d=o([].concat);e.exports=!h||a((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=h({},e)[r]||s(h({},t)).join("")!=o}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,h=u.f,p=c.f;o>a;)for(var m,g=f(arguments[a++]),y=h?d(s(g),h(g)):s(g),v=y.length,b=0;v>b;)m=y[b++],n&&!i(p,g,m)||(r[m]=g[m]);return r}:h},22909:(e,t,r)=>{var n,o=r(76824),i=r(70948),a=r(72197),s=r(96508),u=r(83345),c=r(1220),l=r(40019),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+h+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var o=a.length;o--;)delete y[f][a[o]];return y()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=o(e),r=new d,d[f]=null,r[p]=e):r=y(),void 0===t?r:i.f(r,t)}},70948:(e,t,r)=>{var n=r(12404),o=r(53939),i=r(33015),a=r(76824),s=r(82415),u=r(34329);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),o=u(t),c=o.length,l=0;c>l;)i.f(e,r=o[l++],n[r]);return e}},33015:(e,t,r)=>{var n=r(12404),o=r(88437),i=r(53939),a=r(76824),s=r(61918),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},83178:(e,t,r)=>{var n=r(12404),o=r(51568),i=r(38327),a=r(30073),s=r(82415),u=r(61918),c=r(20627),l=r(88437),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},66877:(e,t,r)=>{var n=r(956),o=r(82415),i=r(28290).f,a=r(56765),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},28290:(e,t,r)=>{var n=r(39814),o=r(72197).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},38891:(e,t)=>{t.f=Object.getOwnPropertySymbols},29710:(e,t,r)=>{var n=r(20627),o=r(17389),i=r(44247),a=r(40019),s=r(92757),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?l:null}},42378:(e,t,r)=>{var n=r(80764);e.exports=n({}.isPrototypeOf)},39814:(e,t,r)=>{var n=r(80764),o=r(20627),i=r(82415),a=r(99483).indexOf,s=r(96508),u=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&u(l,r);for(;t.length>c;)o(n,r=t[c++])&&(~a(l,r)||u(l,r));return l}},34329:(e,t,r)=>{var n=r(39814),o=r(72197);e.exports=Object.keys||function(e){return n(e,o)}},38327:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},9125:(e,t,r)=>{var n=r(75904),o=r(76824),i=r(33693);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},63850:(e,t,r)=>{"use strict";var n=r(57867),o=r(9909);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},29276:(e,t,r)=>{var n=r(51568),o=r(17389),i=r(12465),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw a("Can't convert object to primitive value")}},32463:(e,t,r)=>{var n=r(73012),o=r(80764),i=r(28290),a=r(38891),s=r(76824),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?u(t,r(e)):t}},89683:(e,t,r)=>{var n=r(92019);e.exports=n},20481:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},16069:(e,t,r)=>{var n=r(92019),o=r(61636),i=r(17389),a=r(61323),s=r(6070),u=r(19163),c=r(76786),l=r(89384),f=r(33709),h=r(27098),p=o&&o.prototype,d=u("species"),m=!1,g=i(n.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===h)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(m=r.then((function(){}))instanceof n))return!0}return!t&&(c||l)&&!g}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:g,SUBCLASSING:m}},61636:(e,t,r)=>{var n=r(92019);e.exports=n.Promise},25777:(e,t,r)=>{var n=r(76824),o=r(12465),i=r(28567);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},83152:(e,t,r)=>{var n=r(61636),o=r(49328),i=r(16069).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},85981:(e,t,r)=>{var n=r(33015).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},66884:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},35198:(e,t,r)=>{var n=r(51568),o=r(76824),i=r(17389),a=r(956),s=r(9338),u=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},9338:(e,t,r)=>{"use strict";var n,o,i=r(51568),a=r(80764),s=r(38943),u=r(68811),c=r(45526),l=r(34558),f=r(22909),h=r(53292).get,p=r(92993),d=r(39953),m=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,v=a("".charAt),b=a("".indexOf),E=a("".replace),D=a("".slice),w=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),x=c.BROKEN_CARET,F=void 0!==/()??/.exec("")[1];(w||F||x||p||d)&&(y=function(e){var t,r,n,o,a,c,l,p=this,d=h(p),S=s(e),A=d.raw;if(A)return A.lastIndex=p.lastIndex,t=i(y,A,S),p.lastIndex=A.lastIndex,t;var k=d.groups,C=x&&p.sticky,P=i(u,p),O=p.source,j=0,T=S;if(C&&(P=E(P,"y",""),-1===b(P,"g")&&(P+="g"),T=D(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==v(S,p.lastIndex-1))&&(O="(?: "+O+")",T=" "+T,j++),r=new RegExp("^(?:"+O+")",P)),F&&(r=new RegExp("^"+O+"$(?!\\s)",P)),w&&(n=p.lastIndex),o=i(g,C?r:p,T),C?o?(o.input=D(o.input,j),o[0]=D(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:w&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),F&&o&&o.length>1&&i(m,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=c=f(null),a=0;a<k.length;a++)c[(l=k[a])[0]]=o[l[1]];return o}),e.exports=y},68811:(e,t,r)=>{"use strict";var n=r(76824);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},46059:(e,t,r)=>{var n=r(51568),o=r(20627),i=r(42378),a=r(68811),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:n(a,e)}},45526:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),s=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},92993:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},39953:(e,t,r)=>{var n=r(82170),o=r(92019).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},28466:(e,t,r)=>{var n=r(82109),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},82977:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},79229:(e,t,r)=>{"use strict";var n=r(73012),o=r(21571),i=r(19163),a=r(12404),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},99434:(e,t,r)=>{var n=r(33015).f,o=r(20627),i=r(19163)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},40019:(e,t,r)=>{var n=r(34558),o=r(58103),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},62548:(e,t,r)=>{var n=r(92019),o=r(67528),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},34558:(e,t,r)=>{var n=r(33709),o=r(62548);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8256:(e,t,r)=>{var n=r(76824),o=r(17752),i=r(82109),a=r(19163)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||i(r=n(s)[a])?t:o(r)}},87241:(e,t,r)=>{var n=r(82170);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},34003:(e,t,r)=>{var n=r(80764),o=r(86287),i=r(38943),a=r(28466),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),h=o(r),p=f.length;return h<0||h>=p?e?"":void 0:(n=u(f,h))<55296||n>56319||h+1===p||(l=u(f,h+1))<56320||l>57343?e?s(f,h):n:e?c(f,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},85946:(e,t,r)=>{var n=r(80764),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=n(a.exec),l=Math.floor,f=String.fromCharCode,h=n("".charCodeAt),p=n([].join),d=n([].push),m=n("".replace),g=n("".split),y=n("".toLowerCase),v=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},E=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=h(e,r++);if(o>=55296&&o<=56319&&r<n){var i=h(e,r++);56320==(64512&i)?d(t,((1023&o)<<10)+(1023&i)+65536):(d(t,o),r--)}else d(t,o)}return t}(e);var r,n,i=e.length,a=128,c=0,m=72;for(r=0;r<e.length;r++)(n=e[r])<128&&d(t,f(n));var g=t.length,y=g;for(g&&d(t,"-");y<i;){var E=o;for(r=0;r<e.length;r++)(n=e[r])>=a&&n<E&&(E=n);var D=y+1;if(E-a>l((o-c)/D))throw u(s);for(c+=(E-a)*D,a=E,r=0;r<e.length;r++){if((n=e[r])<a&&++c>o)throw u(s);if(n==a){for(var w=c,x=36;;){var F=x<=m?1:x>=m+26?26:x-m;if(w<F)break;var S=w-F,A=36-F;d(t,f(v(F+S%A))),w=l(S/A),x+=36}d(t,f(v(w))),m=b(c,D,y==g),c=0,y++}}c++,a++}return p(t,"")};e.exports=function(e){var t,r,n=[],o=g(m(y(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],d(n,c(i,r)?"xn--"+E(r):r);return p(n,".")}},81582:(e,t,r)=>{var n=r(95114).PROPER,o=r(82170),i=r(2567);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},50252:(e,t,r)=>{var n=r(80764),o=r(28466),i=r(38943),a=r(2567),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,u,"")),2&e&&(r=s(r,c,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},63488:(e,t,r)=>{var n=r(27098),o=r(82170),i=r(92019).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},22818:(e,t,r)=>{var n=r(51568),o=r(73012),i=r(19163),a=r(94519);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},58463:(e,t,r)=>{var n=r(63488);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},36218:(e,t,r)=>{var n,o,i,a,s=r(92019),u=r(31152),c=r(46748),l=r(17389),f=r(20627),h=r(82170),p=r(83345),d=r(52980),m=r(1220),g=r(13108),y=r(47684),v=r(5936),b=s.setImmediate,E=s.clearImmediate,D=s.process,w=s.Dispatch,x=s.Function,F=s.MessageChannel,S=s.String,A=0,k={},C="onreadystatechange";h((function(){n=s.location}));var P=function(e){if(f(k,e)){var t=k[e];delete k[e],t()}},O=function(e){return function(){P(e)}},j=function(e){P(e.data)},T=function(e){s.postMessage(S(e),n.protocol+"//"+n.host)};b&&E||(b=function(e){g(arguments.length,1);var t=l(e)?e:x(e),r=d(arguments,1);return k[++A]=function(){u(t,void 0,r)},o(A),A},E=function(e){delete k[e]},v?o=function(e){D.nextTick(O(e))}:w&&w.now?o=function(e){w.now(O(e))}:F&&!y?(a=(i=new F).port2,i.port1.onmessage=j,o=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(T)?(o=T,s.addEventListener("message",j,!1)):o=C in m("script")?function(e){p.appendChild(m("script"))[C]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:b,clear:E}},73041:(e,t,r)=>{var n=r(86287),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},82415:(e,t,r)=>{var n=r(22146),o=r(28466);e.exports=function(e){return n(o(e))}},86287:(e,t,r)=>{var n=r(97951);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},66772:(e,t,r)=>{var n=r(86287),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},44247:(e,t,r)=>{var n=r(28466),o=Object;e.exports=function(e){return o(n(e))}},34929:(e,t,r)=>{var n=r(51568),o=r(12465),i=r(51666),a=r(28453),s=r(29276),u=r(19163),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,l);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},61918:(e,t,r)=>{var n=r(34929),o=r(51666);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},57867:(e,t,r)=>{var n={};n[r(19163)("toStringTag")]="z",e.exports="[object z]"===String(n)},38943:(e,t,r)=>{var n=r(9909),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},74259:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},58103:(e,t,r)=>{var n=r(80764),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},25047:(e,t,r)=>{var n=r(82170),o=r(19163),i=r(12404),a=r(33709),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},78238:(e,t,r)=>{var n=r(63488);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},53939:(e,t,r)=>{var n=r(12404),o=r(82170);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},13108:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},43018:(e,t,r)=>{var n=r(92019),o=r(17389),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},33758:(e,t,r)=>{var n=r(89683),o=r(20627),i=r(71705),a=r(33015).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},71705:(e,t,r)=>{var n=r(19163);t.f=n},19163:(e,t,r)=>{var n=r(92019),o=r(34558),i=r(20627),a=r(58103),s=r(63488),u=r(78238),c=n.Symbol,l=o("wks"),f=u?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(c,e)?c[e]:f("Symbol."+e)),l[e]}},2567:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},15171:(e,t,r)=>{"use strict";var n=r(73012),o=r(20627),i=r(3085),a=r(42378),s=r(9125),u=r(59962),c=r(85981),l=r(3661),f=r(94425),h=r(42534),p=r(49235),d=r(12404),m=r(33709);e.exports=function(e,t,r,g){var y="stackTraceLimit",v=g?2:1,b=e.split("."),E=b[b.length-1],D=n.apply(null,b);if(D){var w=D.prototype;if(!m&&o(w,"cause")&&delete w.cause,!r)return D;var x=n("Error"),F=t((function(e,t){var r=f(g?t:e,void 0),n=g?new D(e):new D;return void 0!==r&&i(n,"message",r),p(n,F,n.stack,2),this&&a(w,this)&&l(n,this,F),arguments.length>v&&h(n,arguments[v]),n}));if(F.prototype=w,"Error"!==E?s?s(F,x):u(F,x,{name:!0}):d&&y in D&&(c(F,D,y),c(F,D,"prepareStackTrace")),u(F,D),!m)try{w.name!==E&&i(w,"name",E),w.constructor=F}catch(e){}return F}}},7190:(e,t,r)=>{"use strict";var n=r(46367),o=r(82170),i=r(55384),a=r(12465),s=r(44247),u=r(61166),c=r(37711),l=r(87926),f=r(31780),h=r(15815),p=r(19163),d=r(27098),m=p("isConcatSpreadable"),g=d>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!g||!h("concat")},{concat:function(e){var t,r,n,o,i,a=s(this),h=f(a,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(y(i=-1===t?a:arguments[t]))for(o=u(i),c(p+o),r=0;r<o;r++,p++)r in i&&l(h,p,i[r]);else c(p+1),l(h,p++,i);return h.length=p,h}})},44703:(e,t,r)=>{"use strict";var n=r(46367),o=r(93250).filter;n({target:"Array",proto:!0,forced:!r(15815)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},77389:(e,t,r)=>{"use strict";var n=r(46367),o=r(71385);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},62443:(e,t,r)=>{"use strict";var n=r(46367),o=r(99483).includes,i=r(82170),a=r(52921);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},75591:(e,t,r)=>{"use strict";var n=r(82415),o=r(52921),i=r(22311),a=r(53292),s=r(33015).f,u=r(8629),c=r(82229),l=r(33709),f=r(12404),h="Array Iterator",p=a.set,d=a.getterFor(h);e.exports=u(Array,"Array",(function(e,t){p(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,c(void 0,!0)):c("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},70888:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(22146),a=r(82415),s=r(3939),u=o([].join);n({target:"Array",proto:!0,forced:i!=Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},8213:(e,t,r)=>{"use strict";var n=r(46367),o=r(93250).map;n({target:"Array",proto:!0,forced:!r(15815)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},25013:(e,t,r)=>{"use strict";var n=r(46367),o=r(44247),i=r(61166),a=r(19912),s=r(37711);n({target:"Array",proto:!0,arity:1,forced:r(82170)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),r=i(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},75041:(e,t,r)=>{"use strict";var n=r(46367),o=r(2005).left,i=r(3939),a=r(27098);n({target:"Array",proto:!0,forced:!r(5936)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},43934:(e,t,r)=>{"use strict";var n=r(46367),o=r(55384),i=r(35615),a=r(12465),s=r(73041),u=r(61166),c=r(82415),l=r(87926),f=r(19163),h=r(15815),p=r(52980),d=h("slice"),m=f("species"),g=Array,y=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,f,h=c(this),d=u(h),v=s(e,d),b=s(void 0===t?d:t,d);if(o(h)&&(r=h.constructor,(i(r)&&(r===g||o(r.prototype))||a(r)&&null===(r=r[m]))&&(r=void 0),r===g||void 0===r))return p(h,v,b);for(n=new(void 0===r?g:r)(y(b-v,0)),f=0;v<b;v++,f++)v in h&&l(n,f,h[v]);return n.length=f,n}})},93344:(e,t,r)=>{var n=r(80764),o=r(94519),i=Date.prototype,a="Invalid Date",s="toString",u=n(i[s]),c=n(i.getTime);String(new Date(NaN))!=a&&o(i,s,(function(){var e=c(this);return e==e?u(this):a}))},27313:(e,t,r)=>{var n=r(46367),o=r(92019),i=r(31152),a=r(15171),s="WebAssembly",u=o[s],c=7!==Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=a(e,t,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},f=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},81044:(e,t,r)=>{var n=r(94519),o=r(20123),i=Error.prototype;i.toString!==o&&n(i,"toString",o)},23740:(e,t,r)=>{var n=r(12404),o=r(95114).EXISTS,i=r(80764),a=r(21571),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(e){return""}}})},70776:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(31152),a=r(51568),s=r(80764),u=r(82170),c=r(17389),l=r(51666),f=r(52980),h=r(63209),p=r(63488),d=String,m=o("JSON","stringify"),g=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),E=s(1..toString),D=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,F=!p||u((function(){var e=o("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),S=u((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),A=function(e,t){var r=f(arguments),n=h(t);if(c(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(c(n)&&(t=a(n,this,d(e),t)),!l(t))return t},i(m,null,r)},k=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return g(w,e)&&!g(x,o)||g(x,e)&&!g(w,n)?"\\u"+E(v(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:F||S},{stringify:function(e,t,r){var n=f(arguments),o=i(F?A:m,null,n);return S&&"string"==typeof o?b(o,D,k):o}})},94332:(e,t,r)=>{var n=r(46367),o=r(98340);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},87462:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(70948).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},5148:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(33015).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},19855:(e,t,r)=>{var n=r(46367),o=r(82170),i=r(82415),a=r(83178).f,s=r(12404);n({target:"Object",stat:!0,forced:!s||o((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},55126:(e,t,r)=>{var n=r(46367),o=r(12404),i=r(32463),a=r(82415),s=r(83178),u=r(87926);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=s.f,c=i(n),l={},f=0;c.length>f;)void 0!==(r=o(n,t=c[f++]))&&u(l,t,r);return l}})},71423:(e,t,r)=>{var n=r(46367),o=r(63488),i=r(82170),a=r(38891),s=r(44247);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},25444:(e,t,r)=>{var n=r(46367),o=r(44247),i=r(34329);n({target:"Object",stat:!0,forced:r(82170)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},63583:(e,t,r)=>{var n=r(57867),o=r(94519),i=r(63850);n||o(Object.prototype,"toString",i,{unsafe:!0})},12022:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(52427),a=r(28567),s=r(20481),u=r(64247);n({target:"Promise",stat:!0,forced:r(83152)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1;u(e,(function(e){var i=s++,u=!1;l++,o(r,t,e).then((function(e){u||(u=!0,a[i]=e,--l||n(a))}),c)})),--l||n(a)}));return l.error&&c(l.value),r.promise}})},67089:(e,t,r)=>{"use strict";var n=r(46367),o=r(33709),i=r(16069).CONSTRUCTOR,a=r(61636),s=r(73012),u=r(17389),c=r(94519),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(a)){var f=s("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},67951:(e,t,r)=>{"use strict";var n,o,i,a=r(46367),s=r(33709),u=r(5936),c=r(92019),l=r(51568),f=r(94519),h=r(9125),p=r(99434),d=r(79229),m=r(52427),g=r(17389),y=r(12465),v=r(21167),b=r(8256),E=r(36218).set,D=r(90174),w=r(6666),x=r(20481),F=r(66884),S=r(53292),A=r(61636),k=r(16069),C=r(28567),P="Promise",O=k.CONSTRUCTOR,j=k.REJECTION_EVENT,T=k.SUBCLASSING,_=S.getterFor(P),B=S.set,R=A&&A.prototype,I=A,L=R,M=c.TypeError,N=c.document,$=c.process,U=C.f,z=U,H=!!(N&&N.createEvent&&c.dispatchEvent),q="unhandledrejection",V=function(e){var t;return!(!y(e)||!g(t=e.then))&&t},G=function(e,t){var r,n,o,i=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===e.promise?c(M("Promise-chain cycle")):(n=V(r))?l(n,r,u,c):u(r)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},W=function(e,t){e.notified||(e.notified=!0,D((function(){for(var r,n=e.reactions;r=n.get();)G(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},Q=function(e,t,r){var n,o;H?((n=N.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!j&&(o=c["on"+e])?o(n):e===q&&w("Unhandled promise rejection",r)},K=function(e){l(E,c,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=x((function(){u?$.emit("unhandledRejection",n,r):Q(q,r,n)})),e.rejection=u||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){l(E,c,(function(){var t=e.facade;u?$.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},J=function(e,t,r){return function(n){e(t,n,r)}},X=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw M("Promise can't be resolved itself");var n=V(t);n?D((function(){var r={done:!1};try{l(n,t,J(ee,r,e),J(X,r,e))}catch(t){X(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){X({done:!1},t,e)}}};if(O&&(L=(I=function(e){v(this,L),m(e),l(n,this);var t=_(this);try{e(J(ee,t),J(X,t))}catch(e){X(t,e)}}).prototype,(n=function(e){B(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new F,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var r=_(this),n=U(b(this,I));return r.parent=!0,n.ok=!g(e)||e,n.fail=g(t)&&t,n.domain=u?$.domain:void 0,0==r.state?r.reactions.add(n):D((function(){G(n,r)})),n.promise})),o=function(){var e=new n,t=_(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(X,t)},C.f=U=function(e){return e===I||undefined===e?new o(e):z(e)},!s&&g(A)&&R!==Object.prototype)){i=R.then,T||f(R,"then",(function(e,t){var r=this;return new I((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(e){}h&&h(R,L)}a({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:I}),p(I,P,!1,!0),d(P)},7395:(e,t,r)=>{r(67951),r(12022),r(67089),r(49795),r(35264),r(598)},49795:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(52427),a=r(28567),s=r(20481),u=r(64247);n({target:"Promise",stat:!0,forced:r(83152)},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=s((function(){var a=i(t.resolve);u(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},35264:(e,t,r)=>{"use strict";var n=r(46367),o=r(51568),i=r(28567);n({target:"Promise",stat:!0,forced:r(16069).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},598:(e,t,r)=>{"use strict";var n=r(46367),o=r(73012),i=r(33709),a=r(61636),s=r(16069).CONSTRUCTOR,u=r(25777),c=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return u(l&&this===c?a:this,e)}})},11333:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(31152),a=r(48836),s=r(17752),u=r(76824),c=r(12465),l=r(22909),f=r(82170),h=o("Reflect","construct"),p=Object.prototype,d=[].push,m=f((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),g=!f((function(){h((function(){}))})),y=m||g;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){s(e),u(t);var r=arguments.length<3?e:s(arguments[2]);if(g&&!m)return h(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(d,n,t),new(i(a,e,n))}var o=r.prototype,f=l(c(o)?o:p),y=i(e,f,t);return c(y)?y:f}})},16585:(e,t,r)=>{var n=r(46367),o=r(92019),i=r(99434);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},83473:(e,t,r)=>{var n=r(12404),o=r(92019),i=r(80764),a=r(61323),s=r(3661),u=r(3085),c=r(28290).f,l=r(42378),f=r(75863),h=r(38943),p=r(46059),d=r(45526),m=r(85981),g=r(94519),y=r(82170),v=r(20627),b=r(53292).enforce,E=r(79229),D=r(19163),w=r(92993),x=r(39953),F=D("match"),S=o.RegExp,A=S.prototype,k=o.SyntaxError,C=i(A.exec),P=i("".charAt),O=i("".replace),j=i("".indexOf),T=i("".slice),_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,R=/a/g,I=new S(B)!==B,L=d.MISSED_STICKY,M=d.UNSUPPORTED_Y,N=n&&(!I||L||w||x||y((function(){return R[F]=!1,S(B)!=B||S(R)==R||"/a/i"!=S(B,"i")})));if(a("RegExp",N)){for(var $=function(e,t){var r,n,o,i,a,c,d=l(A,this),m=f(e),g=void 0===t,y=[],E=e;if(!d&&m&&g&&e.constructor===$)return e;if((m||l(A,e))&&(e=e.source,g&&(t=p(E))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),E=e,w&&"dotAll"in B&&(n=!!t&&j(t,"s")>-1)&&(t=O(t,/s/g,"")),r=t,L&&"sticky"in B&&(o=!!t&&j(t,"y")>-1)&&M&&(t=O(t,/y/g,"")),x&&(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,u=!1,c=0,l="";n<=r;n++){if("\\"===(t=P(e,n)))t+=P(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(_,T(e,n+1))&&(n+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||v(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],u=!1,l="";continue}u?l+=t:o+=t}return[o,i]}(e),e=i[0],y=i[1]),a=s(S(e,t),d?this:A,$),(n||o||y.length)&&(c=b(a),n&&(c.dotAll=!0,c.raw=$(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=P(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+P(e,++n);return o}(e),r)),o&&(c.sticky=!0),y.length&&(c.groups=y)),e!==E)try{u(a,"source",""===E?"(?:)":E)}catch(e){}return a},U=c(S),z=0;U.length>z;)m($,S,U[z++]);A.constructor=$,$.prototype=A,g(o,"RegExp",$,{constructor:!0})}E("RegExp")},51913:(e,t,r)=>{var n=r(12404),o=r(92993),i=r(956),a=r(21571),s=r(53292).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},38664:(e,t,r)=>{"use strict";var n=r(46367),o=r(9338);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},43050:(e,t,r)=>{var n=r(12404),o=r(45526).MISSED_STICKY,i=r(956),a=r(21571),s=r(53292).get,u=RegExp.prototype,c=TypeError;n&&o&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===i(this))return!!s(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},80532:(e,t,r)=>{"use strict";r(38664);var n,o,i=r(46367),a=r(51568),s=r(17389),u=r(76824),c=r(38943),l=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=u(this),r=c(e),n=t.exec;if(!s(n))return a(f,t,r);var o=a(n,t,r);return null!==o&&(u(o),!0)}})},65251:(e,t,r)=>{"use strict";var n=r(95114).PROPER,o=r(94519),i=r(76824),a=r(38943),s=r(82170),u=r(46059),c="toString",l=RegExp.prototype[c],f=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h=n&&l.name!=c;(f||h)&&o(RegExp.prototype,c,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},82122:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(28410),a=r(28466),s=r(38943),u=r(34749),c=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},96853:(e,t,r)=>{"use strict";var n=r(34003).charAt,o=r(38943),i=r(53292),a=r(8629),s=r(82229),u="String Iterator",c=i.set,l=i.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},53915:(e,t,r)=>{"use strict";var n=r(46367),o=r(55771);n({target:"String",proto:!0,forced:r(87241)("link")},{link:function(e){return o(this,"a","href",e)}})},61228:(e,t,r)=>{"use strict";var n=r(51568),o=r(51705),i=r(76824),a=r(82109),s=r(66772),u=r(38943),c=r(28466),l=r(28453),f=r(10329),h=r(35198);o("match",(function(e,t,r){return[function(t){var r=c(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](u(r))},function(e){var n=i(this),o=u(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return h(n,o);var c=n.unicode;n.lastIndex=0;for(var l,p=[],d=0;null!==(l=h(n,o));){var m=u(l[0]);p[d]=m,""===m&&(n.lastIndex=f(o,s(n.lastIndex),c)),d++}return 0===d?null:p}]}))},17915:(e,t,r)=>{"use strict";var n=r(31152),o=r(51568),i=r(80764),a=r(51705),s=r(82170),u=r(76824),c=r(17389),l=r(82109),f=r(86287),h=r(66772),p=r(38943),d=r(28466),m=r(10329),g=r(28453),y=r(42371),v=r(35198),b=r(19163)("replace"),E=Math.max,D=Math.min,w=i([].concat),x=i([].push),F=i("".indexOf),S=i("".slice),A="$0"==="a".replace(/./,"$0"),k=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,r){var i=k?"$":"$0";return[function(e,r){var n=d(this),i=l(e)?void 0:g(e,b);return i?o(i,e,n,r):o(t,p(n),e,r)},function(e,o){var a=u(this),s=p(e);if("string"==typeof o&&-1===F(o,i)&&-1===F(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var d=c(o);d||(o=p(o));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var A=[];;){var k=v(a,s);if(null===k)break;if(x(A,k),!g)break;""===p(k[0])&&(a.lastIndex=m(s,h(a.lastIndex),b))}for(var C,P="",O=0,j=0;j<A.length;j++){for(var T=p((k=A[j])[0]),_=E(D(f(k.index),s.length),0),B=[],R=1;R<k.length;R++)x(B,void 0===(C=k[R])?C:String(C));var I=k.groups;if(d){var L=w([T],B,_,s);void 0!==I&&x(L,I);var M=p(n(o,void 0,L))}else M=y(T,s,_,B,I,o);_>=O&&(P+=S(s,O,_)+M,O=_+T.length)}return P+S(s,O)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||k)},57930:(e,t,r)=>{"use strict";var n=r(51568),o=r(51705),i=r(76824),a=r(82109),s=r(28466),u=r(82977),c=r(38943),l=r(28453),f=r(35198);o("search",(function(e,t,r){return[function(t){var r=s(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;var s=n.lastIndex;u(s,0)||(n.lastIndex=0);var l=f(n,o);return u(n.lastIndex,s)||(n.lastIndex=s),null===l?-1:l.index}]}))},69017:(e,t,r)=>{"use strict";var n,o=r(46367),i=r(91889),a=r(83178).f,s=r(66772),u=r(38943),c=r(28410),l=r(28466),f=r(34749),h=r(33709),p=i("".startsWith),d=i("".slice),m=Math.min,g=f("startsWith");o({target:"String",proto:!0,forced:!!(h||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(e){var t=u(l(this));c(e);var r=s(m(arguments.length>1?arguments[1]:void 0,t.length)),n=u(e);return p?p(t,n,r):d(t,r,r+n.length)===n}})},98006:(e,t,r)=>{"use strict";var n=r(46367),o=r(80764),i=r(28466),a=r(86287),s=r(38943),u=o("".slice),c=Math.max,l=Math.min;n({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(e,t){var r,n,o=s(i(this)),f=o.length,h=a(e);return h===1/0&&(h=0),h<0&&(h=c(f+h,0)),(r=void 0===t?f:a(t))<=0||r===1/0||h>=(n=l(h+r,f))?"":u(o,h,n)}})},33394:(e,t,r)=>{"use strict";var n=r(46367),o=r(50252).trim;n({target:"String",proto:!0,forced:r(81582)("trim")},{trim:function(){return o(this)}})},72336:(e,t,r)=>{r(33758)("asyncIterator")},79953:(e,t,r)=>{"use strict";var n=r(46367),o=r(92019),i=r(51568),a=r(80764),s=r(33709),u=r(12404),c=r(63488),l=r(82170),f=r(20627),h=r(42378),p=r(76824),d=r(82415),m=r(61918),g=r(38943),y=r(30073),v=r(22909),b=r(34329),E=r(28290),D=r(66877),w=r(38891),x=r(83178),F=r(33015),S=r(70948),A=r(38327),k=r(94519),C=r(21571),P=r(34558),O=r(40019),j=r(96508),T=r(58103),_=r(19163),B=r(71705),R=r(33758),I=r(22818),L=r(99434),M=r(53292),N=r(93250).forEach,$=O("hidden"),U="Symbol",z="prototype",H=M.set,q=M.getterFor(U),V=Object[z],G=o.Symbol,W=G&&G[z],Q=o.TypeError,K=o.QObject,Y=x.f,Z=F.f,J=D.f,X=A.f,ee=a([].push),te=P("symbols"),re=P("op-symbols"),ne=P("wks"),oe=!K||!K[z]||!K[z].findChild,ie=u&&l((function(){return 7!=v(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(V,t);n&&delete V[t],Z(e,t,r),n&&e!==V&&Z(V,t,n)}:Z,ae=function(e,t){var r=te[e]=v(W);return H(r,{type:U,tag:e,description:t}),u||(r.description=t),r},se=function(e,t,r){e===V&&se(re,t,r),p(e);var n=m(t);return p(r),f(te,n)?(r.enumerable?(f(e,$)&&e[$][n]&&(e[$][n]=!1),r=v(r,{enumerable:y(0,!1)})):(f(e,$)||Z(e,$,y(1,{})),e[$][n]=!0),ie(e,n,r)):Z(e,n,r)},ue=function(e,t){p(e);var r=d(t),n=b(r).concat(he(r));return N(n,(function(t){u&&!i(ce,r,t)||se(e,t,r[t])})),e},ce=function(e){var t=m(e),r=i(X,this,t);return!(this===V&&f(te,t)&&!f(re,t))&&(!(r||!f(this,t)||!f(te,t)||f(this,$)&&this[$][t])||r)},le=function(e,t){var r=d(e),n=m(t);if(r!==V||!f(te,n)||f(re,n)){var o=Y(r,n);return!o||!f(te,n)||f(r,$)&&r[$][n]||(o.enumerable=!0),o}},fe=function(e){var t=J(d(e)),r=[];return N(t,(function(e){f(te,e)||f(j,e)||ee(r,e)})),r},he=function(e){var t=e===V,r=J(t?re:d(e)),n=[];return N(r,(function(e){!f(te,e)||t&&!f(V,e)||ee(n,te[e])})),n};c||(k(W=(G=function(){if(h(W,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=T(e),r=function(e){this===V&&i(r,re,e),f(this,$)&&f(this[$],t)&&(this[$][t]=!1),ie(this,t,y(1,e))};return u&&oe&&ie(V,t,{configurable:!0,set:r}),ae(t,e)})[z],"toString",(function(){return q(this).tag})),k(G,"withoutSetter",(function(e){return ae(T(e),e)})),A.f=ce,F.f=se,S.f=ue,x.f=le,E.f=D.f=fe,w.f=he,B.f=function(e){return ae(_(e),e)},u&&(C(W,"description",{configurable:!0,get:function(){return q(this).description}}),s||k(V,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:G}),N(b(ne),(function(e){R(e)})),n({target:U,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?v(e):ue(v(e),t)},defineProperty:se,defineProperties:ue,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe}),I(),L(G,U),j[$]=!0},60337:(e,t,r)=>{"use strict";var n=r(46367),o=r(12404),i=r(92019),a=r(80764),s=r(20627),u=r(17389),c=r(42378),l=r(38943),f=r(21571),h=r(59962),p=i.Symbol,d=p&&p.prototype;if(o&&u(p)&&(!("description"in d)||void 0!==p().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(d,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};h(g,p),g.prototype=d,d.constructor=g;var y="Symbol(test)"==String(p("test")),v=a(d.valueOf),b=a(d.toString),E=/^Symbol\((.*)\)[^)]+$/,D=a("".replace),w=a("".slice);f(d,"description",{configurable:!0,get:function(){var e=v(this);if(s(m,e))return"";var t=b(e),r=y?w(t,7,-1):D(t,E,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},84944:(e,t,r)=>{var n=r(46367),o=r(73012),i=r(20627),a=r(38943),s=r(34558),u=r(58463),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},49778:(e,t,r)=>{r(33758)("iterator")},82814:(e,t,r)=>{r(79953),r(84944),r(17206),r(70776),r(71423)},17206:(e,t,r)=>{var n=r(46367),o=r(20627),i=r(51666),a=r(74259),s=r(34558),u=r(58463),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},37607:(e,t,r)=>{var n=r(92019),o=r(12135),i=r(25011),a=r(71385),s=r(3085),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&u(n[c]&&n[c].prototype);u(i)},68546:(e,t,r)=>{var n=r(92019),o=r(12135),i=r(25011),a=r(75591),s=r(3085),u=r(19163),c=u("iterator"),l=u("toStringTag"),f=a.values,h=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(t){e[c]=f}if(e[l]||s(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var p in o)h(n[p]&&n[p].prototype,p);h(i,"DOMTokenList")},13122:(e,t,r)=>{"use strict";r(75591);var n=r(46367),o=r(92019),i=r(51568),a=r(80764),s=r(12404),u=r(25047),c=r(94519),l=r(21571),f=r(68965),h=r(99434),p=r(91395),d=r(53292),m=r(21167),g=r(17389),y=r(20627),v=r(46748),b=r(9909),E=r(76824),D=r(12465),w=r(38943),x=r(22909),F=r(30073),S=r(59119),A=r(89781),k=r(13108),C=r(19163),P=r(98110),O=C("iterator"),j="URLSearchParams",T=j+"Iterator",_=d.set,B=d.getterFor(j),R=d.getterFor(T),I=Object.getOwnPropertyDescriptor,L=function(e){if(!s)return o[e];var t=I(o,e);return t&&t.value},M=L("fetch"),N=L("Request"),$=L("Headers"),U=N&&N.prototype,z=$&&$.prototype,H=o.RegExp,q=o.TypeError,V=o.decodeURIComponent,G=o.encodeURIComponent,W=a("".charAt),Q=a([].join),K=a([].push),Y=a("".replace),Z=a([].shift),J=a([].splice),X=a("".split),ee=a("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return V(e)}catch(t){return e}},ie=function(e){var t=Y(e,te," "),r=4;try{return V(t)}catch(e){for(;r;)t=Y(t,ne(r--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return se[e]},ce=function(e){return Y(G(e),ae,ue)},le=p((function(e,t){_(this,{type:T,iterator:S(B(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(D(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?ee(e,1):e:w(e)))};fe.prototype={type:j,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,s,u,c=A(e);if(c)for(r=(t=S(e,c)).next;!(n=i(r,t)).done;){if(a=(o=S(E(n.value))).next,(s=i(a,o)).done||(u=i(a,o)).done||!i(a,o).done)throw q("Expected sequence with length 2");K(this.entries,{key:w(s.value),value:w(u.value)})}else for(var l in e)y(e,l)&&K(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=X(e,"&"),o=0;o<n.length;)(t=n[o++]).length&&(r=X(t,"="),K(this.entries,{key:ie(Z(r)),value:ie(Q(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],K(r,ce(e.key)+"="+ce(e.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var he=function(){m(this,pe);var e=_(this,new fe(arguments.length>0?arguments[0]:void 0));s||(this.size=e.entries.length)},pe=he.prototype;if(f(pe,{append:function(e,t){var r=B(this);k(arguments.length,2),K(r.entries,{key:w(e),value:w(t)}),s||this.length++,r.updateURL()},delete:function(e){for(var t=B(this),r=k(arguments.length,1),n=t.entries,o=w(e),i=r<2?void 0:arguments[1],a=void 0===i?i:w(i),u=0;u<n.length;){var c=n[u];if(c.key!==o||void 0!==a&&c.value!==a)u++;else if(J(n,u,1),void 0!==a)break}s||(this.size=n.length),t.updateURL()},get:function(e){var t=B(this).entries;k(arguments.length,1);for(var r=w(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=B(this).entries;k(arguments.length,1);for(var r=w(e),n=[],o=0;o<t.length;o++)t[o].key===r&&K(n,t[o].value);return n},has:function(e){for(var t=B(this).entries,r=k(arguments.length,1),n=w(e),o=r<2?void 0:arguments[1],i=void 0===o?o:w(o),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var r=B(this);k(arguments.length,1);for(var n,o=r.entries,i=!1,a=w(e),u=w(t),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?J(o,c--,1):(i=!0,n.value=u));i||K(o,{key:a,value:u}),s||(this.size=o.length),r.updateURL()},sort:function(){var e=B(this);P(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=B(this).entries,n=v(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),c(pe,O,pe.entries,{name:"entries"}),c(pe,"toString",(function(){return B(this).serialize()}),{enumerable:!0}),s&&l(pe,"size",{get:function(){return B(this).entries.length},configurable:!0,enumerable:!0}),h(he,j),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:he}),!u&&g($)){var de=a(z.has),me=a(z.set),ge=function(e){if(D(e)){var t,r=e.body;if(b(r)===j)return t=e.headers?new $(e.headers):new $,de(t,"content-type")||me(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:F(0,w(r)),headers:F(0,t)})}return e};if(g(M)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return M(e,arguments.length>1?ge(arguments[1]):{})}}),g(N)){var ye=function(e){return m(this,U),new N(e,arguments.length>1?ge(arguments[1]):{})};U.constructor=ye,ye.prototype=U,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:he,getState:B}},7525:(e,t,r)=>{r(13122)},64167:(e,t,r)=>{"use strict";r(96853);var n,o=r(46367),i=r(12404),a=r(25047),s=r(92019),u=r(46748),c=r(80764),l=r(94519),f=r(21571),h=r(21167),p=r(20627),d=r(98340),m=r(76807),g=r(56765),y=r(34003).codeAt,v=r(85946),b=r(38943),E=r(99434),D=r(13108),w=r(13122),x=r(53292),F=x.set,S=x.getterFor("URL"),A=w.URLSearchParams,k=w.getState,C=s.URL,P=s.TypeError,O=s.parseInt,j=Math.floor,T=Math.pow,_=c("".charAt),B=c(/./.exec),R=c([].join),I=c(1..toString),L=c([].pop),M=c([].push),N=c("".replace),$=c([].shift),U=c("".split),z=c("".slice),H=c("".toLowerCase),q=c([].unshift),V="Invalid scheme",G="Invalid host",W="Invalid port",Q=/[a-z]/i,K=/[\d+-.a-z]/i,Y=/\d/,Z=/^0x/i,J=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)q(t,e%256),e=j(e/256);return R(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=I(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},se={},ue=d({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=d({},ue,{"#":1,"?":1,"{":1,"}":1}),le=d({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var r=y(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2==e.length&&B(Q,_(e,0))&&(":"==(r=_(e,1))||!t&&"|"==r)},de=function(e){var t;return e.length>1&&pe(z(e,0,2))&&(2==e.length||"/"===(t=_(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===H(e)},ge={},ye={},ve={},be={},Ee={},De={},we={},xe={},Fe={},Se={},Ae={},ke={},Ce={},Pe={},Oe={},je={},Te={},_e={},Be={},Re={},Ie={},Le=function(e,t,r){var n,o,i,a=b(e);if(t){if(o=this.parse(a))throw P(o);this.searchParams=null}else{if(void 0!==r&&(n=new Le(r,!0)),o=this.parse(a,null,n))throw P(o);(i=k(new A)).bindURL(this),this.searchParams=i}};Le.prototype={type:"URL",parse:function(e,t,r){var o,i,a,s,u,c=this,l=t||ge,f=0,h="",d=!1,y=!1,v=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=N(e,ne,""),e=N(e,oe,"$1")),e=N(e,ie,""),o=m(e);f<=o.length;){switch(i=o[f],l){case ge:if(!i||!B(Q,i)){if(t)return V;l=ve;continue}h+=H(i),l=ye;break;case ye:if(i&&(B(K,i)||"+"==i||"-"==i||"."==i))h+=H(i);else{if(":"!=i){if(t)return V;h="",l=ve,f=0;continue}if(t&&(c.isSpecial()!=p(he,h)||"file"==h&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=h,t)return void(c.isSpecial()&&he[c.scheme]==c.port&&(c.port=null));h="","file"==c.scheme?l=Pe:c.isSpecial()&&r&&r.scheme==c.scheme?l=be:c.isSpecial()?l=xe:"/"==o[f+1]?(l=Ee,f++):(c.cannotBeABaseURL=!0,M(c.path,""),l=Be)}break;case ve:if(!r||r.cannotBeABaseURL&&"#"!=i)return V;if(r.cannotBeABaseURL&&"#"==i){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Ie;break}l="file"==r.scheme?Pe:De;continue;case be:if("/"!=i||"/"!=o[f+1]){l=De;continue}l=Fe,f++;break;case Ee:if("/"==i){l=Se;break}l=_e;continue;case De:if(c.scheme=r.scheme,i==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query;else if("/"==i||"\\"==i&&c.isSpecial())l=we;else if("?"==i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",l=Re;else{if("#"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,l=_e;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",l=Ie}break;case we:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=_e;continue}l=Se}else l=Fe;break;case xe:if(l=Fe,"/"!=i||"/"!=_(h,f+1))continue;f++;break;case Fe:if("/"!=i&&"\\"!=i){l=Se;continue}break;case Se:if("@"==i){d&&(h="%40"+h),d=!0,a=m(h);for(var E=0;E<a.length;E++){var D=a[E];if(":"!=D||v){var w=fe(D,le);v?c.password+=w:c.username+=w}else v=!0}h=""}else if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(d&&""==h)return"Invalid authority";f-=m(h).length+1,h="",l=Ae}else h+=i;break;case Ae:case ke:if(t&&"file"==c.scheme){l=je;continue}if(":"!=i||y){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==h)return G;if(t&&""==h&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(h))return s;if(h="",l=Te,t)return;continue}"["==i?y=!0:"]"==i&&(y=!1),h+=i}else{if(""==h)return G;if(s=c.parseHost(h))return s;if(h="",l=Ce,t==ke)return}break;case Ce:if(!B(Y,i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=h){var x=O(h,10);if(x>65535)return W;c.port=c.isSpecial()&&x===he[c.scheme]?null:x,h=""}if(t)return;l=Te;continue}return W}h+=i;break;case Pe:if(c.scheme="file","/"==i||"\\"==i)l=Oe;else{if(!r||"file"!=r.scheme){l=_e;continue}if(i==n)c.host=r.host,c.path=g(r.path),c.query=r.query;else if("?"==i)c.host=r.host,c.path=g(r.path),c.query="",l=Re;else{if("#"!=i){de(R(g(o,f),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),l=_e;continue}c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",l=Ie}}break;case Oe:if("/"==i||"\\"==i){l=je;break}r&&"file"==r.scheme&&!de(R(g(o,f),""))&&(pe(r.path[0],!0)?M(c.path,r.path[0]):c.host=r.host),l=_e;continue;case je:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&pe(h))l=_e;else if(""==h){if(c.host="",t)return;l=Te}else{if(s=c.parseHost(h))return s;if("localhost"==c.host&&(c.host=""),t)return;h="",l=Te}continue}h+=i;break;case Te:if(c.isSpecial()){if(l=_e,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=n&&(l=_e,"/"!=i))continue}else c.fragment="",l=Ie;else c.query="",l=Re;break;case _e:if(i==n||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(u=H(u=h))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||M(c.path,"")):me(h)?"/"==i||"\\"==i&&c.isSpecial()||M(c.path,""):("file"==c.scheme&&!c.path.length&&pe(h)&&(c.host&&(c.host=""),h=_(h,0)+":"),M(c.path,h)),h="","file"==c.scheme&&(i==n||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)$(c.path);"?"==i?(c.query="",l=Re):"#"==i&&(c.fragment="",l=Ie)}else h+=fe(i,ce);break;case Be:"?"==i?(c.query="",l=Re):"#"==i?(c.fragment="",l=Ie):i!=n&&(c.path[0]+=fe(i,se));break;case Re:t||"#"!=i?i!=n&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":fe(i,se)):(c.fragment="",l=Ie);break;case Ie:i!=n&&(c.fragment+=fe(i,ue))}f++}},parseHost:function(e){var t,r,n;if("["==_(e,0)){if("]"!=_(e,e.length-1))return G;if(t=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return _(e,f)};if(":"==h()){if(":"!=_(e,1))return;f+=2,l=++c}for(;h();){if(8==c)return;if(":"!=h()){for(t=r=0;r<4&&B(ee,h());)t=16*t+O(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;f++}if(!B(Y,h()))return;for(;B(Y,h());){if(i=O(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u}(z(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=v(e),B(te,e))return G;if(t=function(e){var t,r,n,o,i,a,s,u=U(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=u[n]))return e;if(i=10,o.length>1&&"0"==_(o,0)&&(i=B(Z,o)?16:8,o=z(o,8==i?1:2)),""===o)a=0;else{if(!B(10==i?X:8==i?J:ee,o))return e;a=O(o,i)}M(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(s=L(r),n=0;n<r.length;n++)s+=r[n]*T(256,3-n);return s}(e),null===t)return G;this.host=t}else{if(B(re,e))return G;for(t="",r=m(e),n=0;n<r.length;n++)t+=fe(r[n],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(he,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ae(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+R(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Me(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=fe(t[r],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=fe(t[r],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+R(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==_(e,0)&&(e=z(e,1)),this.query="",this.parse(e,Re)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==_(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,Ie)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Me=function(e){var t=h(this,Ne),r=D(arguments.length,1)>1?arguments[1]:void 0,n=F(t,new Le(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ne=Me.prototype,$e=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ne,"href",$e("serialize","setHref")),f(Ne,"origin",$e("getOrigin")),f(Ne,"protocol",$e("getProtocol","setProtocol")),f(Ne,"username",$e("getUsername","setUsername")),f(Ne,"password",$e("getPassword","setPassword")),f(Ne,"host",$e("getHost","setHost")),f(Ne,"hostname",$e("getHostname","setHostname")),f(Ne,"port",$e("getPort","setPort")),f(Ne,"pathname",$e("getPathname","setPathname")),f(Ne,"search",$e("getSearch","setSearch")),f(Ne,"searchParams",$e("getSearchParams")),f(Ne,"hash",$e("getHash","setHash"))),l(Ne,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),C){var Ue=C.createObjectURL,ze=C.revokeObjectURL;Ue&&l(Me,"createObjectURL",u(Ue,C)),ze&&l(Me,"revokeObjectURL",u(ze,C))}E(Me,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Me})},66164:(e,t,r)=>{r(64167)},9874:function(e,t,r){var n;e.exports=(n=r(28165),r(46454),r(3003),r(92746),r(33973),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],u=[],c=[],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,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,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]:(c=i[a-1],a%r?r>6&&a%r==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=d[a/r|0]<<24),i[a]=i[a-r]^c);for(var s=this._invKeySchedule=[],u=0;u<n;u++){if(a=n-u,u%4)var c=i[a];else c=i[a-4];s[u]=u<4||a<=4?c:l[o[c>>>24]]^f[o[c>>>16&255]]^h[o[c>>>8&255]]^p[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,c,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 u=this._nRounds,c=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<u;d++){var m=n[c>>>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&c]^r[p++],y=n[f>>>24]^o[h>>>16&255]^i[c>>>8&255]^a[255&l]^r[p++],v=n[h>>>24]^o[c>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++];c=m,l=g,f=y,h=v}m=(s[c>>>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&c])^r[p++],y=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&l])^r[p++],v=(s[h>>>24]<<24|s[c>>>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)},33973:function(e,t,r){var n;e.exports=(n=r(28165),r(92746),void(n.lib.Cipher||function(e){var t=n,r=t.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,u=(s.Utf8,s.Base64),c=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 u=i.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: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(u)},parse:function(e){var t,r=u.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=c.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)}})}()))},28165: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(26089)}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={},u=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)}},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,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=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(o());return new c.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 c.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 c.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=u.extend({reset:function(){this._data=new c.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),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,i);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(o,f);r=o.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)},46454:function(e,t,r){var n;e.exports=(n=r(28165),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 u=n.charAt(64);if(u)for(;o.length%4;)o.push(u);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)},22776:function(e,t,r){var n;e.exports=(n=r(28165),n.enc.Utf8)},92746:function(e,t,r){var n,o,i,a,s,u,c,l;e.exports=(l=r(28165),r(35310),r(16645),o=(n=l).lib,i=o.Base,a=o.WordArray,s=n.algo,u=s.MD5,c=s.EvpKDF=i.extend({cfg:i.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,o=n.hasher.create(),i=a.create(),s=i.words,u=n.keySize,c=n.iterations;s.length<u;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var l=1;l<c;l++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*u,i}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},l.EvpKDF)},16645:function(e,t,r){var n,o,i,a;e.exports=(n=r(28165),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,u=i.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=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))}})))},3003:function(e,t,r){var n;e.exports=(n=r(28165),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 u=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],u=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],D=e[t+10],w=e[t+11],x=e[t+12],F=e[t+13],S=e[t+14],A=e[t+15],k=i[0],C=i[1],P=i[2],O=i[3];k=c(k,C,P,O,a,7,s[0]),O=c(O,k,C,P,u,12,s[1]),P=c(P,O,k,C,p,17,s[2]),C=c(C,P,O,k,d,22,s[3]),k=c(k,C,P,O,m,7,s[4]),O=c(O,k,C,P,g,12,s[5]),P=c(P,O,k,C,y,17,s[6]),C=c(C,P,O,k,v,22,s[7]),k=c(k,C,P,O,b,7,s[8]),O=c(O,k,C,P,E,12,s[9]),P=c(P,O,k,C,D,17,s[10]),C=c(C,P,O,k,w,22,s[11]),k=c(k,C,P,O,x,7,s[12]),O=c(O,k,C,P,F,12,s[13]),P=c(P,O,k,C,S,17,s[14]),k=l(k,C=c(C,P,O,k,A,22,s[15]),P,O,u,5,s[16]),O=l(O,k,C,P,y,9,s[17]),P=l(P,O,k,C,w,14,s[18]),C=l(C,P,O,k,a,20,s[19]),k=l(k,C,P,O,g,5,s[20]),O=l(O,k,C,P,D,9,s[21]),P=l(P,O,k,C,A,14,s[22]),C=l(C,P,O,k,m,20,s[23]),k=l(k,C,P,O,E,5,s[24]),O=l(O,k,C,P,S,9,s[25]),P=l(P,O,k,C,d,14,s[26]),C=l(C,P,O,k,b,20,s[27]),k=l(k,C,P,O,F,5,s[28]),O=l(O,k,C,P,p,9,s[29]),P=l(P,O,k,C,v,14,s[30]),k=f(k,C=l(C,P,O,k,x,20,s[31]),P,O,g,4,s[32]),O=f(O,k,C,P,b,11,s[33]),P=f(P,O,k,C,w,16,s[34]),C=f(C,P,O,k,S,23,s[35]),k=f(k,C,P,O,u,4,s[36]),O=f(O,k,C,P,m,11,s[37]),P=f(P,O,k,C,v,16,s[38]),C=f(C,P,O,k,D,23,s[39]),k=f(k,C,P,O,F,4,s[40]),O=f(O,k,C,P,a,11,s[41]),P=f(P,O,k,C,d,16,s[42]),C=f(C,P,O,k,y,23,s[43]),k=f(k,C,P,O,E,4,s[44]),O=f(O,k,C,P,x,11,s[45]),P=f(P,O,k,C,A,16,s[46]),k=h(k,C=f(C,P,O,k,p,23,s[47]),P,O,a,6,s[48]),O=h(O,k,C,P,v,10,s[49]),P=h(P,O,k,C,S,15,s[50]),C=h(C,P,O,k,g,21,s[51]),k=h(k,C,P,O,x,6,s[52]),O=h(O,k,C,P,d,10,s[53]),P=h(P,O,k,C,D,15,s[54]),C=h(C,P,O,k,u,21,s[55]),k=h(k,C,P,O,b,6,s[56]),O=h(O,k,C,P,A,10,s[57]),P=h(P,O,k,C,y,15,s[58]),C=h(C,P,O,k,F,21,s[59]),k=h(k,C,P,O,m,6,s[60]),O=h(O,k,C,P,w,10,s[61]),P=h(P,O,k,C,p,15,s[62]),C=h(C,P,O,k,E,21,s[63]),i[0]=i[0]+k|0,i[1]=i[1]+C|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,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=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(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(u),t.HmacMD5=i._createHmacHelper(u)}(Math),n.MD5)},35310:function(e,t,r){var n,o,i,a,s,u,c,l;e.exports=(l=r(28165),o=(n=l).lib,i=o.WordArray,a=o.Hasher,s=n.algo,u=[],c=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],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+(o&i|~o&a):c<40?1859775393+(o^i^a):c<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(c),n.HmacSHA1=a._createHmacHelper(c),l.SHA1)},47354:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",u="week",c="month",l="quarter",f="year",h="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,c),i=r-o<0,a=t.clone().add(n+(i?-1:1),c);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:u,d:s,D:h,h:a,m:i,s:o,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",E={};E[b]=g;var D=function(e){return e instanceof S},w=function e(t,r,n){var o;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();E[i]&&(o=i),r&&(E[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;E[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},x=function(e,t){if(D(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new S(r)},F=v;F.l=w,F.i=D,F.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function g(e){this.$L=w(e.locale,null,!0),this.parse(e)}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(F.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return F},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return x(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<x(e)},y.$g=function(e,t,r){return F.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!F.u(t)||t,l=F.p(e),p=function(e,t){var o=F.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?o:o.endOf(s)},d=function(e,t){return F.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case f:return n?p(1,0):p(31,11);case c:return n?p(1,g):p(0,g+1);case u:var b=this.$locale().weekStart||0,E=(m<b?m+7:m)-b;return p(n?y-E:y+(6-E),g);case s:case h:return d(v+"Hours",0);case a:return d(v+"Minutes",1);case i:return d(v+"Seconds",2);case o:return d(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,u=F.p(e),l="set"+(this.$u?"UTC":""),p=(r={},r[s]=l+"Date",r[h]=l+"Date",r[c]=l+"Month",r[f]=l+"FullYear",r[a]=l+"Hours",r[i]=l+"Minutes",r[o]=l+"Seconds",r[n]=l+"Milliseconds",r)[u],d=u===s?this.$D+(t-this.$W):t;if(u===c||u===f){var m=this.clone().set(h,1);m.$d[p](d),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[F.p(e)]()},y.add=function(n,l){var h,p=this;n=Number(n);var d=F.p(l),m=function(e){var t=x(p);return F.w(t.date(t.date()+Math.round(e*n)),p)};if(d===c)return this.set(c,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===s)return m(1);if(d===u)return m(7);var g=(h={},h[i]=t,h[a]=r,h[o]=e,h)[d]||1,y=this.$d.getTime()+n*g;return F.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||p;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=F.z(this),i=this.$H,a=this.$m,s=this.$M,u=r.weekdays,c=r.months,l=function(e,r,o,i){return e&&(e[r]||e(t,n))||o[r].slice(0,i)},f=function(e){return F.s(i%12||12,e,"0")},h=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},d={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:F.s(s+1,2,"0"),MMM:l(r.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:F.s(this.$D,2,"0"),d:String(this.$W),dd:l(r.weekdaysMin,this.$W,u,2),ddd:l(r.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:F.s(i,2,"0"),h:f(1),hh:f(2),a:h(i,a,!0),A:h(i,a,!1),m:String(a),mm:F.s(a,2,"0"),s:String(this.$s),ss:F.s(this.$s,2,"0"),SSS:F.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(e,t){return t||d[e]||o.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,h,p){var d,m=F.p(h),g=x(n),y=(g.utcOffset()-this.utcOffset())*t,v=this-g,b=F.m(this,g);return b=(d={},d[f]=b/12,d[c]=b,d[l]=b/3,d[u]=(v-y)/6048e5,d[s]=(v-y)/864e5,d[a]=v/r,d[i]=v/t,d[o]=v/e,d)[m]||v,p?b:F.a(b)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return E[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return F.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),A=S.prototype;return x.prototype=A,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",f],["$D",h]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,S,x),e.$i=!0),x},x.locale=w,x.isDayjs=D,x.unix=function(e){return x(1e3*e)},x.en=E[b],x.Ls=E,x.p={},x}()},82386:function(e){e.exports=function(){"use strict";return function(e,t,r){e=e||{};var n=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,r,o){return n.fromToBase(e,t,r,o)}r.en.relativeTime=o,n.fromToBase=function(t,n,i,a,s){for(var u,c,l,f=i.$locale().relativeTime||o,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=h.length,d=0;d<p;d+=1){var m=h[d];m.d&&(u=a?r(t).diff(i,m.d,!0):i.diff(t,m.d,!0));var g=(e.rounding||Math.round)(Math.abs(u));if(l=u>0,g<=m.r||!m.r){g<=1&&d>0&&(m=h[d-1]);var y=f[m.l];s&&(g=s(""+g)),c="string"==typeof y?y.replace("%d",g):y(g,n,m.l,l);break}}if(n)return c;var v=l?f.future:f.past;return"function"==typeof v?v(c):v.replace("%s",c)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}()},26018: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 u=a[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},25416:(e,t,r)=>{"use strict";var n=r(38315),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=r(28030)(),c=s&&u,l=function(e,t,r,n){if(t in e)if(!0===n){if(e[t]===r)return}else if("function"!=typeof(o=n)||"[object Function]"!==i.call(o)||!n())return;var o;c?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=!!c,e.exports=f},37593: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 u=i[a],c=Object.getOwnPropertyDescriptor(o,u);void 0!==c&&c.enumerable&&(r[u]=o[u])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},24740: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},u=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,c,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=u(f,r),f!==(o=u(t,r))&&(d&&o&&(a(o)||(c=i(o)))?(c?(c=!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}},95490: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}},46128: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,u=Object.keys(t).sort(o&&o(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 i.splice(s,1),"{"+a+"}"}}(e)}},95739: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}},6862:(e,t,r)=>{"use strict";var n=r(20387),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)},u=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):u(e,t,i)}},98544:e=>{!function(){var t;function r(e){for(var t,r,n,o,i=1,a=[].slice.call(arguments),s=0,u=e.length,c="",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<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,o=p(),t){case"b":c+=parseInt(h(),10).toString(2);break;case"c":c+="string"==typeof(r=h())||r instanceof String?r:String.fromCharCode(parseInt(r,10));break;case"d":c+=parseInt(h(),10);break;case"f":n=String(parseFloat(h()).toFixed(o||6)),c+=f?n:n.replace(/^0/,"");break;case"j":c+=JSON.stringify(h());break;case"o":c+="0"+parseInt(h(),10).toString(8);break;case"s":c+=h();break;case"x":c+="0x"+parseInt(h(),10).toString(16);break;case"X":c+="0x"+parseInt(h(),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))})}()},6574: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),u=Math.max(0,i.length-s.length),c=[],l=0;l<u;l++)c.push("$"+l);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((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)))})),i.prototype){var f=function(){};f.prototype=i.prototype,a.prototype=new f,f.prototype=null}return a}},4148:(e,t,r)=>{"use strict";var n=r(6574);e.exports=Function.prototype.bind||n},38514:(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){}},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(22499)(),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,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%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};try{null.error}catch(e){var g=h(h(e));m["%Error.prototype%"]=g}var y=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},v={"%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"]},b=r(4148),E=r(43494),D=b.call(Function.call,Array.prototype.concat),w=b.call(Function.apply,Array.prototype.splice),x=b.call(Function.call,String.prototype.replace),F=b.call(Function.call,String.prototype.slice),S=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,C=function(e){var t=F(e,0,1),r=F(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,A,(function(e,t,r,o){n[n.length]=r?x(o,k,"$1"):t||e})),n},P=function(e,t){var r,n=e;if(E(v,n)&&(n="%"+(r=v[n])[0]+"%"),E(m,n)){var i=m[n];if(i===p&&(i=y(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===S(/^%?[^%]*%?$/,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=P("%"+n+"%",t),s=i.name,c=i.value,l=!1,f=i.alias;f&&(n=f[0],w(r,D([0,1],f)));for(var h=1,p=!0;h<r.length;h+=1){var d=r[h],g=F(d,0,1),y=F(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),E(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&&h+1>=r.length){var v=u(c,d);c=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[d]}else p=E(c,d),c=c[d];p&&!l&&(m[s]=c)}}return c}},93074:(e,t,r)=>{const n=r(99495);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},99495: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\u08C8-\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-\u0B54\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\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\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\u1AC1-\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\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\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\uAB6A-\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-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\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\uDC62-\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\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\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-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\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\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\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]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},49662:(e,t,r)=>{"use strict";var n=r(38514)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},28030:(e,t,r)=>{"use strict";var n=r(38514)("%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},22499:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(82171);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},82171: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}},3825:(e,t,r)=>{"use strict";var n=r(82171);e.exports=function(){return n()&&!!Symbol.toStringTag}},43494:(e,t,r)=>{"use strict";var n=r(4148);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},22827:(e,t,r)=>{"use strict";r.d(t,{Ep:()=>d,PP:()=>c,lX:()=>u});var n,o=r(45675);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));var i=function(e){return e};var a="beforeunload",s="popstate";function u(e){void 0===e&&(e={});var t=e.window,r=void 0===t?document.defaultView:t,u=r.history;function c(){var e=r.location,t=e.pathname,n=e.search,o=e.hash,a=u.state||{};return[a.idx,i({pathname:t,search:n,hash:o,state:a.usr||null,key:a.key||"default"})]}var l=null;r.addEventListener(s,(function(){if(l)D.call(l),l=null;else{var e=n.Pop,t=c(),r=t[0],o=t[1];if(D.length){if(null!=r){var i=v-r;i&&(l={action:e,location:o,retry:function(){k(-1*i)}},k(i))}}else A(e)}}));var g=n.Pop,y=c(),v=y[0],b=y[1],E=h(),D=h();function w(e){return"string"==typeof e?e:d(e)}function x(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:b.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function F(e,t){return[{usr:e.state,key:e.key,idx:t},w(e)]}function S(e,t,r){return!D.length||(D.call({action:e,location:t,retry:r}),!1)}function A(e){g=e;var t=c();v=t[0],b=t[1],E.call({action:g,location:b})}function k(e){u.go(e)}null==v&&(v=0,u.replaceState((0,o.Z)({},u.state,{idx:v}),""));var C={get action(){return g},get location(){return b},createHref:w,push:function e(t,o){var i=n.Push,a=x(t,o);if(S(i,a,(function(){e(t,o)}))){var s=F(a,v+1),c=s[0],l=s[1];try{u.pushState(c,"",l)}catch(e){r.location.assign(l)}A(i)}},replace:function e(t,r){var o=n.Replace,i=x(t,r);if(S(o,i,(function(){e(t,r)}))){var a=F(i,v),s=a[0],c=a[1];u.replaceState(s,"",c),A(o)}},go:k,back:function(){k(-1)},forward:function(){k(1)},listen:function(e){return E.push(e)},block:function(e){var t=D.push(e);return 1===D.length&&r.addEventListener(a,f),function(){t(),D.length||r.removeEventListener(a,f)}}};return C}function c(e){void 0===e&&(e={});var t=e,r=t.initialEntries,a=void 0===r?["/"]:r,s=t.initialIndex,u=a.map((function(e){return i((0,o.Z)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"==typeof e?m(e):e))})),c=l(null==s?u.length-1:s,0,u.length-1),f=n.Pop,g=u[c],y=h(),v=h();function b(e,t){return void 0===t&&(t=null),i((0,o.Z)({pathname:g.pathname,search:"",hash:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function E(e,t,r){return!v.length||(v.call({action:e,location:t,retry:r}),!1)}function D(e,t){f=e,g=t,y.call({action:f,location:g})}function w(e){var t=l(c+e,0,u.length-1),r=n.Pop,o=u[t];E(r,o,(function(){w(e)}))&&(c=t,D(r,o))}var x={get index(){return c},get action(){return f},get location(){return g},createHref:function(e){return"string"==typeof e?e:d(e)},push:function e(t,r){var o=n.Push,i=b(t,r);E(o,i,(function(){e(t,r)}))&&(c+=1,u.splice(c,u.length,i),D(o,i))},replace:function e(t,r){var o=n.Replace,i=b(t,r);E(o,i,(function(){e(t,r)}))&&(u[c]=i,D(o,i))},go:w,back:function(){w(-1)},forward:function(){w(1)},listen:function(e){return y.push(e)},block:function(e){return v.push(e)}};return x}function l(e,t,r){return Math.min(Math.max(e,t),r)}function f(e){e.preventDefault(),e.returnValue=""}function h(){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 p(){return Math.random().toString(36).substr(2,8)}function d(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 m(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}},26095:(e,t,r)=>{"use strict";var n=r(65566),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 u(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 c=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=u(t),m=u(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{c(t,y,v)}catch(e){}}}}return t}},35110:(e,t,r)=>{"use strict";e.exports=r(6614)},89118: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}}},7974:(e,t,r)=>{"use strict";var n=r(3825)(),o=r(57372)("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},89161:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},38165:e=>{
|
|
374
374
|
/*!
|
|
375
375
|
* Determine if an object is a Buffer
|
|
376
376
|
*
|
|
@@ -409,5 +409,5 @@ object-assign
|
|
|
409
409
|
* LICENSE file in the root directory of this source tree.
|
|
410
410
|
*/var n=r(87363),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},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)a.call(t,n)&&!u.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:c,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},35250:(e,t,r)=>{"use strict";e.exports=r(82875)},54426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>i,detach:()=>a,getConfig:()=>f,shouldRetryRequest:()=>l});var n=r(87233),o=r.n(n);function i(e){return(e=e||o()).interceptors.response.use(s,c)}function a(e,t){(t=t||o()).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(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=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 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}},35218: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),u=0;u<i.length;u++){var c=i[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(o=r?r.call(n,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},5458:(e,t,r)=>{"use strict";var n=r(89161),o=Array.prototype.concat,i=Array.prototype.slice,a=e.exports=function(e){for(var t=[],r=0,a=e.length;r<a;r++){var s=e[r];n(s)?t=o.call(t,i.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},68882: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)]}},43602:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},85648:function(e,t){
|
|
411
411
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
412
|
-
!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="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=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),D=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),w=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([y,v,b,E,D,w,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),B=r(r(h+"@")+"?"+T+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(R+"*"),L=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),U=r(M+N),z=r(L+N),H="(?!"+R+")",q=(r(N+"|"+$+"|"+U+"|"+z+"|"+H),r(r(R+"|"+t("[\\/\\?]",c))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+B+N)+"|"+$+"|"+z+"|"+H),W=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+B+N)+"|"+$+"|"+U+"|"+H),K=r(Q+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+U+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+h+")@"),r("\\:("+_+")"),{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,"[\\:\\@\\/\\?]",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("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=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="-",D=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=p-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[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(x,".")).split("."),t).join(".")}function j(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 T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:p},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},B=function(e,t,r){var n=0;for(e=r?A(e/y):e>>1,e+=A(e/t);e>S*m>>1;n+=p)e=A(e/S);return A(n+(S+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&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=p;;f+=p){u>=r&&C("invalid-input");var g=T(e.charCodeAt(u++));(g>=p||g>A((h-n)/l))&&C("overflow"),n+=g*l;var y=f<=i?d:f>=i+m?m:f-i;if(g<y)break;var D=p-y;l>A(h/D)&&C("overflow"),l*=D}var w=t.length+1;i=B(n-c,w,0==c),A(n/w)>h-o&&C("overflow"),o+=A(n/w),n%=w,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=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(k(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 D=h,w=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(w=(S=P.next()).done);w=!0){var O=S.value;O>=n&&O<D&&(D=O)}}catch(e){x=!0,F=e}finally{try{!w&&P.return&&P.return()}finally{if(x)throw F}}var T=y+1;D-n>A((h-o)/T)&&C("overflow"),o+=(D-n)*T,n=D;var R=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(R=(M=N.next()).done);R=!0){var $=M.value;if($<n&&++o>h&&C("overflow"),$==n){for(var U=o,z=p;;z+=p){var H=z<=i?d:z>=i+m?m:z-i;if(U<H)break;var q=U-H,V=p-H;t.push(k(_(H+q%V,0))),U=A(q/V)}t.push(k(_(U,0))),i=B(o,T,y==g),o=0,++y}}}catch(e){I=!0,L=e}finally{try{!R&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return D.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return w.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:I,toASCII:M,toUnicode:L},$={};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 z(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 H(e,t){function r(e){var r=z(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,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).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,U).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).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),u=s[0],c=s[1],f=c?c.split(":").map(q):[],h=u.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),D=g.slice(v.index+v.length);b=E.join(":")+"::"+D.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?c:u;"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=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(r,u)}i&&i.parse&&i.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(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 Z=/^\.\.?\//,J=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Z))e=e.replace(Z,"");else if(e.match(J))e=e.replace(J,"/");else if(e.match(X))e=e.replace(X,"/"),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=[],o=$[(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?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}H(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Y(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?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}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 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="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",De=new RegExp(me,"g"),we=new RegExp(ye,"g"),xe=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,Ee),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(De)?t:e}var ke={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,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,h=l.length;f<h;++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:o=!0,i[ue(c[0],t)]=ue(c[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]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.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[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 u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(we,Ae).replace(we,o).replace(xe,U),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.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 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(we,Ae).replace(we,o).replace(Fe,U)+"="+h[d].replace(we,Ae).replace(we,o).replace(Se,U));return p.length&&(r.query=p.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,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,o=r+":"+(t.nid||n),i=$[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}$/,je={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}};$[ce.scheme]=ce,$[le.scheme]=le,$[he.scheme]=he,$[pe.scheme]=pe,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=U,e.pctDecChars=z,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=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);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]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),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(54415);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("#")?"?":"#",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 D=a.exec(b);if(D){var w=(D=D[0]).toLowerCase();this.protocol=w,b=b.substr(D.length)}if(r||D||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||D&&g[D]||(b=b.substr(2),this.slashes=!0)}if(!g[D]&&(x||D&&!y[D])){for(var F,S,A=-1,k=0;k<h.length;k++){-1!==(C=b.indexOf(h[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),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(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(p)){for(var _="",B=0,R=T.length;B<R;B++)T.charCodeAt(B)>127?_+="x":_+=T[B];if(!_.match(p)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[w])for(k=0,j=l.length;k<j;k++){var U=l[k];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));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[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+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 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),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),D=E||b||r.host&&e.pathname,w=D,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.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),D=D&&(""===d[0]||""===x[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,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.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(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!D&&!w)for(;k--;k)x.unshift("..");!D||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(D=D||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.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)}},54783: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}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);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),h=s(String.prototype.valueOf),p=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 D(e){return"[object ArrayBuffer]"===l(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(D.working?D(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(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)||F(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)},D.working="undefined"!=typeof ArrayBuffer&&D(new ArrayBuffer),t.isArrayBuffer=w,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return g(e,f)}function P(e){return g(e,h)}function O(e){return g(e,p)}function j(e){return u&&g(e,d)}function T(e){return c&&g(e,m)}t.isSharedArrayBuffer=k,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=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),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(c(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)||!w(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 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 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),h(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 h(e,r,n){if(e.customInspect&&r&&S(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)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(D(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return p(r)}var c,l="",f=!1,w=["{","}"];(m(r)&&(f=!0,w=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return D(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?D(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(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){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,w)):w[0]+l+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(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.slice(1,-1),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 D(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===A(e)}function F(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(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(42406),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=D,t.types.isRegExp=D,t.isObject=w,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,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(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="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(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{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)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,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}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),h={},p=Object.getPrototypeOf;u&&a&&p&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=p(t),n=a(r,Symbol.toStringTag);if(!n){var o=p(r);n=a(o,Symbol.toStringTag)}h[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(h,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=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},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function g(){}function y(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,E=b&&b(b(P([])));E&&E!==r&&i.call(E,u)&&(v=E);var D=y.prototype=m.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,a(D,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=f(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,l,"GeneratorFunction")),e.prototype=Object.create(D),e},t.awrap=function(e){return{__await:e}},w(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(h(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(D),f(D,l,"Generator"),f(D,u,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(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}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(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})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);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}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(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)}r.d(t,{Z:()=>n})},36365:(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)}},56065:(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){var t;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 r===Object||"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[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 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.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 $&&e instanceof Map}function p(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[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 M}function D(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){x(e),e.p.forEach(S),e.p=null}function x(e){e===M&&(M=e.l)}function F(e){return M={p:[],l:M,h:e,m:!0,_:0}}function S(e){var t=e[V];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,o),o?(r[V].P&&(w(t),n(4)),i(e)&&(e=k(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[V].t,e,t.u,t.s)):e=k(t,r,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,r){if(v(t))return t;var n=t[V];if(!n)return a(t,(function(o,i){return C(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,i=o,s=!1;3===n.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return C(e,n,o,t,i,r,s)})),P(e,o,!1),r&&e.u&&b("Patches").N(n,r,e.u,e.s)}return n.o}function C(e,t,r,n,a,s,c){if(o(a)){var f=k(e,a,s&&t&&3!==t.i&&!u(t.R,n)?s.concat(n):void 0);if(l(r,n,f),!o(f))return;e.m=!1}else c&&r.add(a);if(i(a)&&!v(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&g(t,r)}function O(e,t){var r=e[V];return(r?d(r):e)[t]}function j(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 T(e){e.P||(e.P=!0,e.l&&T(e.l))}function _(e){e.o||(e.o=m(e.t))}function B(e,t,r){var n=h(t)?b("MapSet").F(t,r):p(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Y;r&&(o=[n],i=Z);var a=Proxy.revocable(o,i),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 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=I(t,o),n.I=!1}else r=I(t,o);return a(r,(function(t,o){n&&c(n.t,t)===o||l(r,t,e(o))})),3===o?new Set(r):r}(e)}function I(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,M,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),$="undefined"!=typeof Map,U="undefined"!=typeof Set,z="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),q=N?Symbol.for("immer-draftable"):"__$immer_draftable",V=N?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===V)return e;var r=d(e);if(!u(r,t))return function(e,t,r){var n,o=j(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)?(_(e),e.o[t]=B(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=j(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.R[t]=!1,!0;if(f(r,o)&&(void 0!==r||u(e.t,t)))return!0;_(e),T(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,_(e),T(e)):delete e.R[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)}},Z={};a(Y,(function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Z.deleteProperty=function(e,t){return Z.set.call(this,e,t,void 0)},Z.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var J=function(){function e(e){var t=this;this.g=z,this.D=!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 u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var c=F(t),l=B(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?w(c):x(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return D(c,o),A(e,c)}),(function(e){throw w(c),e})):(D(c,o),A(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===H&&(u=void 0),t.D&&g(u,!0),o){var h=[],p=[];b("Patches").M(e,u,h,p),o(h,p)}return u}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return 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))}))};var n,o,i=t.produce(e,r,(function(e,t){n=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,n,o]})):[i,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=F(this),r=B(this,e,void 0);return r[V].C=!0,x(t),r},t.finishDraft=function(e,t){var r=(e&&e[V]).A;return D(r,t),A(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!z&&n(20),this.g=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}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new J,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X));X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X)},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(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=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let h=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(h)&&(h="&#x"+h.charCodeAt(0).toString(16).toUpperCase()+";"+h.slice(1)),h=h?c+" "+h:c,r.options.closeAtx&&(h+=" "+c),f(),l(),h}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(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})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);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"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(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||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(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:()=>u.u,codeFenced:()=>c._,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:()=>D.g,list:()=>w.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),h=r(52240),p=r(22774),d=r(2669),m=r(86053),g=r(26890),y=r(9373),v=r(3369),b=r(82287),E=r(83555),D=r(47071),w=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);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(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),h=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!h)),c._close=Boolean(42===a?h:h&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,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),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[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({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[p][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",o,t],["enter",u,t],["exit",u,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",c,t],["exit",c,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}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);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)?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))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),p(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),o=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),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}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);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}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);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")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);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)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=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=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(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.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)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);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,u,"whitespace")(t))}function u(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},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,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,c?(0,n.factorySpace)(e,v,"linePrefix",c+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}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);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?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.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 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}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);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"),u(t))}function u(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"),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),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(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}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);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}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);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,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,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,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,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);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)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);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):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.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,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(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}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);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(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,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:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!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:M):r(o)}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&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.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?D(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):C(t)}function D(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),w):(0,n.markdownSpace)(t)?(e.consume(t),D):C(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),w):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):D(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(h=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===h?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?D(e):r(e)}function C(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),B):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(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 B(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(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}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=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),F):63===t?(e.consume(t),w):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,o.asciiAlpha)(t)?(e.consume(t),D):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)?(c=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(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,o.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?L(t):93===t?(e.consume(t),E):v(t)}function D(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=D,R(t)):(e.consume(t),D)}function w(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(e){return 62===e?L(e):w(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):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),j):(0,o.markdownLineEnding)(t)?(c=O,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,B)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,R(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function B(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),B)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);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?u(t):(i=n.parser.defined.includes((0,c.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:u)(r):91===r?e.attempt(p,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(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 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[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",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",h,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.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,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(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,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,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)}}}},82287:(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(3369).Z.resolveAll}},83555:(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(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);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")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);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 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(u,m,d))}function p(e){return n.containerState.initialBlankLine=!0,c++,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=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(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,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(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)}},u={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},c={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}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][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,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,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}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);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(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||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(u),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(u),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(u),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(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),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)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=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&&!u||94===h&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>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)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);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))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),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(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):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===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?h:f)}function h(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);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)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,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(/[!-/:-@[-`{-~]/),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 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))}}},11707:(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})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);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)}},92791:(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})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);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}},37618:(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})},79142:(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})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,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,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),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}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),u=s.events,c=[],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<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[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=u.slice(y[p],y[p+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(p=-1;++p<c.length;)l[m+c[p][0]]=m+c[p][1],m+=c[p][1]-c[p][0]-1;return l}},55975:(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}},8449:(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}},15472:(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"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(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}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);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.Vn)(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.Vn)(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)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,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=c,D(t)):46===t?(v=l,D(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,E)(t):T(t)}function D(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),w}function w(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),x)}function x(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(u),E(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(h),e.consume(t),e.exit(h),A):(e.exit(u),E(t))}function A(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,C):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,k)}function k(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(u),E(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(p),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(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 j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?E(e):T(e)}function T(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 u,c=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:u});return u&&(u.next=r),u=r,p(t)}function p(t){return null===t||c>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),c++,p):p(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(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 c={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 c,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"),u.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"),D(r))}function D(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,w,"linePrefix",s+1):w)(t)}function w(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(h,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(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"),u.call(i,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,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"),u.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 D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||D(e)}var F=r(36365);const S=String.fromCharCode,A=["","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 k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,h=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){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){u+=S(c),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="",A="",k="";const P="named"===s?x:"decimal"===s?D:w;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(v=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,F.T)(k);e&&(v=k,A=e)}let j=1+y-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(v!==k&&(y=l+v.length,j=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,j),T=S(65533);else if(e in E)m(6,j),T=E[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){g(),h=d(),a=y-1,f+=y-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:h,end:r},e.slice(i-1,y)),h=r}else k=e.slice(i-1,y),u+=k,f+=k.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=S(c),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,A[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:h,end:d()}),u="")}}function C(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 j=r(50819),T=r(85771),_=r(48736),B=r(99656),R=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:H,directiveContainerAttributeName:G,directiveContainerAttributeValue:V,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:H,directiveLeafAttributeName:G,directiveLeafAttributeValue:V,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:H,directiveTextAttributeName:G,directiveTextAttributeValue:V,directiveTextAttributes:W,directiveTextName:U}},N={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 $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function H(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}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,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Y(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,B.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){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(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);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;Y((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Z(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,p]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(19967),o=r(98544);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,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 i("Missing matter definition for `%s`",t);t={type:t,marker:u[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===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(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(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=h(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=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?c(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=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=h(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(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=c(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))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);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(c,l,s)(t):46===t||95===t?e.check(u,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(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):y(a)?t(a):g(a)?e.check(u,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},u={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},c={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)||w(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)||w(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),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),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)||!D(n.previous)||w(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,p,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):p(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),h}function h(t){return 46===t?e.check(u,r,l)(t):c(t)}function p(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:D},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 D(e){return 47!==e&&E(e)}function w(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 x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.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 k(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,S.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 C(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)},u=[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,...u),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"),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"),i.includes((0,S.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,o.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,i=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 i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.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"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),B=r(85618),R=r(79142);function I(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 u=(0,B.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,B.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&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,_.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",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,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 L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),h(t)};function c(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,u++),124===t?c(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&&u===i.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function D(t){return e.enter("tableBody"),w(t)}function w(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.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,F.factorySpace)(e,w,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(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,F.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,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("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]),c-=a-i-3,i=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 o={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",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(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),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 N={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:U},t,r)):r(n)}}},$={text:{91:N}};function U(e,t,r){const n=this;return(0,F.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 z(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 H=r(50819),q=r(44516);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.O)(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 u=-1;for(;++u<s.length;)(0,H.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=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];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",Y=["autolink","link","image","label"],Z={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:X,literalAutolinkHttp:X,literalAutolinkWww:X},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)}}},J={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 X(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);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(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(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(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}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(he(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(he(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function he(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var pe=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ge(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ye(e){this.exit(e)}function ve(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function Ee(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function De(e){this.exit(e)}function we(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}we.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,pe.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(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=se(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 Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(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}Pe.peek=function(){return"`"};const _e={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:Re,tableHeader:Re,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Be,tableHeader:Be,tableRow:Be}};function Be(e){this.exit(e)}function Re(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(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]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(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,Se.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||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][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[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],h=[];for(;++l<u;){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),c=-1;const p=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";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),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".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(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-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 u(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 Me(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=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:Ue,taskListCheckValueUnchecked:Ue,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={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,pe.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function Ue(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(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:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Z,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ve,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ye,gfmFootnoteDefinitionLabelString:ge,gfmFootnoteCall:De,gfmFootnoteCallString:Ee}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[J,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:we}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>q,disable:()=>Z,document:()=>H,flow:()=>G,flowInitial:()=>V,insideSpan:()=>K,string:()=>W,text:()=>Q});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);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,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 c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(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&&D();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,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,h(e)}return u(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&&D(),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&&D(),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,u):(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,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!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 o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function D(){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(58775),p=r(52240);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 u(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 u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(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,u=0;for(;a--;){const e=o[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)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||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({},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 D=r(79142);function w(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=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-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]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),h.events.push(["exit",t,h]),t},attempt:E((function(e,t){w(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,x()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return w(t,0),h.events=(0,D.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,c,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(u);return{restore:a,from:o};function a(){n=e,h.previous=t,h.currentConstruct=r,h.events.length=o,u=i,x()}}(),c=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(c,p),o}function v(e){return l=!0,p.restore(),++s<a.length?m(a[s]):i}}}function w(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.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 x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),B=r(47071),R=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),U=r(3369),z=r(83126);const H={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},G={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},W={38:T.u,92:_.L},Q={[-5]:B.g,[-4]:B.g,[-3]:B.g,33:R.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:U.Z,95:I.v,96:z.h},K={null:[I.v,m]},Y={null:[42,95]},Z={null:[]};const J=/[\0\t\n\r]/g;var X=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(he),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(X),blockQuote:u(Q),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Y,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Z),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(J),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(he),listItem:u(de),listItemValue:m,listOrdered:u(pe,d),listUnordered:u(pe),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(X),strong:u(ge),thematicBreak:u(ve)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:W,autolinkProtocol:G,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:f(E),codeText:f(B),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:D,definitionTitleString:w,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:N,resourceTitleString:$,resource:U,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:h,buffer:c,resume:p,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,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||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),!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(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",c=!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=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(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:se(t.start)},e}function f(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,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]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function p(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function g(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function D(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 w(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(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:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){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 B(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){a("inReference")}function z(){a("referenceType","collapsed")}function H(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 q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){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,X._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.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 w(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,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(J.lastIndex=l,u=J.exec(o),f=u&&void 0!==u.index?u.index:o.length,h=o.charCodeAt(f),!u){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(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){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(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 fe=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")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var o=r(38165),i=r(24740);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 u=-1;if(i)n(i);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(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}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 u=r(56077);class c 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,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,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,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,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(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=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,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||function(e){return o(e)}(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]&&null!==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||void 0)}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?(S("data",u),c[e]=t,f):D.call(c,e)&&c[e]||null;if(e)return S("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[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),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&&(c.settings=Object.assign(c.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=C(e),r=f.Parser;if(x("parse",r),w(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),w(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(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,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(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(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("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,{},c)),t}}().freeze(),D={}.hasOwnProperty;function w(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(D.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(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 A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>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,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const h={},p={wildcard:!0};function d(e){return e?"boolean"==typeof e?p:e:h}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const g={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},y=m(g,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),v=m(y,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(v,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),E={css1:g,css2:y,css3:v,"selectors-3":v,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function D(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function w(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?E[t]:t;l.baseSyntax&&(l=m(E[l.baseSyntax],l));const[h,p]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],g=Boolean(l.ids),y=Boolean(l.classNames),v=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(v&&!h)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],B=_||Object.keys(T).length>0,[R,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,U,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let H="",q=H.length,V=0,G="";const W=e=>G===e,Q=()=>W("*")||D(G)||W("\\"),K=e=>{V=e,G=H.charAt(V)},Y=()=>{V++,G=H.charAt(V)},Z=()=>{const e=G;return V++,G=H.charAt(V),e};function J(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function X(e,t){if(!e)return J(t)}const ee=()=>{X(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{X(V<q,`Expected "${e}" but end of input reached.`),X(G===e,`Expected "${e}" but "${G}" found.`),V++,G=H.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,G=H.charAt(V),t}function oe(e,t){const r=e[H.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Z();for(;w(G);)e+=Z();return W(" ")&&Y(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(W(e))return Y(),t;if(W("\\")){let r;if(Y(),W(e))t+=e;else if(void 0!==(r=x[G]))t+=r;else{if(w(G)){t+=ie();continue}t+=G}}else t+=G;Y()}return t}function se(){let e="";for(;V<q;)if((t=G)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Z();else{if(!W("\\"))return e;Y(),ee(),w(G)?e+=ie():e+=Z()}var t;return e}function ue(){let e="";for(;V<q&&!W(")");)if(W("\\")){if(Y(),te()&&!i)return(e+"\\").trim();ee(),w(G)?e+=ie():e+=Z()}else e+=Z();return e.trim()}function ce(){for(;F[G];)Y()}function le(e=!1){ce();const t=[ye(e)];for(;W(",");)Y(),ce(),t.push(ye(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),W("|"))X(v,"Namespaces are not enabled."),Y(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(W("*"))X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled."),Y(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},W("|")){const r=V;Y(),D(G)||W("\\")?(X(v,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(X(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(W("]"))Y();else{if(e.operator=ne(j),X(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[G]?e.value={type:"String",value:ae(G)}:C&&W("$")?(Y(),e.value={type:"Substitution",name:se()},X(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},X(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!W("]")&&(e.caseSensitivityModifier=se(),X(e.caseSensitivityModifier,"Expected end of attribute selector."),X(B,"Attribute case sensitivity modifiers are not enabled."),X(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function he(){let e="";for(;A[G];)e+=Z();return X(""!==e,"Formula parse error."),parseInt(e)}const pe=()=>W("-")||W("+")||A[G];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),X(r,`Unknown pseudo-class: "${e}".`),W("(")){if(Y(),ce(),C&&W("$"))Y(),t.argument={type:"Substitution",name:se()},X(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},X(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return J("Invalid pseudo-class signature.");{const[e,n]=function(){if(W("e")||W("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(W("-")&&(Y(),r=-1),pe()&&(W("+")&&Y(),t=he(),!W("\\")&&!W("n")))return[0,t*r];if(null===t&&(t=1),t*=r,W("\\")?(Y(),e=w(G)?ie():Z()):e=Z(),X("n"===e,'Formula parse error: expected "n".'),ce(),W("+")||W("-")){const e=W("+")?1:-1;return Y(),ce(),[t,e*he()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),W("o")||W("\\"))){X("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ye()}}}}if(ce(),te()&&!i)return t;re(")")}else X(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return W("*")?(X(p,"Wildcard tag name is not enabled."),Y(),{type:"WildcardTag"}):D(G)||W("\\")?(X(h,"Tag names are not enabled."),{type:"TagName",name:se()}):J("Expected tag name.")}function ge(){if(W("*")){const e=V;if(Y(),!W("|"))return K(e),me();if(Y(),!Q())return K(e),me();X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(W("|")){X(v,"Namespaces are not enabled."),Y();const e=me();return e.namespace={type:"NoNamespace"},e}if(D(G)||W("\\")){const e=se();if(!W("|"))return X(h,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Y(),!Q())return K(t),{type:"TagName",name:e};X(v,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return J("Expected tag name.")}function ye(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Q())X(r,"Unexpected tag/namespace start."),t.tag=ge();else if(W("|")){const e=V;if(Y(),!Q()){K(e);break}X(r,"Unexpected tag/namespace start."),K(e),t.tag=ge()}else if(W(".")){X(y,"Class names are not enabled."),Y();const e=se();X(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(W("#")){X(g,"IDs are not enabled."),Y();const e=se();X(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(W("["))X(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!W(":"))break;{let e=!1,r=!1;Y(),W(":")&&(X(M,"Pseudo elements are not enabled."),X($,"Pseudo elements double colon notation is not enabled."),e=!0,Y());const n=se();if(X(e||n,"Expected pseudo-class name."),X(!e||n,"Expected pseudo-element name."),X(!e||z||U[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&U[n]),r){if(t.pseudoElement=n,!(F[G]||W(",")||W(")")||te()))return J("Pseudo-element should be the last component of a CSS selector rule.")}else X(R,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?J("Expected rule but end of input reached."):J(`Expected rule but "${G}" found.`);if(t.type="Rule",ce(),!te()&&!W(",")&&!W(")")){const e=ne(P);ce(),t.nestedRule=ye(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return H=e,q=H.length,V=0,G=H.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const B=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:R,handlers:{"=":function(e,t){const r=I(e);return R(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function R(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function U(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.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)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=U.default||U,H=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:G,blank:V,empty:V,"first-child":function(e,t,r,n,o){return W(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return W(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return W(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return W(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!G(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return W(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return W(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!H(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function G(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(a,t),a.results[0]===t}function W(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Q(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!B(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Y=[];function Z(e,t){t&&J(e,[],t,void 0,void 0,t)}function J(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,X(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=X(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=J(e,X(o,i),r.children[a],a,r,n);if(i=X(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function X(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Y}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Z(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Z(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Z(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(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})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const h=n&&"object"==typeof n?n:{};if("string"==typeof h.type){const e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){let h,p,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[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(p=(s?n.children.length:-1)+c,d=f.concat(n);p>-1&&p<n.children.length;){if(h=e(n.children[p],p,d)(),h[0]===i)return h;p="number"==typeof h[1]?h[1]:p+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);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)}},84862: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}')},74502: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}')},6614: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"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.79","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build -- --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.65","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0","immer":"^9.0.6"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^4.3.5","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"7bf063c9c81b2b446f187e54f65e6ccbacadc0f7"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.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);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"c1fe80",267:"960f60",331:"dbe0b3",347:"fe3bab",449:"c4532e",454:"b0e4b2",659:"e7416c",769:"14f39b"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)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+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.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(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.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,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.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&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{449:1,454:1,659:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.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=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.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;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.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))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>We.Z,Article:()=>kt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>$t,Catalog:()=>Mt,CatalogItems:()=>Rt,CompositionInput:()=>t.D7,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:()=>Le.Z,LoadingBar:()=>Ge,Logo:()=>Ie,Markdown:()=>Et,Model:()=>t.Hn,NavLink:()=>$e,PageLoader:()=>re,Plugin:()=>t.Sy,PoweredBy:()=>Re,Search:()=>qe,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Ut,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>Se,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>Ce,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>d.m8,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,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:()=>de.ZP,useAsset:()=>Oe,useAssetUrl:()=>Pe,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:()=>ie.Z,useHotkeys:()=>t.y1,useInPreview:()=>Be,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>_e,useLogo:()=>ye,useModel:()=>t.tT,useNextArticle:()=>de.VI,useOptions:()=>t.D2,usePrevArticle:()=>de.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>Te.Z,useWindowSize:()=>je.Z,windowSizes:()=>je.D});var e={};a.r(e),a.d(e,{ask:()=>Y,book:()=>A,page:()=>U,search:()=>V});var t=a(61091),r=a(35250),n=a(56065);t.$B.prototype[n.sc]=!0;var o=a(87790),i=a.n(o),u=a(45990),c=a.n(u),l=a(366),f=a.n(l),h=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(69017),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(h),d=a(8192),m=(a(16585),a(11333),a(82357)),g=a.n(m),y=a(32078),v=a.n(y),b=a(33649),E=a.n(b),D=a(74158),w=a.n(D),x=a(12982),F=a.n(x);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}var A=new(function(e){E()(r,e);var t=S(r);function r(){return v()(this,r),t.apply(this,arguments)}return g()(r)}(t.Hn)),k=a(44220),C=a.n(k),P=a(6322),O=a.n(P),j=a(58089),T=a.n(j),_=a(76985),B=a.n(_),R=a(529),I=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function M(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new N(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function N(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return N=function(e){this.s=e,this.n=e.next},N.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new N(e)}var $=function(e){E()(n,e);var r=L(n);function n(){var e;v()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),O()(C()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return g()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=d.m8.location;d.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return T()(f().mark((function n(){var o,a,s,u,c,l,h,p,d,m,g,y,v;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(I()(M(r.getState("book")),B()),"t0",3);case 3:return o=n.t0,n.delegateYield(I()(M(r.getState("page")),B()),"t1",5);case 5:if(a=n.t1,s=a.request,u=a.config,n.prev=8,l=!0,h=decodeURI(e),p=function(){var e=i()(f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.get(h,u);case 2:return r=e.sent,n=r.data,o=r.status,l=200===o,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!o.sha||!("caches"in window)){n.next=32;break}return n.next=15,B()(caches.open("book-".concat(o.id,"-").concat(o.sha)));case 15:return d=n.sent,n.next=18,B()(d.match(h));case 18:if(!(m=n.sent)){n.next=23;break}return n.next=22,B()(m.json());case 22:c=n.sent;case 23:if(c){n.next=30;break}return n.next=26,B()(p());case 26:if(c=n.sent,!l){n.next=30;break}return n.next=30,B()(d.put(h,new Response(JSON.stringify(c),{headers:{"Content-Type":"application/json"},status:200})));case 30:n.next=35;break;case 32:return n.next=34,B()(p());case 34:c=n.sent;case 35:return y=(g=c).file,v=g.lfs,n.next=38,r.setState((function(e){e.file=new t.$B(y),e.lfs=v}));case 38:n.next=44;break;case 40:return n.prev=40,n.t2=n.catch(8),n.next=44,r.setState((function(e){e.error=n.t2}));case 44:return n.prev=44,n.next=47,r.setState((function(e){e.loading=!1}));case 47:return n.finish(44);case 48:case"end":return n.stop()}}),n,null,[[8,40,44,48]])})))()}},{key:"intercept",value:f().mark((function e(t){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),U=new $;a(33394),a(62443),a(82122),a(25013);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function H(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return q=function(e){this.s=e,this.n=e.next},q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new q(e)}var V=new(function(e){E()(r,e);var t=z(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{status:"idle",results:[],query:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s,u;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(I()(H(t.getState("search")),B()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(I()(H(t.getState("book")),B()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,B()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new Q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Q=function(e){this.s=e,this.n=e.next},Q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new Q(e)}var K,Y=new(function(e){E()(r,e);var t=G(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(I()(W(t.getState("ask")),B()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,B()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Z=a(52815),J=a(28056),X=a.n(J);const ee=t.zo.div(K||(K=X()(["\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 var(--ttw-primary-color, #3c60ff);\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var te;function re(){return(0,r.jsx)(oe,{children:(0,r.jsx)(ee,{})})}var ne,oe=t.zo.div(te||(te=X()(["\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"]))),ie=a(50892),ae=a(47851),se=a.n(ae),ue=(0,h.createContext)(void 0);function ce(e){var n=e.children,o=(0,ie.Z)(),a=(0,t.LU)(),s=(0,t.r5)(i()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(o.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),u=s.result,c=s.loading,l=(0,h.useMemo)((function(){return{primaryColor:new(se())(a.primaryColor)}}),[a]);return c?null:(0,r.jsx)(ue.Provider,{value:u,children:(0,r.jsxs)(t.f6,{theme:l,children:[(0,r.jsx)(le,{}),n]})})}var le=(0,t.vJ)(ne||(ne=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var fe=a(12147),he=a.n(fe);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var de=a(54718),me=(a(66164),a(7525),(0,h.createContext)(void 0));function ge(e){var n=e.children,o=(0,h.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),i=c()(o,2),a=i[0],s=i[1],u=(0,ie.Z)();return(0,h.useEffect)((function(){var e=u.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");if(t)try{t.drawImage(this,0,0),e.toBlob((function(e){e&&s(window.URL.createObjectURL(e))}))}catch(e){console.warn(e)}})),r.src=e}),[]),(0,r.jsx)(me.Provider,{value:a,children:n})}function ye(){return(0,h.useContext)(me)}var ve=a(22827),be=p().lazy((function(){return Promise.all([a.e(347),a.e(659)]).then(a.bind(a,10659))}));function Ee(){var e=(0,t.CQ)().summary,n=pe(),o=(0,ie.Z)(),i=(0,h.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,h.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=he()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":d.m8.replace(o[0]);break;case"push":d.m8.push(o[0])}}catch(e){}})),d.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ve.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ye();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)(de.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:be})})]})]})}var De=a(47354),we=a.n(De);function xe(){var n=(0,h.useState)(),o=c()(n,2),s=o[0],u=o[1];return(0,t.bd)(i()(f().mark((function n(){var o,s,c,l,h,p,m,g,y,v,b,E,D,w,x,F,S,A,k,C,P,O,j,T;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,o=(0,d.fi)(),s=o.location,c=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(s.toString());case 6:l=n.sent,c=l.data;case 8:return p=(h=c).id,m=h.sha,g=h.metadata,y=void 0===g?{}:g,v=h.summary,b=h.file,E=h.config,D=void 0===E?{}:E,w=h.options,x=void 0===w?{}:w,F=h.lfs,S=h.pluginCenter,A=t.De.createFromObject(D),k=t.ER.create(v),C=new t.fy(p,A,k,y,m),P={page:{config:{params:Z.parse(s.search)},file:new t.$B(b),lfs:F},options:x},n.next=15,(0,t.W3)({name:"reader",book:C,models:e,initialState:P,locale:A.getValue("language","zh-CN"),theme:A.getValue(["themeConfig","defaultMode"],"light"),localize:function(){var e=i()(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("zh")){e.next=7;break}return e.next=3,a.e(769).then(a.t.bind(a,87769,23));case 3:return we().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 7:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pluginCenter:S});case 15:O=n.sent,j=(0,r.jsx)(O,{children:(0,r.jsx)(ge,{children:(0,r.jsx)(ce,{children:(0,r.jsx)(Ee,{})})})}),u(j),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?u((null===(T=n.t0.response)||void 0===T?void 0:T.data)||n.t0.message):u(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),s||(0,r.jsx)(re,{})}var Fe=a(61533);const Se=function(){var e=document.getElementById("root");e&&(0,Fe.createRoot)(e).render((0,r.jsx)(xe,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Ae=a(82386),ke=a.n(Ae);Date.prototype.format=function(e){var 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()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),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},we().extend(ke());const Ce=we();function Pe(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Oe(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var je=a(4286),Te=a(77852);function _e(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,h.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function Be(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Re(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",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 Ie(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ye();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Le=a(91223),Me=a(18887),Ne=a.n(Me);function $e(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===Ne().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Le.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function Ue(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 ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He=(0,h.lazy)((function(){return a.e(454).then(a.bind(a,55454))}));function qe(e){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(He,ze({},e))})}var Ve=(0,h.lazy)((function(){return Promise.all([a.e(331),a.e(449)]).then(a.bind(a,97449))}));function Ge(){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(Ve,{})})}var We=a(92159),Qe=a(64020),Ke=a.n(Qe),Ye=a(34889),Ze=a.n(Ye),Je=["element","src"];function Xe(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 et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e){var n=e.element,o=e.src,i=Ze()(e,Je),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&s&&!(0,t.CB)(o)&&u){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}return(0,r.jsx)(t.cu,{role:"page:asset",props:et({src:o},i),component:n})}function rt(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 nt(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function ot(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 it(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function at(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 st(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function ut(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 ct(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function lt(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 ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e){var t=(0,de.ZP)();return(0,r.jsx)(We.Z,ft(ft({},e),{},{base:t}))}var pt,dt,mt,gt,yt=["children","components"];function vt(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 bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e){var n=e.children,o=e.components,i=Ze()(e,yt),a=(0,h.useContext)(ue);return(0,r.jsx)(t.UG,bt(bt({},i),{},{css:a,loader:(0,r.jsx)(ee,{}),components:(0,h.useMemo)((function(){return bt({a:ht,img:nt,attachment:it,video:st,audio:ct},o)}),[o]),children:n}))}var Dt=["depth","id","children"],wt=["className","header","footer","offset","aside"];function xt(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 Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var St={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=Ze()(e,Dt);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Ct,{tabIndex:-1,id:n}),o]})),(0,h.createElement)("h".concat(t),i,o)}},At=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function kt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=Ze()(e,wt),l=(0,ie.Z)(),f=(0,de.ZP)();(0,h.useEffect)((function(){At(d.m8.location.hash);var e=d.m8.listen((function(e){At(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&f&&(o=(0,r.jsx)(Ot,{children:f.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Ke()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Ke()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var p=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:Et,props:Ft({header:o,footer:i,aside:u,children:l.content,components:St},c)});return(0,r.jsx)(Pt,{className:n,offset:a,children:p},l.path)}var Ct=t.zo.a(pt||(pt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),Pt=t.zo.div(dt||(dt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(mt||(mt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Ct,e.offset)})),Ot=t.zo.h1(gt||(gt=X()(["\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"]))),jt=a(45471),Tt=a.n(jt),_t=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,i=e.itemsComponent,a=(0,ie.Z)().path,s=(0,de.ZP)(),u=(0,t.LU)(),l=(0,h.useMemo)((function(){return Boolean(s&&n.getLevel().isDescendant(s.getLevel()))}),[n,s]),f=a===n.getPath(),p=(0,h.useState)((function(){return-1===u.expandLevel||u.expandLevel>=n.level.getDepth()||(l||f)})),d=c()(p,2),m=d[0],g=d[1];(0,h.useEffect)((function(){!m&&f&&g(!0)}),[f]),(0,h.useEffect)((function(){!m&&l&&g(!0)}),[l]);var y=n.children.length>0,v=!n.getPath(),b=y?(0,r.jsx)(Rt,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:g,active:f,disabled:v,activeDescendant:l,children:b},component:o})}),Bt=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Rt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?Bt:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(_t,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},It=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Rt,{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})},Lt=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Rt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)(It,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function Mt(e){var n=Object.assign({},(Tt()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Lt,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Nt=function(e){return e instanceof t.oI?(0,r.jsx)(Le.Z,{to:e}):e.title};function $t(e){var n=e.className,o=e.renderItem,i=void 0===o?Nt:o,a=(0,t.CQ)().summary,s=(0,de.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Le.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Ut(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,de.ZP)(),i=(0,ie.Z)();return(0,h.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&d.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
|
|
412
|
+
!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="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=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),D=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),w=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([y,v,b,E,D,w,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),B=r(r(h+"@")+"?"+T+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(R+"*"),L=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),U=r(M+N),z=r(L+N),H="(?!"+R+")",q=(r(N+"|"+$+"|"+U+"|"+z+"|"+H),r(r(R+"|"+t("[\\/\\?]",c))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+B+N)+"|"+$+"|"+z+"|"+H),W=r(f+"\\:"+G+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+B+N)+"|"+$+"|"+U+"|"+H),K=r(Q+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+U+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+H+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+h+")@"),r("\\:("+_+")"),{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,"[\\:\\@\\/\\?]",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("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=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="-",D=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=p-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[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(x,".")).split("."),t).join(".")}function j(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 T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:p},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},B=function(e,t,r){var n=0;for(e=r?A(e/y):e>>1,e+=A(e/t);e>S*m>>1;n+=p)e=A(e/S);return A(n+(S+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&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=p;;f+=p){u>=r&&C("invalid-input");var g=T(e.charCodeAt(u++));(g>=p||g>A((h-n)/l))&&C("overflow"),n+=g*l;var y=f<=i?d:f>=i+m?m:f-i;if(g<y)break;var D=p-y;l>A(h/D)&&C("overflow"),l*=D}var w=t.length+1;i=B(n-c,w,0==c),A(n/w)>h-o&&C("overflow"),o+=A(n/w),n%=w,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=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(k(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 D=h,w=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(w=(S=P.next()).done);w=!0){var O=S.value;O>=n&&O<D&&(D=O)}}catch(e){x=!0,F=e}finally{try{!w&&P.return&&P.return()}finally{if(x)throw F}}var T=y+1;D-n>A((h-o)/T)&&C("overflow"),o+=(D-n)*T,n=D;var R=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(R=(M=N.next()).done);R=!0){var $=M.value;if($<n&&++o>h&&C("overflow"),$==n){for(var U=o,z=p;;z+=p){var H=z<=i?d:z>=i+m?m:z-i;if(U<H)break;var q=U-H,V=p-H;t.push(k(_(H+q%V,0))),U=A(q/V)}t.push(k(_(U,0))),i=B(o,T,y==g),o=0,++y}}}catch(e){I=!0,L=e}finally{try{!R&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return D.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return w.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:I,toASCII:M,toUnicode:L},$={};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 z(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 H(e,t){function r(e){var r=z(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,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).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,U).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).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),u=s[0],c=s[1],f=c?c.split(":").map(q):[],h=u.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),D=g.slice(v.index+v.length);b=E.join(":")+"::"+D.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?c:u;"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=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(r,u)}i&&i.parse&&i.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(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 Z=/^\.\.?\//,J=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Z))e=e.replace(Z,"");else if(e.match(J))e=e.replace(J,"/");else if(e.match(X))e=e.replace(X,"/"),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=[],o=$[(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?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}H(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Y(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?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}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 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="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",De=new RegExp(me,"g"),we=new RegExp(ye,"g"),xe=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,Ee),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(De)?t:e}var ke={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,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,h=l.length;f<h;++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:o=!0,i[ue(c[0],t)]=ue(c[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]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.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[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 u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(we,Ae).replace(we,o).replace(xe,U),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.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 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(we,Ae).replace(we,o).replace(Fe,U)+"="+h[d].replace(we,Ae).replace(we,o).replace(Se,U));return p.length&&(r.query=p.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,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,o=r+":"+(t.nid||n),i=$[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}$/,je={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}};$[ce.scheme]=ce,$[le.scheme]=le,$[he.scheme]=he,$[pe.scheme]=pe,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=U,e.pctDecChars=z,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=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);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]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),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(54415);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("#")?"?":"#",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 D=a.exec(b);if(D){var w=(D=D[0]).toLowerCase();this.protocol=w,b=b.substr(D.length)}if(r||D||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||D&&g[D]||(b=b.substr(2),this.slashes=!0)}if(!g[D]&&(x||D&&!y[D])){for(var F,S,A=-1,k=0;k<h.length;k++){-1!==(C=b.indexOf(h[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),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(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(p)){for(var _="",B=0,R=T.length;B<R;B++)T.charCodeAt(B)>127?_+="x":_+=T[B];if(!_.match(p)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[w])for(k=0,j=l.length;k<j;k++){var U=l[k];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));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[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+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 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),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),D=E||b||r.host&&e.pathname,w=D,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.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),D=D&&(""===d[0]||""===x[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,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.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(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!D&&!w)for(;k--;k)x.unshift("..");!D||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(D=D||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.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)}},54783: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}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);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),h=s(String.prototype.valueOf),p=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 D(e){return"[object ArrayBuffer]"===l(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(D.working?D(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(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)||F(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)},D.working="undefined"!=typeof ArrayBuffer&&D(new ArrayBuffer),t.isArrayBuffer=w,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return g(e,f)}function P(e){return g(e,h)}function O(e){return g(e,p)}function j(e){return u&&g(e,d)}function T(e){return c&&g(e,m)}t.isSharedArrayBuffer=k,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=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),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(c(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)||!w(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 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 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),h(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 h(e,r,n){if(e.customInspect&&r&&S(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)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(D(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return p(r)}var c,l="",f=!1,w=["{","}"];(m(r)&&(f=!0,w=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return D(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?D(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(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){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,w)):w[0]+l+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(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.slice(1,-1),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 D(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===A(e)}function F(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(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(42406),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=D,t.types.isRegExp=D,t.isObject=w,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,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(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="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(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{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)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,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}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),h={},p=Object.getPrototypeOf;u&&a&&p&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=p(t),n=a(r,Symbol.toStringTag);if(!n){var o=p(r);n=a(o,Symbol.toStringTag)}h[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(h,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=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},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function g(){}function y(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,E=b&&b(b(P([])));E&&E!==r&&i.call(E,u)&&(v=E);var D=y.prototype=m.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,a(D,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=f(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,l,"GeneratorFunction")),e.prototype=Object.create(D),e},t.awrap=function(e){return{__await:e}},w(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(h(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(D),f(D,l,"Generator"),f(D,u,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(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}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(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})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);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}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(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)}r.d(t,{Z:()=>n})},36365:(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)}},56065:(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){var t;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 r===Object||"function"==typeof r&&Function.toString.call(r)===G}(e)||Array.isArray(e)||!!e[q]||!!(null===(t=e.constructor)||void 0===t?void 0:t[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 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.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 $&&e instanceof Map}function p(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[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 M}function D(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){x(e),e.p.forEach(S),e.p=null}function x(e){e===M&&(M=e.l)}function F(e){return M={p:[],l:M,h:e,m:!0,_:0}}function S(e){var t=e[V];0===t.i||1===t.i?t.j():t.O=!0}function A(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||b("ES5").S(t,e,o),o?(r[V].P&&(w(t),n(4)),i(e)&&(e=k(t,e),t.l||P(t,e)),t.u&&b("Patches").M(r[V].t,e,t.u,t.s)):e=k(t,r,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,r){if(v(t))return t;var n=t[V];if(!n)return a(t,(function(o,i){return C(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,i=o,s=!1;3===n.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return C(e,n,o,t,i,r,s)})),P(e,o,!1),r&&e.u&&b("Patches").N(n,r,e.u,e.s)}return n.o}function C(e,t,r,n,a,s,c){if(o(a)){var f=k(e,a,s&&t&&3!==t.i&&!u(t.R,n)?s.concat(n):void 0);if(l(r,n,f),!o(f))return;e.m=!1}else c&&r.add(a);if(i(a)&&!v(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||P(e,a)}}function P(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&g(t,r)}function O(e,t){var r=e[V];return(r?d(r):e)[t]}function j(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 T(e){e.P||(e.P=!0,e.l&&T(e.l))}function _(e){e.o||(e.o=m(e.t))}function B(e,t,r){var n=h(t)?b("MapSet").F(t,r):p(t)?b("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:E(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Y;r&&(o=[n],i=Z);var a=Proxy.revocable(o,i),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 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=I(t,o),n.I=!1}else r=I(t,o);return a(r,(function(t,o){n&&c(n.t,t)===o||l(r,t,e(o))})),3===o?new Set(r):r}(e)}function I(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,M,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),$="undefined"!=typeof Map,U="undefined"!=typeof Set,z="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),q=N?Symbol.for("immer-draftable"):"__$immer_draftable",V=N?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===V)return e;var r=d(e);if(!u(r,t))return function(e,t,r){var n,o=j(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)?(_(e),e.o[t]=B(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=j(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.R[t]=!1,!0;if(f(r,o)&&(void 0!==r||u(e.t,t)))return!0;_(e),T(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,_(e),T(e)):delete e.R[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)}},Z={};a(Y,(function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Z.deleteProperty=function(e,t){return Z.set.call(this,e,t,void 0)},Z.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var J=function(){function e(e){var t=this;this.g=z,this.D=!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 u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var c=F(t),l=B(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?w(c):x(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return D(c,o),A(e,c)}),(function(e){throw w(c),e})):(D(c,o),A(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===H&&(u=void 0),t.D&&g(u,!0),o){var h=[],p=[];b("Patches").M(e,u,h,p),o(h,p)}return u}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return 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))}))};var n,o,i=t.produce(e,r,(function(e,t){n=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,n,o]})):[i,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=F(this),r=B(this,e,void 0);return r[V].C=!0,x(t),r},t.finishDraft=function(e,t){var r=(e&&e[V]).A;return D(r,t),A(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!z&&n(20),this.g=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}}r>-1&&(t=t.slice(r+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),X=new J,ee=X.produce,te=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X));X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X)},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(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=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let h=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(h)&&(h="&#x"+h.charCodeAt(0).toString(16).toUpperCase()+";"+h.slice(1)),h=h?c+" "+h:c,r.options.closeAtx&&(h+=" "+c),f(),l(),h}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(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})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);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"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(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||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(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:()=>u.u,codeFenced:()=>c._,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:()=>D.g,list:()=>w.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),h=r(52240),p=r(22774),d=r(2669),m=r(86053),g=r(26890),y=r(9373),v=r(3369),b=r(82287),E=r(83555),D=r(47071),w=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);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(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),h=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!h)),c._close=Boolean(42===a?h:h&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,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),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[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({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[p][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",o,t],["enter",u,t],["exit",u,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",c,t],["exit",c,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}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);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)?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))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),p(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),o=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),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}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);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}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);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")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);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)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=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=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(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.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)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);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,u,"whitespace")(t))}function u(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},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,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,c?(0,n.factorySpace)(e,v,"linePrefix",c+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}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);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?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.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 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}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);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"),u(t))}function u(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"),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),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(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}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);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}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);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,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,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,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,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);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)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);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):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.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,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(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}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);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(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,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:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!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:M):r(o)}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&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.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?D(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):C(t)}function D(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),w):(0,n.markdownSpace)(t)?(e.consume(t),D):C(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),w):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):D(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),h=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(h=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===h?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?D(e):r(e)}function C(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),B):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(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 B(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(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}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=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),F):63===t?(e.consume(t),w):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,o.asciiAlpha)(t)?(e.consume(t),D):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)?(c=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(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,o.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?L(t):93===t?(e.consume(t),E):v(t)}function D(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=D,R(t)):(e.consume(t),D)}function w(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(e){return 62===e?L(e):w(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):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),j):(0,o.markdownLineEnding)(t)?(c=O,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,R(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,B)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,R(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function B(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),B)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);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?u(t):(i=n.parser.defined.includes((0,c.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:u)(r):91===r?e.attempt(p,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(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 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[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",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",h,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.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,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(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,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,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)}}}},82287:(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(3369).Z.resolveAll}},83555:(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(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);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")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);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 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(u,m,d))}function p(e){return n.containerState.initialBlankLine=!0,c++,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=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(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,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(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)}},u={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},c={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}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][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,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,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}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);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(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||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(u),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(u),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(u),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(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),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)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=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&&!u||94===h&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>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)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);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))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),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(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):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===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?h:f)}function h(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);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)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,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(/[!-/:-@[-`{-~]/),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 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))}}},11707:(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})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);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)}},92791:(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})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);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}},37618:(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})},79142:(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})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,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,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),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}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),u=s.events,c=[],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<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[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=u.slice(y[p],y[p+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(p=-1;++p<c.length;)l[m+c[p][0]]=m+c[p][1],m+=c[p][1]-c[p][0]-1;return l}},55975:(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}},8449:(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}},15472:(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"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(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}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);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.Vn)(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.Vn)(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)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,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=c,D(t)):46===t?(v=l,D(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,E)(t):T(t)}function D(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),w}function w(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),x)}function x(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(u),E(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(h),e.consume(t),e.exit(h),A):(e.exit(u),E(t))}function A(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,C):y&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,k)}function k(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(u),E(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(p),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(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 j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?E(e):T(e)}function T(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 u,c=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:u});return u&&(u.next=r),u=r,p(t)}function p(t){return null===t||c>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),c++,p):p(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(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 c={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 c,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"),u.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"),D(r))}function D(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,w,"linePrefix",s+1):w)(t)}function w(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(h,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,D}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(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"),u.call(i,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,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"),u.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 D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||D(e)}var F=r(36365);const S=String.fromCharCode,A=["","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 k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,h=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){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){u+=S(c),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="",A="",k="";const P="named"===s?x:"decimal"===s?D:w;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(v=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,F.T)(k);e&&(v=k,A=e)}let j=1+y-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(v!==k&&(y=l+v.length,j=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,j),T=S(65533);else if(e in E)m(6,j),T=E[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){g(),h=d(),a=y-1,f+=y-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:h,end:r},e.slice(i-1,y)),h=r}else k=e.slice(i-1,y),u+=k,f+=k.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=S(c),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,A[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:h,end:d()}),u="")}}function C(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 j=r(50819),T=r(85771),_=r(48736),B=r(99656),R=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:H,directiveContainerAttributeName:G,directiveContainerAttributeValue:V,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:H,directiveLeafAttributeName:G,directiveLeafAttributeValue:V,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:H,directiveTextAttributeName:G,directiveTextAttributeValue:V,directiveTextAttributes:W,directiveTextName:U}},N={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 $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function H(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}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,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Y(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,B.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){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(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);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;Y((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Z(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,p]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(19967),o=r(98544);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,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 i("Missing matter definition for `%s`",t);t={type:t,marker:u[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===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(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(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=h(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=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?c(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=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=h(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(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=c(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))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);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(c,l,s)(t):46===t||95===t?e.check(u,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(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):y(a)?t(a):g(a)?e.check(u,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},u={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},c={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)||w(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)||w(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),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),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)||!D(n.previous)||w(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,p,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):p(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),h}function h(t){return 46===t?e.check(u,r,l)(t):c(t)}function p(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:D},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 D(e){return 47!==e&&E(e)}function w(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 x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.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 k(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,S.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 C(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)},u=[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,...u),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"),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"),i.includes((0,S.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,o.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,i=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 i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.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"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?h:f)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),B=r(85618),R=r(79142);function I(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 u=(0,B.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,B.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&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,_.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",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,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 L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),h(t)};function c(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,u++),124===t?c(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&&u===i.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function D(t){return e.enter("tableBody"),w(t)}function w(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.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,F.factorySpace)(e,w,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(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,F.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,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("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]),c-=a-i-3,i=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 o={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",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(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),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 N={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:U},t,r)):r(n)}}},$={text:{91:N}};function U(e,t,r){const n=this;return(0,F.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 z(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 H=r(50819),q=r(44516);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.O)(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 u=-1;for(;++u<s.length;)(0,H.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=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];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",Y=["autolink","link","image","label"],Z={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:X,literalAutolinkHttp:X,literalAutolinkWww:X},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)}}},J={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 X(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);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(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(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(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}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(he(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(he(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function he(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var pe=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ge(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ye(e){this.exit(e)}function ve(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function Ee(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function De(e){this.exit(e)}function we(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,pe.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}we.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,pe.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(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=se(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 Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(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}Pe.peek=function(){return"`"};const _e={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:Re,tableHeader:Re,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Be,tableHeader:Be,tableRow:Be}};function Be(e){this.exit(e)}function Re(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(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]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(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,Se.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||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][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[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],h=[];for(;++l<u;){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),c=-1;const p=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";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),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".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(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-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 u(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 Me(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=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:Ue,taskListCheckValueUnchecked:Ue,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={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,pe.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function Ue(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(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:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Z,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ve,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ye,gfmFootnoteDefinitionLabelString:ge,gfmFootnoteCall:De,gfmFootnoteCallString:Ee}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[J,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:we}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>q,disable:()=>Z,document:()=>H,flow:()=>G,flowInitial:()=>V,insideSpan:()=>K,string:()=>W,text:()=>Q});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);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,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 c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(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&&D();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,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,h(e)}return u(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&&D(),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&&D(),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,u):(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,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!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 o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function D(){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(58775),p=r(52240);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 u(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 u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(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,u=0;for(;a--;){const e=o[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)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||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({},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 D=r(79142);function w(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=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-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]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),h.events.push(["exit",t,h]),t},attempt:E((function(e,t){w(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,x()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return w(t,0),h.events=(0,D.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,c,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(u);return{restore:a,from:o};function a(){n=e,h.previous=t,h.currentConstruct=r,h.events.length=o,u=i,x()}}(),c=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(c,p),o}function v(e){return l=!0,p.restore(),++s<a.length?m(a[s]):i}}}function w(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.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 x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),B=r(47071),R=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),U=r(3369),z=r(83126);const H={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},G={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},W={38:T.u,92:_.L},Q={[-5]:B.g,[-4]:B.g,[-3]:B.g,33:R.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:U.Z,95:I.v,96:z.h},K={null:[I.v,m]},Y={null:[42,95]},Z={null:[]};const J=/[\0\t\n\r]/g;var X=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(he),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(X),blockQuote:u(Q),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Y,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Z),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(J),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(he),listItem:u(de),listItemValue:m,listOrdered:u(pe,d),listUnordered:u(pe),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(X),strong:u(ge),thematicBreak:u(ve)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:W,autolinkProtocol:G,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:f(E),codeText:f(B),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:D,definitionTitleString:w,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:N,resourceTitleString:$,resource:U,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:h,buffer:c,resume:p,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,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||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),!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(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",c=!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=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(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:se(t.start)},e}function f(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,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]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function p(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function g(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function D(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 w(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(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:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){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 B(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function U(){a("inReference")}function z(){a("referenceType","collapsed")}function H(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 q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){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,X._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.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 w(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,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(J.lastIndex=l,u=J.exec(o),f=u&&void 0!==u.index?u.index:o.length,h=o.charCodeAt(f),!u){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(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){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(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 fe=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")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var o=r(38165),i=r(24740);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 u=-1;if(i)n(i);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(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}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 u=r(56077);class c 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,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,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,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,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(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=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,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||function(e){return o(e)}(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]&&null!==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||void 0)}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?(S("data",u),c[e]=t,f):D.call(c,e)&&c[e]||null;if(e)return S("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[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),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&&(c.settings=Object.assign(c.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=C(e),r=f.Parser;if(x("parse",r),w(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),w(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(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,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(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(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("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,{},c)),t}}().freeze(),D={}.hasOwnProperty;function w(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(D.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(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 A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>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,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const h={},p={wildcard:!0};function d(e){return e?"boolean"==typeof e?p:e:h}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const g={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},y=m(g,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),v=m(y,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(v,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),E={css1:g,css2:y,css3:v,"selectors-3":v,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function D(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function w(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?E[t]:t;l.baseSyntax&&(l=m(E[l.baseSyntax],l));const[h,p]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],g=Boolean(l.ids),y=Boolean(l.classNames),v=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(v&&!h)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],B=_||Object.keys(T).length>0,[R,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,U,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let H="",q=H.length,V=0,G="";const W=e=>G===e,Q=()=>W("*")||D(G)||W("\\"),K=e=>{V=e,G=H.charAt(V)},Y=()=>{V++,G=H.charAt(V)},Z=()=>{const e=G;return V++,G=H.charAt(V),e};function J(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function X(e,t){if(!e)return J(t)}const ee=()=>{X(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{X(V<q,`Expected "${e}" but end of input reached.`),X(G===e,`Expected "${e}" but "${G}" found.`),V++,G=H.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,G=H.charAt(V),t}function oe(e,t){const r=e[H.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Z();for(;w(G);)e+=Z();return W(" ")&&Y(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(W(e))return Y(),t;if(W("\\")){let r;if(Y(),W(e))t+=e;else if(void 0!==(r=x[G]))t+=r;else{if(w(G)){t+=ie();continue}t+=G}}else t+=G;Y()}return t}function se(){let e="";for(;V<q;)if((t=G)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Z();else{if(!W("\\"))return e;Y(),ee(),w(G)?e+=ie():e+=Z()}var t;return e}function ue(){let e="";for(;V<q&&!W(")");)if(W("\\")){if(Y(),te()&&!i)return(e+"\\").trim();ee(),w(G)?e+=ie():e+=Z()}else e+=Z();return e.trim()}function ce(){for(;F[G];)Y()}function le(e=!1){ce();const t=[ye(e)];for(;W(",");)Y(),ce(),t.push(ye(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),W("|"))X(v,"Namespaces are not enabled."),Y(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(W("*"))X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled."),Y(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},W("|")){const r=V;Y(),D(G)||W("\\")?(X(v,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(X(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(W("]"))Y();else{if(e.operator=ne(j),X(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[G]?e.value={type:"String",value:ae(G)}:C&&W("$")?(Y(),e.value={type:"Substitution",name:se()},X(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},X(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!W("]")&&(e.caseSensitivityModifier=se(),X(e.caseSensitivityModifier,"Expected end of attribute selector."),X(B,"Attribute case sensitivity modifiers are not enabled."),X(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function he(){let e="";for(;A[G];)e+=Z();return X(""!==e,"Formula parse error."),parseInt(e)}const pe=()=>W("-")||W("+")||A[G];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),X(r,`Unknown pseudo-class: "${e}".`),W("(")){if(Y(),ce(),C&&W("$"))Y(),t.argument={type:"Substitution",name:se()},X(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},X(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return J("Invalid pseudo-class signature.");{const[e,n]=function(){if(W("e")||W("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(W("-")&&(Y(),r=-1),pe()&&(W("+")&&Y(),t=he(),!W("\\")&&!W("n")))return[0,t*r];if(null===t&&(t=1),t*=r,W("\\")?(Y(),e=w(G)?ie():Z()):e=Z(),X("n"===e,'Formula parse error: expected "n".'),ce(),W("+")||W("-")){const e=W("+")?1:-1;return Y(),ce(),[t,e*he()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),W("o")||W("\\"))){X("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ye()}}}}if(ce(),te()&&!i)return t;re(")")}else X(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return W("*")?(X(p,"Wildcard tag name is not enabled."),Y(),{type:"WildcardTag"}):D(G)||W("\\")?(X(h,"Tag names are not enabled."),{type:"TagName",name:se()}):J("Expected tag name.")}function ge(){if(W("*")){const e=V;if(Y(),!W("|"))return K(e),me();if(Y(),!Q())return K(e),me();X(v,"Namespaces are not enabled."),X(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(W("|")){X(v,"Namespaces are not enabled."),Y();const e=me();return e.namespace={type:"NoNamespace"},e}if(D(G)||W("\\")){const e=se();if(!W("|"))return X(h,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Y(),!Q())return K(t),{type:"TagName",name:e};X(v,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return J("Expected tag name.")}function ye(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Q())X(r,"Unexpected tag/namespace start."),t.tag=ge();else if(W("|")){const e=V;if(Y(),!Q()){K(e);break}X(r,"Unexpected tag/namespace start."),K(e),t.tag=ge()}else if(W(".")){X(y,"Class names are not enabled."),Y();const e=se();X(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(W("#")){X(g,"IDs are not enabled."),Y();const e=se();X(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(W("["))X(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!W(":"))break;{let e=!1,r=!1;Y(),W(":")&&(X(M,"Pseudo elements are not enabled."),X($,"Pseudo elements double colon notation is not enabled."),e=!0,Y());const n=se();if(X(e||n,"Expected pseudo-class name."),X(!e||n,"Expected pseudo-element name."),X(!e||z||U[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&U[n]),r){if(t.pseudoElement=n,!(F[G]||W(",")||W(")")||te()))return J("Pseudo-element should be the last component of a CSS selector rule.")}else X(R,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?J("Expected rule but end of input reached."):J(`Expected rule but "${G}" found.`);if(t.type="Rule",ce(),!te()&&!W(",")&&!W(")")){const e=ne(P);ce(),t.nestedRule=ye(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return H=e,q=H.length,V=0,G=H.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const B=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:R,handlers:{"=":function(e,t){const r=I(e);return R(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function R(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function U(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.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)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=U.default||U,H=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:G,blank:V,empty:V,"first-child":function(e,t,r,n,o){return W(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return W(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return W(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return W(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!G(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Q(e);return W(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return W(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return W(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!H(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function G(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Z(a,t),a.results[0]===t}function W(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Q(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!B(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Y=[];function Z(e,t){t&&J(e,[],t,void 0,void 0,t)}function J(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,X(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=X(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=J(e,X(o,i),r.children[a],a,r,n);if(i=X(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function X(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Y}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Z(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Z(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Z(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(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})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const h=n&&"object"==typeof n?n:{};if("string"==typeof h.type){const e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){let h,p,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[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(p=(s?n.children.length:-1)+c,d=f.concat(n);p>-1&&p<n.children.length;){if(h=e(n.children[p],p,d)(),h[0]===i)return h;p="number"==typeof h[1]?h[1]:p+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);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)}},84862: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}')},74502: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}')},6614: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"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.80-alpha.1+9810e5e","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build -- --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.66-alpha.1+9810e5e","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0","immer":"^9.0.6"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^5.3.3","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"9810e5e24e43ccc0e0863569be1d45650296a88c"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.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);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"c1fe80",101:"f52e60",154:"07a8f6",267:"960f60",331:"dbe0b3",368:"75537b",769:"14f39b",848:"537c13"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)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+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.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(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.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,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.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&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{101:1,368:1,848:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.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=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.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;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.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))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>We.Z,Article:()=>kt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>$t,Catalog:()=>Mt,CatalogItems:()=>Rt,CompositionInput:()=>t.D7,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:()=>Le.Z,LoadingBar:()=>Ge,Logo:()=>Ie,Markdown:()=>Et,Model:()=>t.Hn,NavLink:()=>$e,PageLoader:()=>re,Plugin:()=>t.Sy,PoweredBy:()=>Re,Search:()=>qe,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Ut,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>Se,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>Ce,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>d.m8,isCancel:()=>t.Mw,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,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:()=>de.ZP,useAsset:()=>Oe,useAssetUrl:()=>Pe,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>ie.Z,useHotkeys:()=>t.y1,useInPreview:()=>Be,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>_e,useLogo:()=>ye,useModel:()=>t.tT,useNextArticle:()=>de.VI,useOptions:()=>t.D2,usePrevArticle:()=>de.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>Te.Z,useWindowSize:()=>je.Z,windowSizes:()=>je.D});var e={};a.r(e),a.d(e,{ask:()=>Y,book:()=>A,page:()=>U,search:()=>V});var t=a(92498),r=a(35250),n=a(56065);t.$B.prototype[n.sc]=!0;var o=a(87790),i=a.n(o),u=a(45990),c=a.n(u),l=a(366),f=a.n(l),h=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(69017),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(h),d=a(50361),m=(a(16585),a(11333),a(82357)),g=a.n(m),y=a(32078),v=a.n(y),b=a(33649),E=a.n(b),D=a(74158),w=a.n(D),x=a(12982),F=a.n(x);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}var A=new(function(e){E()(r,e);var t=S(r);function r(){return v()(this,r),t.apply(this,arguments)}return g()(r)}(t.Hn)),k=a(44220),C=a.n(k),P=a(6322),O=a.n(P),j=a(58089),T=a.n(j),_=a(76985),B=a.n(_),R=a(529),I=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function M(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new N(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function N(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return N=function(e){this.s=e,this.n=e.next},N.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new N(e)}var $=function(e){E()(n,e);var r=L(n);function n(){var e;v()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),O()(C()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return g()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=d.m8.location;d.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return T()(f().mark((function n(){var o,a,s,u,c,l,h,p,d,m,g,y,v;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(I()(M(r.getState("book")),B()),"t0",3);case 3:return o=n.t0,n.delegateYield(I()(M(r.getState("page")),B()),"t1",5);case 5:if(a=n.t1,s=a.request,u=a.config,n.prev=8,l=!0,h=decodeURI(e),p=function(){var e=i()(f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.get(h,u);case 2:return r=e.sent,n=r.data,o=r.status,l=200===o,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!o.sha||!("caches"in window)){n.next=32;break}return n.next=15,B()(caches.open("book-".concat(o.id,"-").concat(o.sha)));case 15:return d=n.sent,n.next=18,B()(d.match(h));case 18:if(!(m=n.sent)){n.next=23;break}return n.next=22,B()(m.json());case 22:c=n.sent;case 23:if(c){n.next=30;break}return n.next=26,B()(p());case 26:if(c=n.sent,!l){n.next=30;break}return n.next=30,B()(d.put(h,new Response(JSON.stringify(c),{headers:{"Content-Type":"application/json"},status:200})));case 30:n.next=35;break;case 32:return n.next=34,B()(p());case 34:c=n.sent;case 35:return y=(g=c).file,v=g.lfs,n.next=38,r.setState((function(e){e.file=new t.$B(y),e.lfs=v}));case 38:n.next=44;break;case 40:return n.prev=40,n.t2=n.catch(8),n.next=44,r.setState((function(e){e.error=n.t2}));case 44:return n.prev=44,n.next=47,r.setState((function(e){e.loading=!1}));case 47:return n.finish(44);case 48:case"end":return n.stop()}}),n,null,[[8,40,44,48]])})))()}},{key:"intercept",value:f().mark((function e(t){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),U=new $;a(33394),a(62443),a(82122),a(25013);function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function H(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return q=function(e){this.s=e,this.n=e.next},q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new q(e)}var V=new(function(e){E()(r,e);var t=z(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{status:"idle",results:[],query:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s,u;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(I()(H(t.getState("search")),B()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(I()(H(t.getState("book")),B()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,B()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=F()(e);if(t){var o=F()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new Q(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Q(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Q=function(e){this.s=e,this.n=e.next},Q.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new Q(e)}var K,Y=new(function(e){E()(r,e);var t=G(r);function r(){var e;v()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),O()(C()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return g()(r,[{key:"fetch",value:function(e){var t=this;return T()(f().mark((function r(){var n,o,i,a,s;return f().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(I()(W(t.getState("ask")),B()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,B()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=f().mark((function e(){var r,n,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Z=a(52815),J=a(28056),X=a.n(J);const ee=t.zo.div(K||(K=X()(["\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 var(--ttw-primary-color, #3c60ff);\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var te;function re(){return(0,r.jsx)(oe,{children:(0,r.jsx)(ee,{})})}var ne,oe=t.zo.div(te||(te=X()(["\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"]))),ie=a(19909),ae=a(47851),se=a.n(ae),ue=(0,h.createContext)(void 0);function ce(e){var n=e.children,o=(0,ie.Z)(),a=(0,t.LU)(),s=(0,t.r5)(i()(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(o.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),u=s.result,c=s.loading,l=(0,h.useMemo)((function(){return{primaryColor:new(se())(a.primaryColor)}}),[a]);return c?null:(0,r.jsx)(ue.Provider,{value:u,children:(0,r.jsxs)(t.f6,{theme:l,children:[(0,r.jsx)(le,{}),n]})})}var le=(0,t.vJ)(ne||(ne=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var fe=a(12147),he=a.n(fe);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var de=a(72794),me=(a(66164),a(7525),(0,h.createContext)(void 0));function ge(e){var n=e.children,o=(0,h.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),i=c()(o,2),a=i[0],s=i[1],u=(0,ie.Z)();return(0,h.useEffect)((function(){var e=u.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");if(t)try{t.drawImage(this,0,0),e.toBlob((function(e){e&&s(window.URL.createObjectURL(e))}))}catch(e){console.warn(e)}})),r.src=e}),[]),(0,r.jsx)(me.Provider,{value:a,children:n})}function ye(){return(0,h.useContext)(me)}var ve=a(22827),be=p().lazy((function(){return Promise.all([a.e(154),a.e(368)]).then(a.bind(a,11368))}));function Ee(){var e=(0,t.CQ)().summary,n=pe(),o=(0,ie.Z)(),i=(0,h.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,h.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=he()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":d.m8.replace(o[0]);break;case"push":d.m8.push(o[0])}}catch(e){}})),d.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ve.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ye();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)(de.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:be})})]})]})}var De=a(47354),we=a.n(De);function xe(){var n=(0,h.useState)(),o=c()(n,2),s=o[0],u=o[1];return(0,t.bd)(i()(f().mark((function n(){var o,s,c,l,h,p,m,g,y,v,b,E,D,w,x,F,S,A,k,C,P,O,j,T;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,o=(0,d.fi)(),s=o.location,c=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(s.toString());case 6:l=n.sent,c=l.data;case 8:return p=(h=c).id,m=h.sha,g=h.metadata,y=void 0===g?{}:g,v=h.summary,b=h.file,E=h.config,D=void 0===E?{}:E,w=h.options,x=void 0===w?{}:w,F=h.lfs,S=h.pluginCenter,A=t.De.createFromObject(D),k=t.ER.create(v),C=new t.fy(p,A,k,y,m),P={page:{config:{params:Z.parse(s.search)},file:new t.$B(b),lfs:F},options:x},n.next=15,(0,t.W3)({name:"reader",book:C,models:e,initialState:P,locale:A.getValue("language","zh-CN"),theme:A.getValue(["themeConfig","defaultMode"],"light"),localize:function(){var e=i()(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("zh")){e.next=7;break}return e.next=3,a.e(769).then(a.t.bind(a,87769,23));case 3:return we().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 7:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pluginCenter:S});case 15:O=n.sent,j=(0,r.jsx)(O,{children:(0,r.jsx)(ge,{children:(0,r.jsx)(ce,{children:(0,r.jsx)(Ee,{})})})}),u(j),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?u((null===(T=n.t0.response)||void 0===T?void 0:T.data)||n.t0.message):u(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),s||(0,r.jsx)(re,{})}var Fe=a(61533);const Se=function(){var e=document.getElementById("root");e&&(0,Fe.createRoot)(e).render((0,r.jsx)(xe,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Ae=a(82386),ke=a.n(Ae);Date.prototype.format=function(e){var 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()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),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},we().extend(ke());const Ce=we();function Pe(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Oe(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var je=a(36895),Te=a(16327);function _e(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,h.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function Be(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Re(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",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 Ie(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ye();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Le=a(61739),Me=a(18887),Ne=a.n(Me);function $e(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===Ne().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Le.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function Ue(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 ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He=(0,h.lazy)((function(){return a.e(848).then(a.bind(a,72848))}));function qe(e){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(He,ze({},e))})}var Ve=(0,h.lazy)((function(){return Promise.all([a.e(331),a.e(101)]).then(a.bind(a,17101))}));function Ge(){return(0,r.jsx)(h.Suspense,{fallback:null,children:(0,r.jsx)(Ve,{})})}var We=a(61419),Qe=a(64020),Ke=a.n(Qe),Ye=a(34889),Ze=a.n(Ye),Je=["element","src"];function Xe(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 et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e){var n=e.element,o=e.src,i=Ze()(e,Je),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&s&&!(0,t.CB)(o)&&u){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}return(0,r.jsx)(t.cu,{role:"page:asset",props:et({src:o},i),component:n})}function rt(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 nt(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function ot(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 it(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function at(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 st(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function ut(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 ct(e){return(0,r.jsx)(tt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function lt(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 ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e){var t=(0,de.ZP)();return(0,r.jsx)(We.Z,ft(ft({},e),{},{base:t}))}var pt,dt,mt,gt,yt=["children","components"];function vt(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 bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e){var n=e.children,o=e.components,i=Ze()(e,yt),a=(0,h.useContext)(ue);return(0,r.jsx)(t.UG,bt(bt({},i),{},{css:a,loader:(0,r.jsx)(ee,{}),components:(0,h.useMemo)((function(){return bt({a:ht,img:nt,attachment:it,video:st,audio:ct},o)}),[o]),children:n}))}var Dt=["depth","id","children"],wt=["className","header","footer","offset","aside"];function xt(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 Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){O()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var St={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=Ze()(e,Dt);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Ct,{tabIndex:-1,id:n}),o]})),(0,h.createElement)("h".concat(t),i,o)}},At=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function kt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=Ze()(e,wt),l=(0,ie.Z)(),f=(0,de.ZP)();(0,h.useEffect)((function(){At(d.m8.location.hash);var e=d.m8.listen((function(e){At(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&f&&(o=(0,r.jsx)(Ot,{children:f.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Ke()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Ke()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var p=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:Et,props:Ft({header:o,footer:i,aside:u,children:l.content,components:St},c)});return(0,r.jsx)(Pt,{className:n,offset:a,children:p},l.path)}var Ct=t.zo.a(pt||(pt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),Pt=t.zo.div(dt||(dt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(mt||(mt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Ct,e.offset)})),Ot=t.zo.h1(gt||(gt=X()(["\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"]))),jt=a(45471),Tt=a.n(jt),_t=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,i=e.itemsComponent,a=(0,ie.Z)().path,s=(0,de.ZP)(),u=(0,t.LU)(),l=(0,h.useMemo)((function(){return Boolean(s&&n.getLevel().isDescendant(s.getLevel()))}),[n,s]),f=a===n.getPath(),p=(0,h.useState)((function(){return-1===u.expandLevel||u.expandLevel>=n.level.getDepth()||(l||f)})),d=c()(p,2),m=d[0],g=d[1];(0,h.useEffect)((function(){!m&&f&&g(!0)}),[f]),(0,h.useEffect)((function(){!m&&l&&g(!0)}),[l]);var y=n.children.length>0,v=!n.getPath(),b=y?(0,r.jsx)(Rt,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:g,active:f,disabled:v,activeDescendant:l,children:b},component:o})}),Bt=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Rt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?Bt:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(_t,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},It=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Rt,{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})},Lt=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Rt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)(It,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function Mt(e){var n=Object.assign({},(Tt()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Lt,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Nt=function(e){return e instanceof t.oI?(0,r.jsx)(Le.Z,{to:e}):e.title};function $t(e){var n=e.className,o=e.renderItem,i=void 0===o?Nt:o,a=(0,t.CQ)().summary,s=(0,de.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Le.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Ut(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,de.ZP)(),i=(0,ie.Z)();return(0,h.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&d.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
|
|
413
413
|
//# sourceMappingURL=index.js.map
|