https://www.eye2.ai/_next/static/chunks/818-5859dd1d9629595c.js?dpl=dpl_8Ja3i1uCPs4LQUubSB8FQnHGuakT
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[818],{754:(e,t,n)=>{"use strict";n.d(t,{oR:()=>f}),n(2115);var r=e=>"function"==typeof e,i=(e,t)=>r(e)?e(t):e,s=(()=>{let e=0;return()=>(++e).toString()})();(()=>{let e;return()=>{if(void 0===e&&"u">typeof window){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})();var l=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:n}=t;return l(e,{type:+!!e.toasts.find(e=>e.id===n.id),toast:n});case 3:let{toastId:r}=t;return{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+i}))}}},o=[],a={toasts:[],pausedAt:void 0},c=e=>{a=l(a,e),o.forEach(e=>{e(a)})},u={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},d=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||s()}),p=e=>(t,n)=>{let r=d(t,e,n);return c({type:2,toast:r}),r.id},f=(e,t)=>p("blank")(e,t);f.error=p("error"),f.success=p("success"),f.loading=p("loading"),f.custom=p("custom"),f.dismiss=e=>{c({type:3,toastId:e})},f.remove=e=>c({type:4,toastId:e}),f.promise=(e,t,n)=>{let r=f.loading(t.loading,{...n,...null==n?void 0:n.loading});return"function"==typeof e&&(e=e()),e.then(e=>{let s=t.success?i(t.success,e):void 0;return s?f.success(s,{id:r,...n,...null==n?void 0:n.success}):f.dismiss(r),e}).catch(e=>{let s=t.error?i(t.error,e):void 0;s?f.error(s,{id:r,...n,...null==n?void 0:n.error}):f.dismiss(r)}),e};var h=new Map,m=1e3},1300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},a=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,a):e.replace(s,a)).replace(r,o))}},1438:e=>{e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",fnof:"Æ",circ:"Ë",tilde:"Ë",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",bull:"â¢",hellip:"â¦",permil:"â°",prime:"â²",Prime:"â³",lsaquo:"â¹",rsaquo:"âº",oline:"â¾",frasl:"â",euro:"â¬",image:"â",weierp:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
1:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦"}},2252:()=>{},2325:(e,t,n)=>{"use strict";n.d(t,{Vx:()=>i}),n(2379);var r=n(2482);function i(e){let{swiper:t,extendParams:n,on:i,emit:s}=e;function l(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e))?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n)?e:n}function o(e,n){let i=t.params.navigation;(e=(0,r.m)(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function a(){let{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop){o(n,!1),o(e,!1);return}o(n,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function d(){var e,n,i;let s=t.params.navigation;if(t.params.navigation=(e=t.originalParams.navigation,n=t.params.navigation,i={nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}
1,t.params.createElements&&Object.keys(i).forEach(s=>{if(!n[s]&&!0===n.auto){let l=(0,r.e)(t.el,`.${i[s]}`)[0];l||((l=(0,r.c)("div",i[s])).className=i[s],t.el.append(l)),n[s]=l,e[s]=l}}),n),!(s.nextEl||s.prevEl))return;let o=l(s.nextEl),a=l(s.prevEl);Object.assign(t.navigation,{nextEl:o,prevEl:a}),o=(0,r.m)(o),a=(0,r.m)(a);let d=(e,n)=>{e&&e.addEventListener("click","next"===n?u:c),!t.enabled&&e&&e.classList.add(...s.lockClass.split(" "))};o.forEach(e=>d(e,"next")),a.forEach(e=>d(e,"prev"))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=(0,r.m)(e),n=(0,r.m)(n);let i=(e,n)=>{e.removeEventListener("click","next"===n?u:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?f():(d(),a())}),i("toEdge fromEdge lock unlock",()=>{a()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;if(e=(0,r.m)(e),n=(0,r.m)(n),t.enabled)return void a();[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:l}=t.navigation;i=(0,r.m)(i),l=(0,r.m)(l);let o=n.target,a=l.includes(o)||i.includes(o);if(t.isElement&&!a){let e=n.path||n.composedPath&&n.composedPath();e&&(a=e.find(e=>i.includes(e)||l.includes(e)))}if(t.params.navigation.hideOnClick&&!a){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):l.length&&(e=l[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?s("navigationShow"):s("navigationHide"),[...i,...l].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),a()},disable:f,update:a,init:d,destroy:p})}},2379:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={});let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])})}n.d(t,{a:()=>a,g:()=>l});let s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){let e="undefined"!=typeof document?document:{};return i(e,s),e}let o={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function a(){let e="undefined"!=typeof window?window:{};return i(e,o),e}},2482:(e,t,n)=>{"use strict";n.d(t,{a:()=>c,b:()=>v,c:()=>h,e:()=>d,f:()=>l,h:()=>b,i:()=>x,k:()=>o,m:()=>w,n:()=>s,q:()=>y,r:()=>g,s:()=>S,t:()=>m,u:()=>u,v:()=>f,w:()=>p,x:()=>function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){let i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let r=Object.keys(Object(i)).filter(e=>0>n.indexOf(e));for(let n=0,s=r.length;n<s;n+=1){let s=r[n],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(a(t[s])&&a(i[s])?i[s].__swiper__?t[s]=i[s]:e(t[s],i[s]):!a(t[s])&&a(i[s])?(t[s]={}
1,i[s].__swiper__?t[s]=i[s]:e(t[s],i[s])):t[s]=i[s])}}}return t},y:()=>i});var r=n(2379);function i(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function l(){return Date.now()}function o(e,t){let n,i,s;void 0===t&&(t="x");let l=(0,r.a)(),o=function(e){let t,n=(0,r.a)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return l.WebKitCSSMatrix?((i=o.transform||o.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new l.WebKitCSSMatrix("none"===i?"":i)):n=(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=l.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=l.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function a(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(e,t,n){e.style.setProperty(t,n)}function u(e){let t,{swiper:n,targetPosition:i,side:s}=e,l=(0,r.a)(),o=-n.translate,a=null,c=n.params.speed;n.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(n.cssModeFrameID);let u=i>o?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{t=new Date().getTime(),null===a&&(a=t);let e=o+(.5-Math.cos(Math.max(Math.min((t-a)/c,1),0)*Math.PI)/2)*(i-o);if(d(e,i)&&(e=i),n.wrapperEl.scrollTo({[s]:e}),d(e,i)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[s]:e})}),l.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=l.requestAnimationFrame(p)};p()}function d(e,t){void 0===t&&(t="");let n=(0,r.a)(),i=[...e.children];return(n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t)?i.filter(e=>e.matches(t)):i}function p(e,t){let n=(0,r.a)(),i=t.contains(e);return!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&((i=[...t.assignedElements()].includes(e))||(i=function(e,t){let n=[t];for(;n.length>0;){let t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}function f(e){try{console.warn(e);return}catch(e){}}function h(e,t){var n;void 0===t&&(t=[]);let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:(void 0===(n=t)&&(n=""),n.trim().split(" ").filter(e=>!!e.trim()))),r}function m(e,t){let n=[];for(;e.previousElementSibling;){let r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function g(e,t){let n=[];for(;e.nextElementSibling;){let r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function y(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function v(e,t){let n=[],r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function b(e,t,n){let i=(0,r.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function w(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function S(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},3360:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=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"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!s)return!1;for(r in e);return void 0===r||t.call(e,r)},o=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},a=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,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(t=arguments[p],null!=t)for(n in t)r=a(d,n),d!==(i=a(t,n))&&(h&&i&&(l(i)||(c=s(i)))?(c?(c=!1,u=r&&s(r)?r:[]):u=r&&l(r)?r:{},o(d,{name:n,newValue:e(h,u,i)})):void 0!==i&&o(d,{name:n,newValue:i}));return d}}
1,3462:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var r={};n.r(r),n.d(r,{MDXProvider:()=>c,useMDXComponents:()=>a}),window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};var i=n(2115),s=n(8300);let l={},o=i.createContext(l);function a(e){let t=i.useContext(o);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),i.createElement(o.Provider,{value:t},e.children)}function u(e){let{compiledSource:t,frontmatter:n,scope:l,components:o={},lazy:a}=e,[u,d]=(0,i.useState)(!a);(0,i.useEffect)(()=>{if(a){let e=window.requestIdleCallback(()=>{d(!0)});return()=>window.cancelIdleCallback(e)}},[]);let p=(0,i.useMemo)(()=>{let e=Object.assign({opts:{...r,...s.jsxRuntime}},{frontmatter:n},l),i=Object.keys(e),o=Object.values(e),a=Reflect.construct(Function,i.concat("".concat(t)));return a.apply(a,o).default},[l,t]);if(!u)return i.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let f=i.createElement(c,{components:o},i.createElement(p,null));return a?i.createElement("div",null,f):f}},3550:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},3574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=n(8797),i=n(5157)},3724:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(7924)),i=n(1300);function s(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}s.default=s,e.exports=s},4029:(e,t,n)=>{"use strict";n.d(t,{m_:()=>eV});var r=n(2115);let i=Math.min,s=Math.max,l=Math.round,o=Math.floor,a=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function y(e){return g.has(p(e))?"y":"x"}function x(e){return e.replace(/start|end/g,e=>u[e])}let v=["left","right"],b=["right","left"],w=["top","bottom"],S=["bottom","top"];function k(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function T(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}
1function C(e,t,n){let r,{reference:i,floating:s}=e,l=y(t),o=h(y(t)),a=m(o),c=p(t),u="y"===l,d=i.x+i.width/2-s.width/2,g=i.y+i.height/2-s.height/2,x=i[a]/2-s[a]/2;switch(c){case"top":r={x:d,y:i.y-s.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-s.width,y:g};break;default:r={x:i.x,y:i.y}}switch(f(t)){case"start":r[o]-=x*(n&&u?-1:1);break;case"end":r[o]+=x*(n&&u?-1:1)}return r}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,o=s.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=C(c,r,a),p=r,f={},h=0;for(let n=0;n<o.length;n++){let{name:s,fn:m}=o[n],{x:g,y:y,data:x,reset:v}=await m({x:u,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:f,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,f={...f,[s]:{...f[s],...x}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):v.rects),{x:u,y:d}=C(c,p,a)),n=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:f}};async function I(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:s,rects:l,elements:o,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=d(t,e),m=E(h),g=o[f?"floating"===p?"reference":"floating":p],y=T(await s.getClippingRect({element:null==(n=await (null==s.isElement?void 0:s.isElement(g)))||n?g:g.contextElement||await (null==s.getDocumentElement?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:u,strategy:a})),x="floating"===p?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==s.getOffsetParent?void 0:s.getOffsetParent(o.floating)),b=await (null==s.isElement?void 0:s.isElement(v))&&await (null==s.getScale?void 0:s.getScale(v))||{x:1,y:1},w=T(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:x,offsetParent:v,strategy:a}):x);return{top:(y.top-w.top+m.top)/b.y,bottom:(w.bottom-y.bottom+m.bottom)/b.y,left:(y.left-w.left+m.left)/b.x,right:(w.right-y.right+m.right)/b.x}}let O=new Set(["left","top"]);async function L(e,t){let{placement:n,platform:r,elements:i}=e,s=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),o=f(n),a="y"===y(n),c=O.has(l)?-1:1,u=s&&a?-1:1,h=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:x}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&"number"==typeof x&&(g="end"===o?-1*x:x),a?{x:g*u,y:m*c}:{x:m*c,y:g*u}}function M(){return"undefined"!=typeof window}function _(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function P(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!M()&&(e instanceof Node||e instanceof N(e).Node)}function D(e){return!!M()&&(e instanceof Element||e instanceof N(e).Element)}function F(e){return!!M()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function R(e){return!!M()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}let B=new Set(["inline","contents"]);function z(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!B.has(i)}let $=new Set(["table","td","th"]),J=[":popover-open",":modal"];function V(e){return J.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let q=["transform","translate","scale","rotate","perspective"],U=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function H(e){let t=W(),n=D(e)?Y(e):e;return q.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||U.some(e=>(n.willChange||"").includes(e))||X.some(e=>(n.contain||"").includes(e))}function W(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let K=new Set(["html","body","#document"]);function G(e){return K.has(_(e))}function Y(e){return N(e).getComputedStyle(e)}function Q(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||R(e)&&e.host||P(e);return R(t)?t.host:t}function ee(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Z(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&z(n)?n:e(n)}(e),s=i===(null==(r=e.ownerDocument)?void 0:r.body),l=N(i);if(s){let e=et(l);
1return t.concat(l,l.visualViewport||[],z(i)?i:[],e&&n?ee(e):[])}return t.concat(i,ee(i,[],n))}function et(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function en(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=F(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=l(n)!==s||l(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function er(e){return D(e)?e:e.contextElement}function ei(e){let t=er(e);if(!F(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:s}=en(t),o=(s?l(n.width):n.width)/r,c=(s?l(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),c&&Number.isFinite(c)||(c=1),{x:o,y:c}}let es=a(0);function el(e){let t=N(e);return W()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),l=er(e),o=a(1);t&&(r?D(r)&&(o=ei(r)):o=ei(e));let c=(void 0===(i=n)&&(i=!1),r&&(!i||r===N(l))&&i)?el(l):a(0),u=(s.left+c.x)/o.x,d=(s.top+c.y)/o.y,p=s.width/o.x,f=s.height/o.y;if(l){let e=N(l),t=r&&D(r)?N(r):r,n=e,i=et(n);for(;i&&r&&t!==n;){let e=ei(i),t=i.getBoundingClientRect(),r=Y(i),s=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,d*=e.y,p*=e.x,f*=e.y,u+=s,d+=l,i=et(n=N(i))}}return T({width:p,height:f,x:u,y:d})}function ea(e,t){let n=Q(e).scrollLeft;return t?t.left+n:eo(P(e)).left+n}function ec(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ea(e,n),y:n.top+t.scrollTop}}let eu=new Set(["absolute","fixed"]);function ed(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=N(e),r=P(e),i=n.visualViewport,s=r.clientWidth,l=r.clientHeight,o=0,a=0;if(i){s=i.width,l=i.height;let e=W();(!e||e&&"fixed"===t)&&(o=i.offsetLeft,a=i.offsetTop)}let c=ea(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(s-=l)}else c<=25&&(s+=c);return{width:s,height:l,x:o,y:a}}(e,n);else if("document"===t)r=function(e){let t=P(e),n=Q(e),r=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=s(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+ea(e),a=-n.scrollTop;return"rtl"===Y(r).direction&&(o+=s(t.clientWidth,r.clientWidth)-i),{width:i,height:l,x:o,y:a}}(P(e));else if(D(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=F(e)?ei(e):a(1),l=e.clientWidth*s.x,o=e.clientHeight*s.y;return{width:l,height:o,x:i*s.x,y:r*s.y}}(t,n);else{let n=el(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return T(r)}function ep(e){return"static"===Y(e).position}function ef(e,t){if(!F(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let n=e.offsetParent;return P(e)===n&&(n=n.ownerDocument.body),n}function eh(e,t){var n;let r=N(e);if(V(e))return r;if(!F(e)){let t=Z(e);for(;t&&!G(t);){if(D(t)&&!ep(t))return t;t=Z(t)}return r}let i=ef(e,t);for(;i&&(n=i,$.has(_(n)))&&ep(i);)i=ef(i,t);return i&&G(i)&&ep(i)&&!H(i)?r:i||function(e){let t=Z(e);for(;F(t)&&!G(t);){if(H(t))return t;if(V(t))break;t=Z(t)}return null}(e)||r}let em=async function(e){let t=this.getOffsetParent||eh,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),i=P(t),s="fixed"===n,l=eo(e,!0,s,t),o={scrollLeft:0,scrollTop:0},c=a(0);if(r||!r&&!s)if(("body"!==_(t)||z(i))&&(o=Q(t)),r){let e=eo(t,!0,s,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=ea(i));s&&!r&&i&&(c.x=ea(i));let u=!i||r||s?a(0):ec(i,o);return{x:l.left+o.scrollLeft-c.x-u.x,y:l.top+o.scrollTop-c.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eg={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,s="fixed"===i,l=P(r),o=!!t&&V(t.floating);if(r===l||o&&s)return n;let c={scrollLeft:0,scrollTop:0},u=a(1),d=a(0),p=F(r);if((p||!p&&!s)&&(("body"!==_(r)||z(l))&&(c=Q(r)),F(r))){let e=eo(r);u=ei(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let f=!l||p||s?a(0):ec(l,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}},getDocumentElement:P,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,o=[..."clippingAncestors"===n?V(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ee(e,[],!1).filter(e=>D(e)&&"body"!==_(e)),i=null,s="fixed"===Y(e).position,l=s?Z(e):e;for(;D(l)&&!G(l);){let t=Y(l),n=H(l);n||"fixed"!==t.position||(i=null),(s?!n&&!i:!n&&"static"===t.position&&!!i&&eu.has(i.position)||z(l)&&!n&&function e(t,n){let r=Z(t);return!(r===n||!D(r)||G(r))&&("fixed"===Y(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=Z(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],c=o.reduce((e,n)=>{let r=ed(t,n,l);return e.top=s(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=s(r.left,e.left),e},ed(t,a,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:eh,getElementRects:em,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=en(e);return{width:t,height:n}},getScale:ei,isElement:D,isRTL:function(e){return"rtl"===Y(e).direction}};function ey(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:s,placement:l,middlewareData:o}=t,a=await L(t,e);return l===(null==(n=o.offset)?void 0:n.placement)&&null!=(r=o.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:{...a,placement:l}}}}},ev=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=d(e,t),f={x:n,y:r},m=await I(t,u),g=y(p(l)),x=h(g),v=f[x],b=f[g];if(o){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",n=v+m[e],r=v-m[t];v=s(n,i(v,r))}if(a){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=b+m[e],r=b-m[t];b=s(n,i(b,r))}let w=c.fn({...t,[x]:v,[g]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[x]:o,[g]:a}}}}}},eb=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,s,l;let{placement:o,middlewareData:a,rects:c,initialPlacement:u,platform:g,elements:E}=t,{mainAxis:T=!0,crossAxis:C=!0,fallbackPlacements:A,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:M=!0,..._}=d(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let N=p(o),P=y(u),j=p(u)===u,D=await (null==g.isRTL?void 0:g.isRTL(E.floating)),F=A||(j||!M?[k(u)]:function(e){let t=k(e);return[x(e),t,x(t)]}(u)),R="none"!==L;!A&&R&&F.push(...function(e,t,n,r){let i=f(e),s=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:v;return t?v:b;case"left":case"right":return t?w:S;default:return[]}}(p(e),"start"===n,r);return i&&(s=s.map(e=>e+"-"+i),t&&(s=s.concat(s.map(x)))),s}(u,M,L,D));let B=[u,...F],z=await I(t,_),$=[],J=(null==(r=a.flip)?void 0:r.overflows)||[];if(T&&$.push(z[N]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=f(e),i=h(y(e)),s=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=k(l)),[l,k(l)]}(o,c,D);$.push(z[e[0]],z[e[1]])}if(J=[...J,{placement:o,overflows:$}],!$.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=B[e];if(t&&("alignment"!==C||P===y(t)||J.every(e=>y(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:J},reset:{placement:t}};let n=null==(s=J.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!n)switch(O){case"bestFit":{let e=null==(l=J.filter(e=>{if(R){let t=y(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}},ew=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:o,platform:a,elements:c,middlewareData:u}=t,{element:p,padding:g=0}=d(e,t)||{};if(null==p)return{};let x=E(g),v={x:n,y:r},b=h(y(l)),w=m(b),S=await a.getDimensions(p),k="y"===b,T=k?"clientHeight":"clientWidth",C=o.reference[w]+o.reference[b]-v[b]-o.floating[w],A=v[b]-o.reference[b],I=await (null==a.getOffsetParent?void 0:a.getOffsetParent(p)),O=I?I[T]:0;O&&await (null==a.isElement?void 0:a.isElement(I))||(O=c.floating[T]||o.floating[w]);let L=O/2-S[w]/2-1,M=i(x[k?"top":"left"],L),_=i(x[k?"bottom":"right"],L),N=O-S[w]-_,P=O/2-S[w]/2+(C/2-A/2),j=s(M,i(P,N)),D=!u.arrow&&null!=f(l)&&P!==j&&o.reference[w]/2-(P<M?M:_)-S[w]/2<0,F=D?P<M?P-M:P-N:0;return{[b]:v[b]+F,data:{[b]:j,centerOffset:P-j-F,...D&&{alignmentOffset:F}},reset:D}}}),eS=(e,t,n)=>{let r=new Map,i={platform:eg,...n},s={...i.platform,_c:r};return A(e,t,{...i,platform:s})};var ek=n(9300),eE=n(1890);let eT={core:!1,base:!1};function eC({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var i,s;if(!e||"undefined"==typeof document||eT[n]||"core"===n&&void 0!==eE&&(null==(i=null==eE?void 0:eE.env)?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||"base"!==n&&void 0!==eE&&(null==(s=null==eE?void 0:eE.env)?void 0:s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});let{insertAt:l}=r;if(document.getElementById(t))return;let o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.id=t,a.type="text/css","top"===l&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),eT[n]=!0}let eA=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:s="absolute",middlewares:l=[ex(Number(i)),eb({fallbackAxisSideDirection:"start"}),ev({padding:5})],border:o,arrowSize:a=8})=>e&&null!==t?n?(l.push(ew({element:n,padding:5})),eS(e,t,{placement:r,strategy:s,middleware:l}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var i,s;let l={left:`${e}px`,top:`${t}px`,border:o},{x:c,y:u}=null!=(i=r.arrow)?i:{x:0,y:0},d=null!=(s=({top:"bottom",right:"left",bottom:"top",left:"right"})[n.split("-")[0]])?s:"bottom",p=0;if(o){let e=`${o}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:l,tooltipArrowStyles:{left:null!=c?`${c}px`:"",top:null!=u?`${u}px`:"",right:"",bottom:"",...o&&{borderBottom:o,borderRight:o},[d]:`-${a/2+p}px`},place:n}})):eS(e,t,{placement:"bottom",strategy:s,middleware:l}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})):{tooltipStyles:{},tooltipArrowStyles:{},place:r},eI=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),eO=(e,t,n)=>{let r=null,i=function(...i){let s=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(s,t)),n||(r&&clearTimeout(r),r=setTimeout(s,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},eL=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,eM=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>eM(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!eL(e)||!eL(t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>eM(e[n],t[n]))},e_=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{let n=t.getPropertyValue(e);return"auto"===n||"scroll"===n})},eN=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(e_(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},eP="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,ej=e=>{e.current&&(clearTimeout(e.current),e.current=null)},eD={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},eF=(0,r.createContext)({getTooltipData:()=>eD});function eR(e="DEFAULT_TOOLTIP_ID"){return(0,r.useContext)(eF).getTooltipData(e)}var eB={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ez={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};let e$=({forwardRef:e,id:t,className:n,classNameArrow:l,variant:a="dark",anchorId:c,anchorSelect:u,place:d="top",offset:p=10,events:f=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:g,wrapper:y,delayShow:x=0,delayHide:v=0,float:b=!1,hidden:w=!1,noArrow:S=!1,clickable:k=!1,closeOnEsc:E=!1,closeOnScroll:T=!1,closeOnResize:C=!1,openEvents:A,closeEvents:I,globalCloseEvents:O,imperativeModeOnly:L,style:M,position:_,afterShow:N,afterHide:j,disableTooltip:D,content:F,contentWrapperRef:R,isOpen:B,defaultIsOpen:z=!1,setIsOpen:$,activeAnchor:J,setActiveAnchor:V,border:q,opacity:U,arrowColor:X,arrowSize:H=8,role:W="tooltip"})=>{var K;let G=(0,r.useRef)(null),Y=(0,r.useRef)(null),Q=(0,r.useRef)(null),Z=(0,r.useRef)(null),et=(0,r.useRef)(null),[en,ei]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[es,el]=(0,r.useState)(!1),[ea,ec]=(0,r.useState)(!1),[eu,ed]=(0,r.useState)(null),ep=(0,r.useRef)(!1),ef=(0,r.useRef)(null),{anch
1orRefs:eh,setActiveAnchor:em}=eR(t),eg=(0,r.useRef)(!1),[ex,ev]=(0,r.useState)([]),eb=(0,r.useRef)(!1),ew=h||f.includes("click"),eS=ew||(null==A?void 0:A.click)||(null==A?void 0:A.dblclick)||(null==A?void 0:A.mousedown),eE=A?{...A}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!A&&ew&&Object.assign(eE,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});let eT=I?{...I}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!I&&ew&&Object.assign(eT,{mouseleave:!1,blur:!1,mouseout:!1});let eC=O?{...O}:{escape:E||!1,scroll:T||!1,resize:C||!1,clickOutsideAnchor:eS||!1};L&&(Object.assign(eE,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(eT,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(eC,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),eP(()=>(eb.current=!0,()=>{eb.current=!1}),[]);let eI=e=>{eb.current&&(e&&ec(!0),setTimeout(()=>{eb.current&&(null==$||$(e),void 0===B&&el(e))},10))};(0,r.useEffect)(()=>{if(void 0===B)return()=>null;B&&ec(!0);let e=setTimeout(()=>{el(B)},10);return()=>{clearTimeout(e)}},[B]),(0,r.useEffect)(()=>{es!==ep.current&&((ej(et),ep.current=es,es)?null==N||N():et.current=setTimeout(()=>{ec(!1),ed(null),null==j||j()},(e=>{let t=e.match(/^([\d.]+)(ms|s)$/);if(!t)return 0;let[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"))+25))},[es]);let eL=e=>{ei(t=>eM(t,e)?t:e)},e_=(e=x)=>{ej(Q),ea?eI(!0):Q.current=setTimeout(()=>{eI(!0)},e)},eD=(e=v)=>{ej(Z),Z.current=setTimeout(()=>{eg.current||eI(!1)},e)},eF=e=>{var t;if(!e)return;let n=null!=(t=e.currentTarget)?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void em({current:null});x?e_():eI(!0),V(n),em({current:n}),ej(Z)},e$=()=>{k?eD(v||100):v?eD():eI(!1),ej(Q)},eJ=({x:e,y:t})=>{var n;eA({place:null!=(n=null==eu?void 0:eu.place)?n:d,offset:p,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:G.current,tooltipArrowReference:Y.current,strategy:m,middlewares:g,border:q,arrowSize:H}).then(e=>{eL(e)})},eV=e=>{if(!e)return;let t={x:e.clientX,y:e.clientY};eJ(t),ef.current=t},eq=e=>{var t;if(!es)return;let n=e.target;n.isConnected&&(null==(t=G.current)||!t.contains(n))&&([document.querySelector(`[id='${c}']`),...ex].some(e=>null==e?void 0:e.contains(n))||(eI(!1),ej(Q)))},eU=eO(eF,50,!0),eX=eO(e$,50,!0),eH=e=>{eX.cancel(),eU(e)},eW=()=>{eU.cancel(),eX()},eK=(0,r.useCallback)(()=>{var e,t;let n=null!=(e=null==eu?void 0:eu.position)?e:_;n?eJ(n):b?ef.current&&eJ(ef.current):(null==J?void 0:J.isConnected)&&eA({place:null!=(t=null==eu?void 0:eu.place)?t:d,offset:p,elementReference:J,tooltipReference:G.current,tooltipArrowReference:Y.current,strategy:m,middlewares:g,border:q,arrowSize:H}).then(e=>{eb.current&&eL(e)})},[es,J,F,M,d,null==eu?void 0:eu.place,p,m,_,null==eu?void 0:eu.position,b,H]);(0,r.useEffect)(()=>{var e,t;let n=new Set(eh);ex.forEach(e=>{(null==D?void 0:D(e))||n.add({current:e})});let r=document.querySelector(`[id='${c}']`);!r||(null==D?void 0:D(r))||n.add({current:r});let l=()=>{eI(!1)},a=eN(J),u=eN(G.current);eC.scroll&&(window.addEventListener("scroll",l),null==a||a.addEventListener("scroll",l),null==u||u.addEventListener("scroll",l));let d=null;eC.resize?window.addEventListener("resize",l):J&&G.current&&(d=function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=r,f=er(e),h=a||c?[...f?ee(f):[],...ee(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let m=f&&d?function(e,t){let n,r=null,l=P(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),a();let p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:g}=p;if(u||t(),!m||!g)return;let y=o(h),x=o(l.clientWidth-(f+m)),v={rootMargin:-y+"px "+-x+"px "+-o(l.clientHeight-(h+g))+"px "+-o(f)+"px",threshold:s(0,i(1,d))||1},b=!0;function w(t){let r=t[0].intersectionRatio;if(r!==d){if(!b)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||ey(p,e.getBoundingClientRect())||c(),b=!1}try{r=new IntersectionObserver(w,{...v,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,v)}r.observe(e)}(!0),a}(f,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),f&&!p&&y.observe(f),y.observe(t));let x=p?eo(e):null;return p&&function t(){let r=eo(e);x&&!ey(x,r)&&n(),x=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;
1h.forEach(e=>{a&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,p&&cancelAnimationFrame(l)}}(J,G.current,eK,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));let p=e=>{"Escape"===e.key&&eI(!1)};eC.escape&&window.addEventListener("keydown",p),eC.clickOutsideAnchor&&window.addEventListener("click",eq);let f=[],h=e=>!!((null==e?void 0:e.target)&&(null==J?void 0:J.contains(e.target))),m=e=>{es&&h(e)||eF(e)},g=e=>{es&&h(e)&&e$()},y=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],x=["click","dblclick","mousedown","mouseup"];Object.entries(eE).forEach(([e,t])=>{t&&(y.includes(e)?f.push({event:e,listener:eH}):x.includes(e)&&f.push({event:e,listener:m}))}),Object.entries(eT).forEach(([e,t])=>{t&&(y.includes(e)?f.push({event:e,listener:eW}):x.includes(e)&&f.push({event:e,listener:g}))}),b&&f.push({event:"pointermove",listener:eV});let v=()=>{eg.current=!0},w=()=>{eg.current=!1,e$()},S=k&&(eT.mouseout||eT.mouseleave);return S&&(null==(e=G.current)||e.addEventListener("mouseover",v),null==(t=G.current)||t.addEventListener("mouseout",w)),f.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null==(r=n.current)||r.addEventListener(e,t)})}),()=>{var e,t;eC.scroll&&(window.removeEventListener("scroll",l),null==a||a.removeEventListener("scroll",l),null==u||u.removeEventListener("scroll",l)),eC.resize?window.removeEventListener("resize",l):null==d||d(),eC.clickOutsideAnchor&&window.removeEventListener("click",eq),eC.escape&&window.removeEventListener("keydown",p),S&&(null==(e=G.current)||e.removeEventListener("mouseover",v),null==(t=G.current)||t.removeEventListener("mouseout",w)),f.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null==(r=n.current)||r.removeEventListener(e,t)})})}},[J,eK,ea,eh,ex,A,I,O,ew,x,v]),(0,r.useEffect)(()=>{var e,n;let r=null!=(n=null!=(e=null==eu?void 0:eu.anchorSelect)?e:u)?n:"";!r&&t&&(r=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);let i=new MutationObserver(e=>{let n=[],i=[];e.forEach(e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&i.push(e.target)),"childList"===e.type){if(J){let t=[...e.removedNodes].filter(e=>1===e.nodeType);if(r)try{i.push(...t.filter(e=>e.matches(r))),i.push(...t.flatMap(e=>[...e.querySelectorAll(r)]))}catch(e){}t.some(e=>{var t;return!!(null==(t=null==e?void 0:e.contains)?void 0:t.call(e,J))&&(ec(!1),eI(!1),V(null),ej(Q),ej(Z),!0)})}if(r)try{let t=[...e.addedNodes].filter(e=>1===e.nodeType);n.push(...t.filter(e=>e.matches(r))),n.push(...t.flatMap(e=>[...e.querySelectorAll(r)]))}catch(e){}}}),(n.length||i.length)&&ev(e=>[...e.filter(e=>!i.includes(e)),...n])});return i.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{i.disconnect()}},[t,u,null==eu?void 0:eu.anchorSelect,J]),(0,r.useEffect)(()=>{eK()},[eK]),(0,r.useEffect)(()=>{if(!(null==R?void 0:R.current))return()=>null;let e=new ResizeObserver(()=>{setTimeout(()=>eK())});return e.observe(R.current),()=>{e.disconnect()}},[F,null==R?void 0:R.current]),(0,r.useEffect)(()=>{var e;let t=document.querySelector(`[id='${c}']`),n=[...ex,t];J&&n.includes(J)||V(null!=(e=ex[0])?e:t)},[c,ex,J]),(0,r.useEffect)(()=>(z&&eI(!0),()=>{ej(Q),ej(Z)}),[]),(0,r.useEffect)(()=>{var e;let n=null!=(e=null==eu?void 0:eu.anchorSelect)?e:u;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{let e=Array.from(document.querySelectorAll(n));ev(e)}catch(e){ev([])}},[t,u,null==eu?void 0:eu.anchorSelect]),(0,r.useEffect)(()=>{Q.current&&(ej(Q),e_(x))},[x]);let eG=null!=(K=null==eu?void 0:eu.content)?K:F,eY=es&&Object.keys(en.tooltipStyles).length>0;return(0,r.useImperativeHandle)(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}ed(null!=e?e:null),(null==e?void 0:e.delay)?e_(e.delay):eI(!0)},close:e=>{(null==e?void 0:e.delay)?eD(e.delay):eI(!1)},activeAnchor:J,place:en.place,isOpen:!!(ea&&!w&&eG&&eY)})),ea&&!w&&eG?r.createElement(y,{id:t,role:W,className:ek("react-tooltip",eB.tooltip,ez.tooltip,ez[a],n,`react-tooltip__place-${en.place}`,eB[eY?"show":"closing"],eY?"react-tooltip__show":"react-tooltip__closing","fixed"===m&&eB.fixed,k&&eB.clickable),onTransitionEnd:e=>{ej(et),es||"opacity"!==e.propertyName||(ec(!1),ed(null),null==j||j())},style:{...M,...en.tooltipStyles,opacity:void 0!==U&&eY?U:void 0},ref:G},eG,r.createElement(y,{className:ek("react-tooltip-arrow",eB.arrow,ez.arrow,l,S&&eB.noArrow),style:{...en.tooltipArrowStyles,background:X?`linear-gradient(to right bottom, transparent 50%, ${X} 50%)`:void 0,"--rt-arrow-size":`${H}px`},ref:Y})):null},eJ=({content:e})=>r.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),eV=r.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:i,html:s,render:l,className:o,classNameArrow:a,variant:c="dark",place:u="top",offset:d=10,wrapper:p="div",children:f=null,events:h=["hover"],openOnClick:m=!1,positionStrategy:g="absolute",middlewares:y,delayShow:x=0,delayHide:v=0,float:b=!1,hidden:w=!1,noArrow:S=!1,clickable:k=!1,closeOnEsc:E=!1,closeOnScroll:T=!1,closeOnResize:C=!1,openEvents:A,closeEvents:I,globalCloseEvents:O,imperativeModeOnly:L=!1,style:M,position:_,isOpen:N,defaultIsOpen:P=!1,disableStyleInjection:j=!1,border:D,opacity:F,arrowColor:R,arrowSize:B,setIsOpen:z,afterShow:$,afterHide:J,disableTooltip:V,role:q="tooltip"},U)=>{let[X,H]=(0,r.useState)(i),[W,K]=(0,r.useState)(s),[G,Y]=(0,r.useState)(u),[Q,Z]=(0,r.useState)(c),[ee,et]=(0,r.useState)(d),[en,er]=(0,r.useState)(x),[ei,es]=(0,r.useState)(v),[el,eo]=(0,r.useState)(b),[ea,ec]=(0,r.useState)(w),[eu,ed]=(0,r.useState)(p),[ep,ef]=(0,r.useState)(h),[eh,em]=(0,r.useState)(g),[eg,ey]=(0,r.useState)(null),[ex,ev]=(0,r.useState)(null),eb=(0,r.useRef)(j),{anchorRefs:ew,activeAnchor:eS}=eR(e),eE=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!=(r=null==e?void 0:e.getAttribute(n))?r:null),t},{}),eT=e=>{let t={place:e=>{Y(null!=e?e:u)},content:e=>{H(null!=e?e:i)},html:e=>{K(null!=e?e:s)},variant:e=>{Z(null!=e?e:c)},offset:e=>{et(null===e?d:Number(e))},wrapper:e=>{ed(null!=e?e:p)},events:e=>{let t=null==e?void 0:e.split(" ");ef(null!=t?t:h)},"position-strategy":e=>{em(null!=e?e:g)},"delay-show":e=>{er(null===e?x:Number(e))},"delay-hide":e=>{es(null===e?v:Number(e))},float:e=>{eo(null===e?b:"true"===e)},hidden:e=>{ec(null===e?w:"true"===e)},"class-name":e=>{ey(e)}};
1Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null==(r=t[e])||r.call(t,n)})};(0,r.useEffect)(()=>{H(i)},[i]),(0,r.useEffect)(()=>{K(s)},[s]),(0,r.useEffect)(()=>{Y(u)},[u]),(0,r.useEffect)(()=>{Z(c)},[c]),(0,r.useEffect)(()=>{et(d)},[d]),(0,r.useEffect)(()=>{er(x)},[x]),(0,r.useEffect)(()=>{es(v)},[v]),(0,r.useEffect)(()=>{eo(b)},[b]),(0,r.useEffect)(()=>{ec(w)},[w]),(0,r.useEffect)(()=>{em(g)},[g]),(0,r.useEffect)(()=>{eb.current!==j&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[j]),(0,r.useEffect)(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===j,disableBase:j}}))},[]),(0,r.useEffect)(()=>{var r;let i=new Set(ew),s=n;if(!s&&e&&(s=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),s)try{document.querySelectorAll(s).forEach(e=>{i.add({current:e})})}catch(e){console.warn(`[react-tooltip] "${s}" is not a valid CSS selector`)}let l=document.querySelector(`[id='${t}']`);if(l&&i.add({current:l}),!i.size)return()=>null;let o=null!=(r=null!=ex?ex:l)?r:eS.current,a=new MutationObserver(e=>{e.forEach(e=>{var t;o&&"attributes"===e.type&&(null==(t=e.attributeName)?void 0:t.startsWith("data-tooltip-"))&&eT(eE(o))})});return o&&(eT(eE(o)),a.observe(o,{attributes:!0,childList:!1,subtree:!1})),()=>{a.disconnect()}},[ew,eS,ex,t,n]),(0,r.useEffect)(()=>{(null==M?void 0:M.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),D&&!eI("border",`${D}`)&&console.warn(`[react-tooltip] "${D}" is not a valid \`border\`.`),(null==M?void 0:M.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),F&&!eI("opacity",`${F}`)&&console.warn(`[react-tooltip] "${F}" is not a valid \`opacity\`.`)},[]);let eC=f,eA=(0,r.useRef)(null);if(l){let e=l({content:(null==ex?void 0:ex.getAttribute("data-tooltip-content"))||X||null,activeAnchor:ex});eC=e?r.createElement("div",{ref:eA,className:"react-tooltip-content-wrapper"},e):null}else X&&(eC=X);W&&(eC=r.createElement(eJ,{content:W}));let eO={forwardRef:U,id:e,anchorId:t,anchorSelect:n,className:ek(o,eg),classNameArrow:a,content:eC,contentWrapperRef:eA,place:G,variant:Q,offset:ee,wrapper:eu,events:ep,openOnClick:m,positionStrategy:eh,middlewares:y,delayShow:en,delayHide:ei,float:el,hidden:ea,noArrow:S,clickable:k,closeOnEsc:E,closeOnScroll:T,closeOnResize:C,openEvents:A,closeEvents:I,globalCloseEvents:O,imperativeModeOnly:L,style:M,position:_,isOpen:N,defaultIsOpen:P,border:D,opacity:F,arrowColor:R,arrowSize:B,setIsOpen:z,afterShow:$,afterHide:J,disableTooltip:V,activeAnchor:ex,setActiveAnchor:e=>ev(e),role:q};return r.createElement(e$,{...eO})});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||eC({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||eC({css:` 2.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}
2[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})})},4437:(e,t,n)=>{"use strict";let r,i,s,l,o,a,c;n.d(t,{l:()=>oC});var u={};n.r(u),n.d(u,{boolean:()=>eg,booleanish:()=>ey,commaOrSpaceSeparated:()=>eS,commaSeparated:()=>ew,number:()=>ev,overloadedBoolean:()=>ex,spaceSeparated:()=>eb});var d={};n.r(d),n.d(d,{attentionMarkers:()=>ru,contentInitial:()=>ri,disable:()=>rd,document:()=>rr,flow:()=>rl,flowInitial:()=>rs,insideSpan:()=>rc,string:()=>ro,text:()=>ra});var p={};n.r(p),n.d(p,{BOM:()=>lQ,DOCUMENT:()=>lZ,FLOW_END:()=>l0,SCALAR:()=>l1,createScalarToken:()=>l$,isCollection:()=>l2,isScalar:()=>l3,prettyToken:()=>l4,resolveAsScalar:()=>lz,setScalarValue:()=>lJ,stringify:()=>lU,tokenType:()=>l5,visit:()=>lY});var f={};function h(e){return e&&"object"==typeof e?"position"in e||"type"in e?g(e.position):"start"in e||"end"in e?g(e):"line"in e||"column"in e?m(e):"":""}function m(e){return y(e&&e.line)+":"+y(e&&e.column)}function g(e){return m(e&&e.start)+"-"+m(e&&e.end)}function y(e){return e&&"number"==typeof e?e:1}n.r(f),n.d(f,{Alias:()=>i5,CST:()=>p,Composer:()=>lB,Document:()=>lh,Lexer:()=>on,LineCounter:()=>or,Pair:()=>sC,Parser:()=>ou,Scalar:()=>i9,Schema:()=>lf,YAMLError:()=>lg,YAMLMap:()=>sL,YAMLParseError:()=>ly,YAMLSeq:()=>s_,YAMLWarning:()=>lx,isAlias:()=>iM,isCollection:()=>iF,isDocument:()=>i_,isMap:()=>iN,isNode:()=>iR,isPair:()=>iP,isScalar:()=>ij,isSeq:()=>iD,parse:()=>oh,parseAllDocuments:()=>op,parseDocument:()=>of,stringify:()=>om,visit:()=>iV,visitAsync:()=>iU});class x extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},s=!1;if(t&&(i="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?r=e:!i.cause&&e&&(s=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=l?l.line:void 0,this.name=h(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}x.prototype.file="",x.prototype.name="",x.prototype.reason="",x.prototype.message="",x.prototype.stack="",x.prototype.column=void 0,x.prototype.line=void 0,x.prototype.ancestors=void 0,x.prototype.cause=void 0,x.prototype.fatal=void 0,x.prototype.place=void 0,x.prototype.ruleId=void 0,x.prototype.source=void 0;let v={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');b(e);let r=0,i=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else i<0&&(n=!0,i=s+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let l=-1,o=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else l<0&&(n=!0,l=s+1),o>-1&&(e.codePointAt(s)===t.codePointAt(o--)?o<0&&(i=s):(o=-1,i=l));return r===i?i=l:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(b(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)},extname:function(e){let t;b(e);let n=e.length,r=-1,i=0,s=-1,l=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?s<0?s=n:1!==l&&(l=1):s>-1&&(l=-1)}return s<0||r<0||0===l||1===l&&s===r-1&&s===i+1?"":e.slice(s,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)b(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){b(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",s=0,l=-1,o=0,a=-1;for(;++a<=e.length;){if(a<e.length)n=e.codePointAt(a);else if(47===n)break;else n=47;if(47===n){if(l===a-1||1===o);else if(l!==a-1&&2===o){if(i.length<2||2!==s||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="",s=0):s=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=a,o=0;continue}}else if(i.length>0){i="",s=0,l=a,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+e.slice(l+1,a):i=e.slice(l+1,a),s=a-l-1;l=a,o=0}else 46===n&&o>-1?o++:o=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function b(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let w={cwd:function(){return"/"}};function S(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let k=["history","path","basename","stem","extname","dirname"];class E{constructor(e){let t,n;t=e?S(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?"":w.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<k.length;){let e=k[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)k.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?v.basename(this.path):void 0}
2set basename(e){C(e,"basename"),T(e,"basename"),this.path=v.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?v.dirname(this.path):void 0}set dirname(e){A(this.basename,"dirname"),this.path=v.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?v.extname(this.path):void 0}set extname(e){if(T(e,"extname"),A(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=v.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){S(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!S(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)),C(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?v.basename(this.path,this.extname):void 0}set stem(e){C(e,"stem"),T(e,"stem"),this.path=v.join(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 r=new x(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function T(e,t){if(e&&e.includes(v.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+v.sep+"`")}function C(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function A(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let I=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"].map(function(e){return"."+e}),O=/[$_\p{ID_Start}]/u,L=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,M=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,N=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,P={};function j(e){return!!e&&O.test(String.fromCodePoint(e))}function D(e,t){let n=(t||P).jsx?M:L;return!!e&&n.test(String.fromCodePoint(e))}function F(e,t){return((t||P).jsx?N:_).test(e)}class R{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,n,r){e&&t&&(null!=n?e[t][n]=r:e[t]=r)}remove(e,t,n){e&&t&&(null!=n?e[t].splice(n,1):delete e[t])}}class B extends R{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,n,r){if(e){let i;if(this.enter){let i=this.should_skip,s=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let o=this.should_skip,a=this.should_remove;if(this.should_skip=i,this.should_remove=s,this.replacement=l,o)return e;if(a)return null}for(i in e){let t=e[i];if(t&&"object"==typeof t)if(Array.isArray(t))for(let n=0;n<t.length;n+=1){let r=t[n];z(r)&&!this.visit(r,e,i,n)&&n--}else z(t)&&this.visit(t,e,i,null)}if(this.leave){let i=this.replacement,s=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let l=this.should_remove;if(this.replacement=i,this.should_remove=s,l)return null}}return e}}function z(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type}function $(e,{enter:t,leave:n}){return new B(t,n).visit(e,null)}let J=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function V(e){let t;if("JSXMemberExpression"===e.type){let n=V(e.property);t={type:"MemberExpression",object:V(e.object),property:n,computed:"Literal"===n.type,optional:!1}}else t="JSXNamespacedName"===e.type?{type:"Literal",value:e.namespace.name+":"+e.name.name}:F(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return U(e,t),t}function q(e){let t,n=e.split("."),r=-1;for(;++r<n.length;){let e=F(n[r])?{type:"Identifier",name:n[r]}:{type:"Literal",value:n[r]};t=t?{type:"MemberExpression",object:t,property:e,computed:!!(r&&"Literal"===e.type),optional:!1}:e}return t}function U(e,t){let n=["start","end","loc","range","comments"],r=-1;for(;++r<n.length;){let i=n[r];i in e&&(t[i]=e[i])}}function X(e){return function(t,n){!function(e,t){let n=t||{},r="automatic"===n.runtime,i={},s={};$(e,{enter(e){if("Program"===e.type){let t=e.comments||[],n=-1;for(;++n<t.length;){J.lastIndex=0;let e=J.exec(t[n].value);for(;e;)i[e[1]]=e[2],e=J.exec(t[n].value)}if(i.jsxRuntime)if("automatic"===i.jsxRuntime){if(r=!0,i.jsx)throw Error("Unexpected `@jsx` pragma w/ automatic runtime");if(i.jsxFrag)throw Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if("classic"===i.jsxRuntime){if(r=!1,i.jsxImportSource)throw Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw Error("Unexpected `jsxRuntime` `"+i.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(e){let t,l,o;if("Program"===e.type){let t=[];if(s.fragment&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),s.jsx&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),s.jsxs&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),s.jsxDEV&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),t.length>0){let r=0;for(;r<e.body.length;){let t=e.body[r];if("directive"in t&&t.directive)r++;else break}e.body.splice(r,0,{type:"ImportDeclaration",specifiers:t,source:{type:"Literal",value:(i.jsxImportSource||n.importSource||"react")+(n.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if("JSXElement"!==e.type&&"JSXFragment"!==e.type)return;let a=[],c=-1;for(;++c<e.children.length;){let t=e.children[c];if("JSXExpressionContainer"===t.type)"JSXEmptyExpression"!==t.expression.type&&a.push(t.expression);else if("JSXText"===t.type){let e=t.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,"\n").replace(/\n+/g,"\n").replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");
2if(e){let n={type:"Literal",value:e};U(t,n),a.push(n)}}else"JSXElement"!==t.type&&"JSXFragment"!==t.type&&t.type,a.push(t)}let u=[],d=[];if("JSXElement"===e.type){let n;if("Identifier"===(t=V(e.openingElement.name)).type&&/^[a-z]/.test(t.name)){let e={type:"Literal",value:t.name};U(t,e),t=e}let i=e.openingElement.attributes,s=-1;for(;++s<i.length;){let e=i[s];if("JSXSpreadAttribute"===e.type)"ObjectExpression"===e.argument.type?u.push(...e.argument.properties):u.push({type:"SpreadElement",argument:e.argument}),n=!0;else{let t=function(e){let t;if(e.value)if("JSXExpressionContainer"===e.value.type){let n=e.value.expression;n.type,t=n}else{let n=e.value;"JSXElement"!==n.type&&n.type,t=n,delete t.raw}else t={type:"Literal",value:!0};let n={type:"Property",key:V(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return U(e,n),n}(e);if(r&&"Identifier"===t.key.type&&"key"===t.key.name){if(n)throw Error("Expected `key` to come before any spread expressions");let e=t.value;"AssignmentPattern"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&e.type,l=e}else u.push(t)}}}else r?(s.fragment=!0,t={type:"Identifier",name:"_Fragment"}):t=q(i.jsxFrag||n.pragmaFrag||"React.Fragment");if(r?a.length>0&&u.push({type:"Property",key:{type:"Identifier",name:"children"},value:a.length>1?{type:"ArrayExpression",elements:a}:a[0],kind:"init",method:!1,shorthand:!1,computed:!1}):d=a,r){d.push({type:"ObjectExpression",properties:u}),l?d.push(l):n.development&&d.push({type:"Identifier",name:"undefined"});let t=a.length>1;if(n.development){s.jsxDEV=!0,o={type:"Identifier",name:"_jsxDEV"},d.push({type:"Literal",value:t});let r={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:n.filePath||"<source.js>"}}]};e.loc&&r.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:e.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:e.loc.start.column+1}}),d.push(r,{type:"ThisExpression"})}else t?(s.jsxs=!0,o={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,o={type:"Identifier",name:"_jsx"})}else u.length>0?d.unshift({type:"ObjectExpression",properties:u}):d.length>0&&d.unshift({type:"Literal",value:null}),o=q(i.jsx||n.pragma||"React.createElement");d.unshift(t);let p={type:"CallExpression",callee:o,arguments:d,optional:!1};U(e,p),this.replace(p)}})}(t,{filePath:n.history[0],...e})}}var H=n(7367);let W={JSXAttribute:function(e,t){this[e.name.type](e.name,t),null!==e.value&&void 0!==e.value&&(t.write("="),"Literal"===e.value.type?t.write('"'+K(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))},JSXClosingElement:function(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")},JSXClosingFragment:function(e,t){t.write("</>",e)},JSXElement:function(e,t){let n=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++n<e.children.length;){let r=e.children[n];if("JSXSpreadChild"===r.type)throw Error("JSX spread children are not supported");this[r.type](r,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)},JSXEmptyExpression:function(){},JSXExpressionContainer:function(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")},JSXFragment:function(e,t){let n=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++n<e.children.length;){let r=e.children[n];if("JSXSpreadChild"===r.type)throw Error("JSX spread children are not supported");this[r.type](r,t)}this[e.closingFragment.type](e.closingFragment,t)},JSXIdentifier:function(e,t){t.write(e.name,e)},JSXMemberExpression:function(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)},JSXNamespacedName:function(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)},JSXOpeningElement:function(e,t){let n=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++n<e.attributes.length;)t.write(" "),this[e.attributes[n].type](e.attributes[n],t);t.write(e.selfClosing?" />":">")},JSXOpeningFragment:function(e,t){t.write("<>",e)},JSXSpreadAttribute:function(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")},JSXText:function(e,t){t.write(K(e.value).replace(/[<>{}]/g,G),e)}};function K(e){return e.replace(/&(?=[#a-z])/gi,"&")}function G(e){return"<"===e?"<":">"===e?">":"{"===e?"{":"}"}function Y(){let e=this.data(),t=e.settings||(e.settings={}),n=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(H()),Object.assign(n,W)}let{stringify:Q}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");let Z={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},ee={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal
2:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function et(e,t){let{generator:n}=e;if(e.write("("),null!=t&&t.length>0){n[t[0].type](t[0],e);let{length:r}=t;for(let i=1;i<r;i++){let r=t[i];e.write(", "),n[r.type](r,e)}}e.write(")")}function en(e,t,n,r){let i=e.expressionsPrecedence[t.type];if(17===i)return!0;let s=e.expressionsPrecedence[n.type];return i!==s?!r&&15===i&&14===s&&"**"===n.operator||i<s:(13===i||14===i)&&("**"===t.operator&&"**"===n.operator?!r:13===i&&13===s&&("??"===t.operator||"??"===n.operator)||(r?Z[t.operator]<=Z[n.operator]:Z[t.operator]<Z[n.operator]))}function er(e,t,n,r){let{generator:i}=e;en(e,t,n,r)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function ei(e,t,n,r){let{length:i}=t;for(let s=0;s<i;s++){let i=t[s];e.write(n),"L"===i.type[0]?e.write("// "+i.value.trim()+"\n",i):(e.write("/*"),function(e,t,n,r){let i=t.split("\n"),s=i.length-1;if(e.write(i[0].trim()),s>0){e.write(r);for(let t=1;t<s;t++)e.write(n+i[t].trim()+r);e.write(n+i[s].trim())}}(e,i.value,n,r),e.write("*/"+r))}}function es(e,t){let{generator:n}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:i}=r;if(i>0){n.VariableDeclarator(r[0],e);for(let t=1;t<i;t++)e.write(", "),n.VariableDeclarator(r[t],e)}}let el={Program(e,t){let n=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:i}=t;i&&null!=e.comments&&ei(t,e.comments,n,r);let s=e.body,{length:l}=s;for(let e=0;e<l;e++){let l=s[e];i&&null!=l.comments&&ei(t,l.comments,n,r),t.write(n),this[l.type](l,t),t.write(r)}i&&null!=e.trailingComments&&ei(t,e.trailingComments,n,r)},BlockStatement:a=function(e,t){let n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t,s=n+t.indent;t.write("{");let l=e.body;if(null!=l&&l.length>0){t.write(r),i&&null!=e.comments&&ei(t,e.comments,s,r);let{length:o}=l;for(let e=0;e<o;e++){let n=l[e];i&&null!=n.comments&&ei(t,n.comments,s,r),t.write(s),this[n.type](n,t),t.write(r)}t.write(n)}else i&&null!=e.comments&&(t.write(r),ei(t,e.comments,s,r),t.write(n));i&&null!=e.trailingComments&&ei(t,e.trailingComments,s,r),t.write("}"),t.indentLevel--},ClassBody:a,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let n=t.expressionsPrecedence[e.expression.type];17===n||3===n&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t;t.indentLevel++;let s=n+t.indent,l=s+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:o}=e,{length:a}=o;for(let e=0;e<a;e++){let n=o[e];i&&null!=n.comments&&ei(t,n.comments,s,r),n.test?(t.write(s+"case "),this[n.test.type](n.test,t),t.write(":"+r)):t.write(s+"default:"+r);let{consequent:a}=n,{length:c}=a;for(let e=0;e<c;e++){let n=a[e];i&&null!=n.comments&&ei(t,n.comments,l,r),t.write(l),this[n.type](n,t),t.write(r)}}t.indentLevel-=2,t.write(n+"}")}
2,ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:n}=e;null==n.param?t.write(" catch "):(t.write(" catch ("),this[n.param.type](n.param,t),t.write(") ")),this[n.body.type](n.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),null!=e.init){let{init:n}=e;"V"===n.type[0]?es(t,n):this[n.type](n,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:r=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:n}=e;"V"===n.type[0]?es(t,n):this[n.type](n,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:r,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:i=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),et(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:i,VariableDeclaration(e,t){es(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:n}=e,{type:r}=n,i=t.expressionsPrecedence[r];("C"!==r[0]||"l"!==r[1]||"E"!==r[5])&&(17===i||i<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:n,attributes:r}=e,{length:i}=n,s=0;if(i>0){for(;s<i;){s>0&&t.write(", ");let e=n[s],r=e.type[6];if("D"===r)t.write(e.local.name,e),s++;else if("N"===r)t.write("* as "+e.local.name,e),s++;else break}if(s<i){for(t.write("{");;){let e=n[s],{name:r}=e.imported;if(t.write(r,e),r!==e.local.name&&t.write(" as "+e.local.name),++s<i)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),r&&r.length>0){t.write(" with { ");for(let e=0;e<r.length;e++)this.ImportAttribute(r[e],t),e<r.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:n}=e,{length:r}=n;if(r>0)for(let e=0;;){let i=n[e],{name:s}=i.local;if(t.write(s,i),s!==i.exported.name&&t.write(" as "+i.exported.name),++e<r)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let n=0;n<e.attributes.length;n++)this.ImportAttribute(e.attributes[n],t),n<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let n=0;n<e.attributes.length;n++)this.ImportAttribute(e.attributes[n],t),n<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let n=e.kind[0];("g"===n||"s"===n)&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),et(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:n}=e;
2null!=n&&(1===n.length&&"I"===n[0].type[0]?t.write(n[0].name,n[0]):et(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:s=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:s,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),er(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:n,expressions:r}=e;t.write("`");let{length:i}=r;for(let e=0;e<i;e++){let i=r[e],s=n[e];t.write(s.value.raw,s),t.write("${"),this[i.type](i,t),t.write("}")}let s=n[n.length-1];t.write(s.value.raw,s),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){er(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:o=function(e,t){if(t.write("["),e.elements.length>0){let{elements:n}=e,{length:r}=n;for(let e=0;;){let i=n[e];if(null!=i&&this[i.type](i,t),++e<r)t.write(", ");else{null==i&&t.write(", ");break}}}t.write("]")},ArrayPattern:o,ObjectExpression(e,t){let n=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:i}=t,s=n+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),i&&null!=e.comments&&ei(t,e.comments,s,r);let l=","+r,{properties:o}=e,{length:a}=o;for(let e=0;;){let n=o[e];if(i&&null!=n.comments&&ei(t,n.comments,s,r),t.write(s),this[n.type](n,t),++e<a)t.write(l);else break}t.write(r),i&&null!=e.trailingComments&&ei(t,e.trailingComments,s,r),t.write(n+"}")}else i?null!=e.comments?(t.write(r),ei(t,e.comments,s,r),null!=e.trailingComments&&ei(t,e.trailingComments,s,r),t.write(n+"}")):null!=e.trailingComments?(t.write(r),ei(t,e.trailingComments,s,r),t.write(n+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),null==e.value){"F"!==e.key.type[0]&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:n}=e,{length:r}=n;for(let e=0;;)if(this[n[e].type](n[e],t),++e<r)t.write(", ");else break}t.write("}")},SequenceExpression(e,t){et(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:n,argument:r,argument:{type:i}}=e;t.write(n);let s=en(t,r,e);!s&&(n.length>1||"U"===i[0]&&("n"===i[1]||"p"===i[1])&&r.prefix&&r.operator[0]===n&&("+"===n||"-"===n))&&t.write(" "),s?(t.write(n.length>1?" (":"("),this[i](r,t),t.write(")")):this[i](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:l=function(e,t){let n="in"===e.operator;n&&t.write("("),er(t,e.left,e,!1),t.write(" "+e.operator+" "),er(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:l,ConditionalExpression(e,t){let{test:n}=e,r=t.expressionsPrecedence[n.type];17===r||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let n=t.expressionsPrecedence[e.callee.type];17===n||n<t.expressionsPrecedence.CallExpression||function(e){let t=e;for(;null!=t;){let{type:e}=t;if("C"===e[0]&&"a"===e[1])return!0;if("M"!==e[0]||"e"!==e[1]||"m"!==e[2])return!1;t=t.object}}(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),et(t,e.arguments)},CallExpression(e,t){let n=t.expressionsPrecedence[e.callee.type];17===n||n<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),et(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let n=t.expressionsPrecedence[e.object.type];
217===n||n<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(Q(e.value),e)},RegExpLiteral(e,t){let{regex:n}=e;t.write(`/${n.pattern}/${n.flags}`,e)}},eo={};class ea{constructor(e){let t=null==e?eo:e;this.output="",null!=t.output?(this.output=t.output,this.write=this.writeToStream):this.output="",this.generator=null!=t.generator?t.generator:el,this.expressionsPrecedence=null!=t.expressionsPrecedence?t.expressionsPrecedence:ee,this.indent=null!=t.indent?t.indent:" ",this.lineEnd=null!=t.lineEnd?t.lineEnd:"\n",this.indentLevel=null!=t.startingIndentLevel?t.startingIndentLevel:0,this.writeComments=!!t.comments&&t.comments,null!=t.sourceMap&&(this.write=null==t.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=t.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:t.sourceMap.file||t.sourceMap._file})}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e,this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e),this.map(e,t)}map(e,t){if(null!=t){let{type:n}=t;if("L"===n[0]&&"n"===n[2]){this.column=0,this.line++;return}if(null!=t.loc){let{mapping:e}=this;e.original=t.loc.start,e.name=t.name,this.sourceMap.addMapping(e)}if("T"===n[0]&&"E"===n[8]||"L"===n[0]&&"i"===n[1]&&"string"==typeof t.value){let{length:t}=e,{column:n,line:r}=this;for(let i=0;i<t;i++)"\n"===e[i]?(n=0,r++):n++;this.column=n,this.line=r;return}}let{length:n}=e,{lineEnd:r}=this;n>0&&(this.lineEndSize>0&&(1===r.length?e[n-1]===r:e.endsWith(r))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}}let ec={};function eu(e){let t=this;this.compiler=function(n,r){let i={...t.data("settings"),...e},s=function(e,t){let{SourceMapGenerator:n,filePath:r,handlers:i}=t||ec,s=n?new n({file:r||"<unknown>.js"}):void 0;return{value:function(e,t){let n=new ea(t);return n.generator[e.type](e,n),n.output}(e,{comments:!0,generator:{...el,...i},sourceMap:s||void 0}),map:s?s.toJSON():void 0}}(n,{SourceMapGenerator:i.SourceMapGenerator,filePath:r.path||"unknown.js",handlers:i.handlers});return r.map=s.map,s.value}}class ed{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function ep(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new ed(n,r,t)}function ef(e){return e.toLowerCase()}ed.prototype.normal={},ed.prototype.property={},ed.prototype.space=void 0;class eh{constructor(e,t){this.attribute=t,this.property=e}}eh.prototype.attribute="",eh.prototype.booleanish=!1,eh.prototype.boolean=!1,eh.prototype.commaOrSpaceSeparated=!1,eh.prototype.commaSeparated=!1,eh.prototype.defined=!1,eh.prototype.mustUseProperty=!1,eh.prototype.number=!1,eh.prototype.overloadedBoolean=!1,eh.prototype.property="",eh.prototype.spaceSeparated=!1,eh.prototype.space=void 0;let em=0,eg=ek(),ey=ek(),ex=ek(),ev=ek(),eb=ek(),ew=ek(),eS=ek();function ek(){return 2**++em}let eE=Object.keys(u);class eT extends eh{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<eE.length;){let e=eE[i];!function(e,t,n){n&&(e[t]=n)}(this,eE[i],(n&u[e])===u[e])}}}function eC(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let s=new eT(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ef(r)]=r,n[ef(s.attribute)]=r}return new ed(t,n,e.space)}eT.prototype.defined=!0;let eA=eC({properties:{ariaActiveDescendant:null,ariaAtomic:ey,ariaAutoComplete:null,ariaBusy:ey,ariaChecked:ey,ariaColCount:ev,ariaColIndex:ev,ariaColSpan:ev,ariaControl
2s:eb,ariaCurrent:null,ariaDescribedBy:eb,ariaDetails:null,ariaDisabled:ey,ariaDropEffect:eb,ariaErrorMessage:null,ariaExpanded:ey,ariaFlowTo:eb,ariaGrabbed:ey,ariaHasPopup:null,ariaHidden:ey,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eb,ariaLevel:ev,ariaLive:null,ariaModal:ey,ariaMultiLine:ey,ariaMultiSelectable:ey,ariaOrientation:null,ariaOwns:eb,ariaPlaceholder:null,ariaPosInSet:ev,ariaPressed:ey,ariaReadOnly:ey,ariaRelevant:null,ariaRequired:ey,ariaRoleDescription:eb,ariaRowCount:ev,ariaRowIndex:ev,ariaRowSpan:ev,ariaSelected:ey,ariaSetSize:ev,ariaSort:null,ariaValueMax:ev,ariaValueMin:ev,ariaValueNow:ev,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eI(e,t){return t in e?e[t]:t}function eO(e,t){return eI(e,t.toLowerCase())}let eL=eC({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ew,acceptCharset:eb,accessKey:eb,action:null,allow:null,allowFullScreen:eg,allowPaymentRequest:eg,allowUserMedia:eg,alt:null,as:null,async:eg,autoCapitalize:null,autoComplete:eb,autoFocus:eg,autoPlay:eg,blocking:eb,capture:null,charSet:null,checked:eg,cite:null,className:eb,cols:ev,colSpan:null,content:null,contentEditable:ey,controls:eg,controlsList:eb,coords:ev|ew,crossOrigin:null,data:null,dateTime:null,decoding:null,default:eg,defer:eg,dir:null,dirName:null,disabled:eg,download:ex,draggable:ey,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:eg,formTarget:null,headers:eb,height:ev,hidden:ex,high:ev,href:null,hrefLang:null,htmlFor:eb,httpEquiv:eb,id:null,imageSizes:null,imageSrcSet:null,inert:eg,inputMode:null,integrity:null,is:null,isMap:eg,itemId:null,itemProp:eb,itemRef:eb,itemScope:eg,itemType:eb,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:eg,low:ev,manifest:null,max:null,maxLength:ev,media:null,method:null,min:null,minLength:ev,multiple:eg,muted:eg,name:null,nonce:null,noModule:eg,noValidate:eg,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:eg,optimum:ev,pattern:null,ping:eb,placeholder:null,playsInline:eg,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:eg,referrerPolicy:null,rel:eb,required:eg,reversed:eg,rows:ev,rowSpan:ev,sandbox:eb,scope:null,scoped:eg,seamless:eg,selected:eg,shadowRootClonable:eg,shadowRootDelegatesFocus:eg,shadowRootMode:null,shape:null,size:ev,sizes:null,slot:null,span:ev,spellCheck:ey,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ev,step:null,style:null,tabIndex:ev,target:null,title:null,translate:null,type:null,typeMustMatch:eg,useMap:null,value:ey,width:ev,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eb,axis:null,background:null,bgColor:null,border:ev,borderColor:null,bottomMargin:ev,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:eg,declare:eg,event:null,face:null,frame:null,frameBorder:null,hSpace:ev,leftMargin:ev,link:null,longDesc:null,lowSrc:null,marginHeight:ev,marginWidth:ev,noResize:eg,noHref:eg,noShade:eg,noWrap:eg,object:null,profile:null,prompt:null,rev:null,rightMargin:ev,rules:null,scheme:null,scrolling:ey,standby:null,summary:null,text:null,topMargin:ev,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ev,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:eg,disableRemotePlayback:eg,prefix:null,property:null,results:ev,security:null,unselectable:null},space:"html",transform:eO}),eM=eC({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",colorRen
2dering:"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"},properties:{about:eS,accentHeight:ev,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ev,amplitude:ev,arabicForm:null,ascent:ev,attributeName:null,attributeType:null,azimuth:ev,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ev,by:null,calcMode:null,capHeight:ev,className:eb,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
2dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ev,diffuseConstant:ev,direction:null,display:null,dur:null,divisor:ev,dominantBaseline:null,download:eg,dx:null,dy:null,edgeMode:null,editable:null,elevation:ev,enableBackground:null,end:null,event:null,exponent:ev,externalResourcesRequired:null,fill:null,fillOpacity:ev,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:ew,g2:ew,glyphName:ew,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ev,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ev,horizOriginX:ev,horizOriginY:ev,id:null,ideographic:ev,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ev,k:ev,k1:ev,k2:ev,k3:ev,k4:ev,kernelMatrix:eS,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ev,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:ev,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:ev,overlineThickness:ev,paintOrder:null,panose1:null,path:null,pathLength:ev,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eb,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ev,pointsAtY:ev,pointsAtZ:ev,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:eS,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:eS,rev:eS,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:eS,requiredFeatures:eS,requiredFonts:eS,requiredFormats:eS,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:ev,specularExponent:ev,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ev,strikethroughThickness:ev,string:null,stroke:null,strokeDashArray:eS,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ev,strokeOpacity:ev,strokeWidth:null,style:null,surfaceScale:ev,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:eS,tabIndex:ev,tableValues:null,target:null,targetX:ev,targetY:ev,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:eS,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ev,underlineThickness:ev,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ev,values:null,vAlphabetic:ev,vMathematical:ev,vectorEffect:null,vHanging:ev,vIdeographic:ev,version:null,vertAdvY:ev,vertOriginX:ev,vertOriginY:ev,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ev,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eI}),e_=eC({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
2"xlink:"+t.slice(5).toLowerCase()}),eN=eC({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:eO}),eP=eC({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ej=ep([eA,eL,e_,eN,eP],"html"),eD=ep([eA,eM,e_,eN,eP],"svg"),eF=eB("end"),eR=eB("start");function eB(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 ez(e){let t=eR(e),n=eF(e);if(t&&n)return{start:t,end:n}}let e$={}.hasOwnProperty,eJ=/[A-Z]/g,eV=/-[a-z]/g,eq=/^data[-\w.:]+$/i;function eU(e){return"-"+e.toLowerCase()}function eX(e){return e.charAt(1).toUpperCase()}let eH={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 eW=n(3724);let eK={}.hasOwnProperty,eG=/[A-Z]/g,eY=new Set(["td","th"]);function eQ(e){let t=e.replace(eG,eZ);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function eZ(e){return"-"+e.toLowerCase()}let e0={}.hasOwnProperty,e1=[];function e2(e,t){let n=t?[...t].sort(e4):e1;n.length>0&&function e(t,n){let r;if(n.index===n.comments.length)return;let i=[],s=[];for(r in t)if(e0.call(t,r)){let e=t[r];if(e&&"object"==typeof e&&"comments"!==r)if(Array.isArray(e)){let t=-1;for(;++t<e.length;)e[t]&&"string"==typeof e[t].type&&i.push(e[t])}else"string"==typeof e.type&&i.push(e)}i.sort(e4),s.push(...e3(n,t,!1,{leading:!0,trailing:!1}));let l=-1;for(;++l<i.length;)e(i[l],n);s.push(...e3(n,t,!0,{leading:!1,trailing:i.length>0})),s.length>0&&(t.comments=s)}(e,{comments:n,index:0})}function e3(e,t,n,r){let i=[];for(;e.comments[e.index]&&1>e4(e.comments[e.index],t,n);)i.push(Object.assign({},e.comments[e.index++],r));return i}function e4(e,t,n){let r=n?"end":"start";return e.range&&t.range?e.range[0]-t.range[+!!n]:e.loc&&e.loc.start&&t.loc&&t.loc[r]?e.loc.start.line-t.loc[r].line||e.loc.start.column-t.loc[r].column:"start"in e&&r in t?e.start-t[r]:Number.NaN}function e5(e,t){let n,r=e.data&&e.data.estree,i=r&&r.comments||[];r&&(t.comments.push(...i),e2(r,r.comments),n=r.body[0]&&"ExpressionStatement"===r.body[0].type&&r.body[0].expression||void 0),n||(n={type:"JSXEmptyExpression"},t.patch(e,n));let s={type:"JSXExpressionContainer",expression:n};return t.inherit(e,s),s}function e6(e,t){let n=t.schema,r=n,i=e.attributes||[],s=-1;e.name&&"html"===n.space&&"svg"===e.name.toLowerCase()&&(t.schema=eD);let l=t.all(e),o=[];for(;++s<i.length;){let e,n=i[s],r=n.value;if("mdxJsxAttribute"===n.type){if(null==r)e=null;else if("object"==typeof r){let n,i=r.data&&r.data.estree,s=i&&i.comments||[];i&&(t.comments.push(...s),e2(i,i.comments),n=i.body[0]&&"ExpressionStatement"===i.body[0].type&&i.body[0].expression||void 0),e={type:"JSXExpressionContainer",expression:n||{type:"JSXEmptyExpression"}},t.inherit(r,e)}else e={type:"Literal",value:String(r)};let i={type:"JSXAttribute",name:t.createJsxAttributeName(n.name),value:e};t.inherit(n,i),o.push(i)}else{let e,r=n.data&&n.data.estree,i=r&&r.comments||[];r&&(t.comments.push(...i),e2(r,r.comments),e=r.body[0]&&"ExpressionStatement"===r.body[0].type&&r.body[0].expression&&"ObjectExpression"===r.body[0].expression.type&&r.body[0].expression.properties&&r.body[0].expression.properties[0]&&"SpreadElement"===r.body[0].expression.properties[0].type&&r.body[0].expression.properties[0].argument||void 0);let s={type:"JSXSpreadAttribute",argument:e||{type:"ObjectExpression",properties:[]}};t.inherit(n,s),o.push(s)}}t.schema=n;let a=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:t.createJsxElementName(e.name),selfClosing:0===l.length},closingElement:l.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}
2:null,children:l}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:l};return t.inherit(e,a),a}let e9=/[ \t\n\f\r]/g;function e7(e){return""===e.replace(e9,"")}let e8={comment:function(e,t){let n={type:"Block",value:e.value};t.inherit(e,n),t.comments.push(n);let r={type:"JSXEmptyExpression",comments:[Object.assign({},n,{leading:!1,trailing:!0})]};t.patch(e,r);let i={type:"JSXExpressionContainer",expression:r};return t.patch(e,i),i},doctype:function(){},element:function(e,t){let n,r,i,s=t.schema,l=s,o=e.properties||{};"html"===s.space&&"svg"===e.tagName.toLowerCase()&&(t.schema=l=eD);let a=t.all(e),c=[];for(n in o)if(eK.call(o,n)){let s,a=o[n],u=function(e,t){let n=ef(t),r=t,i=eh;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eq.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(eV,eX);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!eV.test(e)){let n=e.replace(eJ,eU);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=eT}return new i(r,t)}(l,n);if(null==a||!1===a||"number"==typeof a&&Number.isNaN(a)||!a&&u.boolean)continue;if(n="react"===t.elementAttributeNameCase&&u.space?eH[u.property]||u.property:u.attribute,Array.isArray(a)&&(a=u.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):a.join(" ").trim()),"style"===n){let n,r="object"==typeof a?a:function(e,t){try{return eW(e,{reactCompat:!0})}catch(e){throw Error("Could not parse `style` attribute on `"+t+"`",{cause:e})}}(String(a),e.tagName);"css"===t.stylePropertyNameCase&&(r=function(e){let t,n={};for(t in e)eK.call(e,t)&&(n[eQ(t)]=e[t]);return n}(r));let l=[];for(n in r)eK.call(r,n)&&l.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:F(n)?{type:"Identifier",name:n}:{type:"Literal",value:n},value:{type:"Literal",value:String(r[n])},kind:"init"});i=l,s={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:l}}}else if(!0===a)s=null;else if(t.tableCellAlignToStyle&&eY.has(e.tagName)&&"align"===n){r=String(a);continue}else s={type:"Literal",value:String(a)};F(n,{jsx:!0})?c.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:n},value:s}):c.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(n)},value:s||{type:"Literal",value:!0},kind:"init"}]}})}if(void 0!==r){i||(i=[],c.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:i}}}));let e="css"===t.stylePropertyNameCase?eQ("textAlign"):"textAlign";i.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:F(e)?{type:"Identifier",name:e}:{type:"Literal",value:e},value:{type:"Literal",value:r},kind:"init"})}t.schema=s;let u={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:c,name:t.createJsxElementName(e.tagName),selfClosing:0===a.length},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:a};return t.inherit(e,u),u},mdxFlowExpression:e5,mdxJsxFlowElement:e6,mdxJsxTextElement:e6,mdxTextExpression:e5,mdxjsEsm:function(e,t){let n=e.data&&e.data.estree,r=n&&n.comments||[];n&&(t.comments.push(...r),e2(n,r),t.esm.push(...n.body))},root:function(e,t){let n,r=t.all(e),i=[],s=-1;for(;++s<r.length;){var l;let e=r[s];"JSXExpressionContainer"===e.type&&"Literal"===e.expression.type&&("object"==typeof(l=String(e.expression.value))?"text"===l.type&&e7(l.value):e7(l))?n&&n.push(e):(n&&i.push(...n),i.push(e),n=[])}let o={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:i};return t.inherit(e,o),o},text:function(e,t){let n=String(e.value||"");if(n){let r={type:"Literal",value:n};t.inherit(e,r);let i={type:"JSXExpressionContainer",expression:r};return t.patch(e,i),i}}},te={}.hasOwnProperty,tt=new Set(["table","tbody","thead","tfoot","tr"]);function tn(e){throw Error("Cannot handle value `"+e+"`, expected node")}function tr(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function ti(e){let t=e.children||[],n=-1,r=[],i="html"===this.schema.space&&"element"===e.type&&tt.has(e.tagName.toLowerCase());for(;++n<t.length;){let e=t[n];if(i&&"text"===e.type&&"\n"===e.value)continue;let s=this.handle(e);Array.isArray(s)?r.push(...s):s&&r.push(s)}return r}function ts(e,t){let n,r,i=e.data;if(tl(e,t),i){for(r in i)te.call(i,r)&&"estree"!==r&&(n||(n={}),n[r]=i[r]);n&&(t.data=n)}}function tl(e,t){let n=ez(e);n&&void 0!==n.start.offset&&void 0!==n.end.offset&&(t.start=n.start.offset,t.end=n.end.offset,t.loc={start:{line:n.start.line,column:n.start.column-1},end:{line:n.end.line,column:n.end.column-1}},t.range=[n.start.offset,n.end.offset])}function to(e){let t=tc(e);if("JSXMemberExpression"===t.type)throw Error("Member expressions in attribute names are not supported");return t}function ta(e){return tc(e)}function tc(e){if(e.includes(".")){let t=e.split("."),n=t.shift(),r={type:"JSXIdentifier",name:n};for(;n=t.shift();)r={type:"JSXMemberExpression",object:r,property:{type:"JSXIdentifier",name:n}};return r}if(e.includes(":")){let t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function tu(e){return function(t){return function(e,t){let n=function(e){let t=function(e,t){let n=t||{};
2function r(t,...n){let i=r.invalid,s=r.handlers;if(t&&e$.call(t,e)){let n=String(t[e]);i=e$.call(s,n)?s[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}("type",{invalid:tn,unknown:tr,handlers:{...e8,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:"svg"===e.space?eD:ej,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==e.tableCellAlignToStyle,comments:[],esm:[],all:ti,createJsxAttributeName:to,createJsxElementName:ta,handle:function(e){return t(e,this)},inherit:ts,patch:tl}}(t||{}),r=n.handle(e),i=n.esm;if(r){"JSXFragment"!==r.type&&"JSXElement"!==r.type&&(r={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[r]},n.patch(e,r));let t={type:"ExpressionStatement",expression:r};n.patch(e,t),i.push(t)}let s={type:"Program",body:i,sourceType:"module",comments:n.comments};return n.patch(e,s),s}(t,e)}}function td(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function tp(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function tf(e){let t=this.resume(),n=e.estree,r=this.stack[this.stack.length-1];
2"mdxFlowExpression"===r.type||r.type,this.exit(e),r.value=t,n&&(r.data={estree:n})}function th(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function tm(e,t,n){let r=e.value||"";return"{"+n.indentLines(r,function(e,t,n){return(0===t||n?"":" ")+e})+"}"}function tg(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}let ty=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
2sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],tx={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function tv(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function tb(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function tw(e){return function(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||tv(e)}let tS=document.createElement("i");function tk(e){let t="&"+e+";";tS.innerHTML=t;let n=tS.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tE=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"],tT=/["&'<>`]/g,tC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tA=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tI=/[|\\{}()[\]^$+*?.]/g,tO=new WeakMap;function tL(e){return"&#x"+e.toString(16).toUpperCase()+";"}function tM(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function t_(e){return" ".repeat(e)}function tN(){return"<"}function tP(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function tj(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e);let r=e.estree;n.value=t,r&&(n.data={estree:r})}function tD(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function tF(e){return e.value||""}var tR=n(6842);let tB=tY(/[A-Za-z]/),tz=tY(/[\dA-Za-z]/),t$=tY(/[#-'*+\--9=?A-Z^-~]/);function tJ(e){return null!==e&&(e<32||127===e)}let tV=tY(/\d/),tq=tY(/[\dA-Fa-f]/),tU=tY(/[!-/:-@[-`{-~]/);function tX(e){return null!==e&&e<-2}function tH(e){return null!==e&&(e<0||32===e)}function tW(e){return -2===e||-1===e||32===e}let tK=tY(/\p{P}|\p{S}/u),tG=tY(/\s/);function tY(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function tQ(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,s=0;return function(r){return tW(r)?(e.enter(n),function r(l){return tW(l)&&s++<i?(e.consume(l),r):(e.exit(n),t(l))}(r)):t(r)}}let tZ={}.hasOwnProperty,t0=Symbol("continue"),t1=Symbol("exit"),t2=Symbol("skip");function t3(e){return Array.isArray(e)?e:"number"==typeof e?[t0,e]:[e]}function t4(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function t5(e,t){let n,r,i=t.prefix||"",s=t.suffix||"",l=Object.assign({},t.acornOptions),o=[],a=[],c=l.onComment,u=l.onToken,d=!1,p=Object.assign({},l,{onComment:o,preserveParens:!0});u&&(p.onToken=a);let f=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i,s=e[n];if("string"==typeof s)i=s;else switch(s){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(s)}t=-2===s,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),h=f.value,m=i+h+s,g=t.expression&&t6(h);if(g&&!t.allowEmpty)throw new x("Unexpected empty expression",{place:w(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!g?t.acorn.parseExpressionAt(m,0,p):t.acorn.parse(m,p)}catch(t){let e=w(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,d=t.raisedAt>=i.length+h.length||"Unterminated comment"===t.message}if(n&&t.expression&&!g)if(t6(m.slice(n.end,m.length-s.length)))n={type:"Program",start:0,end:i.length+h.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+h.length}],sourceType:"module",comments:[]};else{let e=w(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}if(n){var y,v;let e,t;if(n.comments=o,y=n,"function"==typeof(v=function(e,t,n,r){let i=r[r.length-1],s=t;"ParenthesizedExpression"===e.type&&i&&s&&("number"==typeof n&&(i=i[s],s=n),i[s]=e.expression),b(e)})?e=v:v,(function n(r,i,s,l){return t4(r)&&(o.displayName="node ("+r.type+")"),o;function o(){let o=e?t3(e(r,i,s,l)):[];
2if(o[0]===t1)return o;if(o[0]!==t2){let e;for(e in r)if(tZ.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=l.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r<i.length;){let s=i[r];if(t4(s)){let i=n(s,e,r,t)();if(i[0]===t1)return i;r="number"==typeof i[1]?i[1]:r+1}else r++}}else if(t4(i)){let r=n(i,e,void 0,t)();if(r[0]===t1)return r}}}return t?t3(t(r,i,s,l)):o}})(y,void 0,void 0,[])(),Array.isArray(c))c.push(...o);else if("function"==typeof c)for(let e of o)c("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of a)e.end<=i.length||e.start-i.length>=h.length||(b(e),Array.isArray(u)?u.push(e):u(e))}return{estree:n,error:r,swallow:d};function b(e){let t=w(e.start),n=w(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function w(e){let n=e-i.length;n<0?n=0:n>h.length&&(n=h.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],s=t-r;return{line:i.line,column:i.column+s,offset:i.offset+s}}(f.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}function t6(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function t9(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=t7(n.start,r[0]||t.start),s=t7(n.end,r[1]||t.end);if(i&&s)return{start:i,end:s}}function t7(e,t){if(e&&"object"==typeof e){let n="line"in e?t8(e.line):void 0,r="column"in e?t8(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:t8(t)}}}function t8(e){return"number"==typeof e&&e>-1?e:void 0}let ne="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",nt="#unexpected-type-in-code-expected-an-object-spread-spread";function nn(e,t,n,r,i,s,l,o,a,c,u){let d,p,f=this,h=this.events.length+3,m=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),d=f.now(),g};function g(u){if(null===u){if(p)throw p;let e=new x("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:f.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=ne+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if(tX(u))return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),v;if(125===u&&0===m){let m=s?nr.call(f,s,l,i,h,d,c||!1,a||!1):{type:"ok",estree:void 0};if("ok"===m.type){e.enter(r),e.consume(u),e.exit(r);let i=e.exit(n);return o&&m.estree&&Object.assign(i,{estree:m.estree}),t}return p=m.message,e.enter(i),e.consume(u),y}return e.enter(i),y(u)}function y(t){return 125===t&&0===m||null===t||tX(t)?(e.exit(i),g(t)):(123!==t||s?125===t&&(m-=1):m+=1,e.consume(t),y)}function v(t){let n=f.now();if(n.line!==d.line&&!u&&f.parser.lazy[n.line]){let e=new x("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:f.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=ne+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return tW(t)?tQ(e,g,"linePrefix",3)(t):g(t)}}function nr(e,t,n,r,i,s,l){let o=t5(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:s,prefix:l?"({":"",suffix:l?"})":""}),a=o.estree;if(l&&a){let e=a.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=t9(e),n=new x("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=ne+nt,n}if(e.expression.properties[1]){let t=new x("Unexpected extra content in spread: only a single spread is supported",{place:t9(e.expression.properties[1]).start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw t.url=ne+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",t}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=t9(e.expression.properties[0]),n=new x("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=ne+nt,n}}if(o.error){let e=new x("Could not parse expression with acorn",{cause:o.error,place:{line:o.error.loc.line,column:o.error.loc.column+1,offset:o.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=ne+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:a}}let ni="https://github.com/micromark/micromark-extension-mdx-jsx";function ns(e,t,n,r,i,s,l,o,a,c,u,d,p,f,h,m,g,y,v,b,w,S,k,E,T,C,A,I,O,L,M,_){let N,P,F=this;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),R};function R(e){return tH(e)?n(e):(N=B,el(e))}function B(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),N=z,el):62===t?es(t):null!==t&&t>=0&&j(t)?(e.enter(d),e.enter(p),e.consume(t),$):void ea(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function z(t){return 62===t?es(t):null!==t&&t>=0&&j(t)?(e.enter(d),e.enter(p),e.consume(t),$):void ea(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function $(t){return null!==t&&t>=0&&D(t,{jsx:!0})?(e.consume(t),$):46===t||47===t||58===t||62===t||123===t||tH(t)||tG(t)?(e.exit(p),N=J,el(t)):void ea(t,"in name","a
2name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function J(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),N=V,el):58===t?(e.enter(m),e.consume(t),e.exit(m),N=X,el):47===t||62===t||123===t||null!==t&&t>=0&&j(t)?(e.exit(d),K(t)):void ea(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function V(t){if(null!==t&&t>=0&&j(t))return e.enter(h),e.consume(t),q;ea(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(t){return null!==t&&t>=0&&D(t,{jsx:!0})?(e.consume(t),q):46===t||47===t||62===t||123===t||tH(t)||tG(t)?(e.exit(h),N=U,el(t)):void ea(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function U(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),N=V,el):47===t||62===t||123===t||null!==t&&t>=0&&j(t)?(e.exit(d),K(t)):void ea(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(t){if(null!==t&&t>=0&&j(t))return e.enter(g),e.consume(t),H;ea(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function H(t){return null!==t&&t>=0&&D(t,{jsx:!0})?(e.consume(t),H):47===t||62===t||123===t||tH(t)||tG(t)?(e.exit(g),N=W,el(t)):void ea(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function W(t){if(47===t||62===t||123===t||null!==t&&t>=0&&j(t))return e.exit(d),K(t);ea(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function K(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),N=ei,el):62===t?es(t):123===t?nn.call(F,e,G,y,v,b,r,i,s,!0,!1,l)(t):null!==t&&t>=0&&j(t)?(e.enter(w),e.enter(S),e.enter(k),e.consume(t),Y):void ea(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function G(e){return N=K,el(e)}function Y(t){return null!==t&&t>=0&&D(t,{jsx:!0})?(e.consume(t),Y):47===t||58===t||61===t||62===t||123===t||tH(t)||tG(t)?(e.exit(k),N=Q,el(t)):void ea(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Q(t){return 58===t?(e.enter(E),e.consume(t),e.exit(E),N=Z,el):61===t?(e.exit(S),e.enter(C),e.consume(t),e.exit(C),N=en,el):47===t||62===t||123===t||tH(t)||tG(t)||null!==t&&t>=0&&j(t)?(e.exit(S),e.exit(w),N=K,el(t)):void ea(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Z(t){if(null!==t&&t>=0&&j(t))return e.enter(T),e.consume(t),ee;ea(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ee(t){return null!==t&&t>=0&&D(t,{jsx:!0})?(e.consume(t),ee):47===t||61===t||62===t||123===t||tH(t)||tG(t)?(e.exit(T),e.exit(S),N=et,el(t)):void ea(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function et(t){return 61===t?(e.enter(C),e.consume(t),e.exit(C),N=en,el):47===t||62===t||123===t||null!==t&&t>=0&&j(t)?(e.exit(w),K(t)):void ea(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function en(t){return 34===t||39===t?(e.enter(A),e.enter(I),e.consume(t),e.exit(I),P=t,function t(n){return(null===n&&ea(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(P)+"`"),n===P)?(e.enter(I),e.consume(n),e.exit(I),e.exit(A),e.exit(w),P=void 0,N=K,el):tX(n)?(N=t,el(n)):(e.enter(O),function n(r){return null===r||r===P||tX(r)?(e.exit(O),t(r)):(e.consume(r),n)}(n))}):123===t?nn.call(F,e,er,L,M,_,r,i,s,!1,!1,l)(t):void ea(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function er(t){return e.exit(w),N=K,el(t)}function ei(e){if(62===e)return es(e);ea(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function es(n){return e.enter(a),e.consume(n),e.exit(a),e.exit(o),t}function el(t){return tX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eo):tW(t)||tG(t)?(e.enter("esWhitespace"),function t(n){return tX(n)?(e.exit("esWhitespace"),el(n)):tW(n)||tG(n)?(e.consume(n),t):(e.exit("esWhitespace"),N(n))}(t)):N(t)}function eo(e){if(!l&&F.parser.lazy[F.now().line]){let e=new x("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",F.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=ni+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return el(e)}function ea(e,t,n){let r=new x("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,F.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=ni+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-ex
2pected-expect"),r}}let nl={partial:!0,tokenize:function(e,t,n){return function(t){return tW(t)?tQ(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||tX(e)?t(e):n(e)}}},no={tokenize:function(e,t,n){return function(r){return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(nl,t,n)}},partial:!0},na="https://github.com/micromark/micromark-extension-mdxjs-esm",nc=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function nu(e,t,n,r){let i,s=e.length,l=0;if(t=t<0?-t>s?0:s+t:t>s?s: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 nd(e,t){return e.length>0?(nu(e,e.length,0,t),e):t}let np={}.hasOwnProperty;function nf(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(np.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];if(s)for(r in s){np.call(i,r)||(i[r]=[]);let e=s[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);nu(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let nh={};function nm(e){let t=e||nh,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){let t=Object.assign({acorn:tR.iX.extend(H()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return nf([function(e){let t={tokenize:function(t,i,s){let l=this,o=l.parser.definedModuleSpecifiers||(l.parser.definedModuleSpecifiers=[]),a=this.events.length+1,c="";return l.interrupt?s:function(e){return l.now().column>1?s(e):(t.enter("mdxjsEsm"),t.enter("mdxjsEsmData"),t.consume(e),c+=String.fromCharCode(e),u)};function u(e){return tB(e)?(t.consume(e),c+=String.fromCharCode(e),u):("import"===c||"export"===c)&&32===e?(t.consume(e),d):s(e)}function d(e){return null===e||tX(e)?(t.exit("mdxjsEsmData"),p(e)):(t.consume(e),d)}function p(e){return null===e?h(e):tX(e)?t.check(no,h,f)(e):(t.enter("mdxjsEsmData"),d(e))}function f(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p}function h(s){let c=t5(l.events.slice(a),{acorn:n,acornOptions:r,tokenTypes:["mdxjsEsmData"],prefix:o.length>0?"var "+o.join(",")+"\n":""});if(c.error){if(null!==s&&c.swallow)return f(s);let e=new x("Could not parse import/exports with acorn",{cause:c.error,place:{line:c.error.loc.line,column:c.error.loc.column+1,offset:c.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw e.url=na+"#could-not-parse-importexports-with-acorn",e}o.length>0&&c.estree.body.shift();let u=-1;for(;++u<c.estree.body.length;){let e=c.estree.body[u];if(!nc.has(e.type)){let t=new x("Unexpected `"+e.type+"` in code: only import/exports are supported",{place:t9(e),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw t.url=na+"#unexpected-type-in-code-only-importexports-are-supported",t}if("ImportDeclaration"===e.type&&!l.interrupt){let t=-1;for(;++t<e.specifiers.length;){let n=e.specifiers[t];o.push(n.local.name)}}}return Object.assign(t.exit("mdxjsEsm"),e.addResult?{estree:c.estree}:void 0),i(s)}},concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw Error("Expected an `acorn` instance passed in as `options.acorn`");let n=e.acorn,r=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}}}(t),function(e){let t,n=e||{},r=n.addResult,i=n.acorn,s=n.spread,l=n.allowEmpty;if(null==l&&(l=!0),i){if(!i.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");t=Object.assign({ecmaVersion:2024,sourceType:"module"},n.acornOptions)}else if(n.acornOptions||n.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:function(e,n,o){let a=this;return function(n){var o;return o=n,nn.call(a,e,c,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",i,t,r,s,l)(o)};function c(t){return tW(t)?tQ(e,u,"whitespace")(t):u(t)}function u(t){let r=a.parser.constructs.flow[60],i=(Array.isArray(r)?r:r?[r]:[]).find(function(e){return"mdxJsxFlowTag"===e.name});return 60===t&&i?e.attempt(i,u,o)(t):null===t||tX(t)?n(t):o(t)}},concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:function(e,n){let o=this;return function(a){return nn.call(o,e,n,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",i,t,r,s,l,!0)(a)}}}}}}(t),function(e){var t,n,r,i;let s,l=e||{},o=l.acorn;if(o){if(!o.parse||!o.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");s=Object.assign({ecmaVersion:2024,sourceType:"module"},l.acornOptions,{locations:!0})}else if(l.acornOptions||l.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:(t=o||void 0,n={acornOptions:s,addResult:l.addResult||void 0},{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(e,r,i){let s=this;return function(e){return l(e)};function l(r){return ns.call(s,e,o,i,t,n.acornOptions,n.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function o(t){return tW(t)?tQ(e,a,"whitespace")(t):a(t)}function a(t){let n,o=s.parser.constructs.flow[123];for(let e of Array.isArray(o)?o:o?[o]:[])if("mdxFlowExpression"===e.name){n=e;break}return 60===t?l(t):123===t&&n?e.attempt(n,a,i)(t):null===t||tX(t)?r(t):i(t)}}})},text:{60:(r=o||void 0,i={acornOptions:s,addResult:l.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,n){return ns.call(this,e,t,n,r,i.acornOptions,i.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}(t),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}])}
2(t)),i.push([{enter:{mdxFlowExpression:td,mdxTextExpression:tp},exit:{mdxFlowExpression:tf,mdxFlowExpressionChunk:th,mdxTextExpression:tf,mdxTextExpressionChunk:th}},function(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:d,mdxJsxFlowTagExpressionAttribute:p,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:l,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:d,mdxJsxTextTagExpressionAttribute:p,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:l},exit:{mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagNamePrimary:a,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:u,mdxJsxFlowTagExpressionAttribute:f,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:m,mdxJsxFlowTagAttributeNameLocal:g,mdxJsxFlowTagAttributeValueLiteral:y,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:v,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:b,mdxJsxFlowTag:w,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:a,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:u,mdxJsxTextTagExpressionAttribute:f,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:m,mdxJsxTextTagAttributeNameLocal:g,mdxJsxTextTagAttributeValueLiteral:y,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:v,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:b,mdxJsxTextTag:w}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){if(0===this.data.mdxJsxTagStack.length)throw new x("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function s(e){if(this.data.mdxJsxTag.close)throw new x("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function l(e){if(this.data.mdxJsxTag.close)throw new x("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function o(){this.data.mdxJsxTag.close=!0}function a(e){this.data.mdxJsxTag.name=this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;t.name+="."+this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;t.name+=":"+this.sliceSerialize(e)}function d(e){let n=this.data.mdxJsxTag;s.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function p(e){let n=this.data.mdxJsxTag;s.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function f(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type;let i=e.estree;r.value=this.resume(),r.position,r.position.end=t(e.end),i&&(r.data={estree:i})}function m(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type,r.name=this.sliceSerialize(e),r.position,r.position.end=t(e.end)}function g(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type,r.name+=":"+this.sliceSerialize(e),r.position,r.position.end=t(e.end)}function y(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.value=function(e,t){let n,r,i,s=t||{},l="string"==typeof s.additional?s.additional.charCodeAt(0):s.additional,o=[],a=0,c=-1,u="";s.position&&("start"in s.position||"indent"in s.position?(r=s.position.indent,n=s.position.start):n=s.position);let d=(n?n.line:0)||1,p=(n?n.column:0)||1,f=g();for(a--;++a<=e.length;)if(10===i&&(p=(r?r[c]:0)||1),38===(i=e.charCodeAt(a))){let t,n=e.charCodeAt(a+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||l&&n===l){u+=String.fromCharCode(i),p++;continue}let r=a+1,c=r,d=r;if(35===n){d=++c;let n=e.charCodeAt(d);88===n||120===n?(t="hexadecimal",d=++c):t="decimal"}else t="named";let v="",b="",w="",S="named"===t?tw:"decimal"===t?tv:tb;for(d--;++d<=e.length;){let n=e.charCodeAt(d);if(!S(n))break;w+=String.fromCharCode(n),"named"===t&&ty.includes(w)&&(v=w,b=tk(w))}let k=59===e.charCodeAt(d);if(k){d++;let e="named"===t&&tk(w);e&&(v=w,b=e)}let E=1+d-r,T="";if(k||!1!==s.nonTerminated)if(w)if("named"===t){if(k&&!b)y(5,1);else if(v!==w&&(E=1+(d=c+v.length)-c,k=!1),!k){let t=v?1:3;if(s.attribute){let n=e.charCodeAt(d);61===n?(y(t,E),b=""):tw(n)?b="":y(t,E)}else y(t,E)}T=b}else{var h,m;k||y(2,E);let e=Number.parseInt(w,"hexadecimal"===t?16:10);if((h=e)>=55296&&h<=57343||h>1114111)y(7,E),T=String.fromCharCode(65533);else if(e in tx)y(6,E),T=tx[e];else{let t="";((m=e)>=1&&m<=8||11===m||m>=13&&m<=31||m>=127&&m<=159||m>=64976&&m<=65007||(65535&m)==65535||(65535&m)==65534)&&y(6,E),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),T=t+String.fromCharCode(e)}}else"named"!==t&&y(4,E);if(T){x(),f=g(),a=d-1,p+=d-r+1,o.push(T);let t=g();t.offset++,s.reference&&s.reference.call(s.referenceContext||void 0,T,{start:f,end:t},e.slice(r-1,d)),f=t}else w=e.slice(r-1,d),u+=w,p+=w.length,a=d-1}else 10===i&&(d++,c++,p=0),Number.isNaN(i)?x():(u+=String.fromCharCode(i),p++);return o.join("");function g(){return{line:d,column:p,offset:a+((n?n.offset:0)||0)}}function y(e,t){let n;s.warning&&(n=g(),n.column+=t,n.offset+=t,s.warning.call(s.warningContext||void 0,tE[e],n,e))}function x(){u&&(o.push(u),s.text&&s.text.call(s.textContext||void 0,u,{start:f,end:g()}),u="")}}(this.resume(),{nonTerminated:!1}),r.position,r.position.end=t(e.end)}function v(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type;let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},s=e.estree;s&&(i.data={estree:s}),r.value=i,r.position,r.position.end=t(e.end)}function b(){this.data.mdxJsxTag.selfClosing=!0}function w(e){let t=this.data.mdxJsxTag,n=this.data.mdxJsxTagStack,r=n[n.length-1];if(t.close&&r.name!==t.name)throw new x("Unexpected closing tag `"+E(t)+"`, expected corresponding closing tag for `"+E(r)+"` ("+h(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,S),t.selfClosing||t.close?this.exit(e,k):n.push(t)}function S(e,t){let n=this.data.mdxJsxTagStack,r=n[n.length-1],i=e?" before the end of `"+e.type+"`":"",s=e?{start:e.start,end:e.end}:void 0;throw new x("Expected a closing tag for `"+E(r)+"` ("+h({start:t.start,end:t.end})+")"+i,s,"mdast-util-mdx-jsx:end-tag-mismatch")}function k(e,t){throw new x("Expected the closing tag `"+E(this.data.mdxJsxTag)+"` either after the end of `"+t.type+"` ("+h(t.end)+") or another opening tag after the start of `"+t.type+"` ("+h(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function E(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}
2(),{enter:{mdxjsEsm:tP},exit:{mdxjsEsm:tj,mdxjsEsmData:tD}}]),s.push({extensions:[{handlers:{mdxFlowExpression:tm,mdxTextExpression:tm},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]},function(e){let t=e||{},n=t.quote||'"',r=t.quoteSmart||!1,i=t.tightSelfClosing||!1,s=t.printWidth||Number.POSITIVE_INFINITY,l='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return o.peek=tN,{handlers:{mdxJsxFlowElement:o,mdxJsxTextElement:o},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function o(e,t,o,a){let c="mdxJsxFlowElement"===e.type,u=!!e.name&&(!e.children||0===e.children.length),d=t_(tM(o)),p=o.createTracker(a),f=o.createTracker(a),h=[],m=(c?d:"")+"<"+(e.name||""),g=o.enter(e.type);if(p.move(m),f.move(m),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let i,s=e.attributes[t];if("mdxJsxExpressionAttribute"===s.type)i="{"+(s.value||"")+"}";else{if(!s.name)throw Error("Cannot serialize attribute w/o name");let e=s.value,t=s.name,o="";if(null==e);else if("object"==typeof e)o="{"+(e.value||"")+"}";else{let t=r&&tg(e,n)>tg(e,l)?l:n;o=t+function(e,t){var n=e,r=Object.assign({format:tL},t);if(n=n.replace(r.subset?function(e){let t=tO.get(e);return t||(t=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(tI,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),tO.set(e,t)),t}(r.subset):tT,i),r.subset||r.escapeOnly)return n;return n.replace(tC,function(e,t,n){return r.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),r)}).replace(tA,i);function i(e,t,n){return r.format(e.charCodeAt(0),n.charCodeAt(t+1),r)}}(e,{subset:[t]})+t}i=t+(o?"=":"")+o}h.push(i)}}let y=!1,x=h.join(" ");c&&(/\r?\n|\r/.test(x)||p.current().now.column+x.length+(u?i?2:3:1)>s)&&(y=!0);let v=p,b=m;if(y){v=f;let e=-1;for(;++e<h.length;)h[e]=d+" "+h[e];b+=v.move("\n"+h.join("\n")+"\n"+d)}else x&&(b+=v.move(" "+x));return u&&(b+=v.move((i||y?"":" ")+"/")),b+=v.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?b+=v.move(o.containerPhrasing(e,{...v.current(),before:">",after:"<"})):(v.shift(2),b+=v.move("\n"),b+=v.move(function(e,t,n){let r=t.indexStack,i=e.children,s=t.createTracker(n),l=t_(tM(t)),o=[],a=-1;for(r.push(-1);++a<i.length;){let n=i[a];r[r.length-1]=a;let c={before:"\n",after:"\n",...s.current()},u=t.handle(n,e,t,c),d="mdxJsxFlowElement"===n.type?u:t.indentLines(u,function(e,t,n){return(n?"":l)+e});o.push(s.move(d)),"list"!==n.type&&(t.bulletLastUsed=void 0),a<i.length-1&&o.push(s.move("\n\n"))}return r.pop(),o.join("")}(e,o,v.current())),b+=v.move("\n"))),u||(b+=v.move((c?d:"")+"</"+(e.name||"")+">")),g(),b}}(t),{handlers:{mdxjsEsm:tF}}]})}let ng={};function ny(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 nx(e.children,t,n)}return Array.isArray(e)?nx(e,t,n):""}function nx(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=ny(e[i],t,n);return r.join("")}class nv{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?Number.POSITIVE_INFINITY: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),Number.POSITIVE_INFINITY);return n&&nb(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),nb(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),nb(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,Number.POSITIVE_INFINITY);nb(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);nb(this.left,t.reverse())}}}function nb(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 nw(e){let t,n,r,i,s,l,o,a={},c=-1,u=new nv(e);for(;++c<u.length;){for(;c in a;)c=a[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-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(a,function(e,t){let n,r,i=e.get(t)[1],s=e.get(t)[2],l=t-1,o=[],a=i._tokenizer;!a&&(a=s.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let c=a.events,u=[],d={},p=-1,f=i,h=0,m=0,g=[0];for(;f;){for(;e.get(++l)[1]!==f;);o.push(l),!f._tokenizer&&(n=s.sliceStream(f),f.next||n.push(null),r&&a.defineSki
2p(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(n),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(m=p+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[h+u[p][0]]=h+u[p][1],h+=u[p][1]-u[p][0]-1;return d}(u,c)),c=a[c],o=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(s=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,s))}}return nu(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!o}let nS={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"),tQ(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 tX(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},nk={tokenize:function(e){let t,n,r,i=this,s=[],l=0;return o;function o(t){if(l<s.length){let n=s[l];return i.containerState=n[1],e.attempt(n[0].continuation,a,c)(t)}return c(t)}function a(e){if(l++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,s=r;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){n=i.events[s][1].end;break}g(l);let o=r;for(;o<i.events.length;)i.events[o][1].end={...n},o++;return nu(i.events,s+1,0,i.events.slice(r)),i.events.length=o,c(e)}return o(e)}function c(n){if(l===s.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(nE,u,d)(n)}function u(e){return t&&y(),g(l),p(e)}function d(e){return i.parser.lazy[i.now().line]=l!==s.length,r=i.now().offset,h(e)}function p(t){return i.containerState={},e.attempt(nE,f,h)(t)}function f(e){return l++,s.push([i.currentConstruct,i.containerState]),p(e)}function h(r){if(null===r){t&&y(),g(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){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return tX(n)?(e.consume(n),m(e.exit("chunkFlow")),l=0,i.interrupt=void 0,o):(e.consume(n),t)}(r)}function m(e,s){let o=i.sliceStream(e);if(s&&o.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(o),i.parser.lazy[e.start.line]){let e,n,s=t.events.length;for(;s--;)if(t.events[s][1].start.offset<r&&(!t.events[s][1].end||t.events[s][1].end.offset>r))return;let o=i.events.length,a=o;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){if(e){n=i.events[a][1].end;break}e=!0}for(g(l),s=o;s<i.events.length;)i.events[s][1].end={...n},s++;nu(i.events,a+1,0,i.events.slice(o)),i.events.length=s}}function g(t){let n=s.length;for(;n-- >t;){let t=s[n];i.containerState=t[1],t[0].exit.call(i,e)}s.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},nE={tokenize:function(e,t,n){return tQ(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},nT={resolve:function(e){return nw(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):tX(t)?e.check(nC,s,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},nC={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"),tQ(e,i,"linePrefix")};function i(i){if(null===i||tX(i))return n(i);let s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},nA={tokenize:function(e){let t=this,n=e.attempt(nl,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,tQ(e,e.attempt(this.parser.constructs.flow,r,e.attempt(nT,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)}}},nI={resolveAll:n_()},nO=nM("string"),nL=nM("text");function nM(e){return{resolveAll:n_("text"===e?nN:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,s,l);return s;function s(e){return a(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return a(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function a(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 n_(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 nN(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],s=t.sliceStream(i),l=s.length,o=-1,a=0;for(;l--;){let e=s[l];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)a++,o--;if(o)break;o=-1}else if(-2===e)r=!0,a++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){let s={type:n===e.length||r||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:i.start._bufferIndex+o,_index:i.start._index+l,line:i.end.line,column:i.end.column-a,offset:i.end.offset-a},end:{...i.end}};i.end={...s.start},i.start.offset===i.end.offset?Object.assign(i,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}let nP={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(s){var l;return e.enter("thematicBreak"),r=l=s,function s(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),tW(n)?tQ(e,s,"whitespace")(n):s(n))}(l)):i>=3&&(null===l||tX(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},nj={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(nl,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,tQ(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!tW(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
2=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(nF,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,tQ(e,e.attempt(nj,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],s=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:tV(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(nP,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return tV(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"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(nl,r.interrupt?n:a,e.attempt(nD,u,c))}
2function a(e){return r.containerState.initialBlankLine=!0,s++,u(e)}function c(t){return tW(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},nD={partial:!0,tokenize:function(e,t,n){let r=this;return tQ(e,function(e){let i=r.events[r.events.length-1];return!tW(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},nF={partial:!0,tokenize:function(e,t,n){let r=this;return tQ(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)}},nR={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return tW(t)?tQ(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(nR,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 tW(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function nB(e,t,n,r,i,s,l,o,a){let c=a||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(s),e.consume(t),e.exit(s),d):null===t||32===t||41===t||tJ(t)?n(t):(e.enter(r),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),d(t)):null===t||60===t||tX(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return!u&&(null===i||41===i||tH(i))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,h):41===i?(e.consume(i),u--,h):null===i||32===i||40===i||tJ(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function nz(e,t,n,r,i,s){let l,o=this,a=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(s),c};function c(d){return a>999||null===d||91===d||93===d&&!l||94===d&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):93===d?(e.exit(s),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):tX(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||tX(t)||a++>999?(e.exit("chunkString"),c(t)):(e.consume(t),l||(l=!tW(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}}function n$(e,t,n,r,i,s){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,o):n(t)};function o(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(s),a(n))}function a(t){return t===l?(e.exit(s),o(l)):null===t?n(t):tX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tQ(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===l||null===t||tX(t)?(e.exit("chunkString"),a(t)):(e.consume(t),92===t?u:c)}function u(t){return t===l||92===t?(e.consume(t),c):c(t)}}function nJ(e,t){let n;return function r(i){return tX(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):tW(i)?tQ(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function nV(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let nq={partial:!0,tokenize:function(e,t,n){return function(t){return tH(t)?nJ(e,r)(t):n(t)};function r(t){return n$(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return tW(t)?tQ(e,s,"whitespace")(t):s(t)}function s(e){return null===e||tX(e)?t(e):n(e)}}},nU={name:"codeIndented",tokenize:function(e,t,n){let r=this;
2return function(t){return e.enter("codeIndented"),tQ(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?s(n):tX(n)?e.attempt(nX,t,s)(n):(e.enter("codeFlowValue"),function n(r){return null===r||tX(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function s(n){return e.exit("codeIndented"),t(n)}}},nX={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):tX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):tQ(e,s,"linePrefix",5)(t)}function s(e){let s=r.events[r.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(e):tX(e)?i(e):n(e)}}},nH={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),i||"definition"!==e[s][1].type||(i=s);let l={type:"setextHeading",start:{...e[n][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 o,a=i.events.length;for(;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){o="paragraph"===i.events[a][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),tW(n)?tQ(e,s,"lineSuffix")(n):s(n))}(l)):n(t)};function s(r){return null===r||tX(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},nW=["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"],nK=["pre","script","style","textarea"],nG={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(nl,t,n)}}},nY={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return tX(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)}}},nQ={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)}}},nZ={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,s={partial:!0,tokenize:function(e,t,n){let s=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),tW(t)?tQ(e,a,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s>=o?(e.exit("codeFencedFenceSequence"),tW(i)?tQ(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||tX(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,o=0;return function(t){var s=t;let c=i.events[i.events.length-1];return l=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=s,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),tW(i)?tQ(e,a,"whitespace")(i):a(i))}(s)};function a(s){return null===s||tX(s)?(e.exit("codeFencedFence"),i.interrupt?t(s):e.check(nQ,u,h)(s)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tX(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(i)):tW(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),tQ(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(s))}
2function c(t){return null===t||tX(t)?a(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tX(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(s,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return l>0&&tW(t)?tQ(e,f,"linePrefix",l+1)(t):f(t)}function f(t){return null===t||tX(t)?e.check(nQ,u,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||tX(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},n0={name:"characterReference",tokenize:function(e,t,n){let r,i,s=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),a):(e.enter("characterReferenceValue"),r=31,i=tz,c(t))}function a(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=tq,c):(e.enter("characterReferenceValue"),r=7,i=tV,c(t))}function c(o){if(59===o&&l){let r=e.exit("characterReferenceValue");return i!==tz||tk(s.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&l++<r?(e.consume(o),c):n(o)}}},n1={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 tU(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},n2={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),tQ(e,t,"linePrefix")}}};function n3(e,t,n){let r=[],i=-1;for(;++i<e.length;){let s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}let n4={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&&nu(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,s,l=e.length,o=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)){o=2;break}}else"labelEnd"===n.type&&(i=l);let a={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+o+2][1].end},end:{...e[i-2][1].start}};return s=nd(s=[["enter",a,t],["enter",c,t]],e.slice(r+1,r+o+3)),s=nd(s,[["enter",u,t]]),s=nd(s,n3(t.parser.constructs.insideSpan.null,e.slice(r+o+4,i-3),t)),s=nd(s,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),s=nd(s,e.slice(i+1)),s=nd(s,[["exit",a,t]]),nu(e,r,e.length,s),e},tokenize:function(e,t,n){let r,i,s=this,l=s.events.length;for(;l--;)if(("labelImage"===s.events[l][1].type||"labelLink"===s.events[l][1].type)&&!s.events[l][1]._balanced){r=s.events[l][1];break}return function(t){return r?r._inactive?u(t):(i=s.parser.defined.includes(nV(s.sliceSerialize({start:r.end,end:s.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(n5,c,i?c:u)(t):91===t?e.attempt(n6,c,i?a:u)(t):i?c(t):u(t)}function a(t){return e.attempt(n9,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},n5={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 tH(t)?nJ(e,i)(t):i(t)}function i(t){return 41===t?c(t):nB(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function s(t){return tH(t)?nJ(e,o)(t):c(t)}function l(e){return n(e)}
2function o(t){return 34===t||39===t||40===t?n$(e,a,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function a(t){return tH(t)?nJ(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},n6={tokenize:function(e,t,n){let r=this;return function(t){return nz.call(r,e,i,s,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(nV(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function s(e){return n(e)}}},n9={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)}}},n7={name:"labelStartImage",resolveAll:n4.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"),s):n(t)}function s(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function n8(e){return null===e||tH(e)||tG(e)?1:tK(e)?2:void 0}let re={name:"attention",resolveAll:function(e,t){let n,r,i,s,l,o,a,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;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[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},p={...e[u][1].start};rt(d,-o),rt(p,o),s={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},l={type:o>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:o>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[n][1].end={...s.start},e[u][1].start={...l.end},a=[],e[n][1].end.offset-e[n][1].start.offset&&(a=nd(a,[["enter",e[n][1],t],["exit",e[n][1],t]])),a=nd(a,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",i,t]]),a=nd(a,n3(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),a=nd(a,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,a=nd(a,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,nu(e,n-1,u-n+3,a),u=n+a.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,s=n8(i);return function(l){return n=l,e.enter("attentionSequence"),function l(o){if(o===n)return e.consume(o),l;let a=e.exit("attentionSequence"),c=n8(o),u=!c||2===c&&s||r.includes(o),d=!s||2===s&&c||r.includes(i);return a._open=!!(42===n?u:u&&(s||!d)),a._close=!!(42===n?d:d&&(c||!u)),t(o)}(l)}}};function rt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let rn={name:"labelStartLink",resolveAll:n4.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)}}},rr={42:nj,43:nj,45:nj,48:nj,49:nj,50:nj,51:nj,52:nj,53:nj,54:nj,55:nj,56:nj,57:nj,62:nR},ri={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,nz.call(i,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function s(t){return(r=nV(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 tH(t)?nJ(e,o)(t):o(t)}function o(t){return nB(e,a,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function a(t){return e.attempt(nq,c,c)(t)}function c(t){return tW(t)?tQ(e,u,"whitespace")(t):u(t)}function u(s){return null===s||tX(s)?(e.exit("definition"),i.parser.defined.push(r),t(s)):n(s)}}}},rs={[-2]:nU,[-1]:nU,32:nU},rl={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,s=3;return"whitespace"===e[3][1].type&&(s+=2),i-2>s&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(s===i-1||i-4>s&&"whitespace"===e[i-2][1].type)&&(i-=s+1===i?2:4),i>s&&(n={type:"atxHeadingText",start:e[s][1].start,end:e[i][1].end},r={type:"chunkText",start:e[s][1].start,end:e[i][1].end,contentType:"text"},nu(e,s,i-s+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 s;return e.enter("atxHeading"),s=i,e.enter("atxHeadingSequence"),function i(s){return 35===s&&r++<6?(e.consume(s),i):null===s||tH(s)?(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||tX(r)?(e.exit("atxHeading"),t(r)):tW(r)?tQ(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||tH(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(s)):n(s)}(s)}}},42:nP,45:[nH,nP],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,s,l,o,a=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(l){return 33===l?(e.consume(l),u):47===l?(e.consume(l),i=!0,f):63===l?(e.consume(l),r=3,a.interrupt?t:_):tB(l)?(e.consume(l),s=String.fromCharCode(l),h):n(l)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,l=0,p):tB(i)?(e.consume(i),r=4,a.interrupt?t:_):n(i)}function d(r){return 45===r?(e.consume(r),a.interrupt?t:_):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?a.interrupt?t:E:p:n(r)}function f(t){return tB(t)?(e.consume(t),s=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||tH(l)){let o=47===l,c=s.toLowerCase();
2return!o&&!i&&nK.includes(c)?(r=1,a.interrupt?t(l):E(l)):nW.includes(s.toLowerCase())?(r=6,o)?(e.consume(l),m):a.interrupt?t(l):E(l):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(l):i?function t(n){return tW(n)?(e.consume(n),t):S(n)}(l):g(l))}return 45===l||tz(l)?(e.consume(l),s+=String.fromCharCode(l),h):n(l)}function m(r){return 62===r?(e.consume(r),a.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),S):58===t||95===t||tB(t)?(e.consume(t),y):tW(t)?(e.consume(t),g):S(t)}function y(t){return 45===t||46===t||58===t||95===t||tz(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),v):tW(t)?(e.consume(t),x):g(t)}function v(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,b):tW(t)?(e.consume(t),v):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tH(n)?x(n):(e.consume(n),t)}(t)}function b(t){return t===o?(e.consume(t),o=null,w):null===t||tX(t)?n(t):(e.consume(t),b)}function w(e){return 47===e||62===e||tW(e)?g(e):n(e)}function S(t){return 62===t?(e.consume(t),k):n(t)}function k(t){return null===t||tX(t)?E(t):tW(t)?(e.consume(t),k):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),I):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),N):63===t&&3===r?(e.consume(t),_):93===t&&5===r?(e.consume(t),M):tX(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(nG,P,T)(t)):null===t||tX(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),E)}function T(t){return e.check(nY,C,P)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||tX(t)?T(t):(e.enter("htmlFlowData"),E(t))}function I(t){return 45===t?(e.consume(t),_):E(t)}function O(t){return 47===t?(e.consume(t),s="",L):E(t)}function L(t){if(62===t){let n=s.toLowerCase();return nK.includes(n)?(e.consume(t),N):E(t)}return tB(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),L):E(t)}function M(t){return 93===t?(e.consume(t),_):E(t)}function _(t){return 62===t?(e.consume(t),N):45===t&&2===r?(e.consume(t),_):E(t)}function N(t){return null===t||tX(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),N)}function P(n){return e.exit("htmlFlow"),t(n)}}},61:nH,95:nP,96:nZ,126:nZ},ro={38:n0,92:n1},ra={[-5]:n2,[-4]:n2,[-3]:n2,33:n7,38:n0,42:re,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 tB(t)?(e.consume(t),s):64===t?n(t):o(t)}function s(t){return 43===t||45===t||46===t||tz(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||tz(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(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||tJ(r)?n(r):(e.consume(r),l)}function o(t){return 64===t?(e.consume(t),a):t$(t)?(e.consume(t),o):n(t)}function a(i){return tz(i)?function i(s){return 46===s?(e.consume(s),r=0,a):62===s?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(s){if((45===s||tz(s))&&r++<63){let n=45===s?t:i;return e.consume(s),n}return n(s)}(s)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,s,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),a):47===t?(e.consume(t),b):63===t?(e.consume(t),x):tB(t)?(e.consume(t),S):n(t)}function a(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,f):tB(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):tX(t)?(s=u,L(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?O(e):45===e?d(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:f):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):tX(t)?(s=h,L(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?O(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?O(t):tX(t)?(s=y,L(t)):(e.consume(t),y)}function x(t){return null===t?n(t):63===t?(e.consume(t),v):tX(t)?(s=x,L(t)):(e.consume(t),x)}function v(e){return 62===e?O(e):x(e)}function b(t){return tB(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||tz(t)?(e.consume(t),w):function t(n){return tX(n)?(s=t,L(n)):tW(n)?(e.consume(n),t):O(n)}(t)}function S(t){return 45===t||tz(t)?(e.consume(t),S):47===t||62===t||tH(t)?k(t):n(t)}function k(t){return 47===t?(e.consume(t),O):58===t||95===t||tB(t)?(e.consume(t),E):tX(t)?(s=k,L(t)):tW(t)?(e.consume(t),k):O(t)}function E(t){return 45===t||46===t||58===t||95===t||tz(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),T):tX(n)?(s=t,L(n)):tW(n)?(e.consume(n),t):k(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):tX(t)?(s=T,L(t)):tW(t)?(e.consume(t),T):(e.consume(t),A)}function C(t){return t===r?(e.consume(t),r=void 0,I):null===t?n(t):tX(t)?(s=C,L(t)):(e.consume(t),C)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tH(t)?k(t):(e.consume(t),A)}function I(e){return 47===e||62===e||tH(e)?k(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return tW(t)?tQ(e,_,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):_(t)}function _(t){return e.enter("htmlTextData"),s(t)}}}],91:rn,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return tX(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},n1],93:n4,95:re,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,s=0;
2return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),s++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(a){return null===a?n(a):32===a?(e.enter("space"),e.consume(a),e.exit("space"),l):96===a?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",o(l))}(a)):tX(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(a))}function o(t){return null===t||32===t||96===t||tX(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),o)}}}},rc={null:[re,nI]},ru={null:[42,95]},rd={null:[]},rp=/[\0\t\n\r]/g;function rf(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 rh=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rm(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return rf(n.slice(t?2:1),t?16:10)}return tk(n)||e}let rg={}.hasOwnProperty;function ry(e){return{line:e.line,column:e.column,offset:e.offset}}function rx(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+h({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+h({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+h({start:t.start,end:t.end})+") is still open")}function rv(e){let t=this;t.parser=function(n){var r,i;let s,l,o,a;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(x),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(f),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(f,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(y,i),htmlFlowData:c,htmlText:r(y,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,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(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:l(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=rf(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tk(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=ry(e.end)},codeFenced:l(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:u,codeIndented:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:l(),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=nV(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(d),hardBreakTrailing:l(d),htmlFlow:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:l(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(rh,rm),n.identifier=nV(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=ry(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
2ype)&&(c.call(this,e),u.call(this,e))},link:l(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:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nV(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:l(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:l(),thematicBreak:l()}};!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(rg.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:[]},l={stack:[r],tokenStack:[],config:t,enter:s,exit:o,buffer:i,resume:a,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,s,l,o=t-1,a=-1,c=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?a++:a--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||a||s||(s=o),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!a&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===a&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=o;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",c=!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}s&&(!i||s<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,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(o,0,["enter",i,t[2]]),o++,n++,s=void 0,l=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];rg.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},l),e[u][1])}if(l.tokenStack.length>0){let e=l.tokenStack[l.tokenStack.length-1];(e[1]||rx).call(l,void 0,e[0])}for(r.position={start:ry(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ry(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){s.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function s(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:ry(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),o.call(this,t)}}function o(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]||rx).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+h({start:e.start,end:e.end})+"): itâs not open");n.position.end=ry(e.end)}function a(){var e;return ny(this.stack.pop(),"boolean"!=typeof ng.includeImageAlt||ng.includeImageAlt,"boolean"!=typeof ng.includeHtml||ng.includeHtml)}function c(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:ry(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ry(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!nw(e););return e}((function(e){let t={constructs:nf([d,...(e||{}).extensions||[]]),content:n(nS),defined:[],document:n(nk),flow:n(nA),lazy:{},string:n(nO),text:n(nL)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
2olumn:n&&n.column||1,offset:n&&n.offset||0},i={},s=[],l=[],o=[],a={attempt:h(function(e,t){m(e,t.from)}),check:h(f),consume:function(e){tX(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:h(f,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let s,l=e[r];if("string"==typeof l)s=l;else switch(l){case -5:s="\r";break;case -4:s="\n";break;case -3:s="\r\n";break;case -2:s=t?" ":" ";break;case -1:if(!t&&n)continue;s=" ";break;default:s=String.fromCharCode(l)}n=-2===l,i.push(s)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(l=nd(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),u=u(t)}else u=u(n)}}(),null!==l[l.length-1])?[]:(m(t,0),c.events=n3(s,c.events,c),c.events)}},u=t.tokenize.call(c,a);return t.resolveAll&&s.push(t),c;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,s=t.end._index,l=t.end._bufferIndex;if(r===s)n=[e[r].slice(i,l)];else{if(n=e.slice(r,s),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[s].slice(0,l))}return n}(l,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:s}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:s}}function f(e,t){t.restore()}function h(e,t){return function(n,i,s){var l;let u,d,f,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(u=e,d=0,0===e.length)?s:y(e[d])}function y(e){return function(n){return(h=function(){let e=p(),t=c.previous,n=c.currentConstruct,i=c.events.length,s=Array.from(o);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,o=s,g()}}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,a,x,v)(n)}}function x(t){return e(f,h),i}function v(e){return(h.restore(),++d<u.length)?y(u[d]):s}}}function m(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&nu(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((l=1,o="",a=!0,function(e,t,n){let r,i,c,u,d,p=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,o="",a&&(65279===e.charCodeAt(0)&&c++,a=void 0);c<e.length;){if(rp.lastIndex=c,u=(r=rp.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){o=e.slice(c);break}if(10===d&&c===u&&s)p.push(-3),s=void 0;else switch(s&&(p.push(-5),s=void 0),c<u&&(p.push(e.slice(c,u)),l+=u-c),d){case 0:p.push(65533),l++;break;case 9:for(i=4*Math.ceil(l/4),p.push(-2);l++<i;)p.push(-1);break;case 10:p.push(-4),l=1;break;default:s=!0,l=1}c=u+1}return n&&(s&&p.push(-5),o&&p.push(o),p.push(null)),p})(n,r,!0))))}}let rb="object"==typeof self?self:globalThis,rw=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[s,l]=t[i];switch(s){case 0:case -1:return n(l,i);case 1:{let e=n([],i);for(let t of l)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),i);case 4:{let{source:e,flags:t}=l;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of l)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of l)e.add(r(t));return e}case 7:{let{name:e,message:t}=l;return n(new rb[e](t),i)}case 8:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:e}=new Uint8Array(l);return n(new DataView(e),l)}}return n(new rb[s](l),i)};return r},rS=e=>rw(new Map,e)(0),{toString:rk}={},{keys:rE}=Object,rT=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=rk.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,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},rC=([e,t])=>0===e&&("function"===t||"symbol"===t),rA=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},s=r=>{if(n.has(r))return n.get(r);let[l,o]=rT(r);switch(l){case 0:{let t=r;switch(o){case"bigint":l=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+o);t=null;break;case"undefined":return i([-1],r)}return i([l,t],r)}case 1:{if(o){let e=r;return"DataView"===o?e=new Uint8Array(r.buffer):"ArrayBuffer"===o&&(e=new Uint8Array(r)),i([o,[...e]],r)}let e=[],t=i([l,e],r);for(let t of r)e.push(s(t));return t}case 2:{if(o)switch(o){case"BigInt":return i([o,r.toString()],r);case"Boolean":case"Number":case"String":return i([o,r.valueOf()],r)}if(t&&"toJSON"in r)return s(r.toJSON());let n=[],a=i([l,n],r);for(let t of rE(r))(e||!rC(rT(r[t])))&&n.push([s(t),s(r[t])]);return a}case 3:return i([l,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([l,{source:e,flags:t}],r)}case 5:{let t=[],n=i([l,t],r);
2for(let[n,i]of r)(e||!(rC(rT(n))||rC(rT(i))))&&t.push([s(n),s(i)]);return n}case 6:{let t=[],n=i([l,t],r);for(let n of r)(e||!rC(rT(n)))&&t.push(s(n));return n}}let{message:a}=r;return i([l,{name:o,message:a}],r)};return s},rI=(e,{json:t,lossy:n}={})=>{let r=[];return rA(!(t||n),!!t,new Map,r)(e),r},rO="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?rS(rI(e,t)):structuredClone(e):(e,t)=>rS(rI(e,t));function rL(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let s=e.charCodeAt(n),l="";if(37===s&&tz(e.charCodeAt(n+1))&&tz(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(l=String.fromCharCode(s));else if(s>55295&&s<57344){let t=e.charCodeAt(n+1);s<56320&&t>56319&&t<57344?(l=String.fromCharCode(s,t),i=1):l="�"}else l=String.fromCharCode(s);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 rM(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 r_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let rN=function(e){var t,n;if(null==e)return rj;if("function"==typeof e)return rP(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=rN(e[n]);return rP(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,rP(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,rP(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function rP(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 rj(){return!0}let rD=[],rF="skip";function rR(e,t,n,r){let i,s,l,o;"function"==typeof t&&"function"!=typeof n?(s=void 0,l=t,i=n):(s=t,l=n,i=r);var a=s,c=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return l(e,r,n)},u=i;"function"==typeof a&&"function"!=typeof c?(u=c,c=a):o=a;let d=rN(o),p=u?-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(s,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return s;function s(){var i;let s,l,o,f=rD;if((!a||d(t,n,r[r.length-1]||void 0))&&!1===(f=Array.isArray(i=c(t,r))?i:"number"==typeof i?[!0,i]:null==i?rD:[i])[0])return f;if("children"in t&&t.children&&t.children&&f[0]!==rF)for(l=(u?t.children.length:-1)+p,o=r.concat(t);l>-1&&l<t.children.length;){if(!1===(s=e(t.children[l],l,o)())[0])return s;l="number"==typeof s[1]?s[1]:l+p}return f}})(e,void 0,[])()}function rB(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),s=i[0];s&&"text"===s.type?s.value="["+s.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 rz(e){let t=e.spread;return null==t?e.children.length>1:t}function r$(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 rJ={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)}
2,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),s=rL(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),o=e.footnoteCounts.get(i);void 0===o?(o=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=l+1,o+=1,e.footnoteCounts.set(i,o);let a={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,a);let c={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,c),e.applyData(t,c)},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 rB(e,t);let i={src:rL(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){let n={src:rL(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 rB(e,t);let i={href:rL(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){let n={href:rL(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=rz(n[r])}return t}(n):rz(t),s={},l=[];
2if("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:[]}),s.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(i||0!==o||"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 a=r[r.length-1];a&&(i||"element"!==a.type||"p"!==a.tagName)&&l.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:s,children:l};return e.patch(t,c),e.applyData(t,c)},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 s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)},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)},s=eR(t.children[1]),l=eF(t.children[t.children.length-1]);s&&l&&(r.position={start:s,end:l}),i.push(r)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)},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",s=n&&"table"===n.type?n.align:void 0,l=s?s.length:t.children.length,o=-1,a=[];for(;++o<l;){let n=t.children[o],r={},l=s?s[o]:void 0;l&&(r.align=l);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),a.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(a,!0)};return e.patch(t,c),e.applyData(t,c)},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,s=[];for(;r;)s.push(r$(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(r$(t.slice(i),i>0,!1)),s.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:rV,yaml:rV,definition:rV,footnoteDefinition:rV};function rV(){}let rq={}.hasOwnProperty,rU={};function rX(e,t){e.position&&(t.position=ez(e))}function rH(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,rO(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function rW(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 rK(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function rG(e,t){let n=function(e,t){let n=t||rU,r=new Map,i=new Map,s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=rK(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=rK(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:rH,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...rJ,...n.handlers},one:function(e,t){let n=e.type,r=s.handlers[n];if(rq.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=rO(n);return r.children=s.all(e),r}return rO(e)}return(s.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(rq.call(n,"hProperties")||rq.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)})(s,e,t)},options:n,patch:rX,wrap:rW};return rR(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.o
2ptions.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||rM,r=e.options.footnoteBackLabel||r_,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],a=-1;for(;++a<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[a]);if(!i)continue;let s=e.all(i),l=String(i.identifier).toUpperCase(),c=rL(l.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(l);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(a,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(a,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=s[s.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else s.push(...d);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(s,!0)};e.patch(i,h),o.push(h)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...rO(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)}
2,{type:"text",value:"\n"}]}}(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:"\n"},i),s}function rY(e,t){return e&&"run"in e?async function(n,r){let i=rG(n,{file:r,...t});await e.run(i,r)}:function(n,r){return rG(n,{file:r,...e||t})}}function rQ(e){if(e)throw e}var rZ=n(3360);function r0(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)}let r1=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},r2={}.hasOwnProperty;class r3 extends r1{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(s,...l){let o=e[++n],a=-1;if(s)return void r(s);for(;++a<t.length;)(null===l[a]||void 0===l[a])&&(l[a]=t[a]);t=l,o?(function(e,t){let n;return function(...t){let s,l=e.length>t.length;l&&t.push(r);try{s=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(s&&s.then&&"function"==typeof s.then?s.then(i,r):s instanceof Error?r(s):i(s))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,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 r3,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(rZ(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(r9("data",this.frozen),this.namespace[e]=t,this):r2.call(this.namespace,e)&&this.namespace[e]||void 0:e?(r9("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=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=ie(e),n=this.parser||this.Parser;return r5("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),r5("process",this.parser||this.Parser),r6("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let s=ie(e),l=n.parse(s);function o(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(l,s,function(e,t,r){var i,s;if(e||!t||!r)return o(e);let l=n.stringify(t,r);"string"==typeof(i=l)||(s=i)&&"object"==typeof s&&"byteLength"in s&&"byteOffset"in s?r.value=l:r.result=l,o(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),r5("processSync",this.parser||this.Parser),r6("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,rQ(e),t=r}),r8("processSync","process",n),t}run(e,t,n){r7(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,s){let l=ie(t);r.run(e,l,function(t,r,l){let o=r||e;t?s(t):i?i(o):n(void 0,o,l)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){rQ(e),n=t,r=!0}),r8("runSync","run",r),n}stringify(e,t){this.freeze();let n=ie(t),r=this.compiler||this.Compiler;return r6("stringify",r),r7(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(r9("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else if("object"==typeof e)Array.isArray(e)?s(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(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");s(e.plugins),e.settings&&(r.settings=rZ(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)l(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;l(e,t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function l(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...s]=t,l=n[i][1];r0(l)&&r0(r)&&(r=rZ(!0,l,r)),n[i]=[e,r,...s]}}}}let r4=new r3().freeze();function r5(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function r6(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function r9(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 r7(e){if(!r0(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function r8(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function ie(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new E(e)}function it(e,t){let n=["start","end","loc","range"],r=-1;for(;++r<n.length;){let i=n[r];i in e&&(t[i]=e[i])}}function ir(e,t){let n,r=-1,i=[],s=[];for(;++r<e.length;){let t=e[r];"ImportNamespaceSpecifier"===t.type?n=t:s.push(t)}if(n){let e={type:"VariableDeclarator",id:n.local,init:t};it(n,e),i.push(e)}return i.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:s.map(function(e){let t="ImportSpecifier"===e.type?e.imported:"ExportSpecifier"===e.type?e.exported:{type:"Identifier",name:"default"},n=e.local;"ExportSpecifier"===e.type&&(n=t,t=e.local),n.type;let r={type:"Property",kind:"init",shorthand:"Identifier"===t.type&&"Identifier"===n.type&&t.name===n.name,method:!1,computed:!1,key:t,value:n};return it(e,r),r})},init:n?{type:"Identifier",name:n.local.name}:t}),i}function ii(e){let t,n=-1;for(;++n<e.length;){let r=e[n],i="string"==typeof r&&F(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};t=t?{type:"MemberExpression",object:t,property:i,computed:"Literal"===i.type,optional:!1}:i}return t.type,t}function is(e){let t,n=-1;for(;++n<e.length;){let r=e[n];"string"==typeof r&&F(r,{jsx:!0});let i={type:"JSXIdentifier",name:r};t=t?{type:"JSXMemberExpression",object:t,property:i}:i}return t}function il(e){let{outputFormat:t}=e||{};return function(e){if(e.comments&&(e.comments=e.comments.filter(function(e){var t;return!(null==(t=e.data)?void 0:t._mdxIsPragmaComment)})),"function-body"===t){let t=0;for(;t<e.body.length;){let n=e.body[t];if("directive"in n&&n.directive)t++;else break}let n=e.body[t];n&&"ImportDeclaration"===n.type&&"string"==typeof n.source.value&&/\/jsx-(dev-)?runtime$/.test(n.source.value)&&(e.body[t]={type:"VariableDeclaration",kind:"const",declarations:ir(n.specifiers,ii(["arguments",0]))})}}}function io(){let e=[{block:!1,defined:[]}];return{enter:function(r){if("ArrowFunctionExpression"===r.type)for(let t of(e.push({block:!1,defined:[]}),r.params))n(t,!1);else if("BlockStatement"===r.type||"DoWhileStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type||"ForStatement"===r.type||"WhileStatement"===r.type)e.push({block:!0,defined:[]});else if("CatchClause"===r.type)e.push({block:!0,defined:[]}),r.param&&n(r.param,!0);else if("ClassDeclaration"===r.type)t(r.id.name,!1);else if("FunctionDeclaration"===r.type)for(let i of(t(r.id.name,!1),e.push({block:!1,defined:[]}),r.params))n(i,!1);else if("FunctionExpression"===r.type)for(let i of(r.id&&t(r.id.name,!1),e.push({block:!1,defined:[]}),r.params))n(i,!1);else if("ImportDeclaration"===r.type)for(let e of r.specifiers)t(e.local.name,!1);
2else if("VariableDeclaration"===r.type)for(let e of r.declarations)n(e.id,"var"!==r.kind)},exit:function(t){"ArrowFunctionExpression"===t.type||"FunctionDeclaration"===t.type||"FunctionExpression"===t.type?e.pop().block:("BlockStatement"===t.type||"CatchClause"===t.type||"DoWhileStatement"===t.type||"ForInStatement"===t.type||"ForOfStatement"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type)&&e.pop().block},scopes:e};function t(t,n){let r,i=e.length;for(;i--&&(r=e[i],!n&&r.block););r.defined.push(t)}function n(e,r){if("ArrayPattern"===e.type)for(let t of e.elements)t&&n(t,r);else if("AssignmentPattern"===e.type)n(e.left,r);else if("Identifier"===e.type)t(e.name,r);else if("ObjectPattern"===e.type)for(let t of e.properties)"Property"===t.type?n(t.value,r):(t.type,n(t,r));else e.type,n(e.argument,r)}}function ia(e){let t=e.baseUrl||void 0,n="object"==typeof t?t.href:t,r=e.outputFormat||"program",i=void 0===e.pragma?"React.createElement":e.pragma,s=void 0===e.pragmaFrag?"React.Fragment":e.pragmaFrag,l=e.pragmaImportSource||"react",o=e.jsxImportSource||"react",a=e.jsxRuntime||"automatic";return function(e,t){var u,d,p;let f,m,g,y=[],x=[],v=0;if("classic"===a&&s&&ic(e,"@jsxFrag",s),"classic"===a&&i&&ic(e,"@jsx",i),"automatic"===a&&o&&ic(e,"@jsxImportSource",o),a&&ic(e,"@jsxRuntime",a),"classic"===a&&l){if(!i)throw Error("Missing `pragma` in classic runtime with `pragmaImportSource`");k({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:i.split(".")[0]}}],source:{type:"Literal",value:l}})}for(g of e.body)if("ExportDefaultDeclaration"===g.type){f&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+h(t9(f))+")",{ancestors:[e,g],place:t9(g),ruleId:"duplicate-layout",source:"recma-document"}),f=g,x.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:"FunctionDeclaration"===(u=g.declaration).type||"ClassDeclaration"===u.type||"VariableDeclaration"===u.type?"FunctionDeclaration"===(d=g.declaration).type?{...d,type:"FunctionExpression"}:(d.type,{...d,type:"ClassExpression"}):g.declaration}]})}else if("ExportNamedDeclaration"===g.type&&g.source){let n=g.source;g.specifiers=g.specifiers.filter(function(r){if("Identifier"===r.exported.type&&"default"===r.exported.name){f&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+h(t9(f))+")",{ancestors:[e,g,r],place:t9(g),ruleId:"duplicate-layout",source:"recma-document"}),f=r;let i=[];if("Identifier"===r.local.type&&"default"===r.local.name)i.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let e={type:"ImportSpecifier",imported:r.local,local:{type:"Identifier",name:"MDXLayout"}};it(r.local,e),i.push(e)}let s={type:"Literal",value:n.value};it(n,s);let l={type:"ImportDeclaration",specifiers:i,source:s};return it(r,l),k(l),!1}return!0}),g.specifiers.length>0&&S(g)}else"ExportNamedDeclaration"===g.type||"ExportAllDeclaration"===g.type?S(g):"ImportDeclaration"===g.type?k(g):"ExpressionStatement"===g.type&&("JSXElement"===g.expression.type||"JSXFragment"===g.expression.type)?(m=!0,x.push(...c(g.expression,r,!!f))):x.push(g);m||x.push(...c(void 0,r,!!f)),y.push(["MDXContent","default"]),"function-body"===r&&x.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:v}).map(function(e,t){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}}),...y.map(function(e){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:"string"==typeof e,key:{type:"Identifier",name:"string"==typeof e?e:e[1]},value:{type:"Identifier",name:"string"==typeof e?e:e[0]}}})]}}),e.body=x;let b=!1,w=!1;function S(e){if("ExportNamedDeclaration"===e.type){if(e.declaration){let t=io();$(e,{enter(e){t.enter(e),("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)&&(this.skip(),t.exit(e))},leave:t.exit}),y.push(...t.scopes[0].defined)}for(g of e.specifiers)"Identifier"===g.exported.type?y.push(g.exported.name):(g.exported.value,y.push(g.exported.value))}k(e)}function k(e){let t,n;if("function-body"===r)if("ImportDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type&&e.source){e.source;let r={type:"ImportExpression",source:e.source};it(e,r),n={type:"AwaitExpression",argument:r},t=("ImportDeclaration"===e.type||"ExportNamedDeclaration"===e.type)&&0===e.specifiers.length?{type:"ExpressionStatement",expression:n}:{type:"VariableDeclaration",kind:"const",declarations:"ExportAllDeclaration"===e.type?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++v},init:n}]:ir(e.specifiers,n)}}else if(e.declaration)t=e.declaration;else{let n=[];for(let t of e.specifiers)"Identifier"===t.exported.type&&"Identifier"===t.local.type&&t.local.name!==t.exported.name&&n.push({type:"VariableDeclarator",id:t.exported,init:t.local});n.length>0&&(t={type:"VariableDeclaration",kind:"const",declarations:n})}else t=e;t&&x.push(t)}(n||"function-body"===r)&&$(e,{enter(e){if(("ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ImportDeclaration"===e.type)&&e.source){let t=e.source.value;try{new URL(t)}catch{(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))&&(t=new URL(t,n).href)}let r={type:"Literal",value:t};it(e.source,r),e.source=r;return}if("ImportExpression"===e.type){w=!0;let t={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[e.source],optional:!1};e.source=t;return}if("MemberExpression"===e.type&&"object"in e&&"MetaProperty"===e.object.type&&"Identifier"===e.property.type&&"import"===e.object.meta.name&&"meta"===e.object.property.name&&"url"===e.property.name){b=!0;let t={type:"Identifier",name:"_importMetaUrl"};it(e,t),this.replace(t)}}}),w&&(n||(b=!0),e.body.push((p=n?{type:"Literal",value:n}:{type:"Identifier",name:"_importMetaUrl"},{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:ii(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:ii(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:ii(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},p]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}))),b&&e.body.unshift({type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:ii(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export ⦠from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null})};
2function c(e,t,n){let r={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};n||(r={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:r,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let i=e||{type:"Identifier",name:"undefined"};"JSXFragment"===i.type&&1===i.children.length&&"JSXElement"===i.children[0].type&&(i=i.children[0]);let s=!1;$(i,{enter(e){if("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)return this.skip();("AwaitExpression"===e.type||"ForOfStatement"===e.type&&e.await)&&(s=!0)}});let l={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:r}]}};return[{type:"FunctionDeclaration",async:s,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:i}]}},"program"===t?{type:"ExportDefaultDeclaration",declaration:l}:l]}}function ic(e,t,n){e.comments?.unshift({type:"Block",value:t+" "+n,data:{_mdxIsPragmaComment:!0}})}function iu(e){let t,n=-1;for(;++n<e.length;){let r=e[n];t=t?{type:"BinaryExpression",left:t,operator:"+",right:r}:r}return t}function id(e){let{development:t,outputFormat:n,providerImportSource:r}=e;return function(e,i){let s=io(),l=[],o=!1,a=!1;if($(e,{enter(e){s.enter(e),("FunctionDeclaration"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type)&&(l.push({components:[],idToInvalidComponentName:new Map,node:e,objects:[],references:{},tags:[]}),ip(e,"MDXContent")&&!ih(s.scopes,"MDXLayout")&&l[0].components.push("MDXLayout"));let t=l[0];if(t&&(ip(t.node,"_createMdxContent")||r)&&"JSXElement"===e.type){let n=e.openingElement.name;if("JSXMemberExpression"===n.type){let r=[];for(;"JSXMemberExpression"===n.type;)r.unshift(n.property.name),n=n.object;r.unshift(n.name);let i=r.join("."),o=n.name,a=ih(s.scopes,o);!Object.hasOwn(t.references,i)&&(!a||1===l.length&&"FunctionDeclaration"===l[0].node.type&&ip(l[0].node,"_createMdxContent"))&&(t.references[i]={component:!0,node:e}),t.objects.includes(o)||a||t.objects.push(o)}else if("JSXNamespacedName"===n.type);else if(F(n.name)&&!/^[a-z]/.test(n.name)){let r=n.name;!ih(s.scopes,r)&&("MDXLayout"===r||Object.hasOwn(t.references,r)||(t.references[r]={component:!0,node:e}),t.components.includes(r)||t.components.push(r))}else if(e.data&&e.data._mdxExplicitJsx);else{let r=n.name;t.tags.includes(r)||t.tags.push(r);let i=["_components",r];if(!1===F(r)){let e=t.idToInvalidComponentName.get(r);void 0===e&&(e=`_component${t.idToInvalidComponentName.size}`,t.idToInvalidComponentName.set(r,e)),i=[e]}e.openingElement.name=is(i),e.closingElement&&(e.closingElement.name=is(i))}}},leave(e){s.exit(e);let n=[],i=[],c=[],u=[];if("FunctionDeclaration"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type){let s,d,p=l[l.length-1];for(s of p.tags.sort())n.push({type:"Property",kind:"init",key:F(s)?{type:"Identifier",name:s}:{type:"Literal",value:s},value:{type:"Literal",value:s},method:!1,shorthand:!1,computed:!1});for(s of(i.push(...p.components),p.objects))i.includes(s)||i.push(s);i.sort();let f=[];if(n.length>0||i.length>0||p.idToInvalidComponentName.size>0){let e;if(r&&(o=!0,c.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(ip(p.node,"MDXContent")||ip(p.node,"_createMdxContent"))&&c.push(ii(["props","components"])),n.length>0||c.length>1)for(let e of c)n.push({type:"SpreadElement",argument:e});let t=n.length>0?{type:"ObjectExpression",properties:n}:{type:"LogicalExpression",operator:"||",left:c[0],right:{type:"ObjectExpression",properties:[]}};if(i.length>0&&(e={type:"ObjectPattern",properties:i.map(function(e){return{type:"Property",kind:"init",key:{type:"Identifier",name:"MDXLayout"===e?"wrapper":e},value:{type:"Identifier",name:e},method:!1,shorthand:"MDXLayout"!==e,computed:!1}})}),p.tags.length>
20&&(u.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:t}),t={type:"Identifier",name:"_components"}),ip(p.node,"_createMdxContent"))for(let[e,t]of[...p.idToInvalidComponentName].sort(function([e],[t]){return e.localeCompare(t)}))u.push({type:"VariableDeclarator",id:{type:"Identifier",name:t},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:e},computed:!0,optional:!1}});e&&u.push({type:"VariableDeclarator",id:e,init:t}),u.length>0&&f.push({type:"VariableDeclaration",kind:"const",declarations:u})}for(d in p.references)if(Object.hasOwn(p.references,d)){let e=d.split("."),t=0;for(;++t<e.length;){let n=e.slice(0,t).join(".");Object.hasOwn(p.references,n)||(p.references[n]={component:!1,node:p.references[d].node})}}let m=Object.keys(p.references).sort(),g=-1;for(;++g<m.length;){let e=m[g],n=p.references[e],r=h(t9(n.node)),i=[{type:"Literal",value:e},{type:"Literal",value:n.component}];a=!0,t&&r&&i.push({type:"Literal",value:r}),f.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:ii(e.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:i,optional:!1}},alternate:void 0})}f.length>0&&("BlockStatement"!==e.body.type&&(e.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:e.body}]}),e.body.body.unshift(...f)),l.pop()}}}),o&&r&&e.body.unshift(function(e,t){let n=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return"function-body"===t?{type:"VariableDeclaration",kind:"const",declarations:ir(n,ii(["arguments",0]))}:{type:"ImportDeclaration",specifiers:n,source:{type:"Literal",value:e}}}(r,n)),a){let n=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],r=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(n.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:iu([{type:"Literal",value:"\nItâs referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(i.path?"` in `"+i.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),r.push({type:"Identifier",name:"place"})),e.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:r,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[iu(n)]}}]}})}"function-body"===n&&e.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function ip(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function ih(e,t){let n=e.length;for(;n--;)if(e[n].defined.includes(t))return!0;return!1}function im(){return function(e){rR(e,"raw",function(e,t,n){if(n&&"number"==typeof t)return n.children.splice(t,1),t})}}let ig=/\s+/g,iy=/[\t\n\v\f\r ]+/g;function ix(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function iv(){return" "}function ib(){return function(e){rR(e,function(e,t,n){let r=-1,i=!0,s=!1;if(n&&"number"==typeof t&&"paragraph"===e.type){let l=e.children;for(;++r<l.length;){let e=l[r];if("mdxJsxTextElement"===e.type||"mdxTextExpression"===e.type)s=!0;else if("text"===e.type&&""===function(e,t){t?"string"==typeof t&&(t={style:t}):t={};let n=t.preserveLineEndings?ix:iv;return String(e).replace("html"===t.style?iy:ig,t.trim?function(e){return function(t,n,r){return 0===n||n+t.length===r.length?"":e(t)}}(n):n)}(e.value,{style:"html",trim:!0}));else{i=!1;break}}if(i&&s){r=-1;let e=[];for(;++r<l.length;){let t=l[r];"mdxJsxTextElement"===t.type&&(t.type="mdxJsxFlowElement"),"mdxTextExpression"===t.type&&(t.type="mdxFlowExpression"),"text"===t.type&&/^[\t\r\n ]+$/.test(String(t.value))||e.push(t)}return n.children.splice(t,1,...e),t}}("mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type)&&((e.data||(e.data={}))._mdxExplicitJsx=!0),("mdxFlowExpression"===e.type||"mdxTextExpression"===e.type||"mdxjsEsm"===e.type)&&e.data&&e.data.estree&&$(e.data.estree,{enter(e){"JSXElement"===e.type&&((e.data||(e.data={}))._mdxExplicitJsx=!0)}})})}}let iw=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"],iS=["compilers","filepath","hastPlugins","mdPlugins","skipExport","wrapExport"],ik=!1,iE=Symbol.for("yaml.alias"),iT=Symbol.for("yaml.document"),iC=Symbol.for("yaml.map"),iA=Symbol.for("yaml.pair"),iI=Symbol.for("yaml.scalar"),iO=Symbol.for("yaml.seq"),iL=Symbol.for("yaml.node.type"),iM=e=>!!e&&"object"==typeof e&&e[iL]===iE,i_=e=>!!e&&"object"==typeof e&&e[iL]===iT,iN=e=>!!e&&"object"==typeof e&&e[iL]===iC,iP=e=>!!e&&"object"==typeof e&&e[iL]===iA,ij=e=>!!e&&"object"==typeof e&&e[iL]===iI,iD=e=>!!e&&"object"==typeof e&&e[iL]===iO;function iF(e){if(e&&"object"==typeof e)switch(e[iL]){case iC:case iO:return!0}return!1}function iR(e){if(e&&"object"==typeof e)switch(e[iL]){case iE:case iC:case iI:case iO:return!0}return!1}let iB=e=>(ij(e)||iF(e))&&!!e.anchor,iz=Symbol("break visit"),i$=Symbol("skip children"),iJ=Symbol("remove node");function iV(e,t){let n=iH(t);i_(e)?iq(null,e.contents,n,Object.freeze([e]))===iJ&&(e.contents=null):iq(null,e,n,Object.freeze([]))}function iq(e,t,n,r){let i=iW(e,t,n,r);if(iR(i)||iP(i))return iK(e,r,i),iq(e,i,n,r);if("symbol"!=typeof i){if(iF(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=iq(e,t.items[e],n,r);if("number"==typeof i)e=i-1;else{if(i===iz)return iz;i===iJ&&(t.items.splice(e,1),e-=1)}}}else if(iP(t)){r=Object.freeze(r.concat(t));let e=iq("key",t.key,n,r);if(e===iz)return iz;e===iJ&&(t.key=null);let i=iq("value",t.value,n,r);if(i===iz)return iz;i===iJ&&(t.value=null)}}return i}async function iU(e,t){let n=iH(t);i_(e)?await iX(null,e.contents,n,Object.freeze([e]))===iJ&&(e.contents=null):await iX(null,e,n,Object.freeze([]))}async function iX(e,t,n,r){let i=await iW(e,t,n,r);if(iR(i)||iP(i))return iK(e,r,i),iX(e,i,n,r);if("symbol"!=typeof i){if(iF(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await iX(e,t.items[e],n,r);if("number"==typeof i)e=i-1;else{if(i===iz)return iz;i===iJ&&(t.items.splice(e,1),e-=1)}}}else if(iP(t)){r=Object.freeze(r.concat(t));let e=await iX("key",t.key,n,r);if(e===iz)return iz;e===iJ&&(t.key=null);let i=await iX("value",t.value,n,r);if(i===iz)return iz;i===iJ&&(t.value=null)}}return i}function iH(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function iW(e,t,n,r){return"function"==typeof n?n(e,t,r):iN(t)?n.Map?.(e,t,r):iD(t)?n.Seq?.(e,t,r):iP(t)?n.Pair?.(e,t,r):ij(t)?n.Scalar?.(e,t,r):iM(t)?n.Alias?.(e,t,r):void 0}function iK(e,t,n){let r=t[t.length-1];if(iF(r))r.items[e]=n;else if(iP(r))"key"===e?r.key=n:r.value=n;else if(i_(r))r.contents=n;else{let e=iM(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}iV.BREAK=iz,iV.SKIP=i$,iV.REMOVE=iJ,iU.BREAK=iz,iU.SKIP=i$,iU.REMOVE=iJ;
2let iG={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},iY=e=>e.replace(/[!,[\]{}]/g,e=>iG[e]);class iQ{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},iQ.defaultYaml,e),this.tags=Object.assign({},iQ.defaultTags,t)}clone(){let e=new iQ(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new iQ(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:iQ.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},iQ.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:iQ.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},iQ.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+iY(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&iR(e.contents)){let n={};iV(e.contents,(e,t)=>{iR(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[i,s]of r)("!!"!==i||"tag:yaml.org,2002:"!==s)&&(!e||t.some(e=>e.startsWith(s)))&&n.push(`%TAG ${i} ${s}`);return n.join("\n")}}function iZ(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function i0(e){let t=new Set;return iV(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function i1(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function i2(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=i2(e,r,String(t),n);void 0===i?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=i2(e,r,t,n);void 0===i?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=i2(e,r,t,t);void 0===n?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=i2(e,r,t,n);void 0===i?delete r[t]:i!==n&&(r[t]=i)}return e.call(t,n,r)}function i3(e,t,n){if(Array.isArray(e))return e.map((e,t)=>i3(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!iB(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return"bigint"!=typeof e||n?.keep?e:Number(e)}iQ.defaultYaml={explicit:!1,version:"1.2"},iQ.defaultTags={"!!":"tag:yaml.org,2002:"};class i4{constructor(e){Object.defineProperty(this,iL,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!i_(e))throw TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},l=i3(this,"",s);if("function"==typeof r)for(let{count:e,res:t}of s.anchors.values())r(t,e);return"function"==typeof i?i2(i,{"":l},"",l):l}}class i5 extends i4{constructor(e){super(iE),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,r;for(let i of(t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],iV(e,{Node:(e,t)=>{(iM(t)||iB(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n)),n)){if(i===this)break;i.anchor===this.source&&(r=i)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,s=this.resolve(r,t);if(!s)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let l=n.get(s);if(l||(i3(s,null,t),l=n.get(s)),!l||void 0===l.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(l.count+=1,0===l.aliasCount&&(l.aliasCount=function e(t,n,r){if(iM(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(iF(n)){let i=0;for(let s of n.items){let n=e(t,s,r);n>i&&(i=n)}return i}return iP(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,s,n)),l.count*l.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exh
2austion attack");return l.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(iZ(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}let i6=e=>!e||"function"!=typeof e&&"object"!=typeof e;class i9 extends i4{constructor(e){super(iI),this.value=e}toJSON(e,t){return t?.keep?this.value:i3(this.value,e,t)}toString(){return String(this.value)}}function i7(e,t,n){let r;if(i_(e)&&(e=e.contents),iR(e))return e;if(iP(e)){let t=n.schema[iC].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:s,onTagObj:l,schema:o,sourceObjects:a}=n;if(i&&e&&"object"==typeof e){if(r=a.get(e))return r.anchor??(r.anchor=s(e)),new i5(r.anchor);r={anchor:null,node:null},a.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let c=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,o.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new i9(e);return r&&(r.node=t),t}c=e instanceof Map?o[iC]:Symbol.iterator in Object(e)?o[iO]:o[iC]}l&&(l(c),delete n.onTagObj);let u=c?.createNode?c.createNode(n.schema,e,n):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(n.schema,e,n):new i9(e);return t?u.tag=t:c.default||(u.tag=c.tag),r&&(r.node=u),u}function i8(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return i7(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}i9.BLOCK_FOLDED="BLOCK_FOLDED",i9.BLOCK_LITERAL="BLOCK_LITERAL",i9.PLAIN="PLAIN",i9.QUOTE_DOUBLE="QUOTE_DOUBLE",i9.QUOTE_SINGLE="QUOTE_SINGLE";let se=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class st extends i4{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>iR(t)||iP(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(se(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(iF(i))i.addIn(r,t);else if(void 0===i&&this.schema)this.set(n,i8(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(iF(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&ij(i)?i.value:i:iF(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!iP(t))return!1;let n=t.value;return null==n||e&&ij(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!iF(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(iF(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,i8(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}let sn=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function sr(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let si=(e,t,n)=>e.endsWith("\n")?sr(n,t):n.includes("\n")?"\n"+sr(n,t):(e.endsWith(" ")?"":" ")+n,ss="flow",sl="block",so="quoted";function sa(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:l,onOverflow:o}={}){let a,c,u;if(!i||i<0)return e;i<s&&(s=0);let d=Math.max(1+s,1+i-t.length);if(e.length<=d)return e;let p=[],f={},h=i-t.length;"number"==typeof r&&(r>i-Math.max(2,s)?p.push(0):h=i-r);let m=!1,g=-1,y=-1,x=-1;for(n===sl&&-1!==(g=sc(e,g,t.length))&&(h=g+d);u=e[g+=1];){if(n===so&&"\\"===u){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}x=g}if("\n"===u)n===sl&&(g=sc(e,g,t.length)),h=g+t.length+d,a=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[g+1];
2t&&" "!==t&&"\n"!==t&&" "!==t&&(a=g)}if(g>=h)if(a)p.push(a),h=a+d,a=void 0;else if(n===so){for(;" "===c||" "===c;)c=u,u=e[g+=1],m=!0;let t=g>x+1?g-2:y-1;if(f[t])return e;p.push(t),f[t]=!0,h=t+d,a=void 0}else m=!0}c=u}if(m&&o&&o(),0===p.length)return e;l&&l();let v=e.slice(0,p[0]);for(let r=0;r<p.length;++r){let i=p[r],s=p[r+1]||e.length;0===i?v=` 3${t}${e.slice(0,s)}`:(n===so&&f[i]&&(v+=`${e[i]}\\`),v+=` 4${t}${e.slice(i+1,s)}`)}return v}function sc(e,t,n){let r=t,i=t+1,s=e[i];for(;" "===s||" "===s;)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&"\n"!==s);r=t,s=e[i=t+1]}return r}let su=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),sd=e=>/^(%|---|\.\.\.)/m.test(e);function sp(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(sd(e)?" ":""),l="",o=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(l+=n.slice(o,e)+"\\ ",e+=1,o=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{l+=n.slice(o,e);let t=n.substr(e+2,4);switch(t){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:"00"===t.substr(0,2)?l+="\\x"+t.substr(2):l+=n.substr(e,6)}e+=5,o=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<i)e+=1;else{for(l+=n.slice(o,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)l+="\n",e+=2;l+=s," "===n[e+2]&&(l+="\\"),e+=1,o=e+1}break;default:e+=1}return l=o?l+n.slice(o):n,r?l:sa(l,s,so,su(t,!1))}function sf(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return sp(e,t);let n=t.indent||(sd(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 5${n}`)+"'";return t.implicitKey?r:sa(r,n,ss,su(t,!1))}function sh(e,t){let n,{singleQuote:r}=t.options;if(!1===r)n=sp;else{let t=e.includes('"'),i=e.includes("'");n=t&&!i?sf:i&&!t?sp:r?sf:sp}return n(e,t)}try{c=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{c=/\n+(?!\n|$)/g}function sm({comment:e,type:t,value:n},r,i,s){let l,o,a,{blockQuote:u,commentString:d,lineWidth:p}=r.options;if(!u||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return sh(n,r);let f=r.indent||(r.forceBlockIndent||sd(n)?" ":""),h="literal"===u||"folded"!==u&&t!==i9.BLOCK_FOLDED&&(t===i9.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if("\n"===e[t]){if(t-n>r)return!0;if(i-(n=t+1)<=r)return!1}return!0}(n,p,f.length));if(!n)return h?"|\n":">\n";for(o=n.length;o>0;--o){let e=n[o-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=n.substring(o),g=m.indexOf("\n");-1===g?l="-":n===m||g!==m.length-1?(l="+",s&&s()):l="",m&&(n=n.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(c,`$&${f}`));let y=!1,x=-1;for(a=0;a<n.length;++a){let e=n[a];if(" "===e)y=!0;else if("\n"===e)x=a;else break}let v=n.substring(0,x<a?x+1:a);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${f}`));let b=f?"2":"1",w=(y?b:"")+l;if(e&&(w+=" "+d(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!h){let e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${f}`),i=!1,s=su(r,!0);"folded"!==u&&t!==i9.BLOCK_FOLDED&&(s.onOverflow=()=>{i=!0});let l=sa(`${v}${e}${m}`,f,sl,s);if(!i)return`>${w} 6${f}${l}`}return n=n.replace(/\n+/g,`$&${f}`),`|${w} 7${f}${v}${n}${m}`}function sg(e,t,n,r){let{implicitKey:i,inFlow:s}=t,l="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:o}=e;o!==i9.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(l.value)&&(o=i9.QUOTE_DOUBLE);let a=e=>{switch(e){case i9.BLOCK_FOLDED:case i9.BLOCK_LITERAL:return i||s?sh(l.value,t):sm(l,t,n,r);case i9.QUOTE_DOUBLE:return sp(l.value,t);case i9.QUOTE_SINGLE:return sf(l.value,t);case i9.PLAIN:return function(e,t,n,r){let{type:i,value:s}=e,{actualString:l,implicitKey:o,indent:a,indentStep:c,inFlow:u}=t;if(o&&s.includes("\n")||u&&/[[\]{},]/.test(s))return sh(s,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||u||!s.includes("\n")?sh(s,t):sm(e,t,n,r);if(!o&&!u&&i!==i9.PLAIN&&s.includes("\n"))return sm(e,t,n,r);if(sd(s)){if(""===a)return t.forceBlockIndent=!0,sm(e,t,n,r);else if(o&&a===c)return sh(s,t)}let d=s.replace(/\n+/g,`$& 8${a}`);if(l){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return sh(s,t)}return o?d:sa(d,a,ss,su(t,!1))}(l,t,n,r);default:return null}},c=a(o);if(null===c){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(null===(c=a(r)))throw Error(`Unsupported default string type ${r}`)}return c}function sy(e,t){let n,r=Object.assign({blockQuote:!0,commentString:sn,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function sx(e,t,n,r){let i;if(iP(e))return e.toString(t,n,r);if(iM(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s=iR(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??(i=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(ij(t)){n=t.value;let i=e.filter(e=>e.identify?.(n));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}r=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??(null===n?"null":typeof n);throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,s));let l=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],s=(ij(e)||iF(e))&&e.anchor;s&&iZ(s)&&(n.add(s),i.push(`&${s}`));let l=e.tag??(t.default?null:t.tag);return l&&i.push(r.directives.tagString(l)),i.join(" ")}(s,i,t);l.length>0&&(t.indentAtStart=(t.indentAtStart??0)+l.length+1);let o="function"==typeof i.stringify?i.stringify(s,t,n,r):ij(s)?sg(s,t,n,r):s.toString(t,n,r);
8return l?ij(s)||"{"===o[0]||"["===o[0]?`${l} ${o}`:`${l} 9${t.indent}${o}`:o}function sv(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let sb={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new i9(Symbol("<<")),{addToJSMap:sS}),stringify:()=>"<<"},sw=(e,t)=>(sb.identify(t)||ij(t)&&(!t.type||t.type===i9.PLAIN)&&sb.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===sb.tag&&e.default);function sS(e,t,n){if(iD(n=e&&iM(n)?n.resolve(e.doc):n))for(let r of n.items)sk(e,t,r);else if(Array.isArray(n))for(let r of n)sk(e,t,r);else sk(e,t,n)}function sk(e,t,n){let r=e&&iM(n)?n.resolve(e.doc):n;if(!iN(r))throw Error("Merge sources must be maps or map aliases");for(let[n,i]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,i):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function sE(e,t,{key:n,value:r}){if(iR(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(sw(e,n))sS(e,t,r);else{let i=i3(n,"",e);if(t instanceof Map)t.set(i,i3(r,i,e));else if(t instanceof Set)t.add(i);else{let s=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(iR(e)&&n?.doc){let t=sy(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),sv(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,i,e),l=i3(r,s,e);s in t?Object.defineProperty(t,s,{value:l,writable:!0,enumerable:!0,configurable:!0}):t[s]=l}}return t}function sT(e,t,n){return new sC(i7(e,void 0,n),i7(t,void 0,n))}class sC{constructor(e,t=null){Object.defineProperty(this,iL,{value:iA}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return iR(t)&&(t=t.clone(e)),iR(n)&&(n=n.clone(e)),new sC(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return sE(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,i){let s,l,o,{allNullValues:a,doc:c,indent:u,indentStep:d,options:{commentString:p,indentSeq:f,simpleKeys:h}}=n,m=iR(e)&&e.comment||null;if(h){if(m)throw Error("With simple keys, key nodes cannot have comments");if(iF(e)||!iR(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let g=!h&&(!e||m&&null==t&&!n.inFlow||iF(e)||(ij(e)?e.type===i9.BLOCK_FOLDED||e.type===i9.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(h||!a),indent:u+d});let y=!1,x=!1,v=sx(e,n,()=>y=!0,()=>x=!0);if(!g&&!n.inFlow&&v.length>1024){if(h)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(a||null==t)return y&&r&&r(),""===v?"?":g?`? ${v}`:v}else if(a&&!h||null==t&&g)return v=`? ${v}`,m&&!y?v+=si(v,n.indent,p(m)):x&&i&&i(),v;y&&(m=null),g?(m&&(v+=si(v,n.indent,p(m))),v=`? ${v} 10${u}:`):(v=`${v}:`,m&&(v+=si(v,n.indent,p(m)))),iR(t)?(s=!!t.spaceBefore,l=t.commentBefore,o=t.comment):(s=!1,l=null,o=null,t&&"object"==typeof t&&(t=c.createNode(t))),n.implicitKey=!1,!g&&!m&&ij(t)&&(n.indentAtStart=v.length+1),x=!1,!(!f&&d.length>=2&&!n.inFlow&&!g&&iD(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let b=!1,w=sx(t,n,()=>b=!0,()=>x=!0),S=" ";if(m||s||l){if(S=s?"\n":"",l){let e=p(l);S+=` 11${sr(e,n.indent)}`}""!==w||n.inFlow?S+=` 12${n.indent}`:"\n"===S&&(S="\n\n")}else if(!g&&iF(t)){let e=w[0],r=w.indexOf("\n"),i=-1!==r,s=n.inFlow??t.flow??0===t.items.length;if(i||!s){let t=!1;if(i&&("&"===e||"!"===e)){let n=w.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===w[n+1]&&(n=w.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(S=` 13${n.indent}`)}}else(""===w||"\n"===w[0])&&(S="");return v+=S+w,n.inFlow?b&&r&&r():o&&!b?v+=si(v,n.indent,p(o)):x&&i&&i(),v}(this,e,t,n):JSON.stringify(this)}}function sA(e,t,n){return(t.inFlow??e.flow?function({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:s,flowCollectionPadding:l,options:{commentString:o}}=t,a=Object.assign({},t,{indent:r+=s,inFlow:!0,type:null}),c=!1,u=0,d=[];for(let n=0;n<e.length;++n){let i=e[n],s=null;if(iR(i))i.spaceBefore&&d.push(""),sI(t,d,i.commentBefore,!1),i.comment&&(s=i.comment);else if(iP(i)){let e=iR(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(""),sI(t,d,e.commentBefore,!1),e.comment&&(c=!0));let n=iR(i.value)?i.value:null;n?(n.comment&&(s=n.comment),n.commentBefore&&(c=!0)):null==i.value&&e?.comment&&(s=e.comment)}s&&(c=!0);let l=sx(i,a,()=>s=null);n<e.length-1&&(l+=","),s&&(l+=si(l,r,o(s))),!c&&(d.length>u||l.includes("\n"))&&(c=!0),d.push(l),u=d.length}let{start:p,end:f}=n;if(0===d.length)return p+f;if(!c){let e=d.reduce((e,t)=>
13e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(!c)return`${p}${l}${d.join(" ")}${l}${f}`;{let e=p;for(let t of d)e+=t?` 14${s}${i}${t}`:"\n";return`${e} 15${i}${f}`}}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:l,onComment:o}){let a,{indent:c,options:{commentString:u}}=n,d=Object.assign({},n,{indent:s,type:null}),p=!1,f=[];for(let e=0;e<t.length;++e){let i=t[e],l=null;if(iR(i))!p&&i.spaceBefore&&f.push(""),sI(n,f,i.commentBefore,p),i.comment&&(l=i.comment);else if(iP(i)){let e=iR(i.key)?i.key:null;e&&(!p&&e.spaceBefore&&f.push(""),sI(n,f,e.commentBefore,p))}p=!1;let o=sx(i,d,()=>l=null,()=>p=!0);l&&(o+=si(o,s,u(l))),p&&l&&(p=!1),f.push(r+o)}if(0===f.length)a=i.start+i.end;else{a=f[0];for(let e=1;e<f.length;++e){let t=f[e];a+=t?` 16${c}${t}`:"\n"}}return e?(a+="\n"+sr(u(e),c),o&&o()):p&&l&&l(),a})(e,t,n)}function sI({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){let i=sr(t(r),e);n.push(i.trimStart())}}function sO(e,t){let n=ij(t)?t.value:t;for(let r of e)if(iP(r)&&(r.key===t||r.key===n||ij(r.key)&&r.key.value===n))return r}class sL extends st{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(iC,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,s=new this(e),l=(e,l)=>{if("function"==typeof i)l=i.call(t,e,l);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==l||r)&&s.items.push(sT(e,l,n))};if(t instanceof Map)for(let[e,n]of t)l(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))l(e,t[e]);return"function"==typeof e.sortMapEntries&&s.items.sort(e.sortMapEntries),s}add(e,t){let n;n=iP(e)?e:e&&"object"==typeof e&&"key"in e?new sC(e.key,e.value):new sC(e,e?.value);let r=sO(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);ij(r.value)&&i6(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=sO(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=sO(this.items,e),r=n?.value;return(!t&&ij(r)?r.value:r)??void 0}has(e){return!!sO(this.items,e)}set(e,t){this.add(new sC(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))sE(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!iP(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),sA(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let sM={collection:"map",default:!0,nodeClass:sL,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(iN(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>sL.from(e,t,n)};class s_ extends st{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(iO,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=sN(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=sN(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&ij(r)?r.value:r}has(e){let t=sN(e);return"number"==typeof t&&t<this.items.length}set(e,t){let n=sN(e);if("number"!=typeof n)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];ij(r)&&i6(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(i3(e,String(r++),t));return n}toString(e,t,n){return e?sA(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof r){let n=t instanceof Set?s:String(e++);s=r.call(t,n,s)}i.items.push(i7(s,void 0,n))}}return i}}function sN(e){let t=ij(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let sP={collection:"seq",default:!0,nodeClass:s_,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>
16(iD(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>s_.from(e,t,n)},sj={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>sg(e,t=Object.assign({actualString:!0},t),n,r)},sD={identify:e=>null==e,createNode:()=>new i9(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new i9(null),stringify:({source:e},t)=>"string"==typeof e&&sD.test.test(e)?e:t.options.nullStr},sF={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new i9("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&sF.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function sR({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let i="number"==typeof r?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(s)){let e=s.indexOf(".");e<0&&(e=s.length,s+=".");let n=t-(s.length-e-1);for(;n-- >0;)s+="0"}return s}let sB={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:sR},sz={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():sR(e)}},s$={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new i9(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:sR},sJ=e=>"bigint"==typeof e||Number.isInteger(e),sV=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function sq(e,t,n){let{value:r}=e;return sJ(r)&&r>=0?n+r.toString(t):sR(e)}let sU={identify:e=>sJ(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>sV(e,2,8,n),stringify:e=>sq(e,8,"0o")},sX={identify:sJ,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>sV(e,0,10,n),stringify:sR},sH={identify:e=>sJ(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>sV(e,2,16,n),stringify:e=>sq(e,16,"0x")},sW=[sM,sP,sj,sD,sF,sU,sX,sH,sB,sz,s$];function sK(e){return"bigint"==typeof e||Number.isInteger(e)}let sG=({value:e})=>JSON.stringify(e),sY=[sM,sP].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:sG},{identify:e=>null==e,createNode:()=>new i9(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:sG},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:sG},{identify:sK,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>sK(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:sG}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),sQ={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}},stringify({comment:e,type:t,value:n},r,i,s){let l;if(!n)return"";if("function"==typeof btoa){let e="";for(let t=0;t<n.length;++t)e+=String.fromCharCode(n[t]);l=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=i9.BLOCK_LITERAL),t!==i9.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(l.length/e),i=Array(n);for(let t=0,r=0;t<n;++t,r+=e)i[t]=l.substr(r,e);l=i.join(t===i9.BLOCK_LITERAL?"\n":" ")}return sg({comment:e,type:t,value:l},r,i,s)}};function sZ(e,t){if(iD(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!iP(r)){if(iN(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new sC(new i9(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} 17${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} 18${t.comment}`:r.comment}r=e}e.items[n]=iP(r)?r:new sC(r)}}else t("Expected a sequence for this tag");return e}function s0(e,t,n){let{replacer:r}=n,i=new s_(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let l,o;if("function"==typeof r&&(e=r.call(t,String(s++),e)),Array.isArray(e))if(2===e.length)l=e[0],o=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)o=e[l=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else l=e;i.items.push(sT(l,o,n))}return i}let s1={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:sZ,createNode:s0};class s2 extends s_{constructor(){super(),this.add=sL.prototype.add.bind(this),this.delete=sL.prototype.delete.bind(this),this.get=sL.prototype.get.bind(this),this.has=sL.prototype.has.bind(this),this.set=sL.prototype.set.bind(this),this.tag=s2.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,i;if(iP(e)?(r=i3(e.key,"",t),i=i3(e.value,r,t)):r=i3(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,i)}return n}static from(e,t,n){let r=s0(e,t,n),i=new this;return i.items=r.items,i}}s2.tag="tag:yaml.org,2002:omap";let s3={collection:"seq",identify:e=>e instanceof Map,nodeClass:s2,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=sZ(e,t),r=[];for(let{key:e}of n.items)ij(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new s2,n)},createNode:(e,t,n)=>s2.from(e,t,n)};function s4({value:e,source:t},n){return t&&(e?s5:s6).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let s5={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new i9(!0),stringify:s4},s6={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new i9(!1),stringify:s4},s9=e=>"bigint"==typeof e||Number.isInteger(e);function s7(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;
18case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function s8(e,t,n){let{value:r}=e;if(s9(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return sR(e)}class le extends sL{constructor(e){super(e),this.tag=le.tag}add(e){let t;t=iP(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new sC(e.key,null):new sC(e,null),sO(this.items,t.key)||this.items.push(t)}get(e,t){let n=sO(this.items,e);return!t&&iP(n)?ij(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=sO(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new sC(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(sT(e,null,n));return i}}le.tag="tag:yaml.org,2002:set";let lt={collection:"map",identify:e=>e instanceof Set,nodeClass:le,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>le.from(e,t,n),resolve(e,t){if(iN(e))if(e.hasAllNullValues(!0))return Object.assign(new le,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}};function ln(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),s=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*s:s}function lr(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return sR(e);let r="";t<0&&(r="-",t*=n(-1));let i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let li={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>ln(e,n),stringify:lr},ls={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>ln(e,!1),stringify:lr},ll={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(ll.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,s,l,o]=t.map(Number),a=Date.UTC(n,r-1,i,s||0,l||0,o||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=ln(c,!1);30>Math.abs(e)&&(e*=60),a-=6e4*e}return new Date(a)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},lo=[sM,sP,sj,sD,s5,s6,{identify:s9,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>s7(e,2,2,n),stringify:e=>s8(e,2,"0b")},{identify:s9,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>s7(e,1,8,n),stringify:e=>s8(e,8,"0")},{identify:s9,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>s7(e,0,10,n),stringify:sR},{identify:s9,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>s7(e,2,16,n),stringify:e=>s8(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:sR},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():sR(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new i9(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:sR},sQ,sb,s3,s1,lt,li,ls,ll],la=new Map([["core",sW],["failsafe",[sM,sP,sj]],["json",sY],["yaml11",lo],["yaml-1.1",lo]]),lc={binary:sQ,bool:sF,float:s$,floatExp:sz,floatNaN:sB,floatTime:ls,int:sX,intHex:sH,intOct:sU,intTime:li,map:sM,merge:sb,null:sD,omap:s3,pairs:s1,seq:sP,set:lt,timestamp:ll},lu={"tag:yaml.org,2002:binary":sQ,"tag:yaml.org,2002:merge":sb,"tag:yaml.org,2002:omap":s3,"tag:yaml.org,2002:pairs":s1,"tag:yaml.org,2002:set":lt,"tag:yaml.org,2002:timestamp":ll};function ld(e,t,n){let r=la.get(t);if(r&&!e)return n&&!r.includes(sb)?r.concat(sb):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(la.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else"function"==typeof e&&(i=e(i.slice()));return n&&(i=i.concat(sb)),i.reduce((e,t)=>
18{let n="string"==typeof t?lc[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(lc).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}let lp=(e,t)=>e.key<t.key?-1:+(e.key>t.key);class lf{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:s,toStringDefaults:l}){this.compat=Array.isArray(e)?ld(e,"compat"):e?ld(null,e):null,this.name="string"==typeof i&&i||"core",this.knownTags=r?lu:{},this.tags=ld(t,this.name,n),this.toStringOptions=l??null,Object.defineProperty(this,iC,{value:sM}),Object.defineProperty(this,iI,{value:sj}),Object.defineProperty(this,iO,{value:sP}),this.sortMapEntries="function"==typeof s?s:!0===s?lp:null}clone(){let e=Object.create(lf.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class lh{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,iL,{value:iT});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new iQ({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(lh.prototype,{[iL]:{value:iT}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=iR(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){lm(this.contents)&&this.contents.add(e)}addIn(e,t){lm(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=i0(this);e.anchor=!t||n.has(t)?i1(t||"a",n):t}return new i5(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:l,keepUndefined:o,onTagObj:a,tag:c}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??(i=i0(e));let s=i1(t,i);return i.add(s),s},setAnchors:()=>{for(let e of n){let t=r.get(e);if("object"==typeof t&&t.anchor&&(ij(t.node)||iF(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:r}}(this,s||"a"),f={aliasDuplicateObjects:i??!0,keepUndefined:o??!1,onAnchor:u,onTagObj:a,replacer:r,schema:this.schema,sourceObjects:p},h=i7(e,c,f);return l&&iF(h)&&(h.flow=!0),d(),h}createPair(e,t,n={}){return new sC(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!lm(this.contents)&&this.contents.delete(e)}deleteIn(e){return se(e)?null!=this.contents&&(this.contents=null,!0):!!lm(this.contents)&&this.contents.deleteIn(e)}get(e,t){return iF(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return se(e)?!t&&ij(this.contents)?this.contents.value:this.contents:iF(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!iF(this.contents)&&this.contents.has(e)}hasIn(e){return se(e)?void 0!==this.contents:!!iF(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=i8(this.schema,[e],t):lm(this.contents)&&this.contents.set(e,t)}setIn(e,t){se(e)?this.contents=t:null==this.contents?this.contents=i8(this.schema,Array.from(e),t):lm(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new iQ({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new iQ({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new lf(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){let l={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},o=i3(this.contents,t??"",l);if("function"==typeof i)for(let{count:e,res:t}of l.anchors.values())i(t,e);return"function"==typeof s?i2(s,{"":o},"",o):o}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let i=sy(e,t),{commentString:s}=i.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=s(e.commentBefore);n.unshift(sr(t,""))}let l=!1,o=null;if(e.contents){if(iR(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=s(e.contents.commentBefore);n.push(sr(t,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}let t=o?void 0:()=>l=!0,a=sx(e.contents,i,()=>o=null,t);o&&(a+=si(a,"",s(o))),("|"===a[0]||">"===a[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${a}`:n.push(a)}else n.push(sx(e.contents,i));if(e.directives?.docEnd)if(e.comment){let t=s(e.comment);t.includes("\n")?(n.push("..."),n.push(sr(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&l&&(t=t.replace(/^\n+/,"")),t&&((!l||o)&&""!==n[n.length-1]&&n.push(""),n.push(sr(s(t),"")))}return n.join("\n")+"\n"}(this,e)}}function lm(e){if(iF(e))return!0;throw Error("Expected a YAML collection as document contents")}
18class lg extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class ly extends lg{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class lx extends lg{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let lv=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,l=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&l.length>80){let e=Math.min(s-39,l.length-79);l="â¦"+l.substring(e),s-=e-1}if(l.length>80&&(l=l.substring(0,79)+"â¦"),r>1&&/^ *$/.test(l.substring(0,s))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"â¦\n"),l=n+l}if(/[^ ]/.test(l)){let e=1,t=n.linePos[1];t&&t.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-s)));let o=" ".repeat(s)+"^".repeat(e);n.message+=`: 19 20${l} 21${o} 22`}};function lb(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:l,startOnNewline:o}){let a=!1,c=o,u=o,d="",p="",f=!1,h=!1,m=null,g=null,y=null,x=null,v=null,b=null,w=null;for(let i of e)switch(h&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&s(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),m&&(c&&"comment"!==i.type&&"newline"!==i.type&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),i.type){case"space":!t&&("doc-start"!==n||r?.type!=="flow-collection")&&i.source.includes(" ")&&(m=i),u=!0;break;case"comment":{u||s(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=i.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=i.source:b&&"seq-item-ind"===n||(a=!0):p+=i.source,c=!0,f=!0,(g||y)&&(x=i),u=!0;break;case"anchor":g&&s(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&s(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=i,w??(w=i.offset),c=!1,u=!1,h=!0;break;case"tag":y&&s(i,"MULTIPLE_TAGS","A node can have at most one tag"),y=i,w??(w=i.offset),c=!1,u=!1,h=!0;break;case n:(g||y)&&s(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),b&&s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${t??"collection"}`),b=i,c="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(t){v&&s(i,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),v=i,c=!1,u=!1;break}default:s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),c=!1,u=!1}let S=e[e.length-1],k=S?S.offset+S.source.length:i;return h&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:v,found:b,spaceBefore:a,comment:d,hasNewline:f,anchor:g,tag:y,newlineAfterProp:x,end:k,start:w??k}}function lw(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(lw(t.key)||lw(t.value))return!0}return!1;default:return!0}}function lS(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&lw(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function lk(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let i="function"==typeof r?r:(e,t)=>e===t||ij(e)&&ij(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}let lE="All mapping items must start at the same column";function lT(e,t,n,r){let i="";if(e){let s=!1,l="";for(let o of e){let{source:e,type:a}=o;switch(a){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";i?i+=l+t:i=t,l="";break}case"newline":i&&(l+=e),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}t+=e.length}}return{comment:i,offset:t}}let lC="Block collections are not allowed within flow collections",lA=e=>e&&("block-map"===e.type||"block-seq"===e.type);function lI(e,t,n,r,i,s){let l="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let l=new(s?.nodeClass??sL)(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,a=null;for(let s of r.items){let{start:c,key:u,sep:d,value:p}=s,f=lb(c,{indicator:"explicit-key-ind",next:u??d?.[0],offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0}),h=!f.found;if(h){if(u&&("block-seq"===u.type?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&i(o,"BAD_INDENT",lE)),!f.anchor&&!f.tag&&!d){a=f.end,f.comment&&(l.comment?l.comment+="\n"+f.comment:l.comment=f.comment);continue}(f.newlineAfterProp||lw(u))&&i(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==r.indent&&i(o,"BAD_INDENT",lE);n.atKey=!0;let m=f.end,g=u?e(n,u,f,i):t(n,m,c,null,f,i);n.schema.compat&&lS(r.indent,u,i),n.atKey=!1,lk(n,l.items,g)&&i(m,"DUPLICATE_KEY","Map ke
22ys must be unique");let y=lb(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type});if(o=y.end,y.found){h&&(p?.type!=="block-map"||y.hasNewline||i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start<y.found.offset-1024&&i(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let a=p?e(n,p,y,i):t(n,o,d,null,y,i);n.schema.compat&&lS(r.indent,p,i),o=a.range[2];let c=new sC(g,a);n.options.keepSourceTokens&&(c.srcToken=s),l.items.push(c)}else{h&&i(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let e=new sC(g);n.options.keepSourceTokens&&(e.srcToken=s),l.items.push(e)}}return a&&a<o&&i(a,"IMPOSSIBLE","Map comment with trailing content"),l.range=[r.offset,o,a??o],l}(e,t,n,r,s):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let l=new(s?.nodeClass??s_)(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let o=r.offset,a=null;for(let{start:s,value:c}of r.items){let u=lb(s,{indicator:"seq-item-ind",next:c,offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||c)c&&"block-seq"===c.type?i(u.end,"BAD_INDENT","All sequence items must start at the same column"):i(o,"MISSING_CHAR","Sequence item without - indicator");else{a=u.end,u.comment&&(l.comment=u.comment);continue}let d=c?e(n,c,u,i):t(n,u.end,s,null,u,i);n.schema.compat&&lS(r.indent,c,i),o=d.range[2],l.items.push(d)}return l.range=[r.offset,o,a??o],l}(e,t,n,r,s):function({composeNode:e,composeEmptyNode:t},n,r,i,s){let l="{"===r.start.source,o=l?"flow map":"flow sequence",a=new(s?.nodeClass??(l?sL:s_))(n.schema);a.flow=!0;let c=n.atRoot;c&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let u=r.offset+r.start.source.length;for(let s=0;s<r.items.length;++s){let c=r.items[s],{start:d,key:p,sep:f,value:h}=c,m=lb(d,{flow:o,indicator:"explicit-key-ind",next:p??f?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!m.found){if(!m.anchor&&!m.tag&&!f&&!h){0===s&&m.comma?i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):s<r.items.length-1&&i(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),m.comment&&(a.comment?a.comment+="\n"+m.comment:a.comment=m.comment),u=m.end;continue}!l&&n.options.strict&&lw(p)&&i(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===s)m.comma&&i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(m.comma||i(m.start,"MISSING_CHAR",`Missing , between ${o} items`),m.comment){let e="";e:for(let t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=a.items[a.items.length-1];iP(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(l||f||m.found){n.atKey=!0;let s=m.end,g=p?e(n,p,m,i):t(n,s,d,null,m,i);lA(p)&&i(g.range,"BLOCK_IN_FLOW",lC),n.atKey=!1;let y=lb(f??[],{flow:o,indicator:"map-value-ind",next:h,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(y.found){if(!l&&!m.found&&n.options.strict){if(f)for(let e of f){if(e===y.found)break;if("newline"===e.type){i(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<y.found.offset-1024&&i(y.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source&&":"===h.source[0]?i(h,"MISSING_CHAR",`Missing space after : in ${o}`):i(y.start,"MISSING_CHAR",`Missing , or : between ${o} items`));let x=h?e(n,h,y,i):y.found?t(n,y.end,f,null,y,i):null;x?lA(h)&&i(x.range,"BLOCK_IN_FLOW",lC):y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let v=new sC(g,x);if(n.options.keepSourceTokens&&(v.srcToken=c),l)lk(n,a.items,g)&&i(s,"DUPLICATE_KEY","Map keys must be unique"),a.items.push(v);else{let e=new sL(n.schema);e.flow=!0,e.items.push(v);let t=(x??g).range;e.range=[g.range[0],t[1],t[2]],a.items.push(e)}u=x?x.range[2]:y.end}else{let r=h?e(n,h,m,i):t(n,m.end,f,null,m,i);a.items.push(r),u=r.range[2],lA(h)&&i(r.range,"BLOCK_IN_FLOW",lC)}}let d=l?"}":"]",[p,...f]=r.end,h=u;if(p&&p.source===d)h=p.offset+p.source.length;else{let e=o[0].toUpperCase()+o.substring(1),t=c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;i(u,c?"MISSING_CHAR":"BAD_INDENT",t),p&&1!==p.source.length&&f.unshift(p)}if(f.length>0){let e=lT(f,h,n.options.strict,i);e.comment&&(a.comment?a.comment+="\n"+e.comment:a.comment=e.comment),a.range=[r.offset,h,e.offset]}else a.range=[r.offset,h,h];return a}
22(e,t,n,r,s),o=l.constructor;return"!"===i||i===o.tagName?l.tag=o.tagName:i&&(l.tag=i),l}function lO(e,t,n){let r=t.offset,i=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=t[0],s=i[0],l=0,o="",a=-1;for(let t=1;t<i.length;++t){let n=i[t];if(o||"-"!==n&&"+"!==n){let r=Number(n);!l&&r?l=r:-1===a&&(a=e+t)}else o=n}-1!==a&&r(a,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,u="",d=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case"space":c=!0;case"newline":d+=i.source.length;break;case"comment":n&&!c&&r(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=i.source.length,u=i.source.substring(1);break;case"error":r(i,"UNEXPECTED_TOKEN",i.message),d+=i.source.length;break;default:{let e=`Unexpected token in block scalar header: ${i.type}`;r(i,"UNEXPECTED_TOKEN",e);let t=i.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:s,indent:l,chomp:o,comment:u,length:d}}(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};let s=">"===i.mode?i9.BLOCK_FOLDED:i9.BLOCK_LITERAL,l=t.source?function(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}(t.source):[],o=l.length;for(let e=l.length-1;e>=0;--e){let t=l[e][1];if(""===t||"\r"===t)o=e;else break}if(0===o){let e="+"===i.chomp&&l.length>0?"\n".repeat(Math.max(1,l.length-1)):"",n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:i.comment,range:[r,n,n]}}let a=t.indent+i.indent,c=t.offset+i.length,u=0;for(let t=0;t<o;++t){let[r,s]=l[t];if(""===s||"\r"===s)0===i.indent&&r.length>a&&(a=r.length);else{r.length<a&&n(c+r.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===i.indent&&(a=r.length),u=t,0!==a||e.atRoot||n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=r.length+s.length+1}for(let e=l.length-1;e>=o;--e)l[e][0].length>a&&(o=e+1);let d="",p="",f=!1;for(let e=0;e<u;++e)d+=l[e][0].slice(a)+"\n";for(let e=u;e<o;++e){let[t,r]=l[e];c+=t.length+r.length+1;let o="\r"===r[r.length-1];if(o&&(r=r.slice(0,-1)),r&&t.length<a){let e=i.indent?"explicit indentation indicator":"first line",s=`Block scalar lines must not be less indented than their ${e}`;n(c-r.length-(o?2:1),"BAD_INDENT",s),t=""}s===i9.BLOCK_LITERAL?(d+=p+t.slice(a)+r,p="\n"):t.length>a||" "===r[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),d+=p+t.slice(a)+r,p="\n",f=!0):""===r?"\n"===p?d+="\n":p="\n":(d+=p+r,p=" ",f=!1)}switch(i.chomp){case"-":break;case"+":for(let e=o;e<l.length;++e)d+="\n"+l[e][0].slice(a);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}let h=r+i.length+t.source.length;return{value:d,type:s,comment:i.comment,range:[r,h,h]}}function lL(e,t,n){let r,i,{offset:s,type:l,source:o,end:a}=e,c=(e,t,r)=>n(s+e,t,r);switch(l){case"scalar":r=i9.PLAIN,i=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),lM(e)}(o,c);break;case"single-quoted-scalar":var u,d;r=i9.QUOTE_SINGLE,u=o,d=c,("'"!==u[u.length-1]||1===u.length)&&d(u.length,"MISSING_CHAR","Missing closing 'quote"),i=lM(u.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=i9.QUOTE_DOUBLE,i=function(e,t){let n="";for(let r=1;r<e.length-1;++r){let i=e[r];if("\r"!==i||"\n"!==e[r+1])if("\n"===i){let{fold:t,offset:i}=function(e,t){let n="",r=e[t+1];for(;(" "===r||" "===r||"\n"===r||"\r"===r)&&("\r"!==r||"\n"===e[t+2]);)"\n"===r&&(n+="\n"),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}(e,r);n+=t,r=i}else if("\\"===i){let i=e[++r],s=l_[i];if(s)n+=s;else if("\n"===i)for(i=e[r+1];" "===i||" "===i;)i=e[++r+1];else if("\r"===i&&"\n"===e[r+1])for(i=e[++r+1];" "===i||" "===i;)i=e[++r+1];else if("x"===i||"u"===i||"U"===i){let s={x:2,u:4,U:8}[i];n+=function(e,t,n,r){let i=e.substr(t,n),s=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(s)){let i=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),i}return String.fromCodePoint(s)}(e,r+1,s,t),r+=s}else{let i=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),n+=i}}else if(" "===i||" "===i){let t=r,s=e[r+1];for(;" "===s||" "===s;)s=e[++r+1];"\n"!==s&&("\r"!==s||"\n"!==e[r+2])&&(n+=r>t?e.slice(t,r+1):i)}else n+=i}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(o,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${l}`),{value:"",type:null,comment:"",range:[s,s+o.length,s+o.length]}}let p=s+o.length,f=lT(a,p,t,n);return{value:i,type:r,comment:f.comment,range:[s,p,f.offset]}}function lM(e){let t,n;
22try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),n=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",l=t.lastIndex;for(n.lastIndex=l;r=n.exec(e);)""===r[1]?"\n"===s?i+=s:s="\n":(i+=s+r[1],s=" "),l=n.lastIndex;let o=/[ \t]*(.*)/sy;return o.lastIndex=l,r=o.exec(e),i+s+(r?.[1]??"")}let l_={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function lN(e,t,n,r){let i,s,{value:l,type:o,comment:a,range:c}="block-scalar"===t.type?lO(e,t,r):lL(t,e.options.strict,r),u=n?e.directives.tagName(n.source,e=>r(n,"TAG_RESOLVE_FAILED",e)):null;i=e.options.stringKeys&&e.atKey?e.schema[iI]:u?function(e,t,n,r,i){if("!"===n)return e[iI];let s=[];for(let t of e.tags)if(!t.collection&&t.tag===n)if(!t.default||!t.test)return t;else s.push(t);for(let e of s)if(e.test?.test(t))return e;let l=e.knownTags[n];return l&&!l.collection?(e.tags.push(Object.assign({},l,{default:!1,test:void 0})),l):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[iI])}(e.schema,l,u,n,r):"scalar"===t.type?function({atKey:e,directives:t,schema:n},r,i,s){let l=n.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r))||n[iI];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[iI];if(l.tag!==e.tag){let n=t.tagString(l.tag),r=t.tagString(e.tag);s(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${n} or ${r}`,!0)}}return l}(e,l,t,r):e.schema[iI];try{let o=i.resolve(l,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);s=ij(o)?o:new i9(o)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),s=new i9(l)}return s.range=c,s.source=l,o&&(s.type=o),u&&(s.tag=u),i.format&&(s.format=i.format),a&&(s.comment=a),s}let lP={composeNode:lj,composeEmptyNode:lD};function lj(e,t,n,r){let i,s=e.atKey,{spaceBefore:l,comment:o,anchor:a,tag:c}=n,u=!0;switch(t.type){case"alias":i=function({options:e},{offset:t,source:n,end:r},i){let s=new i5(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let l=t+n.length,o=lT(r,l,e.strict,i);return s.range=[t,l,o.offset],o.comment&&(s.comment=o.comment),s}(e,t,r),(a||c)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":i=lN(e,t,c,r),a&&(i.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":i=function(e,t,n,r,i){let s=r.tag,l=s?t.directives.tagName(s.source,e=>i(s,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===n.type){let{anchor:e,newlineAfterProp:t}=r,n=e&&s?e.offset>s.offset?e:s:e??s;n&&(!t||t.offset<n.offset)&&i(n,"MISSING_CHAR","Missing newline after block sequence props")}let o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!s||!l||"!"===l||l===sL.tagName&&"map"===o||l===s_.tagName&&"seq"===o)return lI(e,t,n,i,l);let a=t.schema.tags.find(e=>e.tag===l&&e.collection===o);if(!a){let r=t.schema.knownTags[l];if(!r||r.collection!==o)return r?i(s,"BAD_COLLECTION_TYPE",`${r.tag} used for ${o} collection, but expects ${r.collection??"scalar"}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${l}`,!0),lI(e,t,n,i,l);t.schema.tags.push(Object.assign({},r,{default:!1})),a=r}let c=lI(e,t,n,i,l,a),u=a.resolve?.(c,e=>i(s,"TAG_RESOLVE_FAILED",e),t.options)??c,d=iR(u)?u:new i9(u);return d.range=c.range,d.tag=l,a?.format&&(d.format=a.format),d}(lP,e,t,n,r),a&&(i.anchor=a.source.substring(1));break;default:{let s="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",s),i=lD(e,t.offset,void 0,null,n,r),u=!1}}return a&&""===i.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),s&&e.options.stringKeys&&(!ij(i)||"string"!=typeof i.value||i.tag&&"tag:yaml.org,2002:str"!==i.tag)&&r(c??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),l&&(i.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?i.comment=o:i.commentBefore=o),e.options.keepSourceTokens&&u&&(i.srcToken=t),i}function lD(e,t,n,r,{spaceBefore:i,comment:s,anchor:l,tag:o,end:a},c){let u=lN(e,{type:"scalar",offset:function(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},o,c);return l&&(u.anchor=l.source.substring(1),""===u.anchor&&c(l,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),s&&(u.comment=s,u.range[2]=a),u}function lF(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function lR(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){let s=e[i];switch(s[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class lB{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let i=lF(e);r?this.warnings.push(new lx(i,t,n)):this.errors.push(new ly(i,t,n))},this.directives=new iQ({version:e.version||"1.2"}),this.options=e}
vendor: 4,242 bytes, lines 22-26
22decorate(e,t){let{comment:n,afterEmptyLine:r}=lR(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment} 23${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(iF(i)&&!i.flow&&i.items.length>0){let e=i.items[0];iP(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} 24${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n} 25${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:lR(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let i=lF(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:i,end:s},l){let o=new lh(void 0,Object.assign({_directives:t},e)),a={atKey:!1,atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},c=lb(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:l,parentIndent:0,startOnNewline:!0});c.found&&(o.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!c.hasNewline&&l(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=i?lj(a,i,c,l):lD(a,c.end,r,null,c,l);let u=o.contents.range[2],d=lT(s,u,!1,l);return d.comment&&(o.comment=d.comment),o.range=[n,u,d.offset],o}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new ly(lF(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new ly(lF(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=lT(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} 26${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new ly(lF(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new lh(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function lz(e,t=!0,n){if(e){let r=(e,t,r)=>{let i="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(n)n(i,t,r);else throw new ly([i,i+1],t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return lL(e,t,r);case"block-scalar":return lO({options:{strict:t}},e,r)}}return null}function l$(e,t){let{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:s=-1,type:l="PLAIN"}=t,o=sg({type:l,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),a=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(o[0]){case"|":case">":{let e=o.indexOf("\n"),t=o.substring(0,e),n=o.substring(e+1)+"\n",i=[{type:"block-scalar-header",offset:s,indent:r,source:t}];return lV(i,a)||i.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:s,indent:r,props:i,source:n}}case'"':return{type:"double-quoted-scalar",offset:s,indent:r,source:o,end:a};case"'":return{type:"single-quoted-scalar",offset:s,indent:r,source:o,end:a};default:return{type:"scalar",offset:s,indent:r,source:o,end:a}}}function lJ(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:s=!1,type:l}=n,o="indent"in e?e.indent:null;if(r&&"number"==typeof o&&(o+=2),!l)switch(e.type){case"single-quoted-scalar":l="QUOTE_
26SINGLE";break;case"double-quoted-scalar":l="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");l=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:l="PLAIN"}let a=sg({type:l,value:t},{implicitKey:i||null===o,indent:null!==o&&o>0?" ".repeat(o):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(a[0]){case"|":case">":!function(e,t){let n=t.indexOf("\n"),r=t.substring(0,n),i=t.substring(n+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=r,e.source=i}else{let{offset:t}=e,n="indent"in e?e.indent:-1,s=[{type:"block-scalar-header",offset:t,indent:n,source:r}];for(let t of(lV(s,"end"in e?e.end:void 0)||s.push({type:"newline",offset:-1,indent:n,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:s,source:i})}}(e,a);break;case'"':lq(e,a,"double-quoted-scalar");break;case"'":lq(e,a,"single-quoted-scalar");break;default:lq(e,a,"scalar")}}function lV(e,t){if(t)for(let n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function lq(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),i=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(i-=e.props[0].source.length),r))t.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{let r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,i="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}let lU=e=>"type"in e?lX(e):lH(e);function lX(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=lX(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let n of e.items)t+=lH(n);return t}case"flow-collection":{let t=e.start.source;for(let n of e.items)t+=lH(n);for(let n of e.end)t+=n.source;return t}case"document":{let t=lH(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function lH({start:e,key:t,sep:n,value:r}){let i="";for(let t of e)i+=t.source;if(t&&(i+=lX(t)),n)for(let e of n)i+=e.source;return r&&(i+=lX(r)),i}let lW=Symbol("break visit"),lK=Symbol("skip children"),lG=Symbol("remove item");function lY(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let i=r(n,t);if("symbol"==typeof i)return i;for(let s of["key","value"]){let l=n[s];if(l&&"items"in l){for(let n=0;n<l.items.length;++n){let i=e(Object.freeze(t.concat([[s,n]])),l.items[n],r);if("number"==typeof i)n=i-1;else{if(i===lW)return lW;i===lG&&(l.items.splice(n,1),n-=1)}}"function"==typeof i&&"key"===s&&(i=i(n,t))}}return"function"==typeof i?i(n,t):i}(Object.freeze([]),e,t)}lY.BREAK=lW,lY.SKIP=lK,lY.REMOVE=lG,lY.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},lY.parentCollection=(e,t)=>{let n=lY.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw Error("Parent collection not found")};let lQ="\uFEFF",lZ="\x02",l0="\x18",l1="\x1f",l2=e=>!!e&&"items"in e,l3=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function l4(e){switch(e){case lQ:return"<BOM>";case lZ:return"<DOC>";case l0:return"<FLOW_END>";case l1:return"<SCALAR>";default:return JSON.stringify(e)}}function l5(e){switch(e){case lQ:return"byte-order-mark";case lZ:return"doc-mode";case l0:return"flow-error-end";case l1:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";
26case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function l6(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let l9=new Set("0123456789ABCDEFabcdef"),l7=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),l8=new Set(",[]{}"),oe=new Set(" ,[]{}\n\r "),ot=e=>!e||oe.has(e);class on{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&l6(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===lQ&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){let r=e[n-1];if(" "===r||" "===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){let n=e[t-1];if(" "===n||" "===n)t-=1;else break}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield lZ,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&l6(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!l6(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&l6(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
26case"*":return yield*this.pushUntil(ot),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&l6(r[3]))&&(n!==this.indentNext-1||1!==this.flowLevel||"]"!==r[0]&&"}"!==r[0]))return this.flowLevel=0,yield l0,yield*this.parseLineStart();let i=0;for(;","===r[i];)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r[i+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(ot),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||l6(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let n=this.buffer.substring(0,t),r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){let e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>l6(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let i=e;for(;" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>i)t=e;else break}return yield l1,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(l6(e)||t&&l8.has(e))break;n=r}else if(l6(e)){let i=this.buffer[r+1];if("\r"===e&&("\n"===i?(r+=1,e="\n",i=this.buffer[r+1]):n=r),"#"===i||t&&l8.has(i))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&l8.has(e))break;n=r}return e||this.atEnd?(yield l1,yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(ot))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(l6(t)||e&&l8.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!l6(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(l7.has(t))t=this.buffer[++e];else if("%"===t&&l9.has(this.buffer[e+1])&&l9.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class or{constructor(){this.lineStarts=[],this.addNewLine=e=>
26this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}function oi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function os(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function ol(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function oo(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function oa(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function oc(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||oi(t.start,"explicit-key-ind")||oi(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,ol(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class ou{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new on,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=l5(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&oc(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===os(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==os(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
26*scalar(e){if("map-value-ind"===this.type){let t,n=oa(oo(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case"newline":n.push(r);break;case"space":break;case"comment":i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(oi(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(ol(t.key)&&!oi(t.sep,"newline")){let e=oa(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else if(oi(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=oa(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):oi(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if("block-seq"===r.type){if(!t.explicitKey&&t.sep&&!oi(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else n&&e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||oi(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,
26sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=oa(oo(t));oc(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=oa(oo(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=oa(oo(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function od(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new or||null,prettyErrors:t}}function op(e,t={}){let{lineCounter:n,prettyErrors:r}=od(t),i=new ou(n?.addNewLine),s=new lB(t),l=Array.from(s.compose(i.parse(e)));if(r&&n)for(let t of l)t.errors.forEach(lv(e,n)),t.warnings.forEac
26h(lv(e,n));return l.length>0?l:Object.assign([],{empty:!0},s.streamInfo())}function of(e,t={}){let{lineCounter:n,prettyErrors:r}=od(t),i=new ou(n?.addNewLine),s=new lB(t),l=null;for(let t of s.compose(i.parse(e),!0,e.length))if(l){if("silent"!==l.options.logLevel){l.errors.push(new ly(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else l=t;return r&&n&&(l.errors.forEach(lv(e,n)),l.warnings.forEach(lv(e,n))),l}function oh(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);let i=of(e,n);if(!i)return null;if(i.warnings.forEach(e=>sv(i.options.logLevel,e)),i.errors.length>0)if("silent"!==i.options.logLevel)throw i.errors[0];else i.errors=[];return i.toJS(Object.assign({reviver:r},n))}function om(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=n??t??{};if(!e)return}return i_(e)&&!r?e.toString(n):new lh(e,r,n).toString(n)}let og=/^---(?:\r?\n|\r)(?:([\s\S]*?)(?:\r?\n|\r))?---(?:\r?\n|\r|$)/,oy={},ox={};var ov=n(8178);function ob(){return e=>(function(e,t,n){let r=rN(t),i=!0;t&&"object"==typeof t&&"cascade"in t&&"boolean"==typeof t.cascade&&(i=t.cascade),function t(n,s,l){if(n!==e&&r(n,s,l))return!1;if("children"in n&&Array.isArray(n.children)){let r=n.children,s=-1,l=0;if(r.length>0){for(;++s<r.length;)t(r[s],s,n)&&(r[l++]=r[s]);if(n!==e&&i&&!l)return!1;r.length=l}}return!0}(e)})(e,"mdxjsEsm")}let ow=()=>e=>{rR(e,(e,t,n)=>{if(("mdxFlowExpression"===e.type||"mdxTextExpression"===e.type)&&n&&"number"==typeof t)return n.children.splice(t,1),[rF,t];("mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type)&&e.attributes&&(e.attributes=e.attributes.filter(e=>"mdxJsxAttribute"===e.type?null===e.value||"string"==typeof e.value||e.value&&"mdxJsxAttributeValueExpression"!==e.value.type:"mdxJsxExpressionAttribute"!==e.type))})},oS=["eval","Function","AsyncFunction","GeneratorFunction","FunctionConstructor","require","process","global","globalThis","module","exports","__dirname","__filename","child_process","fs","net","http","https","vm","worker_threads","Reflect"],ok=["Object","Array","String","Number","Boolean","Symbol","Error","Date","RegExp","Promise","Proxy","Reflect","WeakMap","WeakSet","Map","Set"],oE=["constructor","prototype","__proto__","eval","Reflect","Function","AsyncFunction","GeneratorFunction","FunctionConstructor","require"],oT=(e,t)=>function(){return function(n){return function e(t,n,r){var i,s,l,o,a,c,u,d;if(t&&"object"==typeof t){if("Identifier"===t.type&&n.includes(t.name)){let e=t.parent,n=(null==e?void 0:e.type)==="MemberExpression"&&e.property===t&&!e.computed,r=(null==e?void 0:e.type)==="FunctionDeclaration"||(null==e?void 0:e.type)==="FunctionExpression";if(!n&&!r)throw Error("Security: Access to '".concat(t.name,"' is not allowed"))}if("CallExpression"===t.type&&(null==(i=t.callee)?void 0:i.type)==="Identifier"&&n.includes(t.callee.name))throw Error("Security: ".concat(t.callee.name,"() calls are not allowed"));if("CallExpression"===t.type&&(null==(s=t.callee)?void 0:s.type)==="MemberExpression"&&t.callee.computed&&(null==(l=t.callee.object)?void 0:l.type)==="Identifier"&&n.includes(t.callee.object.name)||"CallExpression"===t.type&&(null==(o=t.callee)?void 0:o.type)==="MemberExpression"&&t.callee.computed&&(null==(a=t.callee.object)?void 0:a.type)==="Identifier"&&ok.includes(t.callee.object.name))throw Error("Security: Function calls on computed properties of '".concat(t.callee.object.name,"' are not allowed"));if("MemberExpression"===t.type){let e=t.property;if((null==e?void 0:e.type)==="Identifier"&&!t.computed&&r.includes(e.name))throw Error("Security: .".concat(e.name," access is not allowed"));if((null==e?void 0:e.type)==="Literal"&&r.includes(String(e.value)))throw Error('Security: ["'.concat(e.value,'"] access is not allowed'));if(t.computed&&(null==(u=t.object)?void 0:u.type)==="Identifier"&&n.includes(t.object.name))throw Error("Security: Computed property access on '".concat(t.object.name,"' is not allowed"));if((null==(d=t.object)?void 0:d.type)==="Identifier"&&n.includes(t.object.name))throw Error("Security: Access to '".concat(t.object.name,"' properties is not allowed"))}if("NewExpression"===t.type&&(null==(c=t.callee)?void 0:c.type)==="Identifier"&&n.includes(t.callee.name))throw Error("Security: new ".concat(t.callee.name,"() is not allowed"));for(let i in t){if("parent"===i||"position"===i)continue;let s=t[i];
26Array.isArray(s)?s.forEach(t=>{t&&"object"==typeof t&&e(t,n,r)}):s&&"object"==typeof s&&e(s,n,r)}}}(n,null!=e?e:oS,null!=t?t:oE),n}};async function oC(e){var t;let n,{scope:r={},mdxOptions:i={},parseFrontmatter:s=!1,blockJS:l=!0,blockDangerousJS:o=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=new E(e);s&&function(e,t){let n=t||oy,r=n.strip,i=n.yaml||ox,s=String(e),l=og.exec(s);l?(e.data.matter=f.parse(l[1]||"",i)||{},r&&(s=s.slice(l[0].length),e.value=e.value&&"object"==typeof e.value?new TextEncoder().encode(s):s)):e.data.matter={}}(c,{strip:!0});try{n=await function(e,t){let{file:n,options:r}=function(e,t){var n;let r=(n=e)&&"object"==typeof n&&"message"in n&&"messages"in n?e:new E(e),{format:i,...s}=t||{};return{file:r,options:{format:"md"===i||"mdx"===i?i:r.extname&&(s.mdExtensions||I).includes(r.extname)?"md":"mdx",...s}}}(e,t);return(function(e){let t=e||{},n=-1;for(;++n<iS.length;)iS[n];t.format,("classic"===t.jsxRuntime||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!ik&&(ik=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));let r=r4().use(rv);"md"!==t.format&&r.use(nm);let i=t.remarkRehypeOptions||{};return r.use(ib).use(t.remarkPlugins||[]).use(rY,{...i,allowDangerousHtml:!0,passThrough:[...i.passThrough||[],...iw]}).use(t.rehypePlugins||[]),"md"===t.format&&r.use(im),r.use(tu,t).use(ia,t).use(id,t),t.jsx||r.use(X,t).use(il,t),r.use(Y).use(eu,t).use(t.recmaPlugins||[]),r})(r).process(n)}(c,function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],s=null!=(e=t.useDynamicImport)&&e,l=[...t.remarkPlugins||[],...s?[]:[ob],...r?[ow]:[],...!r&&i?[oT()]:[]];return{...t,remarkPlugins:l,outputFormat:"function-body",providerImportSource:n?void 0:"@mdx-js/react",development:!1}}(i,a,l,o))}catch(e){throw function(e,t){var n,r;let i=null!=(n=null==e?void 0:e.position)?n:function(e){let t=e.match(/\d+:\d+(-\d+:\d+)/g);if(t){let[e,n]=t.slice(-1)[0].split("-")[0].split(":");return{start:{line:Number.parseInt(e,10),column:Number.parseInt(n,10)}}}}(null==e?void 0:e.message),s=i?(0,ov.gl)(t,{start:{line:i.start.line,column:null!=(r=i.start.column)?r:0}},{linesAbove:2,linesBelow:2}):"",l=Error("[next-mdx-remote] error compiling MDX:\n".concat(null==e?void 0:e.message,"\n").concat(s?"\n"+s+"\n":"","\nMore information: https://mdxjs.com/docs/troubleshooting-mdx"));return l.stack="",l}(e,String(c))}return{compiledSource:String(n),frontmatter:null!=(t=c.data.matter)?t:{},scope:r}}},5157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return r.has(e)},t.isReservedWord=l,t.isStrictBindOnlyReservedWord=a,t.isStrictBindReservedWord=function(e,t){return o(e,t)||a(e)},t.isStrictReservedWord=o;let n={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},r=new Set(n.keyword),i=new Set(n.strict),s=new Set(n.strictBind);function l(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return l(e,t)||i.has(e)}function a(e){return s.has(e)}},5585:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r={};!function e(t,n,r,i){var s,l,o,a,c,u,d,p,f,h,m,g=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),y="function"==typeof Path2D&&"function"==typeof DOMMatrix;function x(){}function v(e){var r=n.exports.Promise,i=void 0!==r?r:t.Promise;return"function"==typeof i?new i(e):(e(x,x),null)}var b=(s=function(){if(!t.OffscreenCanvas)return!1;try{var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}(),l=new Map,{transform:function(e){if(s)return e;if(l.has(e))return l.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),l.set(e,t),t},clear:function(){l.clear()}}),w=(c=Math.floor(1e3/60),u={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(o=function(e){var t=Math.random();return u[t]=requestAnimationFrame(function n(r){d===r||d+c-1<r?(d=r,delete u[t],e()):u[t]=requestAnimationFrame(n)}),t},a=function(e){u[e]&&cancelAnimationFrame(u[e])}):(o=function(e){return setTimeout(e,c)},a=function(e){return clearTimeout(e)}),{frame:o,cancel:a}),S=(h={},function(){if(p)return p;if(!r&&g){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",e),null}var n=p;function i(e,t){n.postMessage({options:e||{},callback:t})}n.init=function(e){var t=e.transferControlToOffscreen();n.postMessage({canvas:t},[t])},n.fire=function(e,t,r){if(f)return i(e,null),f;var s=Math.random().toString(36).slice(2);return f=v(function(t){function l(e){e.data.callback===s&&(delete h[s],n.removeEventListener("message",l),f=null,b.clear(),r(),t())}n.addEventListener("message",l),i(e,s),h[s]=l.bind(null,{data:{callback:s}})})},n.reset=function(){for(var e in n.postMessage({reset:!0}),h)h[e](),delete h[e]}}return p}),k={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function E(e,t,n){var r,i;return i=e&&null!=e[t]?e[t]:k[t],n?n(i):i}function T(e){return e<0?0:Math.floor(e)}function C(e){return parseInt(e,16)}function A(e){return e.map(I)}function I(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:C(t.substring(0,2)),g:C(t.substring(2,4)),b:C(t.substring(4,6))}}function O(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function L(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function M(e,n){var s,l=!e,o=!!E(n||{},"resize"),a=!1,c=E(n,"disableForReducedMotion",Boolean),u=g&&E(n||{},"useWorker")?S():null,d=l?O:L,p=!!e&&!!u&&!!e.__confetti_initialized,f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(n){var h,m=c||E(n,"disableForReducedMotion",Boolean),g=E(n,"zIndex",Number);if(m&&f)return v(function(e){e()});l&&s?e=s.canvas:l&&!e&&((h=document.createElement("canvas")).style.position="fixed",h.style.top="0px",h.style.left="0px",h.style.pointerEvents="none",h.style.zIndex=g,e=h,document.body.appendChild(e)),o&&!p&&d(e);var x={width:e.width,height:e.height};function S(){if(u){var t={getBoundingClientRect:function(){if(!l)return e.getBoundingClientRect()}};d(t),u.postMessage({resize:{width:t.width,height:t.height}});return}x.width=x.height=null}function k(){s=null,o&&(a=!1,t.removeEventListener("resize",S)),l&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,p=!1)}return(u&&!p&&u.init(e),p=!0,u&&(e.__confetti_initialized=!0),o&&!a&&(a=!0,t.addEventListener("resize",S,!1)),u)?u.fire(n,x,k):function(t,n,l){for(var o,a,c,u,p,f,h,m=E(t,"particleCount",T),g=E(t,"angle",Number),x=E(t,"spread",Number),S=E(t,"startVelocity",Number),k=E(t,"decay",Number),C=E(t,"gravity",Number),I=E(t,"drift",Number),O=E(t,"colors",A),L=E(t,"ticks",Number),M=E(t,"shapes"),_=E(t,"scalar"),N=!!E(t,"flat"),P=((o=E(t,"origin",Object)).x=E(o,"x",Number),o.y=E(o,"y",Number),o),j=m,D=[],F=e.width*P.x,R=e.height*P.y;j--;)D.push(function(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)
26*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:F,y:R,angle:g,spread:x,startVelocity:S,color:O[j%O.length],shape:M[Math.floor(Math.random()*(M.length-0))+0],ticks:L,decay:k,gravity:C,drift:I,scalar:_,flat:N}));return s?s.addFettis(D):(a=e,p=D.slice(),f=a.getContext("2d"),h=v(function(e){function t(){c=u=null,f.clearRect(0,0,n.width,n.height),b.clear(),l(),e()}c=w.frame(function e(){r&&(n.width!==i.width||n.height!==i.height)&&(n.width=a.width=i.width,n.height=a.height=i.height),n.width||n.height||(d(a),n.width=a.width,n.height=a.height),f.clearRect(0,0,n.width,n.height),(p=p.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n,r,i,s,l,o,a,c,u,d,p,f,h,m,g,x,v=t.tick++/t.totalTicks,w=t.x+t.random*t.tiltCos,S=t.y+t.random*t.tiltSin,k=t.wobbleX+t.random*t.tiltCos,E=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-v)+")",e.beginPath(),y&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix)){e.fill((n=t.shape.path,r=t.shape.matrix,i=t.x,s=t.y,l=.1*Math.abs(k-w),o=.1*Math.abs(E-S),a=Math.PI/10*t.wobble,c=new Path2D(n),(u=new Path2D).addPath(c,new DOMMatrix(r)),(d=new Path2D).addPath(u,new DOMMatrix([Math.cos(a)*l,Math.sin(a)*l,-Math.sin(a)*o,Math.cos(a)*o,i,s])),d))}else if("bitmap"===t.shape.type){var T=Math.PI/10*t.wobble,C=.1*Math.abs(k-w),A=.1*Math.abs(E-S),I=t.shape.bitmap.width*t.scalar,O=t.shape.bitmap.height*t.scalar,L=new DOMMatrix([Math.cos(T)*C,Math.sin(T)*C,-Math.sin(T)*A,Math.cos(T)*A,t.x,t.y]);L.multiplySelf(new DOMMatrix(t.shape.matrix));var M=e.createPattern(b.transform(t.shape.bitmap),"no-repeat");M.setTransform(L),e.globalAlpha=1-v,e.fillStyle=M,e.fillRect(t.x-I/2,t.y-O/2,I,O),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(k-w)*t.ovalScalar,Math.abs(E-S)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(p=t.x,f=t.y,h=Math.abs(k-w)*t.ovalScalar,m=Math.abs(E-S)*t.ovalScalar,g=Math.PI/10*t.wobble,x=2*Math.PI,e.save(),e.translate(p,f),e.rotate(g),e.scale(h,m),e.arc(0,0,1,0,x,void 0),e.restore());else if("star"===t.shape)for(var _=Math.PI/2*3,N=4*t.scalar,P=8*t.scalar,j=t.x,D=t.y,F=5,R=Math.PI/5;F--;)j=t.x+Math.cos(_)*P,D=t.y+Math.sin(_)*P,e.lineTo(j,D),_+=R,j=t.x+Math.cos(_)*N,D=t.y+Math.sin(_)*N,e.lineTo(j,D),_+=R;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(S)),e.lineTo(Math.floor(k),Math.floor(E)),e.lineTo(Math.floor(w),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})).length?c=w.frame(e):t()}),u=t}),(s={addFettis:function(e){return p=p.concat(e),h},canvas:a,promise:h,reset:function(){c&&w.cancel(c),u&&u()}}).promise)}(n,x,k)}return h.reset=function(){u&&u.reset(),s&&s.reset()},h}function _(){return m||(m=M(null,{useWorker:!0,resize:!0})),m}n.exports=function(){return _().apply(this,arguments)},n.exports.reset=function(){_().reset()},n.exports.create=M,n.exports.shapeFromPath=function(e){if(!y)throw Error("path confetti are not supported in this browser");"string"==typeof e?r=e:(r=e.path,i=e.matrix);var t=new Path2D(r),n=document.createElement("canvas").getContext("2d");if(!i){for(var r,i,s,l,o=1e3,a=1e3,c=0,u=0,d=0;d<1e3;d+=2)for(var p=0;p<1e3;p+=2)n.isPointInPath(t,d,p,"nonzero")&&(o=Math.min(o,d),a=Math.min(a,p),c=Math.max(c,d),u=Math.max(u,p));s=c-o;var f=Math.min(10/s,10/(l=u-a));i=[f,0,0,f,-Math.round(s/2+o)*f,-Math.round(l/2+a)*f]}return{type:"path",path:r,matrix:i}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",i='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,i="fontFamily"in e?e.fontFamily:i,r="color"in e?e.color:r);var s=10*n,l=""+s+"px "+i,o=new OffscreenCanvas(s,s),a=o.getContext("2d");a.font=l;var c=a.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),d=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),p=c.actualBoundingBoxLeft+2,f=c.actualBoundingBoxAscent+2;u+=4,d+=4,(a=(o=new OffscreenCanvas(u,d)).getContext("2d")).font=l,a.fillStyle=r,a.fillText(t,p,f);var h=1/n;return{type:"bitmap",bitmap:o.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-d*h/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),r,!1);let i=r.exports;
26r.exports.create},6301:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g;function c(e){return e?e.replace(a,""):""}e.exports=function(e,a){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];a=a||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:u,column:d};return function(t){return t.position=new h(e),y(r),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=a.source}h.prototype.content=e;var m=[];function g(t){var n=Error(a.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=a.source,n.line=u,n.column=d,n.source=e,a.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function x(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=f();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 d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}y(r);var b,w=[];for(x(w);b=function(){var e=f(),n=y(i);if(n){if(v(),!y(s))return g("property missing ':'");var r=y(l),a=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return y(o),a}}();)!1!==b&&(w.push(b),x(w));return w}},6655:()=>{},7184:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreen
26Bright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},7367:(e,t,n)=>{"use strict";let r=n(1438),i=/^[\da-fA-F]+$/,s=/^\d+$/,l=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=l.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,i=e.TokenType,s=new r("<tag",!1),o=new r("</tag",!1),a=new r("<tag>...</tag>",!0,!0),c={jsxName:new i("jsxName"),jsxText:new i("jsxText",{beforeExpr:!0}),jsxTagStart:new i("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new i("jsxTagEnd")};c.jsxTagStart.updateContext=function(){this.context.push(a),this.context.push(s),this.exprAllowed=!1},c.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===s&&e===n.slash||t===o?(this.context.pop(),this.exprAllowed=this.curContext()===a):this.exprAllowed=!0},t={tokContexts:{tc_oTag:s,tc_cTag:o,tc_expr:a},tokTypes:c},l.set(e,t)}return t}function a(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?a(e.object)+"."+a(e.property):void 0:e}e.exports=function(e){return e=e||{},function(t){return function(e,t){let l=t.acorn||n(7983),c=o(l),u=l.tokTypes,d=c.tokTypes,p=l.tokContexts,f=c.tokContexts.tc_oTag,h=c.tokContexts.tc_cTag,m=c.tokContexts.tc_expr,g=l.isNewLine,y=l.isIdentifierStart,x=l.isIdentifierChar;return class extends t{static get acornJsx(){return c}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:if(this.pos===this.start){if(60===n&&this.exprAllowed)return++this.pos,this.finishToken(d.jsxTagStart);return this.getTokenFromCode(n)}return e+=this.input.slice(t,this.pos),this.finishToken(d.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===n?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:g(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):g(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(u.string,t)}jsx_readEntity(){let e="",t=0,n,l=this.input[this.pos];"&"!==l&&this.raise(this.pos,"Entity must start with an ampersand");let o=++this.pos;for(;this.pos<this.input.length&&t++<10;){if(";"===(l=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),i.test(e)&&(n=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),s.test(e)&&(n=String.fromCharCode(parseInt(e,10)))):n=r[e];break}e+=l}return n||(this.pos=o,"&")}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(x(e)||45===e);return this.finishToken(d.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===d.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,n=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(u.colon))return r;var i=this.startNodeAt(t,n);return i.namespace=r,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===d.jsxTagEnd)return"";let t=this.start,n=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==u.dot||"JSXNamespacedName"!==r.type||e.allowNamespacedObjects||this.unexpected();this.eat(u.dot);){let e=this.startNodeAt(t,n);
26e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,"JSXMemberExpression")}return r}jsx_parseAttributeValue(){switch(this.type){case u.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case d.jsxTagStart:case u.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===u.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(u.braceL)?(this.expect(u.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(u.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let n=this.startNodeAt(e,t);n.attributes=[];let r=this.jsx_parseElementName();for(r&&(n.name=r);this.type!==u.slash&&this.type!==d.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(u.slash),this.expect(d.jsxTagEnd),this.finishNode(n,r?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let n=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(n.name=r),this.expect(d.jsxTagEnd),this.finishNode(n,r?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let n=this.startNodeAt(e,t),r=[],i=this.jsx_parseOpeningElementAt(e,t),s=null;if(!i.selfClosing){t:for(;;)switch(this.type){case d.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(u.slash)){s=this.jsx_parseClosingElementAt(e,t);break t}r.push(this.jsx_parseElementAt(e,t));break;case d.jsxText:r.push(this.parseExprAtom());break;case u.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}a(s.name)!==a(i.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+a(i.name)+">")}let l=i.name?"Element":"Fragment";return n["opening"+l]=i,n["closing"+l]=s,n.children=r,this.type===u.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSX"+l)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===d.jsxText?this.jsx_parseText():this.type===d.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===h){if(y(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(d.jsxTagEnd);if((34===e||39===e)&&t==f)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(d.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==u.braceL){var t=this.curContext();t==f?this.context.push(p.b_expr):t==m?this.context.push(p.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==u.slash||e!==d.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(h),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(n(7983)).tokTypes},configurable:!0,enumerable:!0})},7677:(e,t,n)=>{"use strict";let r,i,s;n.d(t,{RC:()=>X,qr:()=>H});var l=n(2115),o=n(2379),a=n(2482);function c(){return r||(r=function(){let e=(0,o.a)(),t=(0,o.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),r}function u(e){return void 0===e&&(e={}),i||(i=function(e){let{userAgent:t}=void 0===e?{}:e,n=c(),r=(0,o.a)(),i=r.navigator.platform,s=t||r.navigator.userAgent,l={ios:!1,android:!1},a=r.screen.width,u=r.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),p=s.match(/(iPad).*OS\s([\d_]+)/),f=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===i;return!p&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${u}`)>=0&&((p=s.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==i&&(l.os="android",l.android=!0),(p||h||f)&&(l.os="ios",l.ios=!0),l}(e)),i}function d(){return s||(s=function(){let e=(0,o.a)(),t=u(),n=!1;function r(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));
26n=e<16||16===e&&r<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=r(),l=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:l,isWebView:i}}()),s}let p=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},f=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},h=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[i-t];n.push(...Array.from({length:t}).map((e,t)=>i+r+t)),e.slides.forEach((t,r)=>{n.includes(t.column)&&m(e,r)});return}let s=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=s+t;r+=1){let t=(r%n+n)%n;(t<i||t>s)&&m(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(s+t,n-1);r+=1)r!==i&&(r>s||r<i)&&m(e,r)};function y(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e,{activeIndex:s,previousIndex:l}=t,o=r;o||(o=s>l?"next":s<l?"prev":"reset"),t.emit(`transition${i}`),n&&"reset"===o?t.emit(`slideResetTransition${i}`):n&&s!==l&&(t.emit(`slideChangeTransition${i}`),"next"===o?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`))}function x(e,t,n){let r=(0,o.a)(),{params:i}=e,s=i.edgeSwipeDetection,l=i.edgeSwipeThreshold;return!s||!(n<=l)&&!(n>=r.innerWidth-l)||"prevent"===s&&(t.preventDefault(),!0)}function v(e){let t=(0,o.g)(),n=e;n.originalEvent&&(n=n.originalEvent);let r=this.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void x(this,n,n.targetTouches[0].pageX);let{params:i,touches:s,enabled:l}=this;if(!l||!i.simulateTouch&&"mouse"===n.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let c=n.target;if("wrapper"===i.touchEventsTarget&&!(0,a.w)(c,this.wrapperEl)||"which"in n&&3===n.which||"button"in n&&n.button>0||r.isTouched&&r.isMoved)return;let u=!!i.noSwipingClass&&""!==i.noSwipingClass,d=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&d&&(c=d[0]);let p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(i.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,o.g)()||n===(0,o.a)())return null;n.assignedSlot&&(n=n.assignedSlot);let r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,c):c.closest(p))){this.allowClick=!0;return}if(i.swipeHandler&&!c.closest(i.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;let h=s.currentX,m=s.currentY;if(!x(this,n,h))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=m,r.touchStartTime=(0,a.f)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);let g=!0;c.matches(r.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!c.matches(r.focusableElements))&&t.activeElement.blur();let y=g&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||y)&&!c.isContentEditable&&n.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit
26("touchStart",n)}function b(e){let t,n,r=(0,o.g)(),i=this.touchEventsData,{params:s,touches:l,rtlTranslate:c,enabled:u}=this;if(!u||!s.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==i.touchId||d.pointerId!==i.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else t=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",d);return}let p=t.pageX,f=t.pageY;if(d.preventedByNestedSwiper){l.startX=p,l.startY=f;return}if(!this.allowTouchMove){d.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(l,{startX:p,startY:f,currentX:p,currentY:f}),i.touchStartTime=(0,a.f)());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(f<l.startY&&this.translate<=this.maxTranslate()||f>l.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(c&&(p>l.startX&&-this.translate<=this.maxTranslate()||p<l.startX&&-this.translate>=this.minTranslate()))return;else if(!c&&(p<l.startX&&this.translate<=this.maxTranslate()||p>l.startX&&this.translate>=this.minTranslate()))return}if(r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==d.target&&"mouse"!==d.pointerType&&r.activeElement.blur(),r.activeElement&&d.target===r.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=p,l.currentY=f;let h=l.currentX-l.startX,m=l.currentY-l.startY;if(this.params.threshold&&Math.sqrt(h**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&l.currentY===l.startY||this.isVertical()&&l.currentX===l.startX?i.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,i.isScrolling=this.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",d),void 0===i.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===d.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let g=this.isHorizontal()?h:m,y=this.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(g=Math.abs(g)*(c?1:-1),y=Math.abs(y)*(c?1:-1)),l.diff=g,g*=s.touchRatio,c&&(g=-g,y=-y);let x=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=y>0?"prev":"next";let v=this.params.loop&&!s.cssMode,b="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(v&&b&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==s._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&x!==this.touchesDirection&&v&&b&&Math.abs(g)>=1){Object.assign(l,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let w=!0,S=s.resistanceRatio;if(s.touchReleaseOnEdges&&(S=0),g>0?(v&&b&&!n&&i.allowThresholdMove&&i.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(w=!1,s.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**S))):g<0&&(v&&b&&!n&&i.allowThresholdMove&&i.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(w=!1,s.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**S))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),s.threshold>0)if(Math.abs(g)>s.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,l.diff=this.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{i.currentTranslate=i.startTranslate;return}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function w(e){let t,n,r=this,i=r.touchEventsData,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(t=[...s.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else{if(null!==i.touchId||s.pointerId!==i.pointerId)return;t=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(r.browser.isSafari||r.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:l,touches:o,rtlTranslate:c,slidesGrid:u,enabled:d}=r;
26if(!d||!l.simulateTouch&&"mouse"===s.pointerType)return;if(i.allowTouchCallbacks&&r.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&r.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);let p=(0,a.f)(),f=p-i.touchStartTime;if(r.allowClick){let e=s.path||s.composedPath&&s.composedPath();r.updateClickedSlide(e&&e[0]||s.target,e),r.emit("tap click",s),f<300&&p-i.lastClickTime<300&&r.emit("doubleTap doubleClick",s)}if(i.lastClickTime=(0,a.f)(),(0,a.n)(()=>{r.destroyed||(r.allowClick=!0)}),!i.isTouched||!i.isMoved||!r.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,n=l.followFinger?c?r.translate:-r.translate:-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled)return void r.freeMode.onTouchEnd({currentPos:n});let h=n>=-r.maxTranslate()&&!r.params.loop,m=0,g=r.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<l.slidesPerGroupSkip?1:l.slidesPerGroup){let t=e<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;void 0!==u[e+t]?(h||n>=u[e]&&n<u[e+t])&&(m=e,g=u[e+t]-u[e]):(h||n>=u[e])&&(m=e,g=u[u.length-1]-u[u.length-2])}let y=null,x=null;l.rewind&&(r.isBeginning?x=l.virtual&&l.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(y=0));let v=(n-u[m])/g,b=m<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(f>l.longSwipesMs){if(!l.longSwipes)return void r.slideTo(r.activeIndex);"next"===r.swipeDirection&&(v>=l.longSwipesRatio?r.slideTo(l.rewind&&r.isEnd?y:m+b):r.slideTo(m)),"prev"===r.swipeDirection&&(v>1-l.longSwipesRatio?r.slideTo(m+b):null!==x&&v<0&&Math.abs(v)>l.longSwipesRatio?r.slideTo(x):r.slideTo(m))}else{if(!l.shortSwipes)return void r.slideTo(r.activeIndex);r.navigation&&(s.target===r.navigation.nextEl||s.target===r.navigation.prevEl)?s.target===r.navigation.nextEl?r.slideTo(m+b):r.slideTo(m):("next"===r.swipeDirection&&r.slideTo(null!==y?y:m+b),"prev"===r.swipeDirection&&r.slideTo(null!==x?x:m))}}function S(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,l=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let o=l&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!l?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function k(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function E(){let e,{wrapperEl:t,rtlTranslate:n,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-t.scrollLeft:this.translate=-t.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(n?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function T(e){h(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function C(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let A=(e,t)=>{let n=(0,o.g)(),{params:r,el:i,wrapperEl:s,device:l}=e,a=!!r.nested,c="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[c]("touchstart",e.onTouchStart,{passive:!1}),i[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[c]("click",e.onClick,!0),r.cssMode&&s[c]("scroll",e.onScroll),r.updateOnWindowResize?e[t](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",S,!0):e[t]("observerUpdate",S,!0),i[c]("load",e.onLoad,{capture:!0}))},I=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var O={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
26spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let L={eventsEmitter:{on(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;let i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,s=Array(n),l=0;l<n;l++)s[l]=arguments[l];t.apply(r,s)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n},emit(){let e,t,n,r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),n=r):(e=s[0].events,t=s[0].data,n=s[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(r=>{r.apply(n,[e,...t])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(n,t)})}),r}},update:{updateSize:function(){let e,t,n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,a.q)(n,"padding-left")||0,10)-parseInt((0,a.q)(n,"padding-right")||0,10),t=t-parseInt((0,a.q)(n,"padding-top")||0,10)-parseInt((0,a.q)(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function n(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}let r=t.params,{wrapperEl:i,slidesEl:s,size:l,rtlTranslate:o,wrongRTL:c}=t,u=t.virtual&&r.virtual.enabled,d=u?t.virtual.slides.length:t.slides.length,p=(0,a.e)(s,`.${t.params.slideClass}, swiper-slide`),f=u?t.virtual.slides.length:p.length,h=[],m=[],g=[],y=r.slidesOffsetBefore;"function"==typeof y&&(y=r.slidesOffsetBefore.call(t));let x=r.slidesOffsetAfter;"function"==typeof x&&(x=r.slidesOffsetAfter.call(t));let v=t.snapGrid.length,b=t.slidesGrid.length,w=r.spaceBetween,S=-y,k=0,E=0;if(void 0===l)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*l:"string"==typeof w&&(w=parseFloat(w)),t.virtualSize=-w,p.forEach(e
26=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&((0,a.a)(i,"--swiper-centered-offset-before",""),(0,a.a)(i,"--swiper-centered-offset-after",""));let T=r.grid&&r.grid.rows>1&&t.grid;T?t.grid.initSlides(p):t.grid&&t.grid.unsetSlides();let C="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let i=0;i<f;i+=1){let s;if(e=0,p[i]&&(s=p[i]),T&&t.grid.updateSlide(i,s,p),!p[i]||"none"!==(0,a.q)(s,"display")){if("auto"===r.slidesPerView){C&&(p[i].style[t.getDirectionLabel("width")]="");let l=getComputedStyle(s),o=s.style.transform,c=s.style.webkitTransform;if(o&&(s.style.transform="none"),c&&(s.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?(0,a.h)(s,"width",!0):(0,a.h)(s,"height",!0);else{let t=n(l,"width"),r=n(l,"padding-left"),i=n(l,"padding-right"),o=n(l,"margin-left"),a=n(l,"margin-right"),c=l.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=t+o+a;else{let{clientWidth:n,offsetWidth:l}=s;e=t+r+i+o+a+(l-n)}}o&&(s.style.transform=o),c&&(s.style.webkitTransform=c),r.roundLengths&&(e=Math.floor(e))}else e=(l-(r.slidesPerView-1)*w)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),p[i]&&(p[i].style[t.getDirectionLabel("width")]=`${e}px`);p[i]&&(p[i].swiperSlideSize=e),g.push(e),r.centeredSlides?(S=S+e/2+k/2+w,0===k&&0!==i&&(S=S-l/2-w),0===i&&(S=S-l/2-w),.001>Math.abs(S)&&(S=0),r.roundLengths&&(S=Math.floor(S)),E%r.slidesPerGroup==0&&h.push(S),m.push(S)):(r.roundLengths&&(S=Math.floor(S)),(E-Math.min(t.params.slidesPerGroupSkip,E))%t.params.slidesPerGroup==0&&h.push(S),m.push(S),S=S+e+w),t.virtualSize+=e+w,k=e,E+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+x,o&&c&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width=`${t.virtualSize+w}px`),r.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+w}px`),T&&t.grid.updateWrapperSize(e,h),!r.centeredSlides){let e=[];for(let n=0;n<h.length;n+=1){let i=h[n];r.roundLengths&&(i=Math.floor(i)),h[n]<=t.virtualSize-l&&e.push(i)}h=e,Math.floor(t.virtualSize-l)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-l)}if(u&&r.loop){let e=g[0]+w;if(r.slidesPerGroup>1){let n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),i=e*r.slidesPerGroup;for(let e=0;e<n;e+=1)h.push(h[h.length-1]+i)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&h.push(h[h.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==w){let e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");p.filter((e,t)=>!r.cssMode||!!r.loop||t!==p.length-1).forEach(t=>{t.style[e]=`${w}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(w||0)});let t=(e-=w)>l?e-l:0;h=h.map(e=>e<=0?-y:e>t?t+x:e)}if(r.centerInsufficientSlides){let e=0;g.forEach(t=>{e+=t+(w||0)}),e-=w;let t=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(e+t<l){let n=(l-e-t)/2;h.forEach((e,t)=>{h[t]=e-n}),m.forEach((e,t)=>{m[t]=e+n})}}if(Object.assign(t,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,a.a)(i,"--swiper-centered-offset-before",`${-h[0]}px`),(0,a.a)(i,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+n)}if(f!==d&&t.emit("slidesLengthChange"),h.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==b&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);f<=r.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,s=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let l=e=>i?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>
261)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{r.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let e=n.activeIndex+t;if(e>n.slides.length&&!i)break;r.push(l(e))}else r.push(l(n.activeIndex));for(t=0;t<r.length;t+=1)if(void 0!==r[t]){let e=r[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(n.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:n,rtlTranslate:r,snapGrid:i}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;r&&(s=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let l=t.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*this.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<n.length;e+=1){let o=n[e],a=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(a-=n[0].swiperSlideOffset);let c=(s+(t.centeredSlides?this.minTranslate():0)-a)/(o.swiperSlideSize+l),u=(s-i[0]+(t.centeredSlides?this.minTranslate():0)-a)/(o.swiperSlideSize+l),d=-(s-a),f=d+this.slidesSizesGrid[e],h=d>=0&&d<=this.size-this.slidesSizesGrid[e],m=d>=0&&d<this.size-1||f>1&&f<=this.size||d<=0&&f>=this.size;m&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(e)),p(o,m,t.slideVisibleClass),p(o,h,t.slideFullyVisibleClass),o.progress=r?-c:c,o.originalProgress=r?-u:u}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,n=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:i,isEnd:s,progressLoop:l}=this,o=i,a=s;if(0===n)r=0,i=!0,s=!0;else{r=(e-this.minTranslate())/n;let t=1>Math.abs(e-this.minTranslate()),l=1>Math.abs(e-this.maxTranslate());i=t||r<=0,s=l||r>=1,t&&(r=0),l&&(r=1)}if(t.loop){let t=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),r=this.slidesGrid[t],i=this.slidesGrid[n],s=this.slidesGrid[this.slidesGrid.length-1],o=Math.abs(e);(l=o>=r?(o-r)/s:(o+s-i)/s)>1&&(l-=1)}Object.assign(this,{progress:r,progressLoop:l,isBeginning:i,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&
26!o&&this.emit("reachBeginning toEdge"),s&&!a&&this.emit("reachEnd toEdge"),(o&&!i||a&&!s)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let e,t,n,{slides:r,params:i,slidesEl:s,activeIndex:l}=this,o=this.virtual&&i.virtual.enabled,c=this.grid&&i.grid&&i.grid.rows>1,u=e=>(0,a.e)(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(o)if(i.loop){let t=l-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=u(`[data-swiper-slide-index="${t}"]`)}else e=u(`[data-swiper-slide-index="${l}"]`);else c?(e=r.find(e=>e.column===l),n=r.find(e=>e.column===l+1),t=r.find(e=>e.column===l-1)):e=r[l];e&&!c&&(n=(0,a.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!n&&(n=r[0]),t=(0,a.t)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),r.forEach(r=>{f(r,r===e,i.slideActiveClass),f(r,r===n,i.slideNextClass),f(r,r===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,n,r=this,i=r.rtlTranslate?r.translate:-r.translate,{snapGrid:s,params:l,activeIndex:o,realIndex:a,snapIndex:c}=r,u=e,d=e=>{let t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if(void 0===u&&(u=function(e){let t,{slidesGrid:n,params:r}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?t=e:i>=n[e]&&i<n[e+1]&&(t=e+1):i>=n[e]&&(t=e);return r.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(r)),s.indexOf(i)>=0)t=s.indexOf(i);else{let e=Math.min(l.slidesPerGroupSkip,u);t=e+Math.floor((u-e)/l.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),u===o&&!r.params.loop){t!==c&&(r.snapIndex=t,r.emit("snapIndexChange"));return}if(u===o&&r.params.loop&&r.virtual&&r.params.virtual.enabled){r.realIndex=d(u);return}let p=r.grid&&l.grid&&l.grid.rows>1;if(r.virtual&&l.virtual.enabled&&l.loop)n=d(u);else if(p){let e=r.slides.find(e=>e.column===u),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(r.slides.indexOf(e),0)),n=Math.floor(t/l.grid.rows)}else if(r.slides[u]){let e=r.slides[u].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):u}else n=u;Object.assign(r,{previousSnapIndex:c,snapIndex:t,previousRealIndex:a,realIndex:n,previousIndex:o,activeIndex:u}),r.initialized&&g(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(a!==n&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function(e,t){let n,r=this.params,i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>
261&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let s=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){s=!0,n=e;break}}if(i&&s)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let s=(0,a.k)(i,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){let n,{rtlTranslate:r,params:i,wrapperEl:s,progress:l}=this,o=0,a=0;this.isHorizontal()?o=r?-e:e:a=e,i.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:a,i.cssMode?s[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-a:i.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():a-=this.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${a}px, 0px)`);let c=this.maxTranslate()-this.minTranslate();(0===c?0:(e-this.minTranslate())/c)!==l&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);let l=this,{params:o,wrapperEl:c}=l;if(l.animating&&o.preventInteractionOnTransition)return!1;let u=l.minTranslate(),d=l.maxTranslate();if(s=r&&e>u?u:r&&e<d?d:e,l.updateProgress(s),o.cssMode){let e=l.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-s;else{if(!l.support.smoothScroll)return(0,a.u)({swiper:l,targetPosition:-s,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(l.setTransition(0),l.setTranslate(s),n&&(l.emit("beforeTransitionStart",t,i),l.emit("transitionEnd"))):(l.setTransition(t),l.setTranslate(s),n&&(l.emit("beforeTransitionStart",t,i),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,n&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),y({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),y({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,i){let s;void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let l=this,o=e;o<0&&(o=0);let{params:c,snapGrid:u,slidesGrid:p,previousIndex:f,activeIndex:h,rtlTranslate:m,wrapperEl:g,enabled:y}=l;if(!y&&!r&&!i||l.destroyed||l.animating&&c.preventInteractionOnTransition)return!1;void 0===t&&(t=l.params.speed);let x=Math.min(l.params.slidesPerGroupSkip,o),v=x+Math.floor((o-x)/l.params.slidesPerGroup);v>=u.length&&(v=u.length-1);let b=-u[v];
26if(c.normalizeSlideIndex)for(let e=0;e<p.length;e+=1){let t=-Math.floor(100*b),n=Math.floor(100*p[e]),r=Math.floor(100*p[e+1]);void 0!==p[e+1]?t>=n&&t<r-(r-n)/2?o=e:t>=n&&t<r&&(o=e+1):t>=n&&(o=e)}if(l.initialized&&o!==h&&(!l.allowSlideNext&&(m?b>l.translate&&b>l.minTranslate():b<l.translate&&b<l.minTranslate())||!l.allowSlidePrev&&b>l.translate&&b>l.maxTranslate()&&(h||0)!==o))return!1;o!==(f||0)&&n&&l.emit("beforeSlideChangeStart"),l.updateProgress(b),s=o>h?"next":o<h?"prev":"reset";let w=l.virtual&&l.params.virtual.enabled;if(!(w&&i)&&(m&&-b===l.translate||!m&&b===l.translate))return l.updateActiveIndex(o),c.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),"slide"!==c.effect&&l.setTranslate(b),"reset"!==s&&(l.transitionStart(n,s),l.transitionEnd(n,s)),!1;if(c.cssMode){let e=l.isHorizontal(),n=m?b:-b;if(0===t)w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[e?"scrollLeft":"scrollTop"]=n})):g[e?"scrollLeft":"scrollTop"]=n,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1});else{if(!l.support.smoothScroll)return(0,a.u)({swiper:l,targetPosition:n,side:e?"left":"top"}),!0;g.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}let S=d().isSafari;return w&&!i&&S&&l.isElement&&l.virtual.update(!1,!1,o),l.setTransition(t),l.setTranslate(b),l.updateActiveIndex(o),l.updateSlidesClasses(),l.emit("beforeTransitionStart",t,r),l.transitionStart(n,s),0===t?l.transitionEnd(n,s):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(n,s))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let s=i.grid&&i.params.grid&&i.params.grid.rows>1,l=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)l+=i.virtual.slidesBefore;else{let e;if(s){let t=l*i.params.grid.rows;e=i.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(l);let t=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params,o=i.params.slidesPerView;"auto"===o?o=i.slidesPerViewDynamic():(o=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&o%2==0&&(o+=1));let a=t-e<o;if(n&&(a=a||e<Math.ceil(o/2)),r&&n&&"auto"!==i.params.slidesPerView&&!s&&(a=!1),a){let r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(s){let e=l*i.params.grid.rows;l=i.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else l=i.getSlideIndexByData(l)}return requestAnimationFrame(()=>{i.slideTo(l,t,n,r)}),i},slideNext:function(e,t,n){void 0===t&&(t=!0);let r=this,{enabled:i,params:s,animating:l}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));let a=r.activeIndex<s.slidesPerGroupSkip?1:o,c=r.virtual&&s.virtual.enabled;if(s.loop){if(l&&!c&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+a,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+a,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);let r=this,{params:i,snapGrid:s,slidesGrid:l,rtlTranslate:o,enabled:a,animating:c}=r;if(!a||r.destroyed)return r;void 0===e&&(e=r.params.speed);let u=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=d(o?r.translate:-r.translate),f=s.map(e=>d(e)),h=i.freeMode&&i.freeMode.enabled,m=s[f.indexOf(p)-1];if(void 0===m&&(i.cssMode||h)){let e;
26s.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(m=h?s[e]:s[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=l.indexOf(m))<0&&(g=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=Math.max(g=g-r.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&r.isBeginning){let i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(g,e,t,n)}),!0):r.slideTo(g,e,t,n)},slideReset:function(e,t,n){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){if(void 0===t&&(t=!0),void 0===r&&(r=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,i),l=s+Math.floor((i-s)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[l]){let e=this.snapGrid[l];o-e>(this.snapGrid[l+1]-e)*r&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[l-1];o-e<=(this.snapGrid[l]-e)*r&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,n)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:n,slidesEl:r}=t,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,s=t.getSlideIndexWhenGrid(t.clickedIndex),l=t.isElement?"swiper-slide":`.${n.slideClass}`,o=t.grid&&t.params.grid&&t.params.grid.rows>1;if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?t.slideToLoop(e):s>(o?(t.slides.length-i)/2-(t.params.grid.rows-1):t.slides.length-i)?(t.loopFix(),s=t.getSlideIndex((0,a.e)(r,`${l}[data-swiper-slide-index="${e}"]`)[0]),(0,a.n)(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e,t){let n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;let s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&(()=>{let e=(0,a.e)(i,`.${r.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();let l=r.slidesPerGroup*(s?r.grid.rows:1),o=n.slides.length%l!=0,c=s&&n.slides.length%r.grid.rows!=0,u=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?(0,a.c)("swiper-slide",[r.slideBlankClass]):(0,a.c)("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};o?r.loopAddBlankSlides?(u(l-n.slides.length%l),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):c&&(r.loopAddBlankSlides?(u(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,a.e)(i,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:s,initial:l,byController:o,byMousewheel:c}=void 0===e?{}:e,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:d,allowSlidePrev:p,allowSlideNext:f,slidesEl:h,params:m}=u,{centeredSlides:g,initialSlide:y}=m;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled){n&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=p,u.allowSlideNext=f,u.emit("loopFix");return}let x=m.slidesPerView;"auto"===x?x=u.slidesPerViewDynamic():(x=Math.ceil(parseFloat(m.slidesPerView,10)),g&&x%2==0&&(x+=1));let v=m.slidesPerGroupAuto?x:m.slidesPerGroup,b=g?Math.max(v,Math.ceil(x/2)):v;b%v!=0&&(b+=v-b%v),u.loopedSlides=b+=m.loopAdditionalSlides;let w=u.grid&&m.grid&&m.grid.rows>1;d.length<x+b||"cards"===u.params.effect&&d.length<x+2*b?(0,a.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===m.grid.fill&&(0,a.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let S=[],k=[],E=w?Math.ceil(d.length/m.grid.rows):d.length,T=l&&E-y<x&&!g,C=T?y:u.activeIndex;void 0===s?s=u.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):C=s;let A="next"===r||!r,I="prev"===r||!r,O=0,L=0,M=(w?d[s].column:s)+(g&&void 0===i?-x/2+.5:0);if(M<b){O=Math.max(b-M,v);for(let e=0;e<b-M;e+=1){let t=e-Math.floor(e/E)*E;if(w){let e=E-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&S.push(t)}else S.push(E-t-1)}}else if(M+x>E-b){L=Math.max(M-(E-2*b),v),T&&(L=Math.max(L,x-E+y+1));for(let e=0;e<L;e+=1){let t=e-Math.floor(e/E)*E;w?d.forEach((e,n)=>{e.column===t&&k.push(n)}):k.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&d.length<x+2*b&&(k.includes(s)&&k.splice(k.indexOf(s),1),S.includes(s)&&S.splice(S.indexOf(s),1)),I&&S.forEac
26h(e=>{d[e].swiperLoopMoveDOM=!0,h.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),A&&k.forEach(e=>{d[e].swiperLoopMoveDOM=!0,h.append(d[e]),d[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===m.slidesPerView?u.updateSlides():w&&(S.length>0&&I||k.length>0&&A)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),n){if(S.length>0&&I){if(void 0===t){let e=u.slidesGrid[C],t=u.slidesGrid[C+O]-e;c?u.setTranslate(u.translate-t):(u.slideTo(C+Math.ceil(O),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(i){let e=w?S.length/m.grid.rows:S.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(k.length>0&&A)if(void 0===t){let e=u.slidesGrid[C],t=u.slidesGrid[C-L]-e;c?u.setTranslate(u.translate-t):(u.slideTo(C-L,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=w?k.length/m.grid.rows:k.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=p,u.allowSlideNext=f,u.controller&&u.controller.control&&!o){let e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&n})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===m.slidesPerView&&n})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=v.bind(this),this.onTouchMove=b.bind(this),this.onTouchEnd=w.bind(this),this.onDocumentTouchStart=C.bind(this),e.cssMode&&(this.onScroll=E.bind(this)),this.onClick=k.bind(this),this.onLoad=T.bind(this),A(this,"on")},detachEvents:function(){A(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let l=(0,o.g)(),c="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,u=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:l.querySelector(r.breakpointsBase),d=e.getBreakpoint(s,c,u);if(!d||e.currentBreakpoint===d)return;let p=(d in s?s[d]:void 0)||e.originalParams,f=I(e,r),h=I(e,p),m=e.params.grabCursor,g=p.grabCursor,y=r.enabled;f&&!h?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&h&&(i.classList.add(`${r.containerModifierClass}grid`),(p.grid.fill&&"column"===p.grid.fill||!p.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===p[t])return;let n=r[t]&&r[t].enabled,i=p[t]&&p[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let x=p.direction&&p.direction!==r.direction,v=r.loop&&(p.slidesPerView!==r.
26slidesPerView||x),b=r.loop;x&&n&&e.changeDirection(),(0,a.x)(e.params,p);let w=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),y&&!w?e.disable():!y&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",p),n&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&S?(e.loopCreate(t),e.updateSlides()):b&&!S&&e.loopDestroy()),e.emit("breakpoint",p)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1,i=(0,o.a)(),s="window"===t?i.innerHeight:n.clientHeight,l=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});l.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<l.length;e+=1){let{point:s,value:o}=l[e];"window"===t?i.matchMedia(`(min-width: ${o}px)`).matches&&(r=s):o<=n.clientWidth&&(r=s)}return r||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:n}=t;if(n){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,el:r,device:i}=this,s=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),r.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},M={};class _{constructor(){let e,t;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=(0,a.x)({},t),e&&!t.el&&(t.el=e);let s=(0,o.g)();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){let e=[];return s.querySelectorAll(t.el).forEach(n=>{let r=(0,a.x)({},t,{el:n});e.push(new _(r))}),e}let l=this;l.__swiper__=!0,l.support=c(),l.device=u({userAgent:t.userAgent}),l.browser=d(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);let p={};l.modules.forEach(e=>{e({params:t,swiper:l,extendParams:function(e,t){return function(n){void 0===n&&(n={});let r=Object.keys(n)[0],i=n[r];return"object"!=typeof i||null===i?void(0,a.x)(t,n):(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i)?void("object"==typeof e[r]&&!("enabled"in e[r])&&(e[r].enabled=!0),!e[r]&&(e[r]={enabled:!1}),(0,a.x)(t,n)):void(0,a.x)(t,n)}}(t,p),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});let f=(0,a.x)({},O,p);return l.params=(0,a.x)({},f,M,t),l.originalParams=(0,a.x)({},l.params),l.passedParams=(0,a.x)({}
26,t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(e=>{l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,r=(0,a.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,a.i)(r[0]);return(0,a.i)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,a.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:n,slides:r,slidesGrid:i,slidesSizesGrid:s,size:l,activeIndex:o}=this,a=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[o]?Math.ceil(r[o].swiperSlideSize):0;for(let n=o+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),a+=1,t>l&&(e=!0));for(let n=o-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,a+=1,t>l&&(e=!0))}else if("current"===e)for(let e=o+1;e<r.length;e+=1)(t?i[e]+s[e]-i[o]<l:i[e]-i[o]<l)&&(a+=1);else for(let e=o-1;e>=0;e-=1)i[o]-i[e]<l&&(a+=1);return a}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:n,params:r}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&h(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){let n=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;
26e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):(0,a.e)(n,r())[0];return!i&&t.params.createElements&&(i=(0,a.c)("div",t.params.wrapperClass),n.append(i),(0,a.e)(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,a.q)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,a.q)(n,"direction")),wrongRTL:"-webkit-box"===(0,a.q)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?h(t,e):e.addEventListener("load",e=>{h(t,e.target)})}),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let n=this,{params:r,el:i,wrapperEl:s,slides:l}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),s&&s.removeAttribute("style"),l&&l.length&&l.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,a.y)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,a.x)(M,e)}static get extendedDefaults(){return M}static get defaults(){return O}static installModule(e){_.prototype.__modules__||(_.prototype.__modules__=[]);let t=_.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>_.installModule(e)):_.installModule(e),_}}Object.keys(L).forEach(e=>{Object.keys(L[e]).forEach(t=>{_.prototype[t]=L[e][t]})}),_.use([function(e){let{swiper:t,on:n,emit:r}=e,i=(0,o.a)(),s=null,l=null,a=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{l=i.requestAnimationFrame(()=>{let{width:n,height:r}=t,i=n,s=r;
26e.forEach(e=>{let{contentBoxSize:n,contentRect:r,target:l}=e;l&&l!==t.el||(i=r?r.width:(n[0]||n).inlineSize,s=r?r.height:(n[0]||n).blockSize)}),(i!==n||s!==r)&&a()})})).observe(t.el)},u=()=>{l&&i.cancelAnimationFrame(l),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},d=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver)return void c();i.addEventListener("resize",a),i.addEventListener("orientationchange",d)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",d)})},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e,s=[],l=(0,o.a)(),c=function(e,n){void 0===n&&(n={});let r=new(l.MutationObserver||l.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);let n=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),s.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,a.b)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}}),r("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);let N=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function P(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function j(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:P(t[n])&&P(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:j(e[n],t[n]):e[n]=t[n]})}function D(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function F(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function R(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function B(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];
26return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}let z=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function $(){return($=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function J(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function V(e,t){return"undefined"==typeof window?(0,l.useEffect)(e,t):(0,l.useLayoutEffect)(e,t)}let q=(0,l.createContext)(null),U=(0,l.createContext)(null),X=(0,l.forwardRef)(function(e,t){var n;let{className:r,tag:i="div",wrapperTag:s="div",children:o,onSwiper:c,...u}=void 0===e?{}:e,d=!1,[p,f]=(0,l.useState)("swiper"),[h,m]=(0,l.useState)(null),[g,y]=(0,l.useState)(!1),x=(0,l.useRef)(!1),v=(0,l.useRef)(null),b=(0,l.useRef)(null),w=(0,l.useRef)(null),S=(0,l.useRef)(null),k=(0,l.useRef)(null),E=(0,l.useRef)(null),T=(0,l.useRef)(null),C=(0,l.useRef)(null),{params:A,passedParams:I,rest:L,events:M}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let n={on:{}},r={},i={};j(n,O),n._emitClasses=!0,n.init=!1;let s={},l=N.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(o=>{void 0!==e[o]&&(l.indexOf(o)>=0?P(e[o])?(n[o]={},i[o]={},j(n[o],e[o]),j(i[o],e[o])):(n[o]=e[o],i[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"==typeof e[o]?t?r[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:n.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:s[o]=e[o])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:i,rest:s,events:r}}(u),{slides:q,slots:X}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return l.Children.toArray(e).forEach(e=>{if(J(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let n=[];return l.Children.toArray(t).forEach(t=>{J(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(o),H=()=>{y(!g)};Object.assign(A.on,{_containerClasses(e,t){f(t)}});let W=()=>{Object.assign(A.on,M),d=!0;let e={...A};if(delete e.wrapperClass,b.current=new _(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=q;let e={cache:!1,slides:q,renderExternal:m,renderExternalUpdate:!1};j(b.current.params.virtual,e),j(b.current.originalParams.virtual,e)}};v.current||W(),b.current&&b.current.on("_beforeBreakpoint",H);let K=()=>{!d&&M&&b.current&&Object.keys(M).forEach(e=>{b.current.on(e,M[e])})},G=()=>{M&&b.current&&Object.keys(M).forEach(e=>{b.current.off(e,M[e])})};return(0,l.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",H)}),(0,l.useEffect)(()=>{!x.current&&b.current&&(b.current.emitSlidesClasses(),x.current=!0)}),V(()=>{if(t&&(t.current=v.current),v.current)return b.current.destroyed&&W(),!function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:l,swiper:o}=e;D(t)&&r&&i&&(o.params.navigation.nextEl=r,o.originalParams.navigation.nextEl=r,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),F(t)&&s&&(o.params.pagination.el=s,o.originalParams.pagination.el=s),R(t)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(n)}({el:v.current,nextEl:k.current,prevEl:E.current,paginationEl:T.current,scrollbarEl:C.current,swiper:b.current},A),c&&!b.current.destroyed&&c(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),V(()=>{K();let e=function(e,t,n,r,i){let s=[];if(!t)return s;let l=e=>{0>s.indexOf(e)&&s.push(e)};if(n&&r){let e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&l("children"),r.length!==n.length&&l("children")}return N.filter(e=>"_"===e[0]).map(e=>
26e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t)if(P(e[n])&&P(t[n])){let r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?l(n):(r.forEach(r=>{e[n][r]!==t[n][r]&&l(n)}),i.forEach(r=>{e[n][r]!==t[n][r]&&l(n)}))}else e[n]!==t[n]&&l(n)}),s}(I,w.current,q,S.current,e=>e.key);return w.current=I,S.current=q,e.length&&b.current&&!b.current.destroyed&&function(e){let t,n,r,i,s,l,o,c,{swiper:u,slides:d,passedParams:p,changedParams:f,nextEl:h,prevEl:m,scrollbarEl:g,paginationEl:y}=e,x=f.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:b,navigation:w,scrollbar:S,virtual:k,thumbs:E}=u;f.includes("thumbs")&&p.thumbs&&p.thumbs.swiper&&!p.thumbs.swiper.destroyed&&v.thumbs&&(!v.thumbs.swiper||v.thumbs.swiper.destroyed)&&(t=!0),f.includes("controller")&&p.controller&&p.controller.control&&v.controller&&!v.controller.control&&(n=!0),f.includes("pagination")&&p.pagination&&(p.pagination.el||y)&&(v.pagination||!1===v.pagination)&&b&&!b.el&&(r=!0),f.includes("scrollbar")&&p.scrollbar&&(p.scrollbar.el||g)&&(v.scrollbar||!1===v.scrollbar)&&S&&!S.el&&(i=!0),f.includes("navigation")&&p.navigation&&(p.navigation.prevEl||m)&&(p.navigation.nextEl||h)&&(v.navigation||!1===v.navigation)&&w&&!w.prevEl&&!w.nextEl&&(s=!0);let T=e=>{u[e]&&(u[e].destroy(),"navigation"===e?(u.isElement&&(u[e].prevEl.remove(),u[e].nextEl.remove()),v[e].prevEl=void 0,v[e].nextEl=void 0,u[e].prevEl=void 0,u[e].nextEl=void 0):(u.isElement&&u[e].el.remove(),v[e].el=void 0,u[e].el=void 0))};f.includes("loop")&&u.isElement&&(v.loop&&!p.loop?l=!0:!v.loop&&p.loop?o=!0:c=!0),x.forEach(e=>{if(P(v[e])&&P(p[e]))Object.assign(v[e],p[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in p[e]&&!p[e].enabled&&T(e);else{let t=p[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):v[e]=p[e]}}),x.includes("controller")&&!n&&u.controller&&u.controller.control&&v.controller&&v.controller.control&&(u.controller.control=v.controller.control),f.includes("children")&&d&&k&&v.virtual.enabled?(k.slides=d,k.update(!0)):f.includes("virtual")&&k&&v.virtual.enabled&&(d&&(k.slides=d),k.update(!0)),f.includes("children")&&d&&v.loop&&(c=!0),t&&E.init()&&E.update(!0),n&&(u.controller.control=v.controller.control),r&&(u.isElement&&(!y||"string"==typeof y)&&((y=document.createElement("div")).classList.add("swiper-pagination"),y.part.add("pagination"),u.el.appendChild(y)),y&&(v.pagination.el=y),b.init(),b.render(),b.update()),i&&(u.isElement&&(!g||"string"==typeof g)&&((g=document.createElement("div")).classList.add("swiper-scrollbar"),g.part.add("scrollbar"),u.el.appendChild(g)),g&&(v.scrollbar.el=g),S.init(),S.updateSize(),S.setTranslate()),s&&(u.isElement&&(h&&"string"!=typeof h||((h=document.createElement("div")).classList.add("swiper-button-next"),(0,a.s)(h,u.hostEl.constructor.nextButtonSvg),h.part.add("button-next"),u.el.appendChild(h)),m&&"string"!=typeof m||((m=document.createElement("div")).classList.add("swiper-button-prev"),(0,a.s)(m,u.hostEl.constructor.prevButtonSvg),m.part.add("button-prev"),u.el.appendChild(m))),h&&(v.navigation.nextEl=h),m&&(v.navigation.prevEl=m),w.init(),w.update()),f.includes("allowSlideNext")&&(u.allowSlideNext=p.allowSlideNext),f.includes("allowSlidePrev")&&(u.allowSlidePrev=p.allowSlidePrev),f.includes("direction")&&u.changeDirection(p.direction,!1),(l||c)&&u.loopDestroy(),(o||c)&&u.loopCreate(),u.update()}({swiper:b.current,slides:q,passedParams:I,changedParams:e,nextEl:k.current,prevEl:E.current,scrollbarEl:C.current,paginationEl:T.current}),()=>{G()}}),V(()=>{z(b.current)},[h]),l.createElement(i,$({ref:v,className:B(`${p}${r?` ${r}`:""}`)},L),l.createElement(U.Provider,{value:b.current},X["container-start"],l.createElement(s,{className:(void 0===(n=A.wrapperClass)&&(n=""),n)?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"},X["wrapper-start"],A.virtual?function(e,t,n){if(!n)return null;let r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,a=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let e=a;
26e<c;e+=1)e>=s&&e<=o&&u.push(t[r(e)]);return u.map((t,n)=>l.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${n}`}))}(b.current,q,h):q.map((e,t)=>l.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),X["wrapper-end"]),D(A)&&l.createElement(l.Fragment,null,l.createElement("div",{ref:E,className:"swiper-button-prev"}),l.createElement("div",{ref:k,className:"swiper-button-next"})),R(A)&&l.createElement("div",{ref:C,className:"swiper-scrollbar"}),F(A)&&l.createElement("div",{ref:T,className:"swiper-pagination"}),X["container-end"]))});X.displayName="Swiper";let H=(0,l.forwardRef)(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:a,virtualIndex:c,swiperSlideIndex:u,...d}=void 0===e?{}:e,p=(0,l.useRef)(null),[f,h]=(0,l.useState)("swiper-slide"),[m,g]=(0,l.useState)(!1);function y(e,t,n){t===p.current&&h(n)}V(()=>{if(void 0!==u&&(p.current.swiperSlideIndex=u),t&&(t.current=p.current),p.current&&s){if(s.destroyed){"swiper-slide"!==f&&h("swiper-slide");return}return s.on("_slideClass",y),()=>{s&&s.off("_slideClass",y)}}}),V(()=>{s&&p.current&&!s.destroyed&&h(s.getSlideClasses(p.current))},[s]);let x={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},v=()=>"function"==typeof r?r(x):r;return l.createElement(n,$({ref:p,className:B(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":c,onLoad:()=>{g(!0)}},d),o&&l.createElement(q.Provider,{value:x},l.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof o?o:void 0},v(),a&&!m&&l.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&l.createElement(q.Provider,{value:x},v(),a&&!m&&l.createElement("div",{className:"swiper-lazy-preloader"})))});H.displayName="SwiperSlide"},7924: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),s="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;s?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(6301))},8178:(e,t,n)=>{"use strict";let r;var i=n(1890),s=n(7184),l=n(3550),o=n(3574);let a=(e,t)=>n=>e(t(n));function c(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:a(a(e.white,e.bgRed),e.bold),gutter:e.gray,marker:a(e.red,e.bold),message:a(e.red,e.bold),reset:e.reset}}let u=c(s.createColors(!0)),d=c(s.createColors(!1)),p=new Set(["as","async","from","get","of","set"]),f=/\r\n|[\n\r\u2028\u2029]/,h=/^[()[\]{}]$/;{let e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if(o.isKeyword(t.value)||o.isStrictReservedWord(t.value,!0)||p.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"</"===r.slice(n-2,n)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&h.test(t.value)?"bracket":"invalid"===t.type&&("@"===t.value||"#"===t.value)?"punctuator":t.type};r=function*(e){let n;for(;n=l.default.exec(e);){let r=l.matchToToken(n);yield{type:t(r,n.index,e),value:r.value}}}}let m=/\r\n|[\n\r\u2028\u2029]/;t.gl=function(e,t,n={}){let l=n.forceColor||("object"!=typeof i||"0"!==i.env.FORCE_COLOR&&"false"!==i.env.FORCE_COLOR)&&s.isColorSupported&&n.highlightCode,o=l?u:d,{start:a,end:c,markerLines:p}=function(e,t,n){let r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:s=2,linesBelow:l=3}=n||{},o=r.line,a=r.column,c=i.line,u=i.column,d=Math.max(o-(s+1),0),p=Math.min(t.length,c+l);-1===o&&(d=0),-1===c&&(p=t.length);let f=c-o,h={};if(f)for(let e=0;e<=f;e++){let n=e+o;if(a)if(0===e){let e=t[n-1].length;h[n]=[a,e-a+1]}else if(e===f)h[n]=[0,u];else{let r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else a===u?a?h[o]=[a,0]:h[o]=!0:h[o]=[a,u-a];return{start:d,end:p,markerLines:h}}(t,e.split(m),n),h=t.start&&"number"==typeof t.start.column,g=String(c).length,y=(l?function(e){if(""===e)return"";let t="";for(let{type:n,value:i}of r(e))n in u?t+=i.split(f).map(e=>u[n](e)).join("\n"):t+=i;return t}(e):e).split(m,c).slice(a,c).map((e,t)=>{let r=a+1+t,i=` ${r}`.slice(-g),s=` ${i} |`,l=p[r],c=!p[r+1];if(!l)return` ${o.gutter(s)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(l)){let r=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," "),i=l[1]||1;t=["\n ",o.gutter(s.replace(/\d/g," "))," ",r,o.marker("^").repeat(i)].join(""),c&&n.message&&(t+=" "+o.message(n.message))}return[o.marker(">"),o.gutter(s),e.length>0?` ${e}`:"",t].join("")}}).join("\n");return(n.message&&!h&&(y=`${" ".repeat(g+1)}${n.message} 27${y}`),l)?o.reset(y):y}},8300:(e,t,n)=>{"use strict";e.exports.jsxRuntime=n(5155)},8797:(e,t)=>{"use strict";
27Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=u,t.isIdentifierName=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if((64512&r)==55296&&n+1<e.length){let t=e.charCodeAt(++n);(64512&t)==56320&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!c(r))return!1}else if(!u(r))return!1}return!t},t.isIdentifierStart=c;let n="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êêêêê-êê²-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",r="\xb7Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥",i=RegExp("["+n+"]"),s=RegExp("["+n+r+"]");n=r=null;let l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,
2715,7472,16,621,2467,541,1507,4938,6,4191],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function a(e,t){let n=65536;for(let r=0,i=t.length;r<i&&!((n+=t[r])>e);r+=2)if((n+=t[r+1])>=e)return!0;return!1}function c(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):a(e,l)))}function u(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):a(e,l)||a(e,o))))}},9300:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}(n)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},9408:()=>{}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.