@rsdoctor/client 1.5.7 → 1.5.9
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/diff.html +1 -1
- package/dist/index.html +1 -1
- package/dist/resource/css/601.20cc6df9.css +1 -0
- package/dist/resource/js/383.2e75ce49.js +2 -0
- package/dist/resource/js/{702.19a48c2a.js → 577.10ff2379.js} +61 -61
- package/dist/resource/js/601.4795ffd6.js +112 -0
- package/dist/resource/js/641.c0cd2597.js +1 -0
- package/dist/resource/js/diff.9024cc44.js +57 -0
- package/dist/resource/js/index.7583a394.js +91 -0
- package/dist/resource/js/{rc-0.327357c3.js → rc-0.f5bcb33d.js} +1 -1
- package/dist/resource/js/rc-1.08d0910e.js +1 -0
- package/dist/resource/js/{react.419e5c4a.js → react.f1c1c97a.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/resource/css/904.99c13fd4.css +0 -1
- package/dist/resource/js/709.d24e2ffb.js +0 -2
- package/dist/resource/js/736.04fd2dc8.js +0 -1
- package/dist/resource/js/904.9d3c9413.js +0 -112
- package/dist/resource/js/diff.c3f45786.js +0 -57
- package/dist/resource/js/index.d65452dc.js +0 -91
- package/dist/resource/js/rc-1.eb2754d2.js +0 -1
- package/dist/resource/js/vender.897ee4e5.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["641"],{66050(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>ep});var r=n(77161),i=n(57970),o=n(23850),a=n(45804),l=n(56323),s=n(81703),u=n(60185),c=n(60410),f=n(5908),d=n(22155),p=n(45983),h=n(80416);let g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var m=n(24032),v=n(30395),y=n.n(v);let b={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return d.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return d.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function k(e,t,n){return Math.max(t,Math.min(e,n))}var x=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},S=function(e){for(var t=[],n=w(e),r=A(e),i=n;i<r;i++)0>e.lazyLoadedList.indexOf(i)&&t.push(i);return t},w=function(e){return e.currentSlide-E(e)},A=function(e){return e.currentSlide+C(e)},E=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},C=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},O=function(e){return e&&e.offsetWidth||0},M=function(e){return e&&e.offsetHeight||0},P=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)return"left";if(n>=135&&n<=225)return"right";if(!0===r)if(n>=35&&n<=135)return"up";else return"down";return"vertical"},L=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},R=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},N=function(e){var t,n=d.Children.count(e.children),r=e.listRef,o=Math.ceil(O(r)),a=Math.ceil(O(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var s=r&&M(r.querySelector('[data-index="0"]')),u=s*e.slidesToShow,c=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(c=n-1-e.initialSlide);var f=e.lazyLoadedList||[],p=S((0,i.A)((0,i.A)({},e),{},{currentSlide:c,lazyLoadedList:f})),h={slideCount:n,slideWidth:t,listWidth:o,trackWidth:a,currentSlide:c,slideHeight:s,listHeight:u,lazyLoadedList:f=f.concat(p)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},T=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,l=e.slideCount,s=e.lazyLoad,u=e.currentSlide,c=e.centerMode,f=e.slidesToScroll,d=e.slidesToShow,p=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};var g,m,v,y=a,b={},x={},w=o?a:k(a,0,l-1);if(r){if(!o&&(a<0||a>=l))return{};a<0?y=a+l:a>=l&&(y=a-l),s&&0>h.indexOf(y)&&(h=h.concat(y)),b={animating:!0,currentSlide:y,lazyLoadedList:h,targetSlide:y},x={animating:!1,targetSlide:y}}else g=y,y<0?(g=y+l,o?l%f!=0&&(g=l-l%f):g=0):!L(e)&&y>u?y=g=u:c&&y>=l?(y=o?l:l-1,g=o?0:l-1):y>=l&&(g=y-l,o?l%f!=0&&(g=0):g=l-d),!o&&y+d>=l&&(g=l-d),m=V((0,i.A)((0,i.A)({},e),{},{slideIndex:y})),v=V((0,i.A)((0,i.A)({},e),{},{slideIndex:g})),o||(m===v&&(y=g),m=v),s&&(h=h.concat(S((0,i.A)((0,i.A)({},e),{},{currentSlide:y})))),p?(b={animating:!0,currentSlide:g,trackStyle:W((0,i.A)((0,i.A)({},e),{},{left:m})),lazyLoadedList:h,targetSlide:w},x={animating:!1,currentSlide:g,trackStyle:B((0,i.A)((0,i.A)({},e),{},{left:v})),swipeLeft:null,targetSlide:w}):b={currentSlide:g,trackStyle:B((0,i.A)((0,i.A)({},e),{},{left:v})),lazyLoadedList:h,targetSlide:w};return{state:b,nextState:x}},I=function(e,t){var n,r,o,a,l=e.slidesToScroll,s=e.slidesToShow,u=e.slideCount,c=e.currentSlide,f=e.targetSlide,d=e.lazyLoad,p=e.infinite;if(n=u%l!=0?0:(u-c)%l,"previous"===t.message)a=c-(o=0===n?l:s-n),d&&!p&&(a=-1==(r=c-o)?u-1:r),p||(a=f-l);else if("next"===t.message)a=c+(o=0===n?l:n),d&&!p&&(a=(c+l)%u+n),p||(a=f+l);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var h=q((0,i.A)((0,i.A)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===h?a-=u:a<t.currentSlide&&"right"===h&&(a+=u)}}else"index"===t.message&&(a=Number(t.index));return a},D=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,a=t.swipeToSlide,l=t.verticalSwiping,s=t.rtl,u=t.currentSlide,c=t.edgeFriction,f=t.edgeDragged,d=t.onEdge,p=t.swiped,h=t.swiping,g=t.slideCount,m=t.slidesToScroll,v=t.infinite,y=t.touchObject,b=t.swipeEvent,k=t.listHeight,S=t.listWidth;if(!n){if(r)return x(e);o&&a&&l&&x(e);var w,A={},E=V(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));var C=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!l&&!h&&C>10)return{scrolling:!0};l&&(y.swipeLength=C);var O=(s?-1:1)*(y.curX>y.startX?1:-1);l&&(O=y.curY>y.startY?1:-1);var M=Math.ceil(g/m),R=P(t.touchObject,l),N=y.swipeLength;return!v&&(0===u&&("right"===R||"down"===R)||u+1>=M&&("left"===R||"up"===R)||!L(t)&&("left"===R||"up"===R))&&(N=y.swipeLength*c,!1===f&&d&&(d(R),A.edgeDragged=!0)),!p&&b&&(b(R),A.swiped=!0),w=o?E+k/S*N*O:s?E-N*O:E+N*O,l&&(w=E+N*O),A=(0,i.A)((0,i.A)({},A),{},{touchObject:y,swipeLeft:w,trackStyle:B((0,i.A)((0,i.A)({},t),{},{left:w}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(A.swiping=!0,x(e)),A}},_=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,l=t.touchThreshold,s=t.verticalSwiping,u=t.listHeight,c=t.swipeToSlide,f=t.scrolling,d=t.onSwipe,p=t.targetSlide,h=t.currentSlide,g=t.infinite;if(!n)return r&&x(e),{};var m=s?u/l:a/l,v=P(o,s),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!o.swipeLength)return y;if(o.swipeLength>m){x(e),d&&d(v);var b,k,S=g?h:p;switch(v){case"left":case"up":k=S+F(t),b=c?j(t,k):k,y.currentDirection=0;break;case"right":case"down":k=S-F(t),b=c?j(t,k):k,y.currentDirection=1;break;default:b=S}y.triggerSlideHandler=b}else{var w=V(t);y.trackStyle=W((0,i.A)((0,i.A)({},t),{},{left:w}))}return y},z=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i},j=function(e,t){var n=z(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},F=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var n,r=e.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(e.vertical){if(r.offsetTop+M(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+O(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1},H=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},B=function(e){if(H(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical){var t,n;n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight}else t=Y(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.A)((0,i.A)({},r),{},{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},W=function(e){H(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=B(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},V=function(e){if(e.unslick)return 0;H(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,i=e.centerMode,o=e.slideCount,a=e.slidesToShow,l=e.slidesToScroll,s=e.slideWidth,u=e.listWidth,c=e.variableWidth,f=e.slideHeight,d=e.fade,p=e.vertical,h=0,g=0;if(d||1===e.slideCount)return 0;var m=0;if(r?(m=-U(e),o%l!=0&&t+l>o&&(m=-(t>o?a-(t-o):o%l)),i&&(m+=parseInt(a/2))):(o%l!=0&&t+l>o&&(m=a-o%l),i&&(m=parseInt(a/2))),h=m*s,g=m*f,v=p?-(t*f*1)+g:-(t*s*1)+h,!0===c){var v,y,b,k=n&&n.node;if(b=t+U(e),v=(y=k&&k.childNodes[b])?-1*y.offsetLeft:0,!0===i){b=r?t+U(e):t,y=k&&k.children[b],v=0;for(var x=0;x<b;x++)v-=k&&k.children[x]&&k.children[x].offsetWidth;v-=parseInt(e.centerPadding),v+=y&&(u-y.offsetWidth)/2}}return v},U=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+ +!!e.centerMode},$=function(e){return e.unslick||!e.infinite?0:e.slideCount},Y=function(e){return 1===e.slideCount?1:U(e)+e.slideCount+$(e)},q=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+X(e)?"left":"right":e.targetSlide<e.currentSlide-K(e)?"right":"left"},X=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1},K=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0},G=function(){return!!("u">typeof window&&window.document&&window.document.createElement)},J=Object.keys(b),Q=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},Z=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},ee=function(e,t){return e.key+"-"+t},et=function(e){var t,n=[],r=[],o=[],a=d.Children.count(e.children),l=w(e),s=A(e);return(d.Children.forEach(e.children,function(u,c){var f,p={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?u:d.createElement("div",null);var h=Z((0,i.A)((0,i.A)({},e),{},{index:c})),g=f.props.className||"",m=Q((0,i.A)((0,i.A)({},e),{},{index:c}));if(n.push(d.cloneElement(f,{key:"original"+ee(f,c),"data-index":c,className:y()(m,g),tabIndex:"-1","aria-hidden":!m["slick-active"],style:(0,i.A)((0,i.A)({outline:"none"},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&a>1&&!1===e.fade&&!e.unslick){var v=a-c;v<=U(e)&&((t=-v)>=l&&(f=u),m=Q((0,i.A)((0,i.A)({},e),{},{index:t})),r.push(d.cloneElement(f,{key:"precloned"+ee(f,t),"data-index":t,tabIndex:"-1",className:y()(m,g),"aria-hidden":!m["slick-active"],style:(0,i.A)((0,i.A)({},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),(t=a+c)<s&&(f=u),m=Q((0,i.A)((0,i.A)({},e),{},{index:t})),o.push(d.cloneElement(f,{key:"postcloned"+ee(f,t),"data-index":t,tabIndex:"-1",className:y()(m,g),"aria-hidden":!m["slick-active"],style:(0,i.A)((0,i.A)({},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))}}),e.rtl)?r.concat(n,o).reverse():r.concat(n,o)},en=function(e){function t(){(0,o.A)(this,t);for(var e,n,r,i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=t,r=[].concat(a),n=(0,u.A)(n),e=(0,l.A)(this,(0,s.A)()?Reflect.construct(n,r||[],(0,u.A)(this).constructor):n.apply(this,r)),(0,f.A)(e,"node",null),(0,f.A)(e,"handleRef",function(t){e.node=t}),e}return(0,c.A)(t,e),(0,a.A)(t,[{key:"render",value:function(){var e=et(this.props),t=this.props,n=t.onMouseEnter,i=t.onMouseOver,o=t.onMouseLeave;return d.createElement("div",(0,r.A)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:n,onMouseOver:i,onMouseLeave:o}),e)}}])}(d.PureComponent),er=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1},ei=function(e){function t(){var e,n;return(0,o.A)(this,t),e=t,n=arguments,e=(0,u.A)(e),(0,l.A)(this,(0,s.A)()?Reflect.construct(e,n||[],(0,u.A)(this).constructor):e.apply(this,n))}return(0,c.A)(t,e),(0,a.A)(t,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,r=e.onMouseLeave,o=e.infinite,a=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,u=e.currentSlide,c=er({slideCount:s,slidesToScroll:a,slidesToShow:l,infinite:o}),f=[],p=0;p<c;p++){var h=(p+1)*a-1,g=o?h:k(h,0,s-1),m=g-(a-1),v=o?m:k(m,0,s-1),b=y()({"slick-active":o?u>=v&&u<=g:u===v}),x={message:"dots",index:p,slidesToScroll:a,currentSlide:u},S=this.clickHandler.bind(this,x);f=f.concat(d.createElement("li",{key:p,className:b},d.cloneElement(this.props.customPaging(p),{onClick:S})))}return d.cloneElement(this.props.appendDots(f),(0,i.A)({className:this.props.dotsClass},{onMouseEnter:t,onMouseOver:n,onMouseLeave:r}))}}])}(d.PureComponent);function eo(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,(0,s.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var ea=function(e){function t(){return(0,o.A)(this,t),eo(this,t,arguments)}return(0,c.A)(t,e),(0,a.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?d.cloneElement(this.props.prevArrow,(0,i.A)((0,i.A)({},n),o)):d.createElement("button",(0,r.A)({key:"0",type:"button"},n)," ","Previous")}}])}(d.PureComponent),el=function(e){function t(){return(0,o.A)(this,t),eo(this,t,arguments)}return(0,c.A)(t,e),(0,a.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});L(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?d.cloneElement(this.props.nextArrow,(0,i.A)((0,i.A)({},n),o)):d.createElement("button",(0,r.A)({key:"1",type:"button"},n)," ","Next")}}])}(d.PureComponent),es=n(87922),eu=["animating"],ec=function(e){function t(e){(0,o.A)(this,t),n=t,a=[e],n=(0,u.A)(n),c=(0,l.A)(this,(0,s.A)()?Reflect.construct(n,a||[],(0,u.A)(this).constructor):n.apply(this,a)),(0,f.A)(c,"listRefHandler",function(e){return c.list=e}),(0,f.A)(c,"trackRefHandler",function(e){return c.track=e}),(0,f.A)(c,"adaptHeight",function(){if(c.props.adaptiveHeight&&c.list){var e=c.list.querySelector('[data-index="'.concat(c.state.currentSlide,'"]'));c.list.style.height=M(e)+"px"}}),(0,f.A)(c,"componentDidMount",function(){if(c.props.onInit&&c.props.onInit(),c.props.lazyLoad){var e=S((0,i.A)((0,i.A)({},c.props),c.state));e.length>0&&(c.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),c.props.onLazyLoad&&c.props.onLazyLoad(e))}var t=(0,i.A)({listRef:c.list,trackRef:c.track},c.props);c.updateState(t,!0,function(){c.adaptHeight(),c.props.autoplay&&c.autoPlay("playing")}),"progressive"===c.props.lazyLoad&&(c.lazyLoadTimer=setInterval(c.progressiveLazyLoad,1e3)),c.ro=new es.A(function(){c.state.animating?(c.onWindowResized(!1),c.callbackTimers.push(setTimeout(function(){return c.onWindowResized()},c.props.speed))):c.onWindowResized()}),c.ro.observe(c.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=c.props.pauseOnFocus?c.onSlideFocus:null,e.onblur=c.props.pauseOnFocus?c.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",c.onWindowResized):window.attachEvent("onresize",c.onWindowResized)}),(0,f.A)(c,"componentWillUnmount",function(){c.animationEndCallback&&clearTimeout(c.animationEndCallback),c.lazyLoadTimer&&clearInterval(c.lazyLoadTimer),c.callbackTimers.length&&(c.callbackTimers.forEach(function(e){return clearTimeout(e)}),c.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",c.onWindowResized):window.detachEvent("onresize",c.onWindowResized),c.autoplayTimer&&clearInterval(c.autoplayTimer),c.ro.disconnect()}),(0,f.A)(c,"componentDidUpdate",function(e){if(c.checkImagesLoad(),c.props.onReInit&&c.props.onReInit(),c.props.lazyLoad){var t=S((0,i.A)((0,i.A)({},c.props),c.state));t.length>0&&(c.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),c.props.onLazyLoad&&c.props.onLazyLoad(t))}c.adaptHeight();var n=(0,i.A)((0,i.A)({listRef:c.list,trackRef:c.track},c.props),c.state),r=c.didPropsChange(e);r&&c.updateState(n,r,function(){c.state.currentSlide>=d.Children.count(c.props.children)&&c.changeSlide({message:"index",index:d.Children.count(c.props.children)-c.props.slidesToShow,currentSlide:c.state.currentSlide}),(e.autoplay!==c.props.autoplay||e.autoplaySpeed!==c.props.autoplaySpeed)&&(!e.autoplay&&c.props.autoplay?c.autoPlay("playing"):c.props.autoplay?c.autoPlay("update"):c.pause("paused"))})}),(0,f.A)(c,"onWindowResized",function(e){c.debouncedResize&&c.debouncedResize.cancel(),c.debouncedResize=(0,m.s)(50,function(){return c.resizeWindow(e)}),c.debouncedResize()}),(0,f.A)(c,"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(c.track&&c.track.node){var t=(0,i.A)((0,i.A)({listRef:c.list,trackRef:c.track},c.props),c.state);c.updateState(t,e,function(){c.props.autoplay?c.autoPlay("update"):c.pause("paused")}),c.setState({animating:!1}),clearTimeout(c.animationEndCallback),delete c.animationEndCallback}}),(0,f.A)(c,"updateState",function(e,t,n){var r=N(e),o=V(e=(0,i.A)((0,i.A)((0,i.A)({},e),r),{},{slideIndex:r.currentSlide})),a=B(e=(0,i.A)((0,i.A)({},e),{},{left:o}));(t||d.Children.count(c.props.children)!==d.Children.count(e.children))&&(r.trackStyle=a),c.setState(r,n)}),(0,f.A)(c,"ssrInit",function(){if(c.props.variableWidth){var e=0,t=0,n=[],r=U((0,i.A)((0,i.A)((0,i.A)({},c.props),c.state),{},{slideCount:c.props.children.length})),o=$((0,i.A)((0,i.A)((0,i.A)({},c.props),c.state),{},{slideCount:c.props.children.length}));c.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var a=0;a<r;a++)t+=n[n.length-1-a],e+=n[n.length-1-a];for(var l=0;l<o;l++)e+=n[l];for(var s=0;s<c.state.currentSlide;s++)t+=n[s];var u={width:e+"px",left:-t+"px"};if(c.props.centerMode){var f="".concat(n[c.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:u}}var p=d.Children.count(c.props.children),h=(0,i.A)((0,i.A)((0,i.A)({},c.props),c.state),{},{slideCount:p}),g=U(h)+$(h)+p,m=100/c.props.slidesToShow*g,v=100/g,y=-v*(U(h)+c.state.currentSlide)*m/100;return c.props.centerMode&&(y+=(100-v*m/100)/2),{slideWidth:v+"%",trackStyle:{width:m+"%",left:y+"%"}}}),(0,f.A)(c,"checkImagesLoad",function(){var e=c.list&&c.list.querySelectorAll&&c.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&c.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(c.props.lazyLoad?e.onload=function(){c.adaptHeight(),c.callbackTimers.push(setTimeout(c.onWindowResized,c.props.speed))}:(e.onload=r,e.onerror=function(){r(),c.props.onLazyLoadError&&c.props.onLazyLoadError()}))})}),(0,f.A)(c,"progressiveLazyLoad",function(){for(var e=[],t=(0,i.A)((0,i.A)({},c.props),c.state),n=c.state.currentSlide;n<c.state.slideCount+$(t);n++)if(0>c.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var r=c.state.currentSlide-1;r>=-U(t);r--)if(0>c.state.lazyLoadedList.indexOf(r)){e.push(r);break}e.length>0?(c.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),c.props.onLazyLoad&&c.props.onLazyLoad(e)):c.lazyLoadTimer&&(clearInterval(c.lazyLoadTimer),delete c.lazyLoadTimer)}),(0,f.A)(c,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=c.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,l=n.speed,s=n.afterChange,u=c.state.currentSlide,f=T((0,i.A)((0,i.A)((0,i.A)({index:e},c.props),c.state),{},{trackRef:c.track,useCSS:c.props.useCSS&&!t})),d=f.state,p=f.nextState;if(d){o&&o(u,d.currentSlide);var g=d.lazyLoadedList.filter(function(e){return 0>c.state.lazyLoadedList.indexOf(e)});a&&g.length>0&&a(g),!c.props.waitForAnimate&&c.animationEndCallback&&(clearTimeout(c.animationEndCallback),s&&s(u),delete c.animationEndCallback),c.setState(d,function(){r&&c.asNavForIndex!==e&&(c.asNavForIndex=e,r.innerSlider.slideHandler(e)),p&&(c.animationEndCallback=setTimeout(function(){var e=p.animating,t=(0,h.A)(p,eu);c.setState(t,function(){c.callbackTimers.push(setTimeout(function(){return c.setState({animating:e})},10)),s&&s(d.currentSlide),delete c.animationEndCallback})},l))})}}),(0,f.A)(c,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=I((0,i.A)((0,i.A)({},c.props),c.state),e);if((0===n||n)&&(!0===t?c.slideHandler(n,t):c.slideHandler(n),c.props.autoplay&&c.autoPlay("update"),c.props.focusOnSelect)){var r=c.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),(0,f.A)(c,"clickHandler",function(e){!1===c.clickable&&(e.stopPropagation(),e.preventDefault()),c.clickable=!0}),(0,f.A)(c,"keyHandler",function(e){var t,n,r=(t=c.props.accessibility,n=c.props.rtl,e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":"");""!==r&&c.changeSlide({message:r})}),(0,f.A)(c,"selectHandler",function(e){c.changeSlide(e)}),(0,f.A)(c,"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,f.A)(c,"enableBodyScroll",function(){window.ontouchmove=null}),(0,f.A)(c,"swipeStart",function(e){c.props.verticalSwiping&&c.disableBodyScroll();var t,n,r=(t=c.props.swipe,n=c.props.draggable,("IMG"===e.target.tagName&&x(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:"");""!==r&&c.setState(r)}),(0,f.A)(c,"swipeMove",function(e){var t=D(e,(0,i.A)((0,i.A)((0,i.A)({},c.props),c.state),{},{trackRef:c.track,listRef:c.list,slideIndex:c.state.currentSlide}));t&&(t.swiping&&(c.clickable=!1),c.setState(t))}),(0,f.A)(c,"swipeEnd",function(e){var t=_(e,(0,i.A)((0,i.A)((0,i.A)({},c.props),c.state),{},{trackRef:c.track,listRef:c.list,slideIndex:c.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,c.setState(t),void 0!==n&&(c.slideHandler(n),c.props.verticalSwiping&&c.enableBodyScroll())}}),(0,f.A)(c,"touchEnd",function(e){c.swipeEnd(e),c.clickable=!0}),(0,f.A)(c,"slickPrev",function(){c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"previous"})},0))}),(0,f.A)(c,"slickNext",function(){c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"next"})},0))}),(0,f.A)(c,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";c.callbackTimers.push(setTimeout(function(){return c.changeSlide({message:"index",index:e,currentSlide:c.state.currentSlide},t)},0))}),(0,f.A)(c,"play",function(){var e;if(c.props.rtl)e=c.state.currentSlide-c.props.slidesToScroll;else{if(!L((0,i.A)((0,i.A)({},c.props),c.state)))return!1;e=c.state.currentSlide+c.props.slidesToScroll}c.slideHandler(e)}),(0,f.A)(c,"autoPlay",function(e){c.autoplayTimer&&clearInterval(c.autoplayTimer);var t=c.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;c.autoplayTimer=setInterval(c.play,c.props.autoplaySpeed+50),c.setState({autoplaying:"playing"})}),(0,f.A)(c,"pause",function(e){c.autoplayTimer&&(clearInterval(c.autoplayTimer),c.autoplayTimer=null);var t=c.state.autoplaying;"paused"===e?c.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&c.setState({autoplaying:"focused"}):"playing"===t&&c.setState({autoplaying:"hovered"})}),(0,f.A)(c,"onDotsOver",function(){return c.props.autoplay&&c.pause("hovered")}),(0,f.A)(c,"onDotsLeave",function(){return c.props.autoplay&&"hovered"===c.state.autoplaying&&c.autoPlay("leave")}),(0,f.A)(c,"onTrackOver",function(){return c.props.autoplay&&c.pause("hovered")}),(0,f.A)(c,"onTrackLeave",function(){return c.props.autoplay&&"hovered"===c.state.autoplaying&&c.autoPlay("leave")}),(0,f.A)(c,"onSlideFocus",function(){return c.props.autoplay&&c.pause("focused")}),(0,f.A)(c,"onSlideBlur",function(){return c.props.autoplay&&"focused"===c.state.autoplaying&&c.autoPlay("blur")}),(0,f.A)(c,"render",function(){var e,t,n,o=y()("slick-slider",c.props.className,{"slick-vertical":c.props.vertical,"slick-initialized":!0}),a=(0,i.A)((0,i.A)({},c.props),c.state),l=R(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),s=c.props.pauseOnHover;if(l=(0,i.A)((0,i.A)({},l),{},{onMouseEnter:s?c.onTrackOver:null,onMouseLeave:s?c.onTrackLeave:null,onMouseOver:s?c.onTrackOver:null,focusOnSelect:c.props.focusOnSelect&&c.clickable?c.selectHandler:null}),!0===c.props.dots&&c.state.slideCount>=c.props.slidesToShow){var u=R(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=c.props.pauseOnDotsHover;u=(0,i.A)((0,i.A)({},u),{},{clickHandler:c.changeSlide,onMouseEnter:f?c.onDotsLeave:null,onMouseOver:f?c.onDotsOver:null,onMouseLeave:f?c.onDotsLeave:null}),e=d.createElement(ei,u)}var p=R(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=c.changeSlide,c.props.arrows&&(t=d.createElement(ea,p),n=d.createElement(el,p));var h=null;c.props.vertical&&(h={height:c.state.listHeight});var g=null;!1===c.props.vertical?!0===c.props.centerMode&&(g={padding:"0px "+c.props.centerPadding}):!0===c.props.centerMode&&(g={padding:c.props.centerPadding+" 0px"});var m=(0,i.A)((0,i.A)({},h),g),v=c.props.touchMove,b={className:"slick-list",style:m,onClick:c.clickHandler,onMouseDown:v?c.swipeStart:null,onMouseMove:c.state.dragging&&v?c.swipeMove:null,onMouseUp:v?c.swipeEnd:null,onMouseLeave:c.state.dragging&&v?c.swipeEnd:null,onTouchStart:v?c.swipeStart:null,onTouchMove:c.state.dragging&&v?c.swipeMove:null,onTouchEnd:v?c.touchEnd:null,onTouchCancel:c.state.dragging&&v?c.swipeEnd:null,onKeyDown:c.props.accessibility?c.keyHandler:null},k={className:o,dir:"ltr",style:c.props.style};return c.props.unslick&&(b={className:"slick-list"},k={className:o,style:c.props.style}),d.createElement("div",k,c.props.unslick?"":t,d.createElement("div",(0,r.A)({ref:c.listRefHandler},b),d.createElement(en,(0,r.A)({ref:c.trackRefHandler},l),c.props.children)),c.props.unslick?"":n,c.props.unslick?"":e)}),c.list=null,c.track=null,c.state=(0,i.A)((0,i.A)({},g),{},{currentSlide:c.props.initialSlide,targetSlide:c.props.initialSlide?c.props.initialSlide:0,slideCount:d.Children.count(c.props.children)}),c.callbackTimers=[],c.clickable=!0,c.debouncedResize=null;var n,a,c,p=c.ssrInit();return c.state=(0,i.A)((0,i.A)({},c.state),p),c}return(0,c.A)(t,e),(0,a.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!e.hasOwnProperty(i)||!("object"===(0,p.A)(e[i])||"function"==typeof e[i]||isNaN(e[i]))&&e[i]!==this.props[i]){t=!0;break}}return t||d.Children.count(this.props.children)!==d.Children.count(e.children)}}])}(d.Component),ef=n(51148),ed=n.n(ef);let ep=function(e){function t(e){var n,r,i;return(0,o.A)(this,t),r=t,i=[e],r=(0,u.A)(r),n=(0,l.A)(this,(0,s.A)()?Reflect.construct(r,i||[],(0,u.A)(this).constructor):r.apply(this,i)),(0,f.A)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,f.A)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,f.A)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,f.A)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)}),(0,f.A)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,f.A)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,c.A)(t,e),(0,a.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var i;i=0===r?ed()({minWidth:0,maxWidth:n}):ed()({minWidth:t[r-1]+1,maxWidth:n}),G()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=ed()({minWidth:t.slice(-1)[0]});G()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,i.A)((0,i.A)((0,i.A)({},b),this.props),t[0].settings):(0,i.A)((0,i.A)({},b),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=d.Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,s=0;s<o.length;s+=e.rows*e.slidesPerRow){for(var u=[],c=s;c<s+e.rows*e.slidesPerRow;c+=e.slidesPerRow){for(var f=[],p=c;p<c+e.slidesPerRow&&(e.variableWidth&&o[p].props.style&&(l=o[p].props.style.width),!(p>=o.length));p+=1)f.push(d.cloneElement(o[p],{key:100*s+10*c+p,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(d.createElement("div",{key:10*s+c},f))}e.variableWidth?a.push(d.createElement("div",{key:s,style:{width:l}},u)):a.push(d.createElement("div",{key:s},u))}if("unslick"===e){var h="regular slider "+(this.props.className||"");return d.createElement("div",{className:h},o)}return a.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),d.createElement(ec,(0,r.A)({style:this.props.style,ref:this.innerSliderRefHandler},J.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})),a)}}])}(d.Component)},6284(e,t,n){"use strict";n.r(t),n.d(t,{inputToRGB:()=>d.RO,rgbToHsl:()=>l.K6,toMsFilter:()=>s,hslToRgb:()=>l.YL,legacyRandom:()=>f,stringInputToObject:()=>d.IA,tinycolor:()=>r.y,TinyColor:()=>r.q,names:()=>i.D,bounds:()=>m,parseIntFromHex:()=>l.g8,fromRatio:()=>c,isValidCSSUnit:()=>d.ib,default:()=>v,hsvToRgb:()=>l.Me,mostReadable:()=>function e(t,n,i){void 0===i&&(i={includeFallbackColors:!1,level:"AA",size:"small"});for(var l=null,s=0,u=i.includeFallbackColors,c=i.level,f=i.size,d=0;d<n.length;d++){var p=n[d],h=o(t,p);h>s&&(s=h,l=new r.q(p))}return a(t,l,{level:c,size:f})||!u?l:(i.includeFallbackColors=!1,e(t,["#fff","#000"],i))},numberInputToObject:()=>l.oS,convertHexToDecimal:()=>l.n6,convertDecimalToHex:()=>l.z4,rgbToHsv:()=>l.wE,isReadable:()=>a,rgbToHex:()=>l.Ob,rgbToRgb:()=>l._,rgbaToHex:()=>l.H,rgbaToArgbHex:()=>l.xq,random:()=>function e(t){if(void 0===t&&(t={}),void 0!==t.count&&null!==t.count){var n,i,o,a=t.count,l=[];for(t.count=void 0;a>l.length;)t.count=null,t.seed&&(t.seed+=1),l.push(e(t));return t.count=a,l}var s=(n=t.hue,i=t.seed,(o=h(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var n=m.find(function(t){return t.name===e});if(n){var i=g(n);if(i.hueRange)return i.hueRange}var o=new r.q(e);if(o.isValid){var a=o.toHsv().h;return[a,a]}}return[0,360]}(n),i))<0&&(o=360+o),o),u=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return h([0,100],t.seed);var n=p(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55}return h([r,i],t.seed)}(s,t),c=function(e,t,n){var r=function(e,t){for(var n=p(e).lowerBounds,r=0;r<n.length-1;r++){var i=n[r][0],o=n[r][1],a=n[r+1][0],l=n[r+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100}return h([r,i],n.seed)}(s,u,t),f={h:s,s:u,v:c};return void 0!==t.alpha&&(f.a=t.alpha),new r.q(f)},readability:()=>o});var r=n(32006),i=n(60718);function o(e,t){var n=new r.q(e),i=new r.q(t);return(Math.max(n.getLuminance(),i.getLuminance())+.05)/(Math.min(n.getLuminance(),i.getLuminance())+.05)}function a(e,t,n){void 0===n&&(n={level:"AA",size:"small"});var r,i,a=o(e,t);switch((null!=(r=n.level)?r:"AA")+(null!=(i=n.size)?i:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}var l=n(18956);function s(e,t){var n=new r.q(e),i="#"+(0,l.xq)(n.r,n.g,n.b,n.a),o=i,a=n.gradientType?"GradientType = 1, ":"";if(t){var s=new r.q(t);o="#"+(0,l.xq)(s.r,s.g,s.b,s.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(a,"startColorstr=").concat(i,",endColorstr=").concat(o,")")}var u=n(60024);function c(e,t){var n={r:(0,u.Px)(e.r),g:(0,u.Px)(e.g),b:(0,u.Px)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.q(n,t)}function f(){return new r.q({r:Math.random(),g:Math.random(),b:Math.random()})}var d=n(57358);function p(e){e>=334&&e<=360&&(e-=360);for(var t=0;t<m.length;t++){var n=g(m[t]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function h(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;return Math.floor(r+(t=(9301*t+49297)%233280)/233280*(n-r))}function g(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var m=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];let v=r.y},90563(e,t,n){"use strict";n.r(t),n.d(t,{Color:()=>b,ColorBlock:()=>C,default:()=>z});var r=n(77161),i=n(5908),o=n(97251),a=n(22155),l=n(57970),s=n(23850),u=n(45804),c=n(60410),f=n(80451),d=n(80416),p=n(45983),h=n(32006),g=["b"],m=["v"],v=function(e){return Math.round(Number(e||0))},y=function(e){if(e&&"object"===(0,p.A)(e)&&"h"in e&&"b"in e){var t=e.b,n=(0,d.A)(e,g);return(0,l.A)((0,l.A)({},n),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},b=function(e){(0,c.A)(n,e);var t=(0,f.A)(n);function n(e){return(0,s.A)(this,n),t.call(this,y(e))}return(0,u.A)(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=v(100*e.s),n=v(100*e.b),r=v(e.h),i=e.a,o="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(i.toFixed(2*(0!==i)),")");return 1===i?o:a}},{key:"toHsb",value:function(){var e=this.toHsv();"object"===(0,p.A)(this.originalInput)&&this.originalInput&&"h"in this.originalInput&&(e=this.originalInput);var t=e,n=(t.v,(0,d.A)(t,m));return(0,l.A)((0,l.A)({},n),{},{b:e.v,a:this.a})}}]),n}(h.q),k=function(e){return e instanceof b?e:new b(e)},x=k("#1677ff"),S=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.color,o=e.type,a=r.current.getBoundingClientRect(),s=a.width,u=a.height,c=n.current.getBoundingClientRect(),f=c.width,d=c.height,p=f/2,h=(t.x+p)/s,g=1-(t.y+d/2)/u,m=i.toHsb(),v=(t.x+p)/s*360;if(o)switch(o){case"hue":return k((0,l.A)((0,l.A)({},m),{},{h:v<=0?0:v}));case"alpha":return k((0,l.A)((0,l.A)({},m),{},{a:h<=0?0:h}))}return k({h:m.h,s:h<=0?0:h,b:g>=1?1:g,a:m.a})},w=function(e,t,n,r){var i=e.current.getBoundingClientRect(),o=i.width,a=i.height,l=t.current.getBoundingClientRect(),s=l.width,u=l.height,c=s/2,f=u/2,d=n.toHsb();if((0!==s||0!==u)&&s===u){if(r)switch(r){case"hue":return{x:d.h/360*o-c,y:-f/3};case"alpha":return{x:d.a/1*o-c,y:-f/3}}return{x:d.s*o-c,y:(1-d.b)*a-f}}},A=n(30395),E=n.n(A);let C=function(e){var t=e.color,n=e.prefixCls,r=e.className,i=e.style,o=e.onClick,l="".concat(n,"-color-block");return a.createElement("div",{className:E()(l,r),style:i,onClick:o},a.createElement("div",{className:"".concat(l,"-inner"),style:{background:t}}))},O=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.direction,l=e.onDragChange,s=e.onDragChangeComplete,u=e.calculate,c=e.color,f=e.disabledDrag,d=(0,a.useState)(t||{x:0,y:0}),p=(0,o.A)(d,2),h=p[0],g=p[1],m=(0,a.useRef)(null),v=(0,a.useRef)(null),y=(0,a.useRef)({flag:!1});(0,a.useEffect)(function(){if(!1===y.current.flag){var e=null==u?void 0:u(r);e&&g(e)}},[c,r]),(0,a.useEffect)(function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",v.current),m.current=null,v.current=null}},[]);var b=function(e){var t,o,a,s=(t="touches"in e?e.touches[0]:e,o=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,a=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset,{pageX:t.pageX-o,pageY:t.pageY-a}),u=s.pageX,c=s.pageY,f=r.current.getBoundingClientRect(),d=f.x,p=f.y,m=f.width,v=f.height,y=n.current.getBoundingClientRect(),b=y.width,k=y.height,x=Math.max(0,Math.min(c-p,v))-k/2,S={x:Math.max(0,Math.min(u-d,m))-b/2,y:"x"===i?h.y:x};if(0===b&&0===k||b!==k)return!1;g(S),null==l||l(S)},k=function(e){e.preventDefault(),b(e)},x=function(e){e.preventDefault(),y.current.flag=!1,document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",v.current),m.current=null,v.current=null,null==s||s()};return[h,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",v.current),f||(b(e),y.current.flag=!0,document.addEventListener("mousemove",k),document.addEventListener("mouseup",x),document.addEventListener("touchmove",k),document.addEventListener("touchend",x),m.current=k,v.current=x)}]};var M=n(71012);let P=function(e){var t=e.size,n=e.color,r=e.prefixCls;return a.createElement("div",{className:E()("".concat(r,"-handler"),(0,i.A)({},"".concat(r,"-handler-sm"),"small"===(void 0===t?"default":t))),style:{backgroundColor:n}})},L=function(e){var t=e.children,n=e.style,r=e.prefixCls;return a.createElement("div",{className:"".concat(r,"-palette"),style:(0,l.A)({position:"relative"},n)},t)};var R=(0,a.forwardRef)(function(e,t){var n=e.children,r=e.offset;return a.createElement("div",{ref:t,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)});let N=function(e){var t=e.color,n=e.onChange,r=e.prefixCls,i=e.onChangeComplete,l=e.disabled,s=(0,a.useRef)(),u=(0,a.useRef)(),c=(0,a.useRef)(t),f=(0,M.useEvent)(function(e){var r=S({offset:e,targetRef:u,containerRef:s,color:t});c.current=r,n(r)}),d=O({color:t,containerRef:s,targetRef:u,calculate:function(e){return w(e,u,t)},onDragChange:f,onDragChangeComplete:function(){return null==i?void 0:i(c.current)},disabledDrag:l}),p=(0,o.A)(d,2),h=p[0],g=p[1];return a.createElement("div",{ref:s,className:"".concat(r,"-select"),onMouseDown:g,onTouchStart:g},a.createElement(L,{prefixCls:r},a.createElement(R,{offset:h,ref:u},a.createElement(P,{color:t.toRgbString(),prefixCls:r})),a.createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},T=function(e){var t=e.colors,n=e.children,r=e.direction,i=e.type,o=e.prefixCls,l=(0,a.useMemo)(function(){return t.map(function(e,n){var r=k(e);return"alpha"===i&&n===t.length-1&&r.setAlpha(1),r.toRgbString()}).join(",")},[t,i]);return a.createElement("div",{className:"".concat(o,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(void 0===r?"to right":r,", ").concat(l,")")}},n)},I=function(e){var t=e.gradientColors,n=e.direction,r=e.type,i=void 0===r?"hue":r,l=e.color,s=e.value,u=e.onChange,c=e.onChangeComplete,f=e.disabled,d=e.prefixCls,p=(0,a.useRef)(),h=(0,a.useRef)(),g=(0,a.useRef)(l),m=(0,M.useEvent)(function(e){var t=S({offset:e,targetRef:h,containerRef:p,color:l,type:i});g.current=t,u(t)}),v=O({color:l,targetRef:h,containerRef:p,calculate:function(e){return w(e,h,l,i)},onDragChange:m,onDragChangeComplete:function(){null==c||c(g.current,i)},direction:"x",disabledDrag:f}),y=(0,o.A)(v,2),b=y[0],k=y[1];return a.createElement("div",{ref:p,className:E()("".concat(d,"-slider"),"".concat(d,"-slider-").concat(i)),onMouseDown:k,onTouchStart:k},a.createElement(L,{prefixCls:d},a.createElement(R,{offset:b,ref:h},a.createElement(P,{size:"small",color:s,prefixCls:d})),a.createElement(T,{colors:t,direction:n,type:i,prefixCls:d})))},D=function(e,t){var n=t.defaultValue,r=t.value,i=(0,a.useState)(function(){var t;return k(t=void 0!==r?r:void 0!==n?n:e)}),l=(0,o.A)(i,2),s=l[0],u=l[1];return(0,a.useEffect)(function(){r&&u(k(r))},[r]),[s,u]};var _=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];let z=(0,a.forwardRef)(function(e,t){var n=e.value,l=e.defaultValue,s=e.prefixCls,u=void 0===s?"rc-color-picker":s,c=e.onChange,f=e.onChangeComplete,d=e.className,p=e.style,h=e.panelRender,g=e.disabledAlpha,m=void 0!==g&&g,v=e.disabled,y=void 0!==v&&v,b=D(x,{value:n,defaultValue:l}),S=(0,o.A)(b,2),w=S[0],A=S[1],O=(0,a.useMemo)(function(){var e=k(w.toRgbString());return e.setAlpha(1),e.toRgbString()},[w]),M=E()("".concat(u,"-panel"),d,(0,i.A)({},"".concat(u,"-panel-disabled"),y)),P={prefixCls:u,onChangeComplete:f,disabled:y},L=function(e,t){n||A(e),null==c||c(e,t)},R=a.createElement(a.Fragment,null,a.createElement(N,(0,r.A)({color:w,onChange:L},P)),a.createElement("div",{className:"".concat(u,"-slider-container")},a.createElement("div",{className:E()("".concat(u,"-slider-group"),(0,i.A)({},"".concat(u,"-slider-group-disabled-alpha"),m))},a.createElement(I,(0,r.A)({gradientColors:_,color:w,value:"hsl(".concat(w.toHsb().h,",100%, 50%)"),onChange:function(e){return L(e,"hue")}},P)),!m&&a.createElement(I,(0,r.A)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",O],color:w,value:w.toRgbString(),onChange:function(e){return L(e,"alpha")}},P))),a.createElement(C,{color:w.toRgbString(),prefixCls:u})));return a.createElement("div",{className:M,style:p,ref:t},"function"==typeof h?h(R):R)})},11596(e,t,n){"use strict";n.d(t,{Ay:()=>c,Mg:()=>function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===t)return"";var o=(0,a.OM)(t),l=o.negativeStr,s=o.integerStr,u=o.decimalStr,f="".concat(n).concat(u),d="".concat(l).concat(s);if(r>=0){var p=Number(u[r]);return p>=5&&!i?e(c(t).add("".concat(l,"0.").concat("0".repeat(r)).concat(10-p)).toString(),n,r,i):0===r?d:"".concat(d).concat(n).concat(u.padEnd(r,"0").slice(0,r))}return".0"===f?d:"".concat(d).concat(f)}});var r=n(23850),i=n(45804),o=n(5908),a=n(77750),l=function(){function e(t){if((0,r.A)(this,e),(0,o.A)(this,"origin",""),(0,o.A)(this,"negative",void 0),(0,o.A)(this,"integer",void 0),(0,o.A)(this,"decimal",void 0),(0,o.A)(this,"decimalLen",void 0),(0,o.A)(this,"empty",void 0),(0,o.A)(this,"nan",void 0),(0,a.Im)(t)){this.empty=!0;return}if(this.origin=String(t),"-"===t||Number.isNaN(t)){this.nan=!0;return}var n=t;if((0,a.Yf)(n)&&(n=Number(n)),n="string"==typeof n?n:(0,a.yH)(n),(0,a.yb)(n)){var i=(0,a.OM)(n);this.negative=i.negative;var l=i.trimStr.split(".");this.integer=BigInt(l[0]);var s=l[1]||"0";this.decimal=BigInt(s),this.decimalLen=s.length}else this.nan=!0}return(0,i.A)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),o=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),l=r(i),s=(0,a.OM)(o),u=s.negativeStr,c=s.trimStr,f="".concat(u).concat(c.padStart(l+1,"0"));return new e("".concat(f.slice(0,-l),".").concat(f.slice(-l)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return 2*e})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":(0,a.OM)("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),s=function(){function e(t){if((0,r.A)(this,e),(0,o.A)(this,"origin",""),(0,o.A)(this,"number",void 0),(0,o.A)(this,"empty",void 0),(0,a.Im)(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,i.A)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max((0,a.i5)(this.number),(0,a.i5)(n));return new e(r.toFixed(i))}},{key:"multi",value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max((0,a.i5)(this.number),(0,a.i5)(n));return new e(r.toFixed(i))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null==e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":(0,a.yH)(this.number):this.origin}}]),e}(),u=n(95888);function c(e){return(0,u.r)()?new l(e):new s(e)}},54387(e,t,n){"use strict";n.d(t,{Ay:()=>r});let r=n(11596).Ay},77750(e,t,n){"use strict";n.d(t,{Im:()=>i,OM:()=>o,Yf:()=>a,i5:()=>l,yH:()=>s,yb:()=>u});var r=n(95888);function i(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function o(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";"0"===o&&"0"===a&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(l).concat(r)}}function a(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function l(e){var t=String(e);if(a(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&u(t)?t.length-t.indexOf(".")-1:0}function s(e){var t=String(e);if(a(e)){if(e>Number.MAX_SAFE_INTEGER)return String((0,r.r)()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String((0,r.r)()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(l(t))}return o(t).fullStr}function u(e){return"number"==typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}},95888(e,t,n){"use strict";function r(){return"function"==typeof BigInt}n.d(t,{r:()=>r})},96089(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v,useMutateObserver:()=>m});var r=n(97251),i=n(22155),o=n(57975),a=n(185),l=n(12994),s=n(18106),u=n(23850),c=n(45804),f=n(60410),d=n(80451),p=function(e){(0,f.A)(n,e);var t=(0,d.A)(n);function n(){return(0,u.A)(this,n),t.apply(this,arguments)}return(0,c.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component),h=n(1568),g={subtree:!0,childList:!0,attributeFilter:["style","class"]};function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;i.useEffect(function(){if((0,h.A)()&&e){var r,i=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(r=new MutationObserver(t),i.forEach(function(e){r.observe(e,n)})),function(){var e,t;null==(e=r)||e.takeRecords(),null==(t=r)||t.disconnect()}}},[n,e])}let v=function(e){var t=e.children,n=e.options,u=e.onMutate,c=(0,s.A)(void 0===u?function(){}:u),f=i.useRef(null),d=i.useRef(null),h=i.isValidElement(t)&&(0,a.f3)(t),g=(0,a.xK)(d,h?t.ref:null),v=i.useState(null),y=(0,r.A)(v,2),b=y[0],k=y[1];return(m(b,c,n),(0,o.A)(function(){k((0,l.Ay)(d.current)||(0,l.Ay)(f.current))}),t)?i.createElement(p,{ref:f},h?i.cloneElement(t,{ref:g}):t):null}},60070(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_MARGIN_SIZE:()=>w,DEFAULT_IMG_SCALE:()=>A,DEFAULT_SIZE:()=>m,excavateModules:()=>C,QRCodeSVG:()=>F,isSupportPath2d:()=>P,DEFAULT_LEVEL:()=>v,DEFAULT_NEED_MARGIN:()=>k,generatePath:()=>E,getMarginSize:()=>M,DEFAULT_FRONT_COLOR:()=>b,DEFAULT_BACKGROUND_COLOR:()=>y,ERROR_LEVEL_MAP:()=>g,SPEC_MARGIN_SIZE:()=>S,QRCodeCanvas:()=>z,getImageSettings:()=>O,DEFAULT_MINVERSION:()=>x});var r=n(98963);function i(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.A)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw a}}}}var o=n(23850),a=n(45804),l=n(5908);function s(e,t,n){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function u(e,t){return(e>>>t&1)!=0}function c(e){if(!e)throw Error("Assertion error")}var f=function(){function e(t,n){(0,o.A)(this,e),(0,l.A)(this,"modeBits",void 0),(0,l.A)(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return(0,a.A)(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();(0,l.A)(f,"NUMERIC",new f(1,[10,12,14])),(0,l.A)(f,"ALPHANUMERIC",new f(2,[9,11,13])),(0,l.A)(f,"BYTE",new f(4,[8,16,16])),(0,l.A)(f,"KANJI",new f(8,[8,10,12])),(0,l.A)(f,"ECI",new f(7,[0,0,0]));var d=(0,a.A)(function e(t,n){(0,o.A)(this,e),(0,l.A)(this,"ordinal",void 0),(0,l.A)(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});(0,l.A)(d,"LOW",new d(0,1)),(0,l.A)(d,"MEDIUM",new d(1,0)),(0,l.A)(d,"QUARTILE",new d(2,3)),(0,l.A)(d,"HIGH",new d(3,2));var p=function(){function e(t,n,r){if((0,o.A)(this,e),(0,l.A)(this,"mode",void 0),(0,l.A)(this,"numChars",void 0),(0,l.A)(this,"bitData",void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw RangeError("Invalid argument");this.bitData=r.slice()}return(0,a.A)(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(t){var n,r=[],o=i(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;s(a,8,r)}}catch(e){o.e(e)}finally{o.f()}return new e(f.BYTE,t.length,r)}},{key:"makeNumeric",value:function(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");for(var n=[],r=0;r<t.length;){var i=Math.min(t.length-r,3);s(parseInt(t.substring(r,r+i),10),3*i+1,n),r+=i}return new e(f.NUMERIC,t.length,n)}},{key:"makeAlphanumeric",value:function(t){if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");var n,r=[];for(n=0;n+2<=t.length;n+=2){var i=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n));s(i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n+1)),11,r)}return n<t.length&&s(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n)),6,r),new e(f.ALPHANUMERIC,t.length,r)}},{key:"makeSegments",value:function(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}},{key:"makeEci",value:function(t){var n=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)s(t,8,n);else if(t<16384)s(2,2,n),s(t,14,n);else if(t<1e6)s(6,3,n),s(t,21,n);else throw RangeError("ECI assignment value out of range");return new e(f.ECI,0,n)}},{key:"isNumeric",value:function(t){return e.NUMERIC_REGEX.test(t)}},{key:"isAlphanumeric",value:function(t){return e.ALPHANUMERIC_REGEX.test(t)}},{key:"getTotalBits",value:function(e,t){var n,r=0,o=i(e);try{for(o.s();!(n=o.n()).done;){var a=n.value,l=a.mode.numCharCountBits(t);if(a.numChars>=1<<l)return 1/0;r+=4+l+a.bitData.length}}catch(e){o.e(e)}finally{o.f()}return r}},{key:"toUtf8ByteArray",value:function(e){for(var t=encodeURI(e),n=[],r=0;r<t.length;r++)"%"!=t.charAt(r)?n.push(t.charCodeAt(r)):(n.push(parseInt(t.substring(r+1,r+3),16)),r+=2);return n}}]),e}();(0,l.A)(p,"NUMERIC_REGEX",/^[0-9]*$/),(0,l.A)(p,"ALPHANUMERIC_REGEX",/^[A-Z0-9 $%*+.\/:-]*$/),(0,l.A)(p,"ALPHANUMERIC_CHARSET","0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:");var h=function(){function e(t,n,r,i){(0,o.A)(this,e),(0,l.A)(this,"size",void 0),(0,l.A)(this,"mask",void 0),(0,l.A)(this,"modules",[]),(0,l.A)(this,"isFunction",[]),(0,l.A)(this,"version",void 0),(0,l.A)(this,"errorCorrectionLevel",void 0);var a=i;if(this.version=t,this.errorCorrectionLevel=n,t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version value out of range");if(a<-1||a>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var s=[],u=0;u<this.size;u++)s.push(!1);for(var f=0;f<this.size;f++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();var d=this.addEccAndInterleave(r);if(this.drawCodewords(d),-1==a)for(var p=1e9,h=0;h<8;h++){this.applyMask(h),this.drawFormatBits(h);var g=this.getPenaltyScore();g<p&&(a=h,p=g),this.applyMask(h)}c(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}return(0,a.A)(e,[{key:"getModule",value:function(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}},{key:"getModules",value:function(){return this.modules}},{key:"drawFunctionPatterns",value:function(){for(var e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var t=this.getAlignmentPatternPositions(),n=t.length,r=0;r<n;r++)for(var i=0;i<n;i++)(0!=r||0!=i)&&(0!=r||i!=n-1)&&(r!=n-1||0!=i)&&this.drawAlignmentPattern(t[r],t[i]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,n=t,r=0;r<10;r++)n=n<<1^(n>>>9)*1335;var i=(t<<10|n)^21522;c(i>>>15==0);for(var o=0;o<=5;o++)this.setFunctionModule(8,o,u(i,o));this.setFunctionModule(8,7,u(i,6)),this.setFunctionModule(8,8,u(i,7)),this.setFunctionModule(7,8,u(i,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,u(i,a));for(var l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,u(i,l));for(var s=8;s<15;s++)this.setFunctionModule(8,this.size-15+s,u(i,s));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var n=this.version<<12|e;c(n>>>18==0);for(var r=0;r<18;r++){var i=u(n,r),o=this.size-11+r%3,a=Math.floor(r/3);this.setFunctionModule(o,a,i),this.setFunctionModule(a,o,i)}}}},{key:"drawFinderPattern",value:function(e,t){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var i=Math.max(Math.abs(r),Math.abs(n)),o=e+r,a=t+n;0<=o&&o<this.size&&0<=a&&a<this.size&&this.setFunctionModule(o,a,2!=i&&4!=i)}}},{key:"drawAlignmentPattern",value:function(e,t){for(var n=-2;n<=2;n++)for(var r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}},{key:"setFunctionModule",value:function(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}},{key:"addEccAndInterleave",value:function(t){var n=this.version,r=this.errorCorrectionLevel;if(t.length!=e.getNumDataCodewords(n,r))throw RangeError("Invalid argument");for(var i=e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],o=e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(e.getNumRawDataModules(n)/8),l=i-a%i,s=Math.floor(a/i),u=[],f=e.reedSolomonComputeDivisor(o),d=0,p=0;d<i;d++){var h=t.slice(p,p+s-o+(d<l?0:1));p+=h.length;var g=e.reedSolomonComputeRemainder(h,f);d<l&&h.push(0),u.push(h.concat(g))}for(var m=[],v=function(e){u.forEach(function(t,n){(e!=s-o||n>=l)&&m.push(t[e])})},y=0;y<u[0].length;y++)v(y);return c(m.length==a),m}},{key:"drawCodewords",value:function(t){if(t.length!=Math.floor(e.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");for(var n=0,r=this.size-1;r>=1;r-=2){6==r&&(r=5);for(var i=0;i<this.size;i++)for(var o=0;o<2;o++){var a=r-o,l=(r+1&2)==0?this.size-1-i:i;!this.isFunction[l][a]&&n<8*t.length&&(this.modules[l][a]=u(t[n>>>3],7-(7&n)),n++)}}c(n==8*t.length)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=0;t<this.size;t++)for(var n=0;n<this.size;n++){var r=void 0;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}},{key:"getPenaltyScore",value:function(){for(var t=0,n=0;n<this.size;n++){for(var r=!1,o=0,a=[0,0,0,0,0,0,0],l=0;l<this.size;l++)this.modules[n][l]==r?5==++o?t+=e.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[n][l],o=1);t+=this.finderPenaltyTerminateAndCount(r,o,a)*e.PENALTY_N3}for(var s=0;s<this.size;s++){for(var u=!1,f=0,d=[0,0,0,0,0,0,0],p=0;p<this.size;p++)this.modules[p][s]==u?5==++f?t+=e.PENALTY_N1:f>5&&t++:(this.finderPenaltyAddHistory(f,d),u||(t+=this.finderPenaltyCountPatterns(d)*e.PENALTY_N3),u=this.modules[p][s],f=1);t+=this.finderPenaltyTerminateAndCount(u,f,d)*e.PENALTY_N3}for(var h=0;h<this.size-1;h++)for(var g=0;g<this.size-1;g++){var m=this.modules[h][g];m==this.modules[h][g+1]&&m==this.modules[h+1][g]&&m==this.modules[h+1][g+1]&&(t+=e.PENALTY_N2)}var v,y=0,b=i(this.modules);try{for(b.s();!(v=b.n()).done;)y=v.value.reduce(function(e,t){return e+ +!!t},y)}catch(e){b.e(e)}finally{b.f()}var k=this.size*this.size,x=Math.ceil(Math.abs(20*y-10*k)/k)-1;return c(0<=x&&x<=9),c(0<=(t+=x*e.PENALTY_N4)&&t<=2568888),t}},{key:"getAlignmentPatternPositions",value:function(){if(1==this.version)return[];for(var e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),n=[6],r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}},{key:"finderPenaltyCountPatterns",value:function(e){var t=e[1];c(t<=3*this.size);var n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,n){var r=t;return e&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:"finderPenaltyAddHistory",value:function(e,t){var n=e;0==t[0]&&(n+=this.size),t.pop(),t.unshift(n)}}],[{key:"encodeText",value:function(t,n){var r=p.makeSegments(t);return e.encodeSegments(r,n)}},{key:"encodeBinary",value:function(t,n){var r=p.makeBytes(t);return e.encodeSegments([r],n)}},{key:"encodeSegments",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,l=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(e.MIN_VERSION<=r&&r<=o&&o<=e.MAX_VERSION)||a<-1||a>7)throw RangeError("Invalid value");for(y=r;;y++){var u=8*e.getNumDataCodewords(y,n),f=p.getTotalBits(t,y);if(f<=u){b=f;break}if(y>=o)throw RangeError("Data too long")}for(var h=n,g=0,m=[d.MEDIUM,d.QUARTILE,d.HIGH];g<m.length;g++){var v=m[g];l&&b<=8*e.getNumDataCodewords(y,v)&&(h=v)}var y,b,k,x=[],S=i(t);try{for(S.s();!(k=S.n()).done;){var w=k.value;s(w.mode.modeBits,4,x),s(w.numChars,w.mode.numCharCountBits(y),x);var A,E=i(w.getData());try{for(E.s();!(A=E.n()).done;){var C=A.value;x.push(C)}}catch(e){E.e(e)}finally{E.f()}}}catch(e){S.e(e)}finally{S.f()}c(x.length==b);var O=8*e.getNumDataCodewords(y,h);c(x.length<=O),s(0,Math.min(4,O-x.length),x),s(0,(8-x.length%8)%8,x),c(x.length%8==0);for(var M=236;x.length<O;M^=253)s(M,8,x);for(var P=[];8*P.length<x.length;)P.push(0);return x.forEach(function(e,t){return P[t>>>3]|=e<<7-(7&t)}),new e(y,h,P,a)}},{key:"getNumRawDataModules",value:function(t){if(t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version number out of range");var n=(16*t+128)*t+64;if(t>=2){var r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return c(208<=n&&n<=29648),n}},{key:"getNumDataCodewords",value:function(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}},{key:"reedSolomonComputeDivisor",value:function(t){if(t<1||t>255)throw RangeError("Degree out of range");for(var n=[],r=0;r<t-1;r++)n.push(0);n.push(1);for(var i=1,o=0;o<t;o++){for(var a=0;a<n.length;a++)n[a]=e.reedSolomonMultiply(n[a],i),a+1<n.length&&(n[a]^=n[a+1]);i=e.reedSolomonMultiply(i,2)}return n}},{key:"reedSolomonComputeRemainder",value:function(t,n){var r,o=n.map(function(){return 0}),a=i(t);try{for(a.s();!(r=a.n()).done;)!function(){var t=r.value^o.shift();o.push(0),n.forEach(function(n,r){return o[r]^=e.reedSolomonMultiply(n,t)})}()}catch(e){a.e(e)}finally{a.f()}return o}},{key:"reedSolomonMultiply",value:function(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285^(t>>>r&1)*e;return c(n>>>8==0),n}}]),e}();(0,l.A)(h,"MIN_VERSION",1),(0,l.A)(h,"MAX_VERSION",40),(0,l.A)(h,"PENALTY_N1",3),(0,l.A)(h,"PENALTY_N2",3),(0,l.A)(h,"PENALTY_N3",40),(0,l.A)(h,"PENALTY_N4",10),(0,l.A)(h,"ECC_CODEWORDS_PER_BLOCK",[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),(0,l.A)(h,"NUM_ERROR_CORRECTION_BLOCKS",[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var g={L:d.LOW,M:d.MEDIUM,Q:d.QUARTILE,H:d.HIGH},m=128,v="L",y="#FFFFFF",b="#000000",k=!1,x=1,S=4,w=0,A=.1;function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[];return e.forEach(function(e,r){var i=null;e.forEach(function(o,a){if(!o&&null!==i){n.push("M".concat(i+t," ").concat(r+t,"h").concat(a-i,"v1H").concat(i+t,"z")),i=null;return}if(a===e.length-1){if(!o)return;null===i?n.push("M".concat(a+t,",").concat(r+t," h1v1H").concat(a+t,"z")):n.push("M".concat(i+t,",").concat(r+t," h").concat(a+1-i,"v1H").concat(i+t,"z"));return}o&&null===i&&(i=a)})}),n.join("")}function C(e,t){return e.slice().map(function(e,n){return n<t.y||n>=t.y+t.h?e:e.map(function(e,n){return(n<t.x||n>=t.x+t.w)&&e})})}function O(e,t,n,r){if(null==r)return null;var i=e.length+2*n,o=Math.floor(t*A),a=i/t,l=(r.width||o)*a,s=(r.height||o)*a,u=null==r.x?e.length/2-l/2:r.x*a,c=null==r.y?e.length/2-s/2:r.y*a,f=null==r.opacity?1:r.opacity,d=null;if(r.excavate){var p=Math.floor(u),h=Math.floor(c),g=Math.ceil(l+u-p),m=Math.ceil(s+c-h);d={x:p,y:h,w:g,h:m}}return{x:u,y:c,h:s,w:l,excavation:d,opacity:f,crossOrigin:r.crossOrigin}}function M(e,t){return null!=t?Math.floor(t):e?S:w}var P=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}(),L=n(77161),R=n(57970),N=n(97251),T=n(80416),I=n(22155);function D(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,o=e.marginSize,a=e.imageSettings,l=e.size,s=(0,I.useMemo)(function(){var e=p.makeSegments(t);return h.encodeSegments(e,g[n],r)},[t,n,r]),u=(0,I.useMemo)(function(){var e=s.getModules(),t=M(i,o),n=e.length+2*t,r=O(e,l,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:r}},[s,l,a,i,o]),c=u.cells;return{qrcode:s,margin:u.margin,cells:c,numCells:u.numCells,calculatedImageSettings:u.calculatedImageSettings}}var _=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],z=I.forwardRef(function(e,t){var n=e.value,r=e.size,i=void 0===r?m:r,o=e.level,a=e.bgColor,l=void 0===a?y:a,s=e.fgColor,u=void 0===s?b:s,c=e.includeMargin,f=e.minVersion,d=e.marginSize,p=e.style,h=e.imageSettings,g=(0,T.A)(e,_),S=null==h?void 0:h.src,w=(0,I.useRef)(null),A=(0,I.useRef)(null),O=(0,I.useCallback)(function(e){w.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),M=(0,I.useState)(!1),z=(0,N.A)(M,2)[1],j=D({value:n,level:void 0===o?v:o,minVersion:void 0===f?x:f,includeMargin:void 0===c?k:c,marginSize:d,imageSettings:h,size:i}),F=j.margin,H=j.cells,B=j.numCells,W=j.calculatedImageSettings;(0,I.useEffect)(function(){if(null!=w.current){var e=w.current,t=e.getContext("2d");if(t){var n=H,r=A.current,o=null!=W&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=W.excavation&&(n=C(H,W.excavation));var a=window.devicePixelRatio||1;e.height=e.width=i*a;var s=i/B*a;t.scale(s,s),t.fillStyle=l,t.fillRect(0,0,B,B),t.fillStyle=u,P?t.fill(new Path2D(E(n,F))):H.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+F,n+F,1,1)})}),W&&(t.globalAlpha=W.opacity),o&&t.drawImage(r,W.x+F,W.y+F,W.w,W.h)}}}),(0,I.useEffect)(function(){z(!1)},[S]);var V=(0,R.A)({height:i,width:i},p),U=null;return null!=S&&(U=I.createElement("img",{src:S,key:S,style:{display:"none"},onLoad:function(){z(!0)},ref:A,crossOrigin:null==W?void 0:W.crossOrigin})),I.createElement(I.Fragment,null,I.createElement("canvas",(0,L.A)({style:V,height:i,width:i,ref:O,role:"img"},g)),U)});z.displayName="QRCodeCanvas";var j=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],F=I.forwardRef(function(e,t){var n=e.value,r=e.size,i=void 0===r?m:r,o=e.level,a=e.bgColor,l=e.fgColor,s=e.includeMargin,u=e.minVersion,c=e.title,f=e.marginSize,d=e.imageSettings,p=(0,T.A)(e,j),h=D({value:n,level:void 0===o?v:o,minVersion:void 0===u?x:u,includeMargin:void 0===s?k:s,marginSize:f,imageSettings:d,size:i}),g=h.margin,S=h.cells,w=h.numCells,A=h.calculatedImageSettings,O=S,M=null;null!=d&&null!=A&&(null!=A.excavation&&(O=C(S,A.excavation)),M=I.createElement("image",{href:d.src,height:A.h,width:A.w,x:A.x+g,y:A.y+g,preserveAspectRatio:"none",opacity:A.opacity,crossOrigin:A.crossOrigin}));var P=E(O,g);return I.createElement("svg",(0,L.A)({height:i,width:i,viewBox:"0 0 ".concat(w," ").concat(w),ref:t,role:"img"},p),!!c&&I.createElement("title",null,c),I.createElement("path",{fill:void 0===a?y:a,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),I.createElement("path",{fill:void 0===l?b:l,d:P,shapeRendering:"crispEdges"}),M)});F.displayName="QRCodeSVG"},56632(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(57970),i=n(77161),o=n(45983),a=n(97251),l=n(80416),s=n(22155),u=n(65577),c=n(11994),f=n(30395),d=n.n(f),p=n(57975),h=n(55511);function g(e){return null!==e&&"object"===(0,o.A)(e)}function m(e,t,n){if(!1===e||!1===t&&(!g(e)||!e.closeIcon))return null;var i,o="boolean"!=typeof t?t:void 0;return g(e)?(0,r.A)((0,r.A)({},e),{},{closeIcon:null!=(i=e.closeIcon)?i:o}):n||e||t?{closeIcon:o}:"empty"}var v=n(18106),y=n(22449),b={fill:"transparent",pointerEvents:"auto"};let k=function(e){var t=e.prefixCls,n=e.rootClassName,a=e.pos,l=e.showMask,c=e.style,f=e.fill,p=e.open,h=e.animated,g=e.zIndex,m=e.disabledInteraction,v=(0,y.A)(),k="".concat(t,"-mask-").concat(v),x="object"===(0,o.A)(h)?null==h?void 0:h.placeholder:h,S="u">typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return s.createElement(u.A,{open:p,autoLock:!0},s.createElement("div",{className:d()("".concat(t,"-mask"),n),style:(0,r.A)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:g,pointerEvents:a&&!m?"none":"auto"},void 0===c?{}:c)},l?s.createElement("svg",{style:{width:"100%",height:"100%"}},s.createElement("defs",null,s.createElement("mask",{id:k},s.createElement("rect",(0,i.A)({x:"0",y:"0"},S?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"},{fill:"white"})),a&&s.createElement("rect",{x:a.left,y:a.top,rx:a.radius,width:a.width,height:a.height,fill:"black",className:x?"".concat(t,"-placeholder-animated"):""}))),s.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:void 0===f?"rgba(0,0,0,0.5)":f,mask:"url(#".concat(k,")")}),a&&s.createElement(s.Fragment,null,s.createElement("rect",(0,i.A)({},b,{x:"0",y:"0",width:"100%",height:a.top})),s.createElement("rect",(0,i.A)({},b,{x:"0",y:"0",width:a.left,height:"100%"})),s.createElement("rect",(0,i.A)({},b,{x:"0",y:a.top+a.height,width:"100%",height:"calc(100vh - ".concat(a.top+a.height,"px)")})),s.createElement("rect",(0,i.A)({},b,{x:a.left+a.width,y:"0",width:"calc(100vw - ".concat(a.left+a.width,"px)"),height:"100%"})))):null))};var x=[0,0],S={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function w(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};return Object.keys(S).forEach(function(n){t[n]=(0,r.A)((0,r.A)({},S[n]),{},{autoArrow:e,targetOffset:x})}),t}w();var A=n(91639),E=n(76187);function C(e){var t,n=e.prefixCls,r=e.current,o=e.total,a=e.title,l=e.description,u=e.onClose,c=e.onPrev,f=e.onNext,p=e.onFinish,h=e.className,g=e.closable,m=(0,E.A)(g||{},!0),v=null!=(t=null==g?void 0:g.closeIcon)?t:s.createElement("span",{className:"".concat(n,"-close-x")},"\xd7"),y=!!g;return s.createElement("div",{className:d()("".concat(n,"-content"),h)},s.createElement("div",{className:"".concat(n,"-inner")},y&&s.createElement("button",(0,i.A)({type:"button",onClick:u,"aria-label":"Close"},m,{className:"".concat(n,"-close")}),v),s.createElement("div",{className:"".concat(n,"-header")},s.createElement("div",{className:"".concat(n,"-title")},a)),s.createElement("div",{className:"".concat(n,"-description")},l),s.createElement("div",{className:"".concat(n,"-footer")},s.createElement("div",{className:"".concat(n,"-sliders")},o>1?(0,A.A)(Array.from({length:o}).keys()).map(function(e,t){return s.createElement("span",{key:e,className:t===r?"active":""})}):null),s.createElement("div",{className:"".concat(n,"-buttons")},0!==r?s.createElement("button",{className:"".concat(n,"-prev-btn"),onClick:c},"Prev"):null,r===o-1?s.createElement("button",{className:"".concat(n,"-finish-btn"),onClick:p},"Finish"):s.createElement("button",{className:"".concat(n,"-next-btn"),onClick:f},"Next")))))}let O=function(e){var t=e.current,n=e.renderPanel;return s.createElement(s.Fragment,null,"function"==typeof n?n(e,t):s.createElement(C,e))};var M=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","closable","builtinPlacements","disabledInteraction"],P={left:"50%",top:"50%",width:1,height:1},L={block:"center",inline:"center"};let R=function(e){var t,n,f,g,y,b,x,S,A,E,C,R,N,T=e.prefixCls,I=void 0===T?"rc-tour":T,D=e.steps,_=void 0===D?[]:D,z=e.defaultCurrent,j=e.current,F=e.onChange,H=e.onClose,B=e.onFinish,W=e.open,V=e.mask,U=e.arrow,$=e.rootClassName,Y=e.placement,q=e.renderPanel,X=e.gap,K=e.animated,G=e.scrollIntoViewOptions,J=e.zIndex,Q=void 0===J?1001:J,Z=e.closeIcon,ee=e.closable,et=e.builtinPlacements,en=e.disabledInteraction,er=(0,l.A)(e,M),ei=s.useRef(),eo=(0,h.A)(0,{value:j,defaultValue:z}),ea=(0,a.A)(eo,2),el=ea[0],es=ea[1],eu=(0,h.A)(void 0,{value:W,postState:function(e){return!(el<0)&&!(el>=_.length)&&(null==e||e)}}),ec=(0,a.A)(eu,2),ef=ec[0],ed=ec[1],ep=s.useState(ef),eh=(0,a.A)(ep,2),eg=eh[0],em=eh[1],ev=s.useRef(ef);(0,p.A)(function(){ef&&(ev.current||es(0),em(!0)),ev.current=ef},[ef]);var ey=_[el]||{},eb=ey.target,ek=ey.placement,ex=ey.style,eS=ey.arrow,ew=ey.className,eA=ey.mask,eE=ey.scrollIntoViewOptions,eC=void 0===eE?L:eE,eO=ey.closeIcon,eM=(t=ey.closable,s.useMemo(function(){var e=m(t,eO,!1),n=m(ee,Z,!0);return"empty"!==e?e:n},[ee,Z,t,eO])),eP=ef&&(null!=eA?eA:void 0===V||V),eL=(n=null!=eC?eC:void 0===G?L:G,f=(0,s.useState)(void 0),y=(g=(0,a.A)(f,2))[0],b=g[1],(0,p.A)(function(){b(("function"==typeof eb?eb():eb)||null)}),x=(0,s.useState)(null),A=(S=(0,a.A)(x,2))[0],E=S[1],C=(0,v.A)(function(){if(y){e=window.innerWidth||document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight,i=(r=y.getBoundingClientRect()).top,o=r.right,a=r.bottom,l=r.left,i>=0&&l>=0&&o<=e&&a<=t||!W||y.scrollIntoView(n);var e,t,r,i,o,a,l,s=y.getBoundingClientRect(),u={left:s.left,top:s.top,width:s.width,height:s.height,radius:0};E(function(e){return JSON.stringify(e)!==JSON.stringify(u)?u:e})}else E(null)}),R=function(e){var t;return null!=(t=Array.isArray(null==X?void 0:X.offset)?null==X?void 0:X.offset[e]:null==X?void 0:X.offset)?t:6},(0,p.A)(function(){return C(),window.addEventListener("resize",C),function(){window.removeEventListener("resize",C)}},[y,W,C]),[(0,s.useMemo)(function(){if(!A)return A;var e,t=R(0),n=R(1),r="number"!=typeof(e=null==X?void 0:X.radius)||Number.isNaN(e)?2:null==X?void 0:X.radius;return{left:A.left-t,top:A.top-n,width:A.width+2*t,height:A.height+2*n,radius:r}},[A,X]),y]),eR=(0,a.A)(eL,2),eN=eR[0],eT=eR[1],eI=null!=(N=null!=ek?ek:Y)?N:null===eT?"center":"bottom",eD=!!eT&&(void 0===eS?void 0===U||U:eS),e_="object"===(0,o.A)(eD)&&eD.pointAtCenter;(0,p.A)(function(){var e;null==(e=ei.current)||e.forceAlign()},[e_,el]);var ez=function(e){es(e),null==F||F(e)},ej=(0,s.useMemo)(function(){return et?"function"==typeof et?et({arrowPointAtCenter:e_}):et:w(e_)},[et,e_]);if(void 0===eT||!eg)return null;var eF=function(){ed(!1),null==H||H(el)},eH="boolean"==typeof eP?void 0:eP;return s.createElement(s.Fragment,null,s.createElement(k,{zIndex:Q,prefixCls:I,pos:eN,showMask:"boolean"==typeof eP?eP:!!eP,style:null==eH?void 0:eH.style,fill:null==eH?void 0:eH.color,open:ef,animated:K,rootClassName:$,disabledInteraction:en}),s.createElement(c.A,(0,i.A)({},er,{builtinPlacements:ej,ref:ei,popupStyle:ex,popupPlacement:eI,popupVisible:ef,popupClassName:d()($,ew),prefixCls:I,popup:function(){return s.createElement(O,(0,i.A)({arrow:eD,key:"content",prefixCls:I,total:_.length,renderPanel:q,onPrev:function(){ez(el-1)},onNext:function(){ez(el+1)},onClose:eF,current:el,onFinish:function(){eF(),null==B||B()}},_[el],{closable:eM}))},forceRender:!1,destroyPopupOnHide:!0,zIndex:Q,getTriggerDOMNode:function(e){return e||eT||document.body},arrow:!!eD}),s.createElement(u.A,{open:ef,autoLock:!0},s.createElement("div",{className:d()($,"".concat(I,"-target-placeholder")),style:(0,r.A)((0,r.A)({},eN||P),{},{position:"fixed",pointerEvents:"none"})}))))}},59300(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",l="year",s="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|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,d=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p="en",h={};h[p]={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"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var g="$isDayjsObject",m=function(e){return e instanceof k||!(!e||!e[g])},v=function e(t,n,r){var i;if(!t)return p;if("string"==typeof t){var o=t.toLowerCase();h[o]&&(i=o),n&&(h[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var l=t.name;h[l]=t,i=l}return!r&&i&&(p=i),i||!r&&p},y=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},b={s:d,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(n/60),2,"0")+":"+d(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,l=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-l:l-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:l,w:i,d:"day",D:s,h:r,m:n,s:t,ms:e,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=v,b.i=m,b.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function d(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var p=d.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},p.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()},p.$utils=function(){return b},p.isValid=function(){return this.$d.toString()!==u},p.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return y(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<y(e)},p.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var u=this,c=!!b.u(a)||a,f=b.p(e),d=function(e,t){var n=b.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},p=function(e,t){return b.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,g=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case l:return c?d(1,0):d(31,11);case o:return c?d(1,g):d(0,g+1);case i:var y=this.$locale().weekStart||0,k=(h<y?h+7:h)-y;return d(c?m-k:m+(6-k),g);case"day":case s:return p(v+"Hours",0);case r:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case t:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(i,a){var u,c=b.p(i),f="set"+(this.$u?"UTC":""),d=((u={}).day=f+"Date",u[s]=f+"Date",u[o]=f+"Month",u[l]=f+"FullYear",u[r]=f+"Hours",u[n]=f+"Minutes",u[t]=f+"Seconds",u[e]=f+"Milliseconds",u)[c],p="day"===c?this.$D+(a-this.$W):a;if(c===o||c===l){var h=this.clone().set(s,1);h.$d[d](p),h.init(),this.$d=h.set(s,Math.min(this.$D,h.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[b.p(e)]()},p.add=function(e,a){var s,u=this;e=Number(e);var c=b.p(a),f=function(t){var n=y(u);return b.w(n.date(n.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===l)return this.set(l,this.$y+e);if("day"===c)return f(1);if(c===i)return f(7);var d=((s={})[n]=6e4,s[r]=36e5,s[t]=1e3,s)[c]||1,p=this.$d.getTime()+e*d;return b.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),o=this.$H,a=this.$m,l=this.$M,s=n.weekdays,c=n.months,d=n.meridiem,p=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},h=function(e){return b.s(o%12||12,e,"0")},g=d||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return l+1;case"MM":return b.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,c,3);case"MMMM":return p(c,l);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(n.weekdaysMin,t.$W,s,2);case"ddd":return p(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return g(o,a,!0);case"A":return g(o,a,!1);case"m":return String(a);case"mm":return b.s(a,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,u){var c,f=this,d=b.p(s),p=y(e),h=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,m=function(){return b.m(f,p)};switch(d){case l:c=m()/12;break;case o:c=m();break;case a:c=m()/3;break;case i:c=(g-h)/6048e5;break;case"day":c=(g-h)/864e5;break;case r:c=g/36e5;break;case n:c=g/6e4;break;case t:c=g/1e3;break;default:c=g}return u?c:b.a(c)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return h[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},p.clone=function(){return b.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),x=k.prototype;return y.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",l],["$D",s]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,k,y),e.$i=!0),y},y.locale=v,y.isDayjs=m,y.unix=function(e){return y(1e3*e)},y.en=h[p],y.Ls=h,y.p={},y}()},73198(e){e.exports=function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return r.bind(this)(o)}}},29506(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},l=function(e){return(e*=1)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=f(e,!1)}],a:[o,function(e){this.afternoon=f(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[r,s("day")],Do:[o,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,s("week")],ww:[r,s("week")],M:[i,s("month")],MM:[r,s("month")],MMM:[o,function(e){var t=c("months"),n=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[o,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[r,function(e){this.year=l(e)}],YYYY:[/\d{4}/,s("year")],Z:u,ZZ:u};return function(n,r,i){i.p.customParseFormat=!0,n&&n.parseTwoDigitYear&&(l=n.parseTwoDigitYear);var o=r.prototype,s=o.parse;o.parse=function(n){var r=n.date,o=n.utc,l=n.args;this.$u=o;var u=l[1];if("string"==typeof u){var c=!0===l[2],f=!0===l[3],p=l[2];f&&(p=l[2]),a=this.$locale(),!c&&p&&(a=i.Ls[p]),this.$d=function(n,r,i,o){try{if(["x","X"].indexOf(r)>-1)return new Date(("X"===r?1e3:1)*n);var l=(function(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),l=o.length,s=0;s<l;s+=1){var u=o[s],c=d[u],f=c&&c[0],p=c&&c[1];o[s]=p?{regex:f,parser:p}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<l;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,s=i.parser,u=e.slice(r),c=a.exec(u)[0];s.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}})(r)(n),s=l.year,u=l.month,c=l.day,f=l.hours,p=l.minutes,h=l.seconds,g=l.milliseconds,m=l.zone,v=l.week,y=new Date,b=c||(s||u?1:y.getDate()),k=s||y.getFullYear(),x=0;s&&!u||(x=u>0?u-1:y.getMonth());var S,w=f||0,A=p||0,E=h||0,C=g||0;return m?new Date(Date.UTC(k,x,b,w,A,E,C+60*m.offset*1e3)):i?new Date(Date.UTC(k,x,b,w,A,E,C)):(S=new Date(k,x,b,w,A,E,C),v&&(S=o(S).week(v).toDate()),S)}catch(e){return new Date("")}}(r,u,o,i),this.init(),p&&!0!==p&&(this.$L=this.locale(p).$L),(c||f)&&r!=this.format(u)&&(this.$d=new Date("")),a={}}else if(u instanceof Array)for(var h=u.length,g=1;g<=h;g+=1){l[1]=u[g-1];var m=i.apply(this,l);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}g===h&&(this.$d=new Date(""))}else s.call(this,n)}}}()},2497(e){e.exports=function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var a=e.name?e:e.$locale(),l=i(a[t]),s=i(a[n]),u=l||s.map(function(e){return e.slice(0,r)});if(!o)return u;var c=a.weekStart;return u.map(function(e,t){return u[(t+(c||0))%7]})},a=function(){return n.Ls[n.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(a(),"months")},n.monthsShort=function(){return o(a(),"monthsShort","months",3)},n.weekdays=function(e){return o(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(a(),"weekdaysMin","weekdays",2,e)}}},52847(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,i){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(t).add(1,t).date(r),a=i(this).endOf(e);if(o.isBefore(a))return 1}var l=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),s=this.diff(l,e,!0);return s<0?i(this).startOf("week").week():Math.ceil(s)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},76882(e){e.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}},66885(e){e.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}},49461(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(t=arguments[d],null!=t)for(n in t)r=s(f,n),f!==(i=s(t,n))&&(h&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},l(f,{name:n,newValue:e(h,c,i)})):void 0!==i&&l(f,{name:n,newValue:i}));return f}},33430(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g;function u(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var c=1,f=1;function d(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:c,column:f};return function(t){return t.position=new h(e),v(r),t}}function h(e){this.start=e,this.end={line:c,column:f},this.source=s.source}h.prototype.content=e;var g=[];function m(t){var n=Error(s.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=c,n.column=f,n.source=e,s.silent)g.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}v(r);var k,x=[];for(y(x);k=function(){var e=p(),n=v(i);if(n){if(b(),!v(o))return m("property missing ':'");var r=v(a),s=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(l),s}}();)!1!==k&&(x.push(k),y(x));return x}},51148(e,t,n){var r=n(1047),i=function(e){var t="",n=Object.keys(e);return n.forEach(function(i,o){var a,l=e[i];a=i=r(i),/[height|width]$/.test(a)&&"number"==typeof l&&(l+="px"),!0===l?t+=i:!1===l?t+="not "+i:t+="("+i+": "+l+")",o<n.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=i(n),r<e.length-1&&(t+=", ")}),t):i(e)}},1047(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},20236(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(33430))},68237(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},16200(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},9452(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},63e3(e,t,n){var r=n(16200);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47422(e){e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},62430(e){function t(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise(function(i,o){var a=e.apply(n,r);function l(e){t(a,i,o,l,s,"next",e)}function s(e){t(a,i,o,l,s,"throw",e)}l(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},13381(e,t,n){var r=n(50663),i=n(8893),o=n(9097);e.exports=function(e,t,n){return t=r(t),o(e,i()?Reflect.construct(t,n||[],r(e).constructor):t.apply(e,n))},e.exports.__esModule=!0,e.exports.default=e.exports},10940(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},14050(e,t,n){var r=n(30881);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},26405(e,t,n){var r=n(50663),i=n(8893),o=n(9097);e.exports=function(e){var t=i();return function(){var n,i=r(e);return n=t?Reflect.construct(i,arguments,r(this).constructor):i.apply(this,arguments),o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},65670(e,t,n){var r=n(30881);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},22147(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},50663(e){function t(n){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(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},59988(e,t,n){var r=n(54355);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw 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&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},36527(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},59534(e,t,n){var r=n(34645).default;function i(t,n){if("function"==typeof WeakMap)var o=new WeakMap,a=new WeakMap;return(e.exports=i=function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,l={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return l;if(n=t?a:o){if(n.has(e))return n.get(e);n.set(e,l)}for(var s in e)"default"!==s&&({}).hasOwnProperty.call(e,s)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(i.get||i.set)?n(l,s,i):l[s]=e[s]);return l},e.exports.__esModule=!0,e.exports.default=e.exports)(t,n)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8893(e){function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},77954(e){e.exports=function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},16247(e){e.exports=function(e,t){var n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,i=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}},e.exports.__esModule=!0,e.exports.default=e.exports},74201(e){e.exports=function(){throw 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},54348(e){e.exports=function(){throw TypeError("Invalid attempt to spread 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},56392(e,t,n){var r=n(65670);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e},e.exports.__esModule=!0,e.exports.default=e.exports},67982(e,t,n){var r=n(74138);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},74138(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},9097(e,t,n){var r=n(34645).default,i=n(47422);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},49832(e,t,n){var r=n(77471);function i(){var t,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",l=o.toStringTag||"@@toStringTag";function s(e,i,o,a){var l=Object.create((i&&i.prototype instanceof c?i:c).prototype);return r(l,"_invoke",function(e,r,i){var o,a,l,s=0,c=i||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,a=0,l=t,d.n=n,u}};function p(e,r){for(a=e,l=r,n=0;!f&&s&&!i&&n<c.length;n++){var i,o=c[n],p=d.p,h=o[2];e>3?(i=h===r)&&(l=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&p<o[1])?(a=0,d.v=r,d.n=o[1]):p<h&&(i=e<3||o[0]>r||r>h)&&(o[4]=e,o[5]=r,d.n=h,a=0))}if(i||e>1)return u;throw f=!0,r}return function(i,c,h){if(s>1)throw TypeError("Generator is already running");for(f&&1===c&&p(c,h),a=c,l=h;(n=a<2?t:l)||!f;){o||(a?a<3?(a>1&&(d.n=-1),p(a,l)):d.n=l:d.v=l);try{if(s=2,o){if(a||(i="next"),n=o[i]){if(!(n=n.call(o,l)))throw TypeError("iterator result is not an object");if(!n.done)return n;l=n.value,a<2&&(a=0)}else 1===a&&(n=o.return)&&n.call(o),a<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=t}else if((n=(f=d.n<0)?l:e.call(r,d))!==u)break}catch(e){o=t,a=1,l=e}finally{s=1}}return{value:n,done:f}}}(e,o,a),!0),l}var u={};function c(){}function f(){}function d(){}n=Object.getPrototypeOf;var p=d.prototype=c.prototype=Object.create([][a]?n(n([][a]())):(r(n={},a,function(){return this}),n));function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,l,"GeneratorFunction")),e.prototype=Object.create(p),e}return f.prototype=d,r(p,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,l,"GeneratorFunction"),r(p),r(p,l,"Generator"),r(p,a,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e.exports=i=function(){return{w:s,m:h}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},50934(e,t,n){var r=n(21334);e.exports=function(e,t,n,i,o){var a=r(e,t,n,i,o);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},21334(e,t,n){var r=n(49832),i=n(24940);e.exports=function(e,t,n,o,a){return new i(r().w(e,t,n,o),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},24940(e,t,n){var r=n(68237),i=n(77471);e.exports=function e(t,n){var o;this.next||(i(e.prototype),i(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(e,i,a){function l(){return new n(function(i,o){!function e(i,o,a,l){try{var s=t[i](o),u=s.value;return u instanceof r?n.resolve(u.v).then(function(t){e("next",t,a,l)},function(t){e("throw",t,a,l)}):n.resolve(u).then(function(e){s.value=e,a(s)},function(t){return e("throw",t,a,l)})}catch(e){l(e)}}(e,a,i,o)})}return o=o?o.then(l,l):l()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},77471(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}e.exports=t=function(e,n,r,i){function o(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[n]=r:(o("next",0),o("throw",1),o("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},568(e){e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},8470(e,t,n){var r=n(68237),i=n(49832),o=n(50934),a=n(21334),l=n(24940),s=n(568),u=n(48978);function c(){"use strict";var t=i(),n=t.m(c),f=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))}var p={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,i,o){return t.resultName=i,n(r.d,u(e),o)},finish:function(e){return n(r.f,e)}},n=function(e,n,i){r.p=t.prev,r.n=t.next;try{return e(n,i)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=c=function(){return{wrap:function(e,n,r,i){return t.w(h(e),n,r,i&&i.reverse())},isGeneratorFunction:d,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:l,async:function(e,t,n,r,i){return(d(t)?a:o)(h(e),t,n,r,i)},keys:s,values:u}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=c,e.exports.__esModule=!0,e.exports.default=e.exports},48978(e,t,n){var r=n(34645).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},54355(e){function t(n,r){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(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},65526(e,t,n){var r=n(9452),i=n(16247),o=n(36837),a=n(74201);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},83216(e,t,n){var r=n(9452),i=n(77954),o=n(36837),a=n(74201);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},33666(e,t,n){var r=n(63e3),i=n(77954),o=n(36837),a=n(54348);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},64260(e,t,n){var r=n(34645).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},30881(e,t,n){var r=n(34645).default,i=n(64260);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},34645(e){function t(n){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(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},36837(e,t,n){var r=n(16200);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},34666(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,i=getComputedStyle(e,null);return r(i.overflowY,t)||r(i.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},o=(e,t,n,r,i,o,a,l)=>o<e&&a>t||o>e&&a<t?0:o<=e&&l<=n||a>=t&&l>=n?o-e-r:a>t&&l<n||o<e&&l>n?a-t+i:0,a=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};t.compute=(e,t)=>{var r,l,s,u;let c;if("u"<typeof document)return[];let{scrollMode:f,block:d,inline:p,boundary:h,skipOverflowHiddenElements:g}=t,m="function"==typeof h?h:e=>e!==h;if(!n(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,y=[],b=e;for(;n(b)&&m(b);){if((b=a(b))===v){y.push(b);break}null!=b&&b===document.body&&i(b)&&!i(document.documentElement)||null!=b&&i(b,g)&&y.push(b)}let k=null!=(l=null==(r=window.visualViewport)?void 0:r.width)?l:innerWidth,x=null!=(u=null==(s=window.visualViewport)?void 0:s.height)?u:innerHeight,{scrollX:S,scrollY:w}=window,{height:A,width:E,top:C,right:O,bottom:M,left:P}=e.getBoundingClientRect(),{top:L,right:R,bottom:N,left:T}={top:parseFloat((c=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0},I="start"===d||"nearest"===d?C-L:"end"===d?M+N:C+A/2-L+N,D="center"===p?P+E/2-T+R:"end"===p?O+R:P-T,_=[];for(let e=0;e<y.length;e++){let t=y[e],{height:n,width:r,top:a,right:l,bottom:s,left:u}=t.getBoundingClientRect();if("if-needed"===f&&C>=0&&P>=0&&M<=x&&O<=k&&(t===v&&!i(t)||C>=a&&M<=s&&P>=u&&O<=l))break;let c=getComputedStyle(t),h=parseInt(c.borderLeftWidth,10),g=parseInt(c.borderTopWidth,10),m=parseInt(c.borderRightWidth,10),b=parseInt(c.borderBottomWidth,10),L=0,R=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-m:0,T="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-b:0,z="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,j="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)L="start"===d?I:"end"===d?I-x:"nearest"===d?o(w,w+x,x,g,b,w+I,w+I+A,A):I-x/2,R="start"===p?D:"center"===p?D-k/2:"end"===p?D-k:o(S,S+k,k,h,m,S+D,S+D+E,E),L=Math.max(0,L+w),R=Math.max(0,R+S);else{L="start"===d?I-a-g:"end"===d?I-s+b+T:"nearest"===d?o(a,s,n,g,b+T,I,I+A,A):I-(a+n/2)+T/2,R="start"===p?D-u-h:"center"===p?D-(u+r/2)+N/2:"end"===p?D-l+m+N:o(u,l,r,h,m+N,D,D+E,E);let{scrollLeft:e,scrollTop:i}=t;L=0===j?0:Math.max(0,Math.min(i+L/j,t.scrollHeight-n/j+T)),R=0===z?0:Math.max(0,Math.min(e+R/z,t.scrollWidth-r/z+N)),I+=i-L,D+=e-R}_.push({el:t,top:L,left:R})}return _}},81201(e,t,n){"use strict";var r=n(34666);e.exports=function(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let i={top:parseFloat((n=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(n.scrollMarginRight)||0,bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(r.compute(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:a,left:l}of r.compute(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=a-i.top+i.bottom,t=l-i.left+i.right;n.scroll({top:e,left:t,behavior:o})}}},6235(e,t){"use strict";function n(e,t,n){var r,i=n||{},o=i.noTrailing,a=void 0!==o&&o,l=i.noLeading,s=void 0!==l&&l,u=i.debounceMode,c=void 0===u?void 0:u,f=!1,d=0;function p(){r&&clearTimeout(r)}function h(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var l=this,u=Date.now()-d;function h(){d=Date.now(),t.apply(l,i)}function g(){r=void 0}!f&&(s||!c||r||h(),p(),void 0===c&&u>e?s?(d=Date.now(),a||(r=setTimeout(c?g:h,e))):h():!0!==a&&(r=setTimeout(c?g:h,void 0===c?e-u:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;p(),f=!(void 0!==t&&t)},h}Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=function(e,t,r){var i=(r||{}).atBegin;return n(e,t,{debounceMode:!1!==(void 0!==i&&i)})},t.throttle=n},40562(e,t,n){"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},83481(e,t,n){"use strict";function r(e,t=0,n={}){let i;"object"!=typeof n&&(n={});let{leading:o=!1,trailing:a=!0,maxWait:l}=n,s=[,,];o&&(s[0]="leading"),a&&(s[1]="trailing");let u=null,c=function(e,t,{signal:n,edges:r}={}){let i,o=null,a=null!=r&&r.includes("leading"),l=null==r||r.includes("trailing"),s=()=>{null!==o&&(e.apply(i,o),i=void 0,o=null)},u=null,c=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,l&&s(),f()},t)},f=()=>{null!==u&&(clearTimeout(u),u=null),i=void 0,o=null},d=function(...e){if(n?.aborted)return;i=this,o=e;let t=null==u;c(),a&&t&&s()};return d.schedule=c,d.cancel=f,d.flush=()=>{s()},n?.addEventListener("abort",f,{once:!0}),d}(function(...t){i=e.apply(this,t),u=null},t,{edges:s}),f=function(...t){return null!=l&&(null===u&&(u=Date.now()),Date.now()-u>=l)?(i=e.apply(this,t),u=Date.now(),c.cancel(),c.schedule(),i):(c.apply(this,t),i)};return f.cancel=c.cancel,f.flush=()=>(c.flush(),i),f}n.d(t,{s:()=>r})},17149(e,t,n){"use strict";n.d(t,{z:()=>f});var r=n(8963).Buffer,i=n(72282),o=n(49087);function a(e){return"symbol"==typeof e||e instanceof Symbol}function l(e){let t=[];for(let n in e)t.push(n);return t}var s=n(84263);function u(e){return e}var c=n(27519);function f(e,t){if(null==e)return{};let n={},f=(0,c.c)(t??u),d=(0,i.X)(e)?function(e,t,n=1){if(null==t&&(t=e,e=0),!Number.isInteger(n)||0===n)throw Error("The step value must be a non-zero integer.");let r=Math.max(Math.ceil((t-e)/n),0),i=Array(r);for(let t=0;t<r;t++)i[t]=e+t*n;return i}(0,e.length):[...function(e){if(null==e)return[];switch(typeof e){case"object":case"function":let t;if((0,i.X)(e))return function(e){let t=function(e,t){var n,r;let i,o;if((e=(o=(i=(n=e)?(n=a(r=n)?NaN:Number(r))===1/0||n===-1/0?(n<0?-1:1)*Number.MAX_VALUE:n==n?n:0:0===n?n:0)%1)?i-o:i)<1||!Number.isSafeInteger(e))return[];let l=Array(e);for(let n=0;n<e;n++)l[n]="function"==typeof t?t(n):n;return l}(e.length,e=>`${e}`),n=new Set(t);void 0!==r&&r.isBuffer(e)&&(n.add("offset"),n.add("parent")),(0,o.i)(e)&&(n.add("buffer"),n.add("byteLength"),n.add("byteOffset"));let i=l(e).filter(e=>!n.has(e));return Array.isArray(e)?[...t,...i]:[...t.filter(t=>Object.hasOwn(e,t)),...i]}(e);if(t=e?.constructor,e===("function"==typeof t?t.prototype:Object.prototype))return l(e).filter(e=>"constructor"!==e);return l(e);default:return l(Object(e))}}(e),...function(e){let t=[];for(;e;)t.push(...(0,s.O)(e)),e=Object.getPrototypeOf(e);return t}(e)];for(let t=0;t<d.length;t++){let r=a(d[t])?d[t]:d[t].toString(),i=e[r];f(i,r,e)||(n[r]=i)}return n}},90804(e,t,n){"use strict";function r(e){return Array.isArray(e)}n.d(t,{c:()=>r})},2374(e,t,n){"use strict";n.d(t,{H:()=>et});var r={};n.r(r),n.d(r,{boolean:()=>m,booleanish:()=>v,commaOrSpaceSeparated:()=>S,commaSeparated:()=>x,number:()=>b,overloadedBoolean:()=>y,spaceSeparated:()=>k});var i=n(40562);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function s(e,t){return((t||l).jsx?a:o).test(e)}let u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}class f{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function d(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new f(n,r,t)}function p(e){return e.toLowerCase()}f.prototype.property={},f.prototype.normal={},f.prototype.space=null;class h{constructor(e,t){this.property=e,this.attribute=t}}h.prototype.space=null,h.prototype.boolean=!1,h.prototype.booleanish=!1,h.prototype.overloadedBoolean=!1,h.prototype.number=!1,h.prototype.commaSeparated=!1,h.prototype.spaceSeparated=!1,h.prototype.commaOrSpaceSeparated=!1,h.prototype.mustUseProperty=!1,h.prototype.defined=!1;let g=0,m=w(),v=w(),y=w(),b=w(),k=w(),x=w(),S=w();function w(){return 2**++g}let A=Object.keys(r);class E extends h{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o<A.length;){const e=A[o];!function(e,t,n){n&&(e[t]=n)}(this,A[o],(n&r[e])===r[e])}}}E.prototype.defined=!0;let C={}.hasOwnProperty;function O(e){let t,n={},r={};for(t in e.properties)if(C.call(e.properties,t)){let i=e.properties[t],o=new E(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(o.mustUseProperty=!0),n[t]=o,r[p(t)]=t,r[p(o.attribute)]=t}return new f(n,r,e.space)}let M=O({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),P=O({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function L(e,t){return t in e?e[t]:t}function R(e,t){return L(e,t.toLowerCase())}let N=O({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:R,properties:{xmlns:null,xmlnsXLink:null}}),T=O({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:v,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:k,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:b,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:k,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:v,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}}),I=O({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:R,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:m,allowPaymentRequest:m,allowUserMedia:m,alt:null,as:null,async:m,autoCapitalize:null,autoComplete:k,autoFocus:m,autoPlay:m,blocking:k,capture:null,charSet:null,checked:m,cite:null,className:k,cols:b,colSpan:null,content:null,contentEditable:v,controls:m,controlsList:k,coords:b|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:m,defer:m,dir:null,dirName:null,disabled:m,download:y,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:m,formTarget:null,headers:k,height:b,hidden:m,high:b,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:m,inputMode:null,integrity:null,is:null,isMap:m,itemId:null,itemProp:k,itemRef:k,itemScope:m,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:m,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:m,muted:m,name:null,nonce:null,noModule:m,noValidate:m,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:m,optimum:b,pattern:null,ping:k,placeholder:null,playsInline:m,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:m,referrerPolicy:null,rel:k,required:m,reversed:m,rows:b,rowSpan:b,sandbox:k,scope:null,scoped:m,seamless:m,selected:m,shadowRootClonable:m,shadowRootDelegatesFocus:m,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:m,useMap:null,value:v,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:m,declare:m,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:m,noHref:m,noShade:m,noWrap:m,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:m,disableRemotePlayback:m,prefix:null,property:null,results:b,security:null,unselectable:null}}),D=O({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:L,properties:{about:S,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:k,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:m,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:S,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:S,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:S,rev:S,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:S,requiredFeatures:S,requiredFonts:S,requiredFormats:S,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:S,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:S,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:S,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),_=d([P,M,N,T,I],"html"),z=d([P,M,N,T,D],"svg"),j=/^data[-\w.:]+$/i,F=/-[a-z]/g,H=/[A-Z]/g;function B(e){return"-"+e.toLowerCase()}function W(e){return e.charAt(1).toUpperCase()}let V={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var U=n(20236);let $=U.default||U;var Y=n(69974),q=n(69997);let X={}.hasOwnProperty,K=new Map,G=/[A-Z]/g,J=/-([a-z])/g,Q=new Set(["table","tbody","thead","tfoot","tr"]),Z=new Set(["td","th"]),ee="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function et(e,t){var n,r,i,o;let a;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=l,r=t.jsxDEV,a=function(e,t,i,o){let a=Array.isArray(i.children),l=(0,Y.PW)(e);return r(t,i,o,a,{columnNumber:l?l.column-1:void 0,fileName:n,lineNumber:l?l.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,a=function(e,t,n,r){let a=Array.isArray(n.children)?o:i;return r?a(t,n,r):a(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?z:_,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=en(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function en(e,t,n){var r,o,a,l,s,u,f,d,g;let m,v,y,b,k,x,S,w,A,C,O;return"element"===t.type?(r=e,o=t,a=n,v=m=r.schema,"svg"===o.tagName.toLowerCase()&&"html"===m.space&&(r.schema=z),r.ancestors.push(o),y=ea(r,o.tagName,!1),b=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&X.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=p(t),r=t,i=h;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&j.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(F,W);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!F.test(e)){let n=e.replace(H,B);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=E}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var i;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(i=n)[i.length-1]?[...i,""]:i).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){let n={};try{$(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(J,es)),n[r]=t})}catch(t){if(!e.ignoreInvalidStyle){let n=new q.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ee+"#cannot-parse-style-attribute",n}}return n}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)X.call(e,t)&&(n[function(e){let t=e.replace(G,eu);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?V[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,a]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&Z.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,o),k=eo(r,o),Q.has(o.tagName)&&(k=k.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),er(r,b,y,o),ei(b,k),r.ancestors.pop(),r.schema=m,r.create(o,y,b,a)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}el(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,s=t,u=n,S=x=l.schema,"svg"===s.name&&"html"===x.space&&(l.schema=z),l.ancestors.push(s),w=null===s.name?l.Fragment:ea(l,s.name,!0),A=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let o=t.expression;(0,i.ok)("ObjectExpression"===o.type);let a=o.properties[0];(0,i.ok)("SpreadElement"===a.type),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else el(e,t.position);else{let o,a=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),o=e.evaluater.evaluateExpression(t.expression)}else el(e,t.position);else o=null===r.value||r.value;n[a]=o}return n}(l,s),C=eo(l,s),er(l,A,w,s),ei(A,C),l.ancestors.pop(),l.schema=x,l.create(s,w,A,u)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);el(e,t.position)}(e,t):"root"===t.type?(f=e,d=t,g=n,ei(O={},eo(f,d)),f.create(d,f.Fragment,O,g)):"text"===t.type?t.value:void 0}function er(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ei(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function eo(e,t){let n=[],r=-1,i=e.passKeys?new Map:K;for(;++r<t.children.length;){let o,a=t.children[r];if(e.passKeys){let e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let l=en(e,a,o);void 0!==l&&n.push(l)}return n}function ea(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),o=-1;for(;++o<n.length;){let t=s(n[o])?{type:"Identifier",name:n[o]}:{type:"Literal",value:n[o]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(o&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=s(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return X.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);el(e)}function el(e,t){let n=new q.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ee+"#cannot-handle-mdx-estrees-without-createevaluater",n}function es(e,t){return t.toUpperCase()}function eu(e){return"-"+e.toLowerCase()}},37519(e,t,n){"use strict";n.d(t,{$:()=>r});let r={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}},25205(e,t,n){"use strict";n.d(t,{Ay:()=>ea,t:()=>eo});var r=n(45983),i=n(23850),o=n(45804),a=n(9548),l=n(60410),s=n(56323),u=n(60185),c=n(5908),f=n(82586);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,e),this.init(t,n)}return(0,o.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||h,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,p(p({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}()),m=function(){function e(){(0,i.A)(this,e),this.observers={}}return(0,o.A)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function v(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function y(e){return null==e?"":""+e}function b(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function k(e,t,n){var r=b(e,t,Object);r.obj[r.k]=n}function x(e,t){var n=b(e,t),r=n.obj,i=n.k;if(r)return r[i]}function S(e,t,n){var r=x(e,n);return void 0!==r?r:x(t,n)}function w(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var A={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function E(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return A[e]}):e}var C="u">typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,O=[" ",",","?","!",";"];function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var L=function(e){(0,l.A)(r,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||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}}(),function(){var e,n=(0,u.A)(r);return e=t?Reflect.construct(n,arguments,(0,u.A)(this).constructor):n.apply(this,arguments),(0,s.A)(this,e)});function r(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,i.A)(this,r),t=n.call(this),C&&m.call((0,a.A)(t)),t.data=e||{},t.options=o,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return(0,o.A)(r,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var l=x(this.data,a);return l||!o||"string"!=typeof n?l:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var i=n.split(r),o=t,a=0;a<i.length;++a){if(!o||"string"==typeof o[i[a]]&&a+1<i.length)return;if(void 0===o[i[a]]){for(var l=2,s=i.slice(a,a+l).join(r),u=o[s];void 0===u&&i.length>a+l;)l++,u=o[s=i.slice(a,a+l).join(r)];if(void 0===u)return;if(null===u)return null;if(n.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var c=i.slice(a+l).join(r);if(c)return e(u,c,r);return}o=o[i[a]]}return o}}(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),k(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)("string"==typeof n[i]||"[object Array]"===Object.prototype.toString.apply(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var l=x(this.data,a)||{};r?function e(t,n,r){for(var i in n)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(t[i]=n[i]):e(t[i],n[i],r):t[i]=n[i]);return t}(l,n,i):l=P(P({},l),n),k(this.data,a,l),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?P(P({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(m),R={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))}),t}};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var I={},D=function(e){(0,l.A)(c,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||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}}(),function(){var e,n=(0,u.A)(c);return e=t?Reflect.construct(n,arguments,(0,u.A)(this).constructor):n.apply(this,arguments),(0,s.A)(this,e)});function c(e){var t,r,o,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.A)(this,c),o=n.call(this),C&&m.call((0,a.A)(o)),t=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r=(0,a.A)(o),t.forEach(function(t){e[t]&&(r[t]=e[t])}),o.options=l,void 0===o.options.keySeparator&&(o.options.keySeparator="."),o.logger=g.create("translator"),o}return(0,o.A)(c,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=O.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===r.length)return!0;var i=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r);if(o&&!a){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:i};var s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(i=s.shift()),e=s.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,n){var i=this;if("object"!==(0,r.A)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),s=l.key,u=l.namespaces,f=u[u.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return o?(g.res="".concat(f).concat(h).concat(s),g):"".concat(f).concat(h).concat(s)}return o?(g.res=s,g):s}var g=this.resolve(e,t),m=g&&g.res,v=g&&g.usedKey||s,y=g&&g.exactUsedKey||s,b=Object.prototype.toString.apply(m),k=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,S="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(x&&m&&S&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&("string"!=typeof k||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,m,T(T({},t),{},{ns:u})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");return o?(g.res=w,g):w}if(a){var A="[object Array]"===b,E=A?[]:{},C=A?y:v;for(var O in m)if(Object.prototype.hasOwnProperty.call(m,O)){var M="".concat(C).concat(a).concat(O);E[O]=this.translate(M,T(T({},t),{joinArrays:!1,ns:u})),E[O]===M&&(E[O]=m[O])}m=E}}else if(x&&"string"==typeof k&&"[object Array]"===b)(m=m.join(k))&&(m=this.extendTranslation(m,e,t,n));else{var P=!1,L=!1,R=void 0!==t.count&&"string"!=typeof t.count,N=c.hasDefaultValue(t),I=R?this.pluralResolver.getSuffix(d,t.count,t):"",D=t["defaultValue".concat(I)]||t.defaultValue;!this.isValidLookup(m)&&N&&(P=!0,m=D),this.isValidLookup(m)||(L=!0,m=s);var _=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:m,z=N&&D!==m&&this.options.updateMissing;if(L||P||z){if(this.logger.log(z?"updateKey":"missingKey",d,f,s,z?D:m),a){var j=this.resolve(s,T(T({},t),{},{keySeparator:!1}));j&&j.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var F=[],H=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&H&&H[0])for(var B=0;B<H.length;B++)F.push(H[B]);else"all"===this.options.saveMissingTo?F=this.languageUtils.toResolveHierarchy(t.lng||this.language):F.push(t.lng||this.language);var W=function(e,n,r){var o=N&&r!==m?r:_;i.options.missingKeyHandler?i.options.missingKeyHandler(e,f,n,o,z,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,f,n,o,z,t),i.emit("missingKey",e,f,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&R?F.forEach(function(e){i.pluralResolver.getSuffixes(e,t).forEach(function(n){W([e],s+n,t["defaultValue".concat(n)]||D)})}):W(F,s,D))}m=this.extendTranslation(m,e,t,g,n),L&&m===s&&this.options.appendNamespaceToMissingKey&&(m="".concat(f,":").concat(s)),(L||P)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(f,":").concat(s):s,P?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(g.res=m,g):m}},{key:"extendTranslation",value:function(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,T(T({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(T(T({},n),{interpolation:T(T({},this.options.interpolation),n.interpolation)}));var a,l="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=T(T({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),l){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=R.handle(d,e,t,this.options&&this.options.postProcessPassResolved?T({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,l),u=s.key;n=u;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==l.count&&"string"!=typeof l.count,d=f&&!l.ordinal&&0===l.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==l.context&&("string"==typeof l.context||"number"==typeof l.context)&&""!==l.context,h=l.lngs?l.lngs:a.languageUtils.toResolveHierarchy(l.lng||a.language,l.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(o=e,!I["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(I["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){i=n;var o,s=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(s,u,n,e,l);else{f&&(c=a.pluralResolver.getSuffix(n,l.count,l));var c,h="".concat(a.options.pluralSeparator,"zero");if(f&&(s.push(u+c),d&&s.push(u+h)),p){var g="".concat(u).concat(a.options.contextSeparator).concat(l.context);s.push(g),f&&(s.push(g+c),d&&s.push(g+h))}}for(;o=s.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,l))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),c}(m);function _(e){return e.charAt(0).toUpperCase()+e.slice(1)}var z=function(){function e(t){(0,i.A)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return(0,o.A)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=_(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach(function(e){0>i.indexOf(e)&&o(n.formatLanguageCode(e))}),i}}]),e}(),j=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],F={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(+(1!=e&&(e%10!=1||e%100==11)))},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4))},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},H=["v1","v2","v3"],B={zero:0,one:1,two:2,few:3,many:4,other:5},W=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,e),this.languageUtils=t,this.options=r,this.logger=g.create("pluralResolver"),(!this.options.compatibilityJSON||"v4"===this.options.compatibilityJSON)&&("u"<typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},j.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:F[e.fc]}})}),n)}return(0,o.A)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return B[e]-B[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!H.includes(this.options.compatibilityJSON)}}]),e}();function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.A)(this,e),this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,o.A)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:E,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?w(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?w(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?w(t.nestingPrefix):t.nestingPrefixEscaped||w("$t("),this.nestingSuffix=t.nestingSuffix?w(t.nestingSuffix):t.nestingSuffixEscaped||w(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,l=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(l.formatSeparator)){var i=S(t,s,e);return l.alwaysFormat?l.format(i,void 0,n,U(U(U({},r),t),{},{interpolationkey:e})):i}var o=e.split(l.formatSeparator),a=o.shift().trim(),u=o.join(l.formatSeparator).trim();return l.format(S(t,s,a),u,n,U(U(U({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?u(l.escape(e)):u(e)}}].forEach(function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=c(n)))if("function"==typeof f){var s=f(e,i,r);o="string"==typeof s?s:""}else if(r&&r.hasOwnProperty(n))o="";else if(d){o=i[0];continue}else l.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o="";else"string"==typeof o||l.useRawValueToEscape||(o=y(o));var u=t.safeValue(o);if(e=e.replace(i[0],u),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=l.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=U({},o);function l(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var o=(i=this.interpolate(i,a)).match(/'/g),l=i.match(/"/g);(o&&o.length%2==0&&!l||l.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a=U(U({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=c.shift(),s=c,u=!0}if((r=t(l.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=y(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=s.reduce(function(e,t){return i.format(e,t,o.lng,U(U({},o),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function X(e){var t={};return function(n,r,i){var o=r+JSON.stringify(i),a=t[o];return a||(a=e(r,i),t[o]=a),a(n)}}var K=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.A)(this,e),this.logger=g.create("formatter"),this.options=t,this.formats={number:X(function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}}),currency:X(function(e,t){var n=new Intl.NumberFormat(e,q(q({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:X(function(e,t){var n=new Intl.DateTimeFormat(e,q({},t));return function(e){return n.format(e)}}),relativetime:X(function(e,t){var n=new Intl.RelativeTimeFormat(e,q({},t));return function(e){return n.format(e,t.range||"day")}}),list:X(function(e,t){var n=new Intl.ListFormat(e,q({},t));return function(e){return n.format(e)}})},this.init(t)}return(0,o.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=X(t)}},{key:"format",value:function(e,t,n,r){var i=this;return t.split(this.formatSeparator).reduce(function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(function(e){if(e){var t=e.split(":"),r=(0,f.A)(t),i=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[i.trim()]||(n[i.trim()]=o),"false"===o&&(n[i.trim()]=!1),"true"===o&&(n[i.trim()]=!0),isNaN(o)||(n[i.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}}(t),a=o.formatName,l=o.formatOptions;if(i.formats[a]){var s=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;s=i.formats[a](e,c,q(q(q({},l),r),u))}catch(e){i.logger.warn(e)}return s}return i.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Q=function(e){(0,l.A)(r,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||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}}(),function(){var e,n=(0,u.A)(r);return e=t?Reflect.construct(n,arguments,(0,u.A)(this).constructor):n.apply(this,arguments),(0,s.A)(this,e)});function r(e,t,o){var l,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,i.A)(this,r),l=n.call(this),C&&m.call((0,a.A)(l)),l.backend=e,l.store=t,l.services=o,l.languageUtils=o.languageUtils,l.options=s,l.logger=g.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=s.maxParallelReads||10,l.readingCalls=0,l.maxRetries=s.maxRetries>=0?s.maxRetries:5,l.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(o,s.backend,s),l}return(0,o.A)(r,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},l={},s={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var l="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[l]=2:i.state[l]<0||(1===i.state[l]?void 0===a[l]&&(a[l]=!0):(i.state[l]=1,r=!1,void 0===a[l]&&(a[l]=!0),void 0===o[l]&&(o[l]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(l[e]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(s)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,l,s,u;r=n.loaded,(s=(l=b(r,[i],Object)).obj)[u=l.k]=s[u]||[],s[u].push(o),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a}):(this.readingCalls++,this.backend[n](e,t,function(l,s){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}l&&s&&i<r.maxRetries?setTimeout(function(){r.read.call(r,e,t,n,i+1,2*o,a)},o):a(l,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null==n||""===n||(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,J(J({},o),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),r}(m);function Z(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach(function(t){(0,c.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function en(){}var er=function(e){(0,l.A)(c,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||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}}(),function(){var e,n=(0,u.A)(c);return e=t?Reflect.construct(n,arguments,(0,u.A)(this).constructor):n.apply(this,arguments),(0,s.A)(this,e)});function c(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if((0,i.A)(this,c),t=n.call(this),C&&m.call((0,a.A)(t)),t.options=Z(r),t.services={},t.logger=g,t.modules={external:[]},Object.getOwnPropertyNames(Object.getPrototypeOf(e=(0,a.A)(t))).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}),o&&!t.isInitialized&&!r.isClone){if(!t.options.initImmediate)return t.init(r,o),(0,s.A)(t,(0,a.A)(t));setTimeout(function(){t.init(r,o)},0)}return t}return(0,o.A)(c,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var i={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,r.A)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,r.A)(e[2])||"object"===(0,r.A)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=et(et(et({},i),this.options),Z(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=et(et({},i.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?g.init(o(this.modules.logger),this.options):g.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"u">typeof Intl&&(a=K);var a,l=new z(this.options);this.store=new L(this.options.resources,this.options);var s=this.services;s.logger=g,s.resourceStore=this.store,s.languageUtils=l,s.pluralResolver=new W(l,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(s.formatter=o(a),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new $(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Q(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new D(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.format=this.options.interpolation.format,n||(n=en),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var c=v(),f=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:en,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>o.indexOf(e)&&o.push(e)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)})}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=v();return e||(e=this.languages),t||(t=this.options.ns),n||(n=en),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&R.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=v();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},a=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||i(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(e){o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,o=function e(t,o){if("object"!==(0,r.A)(o)){for(var a,l=arguments.length,s=Array(l>2?l-2:0),u=2;u<l;u++)s[u-2]=arguments[u];a=i.options.overloadTranslationOptionHandler([t,o].concat(s))}else a=et({},o);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var c=i.options.keySeparator||".",f=a.keyPrefix?"".concat(a.keyPrefix).concat(c).concat(t):t;return i.t(f,a)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var l=n.precheck(this,a);if(void 0!==l)return l}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=v();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=v();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter(function(e){return 0>r.indexOf(e)});return i.length?(this.options.preload=r.concat(i),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:en,r=et(et(et({},this.options),t),{isClone:!0}),i=new c(r);return(void 0!==t.debug||void 0!==t.prefix)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(function(t){i[t]=e[t]}),i.services=et({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new D(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(r,n),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),c}(m);(0,c.A)(er,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new er(e,t)});var ei=er.createInstance();ei.createInstance=er.createInstance,ei.createInstance,ei.init,ei.loadResources,ei.reloadResources,ei.use,ei.changeLanguage,ei.getFixedT;var eo=ei.t;ei.exists,ei.setDefaultNamespace,ei.hasLoadedNamespace,ei.loadNamespaces,ei.loadLanguages;let ea=ei},94257(e,t,n){"use strict";n.d(t,{BM:()=>l,CW:()=>r,Ee:()=>f,HP:()=>c,JQ:()=>a,Ny:()=>h,On:()=>d,cx:()=>o,es:()=>p,lV:()=>i,ok:()=>s,ol:()=>u});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),o=g(/[#-'*+\--9=?A-Z^-~]/);function a(e){return null!==e&&(e<32||127===e)}let l=g(/\d/),s=g(/[\dA-Fa-f]/),u=g(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function f(e){return null!==e&&(e<0||32===e)}function d(e){return -2===e||-1===e||32===e}let p=g(/\p{P}|\p{S}/u),h=g(/\s/);function g(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},74171(e,t,n){"use strict";n.d(t,{A:()=>eC});var r={};n.r(r),n.d(r,{attentionMarkers:()=>em,contentInitial:()=>ec,disable:()=>ev,document:()=>eu,flow:()=>ed,flowInitial:()=>ef,insideSpan:()=>eg,string:()=>ep,text:()=>eh});let i={};function o(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a(e.children,t,n)}return Array.isArray(e)?a(e,t,n):""}function a(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}function l(e,t,n,r){let i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function s(e,t){return e.length>0?(l(e,e.length,0,t),e):t}class u{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&c(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),c(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),c(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);c(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);c(this.left,t.reverse())}}}function c(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function f(e){let t,n,r,i,o,a,s,c={},f=-1,d=new u(e);for(;++f<d.length;){for(;f in c;)f=c[f];if(t=d.get(f),f&&"chunkFlow"===t[1].type&&"listItemPrefix"===d.get(f-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],a=t-1,l=[],s=i._tokenizer||o.parser[i.contentType](i.start),u=s.events,c=[],f={},d=-1,p=i,h=0,g=0,m=[0];for(;p;){for(;e.get(++a)[1]!==p;);l.push(a),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<u.length;)"exit"===u[d][0]&&"enter"===u[d-1][0]&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(g=d+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),d=m.length;d--;){let t=u.slice(m[d],m[d+1]),n=l.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)f[h+c[d][0]]=h+c[d][1],h+=c[d][1]-c[d][0]-1;return f}(d,f)),f=c[f],s=!0);else if(t[1]._container){for(r=f,n=void 0;r--;)if("lineEnding"===(i=d.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(d.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end={...d.get(n)[1].start},(o=d.slice(n,f)).unshift(t),d.splice(n,f-n+1,o))}}return l(e,0,1/0,d.slice(0)),!s}let d={}.hasOwnProperty;var p=n(94257);function h(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return(0,p.On)(r)?(e.enter(n),function r(a){return(0,p.On)(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let g={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,p.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},m={tokenize:function(e){let t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,u,c)(t)}return c(t)}function u(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&k();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}b(a);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return l(i.events,o+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(a===o.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(v,f,d)(n)}function f(e){return t&&k(),b(a),h(e)}function d(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,m(e)}function h(t){return i.containerState={},e.attempt(v,g,m)(t)}function g(e){return a++,o.push([i.currentConstruct,i.containerState]),h(e)}function m(r){if(null===r){t&&k(),b(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){y(e.exit("chunkFlow"),!0),b(0),e.consume(n);return}return(0,p.HP)(n)?(e.consume(n),y(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function y(e,o){let s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let s=i.events.length,u=s;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(b(a),o=s;o<i.events.length;)i.events[o][1].end={...n},o++;l(i.events,u+1,0,i.events.slice(s)),i.events.length=o}}function b(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function k(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},v={tokenize:function(e,t,n){return h(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},y={partial:!0,tokenize:function(e,t,n){return function(t){return(0,p.On)(t)?h(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||(0,p.HP)(e)?t(e):n(e)}}},b={resolve:function(e){return f(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,p.HP)(t)?e.check(k,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},k={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h(e,i,"linePrefix")};function i(i){if(null===i||(0,p.HP)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},x={tokenize:function(e){let t=this,n=e.attempt(y,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,h(e,e.attempt(this.parser.constructs.flow,r,e.attempt(b,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},S={resolveAll:C()},w=E("string"),A=E("text");function E(e){return{resolveAll:C("text"===e?O:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return s(e)?i(e):a(e)}function a(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),l)}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function C(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function O(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),a=o.length,l=-1,s=0;for(;a--;){let e=o[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{a++;break}}if(s){let o={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:i.start._bufferIndex+l,_index:i.start._index+a,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let M={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var a;return e.enter("thematicBreak"),r=a=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,p.On)(n)?h(e,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||(0,p.HP)(a))?(e.exit("thematicBreak"),t(a)):n(a)}(a)}}},P={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(y,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,h(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,p.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(R,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,h(e,e.attempt(P,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,p.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(M,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,p.BM)(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(y,r.interrupt?n:s,e.attempt(L,c,u))}function s(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,p.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},L={partial:!0,tokenize:function(e,t,n){let r=this;return h(e,function(e){let i=r.events[r.events.length-1];return!(0,p.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},R={partial:!0,tokenize:function(e,t,n){let r=this;return h(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},N={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,p.On)(t)?h(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(N,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,p.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function T(e,t,n,r,i,o,a,l,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||(0,p.JQ)(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),g(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||(0,p.HP)(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function g(i){return!c&&(null===i||41===i||(0,p.Ee)(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,g):41===i?(e.consume(i),c--,g):null===i||32===i||40===i||(0,p.JQ)(i)?n(i):(e.consume(i),92===i?m:g)}function m(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}function I(e,t,n,r,i,o){let a,l=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(f){return s>999||null===f||91===f||93===f&&!a||94===f&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(0,p.HP)(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||(0,p.HP)(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!(0,p.On)(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function D(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===a?(e.exit(o),l(a)):null===t?n(t):(0,p.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||(0,p.HP)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function _(e,t){let n;return function r(i){return(0,p.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,p.On)(i)?h(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function z(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let j={partial:!0,tokenize:function(e,t,n){return function(t){return(0,p.Ee)(t)?_(e,r)(t):n(t)};function r(t){return D(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,p.On)(t)?h(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,p.HP)(e)?t(e):n(e)}}},F={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),h(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,p.HP)(n)?e.attempt(H,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,p.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},H={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,p.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):h(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,p.HP)(e)?i(e):n(e)}}},B={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var a;let l,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){l="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,p.On)(n)?h(e,o,"lineSuffix")(n):o(n))}(a)):n(t)};function o(r){return null===r||(0,p.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},W=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],V=["pre","script","style","textarea"],U={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(y,t,n)}}},$={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,p.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Y={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},q={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),(0,p.On)(t)?h(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),(0,p.On)(i)?h(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,p.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,l=0;return function(t){var o;let u;return o=t,a=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),(0,p.On)(i)?h(e,s,"whitespace")(i):s(i))}(o)};function s(o){return null===o||(0,p.HP)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(Y,c,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,p.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):(0,p.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||(0,p.HP)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,p.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,m,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return a>0&&(0,p.On)(t)?h(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||(0,p.HP)(t)?e.check(Y,c,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,p.HP)(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},X=document.createElement("i");function K(e){let t="&"+e+";";X.innerHTML=t;let n=X.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let G={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=p.lV,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=p.ok,u):(e.enter("characterReferenceValue"),r=7,i=p.BM,u(t))}function u(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==p.lV||K(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<r?(e.consume(l),u):n(l)}}},J={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,p.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Q={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),h(e,t,"linePrefix")}}};function Z(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let ee={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&l(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,a=e.length,u=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(i=a);let c={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[r+u+2][1].end},end:{...e[i-2][1].start}};return o=s(o=[["enter",c,t],["enter",f,t]],e.slice(r+1,r+u+3)),o=s(o,[["enter",d,t]]),o=s(o,Z(t.parser.constructs.insideSpan.null,e.slice(r+u+4,i-3),t)),o=s(o,[["exit",d,t],e[i-2],e[i-1],["exit",f,t]]),o=s(o,e.slice(i+1)),o=s(o,[["exit",c,t]]),l(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(z(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(et,u,i?u:c)(t):91===t?e.attempt(en,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(er,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},et={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,p.Ee)(t)?_(e,i)(t):i(t)}function i(t){return 41===t?u(t):T(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,p.Ee)(t)?_(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?D(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return(0,p.Ee)(t)?_(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},en={tokenize:function(e,t,n){let r=this;return function(t){return I.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(z(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},er={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ei={name:"labelStartImage",resolveAll:ee.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function eo(e){return null===e||(0,p.Ee)(e)||(0,p.Ny)(e)?1:(0,p.es)(e)?2:void 0}let ea={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,u,c,f,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let p={...e[n][1].end},h={...e[d][1].start};el(p,-u),el(h,u),o={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:h},i={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:u>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[d][1].start={...a.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=s(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=s(c,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),c=s(c,Z(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),c=s(c,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,c=s(c,[["enter",e[d][1],t],["exit",e[d][1],t]])):f=0,l(e,n-1,d-n+3,c),d=n+c.length-f-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=eo(i);return function(a){return n=a,e.enter("attentionSequence"),function a(l){if(l===n)return e.consume(l),a;let s=e.exit("attentionSequence"),u=eo(l),c=!u||2===u&&o||r.includes(l),f=!o||2===o&&u||r.includes(i);return s._open=!!(42===n?c:c&&(o||!f)),s._close=!!(42===n?f:f&&(u||!c)),t(l)}(a)}}};function el(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let es={name:"labelStartLink",resolveAll:ee.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eu={42:P,43:P,45:P,48:P,49:P,50:P,51:P,52:P,53:P,54:P,55:P,56:P,57:P,62:N},ec={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,I.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=z(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return(0,p.Ee)(t)?_(e,l)(t):l(t)}function l(t){return T(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(j,u,u)(t)}function u(t){return(0,p.On)(t)?h(e,c,"whitespace")(t):c(t)}function c(o){return null===o||(0,p.HP)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},ef={[-2]:F,[-1]:F,32:F},ed={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},l(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,p.Ee)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,p.HP)(r)?(e.exit("atxHeading"),t(r)):(0,p.On)(r)?h(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,p.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:M,45:[B,M],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,a,l,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),r=3,s.interrupt?t:T):(0,p.CW)(a)?(e.consume(a),o=String.fromCharCode(a),g):n(a)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,a=0,d):(0,p.CW)(i)?(e.consume(i),r=4,s.interrupt?t:T):n(i)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:T):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?s.interrupt?t:E:d:n(r)}function h(t){return(0,p.CW)(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(a){if(null===a||47===a||62===a||(0,p.Ee)(a)){let l=47===a,u=o.toLowerCase();return!l&&!i&&V.includes(u)?(r=1,s.interrupt?t(a):E(a)):W.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):s.interrupt?t(a):E(a):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):i?function t(n){return(0,p.On)(n)?(e.consume(n),t):w(n)}(a):v(a))}return 45===a||(0,p.lV)(a)?(e.consume(a),o+=String.fromCharCode(a),g):n(a)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:E):n(r)}function v(t){return 47===t?(e.consume(t),w):58===t||95===t||(0,p.CW)(t)?(e.consume(t),y):(0,p.On)(t)?(e.consume(t),v):w(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,p.lV)(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),k):(0,p.On)(t)?(e.consume(t),b):v(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):(0,p.On)(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,p.Ee)(n)?b(n):(e.consume(n),t)}(t)}function x(t){return t===l?(e.consume(t),l=null,S):null===t||(0,p.HP)(t)?n(t):(e.consume(t),x)}function S(e){return 47===e||62===e||(0,p.On)(e)?v(e):n(e)}function w(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,p.HP)(t)?E(t):(0,p.On)(t)?(e.consume(t),A):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),L):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),T):93===t&&5===r?(e.consume(t),N):(0,p.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(U,D,C)(t)):null===t||(0,p.HP)(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),E)}function C(t){return e.check($,O,D)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||(0,p.HP)(t)?C(t):(e.enter("htmlFlowData"),E(t))}function P(t){return 45===t?(e.consume(t),T):E(t)}function L(t){return 47===t?(e.consume(t),o="",R):E(t)}function R(t){if(62===t){let n=o.toLowerCase();return V.includes(n)?(e.consume(t),I):E(t)}return(0,p.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),R):E(t)}function N(t){return 93===t?(e.consume(t),T):E(t)}function T(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),T):E(t)}function I(t){return null===t||(0,p.HP)(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),I)}function D(n){return e.exit("htmlFlow"),t(n)}}},61:B,95:M,96:q,126:q},ep={38:G,92:J},eh={[-5]:Q,[-4]:Q,[-3]:Q,33:ei,38:G,42:ea,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;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,p.CW)(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(t){return 43===t||45===t||46===t||(0,p.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||(0,p.lV)(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,p.JQ)(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),s):(0,p.cx)(t)?(e.consume(t),l):n(t)}function s(i){return(0,p.lV)(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,p.lV)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),S):63===t?(e.consume(t),k):(0,p.CW)(t)?(e.consume(t),A):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,g):(0,p.CW)(t)?(e.consume(t),b):n(t)}function u(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):(0,p.HP)(t)?(o=c,N(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?R(e):45===e?f(e):c(e)}function g(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:g):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),v):(0,p.HP)(t)?(o=m,N(t)):(e.consume(t),m)}function v(t){return 93===t?(e.consume(t),y):m(t)}function y(t){return 62===t?R(t):93===t?(e.consume(t),y):m(t)}function b(t){return null===t||62===t?R(t):(0,p.HP)(t)?(o=b,N(t)):(e.consume(t),b)}function k(t){return null===t?n(t):63===t?(e.consume(t),x):(0,p.HP)(t)?(o=k,N(t)):(e.consume(t),k)}function x(e){return 62===e?R(e):k(e)}function S(t){return(0,p.CW)(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||(0,p.lV)(t)?(e.consume(t),w):function t(n){return(0,p.HP)(n)?(o=t,N(n)):(0,p.On)(n)?(e.consume(n),t):R(n)}(t)}function A(t){return 45===t||(0,p.lV)(t)?(e.consume(t),A):47===t||62===t||(0,p.Ee)(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),R):58===t||95===t||(0,p.CW)(t)?(e.consume(t),C):(0,p.HP)(t)?(o=E,N(t)):(0,p.On)(t)?(e.consume(t),E):R(t)}function C(t){return 45===t||46===t||58===t||95===t||(0,p.lV)(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),O):(0,p.HP)(n)?(o=t,N(n)):(0,p.On)(n)?(e.consume(n),t):E(n)}(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,M):(0,p.HP)(t)?(o=O,N(t)):(0,p.On)(t)?(e.consume(t),O):(e.consume(t),P)}function M(t){return t===r?(e.consume(t),r=void 0,L):null===t?n(t):(0,p.HP)(t)?(o=M,N(t)):(e.consume(t),M)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,p.Ee)(t)?E(t):(e.consume(t),P)}function L(e){return 47===e||62===e||(0,p.Ee)(e)?E(e):n(e)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return(0,p.On)(t)?h(e,I,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),o(t)}}}],91:es,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,p.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},J],93:ee,95:ea,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):96===s?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(s)):(0,p.HP)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||(0,p.HP)(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}}}},eg={null:[ea,S]},em={null:[42,95]},ev={null:[]},ey=/[\0\t\n\r]/g;function eb(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ek=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ex(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eb(n.slice(t?2:1),t?16:10)}return K(n)||e}var eS=n(37055);let ew={}.hasOwnProperty;function eA(e){return{line:e.line,column:e.column,offset:e.offset}}function eE(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,eS.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,eS.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,eS.L)({start:t.start,end:t.end})+") is still open")}function eC(e){let t=this;t.parser=function(n){var a,u;let c,h,v,y;return"string"!=typeof(a={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(u=a,a=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:f,autolinkEmail:f,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:r(g),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(g,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:f,data:f,codeFlowValue:f,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(v),hardBreakTrailing:r(v),htmlFlow:r(y,a),htmlFlowData:f,htmlText:r(y,a),htmlTextData:f,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(k,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(k),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eb(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=K(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eA(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=z(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ek,ex),n.identifier=z(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eA(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(f.call(this,e),d.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=z(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(ew.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:c,data:n},o=[],s=-1;for(;++s<e.length;)("listOrdered"===e[s][1].type||"listUnordered"===e[s][1].type)&&("enter"===e[s][0]?o.push(s):s=function(e,t,n){let r,i,o,a,l=t-1,s=-1,u=!1;for(;++l<=n;){let t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||s||o||(o=l),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(l,0,["enter",i,t[2]]),l++,n++,o=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,o.pop(),s));for(s=-1;++s<e.length;){let n=t[e[s][0]];ew.call(n,e[s][1].type)&&n[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},i),e[s][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||eE).call(i,void 0,e[0])}for(r.position={start:eA(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eA(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s<t.transforms.length;)r=t.transforms[s](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eA(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||eE).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,eS.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=eA(e.end)}function c(){var e;return e=this.stack.pop(),o(e,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function f(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eA(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eA(e.end)}function p(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function g(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function v(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function k(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(u)(function(e){for(;!f(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(d.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){d.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);l(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(g),defined:[],document:n(m),flow:n(x),lazy:{},string:n(w),text:n(A)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],u=[],c={attempt:v(function(e,t){y(e,t.from)}),check:v(m),consume:function(e){(0,p.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=g(),f.events.push(["enter",n,f]),u.push(n),n},exit:function(e){let t=u.pop();return t.end=g(),f.events.push(["exit",t,f]),t},interrupt:v(m,{interrupt:!0})},f={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()},events:[],now:g,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(a=s(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),d=d(t)}else d=d(n)}}(),null!==a[a.length-1])?[]:(y(t,0),f.events=Z(o,f.events,f),f.events)}},d=t.tokenize.call(f,c);return t.resolveAll&&o.push(t),f;function h(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function g(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function m(e,t){t.restore()}function v(e,t){return function(n,i,o){var a;let l,s,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(a=n,function(e){let t=null!==e&&a[e],n=null!==e&&a.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(l=e,s=0,0===e.length)?o:m(e[s])}function m(e){return function(n){let i,o,a,l,s;return(i=g(),o=f.previous,a=f.currentConstruct,l=f.events.length,s=Array.from(u),p={from:l,restore:function(){r=i,f.previous=o,f.currentConstruct=a,f.events.length=l,u=s,b()}},d=e,e.partial||(f.currentConstruct=e),e.name&&f.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(f),t):f,c,v,y)(n)}}function v(t){return e(d,p),i}function y(e){return(p.restore(),++s<l.length)?m(l[s]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&l(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(u).document().write((h=1,v="",y=!0,function(e,t,n){let r,i,o,a,l,s=[];for(e=v+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,v="",y&&(65279===e.charCodeAt(0)&&o++,y=void 0);o<e.length;){if(ey.lastIndex=o,a=(r=ey.exec(e))&&void 0!==r.index?r.index:e.length,l=e.charCodeAt(a),!r){v=e.slice(o);break}if(10===l&&o===a&&c)s.push(-3),c=void 0;else switch(c&&(s.push(-5),c=void 0),o<a&&(s.push(e.slice(o,a)),h+=a-o),l){case 0:s.push(65533),h++;break;case 9:for(i=4*Math.ceil(h/4),s.push(-2);h++<i;)s.push(-1);break;case 10:s.push(-4),h=1;break;default:c=!0,h=1}o=a+1}return n&&(c&&s.push(-5),v&&s.push(v),s.push(null)),s})(n,a,!0))))}}},64935(e,t,n){"use strict";n.d(t,{A:()=>L});var r=n(40562);let i="object"==typeof self?self:globalThis,o=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=o=>{if(t.has(o))return t.get(o);let[a,l]=e[o];switch(a){case 0:case -1:return n(l,o);case 1:{let e=n([],o);for(let t of l)e.push(r(t));return e}case 2:{let e=n({},o);for(let[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),o);case 4:{let{source:e,flags:t}=l;return n(new RegExp(e,t),o)}case 5:{let e=n(new Map,o);for(let[t,n]of l)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,o);for(let t of l)e.add(r(t));return e}case 7:{let{name:e,message:t}=l;return n(new i[e](t),o)}case 8:return n(BigInt(l),o);case"BigInt":return n(Object(BigInt(l)),o)}return n(new i[a](l),o)})(0)},{toString:a}={},{keys:l}=Object,s=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=a.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),c=(e,{json:t,lossy:n}={})=>{var r,i,o;let a,c,f=[];return(r=!(t||n),i=!!t,o=new Map,a=(e,t)=>{let n=f.push(e)-1;return o.set(t,n),n},c=e=>{if(o.has(e))return o.get(e);let[t,n]=s(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return a([-1],e)}return a([t,i],e)}case 1:{if(n)return a([n,[...e]],e);let r=[],i=a([t,r],e);for(let t of e)r.push(c(t));return i}case 2:{if(n)switch(n){case"BigInt":return a([n,e.toString()],e);case"Boolean":case"Number":case"String":return a([n,e.valueOf()],e)}if(i&&"toJSON"in e)return c(e.toJSON());let o=[],f=a([t,o],e);for(let t of l(e))(r||!u(s(e[t])))&&o.push([c(t),c(e[t])]);return f}case 3:return a([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return a([t,{source:n,flags:r}],e)}case 5:{let n=[],i=a([t,n],e);for(let[t,i]of e)(r||!(u(s(t))||u(s(i))))&&n.push([c(t),c(i)]);return i}case 6:{let n=[],i=a([t,n],e);for(let t of e)(r||!u(s(t)))&&n.push(c(t));return i}}let{message:f}=e;return a([t,{name:n,message:f}],e)})(e),f},f="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?o(c(e,t)):structuredClone(e):(e,t)=>o(c(e,t));var d=n(94257);function p(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&(0,d.lV)(e.charCodeAt(n+1))&&(0,d.lV)(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function h(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function g(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var m=n(43552),v=n(69974);function y(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function b(e){let t=e.spread;return null==t?e.children.length>1:t}function k(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let x={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=p(i.toLowerCase()),a=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=a+1,l+=1,e.footnoteCounts.set(i,l);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return y(e,t);let i={src:p(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:p(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return y(e,t);let i={href:p(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:p(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=b(n[r])}return t}(n):b(t),o={},a=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=(0,v.PW)(t.children[1]),a=(0,v.Y)(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,l=-1,s=[];for(;++l<a;){let n=t.children[l],r={},a=o?o[l]:void 0;a&&(r.align=a);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(k(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(k(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:S,yaml:S,definition:S,footnoteDefinition:S};function S(){}let w={}.hasOwnProperty,A={};function E(e,t){e.position&&(t.position=(0,v.G1)(e))}function C(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,f(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function O(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function M(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function P(e,t){let n,i,o,a,l=(n=t||A,i=new Map,o=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=M(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=M(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:C,definitionById:i,footnoteById:o,footnoteCounts:new Map,footnoteOrder:[],handlers:{...x,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(w.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=f(n);return r.children=a.all(e),r}return f(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(w.call(n,"hProperties")||w.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(a,e,t)},options:n,patch:E,wrap:O},(0,m.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?i:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a),s=l.one(e,void 0),u=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||h,r=e.options.footnoteBackLabel||g,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[],s=-1;for(;++s<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[s]);if(!i)continue;let o=e.all(i),a=String(i.identifier).toUpperCase(),u=p(a.toLowerCase()),c=0,f=[],d=e.footnoteCounts.get(a);for(;void 0!==d&&++c<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else o.push(...f);let g={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,g),l.push(g)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...f(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(l),c=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&((0,r.ok)("children"in c),c.children.push({type:"text",value:"\n"},u)),c}function L(e,t){return e&&"run"in e?async function(n,r){let i=P(n,{file:r,...t});await e.run(i,r)}:function(n,r){return P(n,{file:r,...e||t})}}},8027(e,t,n){"use strict";function r(e){if(e)throw e}n.d(t,{l:()=>f});var i=n(49461),o=n(40562);function a(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var l=n(69949);let s=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},u={}.hasOwnProperty;class c extends s{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let l=e[++n],s=-1;if(o)return void r(o);for(;++s<t.length;)(null===a[s]||void 0===a[s])&&(a[s]=t[s]);t=a,l?(function(e,t){let n;return function(...t){let o,a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(i(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(h("data",this.frozen),this.namespace[e]=t,this):u.call(this.namespace,e)&&this.namespace[e]||void 0:e?(h("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=v(e),n=this.parser||this.Parser;return d("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),d("process",this.parser||this.Parser),p("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=v(e),l=n.parse(a);function s(e,n){e||!n?i(e):r?r(n):((0,o.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(l,a,function(e,t,r){var i,o;if(e||!t||!r)return s(e);let a=n.stringify(t,r);"string"==typeof(i=a)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=a:r.result=a,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),d("processSync",this.parser||this.Parser),p("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){n=!0,r(e),t=i}),m("processSync","process",n),(0,o.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){g(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){(0,o.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let l=v(t);r.run(e,l,function(t,r,l){let s=r||e;t?a(t):i?i(s):((0,o.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,l))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){r(e),n=t,i=!0}),m("runSync","run",i),(0,o.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=v(t),r=this.compiler||this.Compiler;return p("stringify",r),g(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(h("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):o(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function o(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=i(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else o(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,s=n[o][1];a(s)&&a(r)&&(r=i(!0,s,r)),n[o]=[e,r,...l]}}}}let f=new c().freeze();function d(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function h(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function g(e){if(!a(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function m(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function v(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new l.T(e)}},69974(e,t,n){"use strict";n.d(t,{G1:()=>a,PW:()=>i,Y:()=>r});let r=o("end"),i=o("start");function o(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function a(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},37055(e,t,n){"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?o(e.position):"start"in e||"end"in e?o(e):"line"in e||"column"in e?i(e):"":""}function i(e){return a(e&&e.line)+":"+a(e&&e.column)}function o(e){return i(e&&e.start)+"-"+i(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},43552(e,t,n){"use strict";n.d(t,{YR:()=>l});let r=function(e){var t,n;if(null==e)return o;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}let a=[];function l(e,t,n,i){var o,l,s;let u,c,f,d,p,h;"function"==typeof t&&"function"!=typeof n?(c=void 0,f=t,u=n):(c=t,f=n,u=i),o=c,l=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return f(e,r,n)},s=u,"function"==typeof o&&"function"!=typeof l?(s=l,l=o):d=o,p=r(d),h=s?-1:1,(function e(t,n,r){let i=t&&"object"==typeof t?t:{};if("string"==typeof i.type){let e="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(u,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return u;function u(){var i;let u,c,f,d=a;if((!o||p(t,n,r[r.length-1]||void 0))&&!1===(d=Array.isArray(i=l(t,r))?i:"number"==typeof i?[!0,i]:null==i?a:[i])[0])return d;if("children"in t&&t.children&&t.children&&"skip"!==d[0])for(c=(s?t.children.length:-1)+h,f=r.concat(t);c>-1&&c<t.children.length;){if(!1===(u=e(t.children[c],c,f)())[0])return u;c="number"==typeof u[1]?u[1]:c+h}return d}})(e,void 0,[])()}},69997(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(37055);class i extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},a=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=(0,r.L)(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}i.prototype.file="",i.prototype.name="",i.prototype.reason="",i.prototype.message="",i.prototype.stack="",i.prototype.column=void 0,i.prototype.line=void 0,i.prototype.ancestors=void 0,i.prototype.cause=void 0,i.prototype.fatal=void 0,i.prototype.place=void 0,i.prototype.ruleId=void 0,i.prototype.source=void 0},69949(e,t,n){"use strict";n.d(t,{T:()=>f});var r=n(69997);let i=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');s(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.codePointAt(o)===t.codePointAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},o=function(e){let t;if(s(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},a=function(e){let t;s(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.codePointAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},l=function(...e){var t;let n,r,i,o=-1;for(;++o<e.length;)s(e[o]),e[o]&&(i=void 0===i?e[o]:i+"/"+e[o]);return void 0===i?".":(s(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",o=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=s,l=0;continue}}else if(i.length>0){i="",o=0,a=s,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),o=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function s(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function u(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let c=["history","path","basename","stem","extname","dirname"];class f{constructor(e){let t,n;t=e?u(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<c.length;){const e=c[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)c.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?i(this.path):void 0}set basename(e){p(e,"basename"),d(e,"basename"),this.path=l(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?o(this.path):void 0}set dirname(e){h(this.basename,"dirname"),this.path=l(e||"",this.basename)}get extname(){return"string"==typeof this.path?a(this.path):void 0}set extname(e){if(d(e,"extname"),h(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=l(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){u(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!u(e)){let t=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){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),p(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i(this.path,this.extname):void 0}set stem(e){p(e,"stem"),d(e,"stem"),this.path=l(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let i=new r.o(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function d(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function p(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function h(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}}}]);
|