PageSourceSearch

https://hasura.io/_next/static/chunks/7010-9a43ed8cfb1ab87d.js

js hasura.io collected 2026-09-24 08:24:43 UTC 232,037 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7010],{94470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,h=arguments[0],f=1,p=arguments.length,d=!1;for("boolean"==typeof h&&(d=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<p;++f)if(t=arguments[f],null!=t)for(n in t)r=l(h,n),h!==(i=l(t,n))&&(d&&i&&(s(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&s(r)?r:{},a(h,{name:n,newValue:e(d,c,i)})):void 0!==i&&a(h,{name:n,newValue:i}));return h}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,h=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:c,column:h};return function(t){return t.position=new d(e),y(r),t}}function d(e){this.start=e,this.end={line:c,column:h},this.source=l.source}d.prototype.content=e;var m=[];function g(t){var n=Error(l.source+":"+c+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=h,n.source=e,l.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=p(),n=y(i);if(n){if(x(),!y(o))return g("property missing ':'");var r=y(s),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(a),l}}();)!1!==e&&(n.push(e),v(n));return n}()}},38199:function(e,t){"use strict";var n,r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return h},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let s="refresh",a="navigate",l="restore",u="server-patch",c="prefetch",h="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=r||(r={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let r=n(98337);function i(e,t,i,o){{let s=n(15183).normalizeLocalePath,a=n(4166).detectDomainLocale,l=t||s(e,i).detectedLocale,u=a(o,void 0,l);if(u){let t="http"+(u.http?"":"s")+"://",n=l===u.defaultLocale?"":"/"+l;return""+t+u.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=n(38754),i=n(85893),o=r._(n(67294)),s=n(36075),a=n(53955),l=n(48041),u=n(99903),c=n(65490),h=n(81928),f=n(60257),p=n(84229),d=n(87195),m=n(89470),g=n(38199),y=new Set;function v(e,t,n,r,i,o){if(o||(0,a.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(y.has(i))return;y.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function x(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:y,children:b,prefetch:k=null,passHref:S,replace:w,shallow:P,scroll:C,locale:T,onClick:A,onMouseEnter:E,onTouchStart:M,legacyBehavior:D=!1,...L}=e;n=b,D&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let O=o.default.useContext(h.RouterContext),I=o.default.useContext(f.AppRouterContext),R=null!=O?O:I,j=!O,V=!1!==k,F=null===k?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:z,as:N}=o.default.useMemo(()=>{if(!O){let e=x(l);return{href:e,as:y?x(y):e}}let[e,t]=(0,s.resolveHref)(O,l,!0);return{href:e,as:y?(0,s.resolveHref)(O,y):t||e}},[O,l,y]),B=o.default.useRef(z),_=o.default.useRef(N);D&&(r=o.default.Children.only(n));let U=D?r&&"object"==typeof r&&r.ref:t,[H,W,$]=(0,p.useIntersection)({rootMargin:"200px"}),q=o.default.useCallback(e=>{(_.current!==N||B.current!==z)&&($(),_.current=N,B.current=z),H(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[N,U,z,$,H]);o.default.useEffect(()=>{R&&W&&V&&v(R,z,N,{locale:T},{kind:F},j)},[N,z,W,T,V,null==O?void 0:O.locale,R,j,F]);let Y={ref:q,onClick(e){D||"function"!=typeof A||A(e),D&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),R&&!e.defaultPrevented&&function(e,t,n,r,i,s,l,u,c){let{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?o.default.startTransition(f):f()}(e,R,z,N,w,P,C,T,j)},onMouseEnter(e){D||"function"!=typeof E||E(e),D&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),R&&(V||!j)&&v(R,z,N,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:F},j)},onTouchStart:function(e){D||"function"!=typeof M||M(e),D&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),R&&(V||!j)&&v(R,z,N,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:F},j)}};if((0,u.isAbsoluteUrl)(N))Y.href=N;else if(!D||S||"a"===r.type&&!("href"in r.props)){let e=void 0!==T?T:null==O?void 0:O.locale,t=(null==O?void 0:O.isLocaleDomain)&&(0,d.getDomainLocale)(N,e,null==O?void 0:O.locales,null==O?void 0:O.domainLocales);Y.href=t||(0,m.addBasePath)((0,c.addLocale)(N,e,null==O?void 0:O.defaultLocale))}return D?o.default.cloneElement(r,Y):(0,i.jsx)("a",{...L,...Y,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(54165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(67294),i=n(84474),o="function"==typeof IntersectionObserver,s=new Map,a=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,h]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>
1{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=s.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},a.push(n),s.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),s.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&h(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>h(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[p,c,(0,r.useCallback)(()=>{h(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9008:function(e,t,n){e.exports=n(23867)},41664:function(e,t,n){e.exports=n(98342)},5174: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});var i=r(n(18139));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n}},52835:function(e,t,n){"use strict";n.d(t,{ZP:function(){return f}});let r="object"==typeof self?self:globalThis,i=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),i=o=>{if(e.has(o))return e.get(o);let[s,a]=t[o];switch(s){case 0:case -1:return n(a,o);case 1:{let e=n([],o);for(let t of a)e.push(i(t));return e}case 2:{let e=n({},o);for(let[t,n]of a)e[i(t)]=i(n);return e}case 3:return n(new Date(a),o);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{let e=n(new Map,o);for(let[t,n]of a)e.set(i(t),i(n));return e}case 6:{let e=n(new Set,o);for(let t of a)e.add(i(t));return e}case 7:{let{name:e,message:t}=a;return n(new r[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new r[s](a),o)};return i},o=e=>i(new Map,e)(0),{toString:s}={},{keys:a}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=s.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),c=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[s,c]=l(r);switch(s){case 0:{let t=r;switch(c){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+c);t=null;break;case"undefined":return i([-1],r)}return i([s,t],r)}case 1:{if(c)return i([c,[...r]],r);let e=[],t=i([s,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(c)switch(c){case"BigInt":return i([c,r.toString()],r);case"Boolean":case"Number":case"String":return i([c,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],h=i([s,n],r);for(let t of a(r))(e||!u(l(r[t])))&&n.push([o(t),o(r[t])]);return h}case 3:return i([s,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([s,{source:e,flags:t}],r)}case 5:{let t=[],n=i([s,t],r);
1for(let[n,i]of r)(e||!(u(l(n))||u(l(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([s,t],r);for(let n of r)(e||!u(l(n)))&&t.push(o(n));return n}}let{message:h}=r;return i([s,{name:c,message:h}],r)};return o},h=(e,{json:t,lossy:n}={})=>{let r=[];return c(!(t||n),!!t,new Map,r)(e),r};var f="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?o(h(e,t)):structuredClone(e):(e,t)=>o(h(e,t))},25668:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(i,r).trim();(e||!o)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},24345:function(e,t,n){"use strict";function r(){}function i(){}n.d(t,{ok:function(){return r},t1:function(){return i}})},64593:function(e,t,n){"use strict";let r;n.d(t,{v:function(){return eS}});var i,o=n(45487),s=n(86917);let a={current:!1},l=e=>Array.isArray(e)&&"number"==typeof e[0],u=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:u([0,.65,.55,1]),circOut:u([.55,0,1,.45]),backIn:u([.31,.01,.66,-.59]),backOut:u([.33,1.53,.69,.99])};var h=n(81662);let f=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function p(e,t,n,r){if(e===t&&n===r)return h.Z;let i=t=>(function(e,t,n,r,i){let o,s;let a=0;do(o=f(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s})(t,0,1,e,n);return e=>0===e||1===e?e:f(i(e),t,r)}let d=p(.42,0,1,1),m=p(0,0,.58,1),g=p(.42,0,.58,1),y=e=>Array.isArray(e)&&"number"!=typeof e[0];var v=n(27255),x=n(90415),b=n(75129);let k=p(.33,1.53,.69,.99),S=(0,b.M)(k),w=(0,x.o)(S),P={linear:h.Z,easeIn:d,easeInOut:g,easeOut:m,circIn:v.Z7,circInOut:v.X7,circOut:v.Bn,backIn:S,backInOut:w,backOut:k,anticipate:e=>(e*=2)<1?.5*S(e):.5*(2-Math.pow(2,-10*(e-1)))},C=e=>{if(Array.isArray(e)){(0,o.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return p(t,n,r,i)}return"string"==typeof e?((0,o.k)(void 0!==P[e],`Invalid easing type '${e}'`),P[e]):e};var T=n(85385),A=n(24169),E=n(80022);function M(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var D=n(26382),L=n(40819),O=n(93184);let I=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},R=[D.$,L.m,O.J],j=e=>R.find(t=>t.test(e));function V(e){let t=j(e);
1(0,o.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===O.J&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=M(a,r,e+1/3),o=M(a,r,e),s=M(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let F=(e,t)=>{let n=V(e),r=V(t),i={...n};return e=>(i.red=I(n.red,r.red,e),i.green=I(n.green,r.green,e),i.blue=I(n.blue,r.blue,e),i.alpha=(0,E.C)(n.alpha,r.alpha,e),L.m.transform(i))};var z=n(83624),N=n(51550);let B=(e,t)=>n=>`${n>0?t:e}`;function _(e,t){return"number"==typeof e?n=>(0,E.C)(e,t,n):T.$.test(e)?F(e,t):e.startsWith("var(")?B(e,t):W(e,t)}let U=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>_(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},H=(e,t)=>{let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=_(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}},W=(e,t)=>{let n=N.P.createTransformer(t),r=(0,N.V)(e),i=(0,N.V)(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?(0,z.z)(U(r.values,i.values),n):((0,o.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),B(e,t))};var $=n(23967);let q=(e,t)=>n=>(0,E.C)(e,t,n);function Y(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let s=e.length;if((0,o.k)(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||function(e){if("number"==typeof e);else if("string"==typeof e)return T.$.test(e)?F:W;else if(Array.isArray(e))return U;else if("object"==typeof e)return H;return q}(e[0]),o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||h.Z:t;o=(0,z.z)(e,o)}r.push(o)}return r}(t,r,i),l=a.length,u=t=>{let n=0;if(l>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=(0,$.Y)(e[n],e[n+1],t);return a[n](r)};return n?t=>u((0,A.u)(e[0],e[s-1],t)):u}function X({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=y(r)?r.map(C):C(r),o={done:!1,value:t[0]},s=Y((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=(0,$.Y)(0,t,r);e.push((0,E.C)(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||g).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}var Z=n(3038);function K(e,t,n){let r=Math.max(t-5,0);return(0,Z.R)(n-e(r),t-r)}function G(e,t){return e*Math.sqrt(1-t*t)}let Q=["duration","bounce"],J=["stiffness","damping","mass"];function ee(e,t){return t.some(t=>void 0!==e[t])}function et({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let a=e[0],l=e[e.length-1],u={done:!1,value:a},{stiffness:c,damping:h,mass:f,duration:p,velocity:d,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ee(e,J)&&ee(e,Q)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;(0,o.K)(e<=(0,s.w)(10),"Spring duration must be 10 seconds or less");let l=1-t;l=(0,A.u)(.05,1,l),e=(0,A.u)(.01,10,(0,s.X)(e)),l<1?(i=t=>{let r=t*l,i=r*e;return .001-(r-n)/G(t,l)*Math.exp(-i)},a=t=>{let r=t*l*e,o=Math.pow(l,2)*Math.pow(t,2)*e,s=G(Math.pow(t,2),l);return(r*n+n-o)*Math.exp(-r)*(-i(t)+.001>0?-1:1)/s}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>e*e*(n-t)*Math.exp(-t*e));let u=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,a,5/e);if(e=(0,s.w)(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(u,2)*r;return{stiffness:t,damping:2*l*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-(0,s.X)(r.velocity||0)}),g=d||0,y=h/(2*Math.sqrt(c*f)),v=l-a,x=(0,s.X)(Math.sqrt(c/f)),b=5>Math.abs(v);if(n||(n=b?.01:2),t||(t=b?.005:.5),y<1){let e=G(x,y);i=t=>l-Math.exp(-y*x*t)*((g+y*x*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===y)i=e=>
1l-Math.exp(-x*e)*(v+(g+x*v)*e);else{let e=x*Math.sqrt(y*y-1);i=t=>{let n=Math.exp(-y*x*t),r=Math.min(e*t,300);return l-n*((g+y*x*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}return{calculatedDuration:m&&p||null,next:e=>{let r=i(e);if(m)u.done=e>=p;else{let o=g;0!==e&&(o=y<1?K(i,e,r):0);let s=Math.abs(o)<=n,a=Math.abs(l-r)<=t;u.done=s&&a}return u.value=u.done?l:r,u}}}function en({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,f;let p=e[0],d={done:!1,value:p},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,y=n*t,v=p+y,x=void 0===s?v:s(v);x!==v&&(y=x-p);let b=e=>-y*Math.exp(-e/r),k=e=>x+b(e),S=e=>{let t=b(e),n=k(e);d.done=Math.abs(t)<=u,d.value=d.done?x:n},w=e=>{m(d.value)&&(h=e,f=et({keyframes:[d.value,g(d.value)],velocity:K(k,e,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==h||(t=!0,S(e),w(e)),void 0!==h&&e>h)?f.next(e-h):(t||S(e),d)}}}var er=n(2074);let ei=e=>{let t=({timestamp:t})=>e(t);return{start:()=>er.Wi.update(t,!0),stop:()=>(0,er.Pn)(t),now:()=>er.frameData.isProcessing?er.frameData.timestamp:performance.now()}};function eo(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let es={decay:en,inertia:en,tween:X,keyframes:X,spring:et};function ea({autoplay:e=!0,delay:t=0,driver:n=ei,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",onPlay:u,onStop:c,onComplete:h,onUpdate:f,...p}){let d,m,g,y,v,x=1,b=!1,k=()=>{m=new Promise(e=>{d=e})};k();let S=es[i]||X;S!==X&&"number"!=typeof r[0]&&(y=Y([0,100],r,{clamp:!1}),r=[0,100]);let w=S({...p,keyframes:r});"mirror"===l&&(v=S({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let P="idle",C=null,T=null,E=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=eo(w));let{calculatedDuration:M}=w,D=1/0,L=1/0;null!==M&&(L=(D=M+a)*(o+1)-a);let O=0,I=e=>{if(null===T)return;x>0&&(T=Math.min(T,e)),x<0&&(T=Math.min(e-L/x,T));let n=(O=null!==C?C:Math.round(e-T)*x)-t*(x>=0?1:-1),i=x>=0?n<0:n>L;O=Math.max(n,0),"finished"===P&&null===C&&(O=L);let s=O,u=w;if(o){let e=Math.min(O,L)/D,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,o+1))%2&&("reverse"===l?(n=1-n,a&&(n-=a/D)):"mirror"===l&&(u=v)),s=(0,A.u)(0,1,n)*D}let c=i?{done:!1,value:r[0]}:u.next(s);y&&(c.value=y(c.value));let{done:h}=c;i||null===M||(h=x>=0?O>=L:O<=0);let p=null===C&&("finished"===P||"running"===P&&h);return f&&f(c.value),p&&V(),c},R=()=>{g&&g.stop(),g=void 0},j=()=>{P="idle",R(),d(),k(),T=E=null},V=()=>{P="finished",h&&h(),R(),d()},F=()=>{if(b)return;g||(g=n(I));let e=g.now();u&&u(),null!==C?T=e-C:T&&"finished"!==P||(T=e),"finished"===P&&k(),E=T,C=null,P="running",g.start()};e&&F();let z={then:(e,t)=>m.then(e,t),get time(){return(0,s.X)(O)},set time(newTime){O=newTime=(0,s.w)(newTime),null===C&&g&&0!==x?T=g.now()-newTime/x:C=newTime},get duration(){let e=null===w.calculatedDuration?eo(w):w.calculatedDuration;return(0,s.X)(e)},get speed(){return x},set speed(newSpeed){if(newSpeed===x||!g)return;x=newSpeed,z.time=(0,s.X)(O)},get state(){return P},play:F,pause:()=>{P="paused",C=O},stop:()=>{b=!0,"idle"!==P&&(P="idle",c&&c(),j())},cancel:()=>{null!==E&&I(E),j()},complete:()=>{P="finished"},sample:e=>(T=0,I(e))};return z}let el=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=i()),r)),eu=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ec=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&c[t]||l(t)||Array.isArray(t)&&t.every(e))}(t.ease);var eh=n(94714);let ef={type:"spring",stiffness:500,damping:25,restSpeed:10},ep=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ed={type:"keyframes",duration:.8},em={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eg=(e,{keyframes:t})=>t.length>2?ed:eh.G.has(e)?e.startsWith("scale")?ep(t[1]):ef:em,ey=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(N.P.test(t)||"0"===t)&&!t.startsWith("url("));var ev=n(79135),ex=n(30681),eb=n(31056);let ek={skipAnimations:!1},eS=(e,t,n,r={})=>i=>{let f=(0,eb.e)(r,e)||{},p=f.delay||r.delay||0,{elapsed:d=0}=r;d-=(0,s.w)(p);let m=function(e,t,n,r){let i,o;let s=ey(t,n);i=Array.isArray(n)?[...n]:[null,n];let a=void 0!==r.from?r.from:e.get(),l=[];for(let e=0;e<i.length;e++){var u;null===i[e]&&(i[e]=0===e?a:i[e-1]),("number"==typeof(u=i[e])?0===u:null!==u?"none"===u||"0"===u||(0,ex.W)(u):void 0)&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(o=i[e])}if(s&&l.length&&o)for(let e=0;e<l.length;e++)i[l[e]]=(0,ev.T)(t,o);return i}(t,e,n,f),g=m[0],y=m[m.length-1],v=ey(e,g),x=ey(e,y);(0,o.K)(v===x,`You are trying to animate ${e} from "${g}" to "${y}". ${g} is not an animatable value - to enable this animation set ${g} to a value animatable to ${y} via the \`style\` property.`);let b={keyframes:m,velocity:t.getVelocity(),ease:"easeOut",...f,delay:-d,onUpdate:e=>{t.set(e),f.onUpdate&&f.onUpdate(e)},onComplete:()=>{i(),f.onComplete&&f.onComplete()}};if((0,eb.r)(f)||(b={...b,...eg(e,b)}),b.duration&&(b.duration=(0,s.w)(b.duration)),b.repeatDelay&&(b.repeatDelay=(0,s.w)(b.repeatDelay)),!v||!x||a.current||!1===f.type||ek.skipAnimations)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){let i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:h.Z,pause:h.Z,stop:h.Z,then:e=>(e(),Promise.resolve()),cancel:h.Z,complete:h.Z});return t?ea({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(a.current?{...b,delay:0}:b);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date){let n=function(e,t,{onUpdate:n,onComplete:r,...i}){let o,a;if(!(el()&&eu.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let f=!1,p=!1,d=()=>{a=new Promise(e=>{o=e})};d();let{keyframes:m,duration:g=300,ease:y,times:v}=i;if(ec(t,i)){let e=ea({...i,repeat:0,delay:0}),t={done:!1,value:m[0]},n=[],r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;v=void 0,m=n,g=r-10,y="linear"}let x=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:h}={}){let f={[t]:n};h&&(f.offset=h);let p=function e(t){if(t)return l(t)?u(t):Array.isArray(t)?t.map(e):c[t]}(a);return Array.isArray(p)&&(f.easing=p),e.animate(f,{delay:r,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,m,{...i,duration:g,ease:y,times:v}),b=()=>{p=!1,x.cancel()},k=()=>{p=!0,er.Wi.update(b),o(),d()};return x.onfinish=()=>{p||(e.set(function(e,{repeat:t,repeatType:n="loop"}){let r=t&&"loop"!==n&&t%2==1?0:e.length-1;return e[r]}(m,i)),r&&r(),k())},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(x.timeline=e,x.onfinish=null,h.Z),get time(){return(0,s.X)(x.currentTime||0)},set time(newTime){x.currentTime=(0,s.w)(newTime)},get speed(){return x.playbackRate},set speed(newSpeed){x.playbackRate=newSpeed},get duration(){return(0,s.X)(g)},play:()=>{f||(x.play(),(0,er.Pn)(b))},pause:()=>x.pause(),stop:()=>{if(f=!0,"idle"===x.playState)return;let{currentTime:t}=x;if(t){let n=ea({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}k()},complete:()=>{p||x.finish()},cancel:k}}(t,e,b);if(n)return n}return ea(b)}},76432:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(52248),i=n(94714),o=n(68588),s=n(64593),a=n(12490),l=n(14330),u=n(31056),c=n(2074);function h(e,t,{delay:n=0,transitionOverride:r,type:h}={}){let{transition:f=e.getDefaultTransition(),transitionEnd:p,...d}=e.makeTargetAnimatable(t),m=e.getValue("willChange");r&&(f=r);let g=[],y=h&&e.animationState&&e.animationState.getState()[h];for(let t in d){let r=e.getValue(t),l=d[t];if(!r||void 0===l||y&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(y,t))continue;let h={delay:n,elapsed:0,...(0,u.e)(f||{},t)};if(window.HandoffAppearAnimations){let n=e.getProps()[o.M];if(n){let e=window.HandoffAppearAnimations(n,t,r,c.Wi);null!==e&&(h.elapsed=e,h.isHandoff=!0)}}let p=!h.isHandoff&&!function(e,t){let n=e.get();if(!Array.isArray(t))return n!==t;for(let e=0;e<t.length;e++)if(t[e]!==n)return!0}(r,l);if("spring"===h.type&&(r.getVelocity()||h.velocity)&&(p=!1),r.animation&&(p=!1),p)continue;r.start((0,s.v)(t,r,l,e.shouldReduceMotion&&i.G.has(t)?{type:!1}:h));let v=r.animation;(0,a.L)(m)&&(m.add(t),v.then(()=>m.remove(t))),g.push(v)}return p&&Promise.all(g).then(()=>{p&&(0,l.CD)(e,p)}),g}function f(e,t,n={}){let i=(0,r.x)(e,t,n.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all(h(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(p).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(f(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(n.delay)]);{let[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then(()=>t())}}function p(e,t){return e.sortNodePosition(t)}function d(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>f(e,t,n)));else if("string"==typeof t)i=f(e,t,n);else{let o="function"==typeof t?(0,r.x)(e,t,n.custom):t;i=Promise.all(h(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}},68588:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r="data-"+(0,n(93193).D)("framerAppearId")},48488:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},31056:function(e,t,n){"use strict";function r({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function i(e,t){return e[t]||e.default||e}n.d(t,{e:function(){return i},r:function(){return r}})},25364:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=(0,n(67294).createContext)({})},240:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=(0,n(67294).createContext)(null)},27255:function(e,t,n){"use strict";n.d(t,{Bn:function(){return s},X7:function(){return a},Z7:function(){return o}});var r=n(90415),i=n(75129);let o=e=>1-Math.sin(Math.acos(e)),s=(0,i.M)(o),a=(0,r.o)(o)},90415:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},75129:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r=e=>t=>1-e(1-t)},2074:function(e,t,n){"use strict";n.d(t,{Pn:function(){return a},Wi:function(){return s},frameData:function(){return l},S6:function(){return u}});var r=n(81662);class i{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["prepare","read","update","preRender","render","postRender"],{schedule:s,
1cancel:a,state:l,steps:u}=function(e,t){let n=!1,r=!0,s={delta:0,timestamp:0,isProcessing:!1},a=o.reduce((e,t)=>(e[t]=function(e){let t=new i,n=new i,r=0,o=!1,s=!1,a=new WeakSet,l={schedule:(e,i=!1,s=!1)=>{let l=s&&o,u=l?t:n;return i&&a.add(e),u.add(e)&&l&&o&&(r=t.order.length),e},cancel:e=>{n.remove(e),a.delete(e)},process:i=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length)for(let n=0;n<r;n++){let r=t.order[n];r(i),a.has(r)&&(l.schedule(r),e())}o=!1,s&&(s=!1,l.process(i))}};return l}(()=>n=!0),e),{}),l=e=>a[e].process(s),u=()=>{let i=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(i-s.timestamp,40),1),s.timestamp=i,s.isProcessing=!0,o.forEach(l),s.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,s.isProcessing||e(u)};return{schedule:o.reduce((e,t)=>{let r=a[t];return e[t]=(e,t=!1,i=!1)=>(n||c(),r.schedule(e,t,i)),e},{}),cancel:e=>o.forEach(t=>a[t].cancel(e)),state:s,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},37599:function(e,t,n){"use strict";n.d(t,{E:function(){return n7}});var r,i=n(67294);let o=(0,i.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),s=(0,i.createContext)({});var a=n(240),l=n(58868);let u=(0,i.createContext)({strict:!1});var c=n(68588);function h(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function f(e){return"string"==typeof e||Array.isArray(e)}function p(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...d];function g(e){return p(e.animate)||m.some(t=>f(e[t]))}function y(e){return!!(g(e)||e.variants)}function v(e){return Array.isArray(e)?e.join(" "):e}let x={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},b={};for(let e in x)b[e]={isEnabled:t=>x[e].some(e=>!!t[e])};var k=n(11741),S=n(25364);let w=(0,i.createContext)({}),P=Symbol.for("motionComponentSymbol"),C=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function T(e){if("string"!=typeof e||e.includes("-"));else if(C.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let A={};var E=n(94714);function M(e,{layout:t,layoutId:n}){return E.G.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!A[e]||"opacity"===e)}var D=n(40406);let L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},O=E._.length;var I=n(57630);let R=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var j=n(36173);function V(e,t,n,r){let{style:i,vars:o,transform:s,transformOrigin:a}=e,l=!1,u=!1,c=!0;for(let e in t){let n=t[e];if((0,I.f9)(e)){o[e]=n;continue}let r=j.j[e],h=R(n,r);if(E.G.has(e)){if(l=!0,s[e]=h,!c)continue;n!==(r.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,a[e]=h):i[e]=h}if(!t.transform&&(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<O;t++){let n=E._[t];if(void 0!==e[n]){let t=L[n]||n;o+=`${t}(${e[n]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,c,r):i.transform&&(i.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:n=0}=a;i.transformOrigin=`${e} ${t} ${n}`}}let F=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function z(e,t,n){for(let r in t)(0,D.i)(t[r])||M(r,n)||(e[r]=t[r])}let N=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function B(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||N.has(e)}let _=e=>!B(e);try{(r=require("@emotion/is-prop-valid").default)&&(_=e=>e.startsWith("on")?!B(e):r(e))}catch(e){}var U=n(96190);function H(e,t,n){return"string"==typeof e?e:U.px.transform(t+n*e)}let W={offset:"stroke-dashoffset",array:"stroke-dasharray"},$={offset:"strokeDashoffset",array:"strokeDasharray"};function q(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u}
1,c,h,f){if(V(e,u,c,f),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:d,dimensions:m}=e;p.transform&&(m&&(d.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==o||d.transform)&&(d.transformOrigin=function(e,t,n){let r=H(t,e.x,e.width),i=H(n,e.y,e.height);return`${r} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==s&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?W:$;e[o.offset]=U.px.transform(-r);let s=U.px.transform(t),a=U.px.transform(n);e[o.array]=`${s} ${a}`}(p,s,a,l,!1)}let Y=()=>({...F(),attrs:{}}),X=e=>"string"==typeof e&&"svg"===e.toLowerCase();var Z=n(93193);function K(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let G=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Q(e,t,n,r){for(let n in K(e,t,void 0,r),t.attrs)e.setAttribute(G.has(n)?n:(0,Z.D)(n),t.attrs[n])}function J(e,t){let{style:n}=e,r={};for(let i in n)((0,D.i)(n[i])||t.style&&(0,D.i)(t.style[i])||M(i,e))&&(r[i]=n[i]);return r}function ee(e,t){let n=J(e,t);for(let r in e)((0,D.i)(e[r])||(0,D.i)(t[r]))&&(n[-1!==E._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}var et=n(79432),en=n(96681),er=n(8715);function ei(e){let t=(0,D.i)(e)?e.get():e;return(0,er.p)(t)?t.toValue():t}let eo=e=>(t,n)=>{let r=(0,i.useContext)(s),o=(0,i.useContext)(a.O),l=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let s={latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=ei(o[e]);let{initial:s,animate:a}=e,l=g(e),u=y(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!n&&!1===n.initial,h=(c=c||!1===s)?a:s;return h&&"boolean"!=typeof h&&!p(h)&&(Array.isArray(h)?h:[h]).forEach(t=>{let n=(0,et.o)(e,t);if(!n)return;let{transitionEnd:r,transition:o,...s}=n;for(let e in s){let t=s[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in r)i[e]=r[e]}),i}(r,i,o,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s})(e,t,r,o);return n?l():(0,en.h)(l)};var es=n(2074);let ea={useVisualState:eo({scrapeMotionValuesFromProps:ee,createRenderState:Y,onMount:(e,t,{renderState:n,latestValues:r})=>{es.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),es.Wi.render(()=>{q(n,r,{enableHardwareAcceleration:!1},X(t.tagName),e.transformTemplate),Q(t,n)})}})},el={useVisualState:eo({scrapeMotionValuesFromProps:J,createRenderState:F})};function eu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let ec=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eh(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let ef=e=>t=>ec(t)&&e(t,eh(t));function ep(e,t,n,r){return eu(e,t,ef(n),r)}var ed=n(83624);function em(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eg=em("dragHorizontal"),ey=em("dragVertical");function ev(e){let t=!1;if("y"===e)t=ey();else if("x"===e)t=eg();else{let e=eg(),n=ey();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function ex(){let e=ev(!0);return!e||(e(),!1)}class eb{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ek(e,t){let n="onHover"+(t?"Start":"End");return ep(e.current,"pointer"+(t?"enter":"leave"),(r,i)=>{if("touch"===r.pointerType||ex())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[n]&&es.Wi.update(()=>o[n](r,i))},{passive:!e.getProps()[n]})}class eS extends eb{mount(){this.unmount=(0,ed.z)(ek(this.node,!0),ek(this.node,!1))}unmount(){}}class ew extends eb{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ed.z)(eu(this.node.current,"focus",()=>this.onFocus()),eu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eP=(e,t)=>!!t&&(e===t||eP(e,t.parentElement));var eC=n(81662);function eT(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,eh(n))}class eA extends eb{constructor(){super(...arguments),this.removeStartListeners=eC.Z,this.removeEndListeners=eC.Z,this.removeAccessibleListeners=eC.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=ep(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps();es.Wi.update(()=>{i||eP(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=ep(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,ed.z)(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eu(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eu(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&eT("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&es.Wi.update(()=>n(e,t))})}),eT("down",(e,t)=>{this.startPress(e,t)}))}),t=eu(this.node.current,"blur",()=>{this.isPressing&&eT("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,ed.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&es.Wi.update(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ex()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&es.Wi.update(()=>n(e,t))}mount(){let e=this.node.getProps(),t=ep(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=eu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,ed.z)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eE=new WeakMap,eM=new WeakMap,eD=e=>{let t=eE.get(e.target);t&&t(e)},eL=e=>{e.forEach(eD)},eO={some:0,all:1};class eI extends eb{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:eO[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;eM.has(n)||eM.set(n,{});let r=eM.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(eL,{root:e,...t})),r[i]}(t);return eE.set(e,n),r.observe(e),()=>{eE.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var eR=n(48488);function ej(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var eV=n(52248),eF=n(76432);let ez=[...d].reverse(),eN=d.length;function eB(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class e_ extends eb{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>
1(0,eF.d)(e,t,n))),n={animate:eB(!0),whileInView:eB(),whileHover:eB(),whileTap:eB(),whileDrag:eB(),whileFocus:eB(),exit:eB()},r=!0,i=(t,n)=>{let r=(0,eV.x)(e,n);if(r){let{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,s){let a=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let t=0;t<eN;t++){var m;let g=ez[t],y=n[g],v=void 0!==a[g]?a[g]:l[g],x=f(v),b=g===s?y.isActive:null;!1===b&&(d=t);let k=v===l[g]&&v!==a[g]&&x;if(k&&r&&e.manuallyAnimateOnMount&&(k=!1),y.protectedKeys={...h},!y.isActive&&null===b||!v&&!y.prevProp||p(v)||"boolean"==typeof v)continue;let S=(m=y.prevProp,("string"==typeof v?v!==m:!!Array.isArray(v)&&!ej(v,m))||g===s&&y.isActive&&!k&&x||t>d&&x),w=!1,P=Array.isArray(v)?v:[v],C=P.reduce(i,{});!1===b&&(C={});let{prevResolvedValues:T={}}=y,A={...T,...C},E=e=>{S=!0,c.has(e)&&(w=!0,c.delete(e)),y.needsAnimating[e]=!0};for(let e in A){let t=C[e],n=T[e];if(!h.hasOwnProperty(e))((0,eR.C)(t)&&(0,eR.C)(n)?ej(t,n):t===n)?void 0!==t&&c.has(e)?E(e):y.protectedKeys[e]=!0:void 0!==t?E(e):c.add(e)}y.prevProp=v,y.prevResolvedValues=C,y.isActive&&(h={...h,...C}),r&&e.blockInitialAnimation&&(S=!1),S&&(!k||w)&&u.push(...P.map(e=>({animation:e,options:{type:g,...o}})))}if(c.size){let t={};
1c.forEach(n=>{let r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),u.push({animation:t})}let g=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let a=o(i,t);for(let e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),p(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let eU=0;class eH extends eb{constructor(){super(...arguments),this.id=eU++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}var eW=n(45487),e$=n(86917);let eq=(e,t)=>Math.abs(e-t);class eY{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=eK(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(eq(e.x,t.x)**2+eq(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:o}=n,{timestamp:s}=es.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=eX(t,this.transformPagePoint),es.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=eK("pointercancel"===e.type?this.lastMoveEventInfo:eX(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!ec(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=eX(eh(e),this.transformPagePoint),{point:s}=o,{timestamp:a}=es.frameData;this.history=[{...s,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,eK(o,this.history)),this.removeListeners=(0,ed.z)(ep(this.contextWindow,"pointermove",this.handlePointerMove),ep(this.contextWindow,"pointerup",this.handlePointerUp),ep(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,es.Pn)(this.updatePoint)}}function eX(e,t){return t?{point:t(e.point)}:e}function eZ(e,t){return{x:e.x-t.x,y:e.y-t.y}}function eK({point:e},t){return{point:e,delta:eZ(e,eG(t)),offset:eZ(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=eG(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,e$.w)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,e$.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function eG(e){return e[e.length-1]}var eQ=n(23967),eJ=n(80022);function e0(e){return e.max-e.min}function e1(e,t=0,n=.01){return Math.abs(e-t)<=n}function e2(e,t,n,r=.5){e.origin=r,e.originPoint=(0,eJ.C)(t.min,t.max,e.origin),e.scale=e0(n)/e0(t),(e1(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,eJ.C)(n.min,n.max,e.origin)-e.originPoint,(e1(e.translate)||isNaN(e.translate))&&(e.translate=0)}function e4(e,t,n,r){e2(e.x,t.x,n.x,r?r.originX:void 0),e2(e.y,t.y,n.y,r?r.originY:void 0)}function e3(e,t,n){e.min=n.min+t.min,e.max=e.min+e0(t)}function e5(e,t,n){e.min=t.min-n.min,e.max=e.min+e0(t)}function e6(e,t,n){e5(e.x,t.x,n.x),e5(e.y,t.y,n.y)}var e9=n(24169);function e8(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function e7(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function te(e,t,n){return{min:tt(e,t),max:tt(e,n)}}function tt(e,t){return"number"==typeof e?e:e[t]||0}let tn=()=>({translate:0,scale:1,origin:0,originPoint:0}),tr=()=>({x:tn(),y:tn()}),ti=()=>({min:0,max:0}),to=()=>({x:ti(),y:ti()});function ts(e){return[e("x"),e("y")]}function ta({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function tl(e){return void 0===e||1===e}function tu({scale:e,scaleX:t,scaleY:n}){return!tl(e)||!tl(t)||!tl(n)}function tc(e){return tu(e)||th(e)||e.z||e.rotate||e.rotateX||e.rotateY}function th(e){var t,n;
1return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function tf(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function tp(e,t=0,n=1,r,i){e.min=tf(e.min,t,n,r,i),e.max=tf(e.max,t,n,r,i)}function td(e,{x:t,y:n}){tp(e.x,t.translate,t.scale,t.originPoint),tp(e.y,n.translate,n.scale,n.originPoint)}function tm(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function tg(e,t){e.min=e.min+t,e.max=e.max+t}function ty(e,t,[n,r,i]){let o=void 0!==t[i]?t[i]:.5,s=(0,eJ.C)(e.min,e.max,o);tp(e,t[n],t[r],s,t.scale)}let tv=["x","scaleX","originX"],tx=["y","scaleY","originY"];function tb(e,t){ty(e.x,t,tv),ty(e.y,t,tx)}function tk(e,t){return ta(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var tS=n(64593);let tw=({current:e})=>e?e.ownerDocument.defaultView:null,tP=new WeakMap;class tC{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=to(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new eY(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(eh(e,"page").point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ev(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ts(e=>{let t=this.getAxisMotionValue(e).get()||0;if(U.aQ.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=e0(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&es.Wi.update(()=>i(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:s}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>ts(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:tw(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&es.Wi.update(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!tT(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,eJ.C)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,eJ.C)(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&h(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:e8(e.x,n,i),y:e8(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:te(e,"left","right"),y:te(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ts(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!h(t))return!1;let r=t.current;(0,eW.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=tk(e,n),{scroll:i}=t;return i&&(tg(r.x,i.offset.x),tg(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s={x:e7((e=i.layout.layoutBox).x,o.x),y:e7(e.y,o.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=ta(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(ts(s=>{if(!tT(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start((0,tS.v)(e,n,0,t))}stopAnimation(){ts(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ts(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){ts(t=>{let{drag:n}=this.getProps();if(!tT(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-(0,eJ.C)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!h(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};ts(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();r[e]=function(e,t){let n=.5,r=e0(e),i=e0(t);return i>r?n=(0,eQ.Y)(t.min,t.max-r,e.min):r>i&&(n=(0,eQ.Y)(e.min,e.max-i,t.min)),(0,e9.u)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ts(t=>{if(!tT(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,eJ.C)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;tP.set(this.visualElement,this);let e=ep(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
1=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();h(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();let i=eu(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ts(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function tT(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class tA extends eb{constructor(e){super(e),this.removeGroupControls=eC.Z,this.removeListeners=eC.Z,this.controls=new tC(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eC.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let tE=e=>(t,n)=>{e&&es.Wi.update(()=>e(t,n))};class tM extends eb{constructor(){super(...arguments),this.removePointerDownListener=eC.Z}onPointerDown(e){this.session=new eY(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tw(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:tE(e),onStart:tE(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&es.Wi.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=ep(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tD={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tL(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tO={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!U.px.test(e))return e;e=parseFloat(e)}let n=tL(e,t.target.x),r=tL(e,t.target.y);return`${n}% ${r}%`}};var tI=n(51550);class tR extends i.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(A,tV),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),tD.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||es.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function tj(e){let[t,n]=function(){let e=(0,i.useContext)(a.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,o=(0,i.useId)();return(0,i.useEffect)(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=(0,i.useContext)(S.p);return i.createElement(tR,{...e,layoutGroup:r,switchLayoutGroup:(0,i.useContext)(w),isPresent:t,safeToRemove:n})}let tV={borderRadius:{...tO,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tO,borderTopRightRadius:tO,borderBottomLeftRadius:tO,borderBottomRightRadius:tO,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=tI.P.parse(e);if(r.length>5)return e;let i=tI.P.createTransformer(e),o="number"!=typeof r[0]?1:0,s=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=s,r[1+o]/=a;let l=(0,eJ.C)(s,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}};var tF=n(21560),tz=n(27255);let tN=["TopLeft","TopRight","BottomLeft","BottomRight"],tB=tN.length,t_=e=>"string"==typeof e?parseFloat(e):e,tU=e=>"number"==typeof e||U.px.test(e);function tH(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let tW=tq(0,.5,tz.Bn),t$=tq(.5,.95,eC.Z);function tq(e,t,n){return r=>r<e?0:r>t?1:n((0,eQ.Y)(e,t,r))}function tY(e,t){e.min=t.min,e.max=t.max}function tX(e,t){tY(e.x,t.x),tY(e.y,t.y)}function tZ(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function tK(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(U.aQ.test(t)&&(t=parseFloat(t),t=(0,eJ.C)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=(0,eJ.C)(o.min,o.max,r);e===o&&(a-=t),e.min=tZ(e.min,t,n,a,i),e.max=tZ(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}
1let tG=["x","scaleX","originX"],tQ=["y","scaleY","originY"];function tJ(e,t,n,r){tK(e.x,t,tG,n?n.x:void 0,r?r.x:void 0),tK(e.y,t,tQ,n?n.y:void 0,r?r.y:void 0)}var t0=n(31056);function t1(e){return 0===e.translate&&1===e.scale}function t2(e){return t1(e.x)&&t1(e.y)}function t4(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function t3(e){return e0(e.x)/e0(e.y)}var t5=n(10010);class t6{constructor(){this.members=[]}add(e){(0,t5.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,t5.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}
1function t9(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==s||1!==a)&&(r+=`scale(${s}, ${a})`),r||"none"}let t8=(e,t)=>e.depth-t.depth;class t7{constructor(){this.children=[],this.isDirty=!1}add(e){(0,t5.y4)(this.children,e),this.isDirty=!0}remove(e){(0,t5.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(t8),this.isDirty=!1,this.children.forEach(e)}}var ne=n(33234);let nt=["","X","Y","Z"],nn={visibility:"hidden"},nr=0,ni={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function no({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=nr++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ni.totalNodes=ni.resolvedTargetDeltas=ni.recalculatedProjection=0,this.nodes.forEach(nl),this.nodes.forEach(nm),this.nodes.forEach(ng),this.nodes.forEach(nu),window.MotionDebug&&window.MotionDebug.record(ni)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new t7)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tF.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=performance.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&((0,es.Pn)(r),e(i-250))};return es.Wi.read(r,!0),()=>(0,es.Pn)(r)}(r,0),tD.hasAnimatedSinceResize&&(tD.hasAnimatedSinceResize=!1,this.nodes.forEach(nd))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||nS,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!t4(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,t0.e)(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,es.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(ny),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nh);return}this.isUpdating||this.nodes.forEach(nf),this.isUpdating=!1,this.nodes.forEach(np),this.nodes.forEach(ns),this.nodes.forEach(na),this.clearAllSnapshots();let e=performance.now();es.frameData.delta=(0,e9.u)(0,1e3/60,e-es.frameData.timestamp),es.frameData.timestamp=e,es.frameData.isProcessing=!0,es.S6.update.process(es.frameData),es.S6.preRender.process(es.frameData),es.S6.render.process(es.frameData),es.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(nc),this.sharedNodes.forEach(nv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,es.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){es.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=to(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!t2(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||tc(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),nC((t=r).x),nC(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return to();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(tg(t.x,n.offset.x),tg(t.y,n.offset.y)),t}removeElementScroll(e){let t=to();tX(t,e);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){tX(t,e);let{scroll:n}=this.root;n&&(tg(t.x,-n.offset.x),tg(t.y,-n.offset.y))}tg(t.x,i.offset.x),tg(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let n=to();tX(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tb(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),tc(r.latestValues)&&tb(n,r.latestValues)}return tc(this.latestValues)&&tb(n,this.latestValues),n}removeTransform(e){let t=to();tX(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!tc(n.latestValues))continue;tu(n.latestValues)&&n.updateSnapshot();let r=to();tX(r,n.measurePageBox()),tJ(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return tc(this.latestValues)&&tJ(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==es.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=es.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=to(),this.relativeTargetOrigin=to(),e6(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=to(),this.targetWithTransforms=to()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,e3(n.x,r.x,i.x),e3(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tX(this.target,this.layout.layoutBox),td(this.target,this.targetDelta)):tX(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=to(),this.relativeTargetOrigin=to(),e6(this.relativeTargetOrigin,this.target,e.target),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ni.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||tu(this.parent.latestValues)||th(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===es.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;tX(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){let i,o;let s=n.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let s=i.instance;(!s||!s.style||"contents"!==s.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&tb(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,td(e,o)),r&&tc(i.latestValues)&&tb(e,i.latestValues))}t.x=tm(t.x),t.y=tm(t.y)}}(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=tr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=tr(),this.projectionDeltaWithTransform=tr());let u=this.projectionTransform;e4(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=t9(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ni.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=tr();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=to(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(nk));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(nx(s.x,e.x,r),nx(s.y,e.y,r),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,p,d;e6(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,d=this.relativeTargetOrigin,nb(p.x,d.x,a.x,r),nb(p.y,d.y,a.y,r),n&&(u=this.relativeTarget,f=n,u.x.min===f.x.min&&u.x.max===f.x.max&&u.y.min===f.y.min&&u.y.max===f.y.max)&&(this.isProjectionDirty=!1),n||(n=to()),tX(n,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,eJ.C)(0,void 0!==n.opacity?n.opacity:1,tW(r)),e.o
1pacityExit=(0,eJ.C)(void 0!==t.opacity?t.opacity:1,0,t$(r))):o&&(e.opacity=(0,eJ.C)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<tB;i++){let o=`border${tN[i]}Radius`,s=tH(t,o),a=tH(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||tU(s)===tU(a)?(e[o]=Math.max((0,eJ.C)(t_(s),t_(a),r),0),(U.aQ.test(a)||U.aQ.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=(0,eJ.C)(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,es.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=es.Wi.update(()=>{tD.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=(0,D.i)(0)?0:(0,ne.BX)(0);return r.start((0,tS.v)("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&nT(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||to();let t=e0(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=e0(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}tX(t,n),tb(t,i),e4(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new t6),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;let r={};for(let t=0;t<nt.length;t++){let i="rotate"+nt[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}for(let t in e.render(),r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nn;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ei(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ei(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!tc(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=t9(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));let{x:a,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,A){if(void 0===s[e])continue;let{correct:t,applyTo:n}=A[e],i="none"===r.transform?s[e]:t(s[e],o);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?ei(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(nh),this.root.sharedNodes.clear()}}}function ns(e){e.updateLayout()}function na(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?ts(e=>{let r=o?n.measuredBox[e]:n.layoutBox[e],i=e0(r);r.min=t[e].min,r.max=r.min+i}):nT(i,n.layoutBox,t)&&ts(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],s=e0(t[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});let s=tr();e4(s,t,n.layoutBox);let a=tr();o?e4(a,e.applyTransform(r,!0),n.measuredBox):e4(a,t,n.layoutBox);let l=!t2(s),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=to();e6(s,n.layoutBox,i.layoutBox);let a=to();e6(a,t,o.layoutBox),t4(s,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nl(e){ni.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nc(e){e.clearSnapshot()}function nh(e){e.clearMeasurements()}function nf(e){e.isLayoutDirty=!1}function np(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nm(e){e.resolveTargetDelta()}function ng(e){e.calcProjection()}function ny(e){e.resetRotation()}function nv(e){e.removeLeadSnapshot()}function nx(e,t,n){e.translate=(0,eJ.C)(t.translate,0,n),e.scale=(0,eJ.C)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function nb(e,t,n,r){e.min=(0,eJ.C)(t.min,n.min,r),e.max=(0,eJ.C)(t.max,n.max,r)}function nk(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nS={duration:.45,ease:[.4,0,.1,1]},nw=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),nP=nw("applewebkit/")&&!nw("chrome/")?Math.round:eC.Z;function nC(e){e.min=nP(e.min),e.max=nP(e.max)}function nT(e,t,n){return"position"===e||"preserve-aspect"===e&&!e1(t3(t),t3(n),.2)}let nA=no({attachResizeListener:(e,t)=>eu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nE={current:void 0},nM=no({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nE.current){let e=new nA({});e.mount(window),e.setOptions({layoutScroll:!0}),nE.current=e}return nE.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var nD=n(2728),nL=n(14330),nO=n(33441);let nI=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nR(e,t,n=1){(0,eW.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=function(e){let t=nI.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(t).getPropertyValue(r);if(o){let e=o.trim();return(0,nO.P)(e)?parseFloat(e):e}return(0,I.tm)(i)?nR(i,t,n+1):i}var nj=n(56440),nV=n(61649);let nF=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nz=e=>nF.has(e),nN=e=>Object.keys(e).some(nz),nB=e=>e===nV.Rx||e===U.px,n_=(e,t)=>parseFloat(e.split(", ")[t]),nU=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return n_(i[1],t);{let t=r.match(/^matrix\((.+)\)$/);return t?n_(t[1],e):0}},nH=new Set(["x","y","z"]),nW=E._.filter(e=>!nH.has(e)),n$={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:nU(4,13),y:nU(5,14)};n$.translateX=n$.x,n$.translateY=n$.y;let nq=(e,t,n)=>{let r=t.measureViewportBox(),i=getComputedStyle(t.current),{display:o}=i,s={};"none"===o&&t.setStaticValue("display",e.display||"block"),n.forEac
1h(e=>{s[e]=n$[e](r,i)}),t.render();let a=t.measureViewportBox();return n.forEach(n=>{let r=t.getValue(n);r&&r.jump(s[n]),e[n]=n$[n](a,i)}),e},nY=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(nz),o=[],s=!1,a=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],h=(0,nj.C)(c),f=t[i];if((0,eR.C)(f)){let e=f.length,t=null===f[0]?1:0;c=f[t],h=(0,nj.C)(c);for(let n=t;n<e&&null!==f[n];n++)l?(0,eW.k)((0,nj.C)(f[n])===l,"All keyframes must be of the same type"):(l=(0,nj.C)(f[n]),(0,eW.k)(l===h||nB(h)&&nB(l),"Keyframes must be of the same dimension as the current value"))}else l=(0,nj.C)(f);if(h!==l){if(nB(h)&&nB(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof f?t[i]=parseFloat(f):Array.isArray(f)&&l===U.px&&(t[i]=f.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?u.set(l.transform(c)):t[i]=h.transform(f):(s||(o=function(e){let t=[];return nW.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(i),r[i]=void 0!==r[i]?r[i]:t[i],u.jump(f))}}),!a.length)return{target:t,transitionEnd:r};{let n=a.indexOf("height")>=0?window.pageYOffset:null,i=nq(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),k.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},nX=(e,t,n,r)=>{var i,o;let s=function(e,{...t},n){let r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};for(let i in n&&(n={...n}),e.values.forEach(e=>{let t=e.get();if(!(0,I.tm)(t))return;let n=nR(t,r);n&&e.set(n)}),t){let e=t[i];if(!(0,I.tm)(e))continue;let o=nR(e,r);o&&(t[i]=o,n||(n={}),void 0===n[i]&&(n[i]=e))}return{target:t,transitionEnd:n}}(e,t,r);return t=s.target,r=s.transitionEnd,i=t,o=r,nN(i)?nY(e,i,n,o):{target:i,transitionEnd:o}},nZ={current:null},nK={current:!1};var nG=n(12490);let nQ=new WeakMap,nJ=Object.keys(b),n0=nJ.length,n1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],n2=m.length;class n4{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>es.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=g(t),this.isVariantNode=y(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==s[e]&&(0,D.i)(t)&&(t.set(s[e],!1),(0,nG.L)(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,nQ.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),nK.current||function(){if(nK.current=!0,k.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nZ.current=e.matches;e.addListener(t),t()}else nZ.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nZ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in nQ.delete(this.current),this.projection&&this.projection.unmount(),(0,es.Pn)(this.notifyUpdate),(0,es.Pn)(this.render),this.valueSubscriptions.forEach(e
1=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let n=E.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&es.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,s;for(let e=0;e<n0;e++){let n=nJ[e],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=b[n];a&&(o=a),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:!!r||s&&h(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):to()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<n1.length;t++){let n=n1[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],s=n[i];if((0,D.i)(o))e.addValue(i,o),(0,nG.L)(r)&&r.add(i);else if((0,D.i)(s))e.addValue(i,(0,ne.BX)(o,{owner:e})),(0,nG.L)(r)&&r.remove(i);else if(s!==o){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,(0,ne.BX)(void 0!==t?t:o,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<n2;e++){let n=m[e],r=this.props[n];(f(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,ne.BX)(t,{owner:this}),this.addValue(e,n)),n}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=(0,et.o)(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,D.i)(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new tF.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class n3 extends n4{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=(0,nL.P$)(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){(0,nL.GJ)(this,n,o);let e=nX(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class n5 extends n3{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(E.G.has(t)){let e=(0,nD.A)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,I.f9)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return tk(e,t)}build(e,t,n,r){V(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return J(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,D.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){K(e,t,n,r)}}class n6 extends n3{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(E.G.has(t)){let e=(0,nD.A)(t);return e&&e.default||0}return t=G.has(t)?t:(0,Z.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return to()}scrapeMotionValuesFromProps(e,t){return ee(e,t)}build(e,t,n,r){q(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Q(e,t,n,r)}mount(e){this.isSVGTag=X(e.tagName),super.mount(e)}}let n9=(e,t)=>T(e)?new n6(t,{enableHardwareAcceleration:!1}):new n5(t,{enableHardwareAcceleration:!0}),n8={animation:{Feature:e_},exit:{Feature:eH},inView:{Feature:eI},tap:{Feature:eA},focus:{Feature:ew},hover:{Feature:eS},pan:{Feature:tM},drag:{Feature:tA,ProjectionNode:nM,MeasureLayout:tj},layout:{ProjectionNode:nM,MeasureLayout:tj}},n7=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:p}){e&&function(e){for(let t in e)b[t]={...b[t],...e[t]}}(e);let d=(0,i.forwardRef)(function(d,m){var y;let x;let b={...(0,i.useContext)(o),...d,layoutId:function({layoutId:e}){let t=(0,i.useContext)(S.p).id;return t&&void 0!==e?t+"-"+e:e}(d)},{isStatic:P}=b,C=function(e){let{initial:t,animate:n}=function(e,t){if(g(e)){let{initial:t,animate:n}=e;return{initial:!1===t||f(t)?t:void 0,animate:f(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(s));return(0,i.useMemo)(()=>({initial:t,animate:n}),[v(t),v(n)])}(d),T=r(d,P);
1if(!P&&k.j){C.visualElement=function(e,t,n,r){let{visualElement:h}=(0,i.useContext)(s),f=(0,i.useContext)(u),p=(0,i.useContext)(a.O),d=(0,i.useContext)(o).reducedMotion,m=(0,i.useRef)();r=r||f.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:h,props:n,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:d}));let g=m.current;(0,i.useInsertionEffect)(()=>{g&&g.update(n,p)});let y=(0,i.useRef)(!!(n[c.M]&&!window.HandoffComplete));return(0,l.L)(()=>{g&&(g.render(),y.current&&g.animationState&&g.animationState.animateChanges())}),(0,i.useEffect)(()=>{g&&(g.updateFeatures(),!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),g}(p,T,b,t);let n=(0,i.useContext)(w),r=(0,i.useContext)(u).strict;C.visualElement&&(x=C.visualElement.loadFeatures(b,r,e,n))}return i.createElement(s.Provider,{value:C},x&&C.visualElement?i.createElement(x,{visualElement:C.visualElement,...b}):null,n(p,d,(y=C.visualElement,(0,i.useCallback)(e=>{e&&T.mount&&T.mount(e),y&&(e?y.mount(e):y.unmount()),m&&("function"==typeof m?m(e):h(m)&&(m.current=e))},[y])),T,P,C.visualElement))});return d[P]=p,d}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,r){return{...T(e)?ea:el,preloadedFeatures:n,useRender:function(e=!1){return(t,n,r,{latestValues:o},s)=>{let a=(T(t)?function(e,t,n,r){let o=(0,i.useMemo)(()=>{let n=Y();return q(n,t,{enableHardwareAcceleration:!1},X(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};z(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t,n){let r={},o=function(e,t,n){let r=e.style||{},o={};return z(o,r,e),Object.assign(o,function({transformTemplate:e},t,n){return(0,i.useMemo)(()=>{let r=F();return V(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}
1(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r})(n,o,s,t),l={...function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(_(i)||!0===n&&B(i)||!t&&!B(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),...a,ref:r},{children:u}=n,c=(0,i.useMemo)(()=>(0,D.i)(u)?u.get():u,[u]);return(0,i.createElement)(t,{...l,children:c})}}(t),createVisualElement:r,Component:e}})(e,t,n8,n9))},93193:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},57630:function(e,t,n){"use strict";n.d(t,{Xp:function(){return s},f9:function(){return i},tm:function(){return o}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},79135:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(51550),i=n(97197),o=n(2728);function s(e,t){let n=(0,o.A)(e);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},2728:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(85385),i=n(97197);let o={...n(36173).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:i.h,WebkitFilter:i.h},s=e=>o[e]},56440:function(e,t,n){"use strict";n.d(t,{$:function(){return s},C:function(){return a}});var r=n(61649),i=n(96190),o=n(88340);let s=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find((0,o.l)(e))},36173:function(e,t,n){"use strict";n.d(t,{j:function(){return s}});var r=n(61649),i=n(96190);let o={...r.Rx,transform:Math.round},s={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:o}},88340:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});let r=e=>t=>t.test(e)},94714:function(e,t,n){"use strict";n.d(t,{G:function(){return i},_:function(){return r}});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},52248:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(79432);function i(e,t,n){let i=e.getProps();return(0,r.o)(i,t,void 0!==n?n:i.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}},79432:function(e,t,n){"use strict";function r(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}n.d(t,{o:function(){return r}})},14330:function(e,t,n){"use strict";n.d(t,{GJ:function(){return v},P$:function(){return x},CD:function(){return m},gg:function(){return y}});var r=n(33441),i=n(30681),o=n(8715),s=n(33234),a=n(51550),l=n(79135),u=n(85385),c=n(56440),h=n(88340);let f=[...c.$,u.$,a.P],p=e=>f.find((0,h.l)(e));var d=n(52248);function m(e,t){let n=(0,d.x)(e,t),{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};for(let t in a={...a,...r}){let n=(0,o.Y)(a[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,s.BX)(n))}}
1function g(e,t){[...t].reverse().forEach(n=>{let r=e.getVariant(n);r&&m(e,r),e.variantChildren&&e.variantChildren.forEach(e=>{g(e,t)})})}function y(e,t){return Array.isArray(t)?g(e,t):"string"==typeof t?g(e,[t]):void m(e,t)}function v(e,t,n){var o,u;let c=Object.keys(t).filter(t=>!e.hasValue(t)),h=c.length;if(h)for(let f=0;f<h;f++){let h=c[f],d=t[h],m=null;Array.isArray(d)&&(m=d[0]),null===m&&(m=null!==(u=null!==(o=n[h])&&void 0!==o?o:e.readValue(h))&&void 0!==u?u:t[h]),null!=m&&("string"==typeof m&&((0,r.P)(m)||(0,i.W)(m))?m=parseFloat(m):!p(m)&&a.P.test(d)&&(m=(0,l.T)(h,d)),e.addValue(h,(0,s.BX)(m,{owner:e})),void 0===n[h]&&(n[h]=m),null!==m&&e.setBaseTarget(h,m))}}function x(e,t,n){let r={};for(let i in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(i,t);if(void 0!==e)r[i]=e;else{let e=n.getValue(i);e&&(r[i]=e.get())}}return r}},10010:function(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return i},y4:function(){return r}})},24169:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=(e,t,n)=>Math.min(Math.max(n,e),t)},45487:function(e,t,n){"use strict";n.d(t,{K:function(){return i},k:function(){return o}});var r=n(81662);let i=r.Z,o=r.Z},11741:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof document},33441:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});let r=e=>/^\-?\d*\.?\d+$/.test(e)},30681:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});let r=e=>/^0[^.\s]+$/.test(e)},80022:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=(e,t,n)=>-n*e+n*t+e},81662:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e},83624:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},23967:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},8715:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},p:function(){return i}});var r=n(48488);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.C)(e)?e[e.length-1]||0:e},21560:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(10010);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(e,t,n){"use strict";n.d(t,{X:function(){return i},w:function(){return r}});let r=e=>1e3*e,i=e=>e/1e3},96681:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(67294);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58868:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(67294);let i=n(11741).j?r.useLayoutEffect:r.useEffect},3038:function(e,t,n){"use strict";function r(e,t){return t?1e3/t*e:0}n.d(t,{R:function(){return r}})},33234:function(e,t,n){"use strict";n.d(t,{BX:function(){return u}});var r=n(21560),i=n(3038),o=n(2074);let s=e=>!isNaN(parseFloat(e)),a={current:void 0};class l{constructor(e,t={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=o.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=s(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
1setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},26382:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(40819);let i={test:(0,n(98834).i)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},93184:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(61649),i=n(96190),o=n(36430),s=n(98834);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,o.Nw)(t))+", "+i.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(r.Fq.transform(s))+")"}},85385:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(36430),i=n(26382),o=n(93184),s=n(40819);let a={test:e=>s.m.test(e)||i.$.test(e)||o.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):o.J.test(e)?o.J.parse(e):i.$.parse(e),transform:e=>(0,r.HD)(e)?e:e.hasOwnProperty("red")?s.m.transform(e):o.J.transform(e)}},40819:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(24169),i=n(61649),o=n(36430),s=n(98834);let a=e=>(0,r.u)(0,255,e),l={...i.Rx,transform:e=>Math.round(a(e))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(n)+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},98834:function(e,t,n){"use strict";n.d(t,{d:function(){return o},i:function(){return i}});var r=n(36430);let i=(e,t)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>i=>{if(!(0,r.HD)(i))return i;let[o,s,a,l]=i.match(r.KP);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},97197:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(51550),i=n(36430);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.KP)||[];if(!r)return e;let s=n.replace(r,""),a=o.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+s+")"}let a=/([a-z-]*)\(.*?\)/g,l={...r.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(s).join(" "):e}}},51550:function(e,t,n){"use strict";n.d(t,{P:function(){return g},V:function(){return f}});var r=n(57630),i=n(81662),o=n(85385),s=n(61649),a=n(36430);let l={regex:r.Xp,countKey:"Vars",token:"${v}",parse:i.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},c={regex:a.KP,countKey:"Numbers",token:"${n}",parse:s.Rx.parse};function h(e,{regex:t,countKey:n,token:r,parse:i}){let o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function f(e){let t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&h(n,l),h(n,u),h(n,c),n}function p(e){return f(e).values}function d(e){let{values:t,numColors:n,numVars:r,tokenised:i}=f(e),s=t.length;return e=>{let t=i;for(let i=0;i<s;i++)t=i<r?t.replace(l.token,e[i]):i<r+n?t.replace(u.token,o.$.transform(e[i])):t.replace(c.token,(0,a.Nw)(e[i]));return t}}let m=e=>"number"==typeof e?0:e,g={test:function(e){var t,n;return isNaN(e)&&(0,a.HD)(e)&&((null===(t=e.match(a.KP))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(a.dA))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:d,getAnimatableNone:function(e){let t=p(e);return d(e)(t.map(m))}}},61649:function(e,t,n){"use strict";n.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return s}});var r=n(24169);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.u)(0,1,e)},s={...i,default:1}},96190:function(e,t,n){"use strict";n.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return s},px:function(){return a},vh:function(){return l},vw:function(){return u}});var r=n(36430);let i=e=>({test:t=>(0,r.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=i("deg"),s=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},36430:function(e,t,n){"use strict";n.d(t,{HD:function(){return a},KP:function(){return i},Nw:function(){return r},dA:function(){return o},mj:function(){return s}});let r=e=>
1Math.round(1e5*e)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(e){return"string"==typeof e}},12490:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(40406);function i(e){return!!((0,r.i)(e)&&e.add)}},40406:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},27962:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});let r={};function i(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(e,t,n){if(e&&"object"==typeof e){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 s(e.children,t,n)}return Array.isArray(e)?s(e,t,n):""}function s(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}},23402:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(42761),i=n(15459);let o={tokenize:function(e,t,n){return function(t){return(0,i.xz)(t)?(0,r.f)(e,o,"linePrefix")(t):o(t)};function o(e){return null===e||(0,i.Ch)(e)?t(e):n(e)}},partial:!0}},42761:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(15459);function i(e,t,n,i){let o=i?i-1:Number.POSITIVE_INFINITY,s=0;return function(i){return(0,r.xz)(i)?(e.enter(n),function i(a){return(0,r.xz)(a)&&s++<o?(e.consume(a),i):(e.exit(n),t(a))}(i)):t(i)}}},15459:function(e,t,n){"use strict";n.d(t,{AF:function(){return l},Av:function(){return s},B8:function(){return d},Ch:function(){return c},H$:function(){return i},Xh:function(){return p},jv:function(){return r},n9:function(){return o},pY:function(){return a},sR:function(){return u},xz:function(){return f},z3:function(){return h}});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),o=m(/[#-'*+\--9=?A-Z^-~]/);function s(e){return null!==e&&(e<32||127===e)}let a=m(/\d/),l=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function h(e){return null!==e&&(e<0||32===e)}function f(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),d=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},21905:function(e,t,n){"use strict";function r(e,t,n,r){let i;let o=e.length,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return i},d:function(){return r}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(15459);function i(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(21905);let i={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let o;let s=(i.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];if(a)for(o in a){i.call(s,o)||(s[o]=[]);let e=a[o];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.d)(e,0,0,i)}(s[o],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},49411:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},63233:function(e,t,n){"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}n.d(t,{C:function(){return r}})},91634:function(e,t,n){"use strict";n.d(t,{dy:function(){return v},YP:function(){return x}});class r{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function i(e,t){let n={},i={},o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(i,e[o].normal);return new r(n,i,t)}r.prototype.property={},r.prototype.normal={},r.prototype.space=null;var o=n(93859),s=n(75729);let a={}.hasOwnProperty;function l(e){let t;let n={},i={};for(t in e.properties)if(a.call(e.properties,t)){let r=e.properties[t],a=new s.I(t,e.transform(e.attributes||{},t),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),n[t]=a,i[(0,o.F)(t)]=t,i[(0,o.F)(a.attribute)]=t}return new r(n,i,e.space)}let u=l({space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),c=l({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function h(e,t){return t in e?e[t]:t}function f(e,t){return h(e,t.toLowerCase())}let p=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:f,properties:{xmlns:null,xmlnsXLink:null}});var d=n(47312);let m=l({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:d.booleanish,ariaAutoComplete:null,ariaBusy:d.booleanish,ariaChecked:d.booleanish,ariaColCount:d.number,ariaColIndex:d.number,ariaColSpan:d.number,ariaControls:d.spaceSeparated,ariaCurrent:null,ariaDescribedBy:d.spaceSeparated,ariaDetails:null,ariaDisabled:d.booleanish,ariaDropEffect:d.spaceSeparated,ariaErrorMessage:null,ariaExpanded:d.booleanish,ariaFlowTo:d.spaceSeparated,ariaGrabbed:d.booleanish,ariaHasPopup:null,ariaHidden:d.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:d.spaceSeparated,ariaLevel:d.number,ariaLive:null,ariaModal:d.booleanish,ariaMultiLine:d.booleanish,ariaMultiSelectable:d.booleanish,ariaOrientation:null,ariaOwns:d.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:d.number,ariaPressed:d.booleanish,ariaReadOnly:d.booleanish,ariaRelevant:null,ariaRequired:d.booleanish,ariaRoleDescription:d.spaceSeparated,ariaRowCount:d.number,ariaRowIndex:d.number,ariaRowSpan:d.number,ariaSelected:d.booleanish,ariaSetSize:d.number,ariaSort:null,ariaValueMax:d.number,ariaValueMin:d.number,ariaValueNow:d.number,ariaValueText:null,role:null}}),g=l({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:f,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d.commaSeparated,acceptCharset:d.spaceSeparated,accessKey:d.spaceSeparated,action:null,allow:null,allowFullScreen:d.boolean,allowPaymentRequest:d.boolean,allowUserMedia:d.boolean,alt:null,as:null,async:d.boolean,autoCapitalize:null,autoComplete:d.spaceSeparated,autoFocus:d.boolean,autoPlay:d.boolean,blocking:d.spaceSeparated,capture:null,charSet:null,checked:d.boolean,cite:null,className:d.spaceSeparated,cols:d.number,colSpan:null,content:null,contentEditable:d.booleanish,controls:d.boolean,controlsList:d.spaceSeparated,coords:d.number|d.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:d.boolean,defer:d.boolean,dir:null,dirName:null,disabled:d.boolean,download:d.overloadedBoolean,draggable:d.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:d.boolean,formTarget:null,headers:d.spaceSeparated,height:d.number,hidden:d.boolean,high:d.number,href:null,hrefLang:null,htmlFor:d.spaceSeparated,httpEquiv:d.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:d.boolean,inputMode:null,integrity:null,is:null,isMap:d.boolean,itemId:null,itemProp:d.spaceSeparated,itemRef:d.spaceSeparated,itemScope:d.boolean,itemType:d.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:d.boolean,low:d.number,manifest:null,max:null,maxLength:d.number,media:null,method:null,min:null,minLength:d.number,multiple:d.boolean,muted:d.boolean,name:null,nonce:null,noModule:d.boolean,noValidate:d.boolean,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:d.boolean,optimum:d.number,pattern:null,ping:d.spaceSeparated,placeholder:null,playsInl
1ine:d.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:d.boolean,referrerPolicy:null,rel:d.spaceSeparated,required:d.boolean,reversed:d.boolean,rows:d.number,rowSpan:d.number,sandbox:d.spaceSeparated,scope:null,scoped:d.boolean,seamless:d.boolean,selected:d.boolean,shadowRootClonable:d.boolean,shadowRootDelegatesFocus:d.boolean,shadowRootMode:null,shape:null,size:d.number,sizes:null,slot:null,span:d.number,spellCheck:d.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:d.number,step:null,style:null,tabIndex:d.number,target:null,title:null,translate:null,type:null,typeMustMatch:d.boolean,useMap:null,value:d.booleanish,width:d.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:d.spaceSeparated,axis:null,background:null,bgColor:null,border:d.number,borderColor:null,bottomMargin:d.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:d.boolean,declare:d.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:d.number,leftMargin:d.number,link:null,longDesc:null,lowSrc:null,marginHeight:d.number,marginWidth:d.number,noResize:d.boolean,noHref:d.boolean,noShade:d.boolean,noWrap:d.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:d.number,rules:null,scheme:null,scrolling:d.booleanish,standby:null,summary:null,text:null,topMargin:d.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:d.boolean,disableRemotePlayback:d.boolean,prefix:null,property:null,results:d.number,security:null,unselectable:null}}),y=l({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:h,properties:{about:d.commaOrSpaceSeparated,accentHeight:d.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:d.number,amplitude:d.number,arabicForm:null,ascent:d.number,attributeName:null,attributeType:null,azimuth:d.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:d.number,by:null,calcMode:null,capHeight:d.number,className:d.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:d.number,diffuseConstant:d.number,direction:null,display:null,dur:null,divisor:d.number,dominantBaseline:null,download:d.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:d.number,enableBackground:null,end:null,event:null,exponent:d.number,externalResourcesRequired:null,fill:null,fillOpacity:d.number,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:d.commaSeparated,g2:d.commaSeparated,glyphName:d.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:d.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:d.number,horizOriginX:d.number,horizOriginY:d.number,id:null,ideographic:d.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:d.number,k:d.number,k1:d.number,k2:d.number,k3:d.number,k4:d.number,kernelMatrix:d.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:d.number,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:d.number,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,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:d.number,overlineThickness:d.number,paintOrder:null,panose1:null,path:null,pathLength:d.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:d.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:d.number,pointsAtY:d.number,pointsAtZ:d.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:d.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:d.commaOrSpaceSeparated,rev:d.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:d.commaOrSpaceSeparated,requiredFeatures:d.commaOrSpaceSeparated,requiredFonts:d.commaOrSpaceSeparated,requiredFormats:d.commaOrSpaceSeparated,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:d.number,specularExponent:d.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:d.number,strikethroughThickness:d.number,string:null,stroke:null,strokeDashArray:d.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:d.number,strokeOpacity:d.number,strokeWidth:null,style:null,surfaceScale:d.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:d.commaOrSpaceSeparated,tabIndex:d.number,tableValues:null,target:null,targetX:d.number,targetY:d.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:d.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:d.number,underlineThickness:d.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:d.number,values:null,vAlphabetic:d.number,vMathematical:d.number,vectorEffect:null,vHanging:d.number,vIdeographic:d.number,version:null,vertAdvY:d.number,vertOriginX:d.number,vertOriginY:d.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:d.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),v=i([c,u,p,m,g],"html"),x=i([c,u,p,m,y],"svg")},26103:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(93859),i=n(75729),o=n(49255);let s=/^data[-\w.:]+$/i,a=/-[a-z]/g,l=/[A-Z]/g;function u(e,t){let n=(0,r.F)(t),u=t,f=o.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&s.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(a,h);u="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!a.test(e)){let n=e.replace(l,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}f=i.I}return new f(u,t)}function c(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},93859:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},75729:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var r=n(49255),i=n(47312);let o=Object.keys(i);class s extends r.k{constructor(e,t,n,r){var s,a;let l=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++l<o.length;){let e=o[l];s=o[l],(a=(n&i[e])===i[e])&&(this[s]=a)}}}s.prototype.defined=!0},49255:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});class r{constructor(e,t){this.property=e,this.attribute=t}}r.prototype.space=null,r.prototype.boolean=!1,r.prototype.booleanish=!1,r.prototype.overloadedBoolean=!1,r.prototype.number=!1,r.prototype.commaSeparated=!1,r.prototype.spaceSeparated=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.mustUseProperty=!1,r.prototype.defined=!1},47312:function(e,t,n){"use strict";n.r(t),n.d(t,{boolean:function(){return i},booleanish:function(){return o},commaOrSpaceSeparated:function(){return c},commaSeparated:function(){return u},number:function(){return a},overloadedBoolean:function(){return s},spaceSeparated:function(){return l}});let r=0,i=h(),o=h(),s=h(),a=h(),l=h(),u=h(),c=h();function h(){return 2**++r}},72510:function(e,t,n){"use strict";n.d(t,{U:function(){return tN}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return eK},contentInitial:function(){return eW},disable:function(){return eG},document:function(){return eH},flow:function(){return eq},flowInitial:function(){return e$},insideSpan:function(){return eZ},string:function(){return eY},text:function(){return eX}});var i=n(24345),o=n(25668);let s=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function u(e,t){return((t||l).jsx?a:s).test(e)}let c=/[ \t\n\f\r]/g;function h(e){return""===e.replace(c,"")}var f=n(91634),p=n(26103);let d={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 m=n(50342),g=n(5174),y=g.default||g,v=n(3980);function x(e){return e&&"object"==typeof e?"position"in e||"type"in e?k(e.position):"start"in e||"end"in e?k(e):"line"in e||"column"in e?b(e):"":""}function b(e){return S(e&&e.line)+":"+S(e&&e.column)}function k(e){return b(e&&e.start)+"-"+b(e&&e.end)}function S(e){return e&&"number"==typeof e?e:1}
1class w extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t?{place: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&&(o=!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 s=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=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=x(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=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}w.prototype.file="",w.prototype.name="",w.prototype.reason="",w.prototype.message="",w.prototype.stack="",w.prototype.column=void 0,w.prototype.line=void 0,w.prototype.ancestors=void 0,w.prototype.cause=void 0,w.prototype.fatal=void 0,w.prototype.place=void 0,w.prototype.ruleId=void 0,w.prototype.source=void 0;let P={}.hasOwnProperty,C=new Map,T=/[A-Z]/g,A=/-([a-z])/g,E=new Set(["table","tbody","thead","tfoot","tr"]),M=new Set(["td","th"]),D="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function L(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=f.YP,e.schema=i),e.ancestors.push(t);let s=j(e,t.tagName,!1),a=function(e,t){let n,r;let i={};for(r in t.properties)if("children"!==r&&P.call(t.properties,r)){let s=function(e,t,n){let r=(0,p.s)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,o.P)(n):(0,m.P)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){let n={};try{y(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(A,F)),n[r]=t})}catch(t){if(!e.ignoreInvalidStyle){let n=new w("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=D+"#cannot-parse-style-attribute",n}}return n}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let n={};for(t in e)P.call(e,t)&&(n[function(e){let t=e.replace(T,z);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?d[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(s){let[r,o]=s;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&M.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),l=R(e,t);return E.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&h(e.value):h(e))})),O(e,a,s,t),I(a,l),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}V(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,o=r;"svg"===t.name&&"html"===r.space&&(o=f.YP,e.schema=o),e.ancestors.push(t);let s=null===t.name?e.Fragment:j(e,t.name,!0),a=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type){if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let o=t.expression;(0,i.ok)("ObjectExpression"===o.type);let s=o.properties[0];(0,i.ok)("SpreadElement"===s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else V(e,t.position)}else{let o;let s=r.name;if(r.value&&"object"==typeof r.value){if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),o=e.evaluater.evaluateExpression(t.expression)}else V(e,t.position)}else o=null===r.value||r.value;n[s]=o}return n}(e,t),l=R(e,t);return O(e,a,s,t),I(a,l),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}
1(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);V(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return I(r,R(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function O(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function I(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function R(e,t){let n=[],r=-1,i=e.passKeys?new Map:C;for(;++r<t.children.length;){let o;let s=t.children[r];if(e.passKeys){let e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let a=L(e,s,o);void 0!==a&&n.push(a)}return n}function j(e,t,n){let r;if(n){if(t.includes(".")){let e;let n=t.split("."),o=-1;for(;++o<n.length;){let t=u(n[o])?{type:"Identifier",name:n[o]}:{type:"Literal",value:n[o]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(o&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t}}else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return P.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);V(e)}function V(e,t){let n=new w("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=D+"#cannot-handle-mdx-estrees-without-createevaluater",n}function F(e,t){return t.toUpperCase()}function z(e){return"-"+e.toLowerCase()}let N={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var B=n(85893),_=n(27962),U=n(21905);class H{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&&W(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),W(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),W(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);W(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);W(this.left,t.reverse())}}}}function W(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 $(e){let t,n,r,i,o,s,a;let l={},u=-1,c=new H(e);for(;++u<c.length;){for(;(u in l);)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r;let i=e.get(t)[1],o=e.get(t)[2],s=t-1,a=[],l=i._tokenizer||o.parser[i.contentType](i.start),u=l.events,c=[],h={},f=-1,p=i,d=0,m=0,g=[0];for(;p;){for(;e.get(++s)[1]!==p;);a.push(s),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&l.defineSki
1p(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)h[d+c[f][0]]=d+c[f][1],d+=c[f][1]-c[f][0]-1;return h}(c,u)),u=l[u],a=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},c.get(n)[1].start),(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return(0,U.d)(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!a}var q=n(4663),Y=n(42761),X=n(15459);let Z={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,Y.f)(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,X.Ch)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},K={tokenize:function(e){let t,n,r;let i=this,o=[],s=0;return a;function a(t){if(s<o.length){let n=o[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(s);let a=r;for(;a<i.events.length;)i.events[a][1].end=Object.assign({},n),a++;return(0,U.d)(i.events,o+1,0,i.events.slice(r)),i.events.length=a,u(e)}return a(e)}function u(n){if(s===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return d(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(G,c,h)(n)}function c(e){return t&&y(),g(s),f(e)}function h(e){return i.parser.lazy[i.now().line]=s!==o.length,r=i.now().offset,d(e)}function f(t){return i.containerState={},e.attempt(G,p,d)(t)}function p(e){return s++,o.push([i.currentConstruct,i.containerState]),f(e)}function d(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,X.Ch)(n)?(e.consume(n),m(e.exit("chunkFlow")),s=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,o){let a=i.sliceStream(e);if(o&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let a=i.events.length,l=a;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(s),o=a;o<i.events.length;)i.events[o][1].end=Object.assign({},n),o++;(0,U.d)(i.events,l+1,0,i.events.slice(a)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},G={tokenize:function(e,t,n){return(0,Y.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Q=n(23402);let J={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,X.Ch)(t)?e.check(ee,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return $(e),e}},ee={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
1(0,Y.f)(e,i,"linePrefix")};function i(i){if(null===i||(0,X.Ch)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},et={tokenize:function(e){let t=this,n=e.attempt(Q.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,Y.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(J,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},en={resolveAll:es()},er=eo("string"),ei=eo("text");function eo(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),a}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(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}},resolveAll:es("text"===e?ea:void 0)}}function es(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 ea(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;let i=e[n-1][1],o=t.sliceStream(i),s=o.length,a=-1,l=0;for(;s--;){let e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-l,offset:i.end.offset-l,_index:i.start._index+s,_bufferIndex:s?a:i.start._bufferIndex+a},end:Object.assign({},i.end)};i.end=Object.assign({},o.start),i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}var el=n(63233);let eu={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,X.xz)(n)?(0,Y.f)(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||(0,X.Ch)(s))?(e.exit("thematicBreak"),t(s)):n(s)}(o)}}},ec={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,X.pY)(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(eu,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,X.pY)(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Q.w,r.interrupt?n:l,e.attempt(eh,c,u))}
1function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,X.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Q.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,Y.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,X.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ef,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,Y.f)(e,e.attempt(ec,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return(0,Y.f)(e,function(e){let i=r.events[r.events.length-1];return!(0,X.xz)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ef={tokenize:function(e,t,n){let r=this;return(0,Y.f)(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)},partial:!0},ep={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,X.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,X.xz)(t)?(0,Y.f)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(ep,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ed(e,t,n,r,i,o,s,a,l){let u=l||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||(0,X.Av)(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||(0,X.Ch)(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function d(i){return!c&&(null===i||41===i||(0,X.z3)(i))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,d):41===i?(e.consume(i),c--,d):null===i||32===i||40===i||(0,X.Av)(i)?n(i):(e.consume(i),92===i?m:d)}function m(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}function em(e,t,n,r,i,o){let s;let a=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(h){return l>999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(0,X.Ch)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||(0,X.Ch)(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s||(s=!(0,X.xz)(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function eg(e,t,n,r,i,o){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a):n(t)};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):(0,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
1(0,Y.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||(0,X.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function ey(e,t){let n;return function r(i){return(0,X.Ch)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,X.xz)(i)?(0,Y.f)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var ev=n(49411);let ex={tokenize:function(e,t,n){return function(t){return(0,X.z3)(t)?ey(e,r)(t):n(t)};function r(t){return eg(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,X.xz)(t)?(0,Y.f)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,X.Ch)(e)?t(e):n(e)}},partial:!0},eb={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,Y.f)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,X.Ch)(n)?e.attempt(ek,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,X.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ek={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,Y.f)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,X.Ch)(e)?i(e):n(e)}},partial:!0},eS={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let s,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){s="paragraph"===i.events[a][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,X.xz)(n)?(0,Y.f)(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||(0,X.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}},ew=["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"],eP=["pre","script","style","textarea"],eC={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Q.w,t,n)}},partial:!0},eT={tokenize:function(e,t,n){let r=this;return function(t){return(0,X.Ch)(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)}},partial:!0},eA={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)}},partial:!0},eE={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};
1function s(t){return e.enter("codeFencedFence"),(0,X.xz)(t)?(0,Y.f)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),(0,X.xz)(i)?(0,Y.f)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,X.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},s=0,a=0;return function(t){return function(t){let o=i.events[i.events.length-1];return s=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),(0,X.xz)(i)?(0,Y.f)(e,l,"whitespace")(i):l(i))}(t)}(t)};function l(o){return null===o||(0,X.Ch)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(eA,c,d)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,X.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,X.xz)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,Y.f)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||(0,X.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,X.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,d,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&(0,X.xz)(t)?(0,Y.f)(e,p,"linePrefix",s+1)(t):p(t)}function p(t){return null===t||(0,X.Ch)(t)?e.check(eA,c,d)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,X.Ch)(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function d(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eM=document.createElement("i");function eD(e){let t="&"+e+";";eM.innerHTML=t;let n=eM.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eL={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=X.H$,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=X.AF,u):(e.enter("characterReferenceValue"),r=7,i=X.pY,u(t))}function u(a){if(59===a&&s){let r=e.exit("characterReferenceValue");return i!==X.H$||eD(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<r?(e.consume(a),u):n(a)}}},eO={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,X.sR)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eI={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,Y.f)(e,t,"linePrefix")}}},eR={name:"labelEnd",tokenize:function(e,t,n){let r,i;let o=this,s=o.events.length;for(;s--;)if(("labelImage"===o.events[s][1].type||"labelLink"===o.events[s][1].type)&&!o.events[s][1]._balanced){r=o.events[s][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes((0,ev.d)(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(ej,u,i?u:c)(t):91===t?e.attempt(eV,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(eF,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",u,t]],o=(0,U.V)(o,e.slice(r+1,r+a+3)),o=(0,U.V)(o,[["enter",c,t]]),o=(0,U.V)(o,(0,el.C)(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=(0,U.V)(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=(0,U.V)(o,e.slice(i+1)),o=(0,U.V)(o,[["exit",l,t]]),(0,U.d)(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},ej={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,X.z3)(t)?ey(e,i)(t):i(t)}function i(t){return 41===t?u(t):ed(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,X.z3)(t)?ey(e,a)(t):u(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?eg(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return(0,X.z3)(t)?ey(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eV={tokenize:function(e,t,n){let r=this;return function(t){return em.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,ev.d)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},eF={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)}}},ez={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eR.resolveAll};var eN=n(62987);let eB={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=(0,eN.r)(i);return function(s){return n=s,e.enter("attentionSequence"),function s(a){if(a===n)return e.consume(a),s;let l=e.exit("attentionSequence"),u=(0,eN.r)(a),c=!u||2===u&&o||r.includes(a),h=!o||2===o&&u||r.includes(i);return l._open=!!(42===n?c:c&&(o||!h)),l._close=!!(42===n?h:h&&(u||!c)),t(a)}(s)}},resolveAll:function(e,t){let n,r,i,o,s,a,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let h=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);e_(h,-a),e_(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},s.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,U.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,U.V)(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=(0,U.V)(l,(0,el.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=(0,U.V)(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=(0,U.V)(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,(0,U.d)(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function e_(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eU={name:"labelStartLink",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)}},resolveAll:eR.resolveAll},eH={42:ec,43:ec,45:ec,48:ec,49:ec,50:ec,51:ec,52:ec,53:ec,54:ec,55:ec,56:ec,57:ec,62:ep},eW={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),em.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=(0,ev.d)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return(0,X.z3)(t)?ey(e,a)(t):a(t)}function a(t){return ed(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(ex,u,u)(t)}function u(t){return(0,X.xz)(t)?(0,Y.f)(e,c,"whitespace")(t):c(t)}function c(o){return null===o||(0,X.Ch)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},e$={[-2]:eb,[-1]:eb,32:eb},eq={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,X.z3)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,X.Ch)(r)?(e.exit("atxHeading"),t(r)):(0,X.xz)(r)?(0,Y.f)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,X.z3)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},(0,U.d)(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eu,45:[eS,eu],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,s,a;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,p):63===s?(e.consume(s),r=3,l.interrupt?t:O):(0,X.jv)(s)?(e.consume(s),o=String.fromCharCode(s),d):n(s)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,s=0,f):(0,X.jv)(i)?(e.consume(i),r=4,l.interrupt?t:O):n(i)}function h(r){return 45===r?(e.consume(r),l.interrupt?t:O):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:P:f:n(r)}function p(t){return(0,X.jv)(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(s){if(null===s||47===s||62===s||(0,X.z3)(s)){let a=47===s,u=o.toLowerCase();return!a&&!i&&eP.includes(u)?(r=1,l.interrupt?t(s):P(s)):ew.includes(o.toLowerCase())?(r=6,a)?(e.consume(s),m):l.interrupt?t(s):P(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return(0,X.xz)(n)?(e.consume(n),t):S(n)}(s):g(s))}return 45===s||(0,X.H$)(s)?(e.consume(s),o+=String.fromCharCode(s),d):n(s)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:P):n(r)}function g(t){return 47===t?(e.consume(t),S):58===t||95===t||(0,X.jv)(t)?(e.consume(t),y):(0,X.xz)(t)?(e.consume(t),g):S(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),x):(0,X.xz)(t)?(e.consume(t),v):g(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):(0,X.xz)(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,X.z3)(n)?v(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,k):null===t||(0,X.Ch)(t)?n(t):(e.consume(t),b)}function k(e){return 47===e||62===e||(0,X.xz)(e)?g(e):n(e)}function S(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||(0,X.Ch)(t)?P(t):(0,X.xz)(t)?(e.consume(t),w):n(t)}function P(t){return 45===t&&2===r?(e.consume(t),E):60===t&&1===r?(e.consume(t),M):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),L):(0,X.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eC,R,C)(t)):null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),P)}function C(t){return e.check(eT,T,R)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||(0,X.Ch)(t)?C(t):(e.enter("htmlFlowData"),P(t))}function E(t){return 45===t?(e.consume(t),O):P(t)}function M(t){return 47===t?(e.consume(t),o="",D):P(t)}
1function D(t){if(62===t){let n=o.toLowerCase();return eP.includes(n)?(e.consume(t),I):P(t)}return(0,X.jv)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),D):P(t)}function L(t){return 93===t?(e.consume(t),O):P(t)}function O(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),O):P(t)}function I(t){return null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),I)}function R(n){return e.exit("htmlFlow"),t(n)}},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},concrete:!0},61:eS,95:eu,96:eE,126:eE},eY={38:eL,92:eO},eX={[-5]:eI,[-4]:eI,[-3]:eI,33:ez,38:eL,42:eB,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,X.jv)(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||(0,X.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||(0,X.H$)(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,X.Av)(r)?n(r):(e.consume(r),s)}function a(t){return 64===t?(e.consume(t),l):(0,X.n9)(t)?(e.consume(t),a):n(t)}function l(i){return(0,X.H$)(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,X.H$)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),v):(0,X.jv)(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):(0,X.jv)(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),h):(0,X.Ch)(t)?(o=c,D(t)):(e.consume(t),c)}function h(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?M(e):45===e?h(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?d:p):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):(0,X.Ch)(t)?(o=d,D(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),g):d(t)}function g(t){return 62===t?M(t):93===t?(e.consume(t),g):d(t)}function y(t){return null===t||62===t?M(t):(0,X.Ch)(t)?(o=y,D(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),x):(0,X.Ch)(t)?(o=v,D(t)):(e.consume(t),v)}function x(e){return 62===e?M(e):v(e)}function b(t){return(0,X.jv)(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||(0,X.H$)(t)?(e.consume(t),k):function t(n){return(0,X.Ch)(n)?(o=t,D(n)):(0,X.xz)(n)?(e.consume(n),t):M(n)}(t)}function S(t){return 45===t||(0,X.H$)(t)?(e.consume(t),S):47===t||62===t||(0,X.z3)(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),M):58===t||95===t||(0,X.jv)(t)?(e.consume(t),P):(0,X.Ch)(t)?(o=w,D(t)):(0,X.xz)(t)?(e.consume(t),w):M(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),C):(0,X.Ch)(n)?(o=t,D(n)):(0,X.xz)(n)?(e.consume(n),t):w(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,T):(0,X.Ch)(t)?(o=C,D(t)):(0,X.xz)(t)?(e.consume(t),C):(e.consume(t),A)}function T(t){return t===r?(e.consume(t),r=void 0,E):null===t?n(t):(0,X.Ch)(t)?(o=T,D(t)):(e.consume(t),T)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,X.z3)(t)?w(t):(e.consume(t),A)}function E(e){return 47===e||62===e||(0,X.z3)(e)?w(e):n(e)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return(0,X.xz)(t)?(0,Y.f)(e,O,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),o(t)}}}],91:eU,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,X.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eO],93:eR,95:eB,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",a(s))}(l)):(0,X.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(l))}function a(t){return null===t||32===t||96===t||(0,X.Ch)(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}},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},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},eZ={null:[eB,en]},eK={null:[42,95]},eG={null:[]},eQ=/[\0\t\n\r]/g;function eJ(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 e0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e1(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eJ(n.slice(t?2:1),t?16:10)}return eD(n)||e}let e2={}.hasOwnProperty;function e4(e){return{line:e.line,column:e.column,offset:e.offset}}function e3(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+x({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+x({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+x({start:t.start,end:t.end})+") is still open")}function e5(e){let t=this;t.parser=function(n){var i,o;let s,a,l,u;return"string"!=typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(d),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,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(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:u,htmlText:r(g,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),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(d),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eJ(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=eD(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=e4(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,ev.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e0,e1),n.identifier=(0,ev.d)(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=e4(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(u.call(this,e),c.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,ev.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};(function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(e2.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:[]},s={stack:[r],tokenStack:[],config:t,enter:o,exit:a,buffer:i,resume:l,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,i,o,s,a=t-1,l=-1,u=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,s=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];e2.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},s),e[c][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||e3).call(s,void 0,e[0])}for(r.position={start:e4(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e4(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:e4(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(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]||e3).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+x({start:e.start,end:e.end})+"): it’s not open");n.position.end=e4(e.end)}function l(){return(0,_.B)(this.stack.pop())}function u(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:e4(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e4(e.end)}function h(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function d(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!$(e););return e}((function(e){let t={defined:[],lazy:{},constructs:(0,q.W)([r,...(e||{}).extensions||[]]),content:n(Z),document:n(K),flow:n(et),string:n(er),text:n(ei)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],s=[],a=[],l={consume:function(e){(0,X.Ch)(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===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e}
1,enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:d(function(e,t){m(e,t.from)}),check:d(p),interrupt:d(p,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let s=e[r];if("string"==typeof s)o=s;else switch(s){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":"	";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(s)}n=-2===s,i.push(o)}return i.join("")}(h(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,g()},write:function(e){return(s=(0,U.V)(s,e),function(){let e;for(;r._index<s.length;){let n=s[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),c=c(t)}else c=c(n)}}(),null!==s[s.length-1])?[]:(m(t,0),u.events=(0,el.C)(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function h(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,s=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,s)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[o].slice(0,s))}return n}(s,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function p(e,t){t.restore()}function d(e,t){return function(n,i,o){let s,c,h,p;return Array.isArray(n)?d(n):"tokenize"in n?d([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return d([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function d(e){return(s=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(p=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(a);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,a=o,g()},from:i}}(),h=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,y,v)(n)}}function y(t){return e(h,p),i}function v(e){return(p.restore(),++c<s.length)?m(s[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,U.d)(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((a=1,l="",u=!0,function(e,t,n){let r,i,o,c,h;let f=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,l="",u&&(65279===e.charCodeAt(0)&&o++,u=void 0);o<e.length;){if(eQ.lastIndex=o,c=(r=eQ.exec(e))&&void 0!==r.index?r.index:e.length,h=e.charCodeAt(c),!r){l=e.slice(o);break}if(10===h&&o===c&&s)f.push(-3),s=void 0;else switch(s&&(f.push(-5),s=void 0),o<c&&(f.push(e.slice(o,c)),a+=c-o),h){case 0:f.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),f.push(-2);a++<i;)f.push(-1);break;case 10:f.push(-4),a=1;break;default:s=!0,a=1}o=c+1}return n&&(s&&f.push(-5),l&&f.push(l),f.push(null)),f})(n,i,!0))))}}var e6=n(52835);function e9(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),s="";if(37===o&&(0,X.H$)(e.charCodeAt(n+1))&&(0,X.H$)(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function e8(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 e7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var te=n(21623);function tt(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function tn(e){let t=e.spread;return null==t?e.children.length>1:t}function tr(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 ti={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;
1let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=e9(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,a+=1,e.footnoteCounts.set(i,a);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tt(e,t);let i={src:e9(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:e9(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 tt(e,t);let i={href:e9(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:e9(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=tn(n[r])}return t}(n):tn(t),o={},s=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=(0,v.Pk)(t.children[1]),s=(0,v.rb)(t.children[t.children.length-1]);o&&s&&(r.position={start:o,end:s}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
1,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length,a=-1,l=[];for(;++a<s;){let n=t.children[a],r={},s=o?o[a]:void 0;s&&(r.align=s);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(tr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(tr(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:to,yaml:to,definition:to,footnoteDefinition:to};function to(){}let ts={}.hasOwnProperty,ta={};function tl(e,t){e.position&&(t.position=(0,v.FK)(e))}function tu(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,(0,e6.ZP)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tc(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 th(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tf(e,t){let n=function(e,t){let n=t||ta,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=th(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=th(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:tu,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...ti,...n.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(ts.call(o.handlers,n)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,e6.ZP)(n);return r.children=o.all(e),r}return(0,e6.ZP)(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(ts.call(n,"hProperties")||ts.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)})(o,e,t)},options:n,patch:tl,wrap:tc};return(0,te.Vn)(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)}}),o}(e,t),r=n.one(e,void 0),o=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||e8,r=e.options.footnoteBackLabel||e7,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let o=e.all(i),s=String(i.identifier).toUpperCase(),u=e9(s.toLowerCase()),c=0,h=[],f=e.footnoteCounts.get(s);for(;void 0!==f&&++c<=f;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...h)}else o.push(...h);let d={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...(0,e6.ZP)(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
1,{type:"text",value:"\n"}]}}(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&((0,i.ok)("children"in s),s.children.push({type:"text",value:"\n"},o)),s}function tp(e,t){return e&&"run"in e?async function(n,r){let i=tf(n,{file:r,...t});await e.run(i,r)}:function(n,r){return tf(n,{file:r,...t||e})}}function td(e){if(e)throw e}var tm=n(94470);function tg(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 ty={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tv(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(tv(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;tv(e);let n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1)}return o<0||r<0||0===s||1===s&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)tv(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){tv(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",o=0,s=-1,a=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===a);else if(s!==l-1&&2===a){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,a=0;continue}}else if(i.length>0){i="",o=0,s=l,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),o=l-s-1;s=l,a=0}else 46===n&&a>-1?a++:a=-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 tv(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tx(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tb=["history","path","basename","stem","extname","dirname"];class tk{constructor(e){let t,n;t=e?tx(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<tb.length;){let e=tb[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)tb.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?ty.basename(this.path):void 0}set basename(e){tw(e,"basename"),tS(e,"basename"),this.path=ty.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?ty.dirname(this.path):void 0}set dirname(e){tP(this.basename,"dirname"),this.path=ty.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?ty.extname(this.path):void 0}set extname(e){if(tS(e,"extname"),tP(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=ty.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tx(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tx(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)),tw(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?ty.basename(this.path,this.extname):void 0}set stem(e){tw(e,"stem"),tS(e,"stem"),this.path=ty.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 w(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 tS(e,t){if(e&&e.includes(ty.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+ty.sep+"`")}function tw(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function tP(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tC=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};for(let e of(Object.setPrototypeOf(r,t),Object.getOwnPropertyNames(n))){let t=Object.getOwnPropertyDescriptor(n,e);t&&Object.defineProperty(r,e,t)}return r},tT={}.hasOwnProperty;class tA extends tC{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function i(o,...s){let a=e[++n],l=-1;if(o){r(o);return}for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,a?(function(e,t){let n;return function(...t){let o;let s=e.length>t.length;
1s&&t.push(r);try{o=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...s):r(null,...s)})(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 tA,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(tm(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tL("data",this.frozen),this.namespace[e]=t,this):tT.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tL("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=tR(e),n=this.parser||this.Parser;return tM("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tM("process",this.parser||this.Parser),tD("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){let s=tR(e),a=n.parse(s);function l(e,n){e||!n?o(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(a,s,function(e,t,r){if(e||!t||!r)return l(e);let i=n.stringify(t,r);"string"==typeof i||i&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?r.value=i:r.result=i,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),tM("processSync",this.parser||this.Parser),tD("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,td(e),t=r}),tI("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){tO(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,s){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let a=tR(t);r.run(e,a,function(t,r,a){let l=r||e;t?s(t):o?o(l):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,a))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){td(e),n=t,r=!0}),tI("runSync","run",r),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tR(t),r=this.compiler||this.Compiler;return tD("stringify",r),tO(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(tL("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?o(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");o(e.plugins),e.settings&&(r.settings=tm(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else i(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,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,...o]=t,s=n[i][1];tg(s)&&tg(r)&&(r=tm(!0,s,r)),n[i]=[e,r,...o]}}}}let tE=new tA().freeze();function tM(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tD(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tL(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 tO(e){if(!tg(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tI(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tR(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tk(e)}let tj=[],tV={allowDangerousHtml:!0},tF=/^(https?|ircs?|mailto|xmpp)$/i,tz=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tN(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,s=e.components,a=e.disallowedElements,l=e.rehypePlugins||tj,u=e.remarkPlugins||tj,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tV}:tV,h=e.skipHtml,p=e.unwrapDisallowed,d=e.urlTransform||tB,m=tE().use(e5).use(u).use(tp,c).use(l),g=new tk;for(let n of("string"==typeof r?g.value=r:(0,i.t1)("Unexpected value `"+r+"` for `children` prop, expected `string`"),t&&a&&(0,i.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),tz))Object.hasOwn(e,n.from)&&(0,i.t1)("Unexpected `"+n.from+"` prop, "+(n.to?"use `"+n.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+n.id+"> for more info)");let y=m.parse(g),x=m.runSync(y,g);return o&&(x={type:"element",tagName:"div",properties:{className:o},children:"root"===x.type?x.children:[x]}),(0,te.Vn)(x,function(e,r,i){if("raw"===e.type&&i&&"number"==typeof r)return h?i.children.splice(r,1):i.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in N)if(Object.hasOwn(N,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=N[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!a&&a.includes(e.tagName);if(!o&&n&&"number"==typeof r&&(o=!n(e,r,i)),o&&i&&"number"==typeof r)return p&&e.children?i.children.splice(r,1,...e.children):i.children.splice(r,1),r}}),function(e,t){var n,r,i;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,o=function(e,t,r,i){let o=Array.isArray(r.children),a=(0,v.Pk)(e);return n(t,r,i,o,{columnNumber:a?a.column-1:void 0,fileName:s,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,i=t.jsxs,o=function(e,t,n,o){let s=Array.isArray(n.children)?i:r;return o?s(t,n,o):s(t,n)}}let a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?f.YP:f.dy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=L(a,e,void 0);return l&&"string"!=typeof l?l:a.create(e,a.Fragment,{children:l||void 0},void 0)}(x,{Fragment:B.Fragment,components:s,ignoreInvalidStyle:!0,jsx:B.jsx,jsxs:B.jsxs,passKeys:!0,passNode:!0})}function tB(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||tF.test(e.slice(0,t))?e:""}},50342:function(e,t,n){"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},96093:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=function(e){if(null==e)return o;if("function"==typeof e)return i(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):i(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return i(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}},3980:function(e,t,n){"use strict";n.d(t,{FK:function(){return s},Pk:function(){return i},rb:function(){return r}});let r=o("end"),i=o("start");function o(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function s(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return o},S4:function(){return s}});var r=n(96093);let i=[],o=!1;function s(e,t,n,s){let a;"function"==typeof t&&"function"!=typeof n?(s=n,n=t):a=t;let l=(0,r.O)(a),u=s?-1:1;(function e(r,a,c){let h=r&&"object"==typeof r?r:{};if("string"==typeof h.type){let e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return f;function f(){var h;let f,p,d,m=i;if((!t||l(r,a,c[c.length-1]||void 0))&&(m=Array.isArray(h=n(r,c))?h:"number"==typeof h?[!0,h]:null==h?i:[h])[0]===o)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(p=(s?r.children.length:-1)+u,d=c.concat(r);p>-1&&p<r.children.length;){if((f=e(r.children[p],p,d)())[0]===o)return f;p="number"==typeof f[1]?f[1]:p+u}return m}})(e,void 0,[])()}},21623:function(e,t,n){"use strict";n.d(t,{Vn:function(){return i}});var r=n(88718);function i(e,t,n,i){let o,s,a;"function"==typeof t&&"function"!=typeof n?(s=void 0,a=t,o=n):(s=t,a=n,o=i),(0,r.S4)(e,s,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}}}]);

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.