@rsdoctor/client 1.3.3 → 1.3.4
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 -0
- package/dist/index.html +1 -1
- package/dist/resource/css/682.d0bf76b0.css +1 -0
- package/dist/resource/js/118.35589783.js +358 -0
- package/dist/resource/js/61.1fe036d0.js +2 -0
- package/dist/resource/js/625.7871fd47.js +1 -0
- package/dist/resource/js/682.a38389bb.js +114 -0
- package/dist/resource/js/{ant-design-1.9709b0be.js → ant-design-1.0aa20e29.js} +1 -1
- package/dist/resource/js/{ant-design-4.9f7db830.js → ant-design-4.51693c58.js} +1 -1
- package/dist/resource/js/ant-design-icons.aa649b3f.js +1 -0
- package/dist/resource/js/diff.b11bef94.js +81 -0
- package/dist/resource/js/index.586a726a.js +81 -0
- package/dist/resource/js/{rc-0.ac891904.js → rc-0.a0e85196.js} +1 -1
- package/dist/resource/js/rc-1.06a42c11.js +1 -0
- package/dist/resource/js/{react.e5b2c2b5.js → react.5d8fd297.js} +1 -1
- package/dist/resource/js/vender.8fa54b46.js +1 -0
- package/dist/src/DiffApp.d.ts +3 -0
- package/dist/src/DiffRouter.d.ts +2 -0
- package/dist/src/components/BaseApp.d.ts +8 -0
- package/dist/src/diff.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/resource/css/index.fc1d413f.css +0 -1
- package/dist/resource/js/756.9e80a153.js +0 -2
- package/dist/resource/js/ant-design-icons.a1b962c5.js +0 -1
- package/dist/resource/js/index.c3891998.js +0 -194
- package/dist/resource/js/rc-1.caad7806.js +0 -1
- package/dist/resource/js/vender.76f83665.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["625"],{79498:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>ep});var r=n(16865),i=n(27210),o=n(25666),l=n(13012),a=n(81803),s=n(81967),u=n(55137),c=n(59746),f=n(24412),d=n(22155),p=n(60615),h=n(74900);let m={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 g=n(40376),v=n(38487),y=n.n(v);let x={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 b=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},w=function(e){for(var t=[],n=S(e),r=A(e),i=n;i<r;i++)0>e.lazyLoadedList.indexOf(i)&&t.push(i);return t},S=function(e){return e.currentSlide-C(e)},A=function(e){return e.currentSlide+E(e)},C=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},M=function(e){return e&&e.offsetWidth||0},T=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},O=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},R=function(e){var t,n=d.Children.count(e.children),r=e.listRef,o=Math.ceil(M(r)),l=Math.ceil(M(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var a=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(a*=o/100),t=Math.ceil((o-a)/e.slidesToShow)}var s=r&&T(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=w((0,i.A)((0,i.A)({},e),{},{currentSlide:c,lazyLoadedList:f})),h={slideCount:n,slideWidth:t,listWidth:o,trackWidth:l,currentSlide:c,slideHeight:s,listHeight:u,lazyLoadedList:f=f.concat(p)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},I=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,l=e.index,a=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 m,g,v,y=l,x={},b={},S=o?l:k(l,0,a-1);if(r){if(!o&&(l<0||l>=a))return{};l<0?y=l+a:l>=a&&(y=l-a),s&&0>h.indexOf(y)&&(h=h.concat(y)),x={animating:!0,currentSlide:y,lazyLoadedList:h,targetSlide:y},b={animating:!1,targetSlide:y}}else m=y,y<0?(m=y+a,o?a%f!=0&&(m=a-a%f):m=0):!L(e)&&y>u?y=m=u:c&&y>=a?(y=o?a:a-1,m=o?0:a-1):y>=a&&(m=y-a,o?a%f!=0&&(m=0):m=a-d),!o&&y+d>=a&&(m=a-d),g=$((0,i.A)((0,i.A)({},e),{},{slideIndex:y})),v=$((0,i.A)((0,i.A)({},e),{},{slideIndex:m})),o||(g===v&&(y=m),g=v),s&&(h=h.concat(w((0,i.A)((0,i.A)({},e),{},{currentSlide:y})))),p?(x={animating:!0,currentSlide:m,trackStyle:W((0,i.A)((0,i.A)({},e),{},{left:g})),lazyLoadedList:h,targetSlide:S},b={animating:!1,currentSlide:m,trackStyle:j((0,i.A)((0,i.A)({},e),{},{left:v})),swipeLeft:null,targetSlide:S}):x={currentSlide:m,trackStyle:j((0,i.A)((0,i.A)({},e),{},{left:v})),lazyLoadedList:h,targetSlide:S};return{state:x,nextState:b}},D=function(e,t){var n,r,o,l,a=e.slidesToScroll,s=e.slidesToShow,u=e.slideCount,c=e.currentSlide,f=e.targetSlide,d=e.lazyLoad,p=e.infinite;if(n=u%a!=0?0:(u-c)%a,"previous"===t.message)l=c-(o=0===n?a:s-n),d&&!p&&(l=-1==(r=c-o)?u-1:r),p||(l=f-a);else if("next"===t.message)l=c+(o=0===n?a:n),d&&!p&&(l=(c+a)%u+n),p||(l=f+a);else if("dots"===t.message)l=t.index*t.slidesToScroll;else if("children"===t.message){if(l=t.index,p){var h=q((0,i.A)((0,i.A)({},e),{},{targetSlide:l}));l>t.currentSlide&&"left"===h?l-=u:l<t.currentSlide&&"right"===h&&(l+=u)}}else"index"===t.message&&(l=Number(t.index));return l},_=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,l=t.swipeToSlide,a=t.verticalSwiping,s=t.rtl,u=t.currentSlide,c=t.edgeFriction,f=t.edgeDragged,d=t.onEdge,p=t.swiped,h=t.swiping,m=t.slideCount,g=t.slidesToScroll,v=t.infinite,y=t.touchObject,x=t.swipeEvent,k=t.listHeight,w=t.listWidth;if(!n){if(r)return b(e);o&&l&&a&&b(e);var S,A={},C=$(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 E=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!a&&!h&&E>10)return{scrolling:!0};a&&(y.swipeLength=E);var M=(s?-1:1)*(y.curX>y.startX?1:-1);a&&(M=y.curY>y.startY?1:-1);var T=Math.ceil(m/g),O=P(t.touchObject,a),R=y.swipeLength;return!v&&(0===u&&("right"===O||"down"===O)||u+1>=T&&("left"===O||"up"===O)||!L(t)&&("left"===O||"up"===O))&&(R=y.swipeLength*c,!1===f&&d&&(d(O),A.edgeDragged=!0)),!p&&x&&(x(O),A.swiped=!0),S=o?C+k/w*R*M:s?C-R*M:C+R*M,a&&(S=C+R*M),A=(0,i.A)((0,i.A)({},A),{},{touchObject:y,swipeLeft:S,trackStyle:j((0,i.A)((0,i.A)({},t),{},{left:S}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(A.swiping=!0,b(e)),A}},z=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,l=t.listWidth,a=t.touchThreshold,s=t.verticalSwiping,u=t.listHeight,c=t.swipeToSlide,f=t.scrolling,d=t.onSwipe,p=t.targetSlide,h=t.currentSlide,m=t.infinite;if(!n)return r&&b(e),{};var g=s?u/a:l/a,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>g){b(e),d&&d(v);var x,k,w=m?h:p;switch(v){case"left":case"up":k=w+F(t),x=c?H(t,k):k,y.currentDirection=0;break;case"right":case"down":k=w-F(t),x=c?H(t,k):k,y.currentDirection=1;break;default:x=w}y.triggerSlideHandler=x}else{var S=$(t);y.trackStyle=W((0,i.A)((0,i.A)({},t),{},{left:S}))}return y},N=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},H=function(e,t){var n=N(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+T(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+M(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},B=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},j=function(e){if(B(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)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.A)((0,i.A)({},r),{},{WebkitTransform:o,transform:l,msTransform:a})}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){B(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=j(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},$=function(e){if(e.unslick)return 0;B(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,l=e.slidesToShow,a=e.slidesToScroll,s=e.slideWidth,u=e.listWidth,c=e.variableWidth,f=e.slideHeight,d=e.fade,p=e.vertical,h=0,m=0;if(d||1===e.slideCount)return 0;var g=0;if(r?(g=-U(e),o%a!=0&&t+a>o&&(g=-(t>o?l-(t-o):o%a)),i&&(g+=parseInt(l/2))):(o%a!=0&&t+a>o&&(g=l-o%a),i&&(g=parseInt(l/2))),h=g*s,m=g*f,v=p?-(t*f*1)+m:-(t*s*1)+h,!0===c){var v,y,x,k=n&&n.node;if(x=t+U(e),v=(y=k&&k.childNodes[x])?-1*y.offsetLeft:0,!0===i){x=r?t+U(e):t,y=k&&k.children[x],v=0;for(var b=0;b<x;b++)v-=k&&k.children[b]&&k.children[b].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},V=function(e){return e.unslick||!e.infinite?0:e.slideCount},Y=function(e){return 1===e.slideCount?1:U(e)+e.slideCount+V(e)},q=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+X(e)?"left":"right":e.targetSlide<e.currentSlide-G(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},G=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},Q=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},K=Object.keys(x),Z=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)}},J=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=[],l=d.Children.count(e.children),a=S(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=J((0,i.A)((0,i.A)({},e),{},{index:c})),m=f.props.className||"",g=Z((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()(g,m),tabIndex:"-1","aria-hidden":!g["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&&l>1&&!1===e.fade&&!e.unslick){var v=l-c;v<=U(e)&&((t=-v)>=a&&(f=u),g=Z((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()(g,m),"aria-hidden":!g["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=l+c)<s&&(f=u),g=Z((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()(g,m),"aria-hidden":!g["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,l=Array(i),c=0;c<i;c++)l[c]=arguments[c];return n=t,r=[].concat(l),n=(0,u.A)(n),e=(0,a.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,l.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,a.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,l.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,l=e.slidesToScroll,a=e.slidesToShow,s=e.slideCount,u=e.currentSlide,c=er({slideCount:s,slidesToScroll:l,slidesToShow:a,infinite:o}),f=[],p=0;p<c;p++){var h=(p+1)*l-1,m=o?h:k(h,0,s-1),g=m-(l-1),v=o?g:k(g,0,s-1),x=y()({"slick-active":o?u>=v&&u<=m:u===v}),b={message:"dots",index:p,slidesToScroll:l,currentSlide:u},w=this.clickHandler.bind(this,b);f=f.concat(d.createElement("li",{key:p,className:x},d.cloneElement(this.props.customPaging(p),{onClick:w})))}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,a.A)(e,(0,s.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var el=function(e){function t(){return(0,o.A)(this,t),eo(this,t,arguments)}return(0,c.A)(t,e),(0,l.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),ea=function(e){function t(){return(0,o.A)(this,t),eo(this,t,arguments)}return(0,c.A)(t,e),(0,l.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,l=[e],n=(0,u.A)(n),c=(0,a.A)(this,(0,s.A)()?Reflect.construct(n,l||[],(0,u.A)(this).constructor):n.apply(this,l)),(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=T(e)+"px"}}),(0,f.A)(c,"componentDidMount",function(){if(c.props.onInit&&c.props.onInit(),c.props.lazyLoad){var e=w((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=w((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,g.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=R(e),o=$(e=(0,i.A)((0,i.A)((0,i.A)({},e),r),{},{slideIndex:r.currentSlide})),l=j(e=(0,i.A)((0,i.A)({},e),{},{left:o}));(t||d.Children.count(c.props.children)!==d.Children.count(e.children))&&(r.trackStyle=l),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=V((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 l=0;l<r;l++)t+=n[n.length-1-l],e+=n[n.length-1-l];for(var a=0;a<o;a++)e+=n[a];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}),m=U(h)+V(h)+p,g=100/c.props.slidesToShow*m,v=100/m,y=-v*(U(h)+c.state.currentSlide)*g/100;return c.props.centerMode&&(y+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",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+V(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,l=n.onLazyLoad,a=n.speed,s=n.afterChange,u=c.state.currentSlide,f=I((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 m=d.lazyLoadedList.filter(function(e){return 0>c.state.lazyLoadedList.indexOf(e)});l&&m.length>0&&l(m),!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})},a))})}}),(0,f.A)(c,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=D((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&&b(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=_(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=z(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}),l=(0,i.A)((0,i.A)({},c.props),c.state),a=O(l,["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(a=(0,i.A)((0,i.A)({},a),{},{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=O(l,["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=O(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=c.changeSlide,c.props.arrows&&(t=d.createElement(el,p),n=d.createElement(ea,p));var h=null;c.props.vertical&&(h={height:c.state.listHeight});var m=null;!1===c.props.vertical?!0===c.props.centerMode&&(m={padding:"0px "+c.props.centerPadding}):!0===c.props.centerMode&&(m={padding:c.props.centerPadding+" 0px"});var g=(0,i.A)((0,i.A)({},h),m),v=c.props.touchMove,x={className:"slick-list",style:g,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&&(x={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},x),d.createElement(en,(0,r.A)({ref:c.trackRefHandler},a),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)({},m),{},{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,l,c,p=c.ssrInit();return c.state=(0,i.A)((0,i.A)({},c.state),p),c}return(0,c.A)(t,e),(0,l.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,a.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,l.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}),Q()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=ed()({minWidth:t.slice(-1)[0]});Q()&&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)({},x),this.props),t[0].settings):(0,i.A)((0,i.A)({},x),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 l=[],a=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&&(a=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?l.push(d.createElement("div",{key:s,style:{width:a}},u)):l.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 l.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),d.createElement(ec,(0,r.A)({style:this.props.style,ref:this.innerSliderRefHandler},K.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})),l)}}])}(d.Component)},3060:function(e,t,n){"use strict";n.r(t),n.d(t,{rgbaToHex:()=>a.H,tinycolor:()=>r.y,legacyRandom:()=>f,numberInputToObject:()=>a.oS,hslToRgb:()=>a.YL,readability:()=>o,inputToRGB:()=>d.RO,rgbToHsv:()=>a.wE,convertDecimalToHex:()=>a.z4,names:()=>i.D,bounds:()=>g,hsvToRgb:()=>a.Me,isValidCSSUnit:()=>d.ib,mostReadable:()=>function e(t,n,i){void 0===i&&(i={includeFallbackColors:!1,level:"AA",size:"small"});for(var a=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,a=new r.q(p))}return l(t,a,{level:c,size:f})||!u?a:(i.includeFallbackColors=!1,e(t,["#fff","#000"],i))},default:()=>v,rgbToHsl:()=>a.K6,rgbaToArgbHex:()=>a.xq,isReadable:()=>l,convertHexToDecimal:()=>a.n6,stringInputToObject:()=>d.IA,toMsFilter:()=>s,rgbToHex:()=>a.Ob,TinyColor:()=>r.q,parseIntFromHex:()=>a.g8,fromRatio:()=>c,random:()=>function e(t){if(void 0===t&&(t={}),void 0!==t.count&&null!==t.count){var n,i,o,l=t.count,a=[];for(t.count=void 0;l>a.length;)t.count=null,t.seed&&(t.seed+=1),a.push(e(t));return t.count=l,a}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=g.find(function(t){return t.name===e});if(n){var i=m(n);if(i.hueRange)return i.hueRange}var o=new r.q(e);if(o.isValid){var l=o.toHsv().h;return[l,l]}}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],l=n[r+1][0],a=n[r+1][1];if(t>=i&&t<=l){var s=(a-o)/(l-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)},rgbToRgb:()=>a._});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 l(e,t,n){void 0===n&&(n={level:"AA",size:"small"});var r,i,l=o(e,t);switch((null!=(r=n.level)?r:"AA")+(null!=(i=n.size)?i:"small")){case"AAsmall":case"AAAlarge":return l>=4.5;case"AAlarge":return l>=3;case"AAAsmall":return l>=7;default:return!1}}var a=n(18956);function s(e,t){var n=new r.q(e),i="#"+(0,a.xq)(n.r,n.g,n.b,n.a),o=i,l=n.gradientType?"GradientType = 1, ":"";if(t){var s=new r.q(t);o="#"+(0,a.xq)(s.r,s.g,s.b,s.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(l,"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<g.length;t++){var n=m(g[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 m(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 g=[{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},57413:function(e,t,n){"use strict";n.r(t),n.d(t,{Color:()=>x,default:()=>N,ColorBlock:()=>E});var r=n(16865),i=n(24412),o=n(41183),l=n(22155),a=n(27210),s=n(25666),u=n(13012),c=n(59746),f=n(8283),d=n(74900),p=n(60615),h=n(32006),m=["b"],g=["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,m);return(0,a.A)((0,a.A)({},n),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},x=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,"%)"),l="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(i.toFixed(2*(0!==i)),")");return 1===i?o:l}},{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,g));return(0,a.A)((0,a.A)({},n),{},{b:e.v,a:this.a})}}]),n}(h.q),k=function(e){return e instanceof x?e:new x(e)},b=k("#1677ff"),w=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.color,o=e.type,l=r.current.getBoundingClientRect(),s=l.width,u=l.height,c=n.current.getBoundingClientRect(),f=c.width,d=c.height,p=f/2,h=(t.x+p)/s,m=1-(t.y+d/2)/u,g=i.toHsb(),v=(t.x+p)/s*360;if(o)switch(o){case"hue":return k((0,a.A)((0,a.A)({},g),{},{h:v<=0?0:v}));case"alpha":return k((0,a.A)((0,a.A)({},g),{},{a:h<=0?0:h}))}return k({h:g.h,s:h<=0?0:h,b:m>=1?1:m,a:g.a})},S=function(e,t,n,r){var i=e.current.getBoundingClientRect(),o=i.width,l=i.height,a=t.current.getBoundingClientRect(),s=a.width,u=a.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)*l-f}}},A=n(38487),C=n.n(A);let E=function(e){var t=e.color,n=e.prefixCls,r=e.className,i=e.style,o=e.onClick,a="".concat(n,"-color-block");return l.createElement("div",{className:C()(a,r),style:i,onClick:o},l.createElement("div",{className:"".concat(a,"-inner"),style:{background:t}}))},M=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.direction,a=e.onDragChange,s=e.onDragChangeComplete,u=e.calculate,c=e.color,f=e.disabledDrag,d=(0,l.useState)(t||{x:0,y:0}),p=(0,o.A)(d,2),h=p[0],m=p[1],g=(0,l.useRef)(null),v=(0,l.useRef)(null),y=(0,l.useRef)({flag:!1});(0,l.useEffect)(function(){if(!1===y.current.flag){var e=null==u?void 0:u(r);e&&m(e)}},[c,r]),(0,l.useEffect)(function(){return function(){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null}},[]);var x=function(e){var t,o,l,s=(t="touches"in e?e.touches[0]:e,o=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,l=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset,{pageX:t.pageX-o,pageY:t.pageY-l}),u=s.pageX,c=s.pageY,f=r.current.getBoundingClientRect(),d=f.x,p=f.y,g=f.width,v=f.height,y=n.current.getBoundingClientRect(),x=y.width,k=y.height,b=Math.max(0,Math.min(c-p,v))-k/2,w={x:Math.max(0,Math.min(u-d,g))-x/2,y:"x"===i?h.y:b};if(0===x&&0===k||x!==k)return!1;m(w),null==a||a(w)},k=function(e){e.preventDefault(),x(e)},b=function(e){e.preventDefault(),y.current.flag=!1,document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),document.removeEventListener("touchmove",g.current),document.removeEventListener("touchend",v.current),g.current=null,v.current=null,null==s||s()};return[h,function(e){document.removeEventListener("mousemove",g.current),document.removeEventListener("mouseup",v.current),f||(x(e),y.current.flag=!0,document.addEventListener("mousemove",k),document.addEventListener("mouseup",b),document.addEventListener("touchmove",k),document.addEventListener("touchend",b),g.current=k,v.current=b)}]};var T=n(71012);let P=function(e){var t=e.size,n=e.color,r=e.prefixCls;return l.createElement("div",{className:C()("".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 l.createElement("div",{className:"".concat(r,"-palette"),style:(0,a.A)({position:"relative"},n)},t)};var O=(0,l.forwardRef)(function(e,t){var n=e.children,r=e.offset;return l.createElement("div",{ref:t,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)});let R=function(e){var t=e.color,n=e.onChange,r=e.prefixCls,i=e.onChangeComplete,a=e.disabled,s=(0,l.useRef)(),u=(0,l.useRef)(),c=(0,l.useRef)(t),f=(0,T.useEvent)(function(e){var r=w({offset:e,targetRef:u,containerRef:s,color:t});c.current=r,n(r)}),d=M({color:t,containerRef:s,targetRef:u,calculate:function(e){return S(e,u,t)},onDragChange:f,onDragChangeComplete:function(){return null==i?void 0:i(c.current)},disabledDrag:a}),p=(0,o.A)(d,2),h=p[0],m=p[1];return l.createElement("div",{ref:s,className:"".concat(r,"-select"),onMouseDown:m,onTouchStart:m},l.createElement(L,{prefixCls:r},l.createElement(O,{offset:h,ref:u},l.createElement(P,{color:t.toRgbString(),prefixCls:r})),l.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))"}})))},I=function(e){var t=e.colors,n=e.children,r=e.direction,i=e.type,o=e.prefixCls,a=(0,l.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 l.createElement("div",{className:"".concat(o,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(void 0===r?"to right":r,", ").concat(a,")")}},n)},D=function(e){var t=e.gradientColors,n=e.direction,r=e.type,i=void 0===r?"hue":r,a=e.color,s=e.value,u=e.onChange,c=e.onChangeComplete,f=e.disabled,d=e.prefixCls,p=(0,l.useRef)(),h=(0,l.useRef)(),m=(0,l.useRef)(a),g=(0,T.useEvent)(function(e){var t=w({offset:e,targetRef:h,containerRef:p,color:a,type:i});m.current=t,u(t)}),v=M({color:a,targetRef:h,containerRef:p,calculate:function(e){return S(e,h,a,i)},onDragChange:g,onDragChangeComplete:function(){null==c||c(m.current,i)},direction:"x",disabledDrag:f}),y=(0,o.A)(v,2),x=y[0],k=y[1];return l.createElement("div",{ref:p,className:C()("".concat(d,"-slider"),"".concat(d,"-slider-").concat(i)),onMouseDown:k,onTouchStart:k},l.createElement(L,{prefixCls:d},l.createElement(O,{offset:x,ref:h},l.createElement(P,{size:"small",color:s,prefixCls:d})),l.createElement(I,{colors:t,direction:n,type:i,prefixCls:d})))},_=function(e,t){var n=t.defaultValue,r=t.value,i=(0,l.useState)(function(){var t;return k(t=void 0!==r?r:void 0!==n?n:e)}),a=(0,o.A)(i,2),s=a[0],u=a[1];return(0,l.useEffect)(function(){r&&u(k(r))},[r]),[s,u]};var z=["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 N=(0,l.forwardRef)(function(e,t){var n=e.value,a=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,m=e.disabledAlpha,g=void 0!==m&&m,v=e.disabled,y=void 0!==v&&v,x=_(b,{value:n,defaultValue:a}),w=(0,o.A)(x,2),S=w[0],A=w[1],M=(0,l.useMemo)(function(){var e=k(S.toRgbString());return e.setAlpha(1),e.toRgbString()},[S]),T=C()("".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)},O=l.createElement(l.Fragment,null,l.createElement(R,(0,r.A)({color:S,onChange:L},P)),l.createElement("div",{className:"".concat(u,"-slider-container")},l.createElement("div",{className:C()("".concat(u,"-slider-group"),(0,i.A)({},"".concat(u,"-slider-group-disabled-alpha"),g))},l.createElement(D,(0,r.A)({gradientColors:z,color:S,value:"hsl(".concat(S.toHsb().h,",100%, 50%)"),onChange:function(e){return L(e,"hue")}},P)),!g&&l.createElement(D,(0,r.A)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",M],color:S,value:S.toRgbString(),onChange:function(e){return L(e,"alpha")}},P))),l.createElement(E,{color:S.toRgbString(),prefixCls:u})));return l.createElement("div",{className:T,style:p,ref:t},"function"==typeof h?h(O):O)})},17969:function(e,t,n){"use strict";n.r(t),n.d(t,{useMutateObserver:()=>g,default:()=>v});var r=n(41183),i=n(22155),o=n(57975),l=n(185),a=n(12994),s=n(18106),u=n(25666),c=n(13012),f=n(59746),d=n(8283),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),m={subtree:!0,childList:!0,attributeFilter:["style","class"]};function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;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,l.f3)(t),m=(0,l.xK)(d,h?t.ref:null),v=i.useState(null),y=(0,r.A)(v,2),x=y[0],k=y[1];return(g(x,c,n),(0,o.A)(function(){k((0,a.Ay)(d.current)||(0,a.Ay)(f.current))}),t)?i.createElement(p,{ref:f},h?i.cloneElement(t,{ref:m}):t):null}},15032:function(e,t,n){"use strict";n.r(t),n.d(t,{ERROR_LEVEL_MAP:()=>m,DEFAULT_SIZE:()=>g,DEFAULT_BACKGROUND_COLOR:()=>y,generatePath:()=>C,QRCodeSVG:()=>F,SPEC_MARGIN_SIZE:()=>w,getImageSettings:()=>M,DEFAULT_NEED_MARGIN:()=>k,DEFAULT_IMG_SCALE:()=>A,DEFAULT_MINVERSION:()=>b,DEFAULT_LEVEL:()=>v,isSupportPath2d:()=>P,DEFAULT_FRONT_COLOR:()=>x,QRCodeCanvas:()=>N,getMarginSize:()=>T,excavateModules:()=>E,DEFAULT_MARGIN_SIZE:()=>S});var r=n(61915);function i(e,t){var n="undefined"!=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 l,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,l=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw l}}}}var o=n(25666),l=n(13012),a=n(24412);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,a.A)(this,"modeBits",void 0),(0,a.A)(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return(0,l.A)(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();(0,a.A)(f,"NUMERIC",new f(1,[10,12,14])),(0,a.A)(f,"ALPHANUMERIC",new f(2,[9,11,13])),(0,a.A)(f,"BYTE",new f(4,[8,16,16])),(0,a.A)(f,"KANJI",new f(8,[8,10,12])),(0,a.A)(f,"ECI",new f(7,[0,0,0]));var d=(0,l.A)(function e(t,n){(0,o.A)(this,e),(0,a.A)(this,"ordinal",void 0),(0,a.A)(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});(0,a.A)(d,"LOW",new d(0,1)),(0,a.A)(d,"MEDIUM",new d(1,0)),(0,a.A)(d,"QUARTILE",new d(2,3)),(0,a.A)(d,"HIGH",new d(3,2));var p=function(){function e(t,n,r){if((0,o.A)(this,e),(0,a.A)(this,"mode",void 0),(0,a.A)(this,"numChars",void 0),(0,a.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,l.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 l=n.value;s(l,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 l=n.value,a=l.mode.numCharCountBits(t);if(l.numChars>=1<<a)return 1/0;r+=4+a+l.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,a.A)(p,"NUMERIC_REGEX",/^[0-9]*$/),(0,a.A)(p,"ALPHANUMERIC_REGEX",/^[A-Z0-9 $%*+.\/:-]*$/),(0,a.A)(p,"ALPHANUMERIC_CHARSET","0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:");var h=function(){function e(t,n,r,i){(0,o.A)(this,e),(0,a.A)(this,"size",void 0),(0,a.A)(this,"mask",void 0),(0,a.A)(this,"modules",[]),(0,a.A)(this,"isFunction",[]),(0,a.A)(this,"version",void 0),(0,a.A)(this,"errorCorrectionLevel",void 0);var l=i;if(this.version=t,this.errorCorrectionLevel=n,t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version value out of range");if(l<-1||l>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==l)for(var p=1e9,h=0;h<8;h++){this.applyMask(h),this.drawFormatBits(h);var m=this.getPenaltyScore();m<p&&(l=h,p=m),this.applyMask(h)}c(0<=l&&l<=7),this.mask=l,this.applyMask(l),this.drawFormatBits(l),this.isFunction=[]}return(0,l.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 l=9;l<15;l++)this.setFunctionModule(14-l,8,u(i,l));for(var a=0;a<8;a++)this.setFunctionModule(this.size-1-a,8,u(i,a));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,l=Math.floor(r/3);this.setFunctionModule(o,l,i),this.setFunctionModule(l,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,l=t+n;0<=o&&o<this.size&&0<=l&&l<this.size&&this.setFunctionModule(o,l,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],l=Math.floor(e.getNumRawDataModules(n)/8),a=i-l%i,s=Math.floor(l/i),u=[],f=e.reedSolomonComputeDivisor(o),d=0,p=0;d<i;d++){var h=t.slice(p,p+s-o+(d<a?0:1));p+=h.length;var m=e.reedSolomonComputeRemainder(h,f);d<a&&h.push(0),u.push(h.concat(m))}for(var g=[],v=function(e){u.forEach(function(t,n){(e!=s-o||n>=a)&&g.push(t[e])})},y=0;y<u[0].length;y++)v(y);return c(g.length==l),g}},{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 l=r-o,a=(r+1&2)==0?this.size-1-i:i;!this.isFunction[a][l]&&n<8*t.length&&(this.modules[a][l]=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,l=[0,0,0,0,0,0,0],a=0;a<this.size;a++)this.modules[n][a]==r?5==++o?t+=e.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,l),r||(t+=this.finderPenaltyCountPatterns(l)*e.PENALTY_N3),r=this.modules[n][a],o=1);t+=this.finderPenaltyTerminateAndCount(r,o,l)*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 m=0;m<this.size-1;m++){var g=this.modules[h][m];g==this.modules[h][m+1]&&g==this.modules[h+1][m]&&g==this.modules[h+1][m+1]&&(t+=e.PENALTY_N2)}var v,y=0,x=i(this.modules);try{for(x.s();!(v=x.n()).done;)y=v.value.reduce(function(e,t){return e+ +!!t},y)}catch(e){x.e(e)}finally{x.f()}var k=this.size*this.size,b=Math.ceil(Math.abs(20*y-10*k)/k)-1;return c(0<=b&&b<=9),c(0<=(t+=b*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,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(e.MIN_VERSION<=r&&r<=o&&o<=e.MAX_VERSION)||l<-1||l>7)throw RangeError("Invalid value");for(y=r;;y++){var u=8*e.getNumDataCodewords(y,n),f=p.getTotalBits(t,y);if(f<=u){x=f;break}if(y>=o)throw RangeError("Data too long")}for(var h=n,m=0,g=[d.MEDIUM,d.QUARTILE,d.HIGH];m<g.length;m++){var v=g[m];a&&x<=8*e.getNumDataCodewords(y,v)&&(h=v)}var y,x,k,b=[],w=i(t);try{for(w.s();!(k=w.n()).done;){var S=k.value;s(S.mode.modeBits,4,b),s(S.numChars,S.mode.numCharCountBits(y),b);var A,C=i(S.getData());try{for(C.s();!(A=C.n()).done;){var E=A.value;b.push(E)}}catch(e){C.e(e)}finally{C.f()}}}catch(e){w.e(e)}finally{w.f()}c(b.length==x);var M=8*e.getNumDataCodewords(y,h);c(b.length<=M),s(0,Math.min(4,M-b.length),b),s(0,(8-b.length%8)%8,b),c(b.length%8==0);for(var T=236;b.length<M;T^=253)s(T,8,b);for(var P=[];8*P.length<b.length;)P.push(0);return b.forEach(function(e,t){return P[t>>>3]|=e<<7-(7&t)}),new e(y,h,P,l)}},{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 l=0;l<n.length;l++)n[l]=e.reedSolomonMultiply(n[l],i),l+1<n.length&&(n[l]^=n[l+1]);i=e.reedSolomonMultiply(i,2)}return n}},{key:"reedSolomonComputeRemainder",value:function(t,n){var r,o=n.map(function(){return 0}),l=i(t);try{for(l.s();!(r=l.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){l.e(e)}finally{l.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,a.A)(h,"MIN_VERSION",1),(0,a.A)(h,"MAX_VERSION",40),(0,a.A)(h,"PENALTY_N1",3),(0,a.A)(h,"PENALTY_N2",3),(0,a.A)(h,"PENALTY_N3",40),(0,a.A)(h,"PENALTY_N4",10),(0,a.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,a.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 m={L:d.LOW,M:d.MEDIUM,Q:d.QUARTILE,H:d.HIGH},g=128,v="L",y="#FFFFFF",x="#000000",k=!1,b=1,w=4,S=0,A=.1;function C(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,l){if(!o&&null!==i){n.push("M".concat(i+t," ").concat(r+t,"h").concat(l-i,"v1H").concat(i+t,"z")),i=null;return}if(l===e.length-1){if(!o)return;null===i?n.push("M".concat(l+t,",").concat(r+t," h1v1H").concat(l+t,"z")):n.push("M".concat(i+t,",").concat(r+t," h").concat(l+1-i,"v1H").concat(i+t,"z"));return}o&&null===i&&(i=l)})}),n.join("")}function E(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 M(e,t,n,r){if(null==r)return null;var i=e.length+2*n,o=Math.floor(t*A),l=i/t,a=(r.width||o)*l,s=(r.height||o)*l,u=null==r.x?e.length/2-a/2:r.x*l,c=null==r.y?e.length/2-s/2:r.y*l,f=null==r.opacity?1:r.opacity,d=null;if(r.excavate){var p=Math.floor(u),h=Math.floor(c),m=Math.ceil(a+u-p),g=Math.ceil(s+c-h);d={x:p,y:h,w:m,h:g}}return{x:u,y:c,h:s,w:a,excavation:d,opacity:f,crossOrigin:r.crossOrigin}}function T(e,t){return null!=t?Math.floor(t):e?w:S}var P=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}(),L=n(16865),O=n(27210),R=n(41183),I=n(74900),D=n(22155);function _(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,o=e.marginSize,l=e.imageSettings,a=e.size,s=(0,D.useMemo)(function(){var e=p.makeSegments(t);return h.encodeSegments(e,m[n],r)},[t,n,r]),u=(0,D.useMemo)(function(){var e=s.getModules(),t=T(i,o),n=e.length+2*t,r=M(e,a,t,l);return{cells:e,margin:t,numCells:n,calculatedImageSettings:r}},[s,a,l,i,o]),c=u.cells;return{qrcode:s,margin:u.margin,cells:c,numCells:u.numCells,calculatedImageSettings:u.calculatedImageSettings}}var z=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],N=D.forwardRef(function(e,t){var n=e.value,r=e.size,i=void 0===r?g:r,o=e.level,l=e.bgColor,a=void 0===l?y:l,s=e.fgColor,u=void 0===s?x:s,c=e.includeMargin,f=e.minVersion,d=e.marginSize,p=e.style,h=e.imageSettings,m=(0,I.A)(e,z),w=null==h?void 0:h.src,S=(0,D.useRef)(null),A=(0,D.useRef)(null),M=(0,D.useCallback)(function(e){S.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),T=(0,D.useState)(!1),N=(0,R.A)(T,2)[1],H=_({value:n,level:void 0===o?v:o,minVersion:void 0===f?b:f,includeMargin:void 0===c?k:c,marginSize:d,imageSettings:h,size:i}),F=H.margin,B=H.cells,j=H.numCells,W=H.calculatedImageSettings;(0,D.useEffect)(function(){if(null!=S.current){var e=S.current,t=e.getContext("2d");if(t){var n=B,r=A.current,o=null!=W&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=W.excavation&&(n=E(B,W.excavation));var l=window.devicePixelRatio||1;e.height=e.width=i*l;var s=i/j*l;t.scale(s,s),t.fillStyle=a,t.fillRect(0,0,j,j),t.fillStyle=u,P?t.fill(new Path2D(C(n,F))):B.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,D.useEffect)(function(){N(!1)},[w]);var $=(0,O.A)({height:i,width:i},p),U=null;return null!=w&&(U=D.createElement("img",{src:w,key:w,style:{display:"none"},onLoad:function(){N(!0)},ref:A,crossOrigin:null==W?void 0:W.crossOrigin})),D.createElement(D.Fragment,null,D.createElement("canvas",(0,L.A)({style:$,height:i,width:i,ref:M,role:"img"},m)),U)});N.displayName="QRCodeCanvas";var H=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],F=D.forwardRef(function(e,t){var n=e.value,r=e.size,i=void 0===r?g:r,o=e.level,l=e.bgColor,a=e.fgColor,s=e.includeMargin,u=e.minVersion,c=e.title,f=e.marginSize,d=e.imageSettings,p=(0,I.A)(e,H),h=_({value:n,level:void 0===o?v:o,minVersion:void 0===u?b:u,includeMargin:void 0===s?k:s,marginSize:f,imageSettings:d,size:i}),m=h.margin,w=h.cells,S=h.numCells,A=h.calculatedImageSettings,M=w,T=null;null!=d&&null!=A&&(null!=A.excavation&&(M=E(w,A.excavation)),T=D.createElement("image",{href:d.src,height:A.h,width:A.w,x:A.x+m,y:A.y+m,preserveAspectRatio:"none",opacity:A.opacity,crossOrigin:A.crossOrigin}));var P=C(M,m);return D.createElement("svg",(0,L.A)({height:i,width:i,viewBox:"0 0 ".concat(S," ").concat(S),ref:t,role:"img"},p),!!c&&D.createElement("title",null,c),D.createElement("path",{fill:void 0===l?y:l,d:"M0,0 h".concat(S,"v").concat(S,"H0z"),shapeRendering:"crispEdges"}),D.createElement("path",{fill:void 0===a?x:a,d:P,shapeRendering:"crispEdges"}),T)});F.displayName="QRCodeSVG"},28272:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(27210),i=n(16865),o=n(60615),l=n(41183),a=n(74900),s=n(22155),u=n(87149),c=n(13058),f=n(38487),d=n.n(f),p=n(57975),h=n(55511);function m(e){return null!==e&&"object"===(0,o.A)(e)}function g(e,t,n){if(!1===e||!1===t&&(!m(e)||!e.closeIcon))return null;var i,o="boolean"!=typeof t?t:void 0;return m(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),x={fill:"transparent",pointerEvents:"auto"};let k=function(e){var t=e.prefixCls,n=e.rootClassName,l=e.pos,a=e.showMask,c=e.style,f=e.fill,p=e.open,h=e.animated,m=e.zIndex,g=e.disabledInteraction,v=(0,y.A)(),k="".concat(t,"-mask-").concat(v),b="object"===(0,o.A)(h)?null==h?void 0:h.placeholder:h,w="undefined"!=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:m,pointerEvents:l&&!g?"none":"auto"},void 0===c?{}:c)},a?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"},w?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"},{fill:"white"})),l&&s.createElement("rect",{x:l.left,y:l.top,rx:l.radius,width:l.width,height:l.height,fill:"black",className:b?"".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,")")}),l&&s.createElement(s.Fragment,null,s.createElement("rect",(0,i.A)({},x,{x:"0",y:"0",width:"100%",height:l.top})),s.createElement("rect",(0,i.A)({},x,{x:"0",y:"0",width:l.left,height:"100%"})),s.createElement("rect",(0,i.A)({},x,{x:"0",y:l.top+l.height,width:"100%",height:"calc(100vh - ".concat(l.top+l.height,"px)")})),s.createElement("rect",(0,i.A)({},x,{x:l.left+l.width,y:"0",width:"calc(100vw - ".concat(l.left+l.width,"px)"),height:"100%"})))):null))};var b=[0,0],w={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 S(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};return Object.keys(w).forEach(function(n){t[n]=(0,r.A)((0,r.A)({},w[n]),{},{autoArrow:e,targetOffset:b})}),t}S();var A=n(30997),C=n(76187);function E(e){var t,n=e.prefixCls,r=e.current,o=e.total,l=e.title,a=e.description,u=e.onClose,c=e.onPrev,f=e.onNext,p=e.onFinish,h=e.className,m=e.closable,g=(0,C.A)(m||{},!0),v=null!=(t=null==m?void 0:m.closeIcon)?t:s.createElement("span",{className:"".concat(n,"-close-x")},"\xd7"),y=!!m;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"},g,{className:"".concat(n,"-close")}),v),s.createElement("div",{className:"".concat(n,"-header")},s.createElement("div",{className:"".concat(n,"-title")},l)),s.createElement("div",{className:"".concat(n,"-description")},a),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 M=function(e){var t=e.current,n=e.renderPanel;return s.createElement(s.Fragment,null,"function"==typeof n?n(e,t):s.createElement(E,e))};var T=["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 O=function(e){var t,n,f,m,y,x,b,w,A,C,E,O,R,I=e.prefixCls,D=void 0===I?"rc-tour":I,_=e.steps,z=void 0===_?[]:_,N=e.defaultCurrent,H=e.current,F=e.onChange,B=e.onClose,j=e.onFinish,W=e.open,$=e.mask,U=e.arrow,V=e.rootClassName,Y=e.placement,q=e.renderPanel,X=e.gap,G=e.animated,Q=e.scrollIntoViewOptions,K=e.zIndex,Z=void 0===K?1001:K,J=e.closeIcon,ee=e.closable,et=e.builtinPlacements,en=e.disabledInteraction,er=(0,a.A)(e,T),ei=s.useRef(),eo=(0,h.A)(0,{value:H,defaultValue:N}),el=(0,l.A)(eo,2),ea=el[0],es=el[1],eu=(0,h.A)(void 0,{value:W,postState:function(e){return!(ea<0)&&!(ea>=z.length)&&(null==e||e)}}),ec=(0,l.A)(eu,2),ef=ec[0],ed=ec[1],ep=s.useState(ef),eh=(0,l.A)(ep,2),em=eh[0],eg=eh[1],ev=s.useRef(ef);(0,p.A)(function(){ef&&(ev.current||es(0),eg(!0)),ev.current=ef},[ef]);var ey=z[ea]||{},ex=ey.target,ek=ey.placement,eb=ey.style,ew=ey.arrow,eS=ey.className,eA=ey.mask,eC=ey.scrollIntoViewOptions,eE=void 0===eC?L:eC,eM=ey.closeIcon,eT=(t=ey.closable,s.useMemo(function(){var e=g(t,eM,!1),n=g(ee,J,!0);return"empty"!==e?e:n},[ee,J,t,eM])),eP=ef&&(null!=eA?eA:void 0===$||$),eL=(n=null!=eE?eE:void 0===Q?L:Q,f=(0,s.useState)(void 0),y=(m=(0,l.A)(f,2))[0],x=m[1],(0,p.A)(function(){x(("function"==typeof ex?ex():ex)||null)}),b=(0,s.useState)(null),A=(w=(0,l.A)(b,2))[0],C=w[1],E=(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,l=r.bottom,a=r.left,i>=0&&a>=0&&o<=e&&l<=t||!W||y.scrollIntoView(n);var e,t,r,i,o,l,a,s=y.getBoundingClientRect(),u={left:s.left,top:s.top,width:s.width,height:s.height,radius:0};C(function(e){return JSON.stringify(e)!==JSON.stringify(u)?u:e})}else C(null)}),O=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 E(),window.addEventListener("resize",E),function(){window.removeEventListener("resize",E)}},[y,W,E]),[(0,s.useMemo)(function(){if(!A)return A;var e,t=O(0),n=O(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]),eO=(0,l.A)(eL,2),eR=eO[0],eI=eO[1],eD=null!=(R=null!=ek?ek:Y)?R:null===eI?"center":"bottom",e_=!!eI&&(void 0===ew?void 0===U||U:ew),ez="object"===(0,o.A)(e_)&&e_.pointAtCenter;(0,p.A)(function(){var e;null==(e=ei.current)||e.forceAlign()},[ez,ea]);var eN=function(e){es(e),null==F||F(e)},eH=(0,s.useMemo)(function(){return et?"function"==typeof et?et({arrowPointAtCenter:ez}):et:S(ez)},[et,ez]);if(void 0===eI||!em)return null;var eF=function(){ed(!1),null==B||B(ea)},eB="boolean"==typeof eP?void 0:eP;return s.createElement(s.Fragment,null,s.createElement(k,{zIndex:Z,prefixCls:D,pos:eR,showMask:"boolean"==typeof eP?eP:!!eP,style:null==eB?void 0:eB.style,fill:null==eB?void 0:eB.color,open:ef,animated:G,rootClassName:V,disabledInteraction:en}),s.createElement(c.A,(0,i.A)({},er,{builtinPlacements:eH,ref:ei,popupStyle:eb,popupPlacement:eD,popupVisible:ef,popupClassName:d()(V,eS),prefixCls:D,popup:function(){return s.createElement(M,(0,i.A)({arrow:e_,key:"content",prefixCls:D,total:z.length,renderPanel:q,onPrev:function(){eN(ea-1)},onNext:function(){eN(ea+1)},onClose:eF,current:ea,onFinish:function(){eF(),null==j||j()}},z[ea],{closable:eT}))},forceRender:!1,destroyPopupOnHide:!0,zIndex:Z,getTriggerDOMNode:function(e){return e||eI||document.body},arrow:!!e_}),s.createElement(u.A,{open:ef,autoLock:!0},s.createElement("div",{className:d()(V,"".concat(D,"-target-placeholder")),style:(0,r.A)((0,r.A)({},eR||P),{},{position:"fixed",pointerEvents:"none"})}))))}},59300:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",l="quarter",a="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 m="$isDayjsObject",g=function(e){return e instanceof k||!(!e||!e[m])},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 l=t.split("-");if(!i&&l.length>1)return e(l[0])}else{var a=t.name;h[a]=t,i=a}return!r&&i&&(p=i),i||!r&&p},y=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},x={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),l=n-i<0,a=t.clone().add(r+(l?-1:1),o);return+(-(r+(n-i)/(l?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:a,w:i,d:"day",D:s,h:r,m:n,s:t,ms:e,Q:l})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};x.l=v,x.i=g,x.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[m]=!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(x.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 x},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 x.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,l){var u=this,c=!!x.u(l)||l,f=x.p(e),d=function(e,t){var n=x.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 x.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,m=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case a:return c?d(1,0):d(31,11);case o:return c?d(1,m):d(0,m+1);case i:var y=this.$locale().weekStart||0,k=(h<y?h+7:h)-y;return d(c?g-k:g+(6-k),m);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,l){var u,c=x.p(i),f="set"+(this.$u?"UTC":""),d=((u={}).day=f+"Date",u[s]=f+"Date",u[o]=f+"Month",u[a]=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+(l-this.$W):l;if(c===o||c===a){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[x.p(e)]()},p.add=function(e,l){var s,u=this;e=Number(e);var c=x.p(l),f=function(t){var n=y(u);return x.w(n.date(n.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===a)return this.set(a,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 x.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=x.z(this),o=this.$H,l=this.$m,a=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 x.s(o%12||12,e,"0")},m=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 x.s(t.$y,4,"0");case"M":return a+1;case"MM":return x.s(a+1,2,"0");case"MMM":return p(n.monthsShort,a,c,3);case"MMMM":return p(c,a);case"D":return t.$D;case"DD":return x.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 x.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(o,l,!0);case"A":return m(o,l,!1);case"m":return String(l);case"mm":return x.s(l,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.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=x.p(s),p=y(e),h=(p.utcOffset()-this.utcOffset())*6e4,m=this-p,g=function(){return x.m(f,p)};switch(d){case a:c=g()/12;break;case o:c=g();break;case l:c=g()/3;break;case i:c=(m-h)/6048e5;break;case"day":c=(m-h)/864e5;break;case r:c=m/36e5;break;case n:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:x.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 x.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}(),b=k.prototype;return y.prototype=b,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",a],["$D",s]].forEach(function(e){b[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=g,y.unix=function(e){return y(1e3*e)},y.en=h[p],y.Ls=h,y.p={},y}()},73198:function(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:function(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]+/,l={},a=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=l[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var n,r=l.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=l.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=a(e)}],YYYY:[/\d{4}/,s("year")],Z:u,ZZ:u};return function(n,r,i){i.p.customParseFormat=!0,n&&n.parseTwoDigitYear&&(a=n.parseTwoDigitYear);var o=r.prototype,s=o.parse;o.parse=function(n){var r=n.date,o=n.utc,a=n.args;this.$u=o;var u=a[1];if("string"==typeof u){var c=!0===a[2],f=!0===a[3],p=a[2];f&&(p=a[2]),l=this.$locale(),!c&&p&&(l=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 a=(function(n){var r,i;r=n,i=l&&l.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),a=o.length,s=0;s<a;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<a;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var l=i.regex,s=i.parser,u=e.slice(r),c=l.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=a.year,u=a.month,c=a.day,f=a.hours,p=a.minutes,h=a.seconds,m=a.milliseconds,g=a.zone,v=a.week,y=new Date,x=c||(s||u?1:y.getDate()),k=s||y.getFullYear(),b=0;s&&!u||(b=u>0?u-1:y.getMonth());var w,S=f||0,A=p||0,C=h||0,E=m||0;return g?new Date(Date.UTC(k,b,x,S,A,C,E+60*g.offset*1e3)):i?new Date(Date.UTC(k,b,x,S,A,C,E)):(w=new Date(k,b,x,S,A,C,E),v&&(w=o(w).week(v).toDate()),w)}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("")),l={}}else if(u instanceof Array)for(var h=u.length,m=1;m<=h;m+=1){a[1]=u[m-1];var g=i.apply(this,a);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===h&&(this.$d=new Date(""))}else s.call(this,n)}}}()},2497:function(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 l=e.name?e:e.$locale(),a=i(l[t]),s=i(l[n]),u=a||s.map(function(e){return e.slice(0,r)});if(!o)return u;var c=l.weekStart;return u.map(function(e,t){return u[(t+(c||0))%7]})},l=function(){return n.Ls[n.locale()]},a=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 a(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},n.localeData=function(){var e=l();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 a(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(l(),"months")},n.monthsShort=function(){return o(l(),"monthsShort","months",3)},n.weekdays=function(e){return o(l(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(l(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(l(),"weekdaysMin","weekdays",2,e)}}},52847:function(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),l=i(this).endOf(e);if(o.isBefore(l))return 1}var a=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),s=this.diff(a,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:function(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:function(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:function(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)},l=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)},a=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&&(l(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&l(r)?r:{},a(f,{name:n,newValue:e(h,c,i)})):void 0!==i&&a(f,{name:n,newValue:i}));return f}},33430:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\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 m=[];function g(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)m.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=x();)!1!==t&&e.push(t);return e}function x(){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 g("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,b=[];for(y(b);k=function(){var e=p(),n=v(i);if(n){if(x(),!v(o))return g("property missing ':'");var r=v(l),s=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(a),s}}();)!1!==k&&(b.push(k),y(b));return b}},51148:function(e,t,n){var r=n(1047),i=function(e){var t="",n=Object.keys(e);return n.forEach(function(i,o){var l,a=e[i];l=i=r(i),/[height|width]$/.test(l)&&"number"==typeof a&&(a+="px"),!0===a?t+=i:!1===a?t+="not "+i:t+="("+i+": "+a+")",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:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},20236:function(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))},66065:function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},1276:function(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},36984:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},14548:function(e,t,n){var r=n(1276);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},26906:function(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},52202:function(e){function t(e,t,n,r,i,o,l){try{var a=e[o](l),s=a.value}catch(e){return void n(e)}a.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 l=e.apply(n,r);function a(e){t(l,i,o,a,s,"next",e)}function s(e){t(l,i,o,a,s,"throw",e)}a(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},36529:function(e,t,n){var r=n(39643),i=n(28225),o=n(77981);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},90784:function(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},71966:function(e,t,n){var r=n(1309);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},34873:function(e,t,n){var r=n(39643),i=n(28225),o=n(77981);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},50970:function(e,t,n){var r=n(1309);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},55:function(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},39643:function(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},90400:function(e,t,n){var r=n(6895);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},52867:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},50266:function(e,t,n){var r=n(9401).default;function i(t,n){if("function"==typeof WeakMap)var o=new WeakMap,l=new WeakMap;return(e.exports=i=function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(n=t?l:o){if(n.has(e))return n.get(e);n.set(e,a)}for(var s in e)"default"!==s&&({}).hasOwnProperty.call(e,s)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(i.get||i.set)?n(a,s,i):a[s]=e[s]);return a},e.exports.__esModule=!0,e.exports.default=e.exports)(t,n)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},28225:function(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},33646:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},54579:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,l,a=[],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)&&(a.push(r.value),a.length!==t);s=!0);}catch(e){u=!0,i=e}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},63213:function(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},75264:function(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},18588:function(e,t,n){var r=n(50970);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},21274:function(e,t,n){var r=n(73998);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},73998:function(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},77981:function(e,t,n){var r=n(9401).default,i=n(26906);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},39420:function(e,t,n){var r=n(3483);function i(){var t,n,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function s(e,i,o,l){var a=Object.create((i&&i.prototype instanceof c?i:c).prototype);return r(a,"_invoke",function(e,r,i){var o,l,a,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,l=0,a=t,d.n=n,u}};function p(e,r){for(l=e,a=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)&&(a=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&p<o[1])?(l=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,l=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),l=c,a=h;(n=l<2?t:a)||!f;){o||(l?l<3?(l>1&&(d.n=-1),p(l,a)):d.n=a:d.v=a);try{if(s=2,o){if(l||(i="next"),n=o[i]){if(!(n=n.call(o,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,l<2&&(l=0)}else 1===l&&(n=o.return)&&n.call(o),l<2&&(a=TypeError("The iterator does not provide a '"+i+"' method"),l=1);o=t}else if((n=(f=d.n<0)?a:e.call(r,d))!==u)break}catch(e){o=t,l=1,a=e}finally{s=1}}return{value:n,done:f}}}(e,o,l),!0),a}var u={};function c(){}function f(){}function d(){}n=Object.getPrototypeOf;var p=d.prototype=c.prototype=Object.create([][l]?n(n([][l]())):(r(n={},l,function(){return this}),n));function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return f.prototype=d,r(p,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,a,"GeneratorFunction"),r(p),r(p,a,"Generator"),r(p,l,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},23706:function(e,t,n){var r=n(94026);e.exports=function(e,t,n,i,o){var l=r(e,t,n,i,o);return l.next().then(function(e){return e.done?e.value:l.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},94026:function(e,t,n){var r=n(39420),i=n(15488);e.exports=function(e,t,n,o,l){return new i(r().w(e,t,n,o),l||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},15488:function(e,t,n){var r=n(66065),i=n(3483);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,l){function a(){return new n(function(i,o){!function e(i,o,l,a){try{var s=t[i](o),u=s.value;return u instanceof r?n.resolve(u.v).then(function(t){e("next",t,l,a)},function(t){e("throw",t,l,a)}):n.resolve(u).then(function(e){s.value=e,l(s)},function(t){return e("throw",t,l,a)})}catch(e){a(e)}}(e,l,i,o)})}return o=o?o.then(a,a):a()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},3483:function(e){function t(n,r,i,o){var l=Object.defineProperty;try{l({},"",{})}catch(e){l=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?l?l(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},85956:function(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},45066:function(e,t,n){var r=n(66065),i=n(39420),o=n(23706),l=n(94026),a=n(15488),s=n(85956),u=n(12982);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:a,async:function(e,t,n,r,i){return(d(t)?l: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},12982:function(e,t,n){var r=n(9401).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},6895:function(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},45050:function(e,t,n){var r=n(36984),i=n(54579),o=n(95169),l=n(63213);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},63148:function(e,t,n){var r=n(36984),i=n(33646),o=n(95169),l=n(63213);e.exports=function(e){return r(e)||i(e)||o(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},95233:function(e,t,n){var r=n(14548),i=n(33646),o=n(95169),l=n(75264);e.exports=function(e){return r(e)||i(e)||o(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},68192:function(e,t,n){var r=n(9401).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},1309:function(e,t,n){var r=n(9401).default,i=n(68192);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},9401:function(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},95169:function(e,t,n){var r=n(1276);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},85158:function(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,l,a)=>o<e&&l>t||o>e&&l<t?0:o<=e&&a<=n||l>=t&&a>=n?o-e-r:l>t&&a<n||o<e&&a>n?l-t+i:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};t.compute=(e,t)=>{var r,a,s,u;let c;if("undefined"==typeof document)return[];let{scrollMode:f,block:d,inline:p,boundary:h,skipOverflowHiddenElements:m}=t,g="function"==typeof h?h:e=>e!==h;if(!n(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,y=[],x=e;for(;n(x)&&g(x);){if((x=l(x))===v){y.push(x);break}null!=x&&x===document.body&&i(x)&&!i(document.documentElement)||null!=x&&i(x,m)&&y.push(x)}let k=null!=(a=null==(r=window.visualViewport)?void 0:r.width)?a:innerWidth,b=null!=(u=null==(s=window.visualViewport)?void 0:s.height)?u:innerHeight,{scrollX:w,scrollY:S}=window,{height:A,width:C,top:E,right:M,bottom:T,left:P}=e.getBoundingClientRect(),{top:L,right:O,bottom:R,left:I}={top:parseFloat((c=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0},D="start"===d||"nearest"===d?E-L:"end"===d?T+R:E+A/2-L+R,_="center"===p?P+C/2-I+O:"end"===p?M+O:P-I,z=[];for(let e=0;e<y.length;e++){let t=y[e],{height:n,width:r,top:l,right:a,bottom:s,left:u}=t.getBoundingClientRect();if("if-needed"===f&&E>=0&&P>=0&&T<=b&&M<=k&&(t===v&&!i(t)||E>=l&&T<=s&&P>=u&&M<=a))break;let c=getComputedStyle(t),h=parseInt(c.borderLeftWidth,10),m=parseInt(c.borderTopWidth,10),g=parseInt(c.borderRightWidth,10),x=parseInt(c.borderBottomWidth,10),L=0,O=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-g:0,I="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-x:0,N="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)L="start"===d?D:"end"===d?D-b:"nearest"===d?o(S,S+b,b,m,x,S+D,S+D+A,A):D-b/2,O="start"===p?_:"center"===p?_-k/2:"end"===p?_-k:o(w,w+k,k,h,g,w+_,w+_+C,C),L=Math.max(0,L+S),O=Math.max(0,O+w);else{L="start"===d?D-l-m:"end"===d?D-s+x+I:"nearest"===d?o(l,s,n,m,x+I,D,D+A,A):D-(l+n/2)+I/2,O="start"===p?_-u-h:"center"===p?_-(u+r/2)+R/2:"end"===p?_-a+g+R:o(u,a,r,h,g+R,_,_+C,C);let{scrollLeft:e,scrollTop:i}=t;L=0===H?0:Math.max(0,Math.min(i+L/H,t.scrollHeight-n/H+I)),O=0===N?0:Math.max(0,Math.min(e+O/N,t.scrollWidth-r/N+R)),D+=i-L,_+=e-O}z.push({el:t,top:L,left:O})}return z}},2909:function(e,t,n){"use strict";var r=n(85158);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:l,left:a}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=l-i.top+i.bottom,t=a-i.left+i.right;n.scroll({top:e,left:t,behavior:o})}}},37743:function(e,t){"use strict";function n(e,t,n){var r,i=n||{},o=i.noTrailing,l=void 0!==o&&o,a=i.noLeading,s=void 0!==a&&a,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 a=this,u=Date.now()-d;function h(){d=Date.now(),t.apply(a,i)}function m(){r=void 0}!f&&(s||!c||r||h(),p(),void 0===c&&u>e?s?(d=Date.now(),l||(r=setTimeout(c?m:h,e))):h():!0!==l&&(r=setTimeout(c?m: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},67290:function(e,t,n){"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},43012:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}n.d(t,{c:()=>r})},26998:function(e,t,n){"use strict";n.d(t,{H:()=>et});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>v,commaOrSpaceSeparated:()=>w,commaSeparated:()=>b,number:()=>x,overloadedBoolean:()=>y,spaceSeparated:()=>k});var i=n(67290);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function s(e,t){return((t||a).jsx?l: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 m=0,g=S(),v=S(),y=S(),x=S(),k=S(),b=S(),w=S();function S(){return 2**++m}let A=Object.keys(r);class C 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])}}}C.prototype.defined=!0;let E={}.hasOwnProperty;function M(e){let t,n={},r={};for(t in e.properties)if(E.call(e.properties,t)){let i=e.properties[t],o=new C(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 T=M({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=M({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 O(e,t){return L(e,t.toLowerCase())}let R=M({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:O,properties:{xmlns:null,xmlnsXLink:null}}),I=M({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,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:x,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:k,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:v,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null}}),D=M({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:O,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:b,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:k,autoFocus:g,autoPlay:g,blocking:k,capture:null,charSet:null,checked:g,cite:null,className:k,cols:x,colSpan:null,content:null,contentEditable:v,controls:g,controlsList:k,coords:x|b,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:y,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:k,height:x,hidden:g,high:x,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:k,itemRef:k,itemScope:g,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g,optimum:x,pattern:null,ping:k,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:k,required:g,reversed:g,rows:x,rowSpan:x,sandbox:k,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:v,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:x,security:null,unselectable:null}}),_=M({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:w,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,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:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,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:b,g2:b,glyphName:b,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:w,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,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:x,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:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:w,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:w,rev:w,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:w,requiredFeatures:w,requiredFonts:w,requiredFormats:w,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:w,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:w,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:w,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),z=d([P,T,R,I,D],"html"),N=d([P,T,R,I,_],"svg"),H=/^data[-\w.:]+$/i,F=/-[a-z]/g,B=/[A-Z]/g;function j(e){return"-"+e.toLowerCase()}function W(e){return e.charAt(1).toUpperCase()}let $={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 V=U.default||U;var Y=n(71006),q=n(245);let X={}.hasOwnProperty,G=new Map,Q=/[A-Z]/g,K=/-([a-z])/g,Z=new Set(["table","tbody","thead","tfoot","tr"]),J=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 l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,l=function(e,t,i,o){let l=Array.isArray(i.children),a=(0,Y.PW)(e);return r(t,i,o,l,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.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,l=function(e,t,n,r){let l=Array.isArray(n.children)?o:i;return r?l(t,n,r):l(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?N: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,l,a,s,u,f,d,m;let g,v,y,x,k,b,w,S,A,E,M;return"element"===t.type?(r=e,o=t,l=n,v=g=r.schema,"svg"===o.tagName.toLowerCase()&&"html"===g.space&&(r.schema=N),r.ancestors.push(o),y=el(r,o.tagName,!1),x=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)&&H.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(B,j);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=C}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{V(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(K,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(Q,eu);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?$[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,l]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof l&&J.has(t.tagName)?n=l:i[r]=l}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,o),k=eo(r,o),Z.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,x,y,o),ei(x,k),r.ancestors.pop(),r.schema=g,r.create(o,y,x,l)):"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)}ea(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(a=e,s=t,u=n,w=b=a.schema,"svg"===s.name&&"html"===b.space&&(a.schema=N),a.ancestors.push(s),S=null===s.name?a.Fragment:el(a,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 l=o.properties[0];(0,i.ok)("SpreadElement"===l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else ea(e,t.position);else{let o,l=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 ea(e,t.position);else o=null===r.value||r.value;n[l]=o}return n}(a,s),E=eo(a,s),er(a,A,S,s),ei(A,E),a.ancestors.pop(),a.schema=b,a.create(s,S,A,u)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ea(e,t.position)}(e,t):"root"===t.type?(f=e,d=t,m=n,ei(M={},eo(f,d)),f.create(d,f.Fragment,M,m)):"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:G;for(;++r<t.children.length;){let o,l=t.children[r];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let a=en(e,l,o);void 0!==a&&n.push(a)}return n}function el(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);ea(e)}function ea(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()}},62007:function(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"]}},14337:function(e,t,n){"use strict";n.d(t,{Y:()=>eA});var r={};n.r(r),n.d(r,{attentionMarkers:()=>eg,contentInitial:()=>ec,disable:()=>ev,document:()=>eu,flow:()=>ed,flowInitial:()=>ef,insideSpan:()=>em,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 l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}function a(e,t,n,r){let i,o=e.length,l=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);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function s(e,t){return e.length>0?(a(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,l,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)<(l=t[1]._tokenizer.events).length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[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],l=t-1,a=[],s=i._tokenizer||o.parser[i.contentType](i.start),u=s.events,c=[],f={},d=-1,p=i,h=0,m=0,g=[0];for(;p;){for(;e.get(++l)[1]!==p;);a.push(l),!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&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=u.slice(g[d],g[d+1]),n=a.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 a(e,0,1/0,d.slice(0)),!s}let d={}.hasOwnProperty;var p=n(69097);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(l){return(0,p.On)(l)&&o++<i?(e.consume(l),r):(e.exit(n),t(l))}(r)):t(r)}}let m={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}},g={tokenize:function(e){let t,n,r,i=this,o=[],l=0;return s;function s(t){if(l<o.length){let n=o[l];return i.containerState=n[1],e.attempt(n[0].continuation,u,c)(t)}return c(t)}function u(e){if(l++,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}x(l);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return a(i.events,o+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(l===o.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return g(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(v,f,d)(n)}function f(e){return t&&k(),x(l),h(e)}function d(e){return i.parser.lazy[i.now().line]=l!==o.length,r=i.now().offset,g(e)}function h(t){return i.containerState={},e.attempt(v,m,g)(t)}function m(e){return l++,o.push([i.currentConstruct,i.containerState]),h(e)}function g(r){if(null===r){t&&k(),x(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),x(0),e.consume(n);return}return(0,p.HP)(n)?(e.consume(n),y(e.exit("chunkFlow")),l=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(x(l),o=s;o<i.events.length;)i.events[o][1].end={...n},o++;a(i.events,u+1,0,i.events.slice(s)),i.events.length=o}}function x(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)}}},x={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)}}},b={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(x,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)}}},w={resolveAll:E()},S=C("string"),A=C("text");function C(e){return{resolveAll:E("text"===e?M:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return s(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),a)}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 E(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 M(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),l=o.length,a=-1,s=0;for(;l--;){let e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{l++;break}}if(s){let o={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,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 T={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var l;return e.enter("thematicBreak"),r=l=o,function o(l){return l===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))}(l)):i>=3&&(null===l||(0,p.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},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(O,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,l=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(T,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,p.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(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)}},O={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)}},R={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(R,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 I(e,t,n,r,i,o,l,a,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(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(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(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),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 m(i){return!c&&(null===i||41===i||(0,p.Ee)(i))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||(0,p.JQ)(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function D(e,t,n,r,i,o){let l,a=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&&!l||94===f&&!s&&"_hiddenFootnoteSupport"in a.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),l||(l=!(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 _(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,a):n(t)};function a(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===l?(e.exit(o),a(l)):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===l||null===t||(0,p.HP)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===l||92===t?(e.consume(t),u):u(t)}}function z(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 N(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let H={partial:!0,tokenize:function(e,t,n){return function(t){return(0,p.Ee)(t)?z(e,r)(t):n(t)};function r(t){return _(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(B,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)}}},B={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)}}},j={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 l={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",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let a,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){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,l=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))}(l)):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"],$=["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)}}},V={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"),l};function l(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>=a?(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)}}},l=0,a=0;return function(t){var o;let u;return o=t,l=(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?(a++,e.consume(i),t):a<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,g)(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,g,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return l>0&&(0,p.On)(t)?h(e,m,"linePrefix",l+1)(t):m(t)}function m(t){return null===t||(0,p.HP)(t)?e.check(Y,c,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,p.HP)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}},X=document.createElement("i");function G(e){let t="&"+e+";";X.innerHTML=t;let n=X.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let Q={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(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(a){if(59===a&&l){let r=e.exit("characterReferenceValue");return i!==p.lV||G(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++<r?(e.consume(a),u):n(a)}}},K={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)}}},Z={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),h(e,t,"linePrefix")}}};function J(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&&a(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,l=e.length,u=0;for(;l--;)if(n=e[l][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=l,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(i=l);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,J(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]]),a(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(N(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(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)?z(e,i)(t):i(t)}function i(t){return 41===t?u(t):I(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,p.Ee)(t)?z(e,a)(t):u(t)}function l(e){return n(e)}function a(t){return 34===t||39===t||40===t?_(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return(0,p.Ee)(t)?z(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 D.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(N(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 el={name:"attention",resolveAll:function(e,t){let n,r,i,o,l,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};ea(p,-u),ea(h,u),o={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},l={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:{...l.end}},e[n][1].end={...o.start},e[d][1].start={...l.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,J(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),c=s(c,[["exit",i,t],["enter",l,t],["exit",l,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,a(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(l){return n=l,e.enter("attentionSequence"),function l(a){if(a===n)return e.consume(a),l;let s=e.exit("attentionSequence"),u=eo(a),c=!u||2===u&&o||r.includes(a),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(a)}(l)}}};function ea(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:R},ec={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,D.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=N(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,p.Ee)(t)?z(e,a)(t):a(t)}function a(t){return I(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(H,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"},a(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:T,45:[j,T],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,l,a,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,h):63===l?(e.consume(l),r=3,s.interrupt?t:I):(0,p.CW)(l)?(e.consume(l),o=String.fromCharCode(l),m):n(l)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,l=0,d):(0,p.CW)(i)?(e.consume(i),r=4,s.interrupt?t:I):n(i)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:I):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?s.interrupt?t:C:d:n(r)}function h(t){return(0,p.CW)(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(l){if(null===l||47===l||62===l||(0,p.Ee)(l)){let a=47===l,u=o.toLowerCase();return!a&&!i&&$.includes(u)?(r=1,s.interrupt?t(l):C(l)):W.includes(o.toLowerCase())?(r=6,a)?(e.consume(l),g):s.interrupt?t(l):C(l):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(l):i?function t(n){return(0,p.On)(n)?(e.consume(n),t):S(n)}(l):v(l))}return 45===l||(0,p.lV)(l)?(e.consume(l),o+=String.fromCharCode(l),m):n(l)}function g(r){return 62===r?(e.consume(r),s.interrupt?t:C):n(r)}function v(t){return 47===t?(e.consume(t),S):58===t||95===t||(0,p.CW)(t)?(e.consume(t),y):(0,p.On)(t)?(e.consume(t),v):S(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,p.lV)(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),k):(0,p.On)(t)?(e.consume(t),x):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),a=t,b):(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)?x(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,w):null===t||(0,p.HP)(t)?n(t):(e.consume(t),b)}function w(e){return 47===e||62===e||(0,p.On)(e)?v(e):n(e)}function S(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,p.HP)(t)?C(t):(0,p.On)(t)?(e.consume(t),A):n(t)}function C(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),D):63===t&&3===r?(e.consume(t),I):93===t&&5===r?(e.consume(t),R):(0,p.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(U,_,E)(t)):null===t||(0,p.HP)(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),C)}function E(t){return e.check(V,M,_)(t)}function M(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||(0,p.HP)(t)?E(t):(e.enter("htmlFlowData"),C(t))}function P(t){return 45===t?(e.consume(t),I):C(t)}function L(t){return 47===t?(e.consume(t),o="",O):C(t)}function O(t){if(62===t){let n=o.toLowerCase();return $.includes(n)?(e.consume(t),D):C(t)}return(0,p.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):C(t)}function R(t){return 93===t?(e.consume(t),I):C(t)}function I(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),I):C(t)}function D(t){return null===t||(0,p.HP)(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),D)}function _(n){return e.exit("htmlFlow"),t(n)}}},61:j,95:T,96:q,126:q},ep={38:Q,92:K},eh={[-5]:Z,[-4]:Z,[-3]:Z,33:ei,38:Q,42:el,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):a(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,l):(43===n||45===n||46===n||(0,p.lV)(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function l(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),l)}function a(t){return 64===t?(e.consume(t),s):(0,p.cx)(t)?(e.consume(t),a):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,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),w):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,m):(0,p.CW)(t)?(e.consume(t),x):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,R(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?O(e):45===e?f(e):c(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):(0,p.HP)(t)?(o=g,R(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?O(t):93===t?(e.consume(t),y):g(t)}function x(t){return null===t||62===t?O(t):(0,p.HP)(t)?(o=x,R(t)):(e.consume(t),x)}function k(t){return null===t?n(t):63===t?(e.consume(t),b):(0,p.HP)(t)?(o=k,R(t)):(e.consume(t),k)}function b(e){return 62===e?O(e):k(e)}function w(t){return(0,p.CW)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,p.lV)(t)?(e.consume(t),S):function t(n){return(0,p.HP)(n)?(o=t,R(n)):(0,p.On)(n)?(e.consume(n),t):O(n)}(t)}function A(t){return 45===t||(0,p.lV)(t)?(e.consume(t),A):47===t||62===t||(0,p.Ee)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),O):58===t||95===t||(0,p.CW)(t)?(e.consume(t),E):(0,p.HP)(t)?(o=C,R(t)):(0,p.On)(t)?(e.consume(t),C):O(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,p.lV)(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),M):(0,p.HP)(n)?(o=t,R(n)):(0,p.On)(n)?(e.consume(n),t):C(n)}(t)}function M(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,T):(0,p.HP)(t)?(o=M,R(t)):(0,p.On)(t)?(e.consume(t),M):(e.consume(t),P)}function T(t){return t===r?(e.consume(t),r=void 0,L):null===t?n(t):(0,p.HP)(t)?(o=T,R(t)):(e.consume(t),T)}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)?C(t):(e.consume(t),P)}function L(e){return 47===e||62===e||(0,p.Ee)(e)?C(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return(0,p.On)(t)?h(e,D,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(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)}}},K],93:ee,95:el,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"),l(n))}(t)};function l(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),l):96===s?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",a(l))}(s)):(0,p.HP)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),l):(e.enter("codeTextData"),a(s))}function a(t){return null===t||32===t||96===t||(0,p.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),a)}}}},em={null:[el,w]},eg={null:[42,95]},ev={null:[]},ey=/[\0\t\n\r]/g;function ex(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 eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return ex(n.slice(t?2:1),t?16:10)}return G(n)||e}var ew=n(39495);let eS={}.hasOwnProperty;function eA(e,t,n){let l,u,c,h;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(x),autolinkProtocol:f,autolinkEmail:f,atxHeading:r(g),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:r(m),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:r(m,l),codeText:r(function(){return{type:"inlineCode",value:""}},l),codeTextData:f,data:f,codeFlowValue:f,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(v),hardBreakTrailing:r(v),htmlFlow:r(y,l),htmlFlowData:f,htmlText:r(y,l),htmlTextData:f,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:r(x),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:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:r(g),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=ex(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=G(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eC(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=N(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,eb),n.identifier=N(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=eC(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=N(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(eS.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:a,exit:u,buffer:l,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,l,a=t-1,s=-1,u=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||s||o||(o=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=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 l=a;for(i=void 0;l--;){let t=e[l];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=l}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||a,0,["exit",r,t[2]]),a++,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(a,0,["enter",i,t[2]]),a++,n++,o=void 0,l=!0}}}return e[t][1]._spread=u,n}(e,o.pop(),s));for(s=-1;++s<e.length;){let n=t[e[s][0]];eS.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:eC(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eC(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){a.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(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:eC(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,ew.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=eC(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:eC(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=eC(e.end)}function p(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function v(){return{type:"break"}}function y(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function k(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(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]);a(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(m),defined:[],document:n(g),flow:n(b),lazy:{},string:n(S),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=[],l=[],u=[],c={attempt:v(function(e,t){y(e,t.from)}),check:v(g),consume:function(e){(0,p.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=m(),f.events.push(["enter",n,f]),u.push(n),n},exit:function(e){let t=u.pop();return t.end=m(),f.events.push(["exit",t,f]),t},interrupt:v(g,{interrupt:!0})},f={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,x()},events:[],now:m,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,l=e[r];if("string"==typeof l)o=l;else switch(l){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(l)}n=-2===l,i.push(o)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(l=s(l,e),function(){let e;for(;r._index<l.length;){let n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),d=d(t)}else d=d(n)}}(),null!==l[l.length-1])?[]:(y(t,0),f.events=J(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,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(l,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function g(e,t){t.restore()}function v(e,t){return function(n,i,o){var l;let a,s,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(a=e,s=0,0===e.length)?o:g(e[s])}function g(e){return function(n){let i,o,l,a,s;return(i=m(),o=f.previous,l=f.currentConstruct,a=f.events.length,s=Array.from(u),p={from:a,restore:function(){r=i,f.previous=o,f.currentConstruct=l,f.events.length=a,u=s,x()}},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<a.length)?g(a[s]):o}}}function y(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&a(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((u=1,c="",h=!0,function(e,t,n){let r,i,o,a,s,f=[];for(e=c+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,c="",h&&(65279===e.charCodeAt(0)&&o++,h=void 0);o<e.length;){if(ey.lastIndex=o,a=(r=ey.exec(e))&&void 0!==r.index?r.index:e.length,s=e.charCodeAt(a),!r){c=e.slice(o);break}if(10===s&&o===a&&l)f.push(-3),l=void 0;else switch(l&&(f.push(-5),l=void 0),o<a&&(f.push(e.slice(o,a)),u+=a-o),s){case 0:f.push(65533),u++;break;case 9:for(i=4*Math.ceil(u/4),f.push(-2);u++<i;)f.push(-1);break;case 10:f.push(-4),u=1;break;default:l=!0,u=1}o=a+1}return n&&(l&&f.push(-5),c&&f.push(c),f.push(null)),f})(e,t,!0))))}function eC(e){return{line:e.line,column:e.column,offset:e.offset}}function eE(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ew.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ew.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ew.L)({start:t.start,end:t.end})+") is still open")}},40144:function(e,t,n){"use strict";n.d(t,{_:()=>P});var r=n(67290);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[l,a]=e[o];switch(l){case 0:case -1:return n(a,o);case 1:{let e=n([],o);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},o);for(let[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{let e=n(new Map,o);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,o);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n(new i[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new i[l](a),o)})(0)},{toString:l}={},{keys:a}=Object,s=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=l.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 l,c,f=[];return(r=!(t||n),i=!!t,o=new Map,l=(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 l([-1],e)}return l([t,i],e)}case 1:{if(n)return l([n,[...e]],e);let r=[],i=l([t,r],e);for(let t of e)r.push(c(t));return i}case 2:{if(n)switch(n){case"BigInt":return l([n,e.toString()],e);case"Boolean":case"Number":case"String":return l([n,e.valueOf()],e)}if(i&&"toJSON"in e)return c(e.toJSON());let o=[],f=l([t,o],e);for(let t of a(e))(r||!u(s(e[t])))&&o.push([c(t),c(e[t])]);return f}case 3:return l([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return l([t,{source:n,flags:r}],e)}case 5:{let n=[],i=l([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=l([t,n],e);for(let t of e)(r||!u(s(t)))&&n.push(c(t));return i}}let{message:f}=e;return l([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(69097);function p(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),l="";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))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(l=String.fromCharCode(o,t),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),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 m(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var g=n(71684),v=n(71006);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 l=i[i.length-1];return l&&"text"===l.type?l.value+=r:i.push({type:"text",value:r}),i}function x(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 b={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()),l=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=l+1,a+=1,e.footnoteCounts.set(i,a);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(a>1?"-"+a:""),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=x(n[r])}return t}(n):x(t),o={},l=[];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 a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?l.push(e):l.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&l.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:l};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]),l=(0,v.Y)(t.children[t.children.length-1]);o&&l&&(r.position={start:o,end:l}),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,l=o?o.length:t.children.length,a=-1,s=[];for(;++a<l;){let n=t.children[a],r={},l=o?o[a]:void 0;l&&(r.align=l);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:w,yaml:w,definition:w,footnoteDefinition:w};function w(){}let S={}.hasOwnProperty,A={};function C(e,t){e.position&&(t.position=(0,v.G1)(e))}function E(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 M(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 T(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,l,a=(n=t||A,i=new Map,o=new Map,l={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=l.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=T(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=T(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:E,definitionById:i,footnoteById:o,footnoteCounts:new Map,footnoteOrder:[],handlers:{...b,...n.handlers},one:function(e,t){let n=e.type,r=l.handlers[n];if(S.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=f(n);return r.children=l.all(e),r}return f(e)}return(l.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(S.call(n,"hProperties")||S.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)})(l,e,t)},options:n,patch:C,wrap:M},(0,g.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)}}),l),s=a.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||m,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],s=-1;for(;++s<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[s]);if(!i)continue;let o=e.all(i),l=String(i.identifier).toUpperCase(),u=p(l.toLowerCase()),c=0,f=[],d=e.footnoteCounts.get(l);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 m={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,m),a.push(m)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...f(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(a),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}},69097:function(e,t,n){"use strict";n.d(t,{BM:()=>a,CW:()=>r,Ee:()=>f,HP:()=>c,JQ:()=>l,Ny:()=>h,On:()=>d,cx:()=>o,es:()=>p,lV:()=>i,ok:()=>s,ol:()=>u});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),o=m(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let a=m(/\d/),s=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);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=m(/\p{P}|\p{S}/u),h=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},87083:function(e,t,n){"use strict";function r(e){if(e)throw e}n.d(t,{l:()=>f});var i=n(49461),o=n(67290);function l(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 a=n(42381);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,...l){let a=e[++n],s=-1;if(o)return void r(o);for(;++s<t.length;)(null===l[s]||void 0===l[s])&&(l[s]=t[s]);t=l,a?(function(e,t){let n;return function(...t){let o,l=e.length>t.length;l&&t.push(r);try{o=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(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)}})(a,i)(...l):r(null,...l)}(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 l=v(e),a=n.parse(l);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(a,l,function(e,t,r){var i,o;if(e||!t||!r)return s(e);let l=n.stringify(t,r);"string"==typeof(i=l)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=l:r.result=l,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}),g("processSync","process",n),(0,o.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){m(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,l){(0,o.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let a=v(t);r.run(e,a,function(t,r,a){let s=r||e;t?l(t):i?i(s):((0,o.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,a))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){r(e),n=t,i=!0}),g("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),m(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)?a(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");a(e.plugins),e.settings&&(r.settings=i(!0,r.settings,e.settings))}function a(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,...a]=t,s=n[o][1];l(s)&&l(r)&&(r=i(!0,s,r)),n[o]=[e,r,...a]}}}}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 m(e){if(!l(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(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 a.T(e)}},71006:function(e,t,n){"use strict";n.d(t,{G1:()=>l,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 l(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},39495:function(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 l(e&&e.line)+":"+l(e&&e.column)}function o(e){return i(e&&e.start)+"-"+i(e&&e.end)}function l(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},71684:function(e,t,n){"use strict";n.d(t,{YR:()=>a});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 l=[];function a(e,t,n,i){var o,a,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,a=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 a?(s=a,a=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=l;if((!o||p(t,n,r[r.length-1]||void 0))&&!1===(d=Array.isArray(i=a(t,r))?i:"number"==typeof i?[!0,i]:null==i?l:[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,[])()}},245:function(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(39495);class i extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},l=!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&&(l=!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 a=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=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.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=l&&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},42381:function(e,t,n){"use strict";n.d(t,{T:()=>f});var r=n(245);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 l=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=l));return r===i?i=l: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)},l=function(e){let t;s(e);let n=e.length,r=-1,i=0,o=-1,l=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||r<0||0===l||1===l&&o===r-1&&o===i+1?"":e.slice(o,r)},a=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,l=-1,a=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(l===s-1||1===a);else if(l!==s-1&&2===a){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("/"),l=s,a=0;continue}}else if(i.length>0){i="",o=0,l=s,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(l+1,s):i=e.slice(l+1,s),o=s-l-1;l=s,a=0}else 46===n&&a>-1?a++:a=-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=a(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?o(this.path):void 0}set dirname(e){h(this.basename,"dirname"),this.path=a(e||"",this.basename)}get extname(){return"string"==typeof this.path?l(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=a(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=a(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")}}}]);
|