1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3082],{15587:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,o={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},a=function(e,t,n,a){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[n]||(o[n]=new WeakMap);var c=o[n],h=[],d=new Set,p=new Set(u),f=function(e){!e||d.has(e)||(d.add(e),f(e.parentNode))};u.forEach(f);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(a),o=null!==t&&"false"!==t,s=(r.get(e)||0)+1,l=(c.get(e)||0)+1;r.set(e,s),c.set(e,l),h.push(e),1===s&&o&&i.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),s++,function(){h.forEach(function(e){var t=r.get(e)-1,o=c.get(e)-1;r.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(a),i.delete(e)),o||e.removeAttribute(n)}),--s||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r,i=Array.from(Array.isArray(e)?e:[e]),o=t||(r=e,"undefined"==typeof document?null:(Array.isArray(r)?r[0]:r).ownerDocument.body);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),a(i,o,n,"aria-hidden")):function(){return null}}},59721: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)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},a=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],d=1,p=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<p;++d)if(t=arguments[d],null!=t)for(n in t)r=a(h,n),h!==(i=a(t,n))&&(f&&i&&(s(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&s(r)?r:{},l(h,{name:n,newValue:e(f,c,i)})):void 0!==i&&l(h,{name:n,newValue:i}));return h}},80466:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g;function u(e){return e?e.replace(a,""):""}e.exports=function(e,a){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];a=a||{};var c=1,h=1;function d(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 f(e),v(r),t}}function f(e){this.start=e,this.end={line:c,column:h},this.source=a.source}f.prototype.content=e;var m=[];function g(t){var n=Error(a.source+":"+c+":"+h+": "+t);if(n.reason=t,n.filename=a.source,n.line=c,n.column=h,n.source=e,a.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return h+=2,d(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}return v(r),function(){var e,n=[];for(y(n);e=function(){var e=p(),n=v(i);if(n){if(x(),!v(o))return g("property missing ':'");var r=v(s),a=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(l),a}}();)!1!==e&&(n.push(e),y(n));return n}()}}
1,87364:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(67401).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},99053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(67401).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},51719:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(67401).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},40767:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(67401).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},64065:(e,t,n)=>{"use strict";n.d(t,{A:()=>q});var r,i,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create,Object.create;var l=("function"==typeof SuppressedError&&SuppressedError,n(12115)),a="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,d=new WeakMap;function p(e){return e}var f=function(e){void 0===e&&(e={});var t,n,r,i=(void 0===t&&(t=p),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}});return i.options=o({async:!0,ssr:!1},e),i}(),m=function(){},g=l.forwardRef(function(e,t){var n,r,i,a,u=l.useRef(null),p=l.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),g=p[0],v=p[1],y=e.forwardProps,x=e.children,b=e.className,w=e.removeScrollBar,k=e.enabled,S=e.shards,P=e.sideCar,E=e.noRelative,T=e.noIsolation,A=e.inert,C=e.allowPinchZoom,M=e.as,D=e.gapMode,R=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=(n=[u,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(i=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,a=i.facade,h(function(){var e=d.get(a);if(e){var t=new Set(e),r=new Set(n),i=a.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,i)})}d.set(a,n)},[n]),a),L=o(o({},R),g);return l.createElement(l.Fragment,null,k&&l.createElement(P,{sideCar:f,removeScrollBar:w,shards:S,noRelative:E,noIsolation:T,inert:A,setCallbacks:v,allowPinchZoom:!!C,lockRef:u,gapMode:D}),y?l.cloneElement(l.Children.only(x),o(o({},L),{ref:I})):l.createElement(void 0===M?"div":M,o({},L,{className:b,ref:I}),x))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:u,zeroRight:a};var v=function(e){var t=e.sideCar,n=s(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,o({},n))};v.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,s;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),s=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(s)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},x=function(){var e=y();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=x();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},k=function(e){return parseInt(e||"",10)||0},S=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[k(n),k(r),k(i)]},P=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;var t=S(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},E=b(),T="data-scroll-locked",A=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(T,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(a," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(a," .").concat(a," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},C=function(){var e=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(e)?e:0},M=function(){l.useEffect(function(){return document.body.setAttribute(T,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(T):document.body.setAttribute(T,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;M();var o=l.useMemo(function(){return P(i)},[i]);return l.createElement(E,{styles:A(o,!t,i,n?"":"!important")})},R=!1;if("undefined"!=typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return R=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){R=!1}var L=!!R&&{passive:!1},O=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var i=N(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},j=function(e,t){return"v"===e?O(t,"overflowY"):O(t,"overflowX")},N=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},V=function(e,t,n,r,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),l=s*r,a=n.target,u=t.contains(a),c=!1,h=l>0,d=0,p=0;do{var f=N(e,a),m=f[0],g=f[1]-f[2]-s*m;(m||g)&&j(e,a)&&(d+=g,p+=m),a=a.parentNode.host||a.parentNode}while(!u&&a!==document.body||u&&(t.contains(a)||t===a));return h&&(i&&1>Math.abs(d)||!i&&l>d)?c=!0:!h&&(i&&1>Math.abs(p)||!i&&-l>p)&&(c=!0),c},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},_=function(e){return e&&"current"in e?e.current:e},U=0,W=[];let H=(r=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(U++)[0],o=l.useState(b)[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(_),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=B(e),l=n.current,a="deltaX"in e?e.deltaX:l[0]-o[0],u="deltaY"in e?e.deltaY:l[1]-o[1],c=e.target,h=Math.abs(a)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===h&&"range"===c.type)return!1;var d=F(h,c);if(!d)return!0;if(d?i=h:(i="v"===h?"h":"v",d=F(h,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(a||u)&&(r.current=i),!i)return!0;var p=r.current||i;return V(p,t,e,"h"===p?a:u,!0)},[]),u=l.useCallback(function(e){if(W.length&&W[W.length-1]===o){var n="deltaY"in e?z(e):B(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(s.current.shards||[]).map(_).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),h=l.useCallback(function(e){n.current=B(e),r.current=void 0},[]),d=l.useCallback(function(t){c(t.type,z(t),t.target,a(t,e.lockRef.current))},[]),p=l.useCallback(function(t){c(t.type,B(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return W.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,L),document.addEventListener("touchmove",u,L),document.addEventListener("touchstart",h,L),function(){W=W.filter(function(e){return e!==o}),document.removeEventListener("wheel",u,L),document.removeEventListener("touchmove",u,L),document.removeEventListener("touchstart",h,L)}},[]);var f=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?l.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(r),v);var $=l.forwardRef(function(e,t){return l.createElement(g,o({},e,{ref:t,sideCar:H}))});$.classNames=g.classNames;let q=$},68591:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}})(n(34919)),i=n(66643);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},66643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},a=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,a):e.replace(o,a)).replace(r,l))}},34919:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(80466))},93610:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{m:()=>r})},10561:(e,t,n)=>{"use strict";n.d(t,{UC:()=>eu,Y9:()=>el,q7:()=>es,bL:()=>eo,l9:()=>ea});var r=n(12115),i=n.t(r,2),o=n(18166),s=n(95155),l=n(88068),a=n(12317),u=n(93610),c=n(19365),h=n(23360),d=n(46611),p=n(17028),f=i["useId".toString()]||(()=>void 0),m=0;function g(e){let[t,n]=r.useState(f());return(0,d.N)(()=>{e||n(e=>e??String(m++))},[e]),e||(t?`radix-${t}`:"")}var v="Collapsible",[y,x]=(0,o.A)(v),[b,w]=y(v),k=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:l,onOpenChange:a,...u}=e,[d=!1,p]=(0,c.i)({prop:i,defaultProp:o,onChange:a});return(0,s.jsx)(b,{scope:n,disabled:l,contentId:g(),open:d,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),children:(0,s.jsx)(h.sG.div,{"data-state":C(d),"data-disabled":l?"":void 0,...u,ref:t})})});k.displayName=v;var S="CollapsibleTrigger",P=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=w(S,n);return(0,s.jsx)(h.sG.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":C(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,u.m)(e.onClick,i.onOpenToggle)})});P.displayName=S;var E="CollapsibleContent",T=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=w(E,e.__scopeCollapsible);return(0,s.jsx)(p.C,{present:n||i.open,children:e=>{let{present:n}=e;return(0,s.jsx)(A,{...r,ref:t,present:n})}})});T.displayName=E;var A=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:o,...a}=e,u=w(E,n),[c,p]=r.useState(i),f=r.useRef(null),m=(0,l.s)(t,f),g=r.useRef(0),v=g.current,y=r.useRef(0),x=y.current,b=u.open||c,k=r.useRef(b),S=r.useRef();return r.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.N)(()=>{let e=f.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,k.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),p(i)}},[u.open,i]),(0,s.jsx)(h.sG.div,{"data-state":C(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!b,...a,ref:m,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":x?"".concat(x,"px"):void 0,...e.style},children:b&&o})});function C(e){return e?"open":"closed"}var M=n(4256),D="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[I,L,O]=function(e){let t=e+"CollectionProvider",[n,i]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;function a(t){let{scope:n,children:i,...a}=t,u=n?.[e][l]||o,c=r.useMemo(()=>a,Object.values(a));return(0,s.jsx)(u.Provider,{value:c,children:i})}return n=[...n,i],a.displayName=t+"Provider",[a,function(n,s){let a=s?.[e][l]||o,u=r.useContext(a);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(t),[o,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:t,children:n}=e,i=r.useRef(null),l=r.useRef(new Map).current;return(0,s.jsx)(o,{scope:t,itemMap:l,collectionRef:i,children:n})};c.displayName=t;let h=e+"CollectionSlot",d=r.forwardRef((e,t)=>
1{let{scope:n,children:r}=e,i=u(h,n),o=(0,l.s)(t,i.collectionRef);return(0,s.jsx)(a.DX,{ref:o,children:r})});d.displayName=h;let p=e+"CollectionItemSlot",f="data-radix-collection-item",m=r.forwardRef((e,t)=>{let{scope:n,children:i,...o}=e,c=r.useRef(null),h=(0,l.s)(t,c),d=u(p,n);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...o}),()=>void d.itemMap.delete(c))),(0,s.jsx)(a.DX,{[f]:"",ref:h,children:i})});return m.displayName=p,[{Provider:c,Slot:d,ItemSlot:m},function(t){let n=u(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},i]}(D),[F,j]=(0,o.A)(D,[O,x]),N=x(),V=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,s.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,s.jsx)(H,{...r,ref:t}):(0,s.jsx)(W,{...r,ref:t})})});V.displayName=D;var[B,z]=F(D),[_,U]=F(D,{collapsible:!1}),W=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},collapsible:l=!1,...a}=e,[u,h]=(0,c.i)({prop:n,defaultProp:i,onChange:o});return(0,s.jsx)(B,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:h,onItemClose:r.useCallback(()=>l&&h(""),[l,h]),children:(0,s.jsx)(_,{scope:e.__scopeAccordion,collapsible:l,children:(0,s.jsx)(K,{...a,ref:t})})})}),H=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a=[],u]=(0,c.i)({prop:n,defaultProp:i,onChange:o}),h=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,s.jsx)(B,{scope:e.__scopeAccordion,value:a,onItemOpen:h,onItemClose:d,children:(0,s.jsx)(_,{scope:e.__scopeAccordion,collapsible:!0,children:(0,s.jsx)(K,{...l,ref:t})})})}),[$,q]=F(D),K=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:o,orientation:a="vertical",...c}=e,d=r.useRef(null),p=(0,l.s)(d,t),f=L(n),m="ltr"===(0,M.jH)(o),g=(0,u.m)(e.onKeyDown,e=>{var t;if(!R.includes(e.key))return;let n=e.target,r=f().filter(e=>{var t;return!(null===(t=e.ref.current)||void 0===t?void 0:t.disabled)}),i=r.findIndex(e=>e.ref.current===n),o=r.length;if(-1===i)return;e.preventDefault();let s=i,l=o-1,u=()=>{(s=i+1)>l&&(s=0)},c=()=>{(s=i-1)<0&&(s=l)};switch(e.key){case"Home":s=0;break;case"End":s=l;break;case"ArrowRight":"horizontal"===a&&(m?u():c());break;case"ArrowDown":"vertical"===a&&u();break;case"ArrowLeft":"horizontal"===a&&(m?c():u());break;case"ArrowUp":"vertical"===a&&c()}null===(t=r[s%o].ref.current)||void 0===t||t.focus()});return(0,s.jsx)($,{scope:n,disabled:i,direction:o,orientation:a,children:(0,s.jsx)(I.Slot,{scope:n,children:(0,s.jsx)(h.sG.div,{...c,"data-orientation":a,ref:p,onKeyDown:i?void 0:g})})})}),G="AccordionItem",[Y,X]=F(G),Z=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,o=q(G,n),l=z(G,n),a=N(n),u=g(),c=r&&l.value.includes(r)||!1,h=o.disabled||e.disabled;return(0,s.jsx)(Y,{scope:n,open:c,disabled:h,triggerId:u,children:(0,s.jsx)(k,{"data-orientation":o.orientation,"data-state":ei(c),...a,...i,ref:t,disabled:h,open:c,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})});Z.displayName=G;var Q="AccordionHeader",J=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(D,n),o=X(Q,n);return(0,s.jsx)(h.sG.h3,{"data-orientation":i.orientation,"data-state":ei(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});J.displayName=Q;var ee="AccordionTrigger",et=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(D,n),o=X(ee,n),l=U(ee,n),a=N(n);return(0,s.jsx)(I.ItemSlot,{scope:n,children:(0,s.jsx)(P,{"aria-disabled":o.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...a,...r,ref:t})})});et.displayName=ee;var en="AccordionContent",er=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(D,n),o=X(en,n),l=N(n);return(0,s.jsx)(T,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...l,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ei(e){return e?"open":"closed"}
1er.displayName=en;var eo=V,es=Z,el=J,ea=et,eu=er},18166:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(12115),i=n(95155);function o(e,t=[]){let n=[],s=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(t,o){let s=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,u=n?.[e]?.[l]||s,c=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(u.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,i){let a=i?.[e]?.[l]||s,u=r.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(s,...t)]}},4256:(e,t,n)=>{"use strict";n.d(t,{jH:()=>o});var r=n(12115);n(95155);var i=r.createContext(void 0);function o(e){let t=r.useContext(i);return e||t||"ltr"}},18553:(e,t,n)=>{"use strict";n.d(t,{qW:()=>v});var r,i=n(12115);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var s=n(47650);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():l(e[t],null)}}}}function u(...e){return i.useCallback(a(...e),e)}var c=n(95155),h=Symbol("radix.slottable");function d(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}var p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:n,...r}=e;if(i.isValidElement(n)){let e,o;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==i.Fragment&&(l.ref=t?a(t,s):s),i.cloneElement(n,l)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:r,...o}=e,s=i.Children.toArray(r),l=s.find(d);if(l){let e=l.props.children,r=s.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,c.jsx)(t,{...o,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,c.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=i.forwardRef((e,r)=>{let{asChild:i,...o}=e,s=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(s,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),f=n(41524),m="dismissableLayer.update",g=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=i.forwardRef((e,t)=>{var n,s;let{disableOutsidePointerEvents:l=!1,onEscapeKeyDown:a,onPointerDownOutside:h,onFocusOutside:d,onInteractOutside:v,onDismiss:b,...w}=e,k=i.useContext(g),[S,P]=i.useState(null),E=null!==(s=null==S?void 0:S.ownerDocument)&&void 0!==s?s:null===(n=globalThis)||void 0===n?void 0:n.document,[,T]=i.useState({}),A=u(t,e=>P(e)),C=Array.from(k.layers),[M]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),D=C.indexOf(M),R=S?C.indexOf(S):-1,I=k.layersWithOutsidePointerEventsDisabled.size>0,L=R>=D,O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,f.c)(e),o=i.useRef(!1),s=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>
1{if(e.target&&!o.current){let t=function(){x("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",s.current),s.current=t,n.addEventListener("click",s.current,{once:!0})):t()}else n.removeEventListener("click",s.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",s.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...k.branches].some(e=>e.contains(t));!L||n||(null==h||h(e),null==v||v(e),e.defaultPrevented||null==b||b())},E),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,f.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&x("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...k.branches].some(e=>e.contains(t))||(null==d||d(e),null==v||v(e),e.defaultPrevented||null==b||b())},E);return!function(e,t=globalThis?.document){let n=(0,f.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{R!==k.layers.size-1||(null==a||a(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},E),i.useEffect(()=>{if(S)return l&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(r=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(S)),k.layers.add(S),y(),()=>{l&&1===k.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=r)}},[S,E,l,k]),i.useEffect(()=>()=>{S&&(k.layers.delete(S),k.layersWithOutsidePointerEventsDisabled.delete(S),y())},[S,k]),i.useEffect(()=>{let e=()=>T({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,c.jsx)(p.div,{...w,ref:A,style:{pointerEvents:I?L?"auto":"none":void 0,...e.style},onFocusCapture:o(e.onFocusCapture,F.onFocusCapture),onBlurCapture:o(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:o(e.onPointerDownCapture,O.onPointerDownCapture)})});function y(){let e=new CustomEvent(m);document.dispatchEvent(e)}function x(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&o.addEventListener(e,t,{once:!0}),i)?o&&s.flushSync(()=>o.dispatchEvent(l)):o.dispatchEvent(l)}v.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(g),r=i.useRef(null),o=u(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(p.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},62292:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>o});var r=n(12115),i=0;function o(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:s()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:s()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function s(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},5431:(e,t,n)=>{"use strict";n.d(t,{n:()=>f});var r=n(12115);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}n(47650);var s=n(95155),l=Symbol("radix.slottable");function a(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,s;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(a.ref=t?o(t,l):l),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),u=l.find(a);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,s.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,l=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(l,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),c=n(41524),h="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",p={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:i=!1,onMountAutoFocus:l,onUnmountAutoFocus:a,...f}=e,[x,b]=r.useState(null),w=(0,c.c)(l),k=(0,c.c)(a),S=r.useRef(null),P=function(...e){return r.useCallback(o(...e),e)}(t,e=>b(e)),E=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(i){let e=function(e){if(E.paused||!x)return;let t=e.target;x.contains(t)?S.current=t:v(S.current,{select:!0})},t=function(e){if(E.paused||!x)return;let t=e.relatedTarget;null===t||x.contains(t)||v(S.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(x)});return x&&n.observe(x,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[i,x,E.paused]),r.useEffect(()=>{if(x){y.add(E);let e=document.activeElement;if(!x.contains(e)){let t=new CustomEvent(h,p);x.addEventListener(h,w),x.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(v(r,{select:t}),document.activeElement!==n)return}(m(x).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(x))}return()=>{x.removeEventListener(h,w),setTimeout(()=>{let t=new CustomEvent(d,p);x.addEventListener(d,k),x.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),x.removeEventListener(d,k),y.remove(E)},0)}}},[x,w,k,E]);let T=r.useCallback(e=>{if(!n&&!i||E.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,o]=function(e){let t=m(e);return[g(t,e),g(t.reverse(),e)]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&v(o,{select:!0})):(e.preventDefault(),n&&v(i,{select:!0})):r===t&&e.preventDefault()}},[n,i,E.paused]);return(0,s.jsx)(u.div,{tabIndex:-1,...f,ref:P,onKeyDown:T})});function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function g(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function v(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var y=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=x(e,t)).unshift(t)},remove(t){var n;null===(n=(e=x(e,t))[0])||void 0===n||n.resume()}}}();function x(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},7631:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(12115),i=n(47650);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var s=n(95155),l=Symbol("radix.slottable");function a(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,s;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(a.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}(t,l):l),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),u=l.find(a);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,s.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,l=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(l,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),c=globalThis?.document?r.useLayoutEffect:()=>{},h=r.forwardRef((e,t)=>{var n,o;let{container:l,...a}=e,[h,d]=r.useState(!1);c(()=>d(!0),[]);let p=l||h&&(null===(o=globalThis)||void 0===o?void 0:null===(n=o.document)||void 0===n?void 0:n.body);return p?i.createPortal((0,s.jsx)(u.div,{...a,ref:t}),p):null});h.displayName="Portal"},17028:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(12115),i=n(88068),o=n(46611),s=e=>{let{present:t,children:n}=e,s=function(e){var t,n;let[i,s]=r.useState(),a=r.useRef({}),u=r.useRef(e),c=r.useRef("none"),[h,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);c.current="mounted"===h?e:"none"},[h]),(0,o.N)(()=>{let t=a.current,n=u.current;if(n!==e){let r=c.current,i=l(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,o.N)(()=>{if(i){var e;let t;let n=null!==(e=i.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===i&&r&&(d("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=l(a.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),s(e)},[])}}(t),a="function"==typeof n?n({present:s.isPresent}):r.Children.only(n),u=(0,i.s)(s.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof n||s.isPresent?r.cloneElement(a,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},41524:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(12115);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},19365:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(12115);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,s]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,s=r.useRef(o),l=i(t);return r.useEffect(()=>{s.current!==o&&(l(o),s.current=o)},[o,s,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:o,u=i(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else s(t)},[l,e,s,u])]}},46611:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(12115),i=globalThis?.document?r.useLayoutEffect:()=>{}}
1,999:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(65192);class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>(0,r.J)()&&n.attachTimeline?n.attachTimeline(e):t(n));return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},10903:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(73513),i=n(93250),o=n(84707);function s(e,t,n){let s=(0,o.S)(e)?e:(0,i.OQ)(e);return s.start((0,r.f)("",s,t,n)),s.animation}},69554:(e,t,n)=>{"use strict";n.d(t,{o:()=>h});var r=n(14302),i=n(24569),o=n(65749),s=n(16611);function l(e,t){return e*Math.sqrt(1-t*t)}let a=["duration","bounce"],u=["stiffness","damping","mass"];function c(e,t){return t.some(t=>void 0!==e[t])}function h({keyframes:e,restDelta:t,restSpeed:n,...h}){let d;let p=e[0],f=e[e.length-1],m={done:!1,value:p},{stiffness:g,damping:v,mass:y,duration:x,velocity:b,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!c(e,u)&&c(e,a)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let a,u;(0,o.$)(e<=(0,r.f)(10),"Spring duration must be 10 seconds or less");let c=1-t;c=(0,s.q)(.05,1,c),e=(0,s.q)(.01,10,(0,r.X)(e)),c<1?(a=t=>{let r=t*c,i=r*e;return .001-(r-n)/l(t,c)*Math.exp(-i)},u=t=>{let r=t*c*e,i=Math.pow(c,2)*Math.pow(t,2)*e,o=Math.exp(-r),s=l(Math.pow(t,2),c);return(r*n+n-i)*o*(-a(t)+.001>0?-1:1)/s}):(a=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),u=t=>e*e*(n-t)*Math.exp(-t*e));let h=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(a,u,5/e);if(e=(0,r.f)(e),isNaN(h))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(h,2)*i;return{stiffness:t,damping:2*c*Math.sqrt(i*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...h,velocity:-(0,r.X)(h.velocity||0)}),k=b||0,S=v/(2*Math.sqrt(g*y)),P=f-p,E=(0,r.X)(Math.sqrt(g/y)),T=5>Math.abs(P);if(n||(n=T?.01:2),t||(t=T?.005:.5),S<1){let e=l(E,S);d=t=>f-Math.exp(-S*E*t)*((k+S*E*P)/e*Math.sin(e*t)+P*Math.cos(e*t))}else if(1===S)d=e=>f-Math.exp(-E*e)*(P+(k+E*P)*e);else{let e=E*Math.sqrt(S*S-1);d=t=>{let n=Math.exp(-S*E*t),r=Math.min(e*t,300);return f-n*((k+S*E*P)*Math.sinh(r)+e*P*Math.cosh(r))/e}}return{calculatedDuration:w&&x||null,next:e=>{let o=d(e);if(w)m.done=e>=x;else{let s=0;S<1&&(s=0===e?(0,r.f)(k):(0,i.Y)(d,e,o));let l=Math.abs(s)<=n,a=Math.abs(f-o)<=t;m.done=l&&a}return m.value=m.done?f:o,m}}}},63914:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r,t:()=>i});let r=2e4;function i(e){let t=0,n=e.next(t);for(;!n.done&&t<r;)t+=50,n=e.next(t);return t>=r?1/0:t}},81464:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{W:()=>r})},24569:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(42206);function i(e,t,n){let i=Math.max(t-5,0);return(0,r.f)(n-e(i),t-i)}},10856:(e,t,n)=>{"use strict";n.d(t,{l:()=>_});var r=n(99234),i=n(12115),o=n(999),s=n(69554),l=n(63914),a=n(14302),u=n(53636),c=n(37136),h=n(26781),d=n(84707),p=n(29127);function f(e){return"object"==typeof e&&!Array.isArray(e)}function m(e,t,n,r){return"string"==typeof e&&f(t)?(0,p.K)(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}var g=n(81464);function v(e,t,n,r){var i;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(i=r.get(t))&&void 0!==i?i:e}let y=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var x=n(17492),b=n(24093),w=n(50010);function k(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function S(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function P(e,t){return t[e]||(t[e]=[]),t[e]}let E=e=>"number"==typeof e,T=e=>e.every(E);var A=n(26088),C=n(65749),M=n(76888),D=n(18696),R=n(50100),I=n(92872),L=n(27865),O=n(65333);class F extends O.B{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,L.ge)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function j(e){let t={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,D.x)(e)?new R.l(t):new I.M(t);n.mount(e),A.C.set(e,n)}function N(e){let t=new F({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),A.C.set(e,t)}var V=n(10903);function B(e,t,n,r){let i=[];if((0,d.S)(e)||"number"==typeof e||"string"==typeof e&&!f(t))i.push((0,V.z)(e,f(t)&&t.default||t,n&&n.default||n));else{let o=m(e,t,r),s=o.length;(0,C.V)(!!s,"No valid elements provided.");for(let e=0;e<s;e++){let r=o[e],l=r instanceof Element?j:N;A.C.has(r)||l(r);let a=A.C.get(r),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,s)),i.push(...(0,M.$)(a,{...t,transition:u},{}))}}return i}function z(e){return function(t,n,r){let i=[];i=Array.isArray(t)&&Array.isArray(t[0])?function(e,t,n){let r=[];return(function(e,{defaultTransition:t={},...n}={},r,i){let o=t.duration||.3,s=new Map,p=new Map,f={},E=new Map,A=0,C=0,M=0;for(let n=0;n<e.length;n++){let s=e[n];if("string"==typeof s){E.set(s,C);continue}if(!Array.isArray(s)){E.set(s.name,v(C,s.at,A,E));continue}let[h,k,D={}]=s;void 0!==D.at&&(C=v(C,D.at,A,E));let R=0,I=(e,n,r,s=0,h=0)=>{let d=Array.isArray(e)?e:[e],{delay:p=0,times:f=(0,u.Z)(d),type:m="keyframes",...v}=n,{ease:k=t.ease||"easeOut",duration:S}=n,P="function"==typeof p?p(s,h):p,E=d.length,A=(0,g.W)(m)?m:null==i?void 0:i[m];if(E<=2&&A){let e=100;2===E&&T(d)&&(e=Math.abs(d[1]-d[0]));let t={...v};void 0!==S&&(t.duration=(0,a.f)(S));let n=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min((0,l.t)(r),l.Y);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:(0,a.X)(i)}}(t,e,A);k=n.ease,S=n.duration}null!=S||(S=o);let D=C+P,I=D+S;1===f.length&&0===f[0]&&(f[1]=1);let L=f.length-d.length;L>0&&(0,c.f)(f,L),1===d.length&&d.unshift(null),function(e,t,n,r,i,o){!function(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&((0,b.Ai)(e,i),r--)}}(e,i,o);for(let l=0;l<t.length;l++){var s;e.push({value:t[l],at:(0,w.k)(i,o,r[l]),easing:(s=l,(0,x.h)(n)?n[y(0,n.length,s)]:n)})}}(r,d,k,f,D,I),R=Math.max(P+S,R),M=Math.max(I,M)};if((0,d.S)(h))I(k,D,P("default",S(h,p)));else{let e=m(h,k,r,f),t=e.length;for(let n=0;n<t;n++){let r=S(e[n],p);for(let e in k)I(k[e],D&&D[e]?{...D,...D[e]}:{...D},P(e,r),n,t)}}A=C,C+=R}return p.forEach((e,r)=>{for(let i in e){let o=e[i];o.sort(k);let l=[],a=[],u=[];for(let e=0;e<o.length;e++){let{at:t,value:n,easing:r}=o[e];l.push(n),a.push((0,h.q)(0,M,t)),u.push(r||"easeOut")}0!==a[0]&&(a.unshift(0),l.unshift(l[0]),u.unshift("easeInOut")),1!==a[a.length-1]&&(a.push(1),l.push(null)),s.has(r)||s.set(r,{keyframes:{},transition:{}});let c=s.get(r);c.keyframes[i]=l,c.transition[i]={...t,duration:M,ease:u,times:a,...n}}}),s})(e,t,n,{spring:s.o}).forEach(({keyframes:e,transition:t},n)=>{r.push(...B(n,e,t))}),r}(t,n,e):B(t,n,r,e);let p=new o.P(i);return e&&e.animations.push(p),p}}function _(){var e;let t=(0,r.M)(()=>({current:null,animations:[]})),n=(0,r.M)(()=>z(t));return e=()=>{t.animations.forEach(e=>e.stop())},(0,i.useEffect)(()=>()=>e(),[]),[t,n]}z()},73513:(e,t,n)=>{"use strict";n.d(t,{f:()=>eo});var r=n(14302),i=n(31371);let o={type:"spring",stiffness:500,damping:25,restSpeed:10},s=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),l={type:"keyframes",duration:.8},a={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},u=(e,{keyframes:t})=>t.length>2?l:i.f.has(e)?e.startsWith("scale")?s(t[1]):o:a;var c=n(59193),h=n(93903);let d={current:!1},p=e=>null!==e;function f(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(p),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return o&&void 0!==r?r:i[o]}var m=n(3307),g=n(28018),v=n(67051),y=n(26575),x=n(8216),b=n(38792),w=n(81464),k=n(79125),S=n(22368),P=n(65749),E=n(55254);let T=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(E.f.test(e)||"0"===e)&&!e.startsWith("url("));class A{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=k.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:
1o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,S.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=k.k.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:l,isGenerator:a}=this.options;if(!a&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=T(i,t),l=T(o,t);return(0,P.$)(s===l,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!s&&!!l&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,w.W)(n))&&r)}(e,n,r,i)){if(d.current||!o){null==l||l(f(e,this.options,t)),null==s||s(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var C=n(69554),M=n(24569);function D({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){let h,d;let p=e[0],f={done:!1,value:p},m=e=>void 0!==l&&e<l||void 0!==a&&e>a,g=e=>void 0===l?a:void 0===a?l:Math.abs(l-e)<Math.abs(a-e)?l:a,v=n*t,y=p+v,x=void 0===s?y:s(y);x!==y&&(v=x-p);let b=e=>-v*Math.exp(-e/r),w=e=>x+b(e),k=e=>{let t=b(e),n=w(e);f.done=Math.abs(t)<=u,f.value=f.done?x:n},S=e=>{m(f.value)&&(h=e,d=(0,C.o)({keyframes:[f.value,g(f.value)],velocity:(0,M.Y)(w,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,k(e),S(e)),void 0!==h&&e>=h)?d.next(e-h):(t||k(e),f)}}}var R=n(10972),I=n(17492),L=n(20248),O=n(37751),F=n(53636);function j({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=(0,I.h)(r)?r.map(L.K):(0,L.K)(r),o={done:!1,value:t[0]},s=(n&&n.length===t.length?n:(0,F.Z)(t)).map(t=>t*e),l=(0,O.G)(s,t,{ease:Array.isArray(i)?i:t.map(()=>i||R.am).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}var N=n(15068),V=n(91671),B=n(63914),z=n(16611);let _=e=>{let t=({timestamp:t})=>e(t);return{start:()=>m.Gt.update(t,!0),stop:()=>(0,m.WG)(t),now:()=>m.uv.isProcessing?m.uv.timestamp:k.k.now()}},U={decay:D,inertia:D,tween:j,keyframes:j,spring:C.o},W=e=>e/100;class H extends A{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=(null==r?void 0:r.KeyframeResolver)||S.h;this.resolver=new o(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s,velocity:l=0}=this.options,a=(0,w.W)(r)?r:U[r]||j;a!==j&&"number"!=typeof e[0]&&(t=(0,N.F)(W,(0,V.j)(e[0],e[1])),e=[0,100]);let u=a({...this.options,keyframes:e});"mirror"===s&&(n=a({...this.options,keyframes:[...e].reverse(),velocity:-l})),null===u.calculatedDuration&&(u.calculatedDuration=(0,B.t)(u));let{calculatedDuration:c}=u,h=c+o;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:a,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);
1let{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let v=this.currentTime-h*(this.speed>=0?1:-1),y=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let x=this.currentTime,b=i;if(d){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,d+1))%2&&("reverse"===p?(n=1-n,m&&(n-=m/c)):"mirror"===p&&(b=o)),x=(0,z.q)(0,1,n)*c}let w=y?{done:!1,value:l[0]}:b.next(x);s&&(w.value=s(w.value));let{done:k}=w;y||null===a||(k=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&void 0!==r&&(w.value=f(l,this.options,r)),g&&g(w.value),S&&this.finish(),w}get duration(){let{resolved:e}=this;return e?(0,r.X)(e.calculatedDuration):0}get time(){return(0,r.X)(this.currentTime)}set time(e){e=(0,r.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=_,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let $=new Set(["opacity","clipPath","filter","transform"]);var q=n(10926),K=n(26781);let G=(e,t)=>{let n="",r=Math.max(Math.round(t/10),2);for(let t=0;t<r;t++)n+=e((0,K.q)(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};var Y=n(52398);let X={linearEasing:void 0},Z=function(e,t){let n=(0,Y.p)(e);return()=>{var e;return null!==(e=X[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),Q=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,J={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Q([0,.65,.55,1]),circOut:Q([.55,0,1,.45]),backIn:Q([.31,.01,.66,-.59]),backOut:Q([.33,1.53,.69,.99])};function ee(e,t){e.timeline=t,e.onfinish=null}let et=(0,Y.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),en={anticipate:g.b,backInOut:v.ZZ,circInOut:y.tn};class er extends A{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new x.K(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:o,ease:s,type:l,motionValue:a,name:u,startTime:c}=this.options;if(!(null===(n=a.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof s&&Z()&&s in en&&(s=en[s]),r=this.options,(0,w.W)(r.type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&Z()||!t||"string"==typeof t&&(t in J||Z())||(0,q.D)(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:a,...u}=this.options,c=function(e,t){let n=new H({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<2e4;)i.push((r=n.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,o=c.times,s=c.ease,l="keyframes"}let h=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:l="easeInOut",times:a}={}){let u={[t]:n};a&&(u.offset=a);let c=function e(t,n){if(t)return"function"==typeof t&&Z()?G(t,n):(0,q.D)(t)?Q(t):Array.isArray(t)?t.map(t=>e(t,n)||J.easeOut):J[t]}(l,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(a.owner.current,u,e,{...this.options,duration:i,times:o,ease:s});return h.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(ee(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:n}=this.options;a.set(f(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:o,type:l,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,r.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,r.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,r.f)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return b.l;let{animation:n}=t;ee(n,e)}else this.pendingTimeline=e;return b.l}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:i,type:o,ease:s,times:l}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,element:u,...c}=this.options,h=new H({...c,keyframes:n,duration:i,type:o,ease:s,times:l,isGenerator:!0}),d=(0,r.f)(this.time);e.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;return et()&&n&&$.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}}var ei=n(999);let eo=(e,t,n,i={},o,s)=>l=>{let a=(0,c.r)(i,e)||{},p=a.delay||i.delay||0,{elapsed:g=0}=i;g-=(0,r.f)(p);let v={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-g,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{l(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(v={...v,...u(e,v)}),v.duration&&(v.duration=(0,r.f)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,r.f)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let y=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(v.duration=0,0!==v.delay||(y=!0)),(d.current||h.W.skipAnimations)&&(y=!0,v.duration=0,v.delay=0),y&&!s&&void 0!==t.get()){let e=f(v.keyframes,a);if(void 0!==e)return m.Gt.update(()=>{v.onUpdate(e),v.onComplete()}),new ei.P([])}return!s&&er.supports(v)?new er(v):new H(v)}},76888:(e,t,n)=>{"use strict";n.d(t,{$:()=>d});var r=n(31371),i=n(73513),o=n(55238),s=n(93250),l=n(95134),a=n(59193),u=n(32389),c=n(86901),h=n(3307);function d(e,t,{delay:n=0,transitionOverride:p,type:f}={}){var m;let{transition:g=e.getDefaultTransition(),transitionEnd:v,...y}=t;p&&(g=p);let x=[],b=f&&e.animationState&&e.animationState.getState()[f];for(let t in y){let o=e.getValue(t,null!==(m=e.latestValues[t])&&void 0!==m?m:null),s=y[t];if(void 0===s||b&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(b,t))continue;let l={delay:n,...(0,a.r)(g||{},t)},d=!1;if(window.MotionHandoffAnimation){let n=(0,u.P)(e);if(n){let e=window.MotionHandoffAnimation(n,t,h.Gt);null!==e&&(l.startTime=e,d=!0)}}(0,c.g)(e,t),o.start((0,i.f)(t,o,s,e.shouldReduceMotion&&r.f.has(t)?{type:!1}:l,e,d));let p=o.animation;p&&x.push(p)}return v&&Promise.all(x).then(()=>{h.Gt.update(()=>{v&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=(0,l.K)(e,t)||{};for(let t in i={...i,...n}){let n=(0,o.K)(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,s.OQ)(n))}}(e,v)})}),x}},17539:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});let r="data-"+(0,n(42717).I)("framerAppearId")},32389:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(17539);function i(e){return e.props[r.n]}},59193:(e,t,n)=>{"use strict";function r(e,t){return e?e[t]||e.default||e:void 0}n.d(t,{r:()=>r})},5385:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},82043:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});let r=e=>Array.isArray(e)},2796:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(20248);function i(e=.1,{startDelay:t=0,from:n=0,ease:o}={}){return(i,s)=>{let l=e*Math.abs(("number"==typeof n?n:function(e,t){if("first"===e)return 0;{let n=t-1;return"last"===e?n:n/2}}(n,s))-i);if(o){let t=s*e;l=(0,r.K)(o)(l/t)*t}return t+l}}},64710:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});let r=(0,n(12115).createContext)({})},27249:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let r=(0,n(12115).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},39656:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r=(0,n(12115).createContext)(null)},28018:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(67051);let i=e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},67051:(e,t,n)=>{"use strict";n.d(t,{Sz:()=>s,ZZ:()=>a,dg:()=>l});var r=n(2616),i=n(35290),o=n(94641);let s=(0,r.A)(.33,1.53,.69,.99),l=(0,o.G)(s),a=(0,i.V)(l)},26575:(e,t,n)=>{"use strict";n.d(t,{po:()=>o,tn:()=>l,yT:()=>s});var r=n(35290),i=n(94641);let o=e=>1-Math.sin(Math.acos(e)),s=(0,i.G)(o),l=(0,r.V)(o)},2616:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(38792);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function o(e,t,n,o){if(e===t&&n===o)return r.l;let s=t=>(function(e,t,n,r,o){let s,l;let a=0;do(s=i(l=t+(n-t)/2,r,o)-e)>0?n=l:t=l;while(Math.abs(s)>1e-7&&++a<12);return l})(t,0,1,e,n);return e=>0===e||1===e?e:i(s(e),t,o)}},10972:(e,t,n)=>{"use strict";n.d(t,{a6:()=>i,am:()=>s,vT:()=>
1o});var r=n(2616);let i=(0,r.A)(.42,0,1,1),o=(0,r.A)(0,0,.58,1),s=(0,r.A)(.42,0,.58,1)},35290:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},94641:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});let r=e=>t=>1-e(1-t)},10926:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});let r=e=>Array.isArray(e)&&"number"==typeof e[0]},17492:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});let r=e=>Array.isArray(e)&&"number"!=typeof e[0]},20248:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var r=n(65749),i=n(2616),o=n(38792),s=n(10972),l=n(26575),a=n(67051),u=n(28018),c=n(10926);let h={linear:o.l,easeIn:s.a6,easeInOut:s.am,easeOut:s.vT,circIn:l.po,circInOut:l.tn,circOut:l.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:u.b},d=e=>{if((0,c.D)(e)){(0,r.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,o,s]=e;return(0,i.A)(t,n,o,s)}return"string"==typeof e?((0,r.V)(void 0!==h[e],`Invalid easing type '${e}'`),h[e]):e}},14499:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(93903);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function o(e,t){let n=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,a=i.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function l(t){o.has(t)&&(a.schedule(t),e()),t(s)}let a={schedule:(e,i=!1,s=!1)=>{let l=s&&r?t:n;return i&&o.add(e),l.has(e)||l.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(l),r=!1,i&&(i=!1,a.process(e))}};return a}(l),e),{}),{read:u,resolveKeyframes:c,update:h,preRender:d,render:p,postRender:f}=a,m=()=>{let i=r.W.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=o?1e3/60:Math.max(Math.min(i-s.timestamp,40),1),s.timestamp=i,s.isProcessing=!0,u.process(s),c.process(s),h.process(s),d.process(s),p.process(s),f.process(s),s.isProcessing=!1,n&&t&&(o=!1,e(m))},g=()=>{n=!0,o=!0,s.isProcessing||e(m)};return{schedule:i.reduce((e,t)=>{let r=a[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)a[i[t]].cancel(e)},state:s,steps:a}}},3307:(e,t,n)=>{"use strict";n.d(t,{Gt:()=>i,PP:()=>l,WG:()=>o,uv:()=>s});var r=n(38792);let{schedule:i,cancel:o,state:s,steps:l}=(0,n(14499).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},79125:(e,t,n)=>{"use strict";let r;n.d(t,{k:()=>l});var i=n(93903),o=n(3307);function s(){r=void 0}let l={now:()=>(void 0===r&&l.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(s)}}},66247:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});let r={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"]},i={};for(let e in r)i[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},59246:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(63154),i=n(31371);function o(e,{layout:t,layoutId:n}){return i.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r.H[e]||"opacity"===e)}},65599:(e,t,n)=>{"use strict";function r({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function i({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function o(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}}n.d(t,{FY:()=>r,bS:()=>o,pA:()=>i})},32994:(e,t,n)=>{"use strict";n.d(t,{OU:()=>u,Ql:()=>c,Ww:()=>d,hq:()=>o,o4:()=>a});var r=n(50010),i=n(62985);function o(e,t,n){return n+t*(e-n)}function s(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function l(e,t=0,n=1,r,i){e.min=s(e.min,t,n,r,i),e.max=s(e.max,t,n,r,i)}function a(e,{x:t,y:n}){l(e.x,t.translate,t.scale,t.originPoint),l(e.y,n.translate,n.scale,n.originPoint)}function u(e,t,n,r=!1){let o,s;let l=n.length;if(l){t.x=t.y=1;for(let u=0;u<l;u++){s=(o=n[u]).projectionDelta;let{visualElement:l}=o.options;(!l||!l.props.style||"contents"!==l.props.style.display)&&(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&d(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,a(e,s)),r&&(0,i.HD)(o.latestValues)&&d(e,o.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function c(e,t){e.min=e.min+t,e.max=e.max+t}function h(e,t,n,i,o=.5){let s=(0,r.k)(e.min,e.max,o);l(e,t,n,s,i)}function d(e,t){h(e.x,t.x,t.scaleX,t.scale,t.originX),h(e.y,t.y,t.scaleY,t.scale,t.originY)}},27865:(e,t,n)=>{"use strict";n.d(t,{ge:()=>s,xU:()=>i});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})}
1,63154:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,H:()=>r});let r={};function i(e){Object.assign(r,e)}},62985:(e,t,n)=>{"use strict";function r(e){return void 0===e||1===e}function i({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function o(e){return i(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{HD:()=>o,vF:()=>s,vk:()=>i})},77106:(e,t,n)=>{"use strict";n.d(t,{L:()=>s,m:()=>o});var r=n(65599),i=n(32994);function o(e,t){return(0,r.FY)((0,r.bS)(e.getBoundingClientRect(),t))}function s(e,t,n){let r=o(e,n),{scroll:s}=t;return s&&((0,i.Ql)(r.x,s.offset.x),(0,i.Ql)(r.y,s.offset.y)),r}},65333:(e,t,n)=>{"use strict";n.d(t,{B:()=>C});var r=n(15687);let i={current:null},o={current:!1};var s=n(87945),l=n(93250),a=n(84707),u=n(31371),c=n(99038),h=n(78442),d=n(66247),p=n(26088),f=n(22368),m=n(20555),g=n(66879),v=n(94064),y=n(55254),x=n(18201),b=n(83510);let w=[...x.T,v.y,y.f],k=e=>w.find((0,b.w)(e));var S=n(1435),P=n(27865),E=n(79125),T=n(3307);let A=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=f.h,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.renderScheduledAt=0,this.scheduleRender=()=>{let e=E.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,T.Gt.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,c.e)(t),this.isVariantNode=(0,c.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:h,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==l[e]&&(0,a.S)(t)&&t.set(l[e],!1)}}mount(e){this.current=e,p.C.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)),o.current||function(){if(o.current=!0,r.B){
1if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i.current=e.matches;e.addListener(t),t()}else i.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in p.C.delete(this.current),this.projection&&this.projection.unmount(),(0,T.WG)(this.notifyUpdate),(0,T.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=u.f.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&T.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in d.B){let t=d.B[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,P.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=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<A.length;t++){let n=A[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){for(let r in t){let i=t[r],o=n[r];if((0,a.S)(i))e.addValue(r,i);else if((0,a.S)(o))e.addValue(r,(0,l.OQ)(i,{owner:e}));else if(o!==i){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,(0,l.OQ)(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),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}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&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,l.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,m.i)(r)||(0,g.$)(r))?r=parseFloat(r):!k(r)&&y.f.test(t)&&(r=(0,S.J)(e,t)),this.setBaseTarget(e,(0,a.S)(r)?r.get():r)),(0,a.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,h.a)(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,a.S)(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new s.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}},25026:(e,t,n)=>{"use strict";n.d(t,{P:()=>nx});var r,i,o=n(5385),s=n(82043);function l(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 a=n(62896),u=n(95134),c=n(34543),h=n(76888);function d(e,t,n={}){var r;let i=(0,u.K)(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};
1n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all((0,h.$)(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:l}=o;return function(e,t,n=0,r=0,i=1,o){let s=[],l=(e.variantChildren.size-1)*r,a=1===i?(e=0)=>e*r:(e=0)=>l-e*r;return Array.from(e.variantChildren).sort(p).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(d(e,t,{...o,delay:n+a(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,l,n)}:()=>Promise.resolve(),{when:a}=o;if(!a)return Promise.all([s(),l(n.delay)]);{let[e,t]="beforeChildren"===a?[s,l]:[l,s];return e().then(()=>t())}}function p(e,t){return e.sortNodePosition(t)}let f=c._.length,m=[...c.U].reverse(),g=c.U.length;function v(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function y(){return{animate:v(!0),whileInView:v(),whileHover:v(),whileTap:v(),whileDrag:v(),whileFocus:v(),exit:v()}}class x{constructor(e){this.isMounted=!1,this.node=e}update(){}}class b extends x{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>d(e,t,n)));else if("string"==typeof t)r=d(e,t,n);else{let i="function"==typeof t?(0,u.K)(e,t,n.custom):t;r=Promise.all((0,h.$)(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=y(),r=!0,i=t=>(n,r)=>{var i;let o=(0,u.K)(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function p(u){let{props:h}=e,d=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<f;e++){let r=c._[e],i=t.props[r];((0,a.w)(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},p=[],v=new Set,y={},x=1/0;for(let t=0;t<g;t++){var b;let c=m[t],f=n[c],g=void 0!==h[c]?h[c]:d[c],w=(0,a.w)(g),k=c===u?f.isActive:null;!1===k&&(x=t);let S=g===d[c]&&g!==h[c]&&w;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),f.protectedKeys={...y},!f.isActive&&null===k||!g&&!f.prevProp||(0,o.N)(g)||"boolean"==typeof g)continue;let P=(b=f.prevProp,"string"==typeof g?g!==b:!!Array.isArray(g)&&!l(g,b)),E=P||c===u&&f.isActive&&!S&&w||t>x&&w,T=!1,A=Array.isArray(g)?g:[g],C=A.reduce(i(c),{});!1===k&&(C={});let{prevResolvedValues:M={}}=f,D={...M,...C},R=t=>{E=!0,v.has(t)&&(T=!0,v.delete(t)),f.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in D){let t=C[e],n=M[e];if(!y.hasOwnProperty(e))((0,s.p)(t)&&(0,s.p)(n)?l(t,n):t===n)?void 0!==t&&v.has(e)?R(e):f.protectedKeys[e]=!0:null!=t?R(e):v.add(e)}f.prevProp=g,f.prevResolvedValues=C,f.isActive&&(y={...y,...C}),r&&e.blockInitialAnimation&&(E=!1);let I=!(S&&P)||T;E&&I&&p.push(...A.map(e=>({animation:e,options:{type:c}})))}if(v.size){let t={};v.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),p.push({animation:t})}let w=!!p.length;return r&&(!1===h.initial||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(p):Promise.resolve()}return{animateChanges:p,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let o=p(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=y(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,o.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let w=0;class k extends x{constructor(){super(...arguments),this.id=w++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
1t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}var S=n(38792),P=n(65749);let E=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function T(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let A=e=>t=>E(t)&&e(t,T(t));var C=n(14302);function M(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function D(e,t,n,r){return M(e,t,A(n),r)}var R=n(15068);let I=(e,t)=>Math.abs(e-t);var L=n(3307);class O{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=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=N(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){return Math.sqrt(I(e.x,t.x)**2+I(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=L.uv;this.history.push({...r,timestamp:i});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=F(t,this.transformPagePoint),L.Gt.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=N("pointercancel"===e.type?this.lastMoveEventInfo:F(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!E(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=F(T(e),this.transformPagePoint),{point:s}=o,{timestamp:l}=L.uv;this.history=[{...s,timestamp:l}];let{onSessionStart:a}=t;a&&a(e,N(o,this.history)),this.removeListeners=(0,R.F)(D(this.contextWindow,"pointermove",this.handlePointerMove),D(this.contextWindow,"pointerup",this.handlePointerUp),D(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,L.WG)(this.updatePoint)}}function F(e,t){return t?{point:t(e.point)}:e}function j(e,t){return{x:e.x-t.x,y:e.y-t.y}}function N({point:e},t){return{point:e,delta:j(e,V(t)),offset:j(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=V(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,C.f)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,C.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 V(e){return e[e.length-1]}function B(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let z=B("dragHorizontal"),_=B("dragVertical");function U(e){let t=!1;if("y"===e)t=_();else if("x"===e)t=z();else{let e=z(),n=_();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function W(){let e=U(!0);return!e||(e(),!1)}function H(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var $=n(26781),q=n(50010);function K(e){return e.max-e.min}function G(e,t,n,r=.5){e.origin=r,e.originPoint=(0,q.k)(t.min,t.max,e.origin),e.scale=K(n)/K(t),e.translate=(0,q.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Y(e,t,n,r){G(e.x,t.x,n.x,r?r.originX:void 0),G(e.y,t.y,n.y,r?r.originY:void 0)}function X(e,t,n){e.min=n.min+t.min,e.max=e.min+K(t)}function Z(e,t,n){e.min=t.min-n.min,e.max=e.min+K(t)}function Q(e,t,n){Z(e.x,t.x,n.x),Z(e.y,t.y,n.y)}var J=n(16611);function ee(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 et(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 en(e,t,n){return{min:er(e,t),max:er(e,n)}}function er(e,t){return"number"==typeof e?e:e[t]||0}var ei=n(27865);function eo(e){return[e("x"),e("y")]}var es=n(77106),el=n(65599),ea=n(43406),eu=n(73513);let ec=({current:e})=>e?e.ownerDocument.defaultView:null;var eh=n(86901);let ed=new WeakMap;class ep{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=(0,ei.ge)(),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 O(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(T(e,"page").point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=U(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),eo(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ea.KN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=K(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&L.Gt.postRender(()=>i(e,t)),(0,eh.g)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>
1{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:()=>eo(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:ec(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&&L.Gt.postRender(()=>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||!ef(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,q.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,q.k)(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:ee(e.x,n,i),y:ee(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:en(e,"left","right"),y:en(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&eo(e=>{!1!==this.constraints&&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,P.V)(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=(0,es.L)(r,i.root,this.visualElement.getTransformPagePoint()),s={x:et((e=i.layout.layoutBox).x,o.x),y:et(e.y,o.y)};if(n){let e=n((0,el.pA)(s));this.hasMutatedConstraints=!!e,e&&(s=(0,el.FY)(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{};return Promise.all(eo(s=>{if(!ef(s,t,this.currentDirection))return;let a=l&&l[s]||{};o&&(a={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,...a};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return(0,eh.g)(this.visualElement,e),n.start((0,eu.f)(e,n,0,t,this.visualElement,!1))}stopAnimation(){eo(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){eo(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){eo(t=>{let{drag:n}=this.getProps();if(!ef(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,q.k)(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};eo(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=K(e),i=K(t);return i>r?n=(0,$.q)(t.min,t.max-r,e.min):r>i&&(n=(0,$.q)(e.min,e.max-i,t.min)),(0,J.q)(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(),eo(t=>{if(!ef(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,q.k)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;ed.set(this.visualElement,this);let e=D(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)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),L.Gt.read(t);let i=M(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(eo(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 ef(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class em extends x{constructor(e){super(e),this.removeGroupControls=S.l,this.removeListeners=S.l,this.controls=new ep(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||S.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let eg=e=>(t,n)=>{e&&L.Gt.postRender(()=>e(t,n))};class ev extends x{constructor(){super(...arguments),this.removePointerDownListener=S.l}onPointerDown(e){this.session=new O(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ec(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:eg(e),onStart:eg(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&L.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=D(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ey=n(95155),ex=n(12115),eb=n(39656),ew=n(64710);let ek=(0,ex.createContext)({}),eS={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eP(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let eE={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ea.px.test(e))return e;e=parseFloat(e)}let n=eP(e,t.target.x),r=eP(e,t.target.y);return`${n}% ${r}%`}};var eT=n(55254),eA=n(63154);let{schedule:eC,cancel:eM}=(0,n(14499).I)(queueMicrotask,!1);class eD extends ex.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;(0,eA.$)(eI),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()})),eS.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()||L.Gt.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),eC.postRender(()=>{!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 eR(e){let[t,n]=function(){let e=(0,ex.useContext)(eb.t);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,ex.useId)();(0,ex.useEffect)(()=>r(i),[]);let o=(0,ex.useCallback)(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}(),r=(0,ex.useContext)(ew.L);return(0,ey.jsx)(eD,{...e,layoutGroup:r,switchLayoutGroup:(0,ex.useContext)(ek),isPresent:t,safeToRemove:n})}let eI={borderRadius:{...eE,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eE,borderTopRightRadius:eE,borderBottomLeftRadius:eE,borderBottomRightRadius:eE,boxSh
1adow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=eT.f.parse(e);if(r.length>5)return e;let i=eT.f.createTransformer(e),o="number"!=typeof r[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;r[0+o]/=s,r[1+o]/=l;let a=(0,q.k)(s,l,.5);return"number"==typeof r[2+o]&&(r[2+o]/=a),"number"==typeof r[3+o]&&(r[3+o]/=a),i(r)}}};var eL=n(87945),eO=n(26575);let eF=["TopLeft","TopRight","BottomLeft","BottomRight"],ej=eF.length,eN=e=>"string"==typeof e?parseFloat(e):e,eV=e=>"number"==typeof e||ea.px.test(e);function eB(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ez=eU(0,.5,eO.yT),e_=eU(.5,.95,S.l);function eU(e,t,n){return r=>r<e?0:r>t?1:n((0,$.q)(e,t,r))}function eW(e,t){e.min=t.min,e.max=t.max}function eH(e,t){eW(e.x,t.x),eW(e.y,t.y)}function e$(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var eq=n(32994);function eK(e,t,n,r,i){return e-=t,e=(0,eq.hq)(e,1/n,r),void 0!==i&&(e=(0,eq.hq)(e,1/i,r)),e}function eG(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(ea.KN.test(t)&&(t=parseFloat(t),t=(0,q.k)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let l=(0,q.k)(o.min,o.max,r);e===o&&(l-=t),e.min=eK(e.min,t,n,l,i),e.max=eK(e.max,t,n,l,i)}(e,t[n],t[r],t[i],t.scale,o,s)}let eY=["x","scaleX","originX"],eX=["y","scaleY","originY"];function eZ(e,t,n,r){eG(e.x,t,eY,n?n.x:void 0,r?r.x:void 0),eG(e.y,t,eX,n?n.y:void 0,r?r.y:void 0)}var eQ=n(59193);function eJ(e){return 0===e.translate&&1===e.scale}function e0(e){return eJ(e.x)&&eJ(e.y)}function e1(e,t){return e.min===t.min&&e.max===t.max}function e2(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function e5(e,t){return e2(e.x,t.x)&&e2(e.y,t.y)}function e6(e){return K(e.x)/K(e.y)}function e4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var e3=n(24093);class e9{constructor(){this.members=[]}add(e){(0,e3.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,e3.Ai)(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)}}var e7=n(62985);let e8=(e,t)=>e.depth-t.depth;class te{constructor(){this.children=[],this.isDirty=!1}add(e){(0,e3.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,e3.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(e8),this.isDirty=!1,this.children.forEach(e)}}var tt=n(55238),tn=n(84707);function tr(e){let t=(0,tn.S)(e)?e.get():e;return(0,tt.B)(t)?t.toValue():t}var ti=n(79125),to=n(18696),ts=n(10903),tl=n(32389);let ta={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},tu="undefined"!=typeof window&&void 0!==window.MotionDebug,tc=["","X","Y","Z"],th={visibility:"hidden"},td=0;function tp(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function tf({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=td++,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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tu&&(ta.totalNodes=ta.resolvedTargetDeltas=ta.recalculatedProjection=0),this.nodes.forEac
1h(tv),this.nodes.forEach(tP),this.nodes.forEach(tE),this.nodes.forEach(ty),tu&&window.MotionDebug.record(ta)},this.resolvedRelativeTargetAt=0,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 te)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eL.v),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=(0,to.x)(t),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=ti.k.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&((0,L.WG)(r),e(i-250))};return L.Gt.read(r,!0),()=>(0,L.WG)(r)}(r,250),eS.hasAnimatedSinceResize&&(eS.hasAnimatedSinceResize=!1,this.nodes.forEach(tS))})}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()||tR,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=o.getProps(),a=!this.targetLayout||!e5(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(a||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,eQ.r)(i,"layout"),onPlay:s,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||tS(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,L.WG)(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.forEach(tT),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(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=(0,tl.P)(n);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",L.Gt,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),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.forEac
1h(tb);return}this.isUpdating||this.nodes.forEach(tw),this.isUpdating=!1,this.nodes.forEach(tk),this.nodes.forEach(tm),this.nodes.forEach(tg),this.clearAllSnapshots();let e=ti.k.now();L.uv.delta=(0,J.q)(0,1e3/60,e-L.uv.timestamp),L.uv.timestamp=e,L.uv.isProcessing=!0,L.PP.update.process(L.uv),L.PP.preRender.process(L.uv),L.PP.render.process(L.uv),L.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eC.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,L.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){L.Gt.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=(0,ei.ge)(),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);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!e0(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||(0,e7.HD)(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)),tO((t=r).x),tO(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return(0,ei.ge)();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(tj))){let{scroll:e}=this.root;e&&((0,eq.Ql)(n.x,e.offset.x),(0,eq.Ql)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=(0,ei.ge)();if(eH(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&eH(n,e),(0,eq.Ql)(n.x,i.offset.x),(0,eq.Ql)(n.y,i.offset.y))}return n}applyTransform(e,t=!1){let n=(0,ei.ge)();eH(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&&(0,eq.Ww)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,e7.HD)(r.latestValues)&&(0,eq.Ww)(n,r.latestValues)}return(0,e7.HD)(this.latestValues)&&(0,eq.Ww)(n,this.latestValues),n}removeTransform(e){let t=(0,ei.ge)();eH(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!(0,e7.HD)(n.latestValues))continue;(0,e7.vk)(n.latestValues)&&n.updateSnapshot();let r=(0,ei.ge)();eH(r,n.measurePageBox()),eZ(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,e7.HD)(this.latestValues)&&eZ(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!==L.uv.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||this.root.updateBlockedByResize))return;let{layout:l,layoutId:a}=this.options;if(this.layout&&(l||a)){if(this.resolvedRelativeTargetAt=L.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ei.ge)(),this.relativeTargetOrigin=(0,ei.ge)(),Q(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),eH(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,ei.ge)(),this.targetWithTransforms=(0,ei.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,X(n.x,r.x,i.x),X(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):eH(this.target,this.layout.layoutBox),(0,eq.o4)(this.target,this.targetDelta)):eH(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=(0,ei.ge)(),this.relativeTargetOrigin=(0,ei.ge)(),Q(this.relativeTargetOrigin,this.target,e.target),eH(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tu&&ta.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,e7.vk)(this.parent.latestValues)||(0,e7.vF)(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===L.uv.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;eH(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,l=this.treeScale.y;(0,eq.OU)(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,ei.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(e$(this.prevProjectionDelta.x,this.projectionDelta.x),e$(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Y(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===l&&e4(this.projectionDelta.x,this.prevProjectionDelta.x)&&e4(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tu&&ta.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,ei.xU)(),this.projectionDelta=(0,ei.xU)(),this.projectionDeltaWithTransform=(0,ei.xU)()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=(0,ei.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=(0,ei.ge)(),a=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(a&&
1!c&&!0===this.options.crossfade&&!this.path.some(tD));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(tC(s.x,e.x,r),tC(s.y,e.y,r),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;Q(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,tM(p.x,f.x,l.x,r),tM(p.y,f.y,l.y,r),n&&(u=this.relativeTarget,d=n,e1(u.x,d.x)&&e1(u.y,d.y))&&(this.isProjectionDirty=!1),n||(n=(0,ei.ge)()),eH(n,this.relativeTarget)}a&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,q.k)(0,void 0!==n.opacity?n.opacity:1,ez(r)),e.opacityExit=(0,q.k)(void 0!==t.opacity?t.opacity:1,0,e_(r))):o&&(e.opacity=(0,q.k)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<ej;i++){let o=`border${eF[i]}Radius`,s=eB(t,o),l=eB(n,o);(void 0!==s||void 0!==l)&&(s||(s=0),l||(l=0),0===s||0===l||eV(s)===eV(l)?(e[o]=Math.max((0,q.k)(eN(s),eN(l),r),0),(ea.KN.test(l)||ea.KN.test(s))&&(e[o]+="%")):e[o]=l)}(t.rotate||n.rotate)&&(e.rotate=(0,q.k)(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,L.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=L.Gt.update(()=>{eS.hasAnimatedSinceResize=!0,this.currentAnimation=(0,ts.z)(0,1e3,{...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&&tF(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,ei.ge)();let t=K(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=K(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}eH(t,n),(0,eq.Ww)(t,i),Y(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new e9),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)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&tp("z",e,r,this.animationValues);for(let t=0;t<tc.length;t++)tp(`rotate${tc[t]}`,e,r,this.animationValues),tp(`skew${tc[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return th;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tr(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=tr(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,e7.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.
1y.translate/t.y,s=(null==n?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),l&&(r+=`skewY(${l}deg) `)}let l=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==l||1!==a)&&(r+=`scale(${l}, ${a})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));let{x:l,y:a}=this.projectionDelta;for(let e in r.transformOrigin=`${100*l.origin}% ${100*a.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,eA.H){if(void 0===s[e])continue;let{correct:t,applyTo:n}=eA.H[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?tr(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(tb),this.root.sharedNodes.clear()}}}function tm(e){e.updateLayout()}function tg(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?eo(e=>{let r=o?n.measuredBox[e]:n.layoutBox[e],i=K(r);r.min=t[e].min,r.max=r.min+i}):tF(i,n.layoutBox,t)&&eo(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],s=K(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=(0,ei.xU)();Y(s,t,n.layoutBox);let l=(0,ei.xU)();o?Y(l,e.applyTransform(r,!0),n.measuredBox):Y(l,t,n.layoutBox);let a=!e0(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=(0,ei.ge)();Q(s,n.layoutBox,i.layoutBox);let l=(0,ei.ge)();Q(l,t,o.layoutBox),e5(s,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:a,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function tv(e){tu&&ta.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 ty(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function tx(e){e.clearSnapshot()}function tb(e){e.clearMeasurements()}function tw(e){e.isLayoutDirty=!1}function tk(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tP(e){e.resolveTargetDelta()}function tE(e){e.calcProjection()}function tT(e){e.resetSkewAndRotation()}function tA(e){e.removeLeadSnapshot()}function tC(e,t,n){e.translate=(0,q.k)(t.translate,0,n),e.scale=(0,q.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function tM(e,t,n,r){e.min=(0,q.k)(t.min,n.min,r),e.max=(0,q.k)(t.max,n.max,r)}function tD(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let tR={duration:.45,ease:[.4,0,.1,1]},tI=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tL=tI("applewebkit/")&&!tI("chrome/")?Math.round:S.l;function tO(e){e.min=tL(e.min),e.max=tL(e.max)}function tF(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(e6(t)-e6(n)))}function tj(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let tN=tf({attachResizeListener:(e,t)=>M(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tV={current:void 0},tB=tf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!tV.current){let e=new tN({});e.mount(window),e.setOptions({layoutScroll:!0}),tV.current=e}return tV.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function tz(e,t){let n=t?"onHoverStart":"onHoverEnd";return D(e.current,t?"pointerenter":"pointerleave",(r,i)=>{if("touch"===r.pointerType||W())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);let s=o[n];s&&L.Gt.postRender(()=>s(r,i))},{passive:!e.getProps()[n]})}class t_ extends x{mount(){this.unmount=(0,R.F)(tz(this.node,!0),tz(this.node,!1))}unmount(){}}class tU extends x{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,R.F)(M(this.node.current,"focus",()=>this.onFocus()),M(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tW=(e,t)=>!!t&&(e===t||tW(e,t.parentElement));function tH(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,T(n))}class t$ extends x{constructor(){super(...arguments),this.removeStartListeners=S.l,this.removeEndListeners=S.l,this.removeAccessibleListeners=S.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=D(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),o=i||tW(this.node.current,e.target)?n:r;o&&L.Gt.update(()=>o(e,t))},{passive:!(n.onTap||n.onPointerUp)}),i=D(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,R.F)(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=M(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=M(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&tH("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&L.Gt.postRender(()=>n(e,t))})}),tH("down",(e,t)=>{this.startPress(e,t)}))}),t=M(this.node.current,"blur",()=>{this.isPressing&&tH("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,R.F)(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&&L.Gt.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!W()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&L.Gt.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=D(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=M(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,R.F)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tq=new WeakMap,tK=new WeakMap,tG=e=>{let t=tq.get(e.target);t&&t(e)},tY=e=>{e.forEach(tG)},tX={some:0,all:1};class tZ extends x{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:tX[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;tK.has(n)||tK.set(n,{});let r=tK.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(tY,{root:e,...t})),r[i]}(t);return tq.set(e,n),r.observe(e),()=>{tq.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 tQ=n(27249);let tJ=(0,ex.createContext)({});var t0=n(35403);let t1=(0,ex.createContext)({strict:!1});var t2=n(17539),t5=n(99038);function t6(e){return Array.isArray(e)?e.join(" "):e}var t4=n(66247),t3=n(15687);let t9=Symbol.for("motionComponentSymbol"),t7=["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 t8(e){if("string"!=typeof e||e.includes("-"));else if(t7.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var ne=n(47928),nt=n(72126),nn=n(78442),nr=n(99234);let ni=e=>(t,n)=>{let r=(0,ex.useContext)(tJ),i=(0,ex.useContext)(eb.t),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){let l={latestValues:function(e,t,n,r){let i={},s=r(e,{});for(let e in s)i[e]=tr(s[e]);let{initial:l,animate:a}=e,u=(0,t5.e)(e),c=(0,t5.O)(e);t&&c&&!u&&!1!==e.inherit&&(void 0===l&&(l=t.initial),void 0===a&&(a=t.animate));let h=!!n&&!1===n.initial,d=(h=h||!1===l)?a:l;if(d&&"boolean"!=typeof d&&!(0,o.N)(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=(0,nn.a)(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,i,s,e),renderState:t()};return n&&(l.mount=e=>n(r,e,l)),l})(e,t,r,i);return n?s():(0,nr.M)(s)},no=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ns=()=>({...no(),attrs:{}});var nl=n(71721),na=n(7986);let nu={useVisualState:ni({scrapeMotionValuesFromProps:nt.x,createRenderState:ns,onMount:(e,t,{renderState:n,latestValues:r})=>{L.Gt.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),L.Gt.render(()=>{(0,nl.B)(n,r,(0,na.n)(t.tagName),e.transformTemplate),(0,ne.d)(t,n)})}})},nc={useVisualState:ni({scrapeMotionValuesFromProps:n(701).x,createRenderState:no})};var nh=n(59246),nd=n(67192);
1function np(e,t,n){for(let r in t)(0,tn.S)(t[r])||(0,nh.z)(r,n)||(e[r]=t[r])}let nf=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nm(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||nf.has(e)}let ng=e=>!nm(e);try{!function(e){e&&(ng=t=>t.startsWith("on")?!nm(t):e(t))}(require("@emotion/is-prop-valid").default)}catch(e){}var nv=n(92872),ny=n(50100);let nx=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((r={animation:{Feature:b},exit:{Feature:k},inView:{Feature:tZ},tap:{Feature:t$},focus:{Feature:tU},hover:{Feature:t_},pan:{Feature:ev},drag:{Feature:em,ProjectionNode:tB,MeasureLayout:eR},layout:{ProjectionNode:tB,MeasureLayout:eR}},i=(e,t)=>t8(e)?new ny.l(t):new nv.M(t,{allowProjection:e!==ex.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){let{preloadedFeatures:t,createVisualElement:n,useRender:r,useVisualState:i,Component:o}=e;t&&function(e){for(let t in e)t4.B[t]={...t4.B[t],...e[t]}}(t);let s=(0,ex.forwardRef)(function(e,t){var s;let l;let u={...(0,ex.useContext)(tQ.Q),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,ex.useContext)(ew.L).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:c}=u,h=function(e){let{initial:t,animate:n}=function(e,t){if((0,t5.e)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,a.w)(t)?t:void 0,animate:(0,a.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,ex.useContext)(tJ));return(0,ex.useMemo)(()=>({initial:t,animate:n}),[t6(t),t6(n)])}(e),d=i(e,c);if(!c&&t3.B){(0,ex.useContext)(t1).strict;let e=function(e){let{drag:t,layout:n}=t4.B;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,h.visualElement=function(e,t,n,r,i){var o,s;let{visualElement:l}=(0,ex.useContext)(tJ),a=(0,ex.useContext)(t1),u=(0,ex.useContext)(eb.t),c=(0,ex.useContext)(tQ.Q).reducedMotion,h=(0,ex.useRef)();r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let d=h.current,p=(0,ex.useContext)(ek);d&&!d.projection&&i&&("html"===d.type||"svg"===d.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||l&&H(l),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}(h.current,n,i,p);let f=(0,ex.useRef)(!1);(0,ex.useInsertionEffect)(()=>{d&&f.current&&d.update(n,u)});let m=n[t2.n],g=(0,ex.useRef)(!!m&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,m))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,m)));return(0,t0.E)(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),eC.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,ex.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,m)}),g.current=!1))}),d}(o,d,u,n,e.ProjectionNode)}return(0,ey.jsxs)(tJ.Provider,{value:h,children:[l&&h.visualElement?(0,ey.jsx)(l,{visualElement:h.visualElement,...u}):null,r(o,e,(s=h.visualElement,(0,ex.useCallback)(e=>{e&&d.mount&&d.mount(e),s&&(e?s.mount(e):s.unmount()),t&&("function"==typeof t?t(e):H(t)&&(t.current=e))},[s])),d,c,h.visualElement)]})});return s[t9]=o,s}({...t8(e)?nu:nc,preloadedFeatures:r,useRender:function(e=!1){return(t,n,r,{latestValues:i},o)=>{let s=(t8(t)?function(e,t,n,r){let i=(0,ex.useMemo)(()=>{let n=ns();return(0,nl.B)(n,t,(0,na.n)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};np(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return np(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,ex.useMemo)(()=>{let n=no();return(0,nd.O)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
1`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,i,o,t),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(ng(i)||!0===n&&nm(i)||!t&&!nm(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),a=t!==ex.Fragment?{...l,...s,ref:r}:{},{children:u}=n,c=(0,ex.useMemo)(()=>(0,tn.S)(u)?u.get():u,[u]);return(0,ex.createElement)(t,{...a,children:c})}}(t),createVisualElement:i,Component:e})}))},8216:(e,t,n)=>{"use strict";n.d(t,{K:()=>f});var r=n(66879),i=n(65749),o=n(20555),s=n(12271);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var a=n(40403),u=n(18201),c=n(22368),h=n(55254),d=n(1435);let p=new Set(["auto","none","0"]);class f extends c.h{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,s.p)(r))){let a=function e(t,n,r=1){(0,i.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[a,u]=function(e){let t=l.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!a)return;let c=window.getComputedStyle(n).getPropertyValue(a);if(c){let e=c.trim();return(0,o.i)(e)?parseFloat(e):e}return(0,s.p)(u)?e(u,n,r+1):u}(r,t.current);void 0!==a&&(e[n]=a),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!a.$y.has(n)||2!==e.length)return;let[r,c]=e,h=(0,u.n)(r),d=(0,u.n)(c);if(h!==d){if((0,a.E4)(h)&&(0,a.E4)(d))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var i;("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||(0,r.$)(i))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!p.has(t)&&(0,h.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=(0,d.J)(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=a.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let o=r.length-1,s=r[o];r[o]=a.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},78212:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(65333),i=n(8216);class o extends r.B{constructor(){super(...arguments),this.KeyframeResolver=i.K}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]}}},65192:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});let r=(0,n(52398).p)(()=>void 0!==window.ScrollTimeline)},42717:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},12271:(e,t,n)=>{"use strict";n.d(t,{j:()=>i,p:()=>s});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),s=e=>!!o(e)&&l.test(e.split("/*")[0].trim()),l=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},18696:(e,t,n)=>{"use strict";function r(e){return e instanceof SVGElement&&"svg"!==e.tagName}n.d(t,{x:()=>r})},29127:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(65749);function i(e,t,n){var i;if("string"==typeof e){let o=document;t&&((0,r.V)(!!t.current,"Scope provided, but no element detected."),o=t.current),n?(null!==(i=n[e])&&void 0!==i||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}},40403:(e,t,n)=>{"use strict";n.d(t,{$y:()=>s,E4:()=>l,Hr:()=>p,W9:()=>d});var r=n(31371),i=n(41535),o=n(43406);let s=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),l=e=>e===i.ai||e===o.px,a=(e,t)=>parseFloat(e.split(", ")[t]),u=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return a(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?a(t[1],e):0}},c=new Set(["x","y","z"]),h=r.U.filter(e=>!c.has(e));function d(e){let t=[];return h.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}let p={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:u(4,13),y:u(5,14)};p.translateX=p.x,p.translateY=p.y},1435:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(55254),i=n(20139),o=n(99204);function s(e,t){let n=(0,o.D)(e);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},99204:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(94064),i=n(20139);let o={...n(618).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p},s=e=>o[e]},18201:(e,t,n)=>{"use strict";n.d(t,{T:()=>s,n:()=>l});var r=n(41535),i=n(43406),o=n(83510);let s=[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],l=e=>s.find((0,o.w)(e))},618:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(41535),i=n(43406);let o={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,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,backgroundPositionX:i.px,backgroundPositionY:i.px},s={rotate:i.uj,rotateX:i.uj,rotateY:i.uj,rotateZ:i.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:i.uj,skewX:i.uj,skewY:i.uj,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.X4,originX:i.gQ,originY:i.gQ,originZ:i.px},l={...r.ai,transform:Math.round},a={...o,...s,zIndex:l,size:i.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:l}},83510:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});let r=e=>t=>t.test(e)}
1,92872:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var r=n(67192),i=n(12271),o=n(31371),s=n(701),l=n(98535),a=n(99204),u=n(77106),c=n(78212),h=n(84707);class d extends c.b{constructor(){super(...arguments),this.type="html",this.renderInstance=l.e}readValueFromInstance(e,t){if(o.f.has(t)){let e=(0,a.D)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,i.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,u.m)(e,t)}build(e,t,n){(0,r.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,s.x)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,h.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}},67192:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var r=n(31371);let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var o=n(618);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=r.U.length;var a=n(12271);function u(e,t,n){let{style:u,vars:c,transformOrigin:h}=e,d=!1,p=!1;for(let e in t){let n=t[e];if(r.f.has(e)){d=!0;continue}if((0,a.j)(e)){c[e]=n;continue}{let t=i(n,o.W[e]);e.startsWith("origin")?(p=!0,h[e]=t):u[e]=t}}if(!t.transform&&(d||n?u.transform=function(e,t,n){let a="",u=!0;for(let c=0;c<l;c++){let l=r.U[c],h=e[l];if(void 0===h)continue;let d=!0;if(!(d="number"==typeof h?h===(l.startsWith("scale")?1:0):0===parseFloat(h))||n){let e=i(h,o.W[l]);if(!d){u=!1;let t=s[l]||l;a+=`${t}(${e}) `}n&&(t[l]=e)}}return a=a.trim(),n?a=n(t,u?"":a):u&&(a="none"),a}(t,e.transform,n):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:n=0}=h;u.transformOrigin=`${e} ${t} ${n}`}}},98535:(e,t,n)=>{"use strict";function r(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])}n.d(t,{e:()=>r})},701:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(59246),i=n(84707);function o(e,t,n){var o;let{style:s}=e,l={};for(let a in s)((0,i.S)(s[a])||t.style&&(0,i.S)(t.style[a])||(0,r.z)(a,e)||(null===(o=null==n?void 0:n.getValue(a))||void 0===o?void 0:o.liveStyle)!==void 0)&&(l[a]=s[a]);return l}},31371:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,f:()=>i});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},26088:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=new WeakMap},50100:(e,t,n)=>{"use strict";n.d(t,{l:()=>p});var r=n(72126),i=n(78212),o=n(71721),s=n(42717),l=n(19552),a=n(31371),u=n(47928),c=n(99204),h=n(27865),d=n(7986);class p extends i.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=h.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(a.f.has(t)){let e=(0,c.D)(t);return e&&e.default||0}return t=l.e.has(t)?t:(0,s.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,r.x)(e,t,n)}
1build(e,t,n){(0,o.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,u.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,d.n)(e.tagName),super.mount(e)}}},71721:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(67192),i=n(43406);function o(e,t,n){return"string"==typeof e?e:i.px.transform(t+n*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},l={offset:"strokeDashoffset",array:"strokeDasharray"};function a(e,{attrX:t,attrY:n,attrScale:a,originX:u,originY:c,pathLength:h,pathSpacing:d=1,pathOffset:p=0,...f},m,g){if((0,r.O)(e,f,g),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:y,dimensions:x}=e;v.transform&&(x&&(y.transform=v.transform),delete v.transform),x&&(void 0!==u||void 0!==c||y.transform)&&(y.transformOrigin=function(e,t,n){let r=o(t,e.x,e.width),i=o(n,e.y,e.height);return`${r} ${i}`}(x,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==t&&(v.x=t),void 0!==n&&(v.y=n),void 0!==a&&(v.scale=a),void 0!==h&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;let a=o?s:l;e[a.offset]=i.px.transform(-r);let u=i.px.transform(t),c=i.px.transform(n);e[a.array]=`${u} ${c}`}(v,h,d,p,!1)}},19552:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});let r=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"])},7986:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},47928:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(42717),i=n(98535),o=n(19552);function s(e,t,n,s){for(let n in(0,i.e)(e,t,void 0,s),t.attrs)e.setAttribute(o.e.has(n)?n:(0,r.I)(n),t.attrs[n])}},72126:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(84707),i=n(701),o=n(31371);function s(e,t,n){let s=(0,i.x)(e,t,n);
1for(let n in e)((0,r.S)(e[n])||(0,r.S)(t[n]))&&(s[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return s}},22368:(e,t,n)=>{"use strict";n.d(t,{h:()=>h,q:()=>c});var r=n(40403),i=n(3307);let o=new Set,s=!1,l=!1;function a(){if(l){let e=Array.from(o).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,r.W9)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}l=!1,s=!1,o.forEach(e=>e.complete()),o.clear()}function u(){o.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(l=!0)})}function c(){u(),a()}class h{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(o.add(this),s||(s=!0,i.Gt.read(u),i.Gt.resolveKeyframes(a))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==r?void 0:r.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),o.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,o.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},99038:(e,t,n)=>{"use strict";n.d(t,{O:()=>l,e:()=>s});var r=n(5385),i=n(62896),o=n(34543);function s(e){return(0,r.N)(e.animate)||o._.some(t=>(0,i.w)(e[t]))}function l(e){return!!(s(e)||e.variants)}},62896:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>r})},95134:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(78442);function i(e,t,n){let i=e.getProps();return(0,r.a)(i,t,void 0!==n?n:i.custom,e)}},78442:(e,t,n)=>{"use strict";function r(e,t,n,r){if("function"==typeof t||("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t)){let[i,o]=function(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}(r);t=t(void 0!==n?n:e.custom,i,o)}return t}n.d(t,{a:()=>r})},34543:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,_:()=>i});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},93903:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});let r={skipAnimations:!1,useManualTiming:!1}},24093:(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,{Ai:()=>i,Kq:()=>r})},16611:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=(e,t,n)=>n>t?t:n<e?e:n}
1,65749:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,V:()=>o});var r=n(38792);let i=r.l,o=r.l},37751:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});var r=n(65749),i=n(16611),o=n(15068),s=n(26781),l=n(38792),a=n(91671);function u(e,t,{clamp:n=!0,ease:c,mixer:h}={}){let d=e.length;if((0,r.V)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&e[0]===e[1])return()=>t[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());let p=function(e,t,n){let r=[],i=n||a.j,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||l.l:t;s=(0,o.F)(e,s)}r.push(s)}return r}(t,c,h),f=p.length,m=t=>{let n=0;if(f>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=(0,s.q)(e[n],e[n+1],t);return p[n](r)};return n?t=>m((0,i.q)(e[0],e[d-1],t)):m}},15687:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r="undefined"!=typeof window},20555:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});let r=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},66879:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r=e=>/^0[^.\s]+$/u.test(e)},52398:(e,t,n)=>{"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>r})},91671:(e,t,n)=>{"use strict";n.d(t,{j:()=>E});var r=n(50010),i=n(65749);function o(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 s=n(98967),l=n(2664),a=n(83020);function u(e,t){return n=>n>0?t:e}let c=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},h=[s.u,l.B,a.V],d=e=>h.find(t=>t.test(e));function p(e){let t=d(e);if((0,i.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===a.V&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,s=0,l=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=o(a,r,e+1/3),s=o(a,r,e),l=o(a,r,e-1/3)}else i=s=l=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*l),alpha:r}}(n)),n}let f=(e,t)=>{let n=p(e),i=p(t);if(!n||!i)return u(e,t);let o={...n};return e=>(o.red=c(n.red,i.red,e),o.green=c(n.green,i.green,e),o.blue=c(n.blue,i.blue,e),o.alpha=(0,r.k)(n.alpha,i.alpha,e),l.B.transform(o))};var m=n(15068),g=n(94064),v=n(55254),y=n(12271);let x=new Set(["none","hidden"]);function b(e,t){return n=>(0,r.k)(e,t,n)}function w(e){return"number"==typeof e?b:"string"==typeof e?(0,y.p)(e)?u:g.y.test(e)?f:P:Array.isArray(e)?k:"object"==typeof e?g.y.test(e)?f:S:u}function k(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function S(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let P=(e,t)=>{let n=v.f.createTransformer(t),r=(0,v.V)(e),o=(0,v.V)(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?x.has(e)&&!o.values.length||x.has(t)&&!r.values.length?function(e,t){return x.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):(0,m.F)(k(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let s=t.types[o],l=e.indexes[s][i[s]],a=null!==(n=e.values[l])&&void 0!==n?n:0;r[o]=a,i[s]++}return r}(r,o),o.values),n):((0,i.$)(!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.`),u(e,t))};function E(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,r.k)(e,t,n):w(e)(e,t)}},50010:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});let r=(e,t,n)=>e+(t-e)*n},38792:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});let r=e=>e},53636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(37136);function i(e){let t=[0];return(0,r.f)(t,e.length-1),t}},37136:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(50010),i=n(26781);function o(e,t){let n=e[e.length-1];for(let o=1;o<=t;o++){let s=(0,i.q)(0,t,o);e.push((0,r.k)(n,1,s))}}},15068:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},26781:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}}
1,55238:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,K:()=>o});var r=n(82043);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.p)(e)?e[e.length-1]||0:e},87945:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(24093);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(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}}},14302:(e,t,n)=>{"use strict";n.d(t,{X:()=>i,f:()=>r});let r=e=>1e3*e,i=e=>e/1e3},99234:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(12115);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},35403:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(12115);let i=n(15687).B?r.useLayoutEffect:r.useEffect},42206:(e,t,n)=>{"use strict";function r(e,t){return t?1e3/t*e:0}n.d(t,{f:()=>r})},93250:(e,t,n)=>{"use strict";n.d(t,{OQ:()=>c,bt:()=>a});var r=n(87945),i=n(42206),o=n(79125),s=n(3307);let l=e=>!isNaN(parseFloat(e)),a={current:void 0};class u{constructor(e,t={}){this.version="11.11.15",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=o.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=l(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.v);let n=this.events[e].add(t);return"change"===e?()=>{n(),s.Gt.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)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}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 c(e,t){return new u(e,t)}},98967:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(2664);let i={test:(0,n(60233).$)("#"),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.B.transform}},83020:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var r=n(41535),i=n(43406),o=n(76165),s=n(60233);let l={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,o.a)(t))+", "+i.KN.transform((0,o.a)(n))+", "+(0,o.a)(r.X4.transform(s))+")"}}
1,94064:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(98967),i=n(83020),o=n(2664);let s={test:e=>o.B.test(e)||r.u.test(e)||i.V.test(e),parse:e=>o.B.test(e)?o.B.parse(e):i.V.test(e)?i.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.B.transform(e):i.V.transform(e)}},2664:(e,t,n)=>{"use strict";n.d(t,{B:()=>u});var r=n(16611),i=n(41535),o=n(76165),s=n(60233);let l=e=>(0,r.q)(0,255,e),a={...i.ai,transform:e=>Math.round(l(e))},u={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+a.transform(e)+", "+a.transform(t)+", "+a.transform(n)+", "+(0,o.a)(i.X4.transform(r))+")"}},60233:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,q:()=>s});var r=n(41014);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),s=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[o,s,l,a]=i.match(r.S);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(l),alpha:void 0!==a?parseFloat(a):1}}},20139:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(55254),i=n(41014);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.S)||[];if(!r)return e;let s=n.replace(r,""),l=o.has(t)?1:0;return r!==n&&(l*=100),t+"("+l+s+")"}let l=/\b([a-z-]*)\(.*?\)/gu,a={...r.f,getAnimatableNone:e=>{let t=e.match(l);return t?t.map(s).join(" "):e}}},55254:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,f:()=>f});var r=n(94064);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(41014),s=n(76165);let l="number",a="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function c(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[],s=0,c=t.replace(u,e=>(r.y.test(e)?(i.color.push(s),o.push(a),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(s),o.push("var"),n.push(e)):(i.number.push(s),o.push(l),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:c,indexes:i,types:o}}function h(e){return c(e).values}function d(e){let{split:t,types:n}=c(e),i=t.length;return e=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],void 0!==e[u]){let t=n[u];t===l?o+=(0,s.a)(e[u]):t===a?o+=r.y.transform(e[u]):o+=e[u]}return o}}let p=e=>"number"==typeof e?0:e,f={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(o.S))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i))||void 0===n?void 0:n.length)||0)>0},parse:h,createTransformer:d,getAnimatableNone:function(e){let t=h(e);return d(e)(t.map(p))}}},41535:(e,t,n)=>{"use strict";n.d(t,{X4:()=>o,ai:()=>i,hs:()=>s});var r=n(16611);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.q)(0,1,e)},s={...i,default:1}},43406:(e,t,n)=>{"use strict";n.d(t,{KN:()=>o,gQ:()=>u,px:()=>s,uj:()=>i,vh:()=>l,vw:()=>a});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),o=r("%"),s=r("px"),l=r("vh"),a=r("vw"),u={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},41014:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},76165:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});let r=e=>Math.round(1e5*e)/1e5},86901:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(84707);function i(e,t){let n=e.getValue("willChange");if((0,r.S)(n)&&n.add)return n.add(t)}},84707:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=e=>!!(e&&e.getVelocity)},21247:(e,t,n)=>{"use strict";n.d(t,{o:()=>nD});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>v,commaOrSpaceSeparated:()=>k,commaSeparated:()=>w,number:()=>x,overloadedBoolean:()=>y,spaceSeparated:()=>b});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tA,contentInitial:()=>tw,disable:()=>tC,document:()=>tb,flow:()=>tS,flowInitial:()=>tk,insideSpan:()=>tT,string:()=>tP,text:()=>tE});let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function a(e,t){return((t||l).jsx?s:o).test(e)}let u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}class h{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function d(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new h(n,r,t)}function p(e){return e.toLowerCase()}h.prototype.normal={},h.prototype.property={},h.prototype.space=void 0;class f{constructor(e,t){this.attribute=t,this.property=e}}f.prototype.attribute="",f.prototype.booleanish=!1,f.prototype.boolean=!1,f.prototype.commaOrSpaceSeparated=!1,f.prototype.commaSeparated=!1,f.prototype.defined=!1,f.prototype.mustUseProperty=!1,f.prototype.number=!1,f.prototype.overloadedBoolean=!1,f.prototype.property="",f.prototype.spaceSeparated=!1,f.prototype.space=void 0;let m=0,g=S(),v=S(),y=S(),x=S(),b=S(),w=S(),k=S();function S(){return 2**++m}let P=Object.keys(r);class E extends f{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o<P.length;){let e=P[o];!function(e,t,n){n&&(e[t]=n)}(this,P[o],(n&r[e])===r[e])}}}function T(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[p(r)]=r,n[p(o.attribute)]=r}return new h(t,n,e.space)}E.prototype.defined=!0;let A=T({properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControl
1s:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:v,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:b,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:x,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:b,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:v,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function C(e,t){return t in e?e[t]:t}function M(e,t){return C(e,t.toLowerCase())}let D=T({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:w,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:b,autoFocus:g,autoPlay:g,blocking:b,capture:null,charSet:null,checked:g,cite:null,className:b,cols:x,colSpan:null,content:null,contentEditable:v,controls:g,controlsList:b,coords:x|w,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:y,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:b,height:x,hidden:y,high:x,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:b,itemRef:b,itemScope:g,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g,optimum:x,pattern:null,ping:b,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:b,required:g,reversed:g,rows:x,rowSpan:x,sandbox:b,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:v,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:M}),R=T({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:k,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:b,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:w,g2:w,glyphName:w,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:k,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:x,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:k,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:k,rev:k,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:k,requiredFeatures:k,requiredFonts:k,requiredFormats:k,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:k,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:k,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:k,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:C}),I=T({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),L=T({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),O=T({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),F=d([A,D,I,L,O],"html"),j=d([A,R,I,L,O],"svg"),N=/[A-Z]/g,V=/-[a-z]/g,B=/^data[-\w.:]+$/i;function z(e){return"-"+e.toLowerCase()}function _(e){return e.charAt(1).toUpperCase()}let U={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 W=n(68591);let H=q("end"),$=q("start");function q(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 K(e){return e&&"object"==typeof e?"position"in e||"type"in e?Y(e.position):"start"in e||"end"in e?Y(e):"line"in e||"column"in e?G(e):"":""}function G(e){return X(e&&e.line)+":"+X(e&&e.column)}function Y(e){return G(e&&e.start)+"-"+G(e&&e.end)}function X(e){return e&&"number"==typeof e?e:1}
1class Z 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=K(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}}Z.prototype.file="",Z.prototype.name="",Z.prototype.reason="",Z.prototype.message="",Z.prototype.stack="",Z.prototype.column=void 0,Z.prototype.line=void 0,Z.prototype.ancestors=void 0,Z.prototype.cause=void 0,Z.prototype.fatal=void 0,Z.prototype.place=void 0,Z.prototype.ruleId=void 0,Z.prototype.source=void 0;let Q={}.hasOwnProperty,J=new Map,ee=/[A-Z]/g,et=new Set(["table","tbody","thead","tfoot","tr"]),en=new Set(["td","th"]),er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ei(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=j,e.schema=i),e.ancestors.push(t);let o=ea(e,t.tagName,!1),s=function(e,t){let n,r;let i={};for(r in t.properties)if("children"!==r&&Q.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=p(t),r=t,i=f;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&B.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(V,_);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!V.test(e)){let n=e.replace(N,z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=E}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return W(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new Z("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=er+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let n={};for(t in e)Q.call(e,t)&&(n[function(e){let t=e.replace(ee,ec);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?U[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,s]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof s&&en.has(t.tagName)?n=s:i[r]=s}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),l=el(e,t);return et.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),eo(e,s,o,t),es(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,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 n.type,e.evaluater.evaluateExpression(n.expression)}eu(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.name&&"html"===r.space&&(i=j,e.schema=i),e.ancestors.push(t);let o=null===t.name?e.Fragment:ea(e,t.name,!0),s=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];t.type;let i=t.expression;i.type;let o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eu(e,t.position)}else{let i;let o=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];t.type,i=e.evaluater.evaluateExpression(t.expression)}else eu(e,t.position)}else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=el(e,t);return eo(e,s,o,t),es(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,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);eu(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return es(r,el(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function eo(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function es(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function el(e,t){let n=[],r=-1,i=e.passKeys?new Map:J;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 l=ei(e,s,o);void 0!==l&&n.push(l)}return n}function ea(e,t,n){let r;if(n){if(t.includes(".")){let e;let n=t.split("."),i=-1;for(;++i<n.length;){let t=a(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=a(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 Q.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);eu(e)}function eu(e,t){let n=new Z("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=er+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ec(e){return"-"+e.toLowerCase()}let eh={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 ed=n(95155);let ep={};function ef(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 em(e.children,t,n)}return Array.isArray(e)?em(e,t,n):""}function em(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=ef(e[i],t,n);return r.join("")}function eg(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 ev(e,t){return e.length>0?(eg(e,e.length,0,t),e):t}class ey{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&&ex(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),ex(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ex(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);ex(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ex(this.left,t.reverse())}}}}function ex(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 eb(e){let t,n,r,i,o,s,l;let a={},u=-1,c=new ey(e);for(;++u<c.length;){for(;u in a;)u=a[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(a,function(e,t){let n,r;let i=e.get(t)[1],o=e.get(t)[2],s=t-1,l=[],a=i._tokenizer;!a&&(a=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let u=a.events,c=[],h={},d=-1,p=i,f=0,m=0,g=[0];for(;p;){for(;e.get(++s)[1]!==p;);l.push(s),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&a.defineSki
1p(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(n),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<u.length;)"exit"===u[d][0]&&"enter"===u[d-1][0]&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=u.slice(g[d],g[d+1]),n=l.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)h[f+c[d][0]]=f+c[d][1],f+=c[d][1]-c[d][0]-1;return h}(c,u)),u=a[u],l=!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 if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return eg(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}let ew={}.hasOwnProperty,ek=eO(/[A-Za-z]/),eS=eO(/[\dA-Za-z]/),eP=eO(/[#-'*+\--9=?A-Z^-~]/);function eE(e){return null!==e&&(e<32||127===e)}let eT=eO(/\d/),eA=eO(/[\dA-Fa-f]/),eC=eO(/[!-/:-@[-`{-~]/);function eM(e){return null!==e&&e<-2}function eD(e){return null!==e&&(e<0||32===e)}function eR(e){return -2===e||-1===e||32===e}let eI=eO(/\p{P}|\p{S}/u),eL=eO(/\s/);function eO(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eF(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return eR(r)?(e.enter(n),function r(s){return eR(s)&&o++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}let ej={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"),eF(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 eM(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eN={tokenize:function(e){let t,n,r;let i=this,o=[],s=0;return l;function l(t){if(s<o.length){let n=o[s];return i.containerState=n[1],e.attempt(n[0].continuation,a,u)(t)}return u(t)}function a(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();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 l=r;
1for(;l<i.events.length;)i.events[l][1].end={...n},l++;return eg(i.events,o+1,0,i.events.slice(r)),i.events.length=l,u(e)}return l(e)}function u(n){if(s===o.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eV,c,h)(n)}function c(e){return t&&v(),g(s),d(e)}function h(e){return i.parser.lazy[i.now().line]=s!==o.length,r=i.now().offset,f(e)}function d(t){return i.containerState={},e.attempt(eV,p,f)(t)}function p(e){return s++,o.push([i.currentConstruct,i.containerState]),d(e)}function f(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return eM(n)?(e.consume(n),m(e.exit("chunkFlow")),s=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function m(e,o){let l=i.sliceStream(e);if(o&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),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 l=i.events.length,a=l;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){if(e){n=i.events[a][1].end;break}e=!0}for(g(s),o=l;o<i.events.length;)i.events[o][1].end={...n},o++;eg(i.events,a+1,0,i.events.slice(l)),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 v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eV={tokenize:function(e,t,n){return eF(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},eB={partial:!0,tokenize:function(e,t,n){return function(t){return eR(t)?eF(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eM(e)?t(e):n(e)}}},ez={resolve:function(e){return eb(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eM(t)?e.check(e_,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}}},e_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eF(e,i,"linePrefix")};function i(i){if(null===i||eM(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)}}},eU={tokenize:function(e){let t=this,n=e.attempt(eB,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,eF(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ez,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}}},eW={resolveAll:eK()},eH=eq("string"),e$=eq("text");function eq(e){return{resolveAll:eK("text"===e?eG:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return a(e)?i(e):s(e)}function s(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return a(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function a(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function eK(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 eG(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,l=-1,a=0;for(;s--;){let e=o[s];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)a++,l--;if(l)break;l=-1}else if(-2===e)r=!0,a++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){let o={type:n===e.length||r||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:i.start._bufferIndex+l,_index:i.start._index+s,line:i.end.line,column:i.end.column-a,offset:i.end.offset-a},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let eY={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"),eR(n)?eF(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||eM(s))?(e.exit("thematicBreak"),t(s)):n(s)}(o)}}},eX={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(eB,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eF(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eR(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
1=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eQ,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,eF(e,e.attempt(eX,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,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:eT(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(eY,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eT(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"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(eB,r.interrupt?n:a,e.attempt(eZ,c,u))}
1function a(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return eR(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)}}},eZ={partial:!0,tokenize:function(e,t,n){let r=this;return eF(e,function(e){let i=r.events[r.events.length-1];return!eR(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eQ={partial:!0,tokenize:function(e,t,n){let r=this;return eF(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)}},eJ={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eR(t)?eF(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eJ,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eR(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function e0(e,t,n,r,i,o,s,l,a){let u=a||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||eE(t)?n(t):(e.enter(r),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),f(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(l),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(l),h(t)):null===t||60===t||eM(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function f(i){return!c&&(null===i||41===i||eD(i))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,f):41===i?(e.consume(i),c--,f):null===i||32===i||40===i||eE(i)?n(i):(e.consume(i),92===i?m:f)}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function e1(e,t,n,r,i,o){let s;let l=this,a=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 a>999||null===h||91===h||93===h&&!s||94===h&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):eM(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||eM(t)||a++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s||(s=!eR(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}}function e2(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,l):n(t)};function l(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),a(n))}function a(t){return t===s?(e.exit(o),l(s)):null===t?n(t):eM(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eF(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||eM(t)?(e.exit("chunkString"),a(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function e5(e,t){let n;return function r(i){return eM(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eR(i)?eF(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e6(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let e4={partial:!0,tokenize:function(e,t,n){return function(t){return eD(t)?e5(e,r)(t):n(t)};function r(t){return e2(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eR(t)?eF(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eM(e)?t(e):n(e)}}},e3={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),eF(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):eM(n)?e.attempt(e9,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eM(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},e9={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eM(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):eF(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):eM(e)?i(e):n(e)}}},e7={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r;let i=this;return function(t){let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][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"),eR(n)?eF(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||eM(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},e8=["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"],te=["pre","script","style","textarea"],tt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(eB,t,n)}}},tn={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eM(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)}}},tr={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ti={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),eR(t)?eF(e,a,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),eR(i)?eF(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||eM(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,l=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?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),eR(i)?eF(e,a,"whitespace")(i):a(i))}(t)}(t)};function a(o){return null===o||eM(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tr,c,f)(o)):(e.enter("co
1deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eM(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(i)):eR(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eF(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||eM(t)?a(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eM(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,f,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return s>0&&eR(t)?eF(e,p,"linePrefix",s+1)(t):p(t)}function p(t){return null===t||eM(t)?e.check(tr,c,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eM(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}}},to=document.createElement("i");function ts(e){let t="&"+e+";";to.innerHTML=t;let n=to.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tl={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"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),a):(e.enter("characterReferenceValue"),r=31,i=eS,u(t))}function a(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eA,u):(e.enter("characterReferenceValue"),r=7,i=eT,u(t))}function u(l){if(59===l&&s){let r=e.exit("characterReferenceValue");return i!==eS||ts(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&s++<r?(e.consume(l),u):n(l)}}},ta={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 eC(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tu={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),eF(e,t,"linePrefix")}}};function tc(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let th={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&eg(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,s=e.length,l=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)){l=2;break}}else"labelEnd"===n.type&&(i=s);let a={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+l+2][1].end},end:{...e[i-2][1].start}};return o=ev(o=[["enter",a,t],["enter",u,t]],e.slice(r+1,r+l+3)),o=ev(o,[["enter",c,t]]),o=ev(o,tc(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),o=ev(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=ev(o,e.slice(i+1)),o=ev(o,[["exit",a,t]]),eg(e,r,e.length,o),e},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(e6(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(td,u,i?u:c)(t):91===t?e.attempt(tp,u,i?a:c)(t):i?u(t):c(t)}function a(t){return e.attempt(tf,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},td={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 eD(t)?e5(e,i)(t):i(t)}function i(t){return 41===t?u(t):e0(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return eD(t)?e5(e,l)(t):u(t)}function s(e){return n(e)}function l(t){return 34===t||39===t||40===t?e2(e,a,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function a(t){return eD(t)?e5(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)}}},tp={tokenize:function(e,t,n){let r=this;return function(t){return e1.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(e6(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},tf={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)}}},tm={name:"labelStartImage",resolveAll:th.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function tg(e){return null===e||eD(e)||eL(e)?1:eI(e)?2:void 0}let tv={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,l,a,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;l=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={...e[n][1].end},d={...e[c][1].start};ty(h,-l),ty(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:d},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:l>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[c][1].start={...s.end},a=[],e[n][1].end.offset-e[n][1].start.offset&&(a=ev(a,[["enter",e[n][1],t],["exit",e[n][1],t]])),a=ev(a,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),a=ev(a,tc(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),a=ev(a,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,a=ev(a,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,eg(e,n-1,c-n+3,a),c=n+a.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=tg(i);return function(s){return n=s,e.enter("attentionSequence"),function s(l){if(l===n)return e.consume(l),s;let a=e.exit("attentionSequence"),u=tg(l),c=!u||2===u&&o||r.includes(l),h=!o||2===o&&u||r.includes(i);return a._open=!!(42===n?c:c&&(o||!h)),a._close=!!(42===n?h:h&&(u||!c)),t(l)}(s)}}};function ty(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tx={name:"labelStartLink",resolveAll:th.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tb={42:eX,43:eX,45:eX,48:eX,49:eX,50:eX,51:eX,52:eX,53:eX,54:eX,55:eX,56:eX,57:eX,62:eJ},tw={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),e1.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=e6(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 eD(t)?e5(e,l)(t):l(t)}function l(t){return e0(e,a,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function a(t){return e.attempt(e4,u,u)(t)}function u(t){return eR(t)?eF(e,c,"whitespace")(t):c(t)}function c(o){return null===o||eM(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},tk={[-2]:e3,[-1]:e3,32:e3},tS={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},eg(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||eD(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||eM(r)?(e.exit("atxHeading"),t(r)):eR(r)?eF(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eD(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}}},42:eY,45:[e7,eY],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,s,l;let a=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,a.interrupt?t:I):ek(s)?(e.consume(s),o=String.fromCharCode(s),f):n(s)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,s=0,d):ek(i)?(e.consume(i),r=4,a.interrupt?t:I):n(i)}function h(r){return 45===r?(e.consume(r),a.interrupt?t:I):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?a.interrupt?t:P:d:n(r)}function p(t){return ek(t)?(e.consume(t),o=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||eD(s)){let l=47===s,u=o.toLowerCase();return!l&&!i&&te.includes(u)?(r=1,a.interrupt?t(s):P(s)):e8.includes(o.toLowerCase())?(r=6,l)?(e.consume(s),m):a.interrupt?t(s):P(s):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(s):i?function t(n){return eR(n)?(e.consume(n),t):k(n)}(s):g(s))}return 45===s||eS(s)?(e.consume(s),o+=String.fromCharCode(s),f):n(s)}function m(r){return 62===r?(e.consume(r),a.interrupt?t:P):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||ek(t)?(e.consume(t),v):eR(t)?(e.consume(t),g):k(t)}function v(t){return 45===t||46===t||58===t||95===t||eS(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),x):eR(t)?(e.consume(t),y):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),l=t,b):eR(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||eD(n)?y(n):(e.consume(n),t)}(t)}function b(t){return t===l?(e.consume(t),l=null,w):null===t||eM(t)?n(t):(e.consume(t),b)}function w(e){return 47===e||62===e||eR(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||eM(t)?P(t):eR(t)?(e.consume(t),S):n(t)}function P(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),M):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),I):93===t&&5===r?(e.consume(t),R):eM(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tt,O,E)(t)):null===t||eM(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),P)}function E(t){return e.check(tn,T,O)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||eM(t)?E(t):(e.enter("htmlFlowData"),P(t))}function C(t){return 45===t?(e.consume(t),I):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 te.includes(n)?(e.consume(t),L):P(t)}return ek(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),D):P(t)}function R(t){return 93===t?(e.consume(t),I):P(t)}function I(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),I):P(t)}function L(t){return null===t||eM(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),L)}function O(n){return e.exit("htmlFlow"),t(n)}}},61:e7,95:eY,96:ti,126:ti},tP={38:tl,92:ta},tE={[-5]:tu,[-4]:tu,[-3]:tu,33:tm,38:tl,42:tv,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 ek(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(t){return 43===t||45===t||46===t||eS(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||eS(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(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||eE(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),a):eP(t)?(e.consume(t),l):n(t)}function a(i){return eS(i)?function i(o){return 46===o?(e.consume(o),r=0,a):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||eS(o)
1)&&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),l};function l(t){return 33===t?(e.consume(t),a):47===t?(e.consume(t),b):63===t?(e.consume(t),y):ek(t)?(e.consume(t),k):n(t)}function a(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):ek(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),h):eM(t)?(o=c,D(t)):(e.consume(t),c)}function h(t){return 45===t?(e.consume(t),d):c(t)}function d(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?f:p):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):eM(t)?(o=f,D(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?M(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?M(t):eM(t)?(o=v,D(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),x):eM(t)?(o=y,D(t)):(e.consume(t),y)}function x(e){return 62===e?M(e):y(e)}function b(t){return ek(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||eS(t)?(e.consume(t),w):function t(n){return eM(n)?(o=t,D(n)):eR(n)?(e.consume(n),t):M(n)}(t)}function k(t){return 45===t||eS(t)?(e.consume(t),k):47===t||62===t||eD(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),M):58===t||95===t||ek(t)?(e.consume(t),P):eM(t)?(o=S,D(t)):eR(t)?(e.consume(t),S):M(t)}function P(t){return 45===t||46===t||58===t||95===t||eS(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),E):eM(n)?(o=t,D(n)):eR(n)?(e.consume(n),t):S(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,T):eM(t)?(o=E,D(t)):eR(t)?(e.consume(t),E):(e.consume(t),A)}function T(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):eM(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||eD(t)?S(t):(e.consume(t),A)}function C(e){return 47===e||62===e||eD(e)?S(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"),R}function R(t){return eR(t)?eF(e,I,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),o(t)}}}],91:tx,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eM(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},ta],93:th,95:tv,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(a){return null===a?n(a):32===a?(e.enter("space"),e.consume(a),e.exit("space"),s):96===a?(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",l(s))}(a)):eM(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(a))}function l(t){return null===t||32===t||96===t||eM(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}}}},tT={null:[tv,eW]},tA={null:[42,95]},tC={null:[]},tM=/[\0\t\n\r]/g;function tD(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 tR=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tI(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;
1return tD(n.slice(t?2:1),t?16:10)}return ts(n)||e}let tL={}.hasOwnProperty;function tO(e){return{line:e.line,column:e.column,offset:e.offset}}function tF(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+K({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+K({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+K({start:t.start,end:t.end})+") is still open")}function tj(e){let t=this;t.parser=function(n){var r,o;let s,l,a,u;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(f),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(v),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(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(f),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:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tD(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=ts(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tO(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=e6(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(tR,tI),n.identifier=e6(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=tO(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=e6(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(tL.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:l,buffer:i,resume:a,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,l=t-1,a=-1,u=!1;for(;++l<=n;){let t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?a++:a--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||a||o||(o=l),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!a&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===a&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=l;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||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(l,0,["enter",i,t[2]]),l++,n++,o=void 0,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]];tL.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]||tF).call(s,void 0,e[0])}for(r.position={start:tO(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tO(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||void 0]),e.position={start:tO(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(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]||tF).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+K({start:e.start,end:e.end})+"): itâs not open");n.position.end=tO(e.end)}function a(){return ef(this.stack.pop(),"boolean"!=typeof ep.includeImageAlt||ep.includeImageAlt,"boolean"!=typeof ep.includeHtml||ep.includeHtml)}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:tO(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=tO(e.end)}function h(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!eb(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)(function(e,t){let n;for(n in t){let r;let i=(ew.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){ew.call(i,r)||(i[r]=[]);let e=o[r];(function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);eg(e,0,0,r)})(i[r],Array.isArray(e)?e:e?[e]:[])}}})(t,e[n]);return t}([i,...(e||{}).extensions||[]]),content:n(ej),defined:[],document:n(eN),flow:n(eU),lazy:{},string:n(eH),text:n(e$)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],s=[],l=[],a={attempt:f(function(e,t){m(e,t.from)}),check:f(p),consume:function(e){eM(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},enter:function(e,t){let n=t||{};return n.type=e,n.start=d(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=d(),u.events.push(["exit",t,u]),t},interrupt:f(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:d,parser:e,previous:null,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)},sliceStream:h,write:function(e){return(s=ev(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=tc(o,u.events,u),u.events)}},c=t.tokenize.call(u,a);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 d(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function p(e,t){t.restore()}function f(e,t){return function(n,i,o){let s,c,h,p;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function f(e){return(s=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(p=function(){let e=d(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(l);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,l=o,g()}}}(),h=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,a,v,y)(n)}}function v(t){return e(h,p),i}function y(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&&eg(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((l=1,a="",u=!0,function(e,t,n){let r,i,o,c,h;let d=[];for(e=a+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,a="",u&&(65279===e.charCodeAt(0)&&o++,u=void 0);o<e.length;){if(tM.lastIndex=o,c=(r=tM.exec(e))&&void 0!==r.index?r.index:e.length,h=e.charCodeAt(c),!r){a=e.slice(o);break}if(10===h&&o===c&&s)d.push(-3),s=void 0;else switch(s&&(d.push(-5),s=void 0),o<c&&(d.push(e.slice(o,c)),l+=c-o),h){case 0:d.push(65533),l++;break;case 9:for(i=4*Math.ceil(l/4),d.push(-2);l++<i;)d.push(-1);break;case 10:d.push(-4),l=1;break;default:s=!0,l=1}o=c+1}return n&&(s&&d.push(-5),a&&d.push(a),d.push(null)),d})(n,r,!0))))}}let tN="object"==typeof self?self:globalThis,tV=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[o,s]=t[i];switch(o){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(r(t));return e}case 7:{let{name:e,message:t}=s;return n(new tN[e](t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(new tN[o](s),i)};return r},tB=e=>tV(new Map,e)(0),{toString:tz}={},{keys:t_}=Object,tU=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tz.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tW=([e,t])=>0===e&&("function"===t||"symbol"===t),tH=(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,l]=tU(r);switch(s){case 0:{let t=r;switch(l){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return i([-1],r)}return i([s,t],r)}case 1:{if(l){let e=r;return"DataView"===l?e=new Uint8Array(r.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(r)),i([l,[...e]],r)}let e=[],t=i([s,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(l)switch(l){case"BigInt":return i([l,r.toString()],r);case"Boolean":case"Number":case"String":return i([l,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],a=i([s,n],r);for(let t of t_(r))(e||!tW(tU(r[t])))&&n.push([o(t),o(r[t])]);return a}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||!(tW(tU(n))||tW(tU(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([s,t],r);for(let n of r)(e||!tW(tU(n)))&&t.push(o(n));return n}}let{message:a}=r;return i([s,{name:l,message:a}],r)};return o},t$=(e,{json:t,lossy:n}={})=>{let r=[];return tH(!(t||n),!!t,new Map,r)(e),r},tq="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tB(t$(e,t)):structuredClone(e):(e,t)=>tB(t$(e,t));function tK(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),s="";if(37===o&&eS(e.charCodeAt(n+1))&&eS(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 tG(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 tY(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let tX=function(e){if(null==e)return tQ;if("function"==typeof e)return tZ(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tX(e[n]);return tZ(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):tZ(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return tZ(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function tZ(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 tQ(){return!0}let tJ=[];function t0(e,t,n,r){let i,o,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,s=t,i=n):(o=t,s=n,i=r),function(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=tX(i),s=r?-1:1;(function e(i,l,a){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,h,d,p=tJ;if((!t||o(i,l,a[a.length-1]||void 0))&&!1===(p=Array.isArray(u=n(i,a))?u:"number"==typeof u?[!0,u]:null==u?tJ:[u])[0])return p;if("children"in i&&i.children&&i.children&&"skip"!==p[0])for(h=(r?i.children.length:-1)+s,d=a.concat(i);h>-1&&h<i.children.length;){if(!1===(c=e(i.children[h],h,d)())[0])return c;h="number"==typeof c[1]?c[1]:h+s}return p}})(e,void 0,[])()}(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},i)}function t1(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 t2(e){let t=e.spread;return null==t?e.children.length>1:t}function t5(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 t6={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=tK(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,l+=1,e.footnoteCounts.set(i,l);let a={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,a);let u={type:"element",tagName:"sup",properties:{},children:[a]};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 t1(e,t);let i={src:tK(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:tK(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 t1(e,t);let i={href:tK(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:tK(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=t2(n[r])}return t}(n):t2(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 l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"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 a=r[r.length-1];a&&(i||"element"!==a.type||"p"!==a.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=$(t.children[1]),s=H(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,l=-1,a=[];for(;++l<s;){let n=t.children[l],r={},s=o?o[l]: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)),a.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(a,!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(t5(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(t5(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:t4,yaml:t4,definition:t4,footnoteDefinition:t4};function t4(){}let t3={}.hasOwnProperty,t9={};function t7(e,t){e.position&&(t.position=function(e){let t=$(e),n=H(e);if(t&&n)return{start:t,end:n}}(e))}function t8(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,tq(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ne(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 nt(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function nn(e,t){let n=function(e,t){let n=t||t9,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=nt(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=nt(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:t8,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...t6,...n.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(t3.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=tq(n);return r.children=o.all(e),r}return tq(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(t3.call(n,"hProperties")||t3.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:t7,wrap:ne};return t0(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),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tG,r=e.options.footnoteBackLabel||tY,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[],a=-1;for(;++a<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[a]);if(!i)continue;let o=e.all(i),s=String(i.identifier).toUpperCase(),u=tK(s.toLowerCase()),c=0,h=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++c<=d;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(a,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(a,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 f={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,f),l.push(f)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...tq(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function nr(e,t){return e&&"run"in e?async function(n,r){let i=nn(n,{file:r,...t});await e.run(i,r)}:function(n,r){return nn(n,{file:r,...e||t})}}function ni(e){if(e)throw e}var no=n(59721);function ns(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 nl={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');na(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,l=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),l>-1&&(e.codePointAt(o)===t.codePointAt(l--)?l<0&&(i=o):(l=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(na(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;na(e);let n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){let l=e.codePointAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==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;)na(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){na(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",o=0,s=-1,l=0,a=-1;for(;++a<=e.length;){if(a<e.length)n=e.codePointAt(a);else if(47===n)break;else n=47;if(47===n){if(s===a-1||1===l);else if(s!==a-1&&2===l){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=a,l=0;continue}}else if(i.length>0){i="",o=0,s=a,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,a):i=e.slice(s+1,a),o=a-s-1;s=a,l=0}else 46===n&&l>-1?l++:l=-1}
1return 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 na(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let nu={cwd:function(){return"/"}};function nc(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nh=["history","path","basename","stem","extname","dirname"];class nd{constructor(e){let t,n;t=e?nc(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":nu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<nh.length;){let e=nh[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)nh.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nl.basename(this.path):void 0}set basename(e){nf(e,"basename"),np(e,"basename"),this.path=nl.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nl.dirname(this.path):void 0}set dirname(e){nm(this.basename,"dirname"),this.path=nl.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?nl.extname(this.path):void 0}set extname(e){if(np(e,"extname"),nm(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=nl.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nc(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nc(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)),nf(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nl.basename(this.path,this.extname):void 0}set stem(e){nf(e,"stem"),np(e,"stem"),this.path=nl.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 Z(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 np(e,t){if(e&&e.includes(nl.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+nl.sep+"`")}function nf(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nm(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let ng=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nv={}.hasOwnProperty;class ny extends ng{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 l=e[++n],a=-1;if(o){r(o);return}for(;++a<t.length;)(null===s[a]||void 0===s[a])&&(s[a]=t[a]);t=s,l?(function(e,t){let n;return function(...t){let o;let s=e.length>t.length;s&&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)}})(l,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 ny,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(no(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nk("data",this.frozen),this.namespace[e]=t,this):nv.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nk("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=nE(e),n=this.parser||this.Parser;return nb("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),nb("process",this.parser||this.Parser),nw("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=nE(e),s=n.parse(o);function l(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(s,o,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(),nb("processSync",this.parser||this.Parser),nw("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,ni(e),t=r}),nP("processSync","process",n),t}
1run(e,t,n){nS(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){let s=nE(t);r.run(e,s,function(t,r,s){let l=r||e;t?o(t):i?i(l):n(void 0,l,s)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){ni(e),n=t,r=!0}),nP("runSync","run",r),n}stringify(e,t){this.freeze();let n=nE(t),r=this.compiler||this.Compiler;return nw("stringify",r),nS(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nk("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=no(!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];ns(s)&&ns(r)&&(r=no(!0,s,r)),n[i]=[e,r,...o]}}}}let nx=new ny().freeze();function nb(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nw(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nk(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 nS(e){if(!ns(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nP(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nE(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new nd(e)}let nT=[],nA={allowDangerousHtml:!0},nC=/^(https?|ircs?|mailto|xmpp)$/i,nM=[{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 nD(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,l=e.rehypePlugins||nT,a=e.remarkPlugins||nT,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nA}:nA,c=e.skipHtml,h=e.unwrapDisallowed,d=e.urlTransform||nR,p=nx().use(tj).use(a).use(nr,u).use(l),f=new nd;for(let t of("string"==typeof r&&(f.value=r),nM))Object.hasOwn(e,t.from)&&(t.from,t.to&&t.to,t.id);let m=p.parse(f),g=p.runSync(m,f);return i&&(g={type:"element",tagName:"div",properties:{className:i},children:"root"===g.type?g.children:[g]}),t0(g,function(e,r,i){if("raw"===e.type&&i&&"number"==typeof r)return c?i.children.splice(r,1):i.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in eh)if(Object.hasOwn(eh,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=eh[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):!!s&&s.includes(e.tagName);if(!o&&n&&"number"==typeof r&&(o=!n(e,r,i)),o&&i&&"number"==typeof r)return h&&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),l=$
1(e);return n(t,r,i,o,{columnNumber:l?l.column-1:void 0,fileName:s,lineNumber:l?l.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");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 l={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?j:F,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},a=ei(l,e,void 0);return a&&"string"!=typeof a?a:l.create(e,l.Fragment,{children:a||void 0},void 0)}(g,{Fragment:ed.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ed.jsx,jsxs:ed.jsxs,passKeys:!0,passNode:!0})}function nR(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||nC.test(e.slice(0,t))?e:""}}}]);
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.