@dori-ai/dori-pdp-widget 0.3.7 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{d as e,l as t,o as n}from"../widget.js";function r(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var s,l,c={exports:{}},u={};function d(){if(s)return u;s=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:i,ref:void 0!==n?n:null,props:r}}return u.Fragment=t,u.jsx=n,u.jsxs=n,u}function p(){return l||(l=1,c.exports=d()),c.exports}var f,h,g=p(),m={exports:{}},v={};function b(){if(f)return v;f=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function m(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var k=y.prototype=new b;k.constructor=y,h(k,m.prototype),k.isPureReactComponent=!0;var x=Array.isArray,w={H:null,A:null,T:null,S:null,V:null},S=Object.prototype.hasOwnProperty;function _(t,n,r,i,a,o){return r=o.ref,{$$typeof:e,type:t,key:n,ref:void 0!==r?r:null,props:o}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var P=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function T(){}function z(n,r,i,a,o){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l,c,p=!1;if(null===n)p=!0;else switch(s){case"bigint":case"string":case"number":p=!0;break;case"object":switch(n.$$typeof){case e:case t:p=!0;break;case u:return z((p=n._init)(n._payload),r,i,a,o)}}if(p)return o=o(n),p=""===a?"."+E(n,0):a,x(o)?(i="",null!=p&&(i=p.replace(P,"$&/")+"/"),z(o,r,i,"",function(e){return e})):null!=o&&(C(o)&&(l=o,c=i+(null==o.key||n&&n.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+p,o=_(l.type,c,void 0,0,0,l.props)),r.push(o)),1;p=0;var f,h=""===a?".":a+":";if(x(n))for(var g=0;g<n.length;g++)p+=z(a=n[g],r,i,s=h+E(a,g),o);else if("function"==typeof(g=null===(f=n)||"object"!=typeof f?null:"function"==typeof(f=d&&f[d]||f["@@iterator"])?f:null))for(n=g.call(n),g=0;!(a=n.next()).done;)p+=z(a=a.value,r,i,s=h+E(a,g++),o);else if("object"===s){if("function"==typeof n.then)return z(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(T,T):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,i,a,o);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return p}function R(e,t,n){if(null==e)return e;var r=[],i=0;return z(e,r,"","",function(e){return t.call(n,e,i++)}),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function A(){}return v.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},v.Component=m,v.Fragment=n,v.Profiler=i,v.PureComponent=y,v.StrictMode=r,v.Suspense=l,v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,v.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},v.cache=function(e){return function(){return e.apply(null,arguments)}},v.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),i=e.key;if(null!=t)for(a in t.ref,void 0!==t.key&&(i=""+t.key),t)!S.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return _(e.type,i,void 0,0,0,r)},v.createContext=function(e){return(e={$$typeof:o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},v.createElement=function(e,t,n){var r,i={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps)void 0===i[r]&&(i[r]=o[r]);return _(e,a,void 0,0,0,i)},v.createRef=function(){return{current:null}},v.forwardRef=function(e){return{$$typeof:s,render:e}},v.isValidElement=C,v.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:I}},v.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},v.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(A,O)}catch(a){O(a)}finally{w.T=t}},v.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},v.use=function(e){return w.H.use(e)},v.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},v.useCallback=function(e,t){return w.H.useCallback(e,t)},v.useContext=function(e){return w.H.useContext(e)},v.useDebugValue=function(){},v.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},v.useEffect=function(e,t,n){var r=w.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},v.useId=function(){return w.H.useId()},v.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},v.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},v.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},v.useMemo=function(e,t){return w.H.useMemo(e,t)},v.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},v.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},v.useRef=function(e){return w.H.useRef(e)},v.useState=function(e){return w.H.useState(e)},v.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},v.useTransition=function(){return w.H.useTransition()},v.version="19.1.1",v}function y(){return h||(h=1,m.exports=b()),m.exports}var k=y();const x=a(k),w=r({__proto__:null,default:x},[k]);var S,_,C={exports:{}},P={},E={exports:{}},T={};function z(){return S||(S=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<a&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,d=null,p=3,f=!1,h=!1,g=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var i=n(c);null!==i;){if(null===i.callback)r(c);else{if(!(i.startTime<=e))break;r(c),i.sortIndex=i.expirationTime,t(l,i)}i=n(c)}}function x(e){if(g=!1,k(e),!h)if(null!==n(l))h=!0,S||(S=!0,w());else{var t=n(c);null!==t&&I(x,t.startTime-e)}}var w,S=!1,_=-1,C=5,P=-1;function E(){return!(!m&&e.unstable_now()-P<C)}function T(){if(m=!1,S){var t=e.unstable_now();P=t;var i=!0;try{e:{h=!1,g&&(g=!1,b(_),_=-1),f=!0;var a=p;try{t:{for(k(t),d=n(l);null!==d&&!(d.expirationTime>t&&E());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,k(t),i=!0;break t}d===n(l)&&r(l),k(t)}else r(l);d=n(l)}if(null!==d)i=!0;else{var u=n(c);null!==u&&I(x,u.startTime-t),i=!1}}break e}finally{d=null,p=a,f=!1}i=void 0}}finally{i?w():S=!1}}}if("function"==typeof y)w=function(){y(T)};else if("undefined"!=typeof MessageChannel){var z=new MessageChannel,R=z.port2;z.port1.onmessage=T,w=function(){R.postMessage(null)}}else w=function(){v(T,0)};function I(t,n){_=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(C=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_requestPaint=function(){m=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?o+a:o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(r.sortIndex=a,t(c,r),null===n(l)&&r===n(c)&&(g?(b(_),_=-1):g=!0,I(x,a-o))):(r.sortIndex=s,t(l,r),h||f||(h=!0,S||(S=!0,w()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(T)),T}function R(){return _||(_=1,E.exports=z()),E.exports}var I,O,A,F,M={exports:{}},D={};function j(){if(I)return D;I=1;var e=y();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal"),a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function o(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return D.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,D.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:i,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},D.flushSync=function(e){var t=a.T,n=r.p;try{if(a.T=null,r.p=2,e)return e()}finally{a.T=t,r.p=n,r.d.f()}},D.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,r.d.C(e,t))},D.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},D.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,i=o(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,s="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:i,integrity:a,fetchPriority:s}):"script"===n&&r.d.X(e,{crossOrigin:i,integrity:a,fetchPriority:s,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},D.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=o(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},D.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,i=o(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},D.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=o(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},D.requestFormReset=function(e){r.d.r(e)},D.unstable_batchedUpdates=function(e,t){return e(t)},D.useFormState=function(e,t,n){return a.H.useFormState(e,t,n)},D.useFormStatus=function(){return a.H.useHostTransitionStatus()},D.version="19.1.1",D}function N(){return O||(O=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),M.exports=j()),M.exports}function L(){if(A)return P;A=1;var e=R(),t=y(),n=N();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function a(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function o(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function s(e){if(a(e)!==e)throw Error(r(188))}function l(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=l(e)))return t;e=e.sibling}return null}var c=Object.assign,u=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.consumer"),b=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),E=Symbol.for("react.memo_cache_sentinel"),T=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var I=Symbol.for("react.client.reference");function O(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===I?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case f:return"Fragment";case g:return"Profiler";case h:return"StrictMode";case x:return"Suspense";case w:return"SuspenseList";case C:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case b:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case S:return null!==(t=e.displayName||null)?t:O(e.type)||"Memo";case _:t=e._payload,e=e._init;try{return O(e(t))}catch(n){}}return null}var F=Array.isArray,M=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j={pending:!1,data:null,method:null,action:null},L=[],B=-1;function $(e){return{current:e}}function W(e){0>B||(e.current=L[B],L[B]=null,B--)}function H(e,t){B++,L[B]=e.current,e.current=t}var V=$(null),U=$(null),q=$(null),Y=$(null);function G(e,t){switch(H(q,t),H(U,e),H(V,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?od(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=sd(t=od(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}W(V),H(V,e)}function Q(){W(V),W(U),W(q)}function K(e){null!==e.memoizedState&&H(Y,e);var t=V.current,n=sd(t,e.type);t!==n&&(H(U,e),H(V,n))}function X(e){U.current===e&&(W(V),W(U)),Y.current===e&&(W(Y),Kd._currentValue=j)}var Z=Object.prototype.hasOwnProperty,J=e.unstable_scheduleCallback,ee=e.unstable_cancelCallback,te=e.unstable_shouldYield,ne=e.unstable_requestPaint,re=e.unstable_now,ie=e.unstable_getCurrentPriorityLevel,ae=e.unstable_ImmediatePriority,oe=e.unstable_UserBlockingPriority,se=e.unstable_NormalPriority,le=e.unstable_LowPriority,ce=e.unstable_IdlePriority,ue=e.log,de=e.unstable_setDisableYieldValue,pe=null,fe=null;function he(e){if("function"==typeof ue&&de(e),fe&&"function"==typeof fe.setStrictMode)try{fe.setStrictMode(pe,e)}catch(t){}}var ge=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(me(e)/ve|0)|0},me=Math.log,ve=Math.LN2,be=256,ye=4194304;function ke(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function xe(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~a)?i=ke(r):0!==(o&=s)?i=ke(o):n||0!==(n=s&~e)&&(i=ke(n)):0!==(s=r&~a)?i=ke(s):0!==o?i=ke(o):n||0!==(n=r&~e)&&(i=ke(n)),0===i?0:0!==t&&t!==i&&0===(t&a)&&((a=i&-i)>=(n=t&-t)||32===a&&4194048&n)?t:i}function we(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Se(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function _e(){var e=be;return!(4194048&(be<<=1))&&(be=256),e}function Ce(){var e=ye;return!(62914560&(ye<<=1))&&(ye=4194304),e}function Pe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ee(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Te(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ge(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function ze(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ge(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Re(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ie(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Oe(){var e=D.p;return 0!==e?e:void 0===(e=window.event)?32:dp(e.type)}var Ae=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Ae,Me="__reactProps$"+Ae,De="__reactContainer$"+Ae,je="__reactEvents$"+Ae,Ne="__reactListeners$"+Ae,Le="__reactHandles$"+Ae,Be="__reactResources$"+Ae,$e="__reactMarker$"+Ae;function We(e){delete e[Fe],delete e[Me],delete e[je],delete e[Ne],delete e[Le]}function He(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[De]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xd(e);null!==e;){if(n=e[Fe])return n;e=xd(e)}return t}n=(e=n).parentNode}return null}function Ve(e){if(e=e[Fe]||e[De]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function Ue(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function qe(e){var t=e[Be];return t||(t=e[Be]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[$e]=!0}var Ge=new Set,Qe={};function Ke(e,t){Xe(e,t),Xe(e+"Capture",t)}function Xe(e,t){for(Qe[e]=t,e=0;e<t.length;e++)Ge.add(t[e])}var Ze,Je,et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tt={},nt={};function rt(e,t,n){if(i=t,Z.call(nt,i)||!Z.call(tt,i)&&(et.test(i)?nt[i]=!0:(tt[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function it(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function at(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ot(e){if(void 0===Ze)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ze=t&&t[1]||"",Je=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Ze+e+Je}var st=!1;function lt(e,t){if(!e||st)return"";st=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(o){r=o}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{st=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ot(n):""}function ct(e){switch(e.tag){case 26:case 27:case 5:return ot(e.type);case 16:return ot("Lazy");case 13:return ot("Suspense");case 19:return ot("SuspenseList");case 0:case 15:return lt(e.type,!1);case 11:return lt(e.type.render,!1);case 1:return lt(e.type,!0);case 31:return ot("Activity");default:return""}}function ut(e){try{var t="";do{t+=ct(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function pt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ft(e){e._valueTracker||(e._valueTracker=function(e){var t=pt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function gt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var mt=/[\n"\\]/g;function vt(e){return e.replace(mt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function bt(e,t,n,r,i,a,o,s){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?kt(e,o,dt(t)):null!=n?kt(e,o,dt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=a&&(e.defaultChecked=!!a),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+dt(s):e.removeAttribute("name")}function yt(e,t,n,r,i,a,o,s){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return;n=null!=n?""+dt(n):"",t=null!=t?""+dt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function kt(e,t,n){"number"===t&&gt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function xt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+dt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+dt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+dt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function St(e,t,n,i){if(null==t){if(null!=i){if(null!=n)throw Error(r(92));if(F(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}null==n&&(n=""),t=n}n=dt(t),e.defaultValue=n,(i=e.textContent)===n&&""!==i&&null!==i&&(e.value=i)}function _t(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Ct=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Ct.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Et(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var i in n)!n.hasOwnProperty(i)||null!=t&&t.hasOwnProperty(i)||(0===i.indexOf("--")?e.setProperty(i,""):"float"===i?e.cssFloat="":e[i]="");for(var a in t)i=t[a],t.hasOwnProperty(a)&&n[a]!==i&&Pt(e,a,i)}else for(var o in t)t.hasOwnProperty(o)&&Pt(e,o,t[o])}function Tt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function It(e){return Rt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ot=null;function At(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ft=null,Mt=null;function Dt(e){var t=Ve(e);if(t&&(e=t.stateNode)){var n=e[Me]||null;e:switch(e=t.stateNode,t.type){case"input":if(bt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=i[Me]||null;if(!a)throw Error(r(90));bt(i,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(i=n[t]).form===e.form&&ht(i)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&xt(e,!!n.multiple,t,!1)}}}var jt=!1;function Nt(e,t,n){if(jt)return e(t,n);jt=!0;try{return e(t)}finally{if(jt=!1,(null!==Ft||null!==Mt)&&(Hc(),Ft&&(t=Ft,e=Mt,Mt=Ft=null,Dt(t),e)))for(t=0;t<e.length;t++)Dt(e[t])}}function Lt(e,t){var n=e.stateNode;if(null===n)return null;var i=n[Me]||null;if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Bt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$t=!1;if(Bt)try{var Wt={};Object.defineProperty(Wt,"passive",{get:function(){$t=!0}}),window.addEventListener("test",Wt,Wt),window.removeEventListener("test",Wt,Wt)}catch(Mp){$t=!1}var Ht=null,Vt=null,Ut=null;function qt(){if(Ut)return Ut;var e,t,n=Vt,r=n.length,i="value"in Ht?Ht.value:Ht.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Ut=i.slice(e,1<t?1-t:void 0)}function Yt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Gt(){return!0}function Qt(){return!1}function Kt(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Gt:Qt,this.isPropagationStopped=Qt,this}return c(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gt)},persist:function(){},isPersistent:Gt}),t}var Xt,Zt,Jt,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Kt(en),nn=c({},en,{view:0,detail:0}),rn=Kt(nn),an=c({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jt&&(Jt&&"mousemove"===e.type?(Xt=e.screenX-Jt.screenX,Zt=e.screenY-Jt.screenY):Zt=Xt=0,Jt=e),Xt)},movementY:function(e){return"movementY"in e?e.movementY:Zt}}),on=Kt(an),sn=Kt(c({},an,{dataTransfer:0})),ln=Kt(c({},nn,{relatedTarget:0})),cn=Kt(c({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),un=Kt(c({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),dn=Kt(c({},en,{data:0})),pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=hn[e])&&!!t[e]}function mn(){return gn}var vn=Kt(c({},nn,{key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Yt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),bn=Kt(c({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),yn=Kt(c({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),kn=Kt(c({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),xn=Kt(c({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Kt(c({},en,{newState:0,oldState:0})),Sn=[9,13,27,32],_n=Bt&&"CompositionEvent"in window,Cn=null;Bt&&"documentMode"in document&&(Cn=document.documentMode);var Pn=Bt&&"TextEvent"in window&&!Cn,En=Bt&&(!_n||Cn&&8<Cn&&11>=Cn),Tn=String.fromCharCode(32),zn=!1;function Rn(e,t){switch(e){case"keyup":return-1!==Sn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function In(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1,An={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!An[e.type]:"textarea"===t}function Mn(e,t,n,r){Ft?Mt?Mt.push(r):Mt=[r]:Ft=r,0<(t=qu(t,"onChange")).length&&(n=new tn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Dn=null,jn=null;function Nn(e){Nu(e,0)}function Ln(e){if(ht(Ue(e)))return e}function Bn(e,t){if("change"===e)return t}var $n=!1;if(Bt){var Wn;if(Bt){var Hn="oninput"in document;if(!Hn){var Vn=document.createElement("div");Vn.setAttribute("oninput","return;"),Hn="function"==typeof Vn.oninput}Wn=Hn}else Wn=!1;$n=Wn&&(!document.documentMode||9<document.documentMode)}function Un(){Dn&&(Dn.detachEvent("onpropertychange",qn),jn=Dn=null)}function qn(e){if("value"===e.propertyName&&Ln(jn)){var t=[];Mn(t,jn,e,At(e)),Nt(Nn,t)}}function Yn(e,t,n){"focusin"===e?(Un(),jn=n,(Dn=t).attachEvent("onpropertychange",qn)):"focusout"===e&&Un()}function Gn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ln(jn)}function Qn(e,t){if("click"===e)return Ln(t)}function Kn(e,t){if("input"===e||"change"===e)return Ln(t)}var Xn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Zn(e,t){if(Xn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Z.call(t,i)||!Xn(e[i],t[i]))return!1}return!0}function Jn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function er(e,t){var n,r=Jn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jn(r)}}function tr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nr(e){for(var t=gt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=gt((e=t.contentWindow).document)}return t}function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ir=Bt&&"documentMode"in document&&11>=document.documentMode,ar=null,or=null,sr=null,lr=!1;function cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==ar||ar!==gt(r)||(r="selectionStart"in(r=ar)&&rr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Zn(sr,r)||(sr=r,0<(r=qu(or,"onSelect")).length&&(t=new tn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:ur("Animation","AnimationEnd"),animationiteration:ur("Animation","AnimationIteration"),animationstart:ur("Animation","AnimationStart"),transitionrun:ur("Transition","TransitionRun"),transitionstart:ur("Transition","TransitionStart"),transitioncancel:ur("Transition","TransitionCancel"),transitionend:ur("Transition","TransitionEnd")},pr={},fr={};function hr(e){if(pr[e])return pr[e];if(!dr[e])return e;var t,n=dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return pr[e]=n[t];return e}Bt&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);var gr=hr("animationend"),mr=hr("animationiteration"),vr=hr("animationstart"),br=hr("transitionrun"),yr=hr("transitionstart"),kr=hr("transitioncancel"),xr=hr("transitionend"),wr=new Map,Sr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _r(e,t){wr.set(e,t),Ke(t,[e])}Sr.push("scrollEnd");var Cr=new WeakMap;function Pr(e,t){if("object"==typeof e&&null!==e){var n=Cr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ut(t)},Cr.set(e,t),t)}return{value:e,source:t,stack:ut(t)}}var Er=[],Tr=0,zr=0;function Rr(){for(var e=Tr,t=zr=Tr=0;t<e;){var n=Er[t];Er[t++]=null;var r=Er[t];Er[t++]=null;var i=Er[t];Er[t++]=null;var a=Er[t];if(Er[t++]=null,null!==r&&null!==i){var o=r.pending;null===o?i.next=i:(i.next=o.next,o.next=i),r.pending=i}0!==a&&Fr(n,i,a)}}function Ir(e,t,n,r){Er[Tr++]=e,Er[Tr++]=t,Er[Tr++]=n,Er[Tr++]=r,zr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Or(e,t,n,r){return Ir(e,t,n,r),Mr(e)}function Ar(e,t){return Ir(e,null,null,t),Mr(e)}function Fr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(i=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,i&&null!==t&&(i=31-ge(n),null===(r=(e=a.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),a):null}function Mr(e){if(50<Fc)throw Fc=0,Mc=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Dr={};function jr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(e,t,n,r){return new jr(e,t,n,r)}function Lr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Br(e,t){var n=e.alternate;return null===n?((n=Nr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function $r(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Wr(e,t,n,i,a,o){var s=0;if(i=e,"function"==typeof e)Lr(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,V.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case C:return(e=Nr(31,n,t,a)).elementType=C,e.lanes=o,e;case f:return Hr(n.children,a,o,t);case h:s=8,a|=24;break;case g:return(e=Nr(12,n,t,2|a)).elementType=g,e.lanes=o,e;case x:return(e=Nr(13,n,t,a)).elementType=x,e.lanes=o,e;case w:return(e=Nr(19,n,t,a)).elementType=w,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case m:case b:s=10;break e;case v:s=9;break e;case k:s=11;break e;case S:s=14;break e;case _:s=16,i=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),i=null}return(t=Nr(s,n,t,a)).elementType=e,t.type=i,t.lanes=o,t}function Hr(e,t,n,r){return(e=Nr(7,e,r,t)).lanes=n,e}function Vr(e,t,n){return(e=Nr(6,e,null,t)).lanes=n,e}function Ur(e,t,n){return(t=Nr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qr=[],Yr=0,Gr=null,Qr=0,Kr=[],Xr=0,Zr=null,Jr=1,ei="";function ti(e,t){qr[Yr++]=Qr,qr[Yr++]=Gr,Gr=e,Qr=t}function ni(e,t,n){Kr[Xr++]=Jr,Kr[Xr++]=ei,Kr[Xr++]=Zr,Zr=e;var r=Jr;e=ei;var i=32-ge(r)-1;r&=~(1<<i),n+=1;var a=32-ge(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Jr=1<<32-ge(t)+i|n<<i|r,ei=a+e}else Jr=1<<a|n<<i|r,ei=e}function ri(e){null!==e.return&&(ti(e,1),ni(e,1,0))}function ii(e){for(;e===Gr;)Gr=qr[--Yr],qr[Yr]=null,Qr=qr[--Yr],qr[Yr]=null;for(;e===Zr;)Zr=Kr[--Xr],Kr[Xr]=null,ei=Kr[--Xr],Kr[Xr]=null,Jr=Kr[--Xr],Kr[Xr]=null}var ai=null,oi=null,si=!1,li=null,ci=!1,ui=Error(r(519));function di(e){throw vi(Pr(Error(r(418,"")),e)),ui}function pi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Fe]=e,t[Me]=r,n){case"dialog":Lu("cancel",t),Lu("close",t);break;case"iframe":case"object":case"embed":Lu("load",t);break;case"video":case"audio":for(n=0;n<Du.length;n++)Lu(Du[n],t);break;case"source":Lu("error",t);break;case"img":case"image":case"link":Lu("error",t),Lu("load",t);break;case"details":Lu("toggle",t);break;case"input":Lu("invalid",t),yt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ft(t);break;case"select":Lu("invalid",t);break;case"textarea":Lu("invalid",t),St(t,r.value,r.defaultValue,r.children),ft(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Zu(t.textContent,n)?(null!=r.popover&&(Lu("beforetoggle",t),Lu("toggle",t)),null!=r.onScroll&&Lu("scroll",t),null!=r.onScrollEnd&&Lu("scrollend",t),null!=r.onClick&&(t.onclick=Ju),t=!0):t=!1,t||di(e)}function fi(e){for(ai=e.return;ai;)switch(ai.tag){case 5:case 13:return void(ci=!1);case 27:case 3:return void(ci=!0);default:ai=ai.return}}function hi(e){if(e!==ai)return!1;if(!si)return fi(e),si=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||ld(e.type,e.memoizedProps)),t=!t),t&&oi&&di(e),fi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){oi=yd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}oi=null}}else 27===n?(n=oi,gd(e.type)?(e=kd,kd=null,oi=e):oi=n):oi=ai?yd(e.stateNode.nextSibling):null;return!0}function gi(){oi=ai=null,si=!1}function mi(){var e=li;return null!==e&&(null===xc?xc=e:xc.push.apply(xc,e),li=null),e}function vi(e){null===li?li=[e]:li.push(e)}var bi=$(null),yi=null,ki=null;function xi(e,t,n){H(bi,t._currentValue),t._currentValue=n}function wi(e){e._currentValue=bi.current,W(bi)}function Si(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _i(e,t,n,i){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var s=a.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=a;for(var c=0;c<t.length;c++)if(l.context===t[c]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),Si(o.return,n,e),i||(s=null);break e}o=l.next}}else if(18===a.tag){if(null===(s=a.return))throw Error(r(341));s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),Si(s,n,e),s=null}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===e){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}}function Ci(e,t,n,i){e=null;for(var a=t,o=!1;null!==a;){if(!o)if(524288&a.flags)o=!0;else if(262144&a.flags)break;if(10===a.tag){var s=a.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=a.type;Xn(a.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(a===Y.current){if(null===(s=a.alternate))throw Error(r(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(Kd):e=[Kd])}a=a.return}null!==e&&_i(t,e,n,i),t.flags|=262144}function Pi(e){for(e=e.firstContext;null!==e;){if(!Xn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ei(e){yi=e,ki=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ti(e){return Ri(yi,e)}function zi(e,t){return null===yi&&Ei(e),Ri(e,t)}function Ri(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===ki){if(null===e)throw Error(r(308));ki=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ki=ki.next=t;return n}var Ii="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Oi=e.unstable_scheduleCallback,Ai=e.unstable_NormalPriority,Fi={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mi(){return{controller:new Ii,data:new Map,refCount:0}}function Di(e){e.refCount--,0===e.refCount&&Oi(Ai,function(){e.controller.abort()})}var ji=null,Ni=0,Li=0,Bi=null;function $i(){if(0===--Ni&&null!==ji){null!==Bi&&(Bi.status="fulfilled");var e=ji;ji=null,Li=0,Bi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Wi=M.S;M.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===ji){var n=ji=[];Ni=0,Li=Iu(),Bi={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ni++,t.then($i,$i)}(0,t),null!==Wi&&Wi(e,t)};var Hi=$(null);function Vi(){var e=Hi.current;return null!==e?e:ac.pooledCache}function Ui(e,t){H(Hi,null===t?Hi.current:t.pool)}function qi(){var e=Vi();return null===e?null:{parent:Fi._currentValue,pool:e}}var Yi=Error(r(460)),Gi=Error(r(474)),Qi=Error(r(542)),Ki={then:function(){}};function Xi(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Zi(){}function Ji(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Zi,Zi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw na(e=t.reason),e;default:if("string"==typeof t.status)t.then(Zi,Zi);else{if(null!==(e=ac)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw na(e=t.reason),e}throw ea=t,Yi}}var ea=null;function ta(){if(null===ea)throw Error(r(459));var e=ea;return ea=null,e}function na(e){if(e===Yi||e===Qi)throw Error(r(483))}var ra=!1;function ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function oa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function sa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ic){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Mr(e),Fr(e,null,n),t}return Ir(e,r,t,n),Mr(e)}function la(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,ze(e,n)}}function ca(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ua=!1;function da(){if(ua&&null!==Bi)throw Bi}function pa(e,t,n,r){ua=!1;var i=e.updateQueue;ra=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var d=e.alternate;null!==d&&(s=(d=d.updateQueue).lastBaseUpdate)!==o&&(null===s?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l)}if(null!==a){var p=i.baseState;for(o=0,d=u=l=null,s=a;;){var f=-536870913&s.lane,h=f!==s.lane;if(h?(sc&f)===f:(r&f)===f){0!==f&&f===Li&&(ua=!0),null!==d&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var g=e,m=s;f=t;var v=n;switch(m.tag){case 1:if("function"==typeof(g=m.payload)){p=g.call(v,p,f);break e}p=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(f="function"==typeof(g=m.payload)?g.call(v,p,f):g))break e;p=c({},p,f);break e;case 2:ra=!0}}null!==(f=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[f]:h.push(f))}else h={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(u=d=h,l=p):d=d.next=h,o|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===d&&(l=p),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,null===a&&(i.shared.lanes=0),gc|=o,e.lanes=o,e.memoizedState=p}}function fa(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function ha(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)fa(n[e],t)}var ga=$(null),ma=$(0);function va(e,t){H(ma,e=fc),H(ga,t),fc=e|t.baseLanes}function ba(){H(ma,fc),H(ga,ga.current)}function ya(){fc=ma.current,W(ga),W(ma)}var ka=0,xa=null,wa=null,Sa=null,_a=!1,Ca=!1,Pa=!1,Ea=0,Ta=0,za=null,Ra=0;function Ia(){throw Error(r(321))}function Oa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xn(e[n],t[n]))return!1;return!0}function Aa(e,t,n,r,i,a){return ka=a,xa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=null===e||null===e.memoizedState?Go:Qo,Pa=!1,a=n(r,i),Pa=!1,Ca&&(a=Ma(t,n,r,i)),Fa(e),a}function Fa(e){M.H=Yo;var t=null!==wa&&null!==wa.next;if(ka=0,Sa=wa=xa=null,_a=!1,Ta=0,za=null,t)throw Error(r(300));null===e||zs||null!==(e=e.dependencies)&&Pi(e)&&(zs=!0)}function Ma(e,t,n,i){xa=e;var a=0;do{if(Ca&&(za=null),Ta=0,Ca=!1,25<=a)throw Error(r(301));if(a+=1,Sa=wa=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}M.H=Ko,o=t(n,i)}while(Ca);return o}function Da(){var e=M.H,t=e.useState()[0];return t="function"==typeof t.then?Wa(t):t,e=e.useState()[0],(null!==wa?wa.memoizedState:null)!==e&&(xa.flags|=1024),t}function ja(){var e=0!==Ea;return Ea=0,e}function Na(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function La(e){if(_a){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}_a=!1}ka=0,Sa=wa=xa=null,Ca=!1,Ta=Ea=0,za=null}function Ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e,Sa}function $a(){if(null===wa){var e=xa.alternate;e=null!==e?e.memoizedState:null}else e=wa.next;var t=null===Sa?xa.memoizedState:Sa.next;if(null!==t)Sa=t,wa=e;else{if(null===e){if(null===xa.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(wa=e).memoizedState,baseState:wa.baseState,baseQueue:wa.baseQueue,queue:wa.queue,next:null},null===Sa?xa.memoizedState=Sa=e:Sa=Sa.next=e}return Sa}function Wa(e){var t=Ta;return Ta+=1,null===za&&(za=[]),e=Ji(za,e,t),t=xa,null===(null===Sa?t.memoizedState:Sa.next)&&(t=t.alternate,M.H=null===t||null===t.memoizedState?Go:Qo),e}function Ha(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Wa(e);if(e.$$typeof===b)return Ti(e)}throw Error(r(438,String(e)))}function Va(e){var t=null,n=xa.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=xa.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=E;return t.index++,n}function Ua(e,t){return"function"==typeof t?t(e):t}function qa(e){return Ya($a(),wa,e)}function Ya(e,t,n){var i=e.queue;if(null===i)throw Error(r(311));i.lastRenderedReducer=n;var a=e.baseQueue,o=i.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,i.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{var l=s=null,c=null,u=t=a.next,d=!1;do{var p=-536870913&u.lane;if(p!==u.lane?(sc&p)===p:(ka&p)===p){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),p===Li&&(d=!0);else{if((ka&f)===f){u=u.next,f===Li&&(d=!0);continue}p={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=o):c=c.next=p,xa.lanes|=f,gc|=f}p=u.action,Pa&&n(o,p),o=u.hasEagerState?u.eagerState:n(o,p)}else f={lane:p,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=o):c=c.next=f,xa.lanes|=p,gc|=p;u=u.next}while(null!==u&&u!==t);if(null===c?s=o:c.next=l,!Xn(o,e.memoizedState)&&(zs=!0,d&&null!==(n=Bi)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=c,i.lastRenderedState=o}return null===a&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Ga(e){var t=$a(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);Xn(o,t.memoizedState)||(zs=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Qa(e,t,n){var i=xa,a=$a(),o=si;if(o){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!Xn((wa||a).memoizedState,n);if(s&&(a.memoizedState=n,zs=!0),a=a.queue,yo(2048,8,Za.bind(null,i,a,e),[e]),a.getSnapshot!==t||s||null!==Sa&&1&Sa.memoizedState.tag){if(i.flags|=2048,mo(9,{destroy:void 0,resource:void 0},Xa.bind(null,i,a,n,t),null),null===ac)throw Error(r(349));o||124&ka||Ka(i,t,n)}return n}function Ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=xa.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Xa(e,t,n,r){t.value=n,t.getSnapshot=r,Ja(t)&&eo(e)}function Za(e,t,n){return n(function(){Ja(t)&&eo(e)})}function Ja(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Xn(e,n)}catch(r){return!0}}function eo(e){var t=Ar(e,2);null!==t&&Nc(t,0,2)}function to(e){var t=Ba();if("function"==typeof e){var n=e;if(e=n(),Pa){he(!0);try{n()}finally{he(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:e},t}function no(e,t,n,r){return e.baseState=n,Ya(e,wa,"function"==typeof r?r:Ua)}function ro(e,t,n,i,a){if(Vo(e))throw Error(r(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==M.T?n(!0):o.isTransition=!1,i(o),null===(n=t.pending)?(o.next=t.pending=o,io(t,o)):(o.next=n.next,t.pending=n.next=o)}}function io(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=M.T,o={};M.T=o;try{var s=n(i,r),l=M.S;null!==l&&l(o,s),ao(e,t,s)}catch(c){so(e,t,c)}finally{M.T=a}}else try{ao(e,t,a=n(i,r))}catch(u){so(e,t,u)}}function ao(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oo(e,t,n)},function(n){return so(e,t,n)}):oo(e,t,n)}function oo(e,t,n){t.status="fulfilled",t.value=n,lo(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,io(e,n)))}function so(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,lo(t),t=t.next}while(t!==r)}e.action=null}function lo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function co(e,t){return t}function uo(e,t){if(si){var n=ac.formState;if(null!==n){e:{var r=xa;if(si){if(oi){t:{for(var i=oi,a=ci;8!==i.nodeType;){if(!a){i=null;break t}if(null===(i=yd(i.nextSibling))){i=null;break t}}i="F!"===(a=i.data)||"F"===a?i:null}if(i){oi=yd(i.nextSibling),r="F!"===i.data;break e}}di(r)}r=!1}r&&(t=n[0])}}return(n=Ba()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:co,lastRenderedState:t},n.queue=r,n=$o.bind(null,xa,r),r.dispatch=n,r=to(!1),a=Ho.bind(null,xa,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=Ba()).queue=i,n=ro.bind(null,xa,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function po(e){return fo($a(),wa,e)}function fo(e,t,n){if(t=Ya(e,t,co)[0],e=qa(Ua)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Wa(t)}catch(o){if(o===Yi)throw Qi;throw o}else r=t;var i=(t=$a()).queue,a=i.dispatch;return n!==t.memoizedState&&(xa.flags|=2048,mo(9,{destroy:void 0,resource:void 0},ho.bind(null,i,n),null)),[r,a,e]}function ho(e,t){e.action=t}function go(e){var t=$a(),n=wa;if(null!==n)return fo(t,n,e);$a(),t=t.memoizedState;var r=(n=$a()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function mo(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=xa.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},xa.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vo(){return $a().memoizedState}function bo(e,t,n,r){var i=Ba();r=void 0===r?null:r,xa.flags|=e,i.memoizedState=mo(1|t,{destroy:void 0,resource:void 0},n,r)}function yo(e,t,n,r){var i=$a();r=void 0===r?null:r;var a=i.memoizedState.inst;null!==wa&&null!==r&&Oa(r,wa.memoizedState.deps)?i.memoizedState=mo(t,a,n,r):(xa.flags|=e,i.memoizedState=mo(1|t,a,n,r))}function ko(e,t){bo(8390656,8,e,t)}function xo(e,t){yo(2048,8,e,t)}function wo(e,t){return yo(4,2,e,t)}function So(e,t){return yo(4,4,e,t)}function _o(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Co(e,t,n){n=null!=n?n.concat([e]):null,yo(4,4,_o.bind(null,t,e),n)}function Po(){}function Eo(e,t){var n=$a();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Oa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function To(e,t){var n=$a();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Oa(t,r[1]))return r[0];if(r=e(),Pa){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[r,t],r}function zo(e,t,n){return void 0===n||1073741824&ka?e.memoizedState=t:(e.memoizedState=n,e=jc(),xa.lanes|=e,gc|=e,n)}function Ro(e,t,n,r){return Xn(n,t)?n:null!==ga.current?(e=zo(e,n,r),Xn(e,t)||(zs=!0),e):42&ka?(e=jc(),xa.lanes|=e,gc|=e,t):(zs=!0,e.memoizedState=n)}function Io(e,t,n,r,i){var a=D.p;D.p=0!==a&&8>a?a:8;var o,s,l,c=M.T,u={};M.T=u,Ho(e,!1,t,n);try{var d=i(),p=M.S;null!==p&&p(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?Wo(e,t,(o=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=o;for(var e=0;e<s.length;e++)(0,s[e])(o)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Dc()):Wo(e,t,r,Dc())}catch(f){Wo(e,t,{then:function(){},status:"rejected",reason:f},Dc())}finally{D.p=a,M.T=c}}function Oo(){}function Ao(e,t,n,i){if(5!==e.tag)throw Error(r(476));var a=Fo(e).queue;Io(e,a,t,j,null===n?Oo:function(){return Mo(e),n(i)})}function Fo(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:j,baseState:j,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:j},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Mo(e){Wo(e,Fo(e).next.queue,{},Dc())}function Do(){return Ti(Kd)}function jo(){return $a().memoizedState}function No(){return $a().memoizedState}function Lo(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Dc(),r=sa(t,e=oa(n),n);return null!==r&&(Nc(r,0,n),la(r,t,n)),t={cache:Mi()},void(e.payload=t)}t=t.return}}function Bo(e,t,n){var r=Dc();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Vo(e)?Uo(t,n):null!==(n=Or(e,t,n,r))&&(Nc(n,0,r),qo(n,t,r))}function $o(e,t,n){Wo(e,t,n,Dc())}function Wo(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vo(e))Uo(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Xn(s,o))return Ir(e,t,i,0),null===ac&&Rr(),!1}catch(l){}if(null!==(n=Or(e,t,i,r)))return Nc(n,0,r),qo(n,t,r),!0}return!1}function Ho(e,t,n,i){if(i={lane:2,revertLane:Iu(),action:i,hasEagerState:!1,eagerState:null,next:null},Vo(e)){if(t)throw Error(r(479))}else null!==(t=Or(e,n,i,2))&&Nc(t,0,2)}function Vo(e){var t=e.alternate;return e===xa||null!==t&&t===xa}function Uo(e,t){Ca=_a=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qo(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,ze(e,n)}}var Yo={readContext:Ti,use:Ha,useCallback:Ia,useContext:Ia,useEffect:Ia,useImperativeHandle:Ia,useLayoutEffect:Ia,useInsertionEffect:Ia,useMemo:Ia,useReducer:Ia,useRef:Ia,useState:Ia,useDebugValue:Ia,useDeferredValue:Ia,useTransition:Ia,useSyncExternalStore:Ia,useId:Ia,useHostTransitionStatus:Ia,useFormState:Ia,useActionState:Ia,useOptimistic:Ia,useMemoCache:Ia,useCacheRefresh:Ia},Go={readContext:Ti,use:Ha,useCallback:function(e,t){return Ba().memoizedState=[e,void 0===t?null:t],e},useContext:Ti,useEffect:ko,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,bo(4194308,4,_o.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bo(4194308,4,e,t)},useInsertionEffect:function(e,t){bo(4,2,e,t)},useMemo:function(e,t){var n=Ba();t=void 0===t?null:t;var r=e();if(Pa){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ba();if(void 0!==n){var i=n(t);if(Pa){he(!0);try{n(t)}finally{he(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Bo.bind(null,xa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ba().memoizedState=e},useState:function(e){var t=(e=to(e)).queue,n=$o.bind(null,xa,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Po,useDeferredValue:function(e,t){return zo(Ba(),e,t)},useTransition:function(){var e=to(!1);return e=Io.bind(null,xa,e.queue,!0,!1),Ba().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=xa,a=Ba();if(si){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===ac)throw Error(r(349));124&sc||Ka(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ko(Za.bind(null,i,o,e),[e]),i.flags|=2048,mo(9,{destroy:void 0,resource:void 0},Xa.bind(null,i,o,n,t),null),n},useId:function(){var e=Ba(),t=ac.identifierPrefix;if(si){var n=ei;t="«"+t+"R"+(n=(Jr&~(1<<32-ge(Jr)-1)).toString(32)+n),0<(n=Ea++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Ra++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Do,useFormState:uo,useActionState:uo,useOptimistic:function(e){var t=Ba();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ho.bind(null,xa,!0,n),n.dispatch=t,[e,t]},useMemoCache:Va,useCacheRefresh:function(){return Ba().memoizedState=Lo.bind(null,xa)}},Qo={readContext:Ti,use:Ha,useCallback:Eo,useContext:Ti,useEffect:xo,useImperativeHandle:Co,useInsertionEffect:wo,useLayoutEffect:So,useMemo:To,useReducer:qa,useRef:vo,useState:function(){return qa(Ua)},useDebugValue:Po,useDeferredValue:function(e,t){return Ro($a(),wa.memoizedState,e,t)},useTransition:function(){var e=qa(Ua)[0],t=$a().memoizedState;return["boolean"==typeof e?e:Wa(e),t]},useSyncExternalStore:Qa,useId:jo,useHostTransitionStatus:Do,useFormState:po,useActionState:po,useOptimistic:function(e,t){return no($a(),0,e,t)},useMemoCache:Va,useCacheRefresh:No},Ko={readContext:Ti,use:Ha,useCallback:Eo,useContext:Ti,useEffect:xo,useImperativeHandle:Co,useInsertionEffect:wo,useLayoutEffect:So,useMemo:To,useReducer:Ga,useRef:vo,useState:function(){return Ga(Ua)},useDebugValue:Po,useDeferredValue:function(e,t){var n=$a();return null===wa?zo(n,e,t):Ro(n,wa.memoizedState,e,t)},useTransition:function(){var e=Ga(Ua)[0],t=$a().memoizedState;return["boolean"==typeof e?e:Wa(e),t]},useSyncExternalStore:Qa,useId:jo,useHostTransitionStatus:Do,useFormState:go,useActionState:go,useOptimistic:function(e,t){var n=$a();return null!==wa?no(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Va,useCacheRefresh:No},Xo=null,Zo=0;function Jo(e){var t=Zo;return Zo+=1,null===Xo&&(Xo=[]),Ji(Xo,e,t)}function es(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ts(e,t){if(t.$$typeof===u)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ns(e){return(0,e._init)(e._payload)}function rs(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=Br(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vr(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===f?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===_&&ns(i)===t.type)?(es(t=a(t,n.props),n),t.return=e,t):(es(t=Wr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ur(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function h(e,t,n,r,i){return null===t||7!==t.tag?((t=Hr(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function g(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Vr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case d:return es(n=Wr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=Ur(t,e.mode,n)).return=e,t;case _:return g(e,t=(0,t._init)(t._payload),n)}if(F(t)||z(t))return(t=Hr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return g(e,Jo(t),n);if(t.$$typeof===b)return g(e,zi(e,t),n);ts(e,t)}return null}function m(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case d:return n.key===i?c(e,t,n,r):null;case p:return n.key===i?u(e,t,n,r):null;case _:return m(e,t,n=(i=n._init)(n._payload),r)}if(F(n)||z(n))return null!==i?null:h(e,t,n,r,null);if("function"==typeof n.then)return m(e,t,Jo(n),r);if(n.$$typeof===b)return m(e,t,zi(e,n),r);ts(e,n)}return null}function v(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case d:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case _:return v(e,t,n,r=(0,r._init)(r._payload),i)}if(F(r)||z(r))return h(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return v(e,t,n,Jo(r),i);if(r.$$typeof===b)return v(e,t,n,zi(t,r),i);ts(t,r)}return null}function y(l,c,u,h){if("object"==typeof u&&null!==u&&u.type===f&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case d:e:{for(var k=u.key;null!==c;){if(c.key===k){if((k=u.type)===f){if(7===c.tag){n(l,c.sibling),(h=a(c,u.props.children)).return=l,l=h;break e}}else if(c.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===_&&ns(k)===c.type){n(l,c.sibling),es(h=a(c,u.props),u),h.return=l,l=h;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===f?((h=Hr(u.props.children,l.mode,h,u.key)).return=l,l=h):(es(h=Wr(u.type,u.key,u.props,null,l.mode,h),u),h.return=l,l=h)}return s(l);case p:e:{for(k=u.key;null!==c;){if(c.key===k){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(h=a(c,u.children||[])).return=l,l=h;break e}n(l,c);break}t(l,c),c=c.sibling}(h=Ur(u,l.mode,h)).return=l,l=h}return s(l);case _:return y(l,c,u=(k=u._init)(u._payload),h)}if(F(u))return function(r,a,s,l){for(var c=null,u=null,d=a,p=a=0,f=null;null!==d&&p<s.length;p++){d.index>p?(f=d,d=null):f=d.sibling;var h=m(r,d,s[p],l);if(null===h){null===d&&(d=f);break}e&&d&&null===h.alternate&&t(r,d),a=o(h,a,p),null===u?c=h:u.sibling=h,u=h,d=f}if(p===s.length)return n(r,d),si&&ti(r,p),c;if(null===d){for(;p<s.length;p++)null!==(d=g(r,s[p],l))&&(a=o(d,a,p),null===u?c=d:u.sibling=d,u=d);return si&&ti(r,p),c}for(d=i(d);p<s.length;p++)null!==(f=v(d,r,p,s[p],l))&&(e&&null!==f.alternate&&d.delete(null===f.key?p:f.key),a=o(f,a,p),null===u?c=f:u.sibling=f,u=f);return e&&d.forEach(function(e){return t(r,e)}),si&&ti(r,p),c}(l,c,u,h);if(z(u)){if("function"!=typeof(k=z(u)))throw Error(r(150));return function(a,s,l,c){if(null==l)throw Error(r(151));for(var u=null,d=null,p=s,f=s=0,h=null,b=l.next();null!==p&&!b.done;f++,b=l.next()){p.index>f?(h=p,p=null):h=p.sibling;var y=m(a,p,b.value,c);if(null===y){null===p&&(p=h);break}e&&p&&null===y.alternate&&t(a,p),s=o(y,s,f),null===d?u=y:d.sibling=y,d=y,p=h}if(b.done)return n(a,p),si&&ti(a,f),u;if(null===p){for(;!b.done;f++,b=l.next())null!==(b=g(a,b.value,c))&&(s=o(b,s,f),null===d?u=b:d.sibling=b,d=b);return si&&ti(a,f),u}for(p=i(p);!b.done;f++,b=l.next())null!==(b=v(p,a,f,b.value,c))&&(e&&null!==b.alternate&&p.delete(null===b.key?f:b.key),s=o(b,s,f),null===d?u=b:d.sibling=b,d=b);return e&&p.forEach(function(e){return t(a,e)}),si&&ti(a,f),u}(l,c,u=k.call(u),h)}if("function"==typeof u.then)return y(l,c,Jo(u),h);if(u.$$typeof===b)return y(l,c,zi(l,u),h);ts(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(h=a(c,u)).return=l,l=h):(n(l,c),(h=Vr(u,l.mode,h)).return=l,l=h),s(l)):n(l,c)}return function(e,t,n,r){try{Zo=0;var i=y(e,t,n,r);return Xo=null,i}catch(o){if(o===Yi||o===Qi)throw o;var a=Nr(29,o,null,e.mode);return a.lanes=r,a.return=e,a}}}var is=rs(!0),as=rs(!1),os=$(null),ss=null;function ls(e){var t=e.alternate;H(ps,1&ps.current),H(os,e),null===ss&&(null===t||null!==ga.current||null!==t.memoizedState)&&(ss=e)}function cs(e){if(22===e.tag){if(H(ps,ps.current),H(os,e),null===ss){var t=e.alternate;null!==t&&null!==t.memoizedState&&(ss=e)}}else us()}function us(){H(ps,ps.current),H(os,os.current)}function ds(e){W(os),ss===e&&(ss=null),W(ps)}var ps=$(0);function fs(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||bd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function hs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var gs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Dc(),i=oa(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=sa(e,i,r))&&(Nc(t,0,r),la(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Dc(),i=oa(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=sa(e,i,r))&&(Nc(t,0,r),la(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dc(),r=oa(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=sa(e,r,n))&&(Nc(t,0,n),la(t,e,n))}};function ms(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!(t.prototype&&t.prototype.isPureReactComponent&&Zn(n,r)&&Zn(i,a))}function vs(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gs.enqueueReplaceState(t,t.state,null)}function bs(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=c({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}var ys="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function ks(e){ys(e)}function xs(e){}function ws(e){ys(e)}function Ss(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function _s(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Cs(e,t,n){return(n=oa(n)).tag=3,n.payload={element:null},n.callback=function(){Ss(e,t)},n}function Ps(e){return(e=oa(e)).tag=3,e}function Es(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){_s(t,n,r)}}var o=n.stateNode;null!==o&&"function"==typeof o.componentDidCatch&&(e.callback=function(){_s(t,n,r),"function"!=typeof i&&(null===Pc?Pc=new Set([this]):Pc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Ts=Error(r(461)),zs=!1;function Rs(e,t,n,r){t.child=null===e?as(t,null,n,r):is(t,e.child,n,r)}function Is(e,t,n,r,i){n=n.render;var a=t.ref;if("ref"in r){var o={};for(var s in r)"ref"!==s&&(o[s]=r[s])}else o=r;return Ei(t),r=Aa(e,t,n,o,a,i),s=ja(),null===e||zs?(si&&s&&ri(t),t.flags|=1,Rs(e,t,r,i),t.child):(Na(e,t,i),Xs(e,t,i))}function Os(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Lr(a)||void 0!==a.defaultProps||null!==n.compare?((e=Wr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,As(e,t,a,r,i))}if(a=e.child,!Zs(e,i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:Zn)(o,r)&&e.ref===t.ref)return Xs(e,t,i)}return t.flags|=1,(e=Br(a,r)).ref=t.ref,e.return=t,t.child=e}function As(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(Zn(a,r)&&e.ref===t.ref){if(zs=!1,t.pendingProps=r=a,!Zs(e,i))return t.lanes=e.lanes,Xs(e,t,i);131072&e.flags&&(zs=!0)}}return js(e,t,n,r,i)}function Fs(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(i=t.child=e.child,a=0;null!==i;)a=a|i.lanes|i.childLanes,i=i.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Ms(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Ms(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ui(0,null!==a?a.cachePool:null),null!==a?va(t,a):ba(),cs(t)}else null!==a?(Ui(0,a.cachePool),va(t,a),us(),t.memoizedState=null):(null!==e&&Ui(0,null),ba(),us());return Rs(e,t,i,n),t.child}function Ms(e,t,n,r){var i=Vi();return i=null===i?null:{parent:Fi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ui(0,null),ba(),cs(t),null!==e&&Ci(e,t,r,!0),null}function Ds(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function js(e,t,n,r,i){return Ei(t),n=Aa(e,t,n,r,void 0,i),r=ja(),null===e||zs?(si&&r&&ri(t),t.flags|=1,Rs(e,t,n,i),t.child):(Na(e,t,i),Xs(e,t,i))}function Ns(e,t,n,r,i,a){return Ei(t),t.updateQueue=null,n=Ma(t,r,n,i),Fa(e),r=ja(),null===e||zs?(si&&r&&ri(t),t.flags|=1,Rs(e,t,n,a),t.child):(Na(e,t,a),Xs(e,t,a))}function Ls(e,t,n,r,i){if(Ei(t),null===t.stateNode){var a=Dr,o=n.contextType;"object"==typeof o&&null!==o&&(a=Ti(o)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=gs,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ia(t),o=n.contextType,a.context="object"==typeof o&&null!==o?Ti(o):Dr,a.state=t.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(hs(t,n,o,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(o=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),o!==a.state&&gs.enqueueReplaceState(a,a.state,null),pa(t,r,a,i),da(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var s=t.memoizedProps,l=bs(n,s);a.props=l;var c=a.context,u=n.contextType;o=Dr,"object"==typeof u&&null!==u&&(o=Ti(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s||c!==o)&&vs(t,a,r,o),ra=!1;var p=t.memoizedState;a.state=p,pa(t,r,a,i),da(),c=t.memoizedState,s||p!==c||ra?("function"==typeof d&&(hs(t,n,d,r),c=t.memoizedState),(l=ra||ms(t,n,l,r,p,c,o))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=o,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,aa(e,t),u=bs(n,o=t.memoizedProps),a.props=u,d=t.pendingProps,p=a.context,c=n.contextType,l=Dr,"object"==typeof c&&null!==c&&(l=Ti(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==d||p!==l)&&vs(t,a,r,l),ra=!1,p=t.memoizedState,a.state=p,pa(t,r,a,i),da();var f=t.memoizedState;o!==d||p!==f||ra||null!==e&&null!==e.dependencies&&Pi(e.dependencies)?("function"==typeof s&&(hs(t,n,s,r),f=t.memoizedState),(u=ra||ms(t,n,u,r,p,f,l)||null!==e&&null!==e.dependencies&&Pi(e.dependencies))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Ds(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=is(t,e.child,null,i),t.child=is(t,null,n,i)):Rs(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Xs(e,t,i),e}function Bs(e,t,n,r){return gi(),t.flags|=256,Rs(e,t,n,r),t.child}var $s={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ws(e){return{baseLanes:e,cachePool:qi()}}function Hs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=bc),e}function Vs(e,t,n){var i,a=t.pendingProps,o=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&ps.current)),i&&(o=!0,t.flags&=-129),i=!!(32&t.flags),t.flags&=-33,null===e){if(si){if(o?ls(t):us(),si){var l,c=oi;if(l=c){e:{for(l=c,c=ci;8!==l.nodeType;){if(!c){c=null;break e}if(null===(l=yd(l.nextSibling))){c=null;break e}}c=l}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Zr?{id:Jr,overflow:ei}:null,retryLane:536870912,hydrationErrors:null},(l=Nr(18,null,null,0)).stateNode=c,l.return=t,t.child=l,ai=t,oi=null,l=!0):l=!1}l||di(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return bd(c)?t.lanes=32:t.lanes=536870912,null;ds(t)}return c=a.children,a=a.fallback,o?(us(),c=qs({mode:"hidden",children:c},o=t.mode),a=Hr(a,o,n,null),c.return=t,a.return=t,c.sibling=a,t.child=c,(o=t.child).memoizedState=Ws(n),o.childLanes=Hs(e,i,n),t.memoizedState=$s,a):(ls(t),Us(t,c))}if(null!==(l=e.memoizedState)&&null!==(c=l.dehydrated)){if(s)256&t.flags?(ls(t),t.flags&=-257,t=Ys(e,t,n)):null!==t.memoizedState?(us(),t.child=e.child,t.flags|=128,t=null):(us(),o=a.fallback,c=t.mode,a=qs({mode:"visible",children:a.children},c),(o=Hr(o,c,n,null)).flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,is(t,e.child,null,n),(a=t.child).memoizedState=Ws(n),a.childLanes=Hs(e,i,n),t.memoizedState=$s,t=o);else if(ls(t),bd(c)){if(i=c.nextSibling&&c.nextSibling.dataset)var u=i.dgst;i=u,(a=Error(r(419))).stack="",a.digest=i,vi({value:a,source:null,stack:null}),t=Ys(e,t,n)}else if(zs||Ci(e,t,n,!1),i=0!==(n&e.childLanes),zs||i){if(null!==(i=ac)&&0!==(a=0!==((a=42&(a=n&-n)?1:Re(a))&(i.suspendedLanes|n))?0:a)&&a!==l.retryLane)throw l.retryLane=a,Ar(e,a),Nc(i,0,a),Ts;"$?"===c.data||Qc(),t=Ys(e,t,n)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,oi=yd(c.nextSibling),ai=t,si=!0,li=null,ci=!1,null!==e&&(Kr[Xr++]=Jr,Kr[Xr++]=ei,Kr[Xr++]=Zr,Jr=e.id,ei=e.overflow,Zr=t),(t=Us(t,a.children)).flags|=4096);return t}return o?(us(),o=a.fallback,c=t.mode,u=(l=e.child).sibling,(a=Br(l,{mode:"hidden",children:a.children})).subtreeFlags=65011712&l.subtreeFlags,null!==u?o=Br(u,o):(o=Hr(o,c,n,null)).flags|=2,o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,null===(c=e.child.memoizedState)?c=Ws(n):(null!==(l=c.cachePool)?(u=Fi._currentValue,l=l.parent!==u?{parent:u,pool:u}:l):l=qi(),c={baseLanes:c.baseLanes|n,cachePool:l}),o.memoizedState=c,o.childLanes=Hs(e,i,n),t.memoizedState=$s,a):(ls(t),e=(n=e.child).sibling,(n=Br(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(i=t.deletions)?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n)}function Us(e,t){return(t=qs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function qs(e,t){return(e=Nr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Ys(e,t,n){return is(t,e.child,null,n),(e=Us(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Gs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Si(e.return,t,n)}function Qs(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Ks(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Rs(e,t,r.children,n),2&(r=ps.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Gs(e,n,t);else if(19===e.tag)Gs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(H(ps,r),i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===fs(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Qs(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===fs(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Qs(t,!0,n,null,a);break;case"together":Qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),gc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ci(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Br(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Br(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Pi(e))}function Js(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)zs=!0;else{if(!(Zs(e,n)||128&t.flags))return zs=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),xi(0,Fi,e.memoizedState.cache),gi();break;case 27:case 5:K(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:xi(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ls(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Vs(e,t,n):(ls(t),null!==(e=Xs(e,t,n))?e.sibling:null);ls(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Ci(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return Ks(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),H(ps,ps.current),r)break;return null;case 22:case 23:return t.lanes=0,Fs(e,t,n);case 24:xi(0,Fi,e.memoizedState.cache)}return Xs(e,t,n)}(e,t,n);zs=!!(131072&e.flags)}else zs=!1,si&&1048576&t.flags&&ni(t,Qr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,a=i._init;if(i=a(i._payload),t.type=i,"function"!=typeof i){if(null!=i){if((a=i.$$typeof)===k){t.tag=11,t=Is(null,t,i,e,n);break e}if(a===S){t.tag=14,t=Os(null,t,i,e,n);break e}}throw t=O(i)||i,Error(r(306,t,""))}Lr(i)?(e=bs(i,e),t.tag=1,t=Ls(null,t,i,e,n)):(t.tag=0,t=js(null,t,i,e,n))}return t;case 0:return js(e,t,t.type,t.pendingProps,n);case 1:return Ls(e,t,i=t.type,a=bs(i,t.pendingProps),n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(r(387));i=t.pendingProps;var o=t.memoizedState;a=o.element,aa(e,t),pa(t,i,null,n);var s=t.memoizedState;if(i=s.cache,xi(0,Fi,i),i!==o.cache&&_i(t,[Fi],n,!0),da(),i=s.element,o.isDehydrated){if(o={element:i,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Bs(e,t,i,n);break e}if(i!==a){vi(a=Pr(Error(r(424)),t)),t=Bs(e,t,i,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,oi=yd(e.firstChild),ai=t,si=!0,li=null,ci=!0,n=as(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(gi(),i===a){t=Xs(e,t,n);break e}Rs(e,t,i,n)}t=t.child}return t;case 26:return Ds(e,t),null===e?(n=Rd(t.type,null,t.pendingProps,null))?t.memoizedState=n:si||(n=t.type,e=t.pendingProps,(i=ad(q.current).createElement(n))[Fe]=t,i[Me]=e,nd(i,n,e),Ye(i),t.stateNode=i):t.memoizedState=Rd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return K(t),null===e&&si&&(i=t.stateNode=wd(t.type,t.pendingProps,q.current),ai=t,ci=!0,a=oi,gd(t.type)?(kd=a,oi=yd(i.firstChild)):oi=a),Rs(e,t,t.pendingProps.children,n),Ds(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&si&&((a=i=oi)&&(null!==(i=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[$e])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===a)return e}if(null===(e=yd(e.nextSibling)))break}return null}(i,t.type,t.pendingProps,ci))?(t.stateNode=i,ai=t,oi=yd(i.firstChild),ci=!1,a=!0):a=!1),a||di(t)),K(t),a=t.type,o=t.pendingProps,s=null!==e?e.memoizedProps:null,i=o.children,ld(a,o)?i=null:null!==s&&ld(a,s)&&(t.flags|=32),null!==t.memoizedState&&(a=Aa(e,t,Da,null,null,n),Kd._currentValue=a),Ds(e,t),Rs(e,t,i,n),t.child;case 6:return null===e&&si&&((e=n=oi)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=yd(e.nextSibling)))return null}return e}(n,t.pendingProps,ci))?(t.stateNode=n,ai=t,oi=null,e=!0):e=!1),e||di(t)),null;case 13:return Vs(e,t,n);case 4:return G(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=is(t,null,i,n):Rs(e,t,i,n),t.child;case 11:return Is(e,t,t.type,t.pendingProps,n);case 7:return Rs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Rs(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,xi(0,t.type,i.value),Rs(e,t,i.children,n),t.child;case 9:return a=t.type._context,i=t.pendingProps.children,Ei(t),i=i(a=Ti(a)),t.flags|=1,Rs(e,t,i,n),t.child;case 14:return Os(e,t,t.type,t.pendingProps,n);case 15:return As(e,t,t.type,t.pendingProps,n);case 19:return Ks(e,t,n);case 31:return i=t.pendingProps,n=t.mode,i={mode:i.mode,children:i.children},null===e?((n=qs(i,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Br(e.child,i)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Fs(e,t,n);case 24:return Ei(t),i=Ti(Fi),null===e?(null===(a=Vi())&&(a=ac,o=Mi(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:i,cache:a},ia(t),xi(0,Fi,a)):(0!==(e.lanes&n)&&(aa(e,t),pa(t,null,null,n),da()),a=e.memoizedState,o=t.memoizedState,a.parent!==i?(a={parent:i,cache:i},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),xi(0,Fi,i)):(i=o.cache,xi(0,Fi,i),i!==a.cache&&_i(t,[Fi],n,!0))),Rs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function el(e){e.flags|=4}function tl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Hd(t)){if(null!==(t=os.current)&&((4194048&sc)===sc?null!==ss:(62914560&sc)!==sc&&!(536870912&sc)||t!==ss))throw ea=Ki,Gi;e.flags|=8192}}function nl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ce():536870912,e.lanes|=t,yc|=t)}function rl(e,t){if(!si)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function il(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function al(e,t,n){var i=t.pendingProps;switch(ii(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return il(t),null;case 3:return n=t.stateNode,i=null,null!==e&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),wi(Fi),Q(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(hi(t)?el(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,mi())),il(t),null;case 26:return n=t.memoizedState,null===e?(el(t),null!==n?(il(t),tl(t,n)):(il(t),t.flags&=-16777217)):n?n!==e.memoizedState?(el(t),il(t),tl(t,n)):(il(t),t.flags&=-16777217):(e.memoizedProps!==i&&el(t),il(t),t.flags&=-16777217),null;case 27:X(t),n=q.current;var a=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return il(t),null}e=V.current,hi(t)?pi(t):(e=wd(a,i,n),t.stateNode=e,el(t))}return il(t),null;case 5:if(X(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return il(t),null}if(e=V.current,hi(t))pi(t);else{switch(a=ad(q.current),e){case 1:e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=a.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=a.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof i.is?a.createElement("select",{is:i.is}):a.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e="string"==typeof i.is?a.createElement(n,{is:i.is}):a.createElement(n)}}e[Fe]=t,e[Me]=i;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&27!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=e;e:switch(nd(e,n,i),n){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&el(t)}}return il(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(e=q.current,hi(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,null!==(a=ai))switch(a.tag){case 27:case 5:i=a.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==i&&!0===i.suppressHydrationWarning||Zu(e.nodeValue,n)))||di(t)}else(e=ad(e).createTextNode(i))[Fe]=t,t.stateNode=e}return il(t),null;case 13:if(i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=hi(t),null!==i&&null!==i.dehydrated){if(null===e){if(!a)throw Error(r(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(r(317));a[Fe]=t}else gi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;il(t),a=!1}else a=mi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return 256&t.flags?(ds(t),t):(ds(t),null)}if(ds(t),128&t.flags)return t.lanes=n,t;if(n=null!==i,e=null!==e&&null!==e.memoizedState,n){a=null,null!==(i=t.child).alternate&&null!==i.alternate.memoizedState&&null!==i.alternate.memoizedState.cachePool&&(a=i.alternate.memoizedState.cachePool.pool);var o=null;null!==i.memoizedState&&null!==i.memoizedState.cachePool&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),nl(t,t.updateQueue),il(t),null;case 4:return Q(),null===e&&Wu(t.stateNode.containerInfo),il(t),null;case 10:return wi(t.type),il(t),null;case 19:if(W(ps),null===(a=t.memoizedState))return il(t),null;if(i=!!(128&t.flags),null===(o=a.rendering))if(i)rl(a,!1);else{if(0!==hc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=fs(e))){for(t.flags|=128,rl(a,!1),e=o.updateQueue,t.updateQueue=e,nl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)$r(n,e),n=n.sibling;return H(ps,1&ps.current|2),t.child}e=e.sibling}null!==a.tail&&re()>_c&&(t.flags|=128,i=!0,rl(a,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=fs(o))){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,nl(t,e),rl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!o.alternate&&!si)return il(t),null}else 2*re()-a.renderingStartTime>_c&&536870912!==n&&(t.flags|=128,i=!0,rl(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=a.last)?e.sibling=o:t.child=o,a.last=o)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=re(),t.sibling=null,e=ps.current,H(ps,i?1&e|2:1&e),t):(il(t),null);case 22:case 23:return ds(t),ya(),i=null!==t.memoizedState,null!==e?null!==e.memoizedState!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?!!(536870912&n)&&!(128&t.flags)&&(il(t),6&t.subtreeFlags&&(t.flags|=8192)):il(t),null!==(n=t.updateQueue)&&nl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),i=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),null!==e&&W(Hi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),wi(Fi),il(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function ol(e,t){switch(ii(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return wi(Fi),Q(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return X(t),null;case 13:if(ds(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));gi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return W(ps),null;case 4:return Q(),null;case 10:return wi(t.type),null;case 22:case 23:return ds(t),ya(),null!==e&&W(Hi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return wi(Fi),null;default:return null}}function sl(e,t){switch(ii(t),t.tag){case 3:wi(Fi),Q();break;case 26:case 27:case 5:X(t);break;case 4:Q();break;case 13:ds(t);break;case 19:W(ps);break;case 10:wi(t.type);break;case 22:case 23:ds(t),ya(),null!==e&&W(Hi);break;case 24:wi(Fi)}}function ll(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(s){pu(t,t.return,s)}}function cl(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(void 0!==s){o.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){pu(i,l,u)}}}r=r.next}while(r!==a)}}catch(u){pu(t,t.return,u)}}function ul(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{ha(t,n)}catch(r){pu(e,e.return,r)}}}function dl(e,t,n){n.props=bs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){pu(e,t,r)}}function pl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){pu(e,t,i)}}function fl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){pu(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(a){pu(e,t,a)}else n.current=null}function hl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){pu(e,e.return,i)}}function gl(e,t,n){try{var i=e.stateNode;!function(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,s=null,l=null,c=null,u=null,d=null;for(h in n){var p=n[h];if(n.hasOwnProperty(h)&&null!=p)switch(h){case"checked":case"value":break;case"defaultValue":c=p;default:i.hasOwnProperty(h)||ed(e,t,h,null,i,p)}}for(var f in i){var h=i[f];if(p=n[f],i.hasOwnProperty(f)&&(null!=h||null!=p))switch(f){case"type":o=h;break;case"name":a=h;break;case"checked":u=h;break;case"defaultChecked":d=h;break;case"value":s=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:h!==p&&ed(e,t,f,h,i,p)}}return void bt(e,s,l,c,u,d,o,a);case"select":for(o in h=s=l=f=null,n)if(c=n[o],n.hasOwnProperty(o)&&null!=c)switch(o){case"value":break;case"multiple":h=c;default:i.hasOwnProperty(o)||ed(e,t,o,null,i,c)}for(a in i)if(o=i[a],c=n[a],i.hasOwnProperty(a)&&(null!=o||null!=c))switch(a){case"value":f=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==c&&ed(e,t,a,o,i,c)}return t=l,n=s,i=h,void(null!=f?xt(e,!!n,f,!1):!!i!=!!n&&(null!=t?xt(e,!!n,t,!0):xt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=f=null,n)if(a=n[l],n.hasOwnProperty(l)&&null!=a&&!i.hasOwnProperty(l))switch(l){case"value":case"children":break;default:ed(e,t,l,null,i,a)}for(s in i)if(a=i[s],o=n[s],i.hasOwnProperty(s)&&(null!=a||null!=o))switch(s){case"value":f=a;break;case"defaultValue":h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(r(91));break;default:a!==o&&ed(e,t,s,a,i,o)}return void wt(e,f,h);case"option":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!i.hasOwnProperty(g)&&("selected"===g?e.selected=!1:ed(e,t,g,null,i,f));for(c in i)f=i[c],h=n[c],!i.hasOwnProperty(c)||f===h||null==f&&null==h||("selected"===c?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:ed(e,t,c,f,i,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!i.hasOwnProperty(m)&&ed(e,t,m,null,i,f);for(u in i)if(f=i[u],h=n[u],i.hasOwnProperty(u)&&f!==h&&(null!=f||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(r(137,t));break;default:ed(e,t,u,f,i,h)}return;default:if(Tt(t)){for(var v in n)f=n[v],n.hasOwnProperty(v)&&void 0!==f&&!i.hasOwnProperty(v)&&td(e,t,v,void 0,i,f);for(d in i)f=i[d],h=n[d],!i.hasOwnProperty(d)||f===h||void 0===f&&void 0===h||td(e,t,d,f,i,h);return}}for(var b in n)f=n[b],n.hasOwnProperty(b)&&null!=f&&!i.hasOwnProperty(b)&&ed(e,t,b,null,i,f);for(p in i)f=i[p],h=n[p],!i.hasOwnProperty(p)||f===h||null==f&&null==h||ed(e,t,p,f,i,h)}(i,e.type,n,t),i[Me]=t}catch(a){pu(e,e.return,a)}}function ml(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&gd(e.type)||4===e.tag}function vl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ml(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&gd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function bl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Ju));else if(4!==r&&(27===r&&gd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(bl(e,t,n),e=e.sibling;null!==e;)bl(e,t,n),e=e.sibling}function yl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&gd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(yl(e,t,n),e=e.sibling;null!==e;)yl(e,t,n),e=e.sibling}function kl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);nd(t,r,n),t[Fe]=e,t[Me]=n}catch(a){pu(e,e.return,a)}}var xl=!1,wl=!1,Sl=!1,_l="function"==typeof WeakSet?WeakSet:Set,Cl=null;function Pl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ll(e,n),4&r&&ll(5,n);break;case 1:if(Ll(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(o){pu(n,n.return,o)}else{var i=bs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){pu(n,n.return,s)}}64&r&&ul(n),512&r&&pl(n,n.return);break;case 3:if(Ll(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{ha(e,t)}catch(o){pu(n,n.return,o)}}break;case 27:null===t&&4&r&&kl(n);case 26:case 5:Ll(e,n),null===t&&4&r&&hl(n),512&r&&pl(n,n.return);break;case 12:Ll(e,n);break;case 13:Ll(e,n),4&r&&Ol(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=mu.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||xl)){t=null!==t&&null!==t.memoizedState||wl,i=xl;var a=wl;xl=r,(wl=t)&&!a?$l(e,n,!!(8772&n.subtreeFlags)):Ll(e,n),xl=i,wl=a}break;case 30:break;default:Ll(e,n)}}function El(e){var t=e.alternate;null!==t&&(e.alternate=null,El(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&We(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Tl=null,zl=!1;function Rl(e,t,n){for(n=n.child;null!==n;)Il(e,t,n),n=n.sibling}function Il(e,t,n){if(fe&&"function"==typeof fe.onCommitFiberUnmount)try{fe.onCommitFiberUnmount(pe,n)}catch(a){}switch(n.tag){case 26:wl||fl(n,t),Rl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:wl||fl(n,t);var r=Tl,i=zl;gd(n.type)&&(Tl=n.stateNode,zl=!1),Rl(e,t,n),Sd(n.stateNode),Tl=r,zl=i;break;case 5:wl||fl(n,t);case 6:if(r=Tl,i=zl,Tl=null,Rl(e,t,n),zl=i,null!==(Tl=r))if(zl)try{(9===Tl.nodeType?Tl.body:"HTML"===Tl.nodeName?Tl.ownerDocument.body:Tl).removeChild(n.stateNode)}catch(o){pu(n,t,o)}else try{Tl.removeChild(n.stateNode)}catch(o){pu(n,t,o)}break;case 18:null!==Tl&&(zl?(md(9===(e=Tl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),zp(e)):md(Tl,n.stateNode));break;case 4:r=Tl,i=zl,Tl=n.stateNode.containerInfo,zl=!0,Rl(e,t,n),Tl=r,zl=i;break;case 0:case 11:case 14:case 15:wl||cl(2,n,t),wl||cl(4,n,t),Rl(e,t,n);break;case 1:wl||(fl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&dl(n,t,r)),Rl(e,t,n);break;case 21:Rl(e,t,n);break;case 22:wl=(r=wl)||null!==n.memoizedState,Rl(e,t,n),wl=r;break;default:Rl(e,t,n)}}function Ol(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{zp(e)}catch(n){pu(t,t.return,n)}}function Al(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new _l),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new _l),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){var r=vu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Fl(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var a=n[i],o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(gd(l.type)){Tl=l.stateNode,zl=!1;break e}break;case 5:Tl=l.stateNode,zl=!1;break e;case 3:case 4:Tl=l.stateNode.containerInfo,zl=!0;break e}l=l.return}if(null===Tl)throw Error(r(160));Il(o,s,a),Tl=null,zl=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Dl(t,e),t=t.sibling}var Ml=null;function Dl(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Fl(t,e),jl(e),4&i&&(cl(3,e,e.return),ll(3,e),cl(5,e,e.return));break;case 1:Fl(t,e),jl(e),512&i&&(wl||null===n||fl(n,n.return)),64&i&&xl&&null!==(e=e.updateQueue)&&null!==(i=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?i:n.concat(i));break;case 26:var a=Ml;if(Fl(t,e),jl(e),512&i&&(wl||null===n||fl(n,n.return)),4&i){var o=null!==n?n.memoizedState:null;if(i=e.memoizedState,null===n)if(null===i)if(null===e.stateNode){e:{i=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(i){case"title":(!(o=a.getElementsByTagName("title")[0])||o[$e]||o[Fe]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(i),a.head.insertBefore(o,a.querySelector("head > title"))),nd(o,i,n),o[Fe]=e,Ye(o),i=o;break e;case"link":var s=$d("link","href",a).get(i+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}nd(o=a.createElement(i),i,n),a.head.appendChild(o);break;case"meta":if(s=$d("meta","content",a).get(i+(n.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}nd(o=a.createElement(i),i,n),a.head.appendChild(o);break;default:throw Error(r(468,i))}o[Fe]=e,Ye(o),i=o}e.stateNode=i}else Wd(a,e.type,e.stateNode);else e.stateNode=Dd(a,i,e.memoizedProps);else o!==i?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===i?Wd(a,e.type,e.stateNode):Dd(a,i,e.memoizedProps)):null===i&&null!==e.stateNode&&gl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Fl(t,e),jl(e),512&i&&(wl||null===n||fl(n,n.return)),null!==n&&4&i&&gl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Fl(t,e),jl(e),512&i&&(wl||null===n||fl(n,n.return)),32&e.flags){a=e.stateNode;try{_t(a,"")}catch(h){pu(e,e.return,h)}}4&i&&null!=e.stateNode&&gl(e,a=e.memoizedProps,null!==n?n.memoizedProps:a),1024&i&&(Sl=!0);break;case 6:if(Fl(t,e),jl(e),4&i){if(null===e.stateNode)throw Error(r(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(h){pu(e,e.return,h)}}break;case 3:if(Bd=null,a=Ml,Ml=Pd(t.containerInfo),Fl(t,e),Ml=a,jl(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{zp(t.containerInfo)}catch(h){pu(e,e.return,h)}Sl&&(Sl=!1,Nl(e));break;case 4:i=Ml,Ml=Pd(e.stateNode.containerInfo),Fl(t,e),jl(e),Ml=i;break;case 12:default:Fl(t,e),jl(e);break;case 13:Fl(t,e),jl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Sc=re()),4&i&&null!==(i=e.updateQueue)&&(e.updateQueue=null,Al(e,i));break;case 22:a=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=xl,d=wl;if(xl=u||a,wl=d||c,Fl(t,e),wl=d,xl=u,jl(e),8192&i)e:for(t=e.stateNode,t._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||c||xl||wl||Bl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(o=c.stateNode,a)"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var p=c.memoizedProps.style,f=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==f||"boolean"==typeof f?"":(""+f).trim()}}catch(h){pu(c,c.return,h)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=a?"":c.memoizedProps}catch(h){pu(c,c.return,h)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&i&&null!==(i=e.updateQueue)&&null!==(n=i.retryQueue)&&(i.retryQueue=null,Al(e,n));break;case 19:Fl(t,e),jl(e),4&i&&null!==(i=e.updateQueue)&&(e.updateQueue=null,Al(e,i));case 30:case 21:}}function jl(e){var t=e.flags;if(2&t){try{for(var n,i=e.return;null!==i;){if(ml(i)){n=i;break}i=i.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var a=n.stateNode;yl(e,vl(e),a);break;case 5:var o=n.stateNode;32&n.flags&&(_t(o,""),n.flags&=-33),yl(e,vl(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;bl(e,vl(e),s);break;default:throw Error(r(161))}}catch(l){pu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Nl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Nl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ll(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Pl(e,t.alternate,t),t=t.sibling}function Bl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cl(4,t,t.return),Bl(t);break;case 1:fl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&dl(t,t.return,n),Bl(t);break;case 27:Sd(t.stateNode);case 26:case 5:fl(t,t.return),Bl(t);break;case 22:null===t.memoizedState&&Bl(t);break;default:Bl(t)}e=e.sibling}}function $l(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:$l(i,a,n),ll(4,a);break;case 1:if($l(i,a,n),"function"==typeof(i=(r=a).stateNode).componentDidMount)try{i.componentDidMount()}catch(c){pu(r,r.return,c)}if(null!==(i=(r=a).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)fa(l[i],s)}catch(c){pu(r,r.return,c)}}n&&64&o&&ul(a),pl(a,a.return);break;case 27:kl(a);case 26:case 5:$l(i,a,n),n&&null===r&&4&o&&hl(a),pl(a,a.return);break;case 12:$l(i,a,n);break;case 13:$l(i,a,n),n&&4&o&&Ol(i,a);break;case 22:null===a.memoizedState&&$l(i,a,n),pl(a,a.return);break;case 30:break;default:$l(i,a,n)}t=t.sibling}}function Wl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Di(n))}function Hl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e))}function Vl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Ul(e,t,n,r),t=t.sibling}function Ul(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Vl(e,t,n,r),2048&i&&ll(9,t);break;case 1:case 13:default:Vl(e,t,n,r);break;case 3:Vl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e)));break;case 12:if(2048&i){Vl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;"function"==typeof s&&s(o,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){pu(t,t.return,l)}}else Vl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,null!==t.memoizedState?2&a._visibility?Vl(e,t,n,r):Yl(e,t):2&a._visibility?Vl(e,t,n,r):(a._visibility|=2,ql(e,t,n,r,!!(10256&t.subtreeFlags))),2048&i&&Wl(o,t);break;case 24:Vl(e,t,n,r),2048&i&&Hl(t.alternate,t)}}function ql(e,t,n,r,i){for(i=i&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var a=e,o=t,s=n,l=r,c=o.flags;switch(o.tag){case 0:case 11:case 15:ql(a,o,s,l,i),ll(8,o);break;case 23:break;case 22:var u=o.stateNode;null!==o.memoizedState?2&u._visibility?ql(a,o,s,l,i):Yl(a,o):(u._visibility|=2,ql(a,o,s,l,i)),i&&2048&c&&Wl(o.alternate,o);break;case 24:ql(a,o,s,l,i),i&&2048&c&&Hl(o.alternate,o);break;default:ql(a,o,s,l,i)}t=t.sibling}}function Yl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Yl(n,r),2048&i&&Wl(r.alternate,r);break;case 24:Yl(n,r),2048&i&&Hl(r.alternate,r);break;default:Yl(n,r)}t=t.sibling}}var Gl=8192;function Ql(e){if(e.subtreeFlags&Gl)for(e=e.child;null!==e;)Kl(e),e=e.sibling}function Kl(e){switch(e.tag){case 26:Ql(e),e.flags&Gl&&null!==e.memoizedState&&function(e,t,n){if(null===Vd)throw Error(r(475));var i=Vd;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var a=Id(n.href),o=e.querySelector(Od(a));if(o)return null!==(e=o._p)&&"object"==typeof e&&"function"==typeof e.then&&(i.count++,i=qd.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=o,void Ye(o);o=e.ownerDocument||e,n=Ad(n),(a=_d.get(a))&&Nd(n,a),Ye(o=o.createElement("link"));var s=o;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),nd(o,"link",n),t.instance=o}null===i.stylesheets&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(i.count++,t=qd.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}(Ml,e.memoizedState,e.memoizedProps);break;case 5:default:Ql(e);break;case 3:case 4:var t=Ml;Ml=Pd(e.stateNode.containerInfo),Ql(e),Ml=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Gl,Gl=16777216,Ql(e),Gl=t):Ql(e))}}function Xl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Cl=r,tc(r,e)}Xl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Jl(e),e=e.sibling}function Jl(e){switch(e.tag){case 0:case 11:case 15:Zl(e),2048&e.flags&&cl(9,e,e.return);break;case 3:case 12:default:Zl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,ec(e)):Zl(e)}}function ec(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Cl=r,tc(r,e)}Xl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:cl(8,t,t.return),ec(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,ec(t));break;default:ec(t)}e=e.sibling}}function tc(e,t){for(;null!==Cl;){var n=Cl;switch(n.tag){case 0:case 11:case 15:cl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Di(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Cl=r;else e:for(n=e;null!==Cl;){var i=(r=Cl).sibling,a=r.return;if(El(r),r===n){Cl=null;break e}if(null!==i){i.return=a,Cl=i;break e}Cl=a}}}var nc={getCacheForType:function(e){var t=Ti(Fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},rc="function"==typeof WeakMap?WeakMap:Map,ic=0,ac=null,oc=null,sc=0,lc=0,cc=null,uc=!1,dc=!1,pc=!1,fc=0,hc=0,gc=0,mc=0,vc=0,bc=0,yc=0,kc=null,xc=null,wc=!1,Sc=0,_c=1/0,Cc=null,Pc=null,Ec=0,Tc=null,zc=null,Rc=0,Ic=0,Oc=null,Ac=null,Fc=0,Mc=null;function Dc(){return 2&ic&&0!==sc?sc&-sc:null!==M.T?0!==Li?Li:Iu():Oe()}function jc(){0===bc&&(bc=536870912&sc&&!si?536870912:_e());var e=os.current;return null!==e&&(e.flags|=32),bc}function Nc(e,t,n){(e!==ac||2!==lc&&9!==lc)&&null===e.cancelPendingCommit||(Uc(e,0),Wc(e,sc,bc,!1)),Ee(e,n),2&ic&&e===ac||(e===ac&&(!(2&ic)&&(mc|=n),4===hc&&Wc(e,sc,bc,!1)),_u(e))}function Lc(e,t,n){if(6&ic)throw Error(r(327));for(var i=!n&&!(124&t)&&0===(t&e.expiredLanes)||we(e,t),a=i?function(e,t){var n=ic;ic|=2;var i=Yc(),a=Gc();ac!==e||sc!==t?(Cc=null,_c=re()+500,Uc(e,t)):dc=we(e,t);e:for(;;)try{if(0!==lc&&null!==oc){t=oc;var o=cc;t:switch(lc){case 1:lc=0,cc=null,tu(e,t,o,1);break;case 2:case 9:if(Xi(o)){lc=0,cc=null,eu(t);break}t=function(){2!==lc&&9!==lc||ac!==e||(lc=7),_u(e)},o.then(t,t);break e;case 3:lc=7;break e;case 4:lc=5;break e;case 7:Xi(o)?(lc=0,cc=null,eu(t)):(lc=0,cc=null,tu(e,t,o,7));break;case 5:var s=null;switch(oc.tag){case 26:s=oc.memoizedState;case 5:case 27:var l=oc;if(!s||Hd(s)){lc=0,cc=null;var c=l.sibling;if(null!==c)oc=c;else{var u=l.return;null!==u?(oc=u,nu(u)):oc=null}break t}}lc=0,cc=null,tu(e,t,o,5);break;case 6:lc=0,cc=null,tu(e,t,o,6);break;case 8:Vc(),hc=6;break e;default:throw Error(r(462))}}Zc();break}catch(d){qc(e,d)}return ki=yi=null,M.H=i,M.A=a,ic=n,null!==oc?0:(ac=null,sc=0,Rr(),hc)}(e,t):Kc(e,t,!0),o=i;;){if(0===a){dc&&!i&&Wc(e,t,0,!1);break}if(n=e.current.alternate,!o||$c(n)){if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;a=kc;var c=l.current.memoizedState.isDehydrated;if(c&&(Uc(l,s).flags|=256),2!==(s=Kc(l,s,!1))){if(pc&&!c){l.errorRecoveryDisabledLanes|=o,mc|=o,a=4;break e}o=xc,xc=a,null!==o&&(null===xc?xc=o:xc.push.apply(xc,o))}a=s}if(o=!1,2!==a)continue}}if(1===a){Uc(e,0),Wc(e,t,0,!0);break}e:{switch(i=e,o=a){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:Wc(i,t,bc,!uc);break e;case 2:xc=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(a=Sc+300-re())){if(Wc(i,t,bc,!uc),0!==xe(i,0,!0))break e;i.timeoutHandle=ud(Bc.bind(null,i,n,xc,Cc,wc,t,bc,mc,yc,uc,o,2,-0,0),a)}else Bc(i,n,xc,Cc,wc,t,bc,mc,yc,uc,o,0,-0,0)}break}a=Kc(e,t,!1),o=!1}_u(e)}function Bc(e,t,n,i,a,o,s,l,c,u,d,p,f,h){if(e.timeoutHandle=-1,(8192&(p=t.subtreeFlags)||!(16785408&~p))&&(Vd={stylesheets:null,count:0,unsuspend:Ud},Kl(t),null!==(p=function(){if(null===Vd)throw Error(r(475));var e=Vd;return e.stylesheets&&0===e.count&&Gd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Gd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=p(iu.bind(null,e,t,o,n,i,a,s,l,c,d,1,f,h)),void Wc(e,o,s,!u);iu(e,t,o,n,i,a,s,l,c)}function $c(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Xn(a(),i))return!1}catch(o){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wc(e,t,n,r){t&=~vc,t&=~mc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-ge(i),o=1<<a;r[a]=-1,i&=~o}0!==n&&Te(e,n,t)}function Hc(){return!!(6&ic)||(Cu(0),!1)}function Vc(){if(null!==oc){if(0===lc)var e=oc.return;else ki=yi=null,La(e=oc),Xo=null,Zo=0,e=oc;for(;null!==e;)sl(e.alternate,e),e=e.return;oc=null}}function Uc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,dd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Vc(),ac=e,oc=n=Br(e.current,null),sc=t,lc=0,cc=null,uc=!1,dc=we(e,t),pc=!1,yc=bc=vc=mc=gc=hc=0,xc=kc=null,wc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-ge(r),a=1<<i;t|=e[i],r&=~a}return fc=t,Rr(),n}function qc(e,t){xa=null,M.H=Yo,t===Yi||t===Qi?(t=ta(),lc=3):t===Gi?(t=ta(),lc=4):lc=t===Ts?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,cc=t,null===oc&&(hc=1,Ss(e,Pr(t,e.current)))}function Yc(){var e=M.H;return M.H=Yo,null===e?Yo:e}function Gc(){var e=M.A;return M.A=nc,e}function Qc(){hc=4,uc||(4194048&sc)!==sc&&null!==os.current||(dc=!0),!(134217727&gc)&&!(134217727&mc)||null===ac||Wc(ac,sc,bc,!1)}function Kc(e,t,n){var r=ic;ic|=2;var i=Yc(),a=Gc();ac===e&&sc===t||(Cc=null,Uc(e,t)),t=!1;var o=hc;e:for(;;)try{if(0!==lc&&null!==oc){var s=oc,l=cc;switch(lc){case 8:Vc(),o=6;break e;case 3:case 2:case 9:case 6:null===os.current&&(t=!0);var c=lc;if(lc=0,cc=null,tu(e,s,l,c),n&&dc){o=0;break e}break;default:c=lc,lc=0,cc=null,tu(e,s,l,c)}}Xc(),o=hc;break}catch(u){qc(e,u)}return t&&e.shellSuspendCounter++,ki=yi=null,ic=r,M.H=i,M.A=a,null===oc&&(ac=null,sc=0,Rr()),o}function Xc(){for(;null!==oc;)Jc(oc)}function Zc(){for(;null!==oc&&!te();)Jc(oc)}function Jc(e){var t=Js(e.alternate,e,fc);e.memoizedProps=e.pendingProps,null===t?nu(e):oc=t}function eu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ns(n,t,t.pendingProps,t.type,void 0,sc);break;case 11:t=Ns(n,t,t.pendingProps,t.type.render,t.ref,sc);break;case 5:La(t);default:sl(n,t),t=Js(n,t=oc=$r(t,fc),fc)}e.memoizedProps=e.pendingProps,null===t?nu(e):oc=t}function tu(e,t,n,i){ki=yi=null,La(t),Xo=null,Zo=0;var a=t.return;try{if(function(e,t,n,i,a){if(n.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){if(null!==(t=n.alternate)&&Ci(t,n,a,!0),null!==(n=os.current)){switch(n.tag){case 13:return null===ss?Qc():null===n.alternate&&0===hc&&(hc=3),n.flags&=-257,n.flags|=65536,n.lanes=a,i===Ki?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([i]):t.add(i),fu(e,i,a)),!1;case 22:return n.flags|=65536,i===Ki?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([i]):n.add(i),fu(e,i,a)),!1}throw Error(r(435,n.tag))}return fu(e,i,a),Qc(),!1}if(si)return null!==(t=os.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,i!==ui&&vi(Pr(e=Error(r(422),{cause:i}),n))):(i!==ui&&vi(Pr(t=Error(r(423),{cause:i}),n)),(e=e.current.alternate).flags|=65536,a&=-a,e.lanes|=a,i=Pr(i,n),ca(e,a=Cs(e.stateNode,i,a)),4!==hc&&(hc=2)),!1;var o=Error(r(520),{cause:i});if(o=Pr(o,n),null===kc?kc=[o]:kc.push(o),4!==hc&&(hc=2),null===t)return!0;i=Pr(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,ca(n,e=Cs(n.stateNode,i,e)),!1;case 1:if(t=n.type,o=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==Pc&&Pc.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,Es(a=Ps(a),e,n,i),ca(n,a),!1}n=n.return}while(null!==n);return!1}(e,a,t,n,sc))return hc=1,Ss(e,Pr(n,e.current)),void(oc=null)}catch(o){if(null!==a)throw oc=a,o;return hc=1,Ss(e,Pr(n,e.current)),void(oc=null)}32768&t.flags?(si||1===i?e=!0:dc||536870912&sc?e=!1:(uc=e=!0,(2===i||9===i||3===i||6===i)&&null!==(i=os.current)&&13===i.tag&&(i.flags|=16384)),ru(t,e)):nu(t)}function nu(e){var t=e;do{if(32768&t.flags)return void ru(t,uc);e=t.return;var n=al(t.alternate,t,fc);if(null!==n)return void(oc=n);if(null!==(t=t.sibling))return void(oc=t);oc=t=e}while(null!==t);0===hc&&(hc=5)}function ru(e,t){do{var n=ol(e.alternate,e);if(null!==n)return n.flags&=32767,void(oc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(oc=e);oc=e=n}while(null!==e);hc=6,oc=null}function iu(e,t,n,i,a,o,s,l,c){e.cancelPendingCommit=null;do{cu()}while(0!==Ec);if(6&ic)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(o=t.lanes|t.childLanes,function(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-ge(n),d=1<<u;s[u]=0,l[u]=-1;var p=c[u];if(null!==p)for(c[u]=null,u=0;u<p.length;u++){var f=p[u];null!==f&&(f.lane&=-536870913)}n&=~d}0!==r&&Te(e,r,0),0!==a&&0===i&&0!==e.tag&&(e.suspendedLanes|=a&~(o&~t))}(e,n,o|=zr,s,l,c),e===ac&&(oc=ac=null,sc=0),zc=t,Tc=e,Rc=n,Ic=o,Oc=a,Ac=i,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,J(se,function(){return uu(),null})):(e.callbackNode=null,e.callbackPriority=0),i=!!(13878&t.flags),13878&t.subtreeFlags||i){i=M.T,M.T=null,a=D.p,D.p=2,s=ic,ic|=4;try{!function(e,t){if(e=e.containerInfo,rd=ip,rr(e=nr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;e:for(;;){for(var h;p!==n||0!==a&&3!==p.nodeType||(l=s+a),p!==o||0!==i&&3!==p.nodeType||(c=s+i),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break e;if(f===n&&++u===a&&(l=s),f===o&&++d===i&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(id={focusedElem:e,selectionRange:n},ip=!1,Cl=t;null!==Cl;)if(e=(t=Cl).child,1024&t.subtreeFlags&&null!==e)e.return=t,Cl=e;else for(;null!==Cl;){switch(o=(t=Cl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==o){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,i=n.stateNode;try{var g=bs(n.type,a);e=i.getSnapshotBeforeUpdate(g,o),i.__reactInternalSnapshotBeforeUpdate=e}catch(m){pu(n,n.return,m)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))vd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":vd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,Cl=e;break}Cl=t.return}}(e,t)}finally{ic=s,D.p=a,M.T=i}}Ec=1,au(),ou(),su()}}function au(){if(1===Ec){Ec=0;var e=Tc,t=zc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=M.T,M.T=null;var r=D.p;D.p=2;var i=ic;ic|=4;try{Dl(t,e);var a=id,o=nr(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&tr(s.ownerDocument.documentElement,s)){if(null!==l&&rr(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),h=s.textContent.length,g=Math.min(l.start,h),m=void 0===l.end?g:Math.min(l.end,h);!f.extend&&g>m&&(o=m,m=g,g=o);var v=er(s,g),b=er(s,m);if(v&&b&&(1!==f.rangeCount||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==b.node||f.focusOffset!==b.offset)){var y=d.createRange();y.setStart(v.node,v.offset),f.removeAllRanges(),g>m?(f.addRange(y),f.extend(b.node,b.offset)):(y.setEnd(b.node,b.offset),f.addRange(y))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var k=d[s];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}ip=!!rd,id=rd=null}finally{ic=i,D.p=r,M.T=n}}e.current=t,Ec=2}}function ou(){if(2===Ec){Ec=0;var e=Tc,t=zc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=M.T,M.T=null;var r=D.p;D.p=2;var i=ic;ic|=4;try{Pl(e,t.alternate,t)}finally{ic=i,D.p=r,M.T=n}}Ec=3}}function su(){if(4===Ec||3===Ec){Ec=0,ne();var e=Tc,t=zc,n=Rc,r=Ac;10256&t.subtreeFlags||10256&t.flags?Ec=5:(Ec=0,zc=Tc=null,lu(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Pc=null),Ie(n),t=t.stateNode,fe&&"function"==typeof fe.onCommitFiberRoot)try{fe.onCommitFiberRoot(pe,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=M.T,i=D.p,D.p=2,M.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{M.T=t,D.p=i}}3&Rc&&cu(),_u(e),i=e.pendingLanes,4194090&n&&42&i?e===Mc?Fc++:(Fc=0,Mc=e):Fc=0,Cu(0)}}function lu(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Di(t))}function cu(e){return au(),ou(),su(),uu()}function uu(){if(5!==Ec)return!1;var e=Tc,t=Ic;Ic=0;var n=Ie(Rc),i=M.T,a=D.p;try{D.p=32>n?32:n,M.T=null,n=Oc,Oc=null;var o=Tc,s=Rc;if(Ec=0,zc=Tc=null,Rc=0,6&ic)throw Error(r(331));var l=ic;if(ic|=4,Jl(o.current),Ul(o,o.current,s,n),ic=l,Cu(0),fe&&"function"==typeof fe.onPostCommitFiberRoot)try{fe.onPostCommitFiberRoot(pe,o)}catch(c){}return!0}finally{D.p=a,M.T=i,lu(e,t)}}function du(e,t,n){t=Pr(n,t),null!==(e=sa(e,t=Cs(e.stateNode,t,2),2))&&(Ee(e,2),_u(e))}function pu(e,t,n){if(3===e.tag)du(e,e,n);else for(;null!==t;){if(3===t.tag){du(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Pc||!Pc.has(r))){e=Pr(n,e),null!==(r=sa(t,n=Ps(2),2))&&(Es(n,r,t,e),Ee(r,2),_u(r));break}}t=t.return}}function fu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rc;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(pc=!0,i.add(n),e=hu.bind(null,e,t,n),t.then(e,e))}function hu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ac===e&&(sc&n)===n&&(4===hc||3===hc&&(62914560&sc)===sc&&300>re()-Sc?!(2&ic)&&Uc(e,0):vc|=n,yc===sc&&(yc=0)),_u(e)}function gu(e,t){0===t&&(t=Ce()),null!==(e=Ar(e,t))&&(Ee(e,t),_u(e))}function mu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),gu(e,n)}function vu(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==i&&i.delete(t),gu(e,n)}var bu=null,yu=null,ku=!1,xu=!1,wu=!1,Su=0;function _u(e){e!==yu&&null===e.next&&(null===yu?bu=yu=e:yu=yu.next=e),xu=!0,ku||(ku=!0,fd(function(){6&ic?J(ae,Pu):Eu()}))}function Cu(e,t){if(!wu&&xu){wu=!0;do{for(var n=!1,r=bu;null!==r;){if(0!==e){var i=r.pendingLanes;if(0===i)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-ge(42|e)+1)-1,a=201326741&(a&=i&~(o&~s))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Ru(r,a))}else a=sc,!(3&(a=xe(r,r===ac?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||we(r,a)||(n=!0,Ru(r,a));r=r.next}}while(n);wu=!1}}function Pu(){Eu()}function Eu(){xu=ku=!1;var e,t=0;0!==Su&&(((e=window.event)&&"popstate"===e.type?e!==cd&&(cd=e,!0):(cd=null,!1))&&(t=Su),Su=0);for(var n=re(),r=null,i=bu;null!==i;){var a=i.next,o=Tu(i,n);0===o?(i.next=null,null===r?bu=a:r.next=a,null===a&&(yu=r)):(r=i,(0!==t||3&o)&&(xu=!0)),i=a}Cu(t)}function Tu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var o=31-ge(a),s=1<<o,l=i[o];-1===l?0!==(s&n)&&0===(s&r)||(i[o]=Se(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(n=sc,n=xe(e,e===(t=ac)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lc||9===lc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ee(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||we(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ee(r),Ie(n)){case 2:case 8:n=oe;break;case 32:default:n=se;break;case 268435456:n=ce}return r=zu.bind(null,e),n=J(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ee(r),e.callbackPriority=2,e.callbackNode=null,2}function zu(e,t){if(0!==Ec&&5!==Ec)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(cu()&&e.callbackNode!==n)return null;var r=sc;return 0===(r=xe(e,e===ac?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Lc(e,r,t),Tu(e,re()),null!=e.callbackNode&&e.callbackNode===n?zu.bind(null,e):null)}function Ru(e,t){if(cu())return null;Lc(e,t,!0)}function Iu(){return 0===Su&&(Su=_e()),Su}function Ou(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:It(""+e)}function Au(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Fu=0;Fu<Sr.length;Fu++){var Mu=Sr[Fu];_r(Mu.toLowerCase(),"on"+(Mu[0].toUpperCase()+Mu.slice(1)))}_r(gr,"onAnimationEnd"),_r(mr,"onAnimationIteration"),_r(vr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(br,"onTransitionRun"),_r(yr,"onTransitionStart"),_r(kr,"onTransitionCancel"),_r(xr,"onTransitionEnd"),Xe("onMouseEnter",["mouseout","mouseover"]),Xe("onMouseLeave",["mouseout","mouseover"]),Xe("onPointerEnter",["pointerout","pointerover"]),Xe("onPointerLeave",["pointerout","pointerover"]),Ke("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ke("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ke("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ke("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ke("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ke("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Du="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Du));function Nu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ys(u)}i.currentTarget=null,a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ys(u)}i.currentTarget=null,a=l}}}}function Lu(e,t){var n=t[je];void 0===n&&(n=t[je]=new Set);var r=e+"__bubble";n.has(r)||(Hu(t,e,2,!1),n.add(r))}function Bu(e,t,n){var r=0;t&&(r|=4),Hu(n,e,r,t)}var $u="_reactListening"+Math.random().toString(36).slice(2);function Wu(e){if(!e[$u]){e[$u]=!0,Ge.forEach(function(t){"selectionchange"!==t&&(ju.has(t)||Bu(t,!1,e),Bu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$u]||(t[$u]=!0,Bu("selectionchange",!1,t))}}function Hu(e,t,n,r){switch(dp(t)){case 2:var i=ap;break;case 8:i=op;break;default:i=sp}n=i.bind(null,t,n,e),i=void 0,!$t||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vu(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;if(l===i)break;if(4===s)for(s=r.return;null!==s;){var c=s.tag;if((3===c||4===c)&&s.stateNode.containerInfo===i)return;s=s.return}for(;null!==l;){if(null===(s=He(l)))return;if(5===(c=s.tag)||6===c||26===c||27===c){r=o=s;continue e}l=l.parentNode}}r=r.return}Nt(function(){var r=o,i=At(n),s=[];e:{var l=wr.get(e);if(void 0!==l){var c=tn,u=e;switch(e){case"keypress":if(0===Yt(n))break e;case"keydown":case"keyup":c=vn;break;case"focusin":u="focus",c=ln;break;case"focusout":u="blur",c=ln;break;case"beforeblur":case"afterblur":c=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=yn;break;case gr:case mr:case vr:c=cn;break;case xr:c=kn;break;case"scroll":case"scrollend":c=rn;break;case"wheel":c=xn;break;case"copy":case"cut":case"paste":c=un;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=bn;break;case"toggle":case"beforetoggle":c=wn}var d=!!(4&t),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==l?l+"Capture":null:l;d=[];for(var h,g=r;null!==g;){var m=g;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===f||null!=(m=Lt(g,f))&&d.push(Uu(g,m,h)),p)break;g=g.return}0<d.length&&(l=new c(l,u,null,n,i),s.push({event:l,listeners:d}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Ot||!(u=n.relatedTarget||n.fromElement)||!He(u)&&!u[De])&&(c||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?He(u):null)&&(p=a(u),d=u.tag,u!==p||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){if(d=on,m="onMouseLeave",f="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(d=bn,m="onPointerLeave",f="onPointerEnter",g="pointer"),p=null==c?l:Ue(c),h=null==u?l:Ue(u),(l=new d(m,g+"leave",c,n,i)).target=p,l.relatedTarget=h,m=null,He(i)===r&&((d=new d(f,g+"enter",u,n,i)).target=h,d.relatedTarget=p,m=d),p=m,c&&u)e:{for(f=u,g=0,h=d=c;h;h=Yu(h))g++;for(h=0,m=f;m;m=Yu(m))h++;for(;0<g-h;)d=Yu(d),g--;for(;0<h-g;)f=Yu(f),h--;for(;g--;){if(d===f||null!==f&&d===f.alternate)break e;d=Yu(d),f=Yu(f)}d=null}else d=null;null!==c&&Gu(s,l,c,d,!1),null!==u&&null!==p&&Gu(s,p,u,d,!0)}if("select"===(c=(l=r?Ue(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var v=Bn;else if(Fn(l))if($n)v=Kn;else{v=Gn;var b=Yn}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Tt(r.elementType)&&(v=Bn):v=Qn;switch(v&&(v=v(e,r))?Mn(s,v,n,i):(b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&kt(l,"number",l.value)),b=r?Ue(r):window,e){case"focusin":(Fn(b)||"true"===b.contentEditable)&&(ar=b,or=r,sr=null);break;case"focusout":sr=or=ar=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,cr(s,n,i);break;case"selectionchange":if(ir)break;case"keydown":case"keyup":cr(s,n,i)}var y;if(_n)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else On?Rn(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(En&&"ko"!==n.locale&&(On||"onCompositionStart"!==k?"onCompositionEnd"===k&&On&&(y=qt()):(Vt="value"in(Ht=i)?Ht.value:Ht.textContent,On=!0)),0<(b=qu(r,k)).length&&(k=new dn(k,e,null,n,i),s.push({event:k,listeners:b}),(y||null!==(y=In(n)))&&(k.data=y))),(y=Pn?function(e,t){switch(e){case"compositionend":return In(t);case"keypress":return 32!==t.which?null:(zn=!0,Tn);case"textInput":return(e=t.data)===Tn&&zn?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!_n&&Rn(e,t)?(e=qt(),Ut=Vt=Ht=null,On=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return En&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(k=qu(r,"onBeforeInput")).length&&(b=new dn("onBeforeInput","beforeinput",null,n,i),s.push({event:b,listeners:k}),b.data=y),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var a=Ou((i[Me]||null).action),o=r.submitter;o&&null!==(t=(t=o[Me]||null)?Ou(t.formAction):o.getAttribute("formAction"))&&(a=t,o=null);var s=new tn("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Su){var e=o?Au(i,o):new FormData(i);Ao(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else"function"==typeof a&&(s.preventDefault(),e=o?Au(i,o):new FormData(i),Ao(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}(s,e,r,n,i)}Nu(s,t)})}function Uu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qu(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===a||(null!=(i=Lt(e,n))&&r.unshift(Uu(e,i,a)),null!=(i=Lt(e,t))&&r.push(Uu(e,i,a))),3===e.tag)return r;e=e.return}return[]}function Yu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Gu(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=Lt(n,a))&&o.unshift(Uu(n,c,l)):i||null!=(c=Lt(n,a))&&o.push(Uu(n,c,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Qu=/\r\n?/g,Ku=/\u0000|\uFFFD/g;function Xu(e){return("string"==typeof e?e:""+e).replace(Qu,"\n").replace(Ku,"")}function Zu(e,t){return t=Xu(t),Xu(e)===t}function Ju(){}function ed(e,t,n,i,a,o){switch(n){case"children":"string"==typeof i?"body"===t||"textarea"===t&&""===i||_t(e,i):("number"==typeof i||"bigint"==typeof i)&&"body"!==t&&_t(e,""+i);break;case"className":it(e,"class",i);break;case"tabIndex":it(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":it(e,n,i);break;case"style":Et(e,i,o);break;case"data":if("object"!==t){it(e,"data",i);break}case"src":case"href":if(""===i&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==i||"function"==typeof i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=It(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if("function"==typeof i){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&ed(e,t,"name",a.name,a,null),ed(e,t,"formEncType",a.formEncType,a,null),ed(e,t,"formMethod",a.formMethod,a,null),ed(e,t,"formTarget",a.formTarget,a,null)):(ed(e,t,"encType",a.encType,a,null),ed(e,t,"method",a.method,a,null),ed(e,t,"target",a.target,a,null))),null==i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=It(""+i),e.setAttribute(n,i);break;case"onClick":null!=i&&(e.onclick=Ju);break;case"onScroll":null!=i&&Lu("scroll",e);break;case"onScrollEnd":null!=i&&Lu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"muted":e.muted=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==i||"function"==typeof i||"boolean"==typeof i||"symbol"==typeof i){e.removeAttribute("xlink:href");break}n=It(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===i?e.setAttribute(n,""):!1!==i&&null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":null==i||"function"==typeof i||"symbol"==typeof i||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Lu("beforetoggle",e),Lu("toggle",e),rt(e,"popover",i);break;case"xlinkActuate":at(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":at(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":at(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":at(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":at(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":at(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":at(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":at(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":at(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":rt(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&rt(e,n=zt.get(n)||n,i)}}function td(e,t,n,i,a,o){switch(n){case"style":Et(e,i,o);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=a.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof i?_t(e,i):("number"==typeof i||"bigint"==typeof i)&&_t(e,""+i);break;case"onScroll":null!=i&&Lu("scroll",e);break;case"onScrollEnd":null!=i&&Lu("scrollend",e);break;case"onClick":null!=i&&(e.onclick=Ju);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Qe.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[Me]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"!=typeof i)?n in e?e[n]=i:!0===i?e.setAttribute(n,""):rt(e,n,i):("function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,a)))}}function nd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Lu("error",e),Lu("load",e);var i,a=!1,o=!1;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(null!=s)switch(i){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ed(e,t,i,s,n,null)}}return o&&ed(e,t,"srcSet",n.srcSet,n,null),void(a&&ed(e,t,"src",n.src,n,null));case"input":Lu("invalid",e);var l=i=s=o=null,c=null,u=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":i=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:ed(e,t,a,d,n,null)}}return yt(e,i,l,c,u,s,o,!1),void ft(e);case"select":for(o in Lu("invalid",e),a=s=i=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":i=l;break;case"defaultValue":s=l;break;case"multiple":a=l;default:ed(e,t,o,l,n,null)}return t=i,n=s,e.multiple=!!a,void(null!=t?xt(e,!!a,t,!1):null!=n&&xt(e,!!a,n,!0));case"textarea":for(s in Lu("invalid",e),i=o=a=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":a=l;break;case"defaultValue":o=l;break;case"children":i=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:ed(e,t,s,l,n,null)}return St(e,a,o,i),void ft(e);case"option":for(c in n)n.hasOwnProperty(c)&&null!=(a=n[c])&&("selected"===c?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:ed(e,t,c,a,n,null));return;case"dialog":Lu("beforetoggle",e),Lu("toggle",e),Lu("cancel",e),Lu("close",e);break;case"iframe":case"object":Lu("load",e);break;case"video":case"audio":for(a=0;a<Du.length;a++)Lu(Du[a],e);break;case"image":Lu("error",e),Lu("load",e);break;case"details":Lu("toggle",e);break;case"embed":case"source":case"link":Lu("error",e),Lu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(a=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ed(e,t,u,a,n,null)}return;default:if(Tt(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&td(e,t,d,a,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(a=n[l])&&ed(e,t,l,a,n,null)}var rd=null,id=null;function ad(e){return 9===e.nodeType?e:e.ownerDocument}function od(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function sd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ld(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cd=null,ud="function"==typeof setTimeout?setTimeout:void 0,dd="function"==typeof clearTimeout?clearTimeout:void 0,pd="function"==typeof Promise?Promise:void 0,fd="function"==typeof queueMicrotask?queueMicrotask:void 0!==pd?function(e){return pd.resolve(null).then(e).catch(hd)}:ud;function hd(e){setTimeout(function(){throw e})}function gd(e){return"head"===e}function md(e,t){var n=t,r=0,i=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0<r&&8>r){n=r;var o=e.ownerDocument;if(1&n&&Sd(o.documentElement),2&n&&Sd(o.body),4&n)for(Sd(n=o.head),o=n.firstChild;o;){var s=o.nextSibling,l=o.nodeName;o[$e]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=s}}if(0===i)return e.removeChild(a),void zp(t);i--}else"$"===n||"$?"===n||"$!"===n?i++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);zp(t)}function vd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":vd(n),We(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function bd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function yd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var kd=null;function xd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function wd(e,t,n){switch(t=ad(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function Sd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);We(e)}var _d=new Map,Cd=new Set;function Pd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Ed=D.d;D.d={f:function(){var e=Ed.f(),t=Hc();return e||t},r:function(e){var t=Ve(e);null!==t&&5===t.tag&&"form"===t.type?Mo(t):Ed.r(e)},D:function(e){Ed.D(e),zd("dns-prefetch",e,null)},C:function(e,t){Ed.C(e,t),zd("preconnect",e,t)},L:function(e,t,n){Ed.L(e,t,n);var r=Td;if(r&&e&&t){var i='link[rel="preload"][as="'+vt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+vt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+vt(n.imageSizes)+'"]')):i+='[href="'+vt(e)+'"]';var a=i;switch(t){case"style":a=Id(e);break;case"script":a=Fd(e)}_d.has(a)||(e=c({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),_d.set(a,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Od(a))||"script"===t&&r.querySelector(Md(a))||(nd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}},m:function(e,t){Ed.m(e,t);var n=Td;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+vt(r)+'"][href="'+vt(e)+'"]',a=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Fd(e)}if(!_d.has(a)&&(e=c({rel:"modulepreload",href:e},t),_d.set(a,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Md(a)))return}nd(r=n.createElement("link"),"link",e),Ye(r),n.head.appendChild(r)}}},X:function(e,t){Ed.X(e,t);var n=Td;if(n&&e){var r=qe(n).hoistableScripts,i=Fd(e),a=r.get(i);a||((a=n.querySelector(Md(i)))||(e=c({src:e,async:!0},t),(t=_d.get(i))&&Ld(e,t),Ye(a=n.createElement("script")),nd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){Ed.S(e,t,n);var r=Td;if(r&&e){var i=qe(r).hoistableStyles,a=Id(e);t=t||"default";var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Od(a)))s.loading=5;else{e=c({rel:"stylesheet",href:e,"data-precedence":t},n),(n=_d.get(a))&&Nd(e,n);var l=o=r.createElement("link");Ye(l),nd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,jd(o,t,r)}o={type:"stylesheet",instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){Ed.M(e,t);var n=Td;if(n&&e){var r=qe(n).hoistableScripts,i=Fd(e),a=r.get(i);a||((a=n.querySelector(Md(i)))||(e=c({src:e,async:!0,type:"module"},t),(t=_d.get(i))&&Ld(e,t),Ye(a=n.createElement("script")),nd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}};var Td="undefined"==typeof document?null:document;function zd(e,t,n){var r=Td;if(r&&"string"==typeof t&&t){var i=vt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Cd.has(i)||(Cd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(nd(t=r.createElement("link"),"link",e),Ye(t),r.head.appendChild(t)))}}function Rd(e,t,n,i){var a,o,s,l,c=(c=q.current)?Pd(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Id(n.href),(i=(n=qe(c).hoistableStyles).get(t))||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Id(n.href);var u=qe(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(Od(e)))&&!u._p&&(d.instance=u,d.state.loading=5),_d.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},_d.set(e,n),u||(a=c,o=e,s=n,l=d.state,a.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=a.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),nd(o,"link",s),Ye(o),a.head.appendChild(o))))),t&&null===i)throw Error(r(528,""));return d}if(t&&null!==i)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Fd(n),(i=(n=qe(c).hoistableScripts).get(t))||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Id(e){return'href="'+vt(e)+'"'}function Od(e){return'link[rel="stylesheet"]['+e+"]"}function Ad(e){return c({},e,{"data-precedence":e.precedence,precedence:null})}function Fd(e){return'[src="'+vt(e)+'"]'}function Md(e){return"script[async]"+e}function Dd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+vt(n.href)+'"]');if(i)return t.instance=i,Ye(i),i;var a=c({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ye(i=(e.ownerDocument||e).createElement("style")),nd(i,"style",a),jd(i,n.precedence,e),t.instance=i;case"stylesheet":a=Id(n.href);var o=e.querySelector(Od(a));if(o)return t.state.loading|=4,t.instance=o,Ye(o),o;i=Ad(n),(a=_d.get(a))&&Nd(i,a),Ye(o=(e.ownerDocument||e).createElement("link"));var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),nd(o,"link",i),t.state.loading|=4,jd(o,n.precedence,e),t.instance=o;case"script":return o=Fd(n.src),(a=e.querySelector(Md(o)))?(t.instance=a,Ye(a),a):(i=n,(a=_d.get(o))&&Ld(i=c({},n),a),Ye(a=(e=e.ownerDocument||e).createElement("script")),nd(a,"link",i),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(i=t.instance,t.state.loading|=4,jd(i,n.precedence,e));return t.instance}function jd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Nd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Ld(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Bd=null;function $d(e,t,n){if(null===Bd){var r=new Map,i=Bd=new Map;i.set(n,r)}else(r=(i=Bd).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[$e]||a[Fe]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var o=a.getAttribute(t)||"";o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Wd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Hd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Vd=null;function Ud(){}function qd(){if(this.count--,0===this.count)if(this.stylesheets)Gd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Yd=null;function Gd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Yd=new Map,t.forEach(Qd,e),Yd=null,qd.call(e))}function Qd(e,t){if(!(4&t.state.loading)){var n=Yd.get(e);if(n)var r=n.get(null);else{n=new Map,Yd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var o=i[a];"LINK"!==o.nodeName&&"not all"===o.getAttribute("media")||(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(i=t.instance).getAttribute("data-precedence"),(a=n.get(o)||r)===r&&n.set(null,i),n.set(o,i),this.count++,r=qd.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var Kd={$$typeof:b,Provider:null,Consumer:null,_currentValue:j,_currentValue2:j,_threadCount:0};function Xd(e,t,n,r,i,a,o,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pe(0),this.hiddenUpdates=Pe(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Zd(e,t,n,r,i,a,o,s,l,c,u,d){return e=new Xd(e,t,n,o,s,l,c,d),t=1,!0===a&&(t|=24),a=Nr(3,null,null,t),e.current=a,a.stateNode=e,(t=Mi()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ia(a),e}function Jd(e){return e?e=Dr:Dr}function ep(e,t,n,r,i,a){i=Jd(i),null===r.context?r.context=i:r.pendingContext=i,(r=oa(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=sa(e,r,t))&&(Nc(n,0,t),la(n,e,t))}function tp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function np(e,t){tp(e,t),(e=e.alternate)&&tp(e,t)}function rp(e){if(13===e.tag){var t=Ar(e,67108864);null!==t&&Nc(t,0,67108864),np(e,67108864)}}var ip=!0;function ap(e,t,n,r){var i=M.T;M.T=null;var a=D.p;try{D.p=2,sp(e,t,n,r)}finally{D.p=a,M.T=i}}function op(e,t,n,r){var i=M.T;M.T=null;var a=D.p;try{D.p=8,sp(e,t,n,r)}finally{D.p=a,M.T=i}}function sp(e,t,n,r){if(ip){var i=lp(r);if(null===i)Vu(e,t,r,cp,n),kp(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return fp=xp(fp,e,t,n,r,i),!0;case"dragenter":return hp=xp(hp,e,t,n,r,i),!0;case"mouseover":return gp=xp(gp,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return mp.set(a,xp(mp.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,vp.set(a,xp(vp.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(kp(e,r),4&t&&-1<yp.indexOf(e)){for(;null!==i;){var a=Ve(i);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var o=ke(a.pendingLanes);if(0!==o){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-ge(o);s.entanglements[1]|=l,o&=~l}_u(a),!(6&ic)&&(_c=re()+500,Cu(0))}}break;case 13:null!==(s=Ar(a,2))&&Nc(s,0,2),Hc(),np(a,2)}if(null===(a=lp(r))&&Vu(e,t,r,cp,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Vu(e,t,r,null,n)}}function lp(e){return up(e=At(e))}var cp=null;function up(e){if(cp=null,null!==(e=He(e))){var t=a(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=o(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cp=e,null}function dp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ie()){case ae:return 2;case oe:return 8;case se:case le:return 32;case ce:return 268435456;default:return 32}default:return 32}}var pp=!1,fp=null,hp=null,gp=null,mp=new Map,vp=new Map,bp=[],yp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function kp(e,t){switch(e){case"focusin":case"focusout":fp=null;break;case"dragenter":case"dragleave":hp=null;break;case"mouseover":case"mouseout":gp=null;break;case"pointerover":case"pointerout":mp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vp.delete(t.pointerId)}}function xp(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&null!==(t=Ve(t))&&rp(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function wp(e){var t=He(e.target);if(null!==t){var n=a(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=o(n)))return e.blockedOn=t,void function(e){var t=D.p;try{return D.p=e,function(){if(13===n.tag){var e=Dc();e=Re(e);var t=Ar(n,e);null!==t&&Nc(t,0,e),np(n,e)}}()}finally{D.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Sp(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=lp(e.nativeEvent);if(null!==n)return null!==(t=Ve(n))&&rp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ot=r,n.target.dispatchEvent(r),Ot=null,t.shift()}return!0}function _p(e,t,n){Sp(e)&&n.delete(t)}function Cp(){pp=!1,null!==fp&&Sp(fp)&&(fp=null),null!==hp&&Sp(hp)&&(hp=null),null!==gp&&Sp(gp)&&(gp=null),mp.forEach(_p),vp.forEach(_p)}function Pp(t,n){t.blockedOn===n&&(t.blockedOn=null,pp||(pp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Cp)))}var Ep=null;function Tp(t){Ep!==t&&(Ep=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Ep===t&&(Ep=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],i=t[e+2];if("function"!=typeof r){if(null===up(r||n))continue;break}var a=Ve(n);null!==a&&(t.splice(e,3),e-=3,Ao(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function zp(e){function t(t){return Pp(t,e)}null!==fp&&Pp(fp,e),null!==hp&&Pp(hp,e),null!==gp&&Pp(gp,e),mp.forEach(t),vp.forEach(t);for(var n=0;n<bp.length;n++){var r=bp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<bp.length&&null===(n=bp[0]).blockedOn;)wp(n),null===n.blockedOn&&bp.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Me]||null;if("function"==typeof a)o||Tp(n);else if(o){var s=null;if(a&&a.hasAttribute("formAction")){if(i=a,o=a[Me]||null)s=o.formAction;else if(null!==up(i))continue}else s=o.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Tp(n)}}}function Rp(e){this._internalRoot=e}function Ip(e){this._internalRoot=e}Ip.prototype.render=Rp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));ep(t.current,Dc(),e,t,null,null)},Ip.prototype.unmount=Rp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ep(e.current,2,null,e,null,null),Hc(),t[De]=null}},Ip.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oe();e={blockedOn:null,target:e,priority:t};for(var n=0;n<bp.length&&0!==t&&t<bp[n].priority;n++);bp.splice(n,0,e),0===n&&wp(e)}};var Op=t.version;if("19.1.1"!==Op)throw Error(r(527,Op,"19.1.1"));D.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=a(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(null===o)break;var l=o.alternate;if(null===l){if(null!==(i=o.return)){n=i;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return s(o),e;if(l===i)return s(o),t;l=l.sibling}throw Error(r(188))}if(n.return!==i.return)n=o,i=l;else{for(var c=!1,u=o.child;u;){if(u===n){c=!0,n=o,i=l;break}if(u===i){c=!0,i=o,n=l;break}u=u.sibling}if(!c){for(u=l.child;u;){if(u===n){c=!0,n=l,i=o;break}if(u===i){c=!0,i=l,n=o;break}u=u.sibling}if(!c)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?l(e):null)?null:e.stateNode};var Ap={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Fp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fp.isDisabled&&Fp.supportsFiber)try{pe=Fp.inject(Ap),fe=Fp}catch(Dp){}}return P.createRoot=function(e,t){if(!i(e))throw Error(r(299));var n=!1,a="",o=ks,s=xs,l=ws;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Zd(e,1,!1,null,0,n,a,o,s,l,0,null),e[De]=t.current,Wu(e),new Rp(t)},P.hydrateRoot=function(e,t,n){if(!i(e))throw Error(r(299));var a=!1,o="",s=ks,l=xs,c=ws,u=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(u=n.formState)),(t=Zd(e,1,!0,t,0,a,o,s,l,c,0,u)).context=Jd(null),n=t.current,(o=oa(a=Re(a=Dc()))).callback=null,sa(n,o,a),n=a,t.current.lanes=n,Ee(t,n),_u(t),e[De]=t.current,Wu(e),new Ip(t)},P.version="19.1.1",P}function B(){return F||(F=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),C.exports=L()),C.exports}const $=a(B());function W(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var H=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,V=W(function(e){return H.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),U=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),q="-ms-",Y="-moz-",G="-webkit-",Q="comm",K="rule",X="decl",Z="@keyframes",J=Math.abs,ee=String.fromCharCode,te=Object.assign;function ne(e){return e.trim()}function re(e,t,n){return e.replace(t,n)}function ie(e,t){return e.indexOf(t)}function ae(e,t){return 0|e.charCodeAt(t)}function oe(e,t,n){return e.slice(t,n)}function se(e){return e.length}function le(e){return e.length}function ce(e,t){return t.push(e),e}var ue=1,de=1,pe=0,fe=0,he=0,ge="";function me(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:ue,column:de,length:o,return:""}}function ve(e,t){return te(me("",null,null,"",null,null,0),e,{length:-e.length},t)}function be(){return he=fe>0?ae(ge,--fe):0,de--,10===he&&(de=1,ue--),he}function ye(){return he=fe<pe?ae(ge,fe++):0,de++,10===he&&(de=1,ue++),he}function ke(){return ae(ge,fe)}function xe(){return fe}function we(e,t){return oe(ge,e,t)}function Se(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _e(e){return ue=de=1,pe=se(ge=e),fe=0,[]}function Ce(e){return ge="",e}function Pe(e){return ne(we(fe-1,ze(91===e?e+2:40===e?e+1:e)))}function Ee(e){for(;(he=ke())&&he<33;)ye();return Se(e)>2||Se(he)>3?"":" "}function Te(e,t){for(;--t&&ye()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return we(e,xe()+(t<6&&32==ke()&&32==ye()))}function ze(e){for(;ye();)switch(he){case e:return fe;case 34:case 39:34!==e&&39!==e&&ze(he);break;case 40:41===e&&ze(e);break;case 92:ye()}return fe}function Re(e,t){for(;ye()&&e+he!==57&&(e+he!==84||47!==ke()););return"/*"+we(t,fe-1)+"*"+ee(47===e?e:ye())}function Ie(e){for(;!Se(ke());)ye();return we(e,fe)}function Oe(e){return Ce(Ae("",null,null,null,[""],e=_e(e),0,[0],e))}function Ae(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,d=o,p=0,f=0,h=0,g=1,m=1,v=1,b=0,y="",k=i,x=a,w=r,S=y;m;)switch(h=b,b=ye()){case 40:if(108!=h&&58==ae(S,d-1)){-1!=ie(S+=re(Pe(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:S+=Pe(b);break;case 9:case 10:case 13:case 32:S+=Ee(h);break;case 92:S+=Te(xe()-1,7);continue;case 47:switch(ke()){case 42:case 47:ce(Me(Re(ye(),xe()),t,n),l);break;default:S+="/"}break;case 123*g:s[c++]=se(S)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(S=re(S,/\f/g,"")),f>0&&se(S)-d&&ce(f>32?De(S+";",r,n,d-1):De(re(S," ","")+";",r,n,d-2),l);break;case 59:S+=";";default:if(ce(w=Fe(S,t,n,c,u,i,s,y,k=[],x=[],d),a),123===b)if(0===u)Ae(S,t,w,w,k,a,d,s,x);else switch(99===p&&110===ae(S,3)?100:p){case 100:case 108:case 109:case 115:Ae(e,w,w,r&&ce(Fe(e,w,w,0,0,i,s,y,i,k=[],d),x),i,x,d,s,r?k:x);break;default:Ae(S,w,w,w,[""],x,0,s,x)}}c=u=f=0,g=v=1,y=S="",d=o;break;case 58:d=1+se(S),f=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==be())continue;switch(S+=ee(b),b*g){case 38:v=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(se(S)-1)*v,v=1;break;case 64:45===ke()&&(S+=Pe(ye())),p=ke(),u=d=se(y=S+=Ie(xe())),b++;break;case 45:45===h&&2==se(S)&&(g=0)}}return a}function Fe(e,t,n,r,i,a,o,s,l,c,u){for(var d=i-1,p=0===i?a:[""],f=le(p),h=0,g=0,m=0;h<r;++h)for(var v=0,b=oe(e,d+1,d=J(g=o[h])),y=e;v<f;++v)(y=ne(g>0?p[v]+" "+b:re(b,/&\f/g,p[v])))&&(l[m++]=y);return me(e,t,n,0===i?K:s,l,c,u)}function Me(e,t,n){return me(e,t,n,Q,ee(he),oe(e,2,-2),0)}function De(e,t,n,r){return me(e,t,n,X,oe(e,0,r),oe(e,r+1,-1),r)}function je(e,t){for(var n="",r=le(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Ne(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case X:return e.return=e.return||e.value;case Q:return"";case Z:return e.return=e.value+"{"+je(e.children,r)+"}";case K:e.value=e.props.join(",")}return se(n=je(e.children,r))?e.return=e.value+"{"+n+"}":""}var Le=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Be=function(e,t,n){for(var r=0,i=0;r=i,i=ke(),38===r&&12===i&&(t[n]=1),!Se(i);)ye();return we(e,fe)},$e=new WeakMap,We=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||$e.get(n))&&!r){$e.set(e,!0);for(var i=[],a=function(e,t){return Ce(function(e,t){var n=-1,r=44;do{switch(Se(r)){case 0:38===r&&12===ke()&&(t[n]=1),e[n]+=Be(fe-1,t,n);break;case 2:e[n]+=Pe(r);break;case 4:if(44===r){e[++n]=58===ke()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ee(r)}}while(r=ye());return e}(_e(e),t))}(t,i),o=n.props,s=0,l=0;s<a.length;s++)for(var c=0;c<o.length;c++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[c]):o[c]+" "+a[s]}}},He=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ve(e,t){switch(function(e,t){return 45^ae(e,0)?(((t<<2^ae(e,0))<<2^ae(e,1))<<2^ae(e,2))<<2^ae(e,3):0}(e,t)){case 5103:return G+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Y+e+q+e+e;case 6828:case 4268:return G+e+q+e+e;case 6165:return G+e+q+"flex-"+e+e;case 5187:return G+e+re(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+q+"flex-$1$2")+e;case 5443:return G+e+q+"flex-item-"+re(e,/flex-|-self/,"")+e;case 4675:return G+e+q+"flex-line-pack"+re(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+q+re(e,"shrink","negative")+e;case 5292:return G+e+q+re(e,"basis","preferred-size")+e;case 6060:return G+"box-"+re(e,"-grow","")+G+e+q+re(e,"grow","positive")+e;case 4554:return G+re(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return re(re(re(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return re(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return re(re(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return re(e,/(.+)-inline(.+)/,G+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(ae(e,t+1)){case 109:if(45!==ae(e,t+4))break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Y+(108==ae(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ie(e,"stretch")?Ve(re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ae(e,t+1))break;case 6444:switch(ae(e,se(e)-3-(~ie(e,"!important")&&10))){case 107:return re(e,":",":"+G)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===ae(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+q+"$2box$3")+e}break;case 5936:switch(ae(e,t+11)){case 114:return G+e+q+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+q+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+q+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+q+e+e}return e}var Ue=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case X:e.return=Ve(e.value,e.length);break;case Z:return je([ve(e,{value:re(e.value,"@","@"+G)})],r);case K:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return je([ve(e,{props:[re(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return je([ve(e,{props:[re(t,/:(plac\w+)/,":"+G+"input-$1")]}),ve(e,{props:[re(t,/:(plac\w+)/,":-moz-$1")]}),ve(e,{props:[re(t,/:(plac\w+)/,q+"input-$1")]})],r)}return""})}}],qe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,a=e.stylisPlugins||Ue,o={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)o[t[n]]=!0;s.push(e)});var l,c,u,d,p=[Ne,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(c=[We,He].concat(a,p),u=le(c),function(e,t,n,r){for(var i="",a=0;a<u;a++)i+=c[a](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,je(Oe(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new U({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:i};return h.sheet.hydrate(s),h};const Ye=Object.freeze(Object.defineProperty({__proto__:null,default:qe},Symbol.toStringTag,{value:"Module"}));function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ge.apply(null,arguments)}var Qe,Ke,Xe,Ze,Je={exports:{}},et={};function tt(){if(Qe)return et;Qe=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case a:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case o:return e;default:return p}}case n:return p}}}function k(e){return y(e)===c}return et.AsyncMode=l,et.ConcurrentMode=c,et.ContextConsumer=s,et.ContextProvider=o,et.Element=t,et.ForwardRef=u,et.Fragment=r,et.Lazy=h,et.Memo=f,et.Portal=n,et.Profiler=a,et.StrictMode=i,et.Suspense=d,et.isAsyncMode=function(e){return k(e)||y(e)===l},et.isConcurrentMode=k,et.isContextConsumer=function(e){return y(e)===s},et.isContextProvider=function(e){return y(e)===o},et.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},et.isForwardRef=function(e){return y(e)===u},et.isFragment=function(e){return y(e)===r},et.isLazy=function(e){return y(e)===h},et.isMemo=function(e){return y(e)===f},et.isPortal=function(e){return y(e)===n},et.isProfiler=function(e){return y(e)===a},et.isStrictMode=function(e){return y(e)===i},et.isSuspense=function(e){return y(e)===d},et.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===o||e.$$typeof===s||e.$$typeof===u||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},et.typeOf=y,et}function nt(){return Ke||(Ke=1,Je.exports=tt()),Je.exports}function rt(){if(Ze)return Xe;Ze=1;var e=nt(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function a(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var o=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;return Xe=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var f=s(r);l&&(f=f.concat(l(r)));for(var h=a(t),g=a(r),m=0;m<f.length;++m){var v=f[m];if(!(n[v]||i&&i[v]||g&&g[v]||h&&h[v])){var b=c(r,v);try{o(t,v,b)}catch(y){}}}}return t}}const it=a(rt());function at(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var ot=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},st=function(e,t,n){ot(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},lt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ct=/[A-Z]|^ms/g,ut=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dt=function(e){return 45===e.charCodeAt(1)},pt=function(e){return null!=e&&"boolean"!=typeof e},ft=W(function(e){return dt(e)?e:e.replace(ct,"-$&").toLowerCase()}),ht=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ut,function(e,t,n){return mt={name:t,styles:n,next:mt},t})}return 1===lt[e]||dt(e)||"number"!=typeof t||0===t?t:t+"px"};function gt(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return mt={name:i.name,styles:i.styles,next:mt},i.name;var a=n;if(void 0!==a.styles){var o=a.next;if(void 0!==o)for(;void 0!==o;)mt={name:o.name,styles:o.styles,next:mt},o=o.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=gt(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o){var s=o;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":pt(s)&&(r+=ft(a)+":"+ht(a,s)+";")}else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=gt(e,t,o);switch(a){case"animation":case"animationName":r+=ft(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var c=0;c<o.length;c++)pt(o[c])&&(r+=ft(a)+":"+ht(a,o[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=mt,l=n(e);return mt=s,gt(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var mt,vt=/label:\s*([^\s;{]+)\s*(;|$)/g;function bt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";mt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,i+=gt(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=gt(n,t,e[o]),r&&(i+=a[o]);vt.lastIndex=0;for(var s,l="";null!==(s=vt.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:mt}}var yt,kt,xt=!!w.useInsertionEffect&&w.useInsertionEffect,wt=xt||function(e){return e()},St=xt||k.useLayoutEffect,_t=k.createContext("undefined"!=typeof HTMLElement?qe({key:"css"}):null),Ct=_t.Provider,Pt=function(e){return k.forwardRef(function(t,n){var r=k.useContext(_t);return e(t,r,n)})},Et=k.createContext({}),Tt=Le(function(e){return Le(function(t){return function(e,t){return"function"==typeof t?t(e):Ge({},e,t)}(e,t)})}),zt={}.hasOwnProperty,Rt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",It=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ot(t,n,r),wt(function(){return st(t,n,r)}),null},Ot=Pt(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Rt],a=[r],o="";"string"==typeof e.className?o=at(t.registered,a,e.className):null!=e.className&&(o=e.className+" ");var s=bt(a,void 0,k.useContext(Et));o+=t.key+"-"+s.name;var l={};for(var c in e)zt.call(e,c)&&"css"!==c&&c!==Rt&&(l[c]=e[c]);return l.className=o,n&&(l.ref=n),k.createElement(k.Fragment,null,k.createElement(It,{cache:t,serialized:s,isStringTag:"string"==typeof i}),k.createElement(i,l))}),At=Ot,Ft=function(e,t){var n=arguments;if(null==t||!zt.call(t,"css"))return k.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=At,i[1]=function(e,t){var n={};for(var r in t)zt.call(t,r)&&(n[r]=t[r]);return n[Rt]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return k.createElement.apply(null,i)};yt=Ft||(Ft={}),kt||(kt=yt.JSX||(yt.JSX={}));var Mt=Pt(function(e,t){var n=bt([e.styles],void 0,k.useContext(Et)),r=k.useRef();return St(function(){var e=t.key+"-global",i=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),null!==o&&(a=!0,o.setAttribute("data-emotion",e),i.hydrate([o])),r.current=[i,a],function(){i.flush()}},[t]),St(function(){var e=r.current,i=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&st(t,n.next,!0),i.tags.length){var a=i.tags[i.tags.length-1].nextElementSibling;i.before=a,i.flush()}t.insert("",n,i,!1)}},[t,n.name]),null});function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bt(t)}var jt=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(null!=a){var o=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))o=e(a);else for(var s in o="",a)a[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=a}o&&(i&&(i+=" "),i+=o)}}return i},Nt=function(e){var t=e.cache,n=e.serializedArr;return wt(function(){for(var e=0;e<n.length;e++)st(t,n[e],!1)}),null},Lt=Pt(function(e,t){var n=[],r=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var a=bt(r,t.registered);return n.push(a),ot(t,a,!1),t.key+"-"+a.name},i={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return function(e,t,n){var r=[],i=at(e,r,n);return r.length<2?n:i+t(r)}(t.registered,r,jt(n))},theme:k.useContext(Et)},a=e.children(i);return k.createElement(k.Fragment,null,k.createElement(Nt,{cache:t,serializedArr:n}),a)});const Bt=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:Ct,ClassNames:Lt,Global:Mt,ThemeContext:Et,ThemeProvider:function(e){var t=k.useContext(Et);return e.theme!==t&&(t=Tt(t)(e.theme)),k.createElement(Et.Provider,{value:t},e.children)},__unsafe_useEmotionCache:function(){return k.useContext(_t)},get createElement(){return Ft},css:Dt,get jsx(){return Ft},keyframes:function(){var e=Dt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},useTheme:function(){return k.useContext(Et)},withEmotionCache:Pt,withTheme:function(e){var t=e.displayName||e.name||"Component",n=k.forwardRef(function(t,n){var r=k.useContext(Et);return k.createElement(e,Ge({theme:r,ref:n},t))});return n.displayName="WithTheme("+t+")",it(n,e)}},Symbol.toStringTag,{value:"Module"}));function $t(...e){return function(...t){e.forEach(e=>e?.(...t))}}const Wt=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),Ht=/^on[A-Z]/;function Vt(...e){let t={};for(let n of e){for(let e in t)Ht.test(e)&&"function"==typeof t[e]&&"function"==typeof n[e]?t[e]=$t(t[e],n[e]):t[e]="className"!==e&&"class"!==e?"style"!==e?void 0!==n[e]?n[e]:t[e]:Object.assign({},t[e]??{},n[e]??{}):Wt(t[e],n[e]);for(let e in n)void 0===t[e]&&(t[e]=n[e])}return t}function Ut(e){const t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}const qt=(...e)=>e.filter(Boolean).map(e=>e.trim()).join(" "),Yt=e=>null!=e&&"object"==typeof e&&!Array.isArray(e),Gt=e=>"string"==typeof e,Qt=e=>"function"==typeof e,Kt=(...e)=>{const t=e.reduce((e,t)=>(null!=t&&t.forEach(t=>e.add(t)),e),new Set([]));return Array.from(t)};function Xt(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:a,defaultValue:o}=e,s=k.createContext(o);return s.displayName=t,[s.Provider,function e(){const t=k.useContext(s);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},s]}const[Zt,Jt]=Xt({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function en(e){const{value:t,children:n}=e;return g.jsxs(Zt,{value:t,children:[!t._config.disableLayers&&g.jsx(Mt,{styles:t.layers.atRule}),g.jsx(Mt,{styles:t._global}),n]})}const tn=(e,t)=>((e,t)=>{const n={},r={},i=Object.keys(e);for(const a of i)t(a)?r[a]=e[a]:n[a]=e[a];return[r,n]})(e,Qt(t)?t:e=>t.includes(e)),nn=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function rn(e){return"string"==typeof e&&nn.has(e)}var an;const on=(an=V).default||an,sn=e=>"theme"!==e;let ln="undefined"!=typeof document;const cn=({cache:e,serialized:t,isStringTag:n})=>{ot(e,t,n);const r=wt(()=>st(e,t,n));if(!ln&&void 0!==r){let n=t.name,i=t.next;for(;void 0!==i;)n=qt(n,i.name),i=i.next;return g.jsx("style",{"data-emotion":qt(e.key,n),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},un={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},dn=((e,t={},n={})=>{if(r=un,i=e,Object.prototype.hasOwnProperty.call(r,i)){n.forwardProps||(n.forwardProps=[]);const t=un[e];n.forwardProps=Kt([...n.forwardProps,...t])}var r,i;const a=e.__emotion_real===e,o=a&&e.__emotion_base||e;let s,l;void 0!==n&&(s=n.label,l=n.target);let c=[];const u=Pt((r,i,s)=>{const{cva:u,isValidProperty:d}=Jt(),p=t.__cva__?t:u(t),f=hn(e.__emotion_cva,p);var h;!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=(h=n.forwardProps,(e,t)=>!!h.includes(e)||!t?.includes(e)&&!d(e)));const m=((e,t,n)=>{let r;if(t){const n=t.shouldForwardProp;r=e.__emotion_forwardProp&&n?t=>e.__emotion_forwardProp(t)&&n(t):n}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r})(e,n,a)||((t,n)=>{const r="string"==typeof e&&e.charCodeAt(0)>96?on:sn,i=!n?.includes(t)&&!d(t);return r(t)&&i}),v=k.useMemo(()=>Object.assign({},n.defaultProps,Ut(r)),[r]),{props:b,styles:y}=function(e,t,n){const{css:r,isValidProperty:i}=Jt(),{children:a,...o}=e,s=k.useMemo(()=>{const[e,r]=tn(o,e=>n(e,t.variantKeys)),[a,s]=tn(r,t.variantKeys),[l,c]=tn(s,i);return{forwardedProps:e,variantProps:a,styleProps:l,elementProps:c}},[t.variantKeys,n,o,i]),{css:l,...c}=s.styleProps,u=k.useMemo(()=>{const e={...s.variantProps};return t.variantKeys.includes("colorPalette")||(e.colorPalette=o.colorPalette),t.variantKeys.includes("orientation")||(e.orientation=o.orientation),t(e)},[t,s.variantProps,o.colorPalette,o.orientation]);return{styles:k.useMemo(()=>{return r(u,...(e=l,(Array.isArray(e)?e:[e]).filter(Boolean).flat()),c);var e},[r,u,l,c]),props:{...s.forwardedProps,...s.elementProps,children:a}}}(v,f,m);let x="",w=[y],S=b;if(null==b.theme){S={};for(let e in b)S[e]=b[e];S.theme=k.useContext(Et)}"string"==typeof b.className?x=at(i.registered,w,b.className):null!=b.className&&(x=qt(x,b.className));const _=bt(c.concat(w),i.registered,S);_.styles&&(x=qt(x,`${i.key}-${_.name}`)),void 0!==l&&(x=qt(x,l));const C=!m("as");let P=C&&b.as||o,E={};for(let e in b)if(!C||"as"!==e){if(rn(e)){E[e.replace("html","").toLowerCase()]=b[e];continue}m(e)&&(E[e]=b[e])}let T=x.trim();T?E.className=T:Reflect.deleteProperty(E,"className"),E.ref=s;const z=n.forwardAsChild||n.forwardProps?.includes("asChild");if(b.asChild&&!z){const e=k.isValidElement(b.children)?k.Children.only(b.children):k.Children.toArray(b.children).find(k.isValidElement);if(!e)throw new Error("[chakra-ui > factory] No valid child found");P=e.type,E.children=null,Reflect.deleteProperty(E,"asChild"),E=Vt(E,e.props),E.ref=function(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}(s,function(e){const t=k.version;return Gt(t)?t.startsWith("18.")?e?.ref:e?.props?.ref:e?.ref}(e))}return E.as&&z?(E.as=void 0,g.jsxs(k.Fragment,{children:[g.jsx(cn,{cache:i,serialized:_,isStringTag:"string"==typeof P}),g.jsx(P,{asChild:!0,...E,children:g.jsx(b.as,{children:E.children})})]})):g.jsxs(k.Fragment,{children:[g.jsx(cn,{cache:i,serialized:_,isStringTag:"string"==typeof P}),g.jsx(P,{...E})]})});return u.displayName=void 0!==s?s:`chakra(${"string"==typeof o?o:o.displayName||o.name||"Component"})`,u.__emotion_real=u,u.__emotion_base=o,u.__emotion_forwardProp=n.shouldForwardProp,u.__emotion_cva=t,Object.defineProperty(u,"toString",{value:()=>`.${l}`}),u}).bind(),pn=new Map,fn=new Proxy(dn,{apply:(e,t,n)=>dn(...n),get:(e,t)=>(pn.has(t)||pn.set(t,dn(t)),pn.get(t))}),hn=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),gn=fn("div");gn.displayName="Box";var mn="undefined"!=typeof window?window:void 0,vn="undefined"!=typeof globalThis?globalThis:mn,bn=Array.prototype,yn=bn.forEach,kn=bn.indexOf,xn=null==vn?void 0:vn.navigator,wn=null==vn?void 0:vn.document,Sn=null==vn?void 0:vn.location,_n=null==vn?void 0:vn.fetch,Cn=null!=vn&&vn.XMLHttpRequest&&"withCredentials"in new vn.XMLHttpRequest?vn.XMLHttpRequest:void 0,Pn=null==vn?void 0:vn.AbortController,En=null==xn?void 0:xn.userAgent,Tn=null!=mn?mn:{},zn={DEBUG:!1,LIB_VERSION:"1.283.0"};function Rn(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function In(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Rn(a,r,i,o,s,"next",e)}function s(e){Rn(a,r,i,o,s,"throw",e)}o(void 0)})}}function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},On.apply(null,arguments)}function An(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Fn=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],Mn=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var n=e.toLowerCase();return Fn.concat(t).some(e=>{var t=e.toLowerCase();return-1!==n.indexOf(t)})},Dn=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function jn(e,t){return-1!==e.indexOf(t)}var Nn=function(e){return e.trim()},Ln=function(e){return e.replace(/^\$/,"")},Bn=Array.isArray,$n=Object.prototype,Wn=$n.hasOwnProperty,Hn=$n.toString,Vn=Bn||function(e){return"[object Array]"===Hn.call(e)},Un=e=>"function"==typeof e,qn=e=>e===Object(e)&&!Vn(e),Yn=e=>{if(qn(e)){for(var t in e)if(Wn.call(e,t))return!1;return!0}return!1},Gn=e=>void 0===e,Qn=e=>"[object String]"==Hn.call(e),Kn=e=>Qn(e)&&0===e.trim().length,Xn=e=>null===e,Zn=e=>Gn(e)||Xn(e),Jn=e=>"[object Number]"==Hn.call(e),er=e=>"[object Boolean]"===Hn.call(e),tr=e=>jn(Dn,e);function nr(e){return null===e||"object"!=typeof e}function rr(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function ir(e){return!Gn(Event)&&function(e,t){try{return e instanceof t}catch(n){return!1}}(e,Event)}var ar=[!0,"true",1,"1","yes"],or=e=>jn(ar,e),sr=[!1,"false",0,"0","no"];function lr(e,t,n,r,i){return t>n&&(r.warn("min cannot be greater than max."),t=n),Jn(e)?e>n?(r.warn(" cannot be greater than max: "+n+". Using max value instead."),n):e<t?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+n+", fallback: "+i),lr(i||n,t,n,r))}class cr{constructor(e){this.t={},this.i=e.i,this.o=lr(e.bucketSize,0,100,e.h),this.m=lr(e.refillRate,0,this.o,e.h),this.S=lr(e.refillInterval,0,864e5,e.h)}$(e,t){var n=t-e.lastAccess,r=Math.floor(n/this.S);if(r>0){var i=r*this.m;e.tokens=Math.min(e.tokens+i,this.o),e.lastAccess=e.lastAccess+r*this.S}}consumeRateLimit(e){var t,n=Date.now(),r=String(e),i=this.t[r];return i?this.$(i,n):(i={tokens:this.o,lastAccess:n},this.t[r]=i),0===i.tokens||(i.tokens--,0===i.tokens&&(null==(t=this.i)||t.call(this,e)),0===i.tokens)}stop(){this.t={}}}var ur,dr,pr,fr=e=>e instanceof Error;function hr(e){var t=globalThis._posthogChunkIds;if(t){var n=Object.keys(t);return pr&&n.length===dr||(dr=n.length,pr=n.reduce((n,r)=>{ur||(ur={});var i=ur[r];if(i)n[i[0]]=i[1];else for(var a=e(r),o=a.length-1;o>=0;o--){var s=a[o],l=null==s?void 0:s.filename,c=t[r];if(l&&c){n[l]=c,ur[r]=[l,c];break}}return n},{})),pr}}var gr="?";function mr(e,t,n,r){var i={platform:"web:javascript",filename:e,function:"<anonymous>"===t?gr:t,in_app:!0};return Gn(n)||(i.lineno=n),Gn(r)||(i.colno=r),i}var vr=(e,t)=>{var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:gr,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},br=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,yr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,kr=/\((\S*)(?::(\d+))(?::(\d+))\)/,xr=e=>{var t=br.exec(e);if(t){var[,n,r,i]=t;return mr(n,gr,+r,+i)}var a=yr.exec(e);if(a){if(a[2]&&0===a[2].indexOf("eval")){var o=kr.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[s,l]=vr(a[1]||gr,a[2]);return mr(l,s,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},wr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Sr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_r=e=>{var t=wr.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=Sr.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}var r=t[3],i=t[1]||gr;return[i,r]=vr(i,r),mr(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Cr=/\(error: (.*)\)/;class Pr{constructor(e,t,n){void 0===e&&(e=[]),void 0===t&&(t=[]),void 0===n&&(n=[]),this.coercers=e,this.modifiers=n,this.stackParser=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){void 0===n&&(n=0);for(var r=[],i=e.split("\n"),a=n;a<i.length;a++){var o=i[a];if(!(o.length>1024)){var s=Cr.test(o)?o.replace(Cr,"$1"):o;if(!s.match(/\S*Error: /)){for(var l of t){var c=l(s);if(c){r.push(c);break}}if(r.length>=50)break}}}return function(e){if(!e.length)return[];var t=Array.from(e);return t.reverse(),t.slice(0,50).map(e=>{return On({},e,{filename:e.filename||(n=t,n[n.length-1]||{}).filename,function:e.function||gr});var n})}(r)}}(...t)}buildFromUnknown(e,t){void 0===t&&(t={});var n=t&&t.mechanism||{handled:!0,type:"generic"},r=this.buildCoercingContext(n,t,0).apply(e),i=this.buildParsingContext(),a=this.parseStacktrace(r,i);return{$exception_list:this.convertToExceptionList(a,n),$exception_level:"error"}}modifyFrames(e){var t=this;return In(function*(){for(var n of e)n.stacktrace&&n.stacktrace.frames&&Vn(n.stacktrace.frames)&&(n.stacktrace.frames=yield t.applyModifiers(n.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var n,r;return null!=e.cause&&(n=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(r=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?1:0),t.chunkIdMap)),On({},e,{cause:n,stack:r})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var n of this.coercers)if(n.match(e))return n.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return In(function*(){var n=e;for(var r of t.modifiers)n=yield r(n);return n})()}convertToExceptionList(e,t){var n,r,i,a={type:e.type,value:e.value,mechanism:{type:null!==(n=t.type)&&void 0!==n?n:"generic",handled:null===(r=t.handled)||void 0===r||r,synthetic:null!==(i=e.synthetic)&&void 0!==i&&i}};e.stack&&(a.stacktrace={type:"raw",frames:e.stack});var o=[a];return null!=e.cause&&o.push(...this.convertToExceptionList(e.cause,On({},t,{handled:!0}))),o}buildParsingContext(){return{chunkIdMap:hr(this.stackParser)}}buildCoercingContext(e,t,n){void 0===n&&(n=0);var r=(n,r)=>{if(r<=4){var i=this.buildCoercingContext(e,t,r);return this.applyCoercers(n,i)}};return On({},t,{syntheticException:0==n?t.syntheticException:void 0,mechanism:e,apply:e=>r(e,n),next:e=>r(e,n+1)})}}class Er{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var n=Qn(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:n?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return rr(e,"DOMException")}isDOMError(e){return rr(e,"DOMError")}}class Tr{match(e){return e instanceof Error}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var n=e.message;return n.error&&"string"==typeof n.error.message?String(n.error.message):String(n)}getStack(e){return e.stacktrace||e.stack||void 0}}class zr{constructor(){}match(e){return rr(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var n;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}var Rr=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class Ir{match(e){return"string"==typeof e}coerce(e,t){var n,[r,i]=this.getInfos(e);return{type:null!=r?r:"Error",value:null!=i?i:e,stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}getInfos(e){var t="Error",n=e,r=e.match(Rr);return r&&(t=r[1],n=r[2]),[t,n]}}var Or=["fatal","error","warning","log","info","debug"];function Ar(e,t){void 0===t&&(t=40);var n=Object.keys(e);if(n.sort(),!n.length)return"[object has no keys]";for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length||i.length<=t?i:i.slice(0,t)+"..."}return""}class Fr{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var n,r=this.getErrorPropertyFromObject(e);return r?t.apply(r):{type:this.getType(e),value:this.getValue(e),stack:null==(n=t.syntheticException)?void 0:n.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return ir(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var n=this.getObjectClassName(e);return(n&&"Object"!==n?"'"+n+"'":"Object")+" captured as exception with keys: "+Ar(e)}isSeverityLevel(e){return Qn(e)&&!Kn(e)&&Or.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t];if(fr(n))return n}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(n){return}}}class Mr{match(e){return ir(e)}coerce(e,t){var n,r=e.constructor.name;return{type:r,value:r+" captured as exception with keys: "+Ar(e),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}class Dr{match(e){return nr(e)}coerce(e,t){var n;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}class jr{match(e){return rr(e,"PromiseRejectionEvent")}coerce(e,t){var n,r=this.getUnhandledRejectionReason(e);return nr(r)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(r),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}:t.apply(r)}getUnhandledRejectionReason(e){if(nr(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return e}}var Nr=e=>{var t={k:function(t){if(mn&&(zn.DEBUG||Tn.POSTHOG_DEBUG)&&!Gn(mn.console)&&mn.console){for(var n=("__rrweb_original__"in mn.console[t]?mn.console[t].__rrweb_original__:mn.console[t]),r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];n(e,...i)}},info:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.k("log",...n)},warn:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.k("warn",...n)},error:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.k("error",...n)},critical:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n]},uninitializedWarning:e=>{t.error("You must initialize PostHog before calling "+e)},createLogger:t=>Nr(e+" "+t)};return t},Lr=Nr("[PostHog.js]"),Br=Lr.createLogger,$r=Br("[ExternalScriptsLoader]"),Wr=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return $r.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=null==wn?void 0:wn.querySelectorAll("script");if(r)for(var i,a=function(){if(r[o].src===t){var e=r[o];return e.__posthog_loading_callback_fired?{v:n()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,n(void 0,t)}),e.onerror=e=>n(e),{v:void 0})}},o=0;o<r.length;o++)if(i=a())return i.v;var s=()=>{if(!wn)return n("document not found");var r=wn.createElement("script");if(r.type="text/javascript",r.crossOrigin="anonymous",r.src=t,r.onload=e=>{r.__posthog_loading_callback_fired=!0,n(void 0,e)},r.onerror=e=>n(e),e.config.prepare_external_dependency_script&&(r=e.config.prepare_external_dependency_script(r)),!r)return n("prepare_external_dependency_script returned null");var i,a=wn.querySelectorAll("body > script");a.length>0?null==(i=a[0].parentNode)||i.insertBefore(r,a[0]):wn.body.appendChild(r)};null!=wn&&wn.body?s():null==wn||wn.addEventListener("DOMContentLoaded",s)};Tn.__PosthogExtensions__=Tn.__PosthogExtensions__||{},Tn.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{var r="/static/"+t+".js?v="+e.version;if("remote-config"===t&&(r="/array/"+e.config.token+"/config.js"),"toolbar"===t){var i=3e5;r=r+"&t="+Math.floor(Date.now()/i)*i}var a=e.requestRouter.endpointFor("assets",r);Wr(e,a,n)},Tn.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);Wr(e,r,n)};var Hr={};function Vr(e,t,n){if(Vn(e))if(yn&&e.forEach===yn)e.forEach(t,n);else if("length"in e&&e.length===+e.length)for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r)===Hr)return}function Ur(e,t,n){if(!Zn(e)){if(Vn(e))return Vr(e,t,n);if((e=>e instanceof FormData)(e)){for(var r of e.entries())if(t.call(n,r[1],r[0])===Hr)return}else for(var i in e)if(Wn.call(e,i)&&t.call(n,e[i],i)===Hr)return}}var qr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Vr(n,function(t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])}),e},Yr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Vr(n,function(t){Vr(t,function(t){e.push(t)})}),e};function Gr(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var Qr=function(e){try{return e()}catch(t){return}},Kr=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}catch(i){Lr.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Lr.critical(i)}}},Xr=function(e){var t={};return Ur(e,function(e,n){(Qn(e)&&e.length>0||Jn(e))&&(t[n]=e)}),t},Zr=["herokuapp.com","vercel.app","netlify.app"];function Jr(e){var t=null==e?void 0:e.hostname;if(!Qn(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of Zr)if(n===r)return!1;return!0}function ei(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function ti(e,t,n,r){var{capture:i=!1,passive:a=!0}=null!=r?r:{};null==e||e.addEventListener(t,n,{capture:i,passive:a})}var ni="$people_distinct_id",ri="__alias",ii="__timers",ai="$autocapture_disabled_server_side",oi="$heatmaps_enabled_server_side",si="$exception_capture_enabled_server_side",li="$error_tracking_suppression_rules",ci="$error_tracking_capture_extension_exceptions",ui="$web_vitals_enabled_server_side",di="$dead_clicks_enabled_server_side",pi="$web_vitals_allowed_metrics",fi="$session_recording_remote_config",hi="$sesid",gi="$session_is_sampled",mi="$enabled_feature_flags",vi="$early_access_features",bi="$feature_flag_details",yi="$stored_person_properties",ki="$stored_group_properties",xi="$surveys",wi="$surveys_activated",Si="$flag_call_reported",_i="$user_state",Ci="$client_session_props",Pi="$capture_rate_limit",Ei="$initial_campaign_params",Ti="$initial_referrer_info",zi="$initial_person_info",Ri="$epp",Ii="__POSTHOG_TOOLBAR__",Oi="$posthog_cookieless",Ai=[ni,ri,"__cmpns",ii,"$session_recording_enabled_server_side",oi,hi,mi,li,_i,vi,bi,ki,yi,xi,Si,Ci,Pi,Ei,Ti,Ri,zi];function Fi(e){return e instanceof Element&&(e.id===Ii||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function Mi(e){return!!e&&1===e.nodeType}function Di(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function ji(e){return!!e&&3===e.nodeType}function Ni(e){return!!e&&11===e.nodeType}function Li(e){return e?Nn(e).split(/\s+/):[]}function Bi(e){var t=null==mn?void 0:mn.location.href;return!!(t&&e&&e.some(e=>t.match(e)))}function $i(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return Li(t)}function Wi(e){return Zn(e)?null:Nn(e).split(/(\s+)/).filter(e=>aa(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Hi(e){var t="";return Xi(e)&&!Zi(e)&&e.childNodes&&e.childNodes.length&&Ur(e.childNodes,function(e){var n;ji(e)&&e.textContent&&(t+=null!==(n=Wi(e.textContent))&&void 0!==n?n:"")}),Nn(t)}function Vi(e){return Gn(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var Ui=["a","button","form","input","select","textarea","label"];function qi(e,t){if(Gn(t))return!0;var n,r=function(e){if(t.some(t=>e.matches(t)))return{v:!0}};for(var i of e)if(n=r(i))return n.v;return!1}function Yi(e){var t=e.parentNode;return!(!t||!Mi(t))&&t}var Gi=[".ph-no-rageclick",".ph-no-capture"],Qi=e=>!e||Di(e,"html")||!Mi(e),Ki=(e,t)=>{if(!mn||Qi(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var n=!1,r=[e],i=e;i.parentNode&&!Di(i,"body");)if(Ni(i.parentNode))r.push(i.parentNode.host),i=i.parentNode.host;else{var a=Yi(i);if(!a)break;if(t||Ui.indexOf(a.tagName.toLowerCase())>-1)n=!0;else{var o=mn.getComputedStyle(a);o&&"pointer"===o.getPropertyValue("cursor")&&(n=!0)}r.push(a),i=a}return{parentIsUsefulElement:n,targetElementList:r}};function Xi(e){for(var t=e;t.parentNode&&!Di(t,"body");t=t.parentNode){var n=$i(t);if(jn(n,"ph-sensitive")||jn(n,"ph-no-capture"))return!1}if(jn($i(e),"ph-include"))return!0;var r=e.type||"";if(Qn(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!Qn(i)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,""))}function Zi(e){return!!(Di(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Di(e,"select")||Di(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var Ji="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",ea=new RegExp("^(?:"+Ji+")$"),ta=new RegExp(Ji),na="\\d{3}-?\\d{2}-?\\d{4}",ra=new RegExp("^("+na+")$"),ia=new RegExp("("+na+")");function aa(e,t){if(void 0===t&&(t=!0),Zn(e))return!1;if(Qn(e)){if(e=Nn(e),(t?ea:ta).test((e||"").replace(/[- ]/g,"")))return!1;if((t?ra:ia).test(e))return!1}return!0}function oa(e){var t=Hi(e);return aa(t=(t+" "+sa(e)).trim())?t:""}function sa(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Ur(e.childNodes,function(e){var n;if(e&&"span"===(null==(n=e.tagName)?void 0:n.toLowerCase()))try{var r=Hi(e);t=(t+" "+r).trim(),e.childNodes&&e.childNodes.length&&(t=(t+" "+sa(e)).trim())}catch(i){Lr.error("[AutoCapture]",i)}}),t}function la(e){return e.map(e=>{var t,n,r={text:null==(t=e.$el_text)?void 0:t.slice(0,400),tag_name:e.tag_name,href:null==(n=e.attr__href)?void 0:n.slice(0,2048),attr_class:ua(e),attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return Gr(e).filter(e=>{var[t]=e;return 0===t.indexOf("attr__")}).forEach(e=>{var[t,n]=e;return r.attributes[t]=n}),r}).map(e=>{var t,n,r="";if(e.tag_name&&(r+=e.tag_name),e.attr_class)for(var i of(e.attr_class.sort(),e.attr_class))r+="."+i.replace(/"/g,"");var a=On({},e.text?{text:e.text}:{},{"nth-child":null!==(t=e.nth_child)&&void 0!==t?t:0,"nth-of-type":null!==(n=e.nth_of_type)&&void 0!==n?n:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),o={};return Gr(a).sort((e,t)=>{var[n]=e,[r]=t;return n.localeCompare(r)}).forEach(e=>{var[t,n]=e;return o[ca(t.toString())]=ca(n.toString())}),(r+=":")+Gr(o).map(e=>{var[t,n]=e;return t+'="'+n+'"'}).join("")}).join(";")}function ca(e){return e.replace(/"|\\"/g,'\\"')}function ua(e){var t=e.attr__class;return t?Vn(t)?t:Li(t):void 0}class da{constructor(){this.clicks=[]}isRageClick(e,t,n){var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<30&&n-r.timestamp<1e3){if(this.clicks.push({x:e,y:t,timestamp:n}),3===this.clicks.length)return!0}else this.clicks=[{x:e,y:t,timestamp:n}];return!1}}var pa,fa="$copy_autocapture",ha=((pa={}).GZipJS="gzip-js",pa.Base64="base64",pa),ga=e=>{var t=null==wn?void 0:wn.createElement("a");return Gn(t)?null:(t.href=e,t)},ma=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;i<r.length;i++){var a=r[i].split("=");if(a[0]===t){n=a;break}}if(!Vn(n)||n.length<2)return"";var o=n[1];try{o=decodeURIComponent(o)}catch(s){Lr.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},va=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),i=r[0]||"",a=r[1],o=i.split("?"),s=o[1],l=o[0],c=(s||"").split("&"),u=[],d=0;d<c.length;d++){var p=c[d].split("=");Vn(p)&&(t.includes(p[0])?u.push(p[0]+"="+n):u.push(c[d]))}var f=l;return null!=s&&(f+="?"+u.join("&")),null!=a&&(f+="#"+a),f},ba=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},ya=Br("[AutoCapture]");function ka(e,t){return t.length>e?t.slice(0,e)+"...":t}function xa(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do{t=t.previousSibling}while(t&&!Mi(t));return t}class wa{constructor(e){this.P=!1,this.T=null,this.rageclicks=new da,this.R=!1,this.instance=e,this.I=null}get C(){var e,t,n=qn(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=null==(e=n.url_allowlist)?void 0:e.map(e=>new RegExp(e)),n.url_ignorelist=null==(t=n.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),n}O(){if(this.isBrowserSupported()){if(mn&&wn){var e=e=>{e=e||(null==mn?void 0:mn.event);try{this.F(e)}catch(pa){ya.error("Failed to capture event",pa)}};if(ti(wn,"submit",e,{capture:!0}),ti(wn,"change",e,{capture:!0}),ti(wn,"click",e,{capture:!0}),this.C.capture_copied_text){var t=e=>{e=e||(null==mn?void 0:mn.event),this.F(e,fa)};ti(wn,"copy",t,{capture:!0}),ti(wn,"cut",t,{capture:!0})}}}else ya.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.P&&(this.O(),this.P=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.R=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[ai]:!!e.autocapture_opt_out}),this.T=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.I=e}getElementSelectors(e){var t,n=[];return null==(t=this.I)||t.forEach(t=>{var r=null==wn?void 0:wn.querySelectorAll(t);null==r||r.forEach(r=>{e===r&&n.push(t)})}),n}get isEnabled(){var e,t,n=null==(e=this.instance.persistence)?void 0:e.props[ai],r=this.T;if(Xn(r)&&!er(n)&&!this.instance.M())return!1;var i=null!==(t=this.T)&&void 0!==t?t:!!n;return!!this.instance.config.autocapture&&!i}F(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var n,r=Vi(e);ji(r)&&(r=r.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(n=this.rageclicks)&&n.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&function(e,t){if(!mn||Qi(e))return!1;var n,r;if(!1===(n=er(t)?!!t&&Gi:null!==(r=null==t?void 0:t.css_selector_ignorelist)&&void 0!==r?r:Gi))return!1;var{targetElementList:i}=Ki(e,!1);return!qi(i,n)}(r,this.instance.config.rageclick)&&this.F(e,"$rageclick");var i=t===fa;if(r&&function(e,t,n,r,i){var a,o,s,l;if(void 0===n&&(n=void 0),!mn||Qi(e))return!1;if(null!=(a=n)&&a.url_allowlist&&!Bi(n.url_allowlist))return!1;if(null!=(o=n)&&o.url_ignorelist&&Bi(n.url_ignorelist))return!1;if(null!=(s=n)&&s.dom_event_allowlist){var c=n.dom_event_allowlist;if(c&&!c.some(e=>t.type===e))return!1}var{parentIsUsefulElement:u,targetElementList:d}=Ki(e,r);if(!function(e,t){var n=null==t?void 0:t.element_allowlist;if(Gn(n))return!0;var r,i=function(e){if(n.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var a of e)if(r=i(a))return r.v;return!1}(d,n))return!1;if(!qi(d,null==(l=n)?void 0:l.css_selector_allowlist))return!1;var p=mn.getComputedStyle(e);if(p&&"pointer"===p.getPropertyValue("cursor")&&"click"===t.type)return!0;var f=e.tagName.toLowerCase();switch(f){case"html":return!1;case"form":return(i||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(i||["change","click"]).indexOf(t.type)>=0;default:return u?(i||["click"]).indexOf(t.type)>=0:(i||["click"]).indexOf(t.type)>=0&&(Ui.indexOf(f)>-1||"true"===e.getAttribute("contenteditable"))}}(r,e,this.C,i,i?["copy","cut"]:void 0)){var{props:a,explicitNoCapture:o}=function(e,t){for(var n,r,{e:i,maskAllElementAttributes:a,maskAllText:o,elementAttributeIgnoreList:s,elementsChainAsString:l}=t,c=[e],u=e;u.parentNode&&!Di(u,"body");)Ni(u.parentNode)?(c.push(u.parentNode.host),u=u.parentNode.host):(c.push(u.parentNode),u=u.parentNode);var d,p=[],f={},h=!1,g=!1;if(Ur(c,e=>{var t=Xi(e);"a"===e.tagName.toLowerCase()&&(h=e.getAttribute("href"),h=t&&h&&aa(h)&&h),jn($i(e),"ph-no-capture")&&(g=!0),p.push(function(e,t,n,r){var i=e.tagName.toLowerCase(),a={tag_name:i};Ui.indexOf(i)>-1&&!n&&("a"===i.toLowerCase()||"button"===i.toLowerCase()?a.$el_text=ka(1024,oa(e)):a.$el_text=ka(1024,Hi(e)));var o=$i(e);o.length>0&&(a.classes=o.filter(function(e){return""!==e})),Ur(e.attributes,function(n){var i;if((!Zi(e)||-1!==["name","id","class","aria-label"].indexOf(n.name))&&(null==r||!r.includes(n.name))&&!t&&aa(n.value)&&(i=n.name,!Qn(i)||"_ngcontent"!==i.substring(0,10)&&"_nghost"!==i.substring(0,7))){var o=n.value;"class"===n.name&&(o=Li(o).join(" ")),a["attr__"+n.name]=ka(1024,o)}});for(var s=1,l=1,c=e;c=xa(c);)s++,c.tagName===e.tagName&&l++;return a.nth_child=s,a.nth_of_type=l,a}(e,a,o,s));var n=function(e){if(!Xi(e))return{};var t={};return Ur(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var n=e.name.replace("data-ph-capture-attribute-",""),r=e.value;n&&r&&aa(r)&&(t[n]=r)}}),t}(e);qr(f,n)}),g)return{props:{},explicitNoCapture:g};if(o||("a"===e.tagName.toLowerCase()||"button"===e.tagName.toLowerCase()?p[0].$el_text=oa(e):p[0].$el_text=Hi(e)),h){var m,v;p[0].attr__href=h;var b=null==(m=ga(h))?void 0:m.host,y=null==mn||null==(v=mn.location)?void 0:v.host;b&&y&&b!==y&&(d=h)}return{props:qr({$event_type:i.type,$ce_version:1},l?{}:{$elements:p},{$elements_chain:la(p)},null!=(n=p[0])&&n.$el_text?{$el_text:null==(r=p[0])?void 0:r.$el_text}:{},d&&"click"===i.type?{$external_click_url:d}:{},f)}}(r,{e:e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.C.element_attribute_ignorelist,elementsChainAsString:this.R});if(o)return!1;var s=this.getElementSelectors(r);if(s&&s.length>0&&(a.$element_selectors=s),t===fa){var l,c=Wi(null==mn||null==(l=mn.getSelection())?void 0:l.toString()),u=e.type||"clipboard";if(!c)return!1;a.$selected_content=c,a.$copy_type=u}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return Un(null==wn?void 0:wn.querySelectorAll)}}Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Jn(e)&&isFinite(e)&&Math.floor(e)===e});var Sa="0123456789abcdef";class _a{constructor(e){if(this.bytes=e,16!==e.length)throw new TypeError("not 128-bit length")}static fromFieldsV7(e,t,n,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||e<0||t<0||n<0||r<0||e>0xffffffffffff||t>4095||n>1073741823||r>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=e/Math.pow(2,40),i[1]=e/Math.pow(2,32),i[2]=e/Math.pow(2,24),i[3]=e/Math.pow(2,16),i[4]=e/Math.pow(2,8),i[5]=e,i[6]=112|t>>>8,i[7]=t,i[8]=128|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new _a(i)}toString(){for(var e="",t=0;t<this.bytes.length;t++)e=e+Sa.charAt(this.bytes[t]>>>4)+Sa.charAt(15&this.bytes[t]),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw new Error("Invalid UUIDv7 was generated");return e}clone(){return new _a(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;t<16;t++){var n=this.bytes[t]-e.bytes[t];if(0!==n)return Math.sign(n)}return 0}}class Ca{constructor(){this.A=0,this.D=0,this.j=new Ta}generate(){var e=this.generateOrAbort();if(Gn(e)){this.A=0;var t=this.generateOrAbort();if(Gn(t))throw new Error("Could not generate UUID after timestamp reset");return t}return e}generateOrAbort(){var e=Date.now();if(e>this.A)this.A=e,this.L();else{if(!(e+1e4>this.A))return;this.D++,this.D>4398046511103&&(this.A++,this.L())}return _a.fromFieldsV7(this.A,Math.trunc(this.D/Math.pow(2,30)),this.D&Math.pow(2,30)-1,this.j.nextUint32())}L(){this.D=1024*this.j.nextUint32()+(1023&this.j.nextUint32())}}var Pa,Ea=e=>{if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};mn&&!Gn(mn.crypto)&&crypto.getRandomValues&&(Ea=e=>crypto.getRandomValues(e));class Ta{constructor(){this.N=new Uint32Array(8),this.U=1/0}nextUint32(){return this.U>=this.N.length&&(Ea(this.N),this.U=0),this.N[this.U++]}}var za=()=>Ra().toString(),Ra=()=>(Pa||(Pa=new Ca)).generate(),Ia="",Oa=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Aa={H:()=>!!wn,B:function(e){Lr.error("cookieStore error: "+e)},q:function(e){if(wn){try{for(var t=e+"=",n=wn.cookie.split(";").filter(e=>e.length),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}}catch(a){}return null}},W:function(e){var t;try{t=JSON.parse(Aa.q(e))||{}}catch(n){}return t},G:function(e,t,n,r,i){if(wn)try{var a="",o="",s=function(e,t){if(t){var n=function(e,t){if(void 0===t&&(t=wn),Ia)return Ia;if(!t)return"";if(["localhost","127.0.0.1"].includes(e))return"";for(var n=e.split("."),r=Math.min(n.length,8),i="dmn_chk_"+za();!Ia&&r--;){var a=n.slice(r).join("."),o=i+"=1;domain=."+a+";path=/";t.cookie=o+";max-age=3",t.cookie.includes(i)&&(t.cookie=o+";max-age=0",Ia=a)}return Ia}(e);if(!n){var r=(i=e.match(Oa))?i[0]:"";r!==n&&Lr.info("Warning: cookie subdomain discovery mismatch",r,n),n=r}return n?"; domain=."+n:""}var i;return""}(wn.location.hostname,r);if(n){var l=new Date;l.setTime(l.getTime()+24*n*60*60*1e3),a="; expires="+l.toUTCString()}i&&(o="; secure");var c=e+"="+encodeURIComponent(JSON.stringify(t))+a+"; SameSite=Lax; path=/"+s+o;return c.length>3686.4&&Lr.warn("cookieStore warning: large cookie, len="+c.length),wn.cookie=c,c}catch(u){return}},V:function(e,t){if(null!=wn&&wn.cookie)try{Aa.G(e,"",-1,t)}catch(n){return}}},Fa=null,Ma={H:function(){if(!Xn(Fa))return Fa;var e=!0;if(Gn(mn))e=!1;else try{var t="__mplssupport__";Ma.G(t,"xyz"),'"xyz"'!==Ma.q(t)&&(e=!1),Ma.V(t)}catch(pa){e=!1}return e||Lr.error("localStorage unsupported; falling back to cookie store"),Fa=e,e},B:function(e){Lr.error("localStorage error: "+e)},q:function(e){try{return null==mn?void 0:mn.localStorage.getItem(e)}catch(pa){Ma.B(pa)}return null},W:function(e){try{return JSON.parse(Ma.q(e))||{}}catch(t){}return null},G:function(e,t){try{null==mn||mn.localStorage.setItem(e,JSON.stringify(t))}catch(pa){Ma.B(pa)}},V:function(e){try{null==mn||mn.localStorage.removeItem(e)}catch(pa){Ma.B(pa)}}},Da=["distinct_id",hi,gi,Ri,zi],ja=On({},Ma,{W:function(e){try{var t={};try{t=Aa.W(e)||{}}catch(r){}var n=qr(t,JSON.parse(Ma.q(e)||"{}"));return Ma.G(e,n),n}catch(r){}return null},G:function(e,t,n,r,i,a){try{Ma.G(e,t,void 0,void 0,a);var o={};Da.forEach(e=>{t[e]&&(o[e]=t[e])}),Object.keys(o).length&&Aa.G(e,o,n,r,i,a)}catch(s){Ma.B(s)}},V:function(e,t){try{null==mn||mn.localStorage.removeItem(e),Aa.V(e,t)}catch(pa){Ma.B(pa)}}}),Na={},La={H:function(){return!0},B:function(e){Lr.error("memoryStorage error: "+e)},q:function(e){return Na[e]||null},W:function(e){return Na[e]||null},G:function(e,t){Na[e]=t},V:function(e){delete Na[e]}},Ba=null,$a={H:function(){if(!Xn(Ba))return Ba;if(Ba=!0,Gn(mn))Ba=!1;else try{var e="__support__";$a.G(e,"xyz"),'"xyz"'!==$a.q(e)&&(Ba=!1),$a.V(e)}catch(pa){Ba=!1}return Ba},B:function(e){Lr.error("sessionStorage error: ",e)},q:function(e){try{return null==mn?void 0:mn.sessionStorage.getItem(e)}catch(pa){$a.B(pa)}return null},W:function(e){try{return JSON.parse($a.q(e))||null}catch(t){}return null},G:function(e,t){try{null==mn||mn.sessionStorage.setItem(e,JSON.stringify(t))}catch(pa){$a.B(pa)}},V:function(e){try{null==mn||mn.sessionStorage.removeItem(e)}catch(pa){$a.B(pa)}}},Wa=function(e){return e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED",e}({});class Ha{constructor(e){this._instance=e}get C(){return this._instance.config}get consent(){return this.J()?Wa.DENIED:this.K}isOptedOut(){return"always"===this.C.cookieless_mode||this.consent===Wa.DENIED||this.consent===Wa.PENDING&&(this.C.opt_out_capturing_by_default||"on_reject"===this.C.cookieless_mode)}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===Wa.DENIED}optInOut(e){this.Y.G(this.X,e?1:0,this.C.cookie_expiration,this.C.cross_subdomain_cookie,this.C.secure_cookie)}reset(){this.Y.V(this.X,this.C.cross_subdomain_cookie)}get X(){var{token:e,opt_out_capturing_cookie_prefix:t,consent_persistence_name:n}=this._instance.config;return n||(t?t+e:"__ph_opt_in_out_"+e)}get K(){var e=this.Y.q(this.X);return or(e)?Wa.GRANTED:jn(sr,e)?Wa.DENIED:Wa.PENDING}get Y(){if(!this.Z){var e=this.C.opt_out_capturing_persistence_type;this.Z="localStorage"===e?Ma:Aa;var t="localStorage"===e?Aa:Ma;t.q(this.X)&&(this.Z.q(this.X)||this.optInOut(or(t.q(this.X))),t.V(this.X,this.C.cross_subdomain_cookie))}return this.Z}J(){return!!this.C.respect_dnt&&!!ei([null==xn?void 0:xn.doNotTrack,null==xn?void 0:xn.msDoNotTrack,Tn.doNotTrack],e=>or(e))}}var Va=Br("[Dead Clicks]"),Ua=()=>!0,qa=e=>{var t,n=!(null==(t=e.instance.persistence)||!t.get_property(di)),r=e.instance.config.capture_dead_clicks;return er(r)?r:n};class Ya{get lazyLoadedDeadClicksAutocapture(){return this.tt}constructor(e,t,n){this.instance=e,this.isEnabled=t,this.onCapture=n,this.startIfEnabled()}onRemoteConfig(e){this.instance.persistence&&this.instance.persistence.register({[di]:null==e?void 0:e.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.it(()=>{this.et()})}it(e){var t,n;null!=(t=Tn.__PosthogExtensions__)&&t.initDeadClicksAutocapture&&e(),null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?Va.error("failed to load script",t):e()})}et(){var e;if(wn){if(!this.tt&&null!=(e=Tn.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=qn(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.tt=Tn.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.tt.start(wn),Va.info("starting...")}}else Va.error("`document` not found. Cannot start.")}stop(){this.tt&&(this.tt.stop(),this.tt=void 0,Va.info("stopping..."))}}var Ga=Br("[ExceptionAutocapture]");class Qa{constructor(e){var t,n,r;this.rt=()=>{var e;if(mn&&this.isEnabled&&null!=(e=Tn.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=Tn.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,n=Tn.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,r=Tn.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.st&&this.C.capture_unhandled_errors&&(this.st=t(this.captureException.bind(this))),!this.nt&&this.C.capture_unhandled_rejections&&(this.nt=n(this.captureException.bind(this))),!this.ot&&this.C.capture_console_errors&&(this.ot=r(this.captureException.bind(this)))}catch(pa){Ga.error("failed to start",pa),this.lt()}}},this._instance=e,this.ut=!(null==(t=this._instance.persistence)||!t.props[si]),this.C=this.ht(),this.dt=new cr({refillRate:null!==(n=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)&&void 0!==n?n:1,bucketSize:null!==(r=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)&&void 0!==r?r:10,refillInterval:1e4,h:Ga}),this.startIfEnabled()}ht(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return qn(e)?t=On({},t,e):(Gn(e)?this.ut:e)&&(t=On({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.C.capture_console_errors||this.C.capture_unhandled_errors||this.C.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(Ga.info("enabled"),this.it(this.rt))}it(e){var t,n;null!=(t=Tn.__PosthogExtensions__)&&t.errorWrappingFunctions&&e(),null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return Ga.error("failed to load script",t);e()})}lt(){var e,t,n;null==(e=this.st)||e.call(this),this.st=void 0,null==(t=this.nt)||t.call(this),this.nt=void 0,null==(n=this.ot)||n.call(this),this.ot=void 0}onRemoteConfig(e){var t=e.autocaptureExceptions;this.ut=!!t||!1,this.C=this.ht(),this._instance.persistence&&this._instance.persistence.register({[si]:this.ut}),this.startIfEnabled()}captureException(e){var t,n,r=null!==(t=null==e||null==(n=e.$exception_list)||null==(n=n[0])?void 0:n.type)&&void 0!==t?t:"Exception";this.dt.consumeRateLimit(r)?Ga.info("Skipping exception capture because of client rate limiting.",{exception:r}):this._instance.exceptions.sendExceptionEvent(e)}}function Ka(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],i=n(r);return Un(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=r}}catch(a){return()=>{}}}class Xa{constructor(e){var t;this._instance=e,this.vt=(null==mn||null==(t=mn.location)?void 0:t.pathname)||""}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(Lr.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.ct&&this.ct(),this.ct=void 0,Lr.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(mn&&mn.history){var n=this;null!=(e=mn.history.pushState)&&e.__posthog_wrapped__||Ka(mn.history,"pushState",e=>function(t,r,i){e.call(this,t,r,i),n.ft("pushState")}),null!=(t=mn.history.replaceState)&&t.__posthog_wrapped__||Ka(mn.history,"replaceState",e=>function(t,r,i){e.call(this,t,r,i),n.ft("replaceState")}),this.gt()}}ft(e){try{var t,n=null==mn||null==(t=mn.location)?void 0:t.pathname;if(!n)return;n!==this.vt&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:e}),this.vt=n}catch(pa){Lr.error("Error capturing "+e+" pageview",pa)}}gt(){if(!this.ct){var e=()=>{this.ft("popstate")};ti(mn,"popstate",e),this.ct=()=>{mn&&mn.removeEventListener("popstate",e)}}}}var Za=Br("[SegmentIntegration]"),Ja="posthog-js";function eo(e,t){var{organization:n,projectId:r,prefix:i,severityAllowList:a=["error"],sendExceptionsToPostHog:o=!0}=void 0===t?{}:t;return t=>{var s,l,c,u,d;if("*"!==a&&!a.includes(t.level)||!e.__loaded)return t;t.tags||(t.tags={});var p=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());t.tags["PostHog Person URL"]=p,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var f=(null==(s=t.exception)?void 0:s.values)||[],h=f.map(e=>On({},e,{stacktrace:e.stacktrace?On({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>On({},e,{platform:"web:javascript"}))}):void 0})),g={$exception_message:(null==(l=f[0])?void 0:l.value)||t.message,$exception_type:null==(c=f[0])?void 0:c.type,$exception_level:t.level,$exception_list:h,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(u=f[0])?void 0:u.value)||t.message,$sentry_exception_type:null==(d=f[0])?void 0:d.type,$sentry_tags:t.tags};return n&&r&&(g.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+t.event_id),o&&e.exceptions.sendExceptionEvent(g),t}}class to{constructor(e,t,n,r,i,a){this.name=Ja,this.setupOnce=function(o){o(eo(e,{organization:t,projectId:n,prefix:r,severityAllowList:i,sendExceptionsToPostHog:null==a||a}))}}}var no=null!=mn&&mn.location?ba(mn.location.hash,"__posthog")||ba(location.hash,"state"):null,ro="_postHogToolbarParams",io=Br("[Toolbar]"),ao=function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED",e}(ao||{});class oo{constructor(e){this.instance=e}_t(e){Tn.ph_toolbar_state=e}yt(){var e;return null!==(e=Tn.ph_toolbar_state)&&void 0!==e?e:ao.UNINITIALIZED}maybeLoadToolbar(e,t,n){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===n&&(n=void 0),!mn||!wn)return!1;e=null!=e?e:mn.location,n=null!=n?n:mn.history;try{if(!t){try{mn.localStorage.setItem("test","test"),mn.localStorage.removeItem("test")}catch(pa){return!1}t=null==mn?void 0:mn.localStorage}var r,i=no||ba(e.hash,"__posthog")||ba(e.hash,"state"),a=i?Qr(()=>JSON.parse(atob(decodeURIComponent(i))))||Qr(()=>JSON.parse(decodeURIComponent(i))):null;return a&&"ph_authorize"===a.action?((r=a).source="url",r&&Object.keys(r).length>0&&(a.desiredHash?e.hash=a.desiredHash:n?n.replaceState(n.state,"",e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem(ro)||"{}")).source="localstorage",delete r.userIntent),!(!r.token||this.instance.config.token!==r.token||(this.loadToolbar(r),0))}catch(pa){return!1}}bt(e){var t=Tn.ph_load_toolbar||Tn.ph_load_editor;!Zn(t)&&Un(t)?t(e,this.instance):io.warn("No toolbar load function found")}loadToolbar(e){var t=!(null==wn||!wn.getElementById(Ii));if(!mn||t)return!1;var n="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,r=On({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});if(mn.localStorage.setItem(ro,JSON.stringify(On({},r,{source:void 0}))),this.yt()===ao.LOADED)this.bt(r);else if(this.yt()===ao.UNINITIALIZED){var i;this._t(ao.LOADING),null==(i=Tn.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this.instance,"toolbar",e=>{if(e)return io.error("[Toolbar] Failed to load",e),void this._t(ao.UNINITIALIZED);this._t(ao.LOADED),this.bt(r)}),ti(mn,"turbolinks:load",()=>{this._t(ao.UNINITIALIZED),this.loadToolbar(r)})}return!0}wt(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===n&&(n=void 0),this.maybeLoadToolbar(e,t,n)}}var so=Br("[TracingHeaders]");class lo{constructor(e){this.xt=void 0,this.St=void 0,this.rt=()=>{var e,t;Gn(this.xt)&&(null==(e=Tn.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)||e._patchXHR(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager)),Gn(this.St)&&(null==(t=Tn.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)||t._patchFetch(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}it(e){var t,n;null!=(t=Tn.__PosthogExtensions__)&&t.tracingHeadersPatchFns&&e(),null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return so.error("failed to load script",t);e()})}startIfEnabledOrStop(){var e,t;this._instance.config.__add_tracing_headers?this.it(this.rt):(null==(e=this.xt)||e.call(this),null==(t=this.St)||t.call(this),this.xt=void 0,this.St=void 0)}}var co="Mobile",uo="iOS",po="Android",fo="Tablet",ho=po+" "+fo,go="iPad",mo="Apple",vo=mo+" Watch",bo="Safari",yo="BlackBerry",ko="Samsung",xo=ko+"Browser",wo=ko+" Internet",So="Chrome",_o=So+" OS",Co=So+" "+uo,Po="Internet Explorer",Eo=Po+" "+co,To="Opera",zo=To+" Mini",Ro="Edge",Io="Microsoft "+Ro,Oo="Firefox",Ao=Oo+" "+uo,Fo="Nintendo",Mo="PlayStation",Do="Xbox",jo=po+" "+co,No=co+" "+bo,Lo="Windows",Bo=Lo+" Phone",$o="Nokia",Wo="Ouya",Ho="Generic",Vo=Ho+" "+co.toLowerCase(),Uo=Ho+" "+fo.toLowerCase(),qo="Konqueror",Yo="(\\d+(\\.\\d+)?)",Go=new RegExp("Version/"+Yo),Qo=new RegExp(Do,"i"),Ko=new RegExp(Mo+" \\w+","i"),Xo=new RegExp(Fo+" \\w+","i"),Zo=new RegExp(yo+"|PlayBook|BB10","i"),Jo={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},es=function(e,t){return t=t||"",jn(e," OPR/")&&jn(e,"Mini")?zo:jn(e," OPR/")?To:Zo.test(e)?yo:jn(e,"IE"+co)||jn(e,"WPDesktop")?Eo:jn(e,xo)?wo:jn(e,Ro)||jn(e,"Edg/")?Io:jn(e,"FBIOS")?"Facebook "+co:jn(e,"UCWEB")||jn(e,"UCBrowser")?"UC Browser":jn(e,"CriOS")?Co:jn(e,"CrMo")||jn(e,So)?So:jn(e,po)&&jn(e,bo)?jo:jn(e,"FxiOS")?Ao:jn(e.toLowerCase(),qo.toLowerCase())?qo:((e,t)=>{return t&&jn(t,mo)||jn(n=e,bo)&&!jn(n,So)&&!jn(n,po);var n})(e,t)?jn(e,co)?No:bo:jn(e,Oo)?Oo:jn(e,"MSIE")||jn(e,"Trident/")?Po:jn(e,"Gecko")?Oo:""},ts={[Eo]:[new RegExp("rv:"+Yo)],[Io]:[new RegExp(Ro+"?\\/"+Yo)],[So]:[new RegExp("("+So+"|CrMo)\\/"+Yo)],[Co]:[new RegExp("CriOS\\/"+Yo)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Yo)],[bo]:[Go],[No]:[Go],[To]:[new RegExp("(Opera|OPR)\\/"+Yo)],[Oo]:[new RegExp(Oo+"\\/"+Yo)],[Ao]:[new RegExp("FxiOS\\/"+Yo)],[qo]:[new RegExp("Konqueror[:/]?"+Yo,"i")],[yo]:[new RegExp(yo+" "+Yo),Go],[jo]:[new RegExp("android\\s"+Yo,"i")],[wo]:[new RegExp(xo+"\\/"+Yo)],[Po]:[new RegExp("(rv:|MSIE )"+Yo)],Mozilla:[new RegExp("rv:"+Yo)]},ns=function(e,t){var n=es(e,t),r=ts[n];if(Gn(r))return null;for(var i=0;i<r.length;i++){var a=r[i],o=e.match(a);if(o)return parseFloat(o[o.length-2])}return null},rs=[[new RegExp(Do+"; "+Do+" (.*?)[);]","i"),e=>[Do,e&&e[1]||""]],[new RegExp(Fo,"i"),[Fo,""]],[new RegExp(Mo,"i"),[Mo,""]],[Zo,[yo,""]],[new RegExp(Lo,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[Bo,""];if(new RegExp(co).test(t)&&!/IEMobile\b/.test(t))return[Lo+" "+co,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=n[1],i=Jo[r]||"";return/arm/i.test(t)&&(i="RT"),[Lo,i]}return[Lo,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>{if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[uo,t.join(".")]}return[uo,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=Gn(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+po+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+po+")","i"),e=>{if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[po,t.join(".")]}return[po,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var n=[e[1],e[2],e[3]||"0"];t[1]=n.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[_o,""]],[/Linux|debian/i,["Linux",""]]],is=function(e){return Xo.test(e)?Fo:Ko.test(e)?Mo:Qo.test(e)?Do:new RegExp(Wo,"i").test(e)?Wo:new RegExp("("+Bo+"|WPDesktop)","i").test(e)?Bo:/iPad/.test(e)?go:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?vo:Zo.test(e)?yo:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp($o,"i").test(e)?$o:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?!new RegExp(co).test(e)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)?/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?po:ho:po:new RegExp("(pda|"+co+")","i").test(e)?Vo:new RegExp(fo,"i").test(e)&&!new RegExp(fo+" pc","i").test(e)?Uo:""},as="https?://(.*)",os=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],ss=Yr(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],os),ls="<masked>",cs=["li_fat_id"];function us(e,t,n){if(!wn)return{};var r,i=t?Yr([],os,n||[]):[],a=ds(va(wn.URL,i,ls),e),o=(r={},Ur(cs,function(e){var t=Aa.q(e);r[e]=t||null}),r);return qr(o,a)}function ds(e,t){var n=ss.concat(t||[]),r={};return Ur(n,function(t){var n=ma(e,t);r[t]=n||null}),r}function ps(e){var t,n=(t=e)?0===t.search(as+"google.([^/?]*)")?"google":0===t.search(as+"bing.com")?"bing":0===t.search(as+"yahoo.com")?"yahoo":0===t.search(as+"duckduckgo.com")?"duckduckgo":null:null,r="yahoo"!=n?"q":"p",i={};if(!Xn(n)){i.$search_engine=n;var a=wn?ma(wn.referrer,r):"";a.length&&(i.ph_keyword=a)}return i}function fs(){return navigator.language||navigator.userLanguage}function hs(){return(null==wn?void 0:wn.referrer)||"$direct"}function gs(e,t){var n=e?Yr([],os,t||[]):[],r=null==Sn?void 0:Sn.href.substring(0,1e3);return{r:hs().substring(0,1e3),u:r?va(r,n,ls):void 0}}function ms(e){var t,{r:n,u:r}=e,i={$referrer:n,$referring_domain:null==n?void 0:"$direct"==n?"$direct":null==(t=ga(n))?void 0:t.host};if(r){i.$current_url=r;var a=ga(r);i.$host=null==a?void 0:a.host,i.$pathname=null==a?void 0:a.pathname;var o=ds(r);qr(i,o)}if(n){var s=ps(n);qr(i,s)}return i}function vs(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(pa){return}}function bs(){try{return(new Date).getTimezoneOffset()}catch(pa){return}}var ys=Br("[Web Vitals]"),ks=9e5;class xs{constructor(e){var t;this.Et=!1,this.P=!1,this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.$t=()=>{clearTimeout(this.kt),0!==this.N.metrics.length&&(this._instance.capture("$web_vitals",this.N.metrics.reduce((e,t)=>On({},e,{["$web_vitals_"+t.name+"_event"]:On({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Pt=e=>{var t,n=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0);if(Gn(n))ys.error("Could not read session ID. Dropping metrics!");else{this.N=this.N||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var r=this.Tt();Gn(r)||(Zn(null==e?void 0:e.name)||Zn(null==e?void 0:e.value)?ys.error("Invalid metric received",e):this.Rt&&e.value>=this.Rt?ys.error("Ignoring metric with value >= "+this.Rt,e):(this.N.url!==r&&(this.$t(),this.kt=setTimeout(this.$t,this.flushToCaptureTimeoutMs)),Gn(this.N.url)&&(this.N.url=r),this.N.firstMetricTimestamp=Gn(this.N.firstMetricTimestamp)?Date.now():this.N.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0),this.N.metrics.push(On({},e,{$current_url:r,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.N.metrics.length===this.allowedMetrics.length&&this.$t()))}},this.rt=()=>{var e,t,n,r,i=Tn.__PosthogExtensions__;Gn(i)||Gn(i.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:n,onINP:r}=i.postHogWebVitalsCallbacks),e&&t&&n&&r?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.Pt.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.Pt.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.Pt.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&r(this.Pt.bind(this)),this.P=!0):ys.error("web vitals callbacks not loaded - not starting")},this._instance=e,this.Et=!(null==(t=this._instance.persistence)||!t.props[ui]),this.startIfEnabled()}get allowedMetrics(){var e,t,n=qn(this._instance.config.capture_performance)?null==(e=this._instance.config.capture_performance)?void 0:e.web_vitals_allowed_metrics:void 0;return Gn(n)?(null==(t=this._instance.persistence)?void 0:t.props[pi])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(qn(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get Rt(){var e=qn(this._instance.config.capture_performance)&&Jn(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:ks;return 0<e&&e<=6e4?ks:e}get isEnabled(){var e=null==Sn?void 0:Sn.protocol;if("http:"!==e&&"https:"!==e)return ys.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=qn(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:er(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return er(t)?t:this.Et}startIfEnabled(){this.isEnabled&&!this.P&&(ys.info("enabled, starting..."),this.it(this.rt))}onRemoteConfig(e){var t=qn(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=qn(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[ui]:t}),this._instance.persistence.register({[pi]:n})),this.Et=t,this.startIfEnabled()}it(e){var t,n;null!=(t=Tn.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks&&e(),null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"web-vitals",t=>{t?ys.error("failed to load script",t):e()})}Tt(){var e=mn?mn.location.href:void 0;if(e){var t=this._instance.config.mask_personal_data_properties,n=this._instance.config.custom_personal_data_properties,r=t?Yr([],os,n||[]):[];return va(e,r,ls)}ys.error("Could not determine current URL")}}var ws=Br("[Heatmaps]");function Ss(e){return qn(e)&&"clientX"in e&&"clientY"in e&&Jn(e.clientX)&&Jn(e.clientY)}class _s{constructor(e){var t;this.rageclicks=new da,this.Et=!1,this.P=!1,this.It=null,this.instance=e,this.Et=!(null==(t=this.instance.persistence)||!t.props[oi])}get flushIntervalMilliseconds(){var e=5e3;return qn(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(e=this.instance.config.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Gn(this.instance.config.capture_heatmaps)?Gn(this.instance.config.enable_heatmaps)?this.Et:this.instance.config.enable_heatmaps:!1!==this.instance.config.capture_heatmaps}startIfEnabled(){if(this.isEnabled){if(this.P)return;ws.info("starting..."),this.Ct(),this.Ot()}else{var e;clearInterval(null!==(e=this.It)&&void 0!==e?e:void 0),this.Ft(),this.getAndClearBuffer()}}onRemoteConfig(e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[oi]:t}),this.Et=t,this.startIfEnabled()}getAndClearBuffer(){var e=this.N;return this.N=void 0,e}Mt(e){this.At(e.originalEvent,"deadclick")}Ot(){this.It&&clearInterval(this.It),this.It="visible"===(null==wn?void 0:wn.visibilityState)?setInterval(this.Dt.bind(this),this.flushIntervalMilliseconds):null}Ct(){mn&&wn&&(this.jt=this.Dt.bind(this),ti(mn,"beforeunload",this.jt),this.Lt=e=>this.At(e||(null==mn?void 0:mn.event)),ti(wn,"click",this.Lt,{capture:!0}),this.Nt=e=>this.Ut(e||(null==mn?void 0:mn.event)),ti(wn,"mousemove",this.Nt,{capture:!0}),this.zt=new Ya(this.instance,Ua,this.Mt.bind(this)),this.zt.startIfEnabled(),this.Ht=this.Ot.bind(this),ti(wn,"visibilitychange",this.Ht),this.P=!0)}Ft(){var e;mn&&wn&&(this.jt&&mn.removeEventListener("beforeunload",this.jt),this.Lt&&wn.removeEventListener("click",this.Lt,{capture:!0}),this.Nt&&wn.removeEventListener("mousemove",this.Nt,{capture:!0}),this.Ht&&wn.removeEventListener("visibilitychange",this.Ht),clearTimeout(this.Bt),null==(e=this.zt)||e.stop(),this.P=!1)}qt(e,t){var n=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),i=this.instance.scrollManager.scrollElement(),a=function(e,t,n){for(var r=e;r&&Mi(r)&&!Di(r,"body");){if(r===n)return!1;if(jn(t,null==mn?void 0:mn.getComputedStyle(r).position))return!0;r=Yi(r)}return!1}(Vi(e),["fixed","sticky"],i);return{x:e.clientX+(a?0:r),y:e.clientY+(a?0:n),target_fixed:a,type:t}}At(e,t){var n;if(void 0===t&&(t="click"),!Fi(e.target)&&Ss(e)){var r=this.qt(e,t);null!=(n=this.rageclicks)&&n.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this.Wt(On({},r,{type:"rageclick"})),this.Wt(r)}}Ut(e){!Fi(e.target)&&Ss(e)&&(clearTimeout(this.Bt),this.Bt=setTimeout(()=>{this.Wt(this.qt(e,"mousemove"))},500))}Wt(e){if(mn){var t=mn.location.href,n=this.instance.config.mask_personal_data_properties,r=this.instance.config.custom_personal_data_properties,i=n?Yr([],os,r||[]):[],a=va(t,i,ls);this.N=this.N||{},this.N[a]||(this.N[a]=[]),this.N[a].push(e)}}Dt(){this.N&&!Yn(this.N)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}class Cs{constructor(e){this._instance=e}doPageView(e,t){var n,r=this.Gt(e,t);return this.Vt={pathname:null!==(n=null==mn?void 0:mn.location.pathname)&&void 0!==n?n:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),r}doPageLeave(e){var t;return this.Gt(e,null==(t=this.Vt)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.Vt)?void 0:e.pageViewId}}Gt(e,t){var n=this.Vt;if(!n)return{$pageview_id:t};var r={$pageview_id:t,$prev_pageview_id:n.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:a,lastScrollY:o,maxScrollY:s,maxContentHeight:l,lastContentY:c,maxContentY:u}=i;if(!(Gn(a)||Gn(o)||Gn(s)||Gn(l)||Gn(c)||Gn(u))){a=Math.ceil(a),o=Math.ceil(o),s=Math.ceil(s),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u);var d=a<=1?1:lr(o/a,0,1,Lr),p=a<=1?1:lr(s/a,0,1,Lr),f=l<=1?1:lr(c/l,0,1,Lr),h=l<=1?1:lr(u/l,0,1,Lr);r=qr(r,{$prev_pageview_last_scroll:o,$prev_pageview_last_scroll_percentage:d,$prev_pageview_max_scroll:s,$prev_pageview_max_scroll_percentage:p,$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:f,$prev_pageview_max_content:u,$prev_pageview_max_content_percentage:h})}}return n.pathname&&(r.$prev_pageview_pathname=n.pathname),n.timestamp&&(r.$prev_pageview_duration=(e.getTime()-n.timestamp.getTime())/1e3),r}}var Ps=Uint8Array,Es=Uint16Array,Ts=Uint32Array,zs=new Ps([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Rs=new Ps([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Is=new Ps([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Os=function(e,t){for(var n=new Es(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Ts(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return[n,i]},As=Os(zs,2),Fs=As[0],Ms=As[1];Fs[28]=258,Ms[258]=28;for(var Ds=Os(Rs,0)[1],js=new Es(32768),Ns=0;Ns<32768;++Ns){var Ls=(43690&Ns)>>>1|(21845&Ns)<<1;Ls=(61680&(Ls=(52428&Ls)>>>2|(13107&Ls)<<2))>>>4|(3855&Ls)<<4,js[Ns]=((65280&Ls)>>>8|(255&Ls)<<8)>>>1}var Bs=function(e,t,n){for(var r=e.length,i=0,a=new Es(t);i<r;++i)++a[e[i]-1];var o,s=new Es(t);for(i=0;i<t;++i)s[i]=s[i-1]+a[i-1]<<1;for(o=new Es(r),i=0;i<r;++i)o[i]=js[s[e[i]-1]++]>>>15-e[i];return o},$s=new Ps(288);for(Ns=0;Ns<144;++Ns)$s[Ns]=8;for(Ns=144;Ns<256;++Ns)$s[Ns]=9;for(Ns=256;Ns<280;++Ns)$s[Ns]=7;for(Ns=280;Ns<288;++Ns)$s[Ns]=8;var Ws=new Ps(32);for(Ns=0;Ns<32;++Ns)Ws[Ns]=5;var Hs=Bs($s,9),Vs=Bs(Ws,5),Us=function(e){return(e/8|0)+(7&e&&1)},qs=function(e,t,n){(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof Es?Es:e instanceof Ts?Ts:Ps)(n-t);return r.set(e.subarray(t,n)),r},Ys=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},Gs=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},Qs=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,a=n.slice();if(!i)return[new Ps(0),0];if(1==i){var o=new Ps(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],l=n[1],c=0,u=1,d=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};u!=i-1;)s=n[n[c].f<n[d].f?c++:d++],l=n[c!=u&&n[c].f<n[d].f?c++:d++],n[u++]={s:-1,f:s.f+l.f,l:s,r:l};var p=a[0].s;for(r=1;r<i;++r)a[r].s>p&&(p=a[r].s);var f=new Es(p+1),h=Ks(n[u-1],f,0);if(h>t){r=0;var g=0,m=h-t,v=1<<m;for(a.sort(function(e,t){return f[t.s]-f[e.s]||e.f-t.f});r<i;++r){var b=a[r].s;if(!(f[b]>t))break;g+=v-(1<<h-f[b]),f[b]=t}for(g>>>=m;g>0;){var y=a[r].s;f[y]<t?g-=1<<t-f[y]++-1:++r}for(;r>=0&&g;--r){var k=a[r].s;f[k]==t&&(--f[k],++g)}h=t}return[new Ps(f),h]},Ks=function(e,t,n){return-1==e.s?Math.max(Ks(e.l,t,n+1),Ks(e.r,t,n+1)):t[e.s]=n},Xs=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Es(++t),r=0,i=e[0],a=1,o=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return[n.subarray(0,r),t]},Zs=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},Js=function(e,t,n){var r=n.length,i=Us(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<r;++a)e[i+a+4]=n[a];return 8*(i+4+r)},el=function(e,t,n,r,i,a,o,s,l,c,u){Ys(t,u++,n),++i[256];for(var d=Qs(i,15),p=d[0],f=d[1],h=Qs(a,15),g=h[0],m=h[1],v=Xs(p),b=v[0],y=v[1],k=Xs(g),x=k[0],w=k[1],S=new Es(19),_=0;_<b.length;++_)S[31&b[_]]++;for(_=0;_<x.length;++_)S[31&x[_]]++;for(var C=Qs(S,7),P=C[0],E=C[1],T=19;T>4&&!P[Is[T-1]];--T);var z,R,I,O,A=c+5<<3,F=Zs(i,$s)+Zs(a,Ws)+o,M=Zs(i,p)+Zs(a,g)+o+14+3*T+Zs(S,P)+(2*S[16]+3*S[17]+7*S[18]);if(A<=F&&A<=M)return Js(t,u,e.subarray(l,l+c));if(Ys(t,u,1+(M<F)),u+=2,M<F){z=Bs(p,f),R=p,I=Bs(g,m),O=g;var D=Bs(P,E);for(Ys(t,u,y-257),Ys(t,u+5,w-1),Ys(t,u+10,T-4),u+=14,_=0;_<T;++_)Ys(t,u+3*_,P[Is[_]]);u+=3*T;for(var j=[b,x],N=0;N<2;++N){var L=j[N];for(_=0;_<L.length;++_){var B=31&L[_];Ys(t,u,D[B]),u+=P[B],B>15&&(Ys(t,u,L[_]>>>5&127),u+=L[_]>>>12)}}}else z=Hs,R=$s,I=Vs,O=Ws;for(_=0;_<s;++_)if(r[_]>255){B=r[_]>>>18&31,Gs(t,u,z[B+257]),u+=R[B+257],B>7&&(Ys(t,u,r[_]>>>23&31),u+=zs[B]);var $=31&r[_];Gs(t,u,I[$]),u+=O[$],$>3&&(Gs(t,u,r[_]>>>5&8191),u+=Rs[$])}else Gs(t,u,z[r[_]]),u+=R[r[_]];return Gs(t,u,z[256]),u+R[256]},tl=new Ts([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),nl=function(){for(var e=new Ts(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),rl=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};var il=!!Cn||!!_n,al="text/plain",ol=function(e,t,n){var r;void 0===n&&(n=!0);var[i,a]=e.split("?"),o=On({},t),s=null!==(r=null==a?void 0:a.split("&").map(e=>{var t,[r,i]=e.split("="),a=n&&null!==(t=o[r])&&void 0!==t?t:i;return delete o[r],r+"="+a}))&&void 0!==r?r:[],l=function(e,t){var n,r;void 0===t&&(t="&");var i=[];return Ur(e,function(e,t){Gn(e)||Gn(t)||"undefined"===t||(n=encodeURIComponent(e instanceof File?e.name:e.toString()),r=encodeURIComponent(t),i[i.length]=r+"="+n)}),i.join(t)}(o);return l&&s.push(l),i+"?"+s.join("&")},sl=(e,t)=>JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t),ll=e=>{var t,{data:n,compression:r}=e;if(n){if(r===ha.GZipJS){var i=function(e,t){void 0===t&&(t={});var n=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=nl[255&n^t[r]]^n>>>8;e=n},d:function(){return 4294967295^e}}}(),r=e.length;n.p(e);var i,a=function(e,t,n){return function(e,t,n,r){var i=e.length,a=new Ps(r+i+5*(1+Math.floor(i/7e3))+8),o=a.subarray(r,a.length-8),s=0;if(!t||i<8)for(var l=0;l<=i;l+=65535){var c=l+65535;c<i?s=Js(o,s,e.subarray(l,c)):(o[l]=!0,s=Js(o,s,e.subarray(l,i)))}else{for(var u=tl[t-1],d=u>>>13,p=8191&u,f=(1<<n)-1,h=new Es(32768),g=new Es(f+1),m=Math.ceil(n/3),v=2*m,b=function(t){return(e[t]^e[t+1]<<m^e[t+2]<<v)&f},y=new Ts(25e3),k=new Es(288),x=new Es(32),w=0,S=0,_=(l=0,0),C=0,P=0;l<i;++l){var E=b(l),T=32767&l,z=g[E];if(h[T]=z,g[E]=T,C<=l){var R=i-l;if((w>7e3||_>24576)&&R>423){s=el(e,o,0,y,k,x,S,_,P,l-P,s),_=w=S=0,P=l;for(var I=0;I<286;++I)k[I]=0;for(I=0;I<30;++I)x[I]=0}var O=2,A=0,F=p,M=T-z&32767;if(R>2&&E==b(l-M))for(var D=Math.min(d,R)-1,j=Math.min(32767,l),N=Math.min(258,R);M<=j&&--F&&T!=z;){if(e[l+O]==e[l+O-M]){for(var L=0;L<N&&e[l+L]==e[l+L-M];++L);if(L>O){if(O=L,A=M,L>D)break;var B=Math.min(M,L-2),$=0;for(I=0;I<B;++I){var W=l-M+I+32768&32767,H=W-h[W]+32768&32767;H>$&&($=H,z=W)}}}M+=(T=z)-(z=h[T])+32768&32767}if(A){y[_++]=268435456|Ms[O]<<18|Ds[A];var V=31&Ms[O],U=31&Ds[A];S+=zs[V]+Rs[U],++k[257+V],++x[U],C=l+O,++w}else y[_++]=e[l],++k[e[l]]}}s=el(e,o,!0,y,k,x,S,_,P,l-P,s)}return qs(a,0,r+Us(s)+8)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n)}(e,t,10+((i=t).filename&&i.filename.length+1||0)),o=a.length;return function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&rl(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}}(a,t),rl(a,o-8,n.d()),rl(a,o-4,r),a}(function(e){var t=e.length;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var n=new Ps(e.length+(e.length>>>1)),r=0,i=function(e){n[r++]=e},a=0;a<t;++a){if(r+5>n.length){var o=new Ps(r+8+(t-a<<1));o.set(n),n=o}var s=e.charCodeAt(a);s<128?i(s):s<2048?(i(192|s>>>6),i(128|63&s)):s>55295&&s<57344?(i(240|(s=65536+(1047552&s)|1023&e.charCodeAt(++a))>>>18),i(128|s>>>12&63),i(128|s>>>6&63),i(128|63&s)):(i(224|s>>>12),i(128|s>>>6&63),i(128|63&s))}return qs(n,0,r)}(sl(n)),{mtime:0}),a=new Blob([i],{type:al});return{contentType:al,body:a,estimatedSize:a.size}}if(r===ha.Base64){var o=function(e){var t,n,r,i,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=function(e){var t,n,r,i,a="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<r;i++){var o=e.charCodeAt(i),s=null;o<128?n++:s=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),Xn(s)||(n>t&&(a+=e.substring(t,n)),a+=s,t=n=i+1)}return n>t&&(a+=e.substring(t,e.length)),a}(e);do{t=(a=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,u[l++]=o.charAt(t)+o.charAt(n)+o.charAt(r)+o.charAt(i)}while(s<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c}(sl(n)),s=(t=o,"data="+encodeURIComponent("string"==typeof t?t:sl(t)));return{contentType:"application/x-www-form-urlencoded",body:s,estimatedSize:new Blob([s]).size}}var l=sl(n);return{contentType:"application/json",body:l,estimatedSize:new Blob([l]).size}}},cl=[];_n&&cl.push({transport:"fetch",method:e=>{var t,n,{contentType:r,body:i,estimatedSize:a}=null!==(t=ll(e))&&void 0!==t?t:{},o=new Headers;Ur(e.headers,function(e,t){o.append(t,e)}),r&&o.append("Content-Type",r);var s=e.url,l=null;if(Pn){var c=new Pn;l={signal:c.signal,timeout:setTimeout(()=>c.abort(),e.timeout)}}_n(s,On({method:(null==e?void 0:e.method)||"GET",headers:o,keepalive:"POST"===e.method&&(a||0)<52428.8,body:i,signal:null==(n=l)?void 0:n.signal},e.fetchOptions)).then(t=>t.text().then(n=>{var r={statusCode:t.status,text:n};if(200===t.status)try{r.json=JSON.parse(n)}catch(i){Lr.error(i)}null==e.callback||e.callback(r)})).catch(t=>{Lr.error(t),null==e.callback||e.callback({statusCode:0,text:t})}).finally(()=>l?clearTimeout(l.timeout):null)}}),Cn&&cl.push({transport:"XHR",method:e=>{var t,n=new Cn;n.open(e.method||"GET",e.url,!0);var{contentType:r,body:i}=null!==(t=ll(e))&&void 0!==t?t:{};Ur(e.headers,function(e,t){n.setRequestHeader(t,e)}),r&&n.setRequestHeader("Content-Type",r),e.timeout&&(n.timeout=e.timeout),e.disableXHRCredentials||(n.withCredentials=!0),n.onreadystatechange=()=>{if(4===n.readyState){var t={statusCode:n.status,text:n.responseText};if(200===n.status)try{t.json=JSON.parse(n.responseText)}catch(r){}null==e.callback||e.callback(t)}},n.send(i)}}),null!=xn&&xn.sendBeacon&&cl.push({transport:"sendBeacon",method:e=>{var t=ol(e.url,{beacon:"1"});try{var n,{contentType:r,body:i}=null!==(n=ll(e))&&void 0!==n?n:{},a="string"==typeof i?new Blob([i],{type:r}):i;xn.sendBeacon(t,a)}catch(o){}}});var ul=function(e,t){if(!function(){return!0}())return!1;try{return new RegExp(t).test(e)}catch(n){return!1}};function dl(e,t,n){return sl({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var pl={exact:(e,t)=>t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>ul(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!ul(t,e))),icontains:(e,t)=>t.map(fl).some(t=>e.map(fl).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(fl).every(t=>e.map(fl).every(e=>!t.includes(e)))},fl=e=>e.toLowerCase(),hl=Br("[Error tracking]");class gl{constructor(e){var t,n;this.Jt=[],this.Kt=new Pr([new Er,new jr,new zr,new Tr,new Mr,new Fr,new Ir,new Dr],[xr,_r]),this._instance=e,this.Jt=null!==(t=null==(n=this._instance.persistence)?void 0:n.get_property(li))&&void 0!==t?t:[]}onRemoteConfig(e){var t,n,r,i=null!==(t=null==(n=e.errorTracking)?void 0:n.suppressionRules)&&void 0!==t?t:[],a=null==(r=e.errorTracking)?void 0:r.captureExtensionExceptions;this.Jt=i,this._instance.persistence&&this._instance.persistence.register({[li]:this.Jt,[ci]:a})}get Yt(){var e,t=!!this._instance.get_property(ci),n=this._instance.config.error_tracking.captureExtensionExceptions;return null!==(e=null!=n?n:t)&&void 0!==e&&e}buildProperties(e,t){return this.Kt.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}sendExceptionEvent(e){var t=e.$exception_list;if(this.Xt(t)){if(this.Qt(t))return void hl.info("Skipping exception capture because a suppression rule matched");if(!this.Yt&&this.Zt(t))return void hl.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ti(t))return void hl.info("Skipping exception capture because it was thrown by the PostHog SDK")}return this._instance.capture("$exception",e,{_noTruncate:!0,_batchKey:"exceptionEvent"})}Qt(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>{var{type:n,value:r}=t;return Qn(n)&&n.length>0&&e.$exception_types.push(n),Qn(r)&&r.length>0&&e.$exception_values.push(r),e},{$exception_types:[],$exception_values:[]});return this.Jt.some(e=>{var n=e.values.map(e=>{var n,r=pl[e.operator],i=Vn(e.value)?e.value:[e.value],a=null!==(n=t[e.key])&&void 0!==n?n:[];return i.length>0&&r(i,a)});return"OR"===e.type?n.some(Boolean):n.every(Boolean)})}Zt(e){return e.flatMap(e=>{var t,n;return null!==(t=null==(n=e.stacktrace)?void 0:n.frames)&&void 0!==t?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}ti(e){if(e.length>0){var t,n,r,i,a=null!==(t=null==(n=e[0].stacktrace)?void 0:n.frames)&&void 0!==t?t:[],o=a[a.length-1];return null!==(r=null==o||null==(i=o.filename)?void 0:i.includes("posthog.com/static"))&&void 0!==r&&r}return!1}Xt(e){return!Zn(e)&&Vn(e)}}var ml=Br("[FeatureFlags]"),vl="$active_feature_flags",bl="$override_feature_flags",yl="$feature_flag_payloads",kl="$override_feature_flag_payloads",xl="$feature_flag_request_id",wl=e=>{var t={};for(var[n,r]of Gr(e||{}))r&&(t[n]=r);return t},Sl=function(e){return e.FeatureFlags="feature_flags",e.Recordings="recordings",e}({});class _l{constructor(e){this.ii=!1,this.ei=!1,this.ri=!1,this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this._instance=e,this.featureFlagEventHandlers=[]}li(){var e=this._instance.config.evaluation_environments;return null!=e&&e.length?e.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||ml.error("Invalid evaluation environment found:",e,"Expected non-empty string"),t}):[]}ui(){return this.li().length>0}flags(){if(this._instance.config.__preview_remote_config)this.oi=!0;else{var e=!this.hi&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.di({disableFlags:e})}}get hasLoadedFlags(){return this.ei}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this._instance.get_property(bi),t=this._instance.get_property(bl),n=this._instance.get_property(kl);if(!n&&!t)return e||{};var r=qr({},e||{}),i=[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])];for(var a of i){var o,s,l=r[a],c=null==t?void 0:t[a],u=Gn(c)?null!==(o=null==l?void 0:l.enabled)&&void 0!==o&&o:!!c,d=Gn(c)?l.variant:"string"==typeof c?c:void 0,p=null==n?void 0:n[a],f=On({},l,{enabled:u,variant:u?null!=d?d:null==l?void 0:l.variant:void 0});u!==(null==l?void 0:l.enabled)&&(f.original_enabled=null==l?void 0:l.enabled),d!==(null==l?void 0:l.variant)&&(f.original_variant=null==l?void 0:l.variant),p&&(f.metadata=On({},null==l?void 0:l.metadata,{payload:p,original_payload:null==l||null==(s=l.metadata)?void 0:s.payload})),r[a]=f}return this.ii||(ml.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.ii=!0),r}getFlagVariants(){var e=this._instance.get_property(mi),t=this._instance.get_property(bl);if(!t)return e||{};for(var n=qr({},e),r=Object.keys(t),i=0;i<r.length;i++)n[r[i]]=t[r[i]];return this.ii||(ml.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.ii=!0),n}getFlagPayloads(){var e=this._instance.get_property(yl),t=this._instance.get_property(kl);if(!t)return e||{};for(var n=qr({},e||{}),r=Object.keys(t),i=0;i<r.length;i++)n[r[i]]=t[r[i]];return this.ii||(ml.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.ii=!0),n}reloadFeatureFlags(){this.si||this._instance.config.advanced_disable_feature_flags||this.hi||(this.hi=setTimeout(()=>{this.di()},5))}vi(){clearTimeout(this.hi),this.hi=void 0}ensureFlagsLoaded(){this.ei||this.ri||this.hi||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.si=e}di(e){var t;if(this.vi(),!this._instance.M())if(this.ri)this.ni=!0;else{var n={token:this._instance.config.token,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:On({},(null==(t=this._instance.persistence)?void 0:t.get_initial_props())||{},this._instance.get_property(yi)||{}),group_properties:this._instance.get_property(ki)};(null!=e&&e.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.ui()&&(n.evaluation_environments=this.li());var r=this._instance.config.__preview_remote_config,i=r?"/flags/?v=2":"/flags/?v=2&config=true",a=this._instance.config.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":"",o=this._instance.requestRouter.endpointFor("api",i+a);r&&(n.timezone=vs()),this.ri=!0,this._instance.ci({method:"POST",url:o,data:n,compression:this._instance.config.disable_compression?void 0:ha.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:e=>{var t,r,i=!0;if(200===e.statusCode&&(this.ni||(this.$anon_distinct_id=void 0),i=!1),this.ri=!1,this.oi||(this.oi=!0,this._instance.fi(null!==(r=e.json)&&void 0!==r?r:{})),!n.disable_flags||this.ni)if(this.ai=!i,e.json&&null!=(t=e.json.quotaLimited)&&t.includes(Sl.FeatureFlags))ml.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more.");else{var a;n.disable_flags||this.receivedFeatureFlags(null!==(a=e.json)&&void 0!==a?a:{},i),this.ni&&(this.ni=!1,this.di())}}})}}getFeatureFlag(e,t){if(void 0===t&&(t={}),this.ei||this.getFlags()&&this.getFlags().length>0){var n=this.getFlagVariants()[e],r=""+n,i=this._instance.get_property(xl)||void 0,a=this._instance.get_property(Si)||{};if((t.send_event||!("send_event"in t))&&(!(e in a)||!a[e].includes(r))){var o,s,l,c,u,d,p,f,h;Vn(a[e])?a[e].push(r):a[e]=[r],null==(o=this._instance.persistence)||o.register({[Si]:a});var g=this.getFeatureFlagDetails(e),m={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:this.getFeatureFlagPayload(e)||null,$feature_flag_request_id:i,$feature_flag_bootstrapped_response:(null==(s=this._instance.config.bootstrap)||null==(s=s.featureFlags)?void 0:s[e])||null,$feature_flag_bootstrapped_payload:(null==(l=this._instance.config.bootstrap)||null==(l=l.featureFlagPayloads)?void 0:l[e])||null,$used_bootstrap_value:!this.ai};Gn(null==g||null==(c=g.metadata)?void 0:c.version)||(m.$feature_flag_version=g.metadata.version);var v,b=null!==(u=null==g||null==(d=g.reason)?void 0:d.description)&&void 0!==u?u:null==g||null==(p=g.reason)?void 0:p.code;b&&(m.$feature_flag_reason=b),null!=g&&null!=(f=g.metadata)&&f.id&&(m.$feature_flag_id=g.metadata.id),Gn(null==g?void 0:g.original_variant)&&Gn(null==g?void 0:g.original_enabled)||(m.$feature_flag_original_response=Gn(g.original_variant)?g.original_enabled:g.original_variant),null!=g&&null!=(h=g.metadata)&&h.original_payload&&(m.$feature_flag_original_payload=null==g||null==(v=g.metadata)?void 0:v.original_payload),this._instance.capture("$feature_flag_called",m)}return n}ml.warn('getFeatureFlag for key "'+e+"\" failed. Feature flags didn't load in time.")}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){return this.getFlagPayloads()[e]}getRemoteConfigPayload(e,t){var n=this._instance.config.token,r={distinct_id:this._instance.get_distinct_id(),token:n};this.ui()&&(r.evaluation_environments=this.li()),this._instance.ci({method:"POST",url:this._instance.requestRouter.endpointFor("api","/flags/?v=2&config=true"),data:r,compression:this._instance.config.disable_compression?void 0:ha.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:n=>{var r,i=null==(r=n.json)?void 0:r.featureFlagPayloads;t((null==i?void 0:i[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),this.ei||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(e,t);return Gn(n)?void 0:!!n}ml.warn('isFeatureEnabled for key "'+e+"\" failed. Feature flags didn't load in time.")}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t){if(this._instance.persistence){this.ei=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads(),i=this.getFlagsWithDetails();!function(e,t,n,r,i){void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i={});var a=(e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map(e=>{var n;return[e,null!==(n=t[e].variant)&&void 0!==n?n:t[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter(e=>t[e].enabled).filter(e=>{var n;return null==(n=t[e].metadata)?void 0:n.payload}).map(e=>{var n;return[e,null==(n=t[e].metadata)?void 0:n.payload]}))):ml.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e})(e),o=a.flags,s=a.featureFlags,l=a.featureFlagPayloads;if(s){var c=e.requestId;if(Vn(s)){ml.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var u={};if(s)for(var d=0;d<s.length;d++)u[s[d]]=!0;t&&t.register({[vl]:s,[mi]:u})}else{var p=s,f=l,h=o;e.errorsWhileComputingFlags&&(p=On({},n,p),f=On({},r,f),h=On({},i,h)),t&&t.register(On({[vl]:Object.keys(wl(p)),[mi]:p||{},[yl]:f||{},[bi]:h||{}},c?{[xl]:c}:{}))}}}(e,this._instance.persistence,n,r,i),this.pi(t)}}override(e,t){void 0===t&&(t=!1),ml.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this._instance.persistence)return ml.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this._instance.persistence.unregister(bl),this._instance.persistence.unregister(kl),void this.pi();if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){var t,n=e;if(this.ii=Boolean(null!==(t=n.suppressWarning)&&void 0!==t&&t),"flags"in n)if(!1===n.flags)this._instance.persistence.unregister(bl);else if(n.flags)if(Vn(n.flags)){for(var r={},i=0;i<n.flags.length;i++)r[n.flags[i]]=!0;this._instance.persistence.register({[bl]:r})}else this._instance.persistence.register({[bl]:n.flags});return"payloads"in n&&(!1===n.payloads?this._instance.persistence.unregister(kl):n.payloads&&this._instance.persistence.register({[kl]:n.payloads})),void this.pi()}this.pi()}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.ei){var{flags:t,flagVariants:n}=this.gi();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,n){var r,i=(this._instance.get_property(vi)||[]).find(t=>t.flagKey===e),a={["$feature_enrollment/"+e]:t},o={$feature_flag:e,$feature_enrollment:t,$set:a};i&&(o.$early_access_feature_name=i.name),n&&(o.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(a,!1);var s=On({},this.getFlagVariants(),{[e]:t});null==(r=this._instance.persistence)||r.register({[vl]:Object.keys(wl(s)),[mi]:s}),this.pi()}getEarlyAccessFeatures(e,t,n){void 0===t&&(t=!1);var r=this._instance.get_property(vi),i=n?"&"+n.map(e=>"stage="+e).join("&"):"";if(r&&!t)return e(r);this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+i),method:"GET",callback:t=>{var n,r;if(t.json){var i=t.json.earlyAccessFeatures;return null==(n=this._instance.persistence)||n.unregister(vi),null==(r=this._instance.persistence)||r.register({[vi]:i}),e(i)}}})}gi(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,n)=>(e[n]=t[n],e),{})}}pi(e){var{flags:t,flagVariants:n}=this.gi();this.featureFlagEventHandlers.forEach(r=>r(t,n,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var n=this._instance.get_property(yi)||{};this._instance.register({[yi]:On({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(yi)}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var n=this._instance.get_property(ki)||{};0!==Object.keys(n).length&&Object.keys(n).forEach(t=>{n[t]=On({},n[t],e[t]),delete e[t]}),this._instance.register({[ki]:On({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this._instance.get_property(ki)||{};this._instance.register({[ki]:On({},t,{[e]:{}})})}else this._instance.unregister(ki)}reset(){this.ei=!1,this.ri=!1,this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this.$anon_distinct_id=void 0,this.vi(),this.ii=!1}}var Cl=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class Pl{constructor(e,t){var n,r;this.C=e,this.props={},this.mi=!1,this.yi=(r="",(n=e).token&&(r=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+r+"_posthog"),this.Y=this.bi(e),this.load(),e.debug&&Lr.info("Persistence loaded",e.persistence,On({},this.props)),this.update_config(e,e,t),this.save()}isDisabled(){return!!this.wi}bi(e){-1===Cl.indexOf(e.persistence.toLowerCase())&&(Lr.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t=e.persistence.toLowerCase();return"localstorage"===t&&Ma.H()?Ma:"localstorage+cookie"===t&&ja.H()?ja:"sessionstorage"===t&&$a.H()?$a:"memory"===t?La:"cookie"===t?Aa:ja.H()?ja:Aa}properties(){var e={};return Ur(this.props,function(t,n){if(n===mi&&qn(t))for(var r=Object.keys(t),i=0;i<r.length;i++)e["$feature/"+r[i]]=t[r[i]];else o=n,s=!1,(Xn(a=Ai)?s:kn&&a.indexOf===kn?-1!=a.indexOf(o):(Ur(a,function(e){if(s||(s=e===o))return Hr}),s))||(e[n]=t);var a,o,s}),e}load(){if(!this.wi){var e=this.Y.W(this.yi);e&&(this.props=qr({},e))}}save(){this.wi||this.Y.G(this.yi,this.props,this.xi,this.Si,this.Ei,this.C.debug)}remove(){this.Y.V(this.yi,!1),this.Y.V(this.yi,!0)}clear(){this.remove(),this.props={}}register_once(e,t,n){if(qn(e)){Gn(t)&&(t="None"),this.xi=Gn(n)?this.$i:n;var r=!1;if(Ur(e,(e,n)=>{this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.props[n]=e,r=!0)}),r)return this.save(),!0}return!1}register(e,t){if(qn(e)){this.xi=Gn(t)?this.$i:t;var n=!1;if(Ur(e,(t,r)=>{e.hasOwnProperty(r)&&this.props[r]!==t&&(this.props[r]=t,n=!0)}),n)return this.save(),!0}return!1}unregister(e){e in this.props&&(delete this.props[e],this.save())}update_campaign_params(){if(!this.mi){var e=us(this.C.custom_campaign_params,this.C.mask_personal_data_properties,this.C.custom_personal_data_properties);Yn(Xr(e))||this.register(e),this.mi=!0}}update_search_keyword(){var e;this.register((e=null==wn?void 0:wn.referrer)?ps(e):{})}update_referrer_info(){var e;this.register_once({$referrer:hs(),$referring_domain:null!=wn&&wn.referrer&&(null==(e=ga(wn.referrer))?void 0:e.host)||"$direct"},void 0)}set_initial_person_info(){this.props[Ei]||this.props[Ti]||this.register_once({[zi]:gs(this.C.mask_personal_data_properties,this.C.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};Ur([Ti,Ei],t=>{var n=this.props[t];n&&Ur(n,function(t,n){e["$initial_"+Ln(n)]=t})});var t,n,r=this.props[zi];if(r){var i=(t=ms(r),n={},Ur(t,function(e,t){n["$initial_"+Ln(t)]=e}),n);qr(e,i)}return e}safe_merge(e){return Ur(this.props,function(t,n){n in e||(e[n]=t)}),e}update_config(e,t,n){if(this.$i=this.xi=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!n),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==t.persistence){var r=this.bi(e),i=this.props;this.clear(),this.Y=r,this.props=i,this.save()}}set_disabled(e){this.wi=e,this.wi?this.remove():this.save()}set_cross_subdomain(e){e!==this.Si&&(this.Si=e,this.remove(),this.save())}set_secure(e){e!==this.Ei&&(this.Ei=e,this.remove(),this.save())}set_event_timer(e,t){var n=this.props[ii]||{};n[e]=t,this.props[ii]=n,this.save()}remove_event_timer(e){var t=(this.props[ii]||{})[e];return Gn(t)||(delete this.props[ii][e],this.save()),t}get_property(e){return this.props[e]}set_property(e,t){this.props[e]=t,this.save()}}!function(e){e.Button="button",e.Tab="tab",e.Selector="selector"}({}),function(e){e.TopLeft="top_left",e.TopRight="top_right",e.TopCenter="top_center",e.MiddleLeft="middle_left",e.MiddleRight="middle_right",e.MiddleCenter="middle_center",e.Left="left",e.Center="center",e.Right="right",e.NextToTrigger="next_to_trigger"}({});var El=function(e){return e.Popover="popover",e.API="api",e.Widget="widget",e.ExternalSurvey="external_survey",e}({});!function(e){e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link"}({}),function(e){e.NextQuestion="next_question",e.End="end",e.ResponseBased="response_based",e.SpecificQuestion="specific_question"}({}),function(e){e.Once="once",e.Recurring="recurring",e.Always="always"}({});var Tl=function(e){return e.SHOWN="survey shown",e.DISMISSED="survey dismissed",e.SENT="survey sent",e}({}),zl=function(e){return e.SURVEY_ID="$survey_id",e.SURVEY_NAME="$survey_name",e.SURVEY_RESPONSE="$survey_response",e.SURVEY_ITERATION="$survey_iteration",e.SURVEY_ITERATION_START_DATE="$survey_iteration_start_date",e.SURVEY_PARTIALLY_COMPLETED="$survey_partially_completed",e.SURVEY_SUBMISSION_ID="$survey_submission_id",e.SURVEY_QUESTIONS="$survey_questions",e.SURVEY_COMPLETED="$survey_completed",e}({}),Rl=function(e){return e.Popover="popover",e.Inline="inline",e}({});class Il{constructor(){this.ki={},this.ki={}}on(e,t){return this.ki[e]||(this.ki[e]=[]),this.ki[e].push(t),()=>{this.ki[e]=this.ki[e].filter(e=>e!==t)}}emit(e,t){for(var n of this.ki[e]||[])n(t);for(var r of this.ki["*"]||[])r(e,t)}}class Ol{constructor(e){this.Pi=new Il,this.Ti=(e,t)=>this.Ri(e,t)&&this.Ii(e,t)&&this.Ci(e,t),this.Ri=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.Oi=new Set,this.Fi=new Set}init(){var e,t;Gn(null==(e=this._instance)?void 0:e.Mi)||null==(t=this._instance)||t.Mi((e,t)=>{this.on(e,t)})}register(e){var t,n;if(!Gn(null==(t=this._instance)?void 0:t.Mi)&&(e.forEach(e=>{var t,n;null==(t=this.Fi)||t.add(e),null==(n=e.steps)||n.forEach(e=>{var t;null==(t=this.Oi)||t.add((null==e?void 0:e.event)||"")})}),null!=(n=this._instance)&&n.autocapture)){var r,i=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&i.add(null==e?void 0:e.selector)})}),null==(r=this._instance)||r.autocapture.setElementSelectors(i)}}on(e,t){var n;null!=t&&0!=e.length&&(this.Oi.has(e)||this.Oi.has(null==t?void 0:t.event))&&this.Fi&&(null==(n=this.Fi)?void 0:n.size)>0&&this.Fi.forEach(e=>{this.Ai(t,e)&&this.Pi.emit("actionCaptured",e.name)})}Di(e){this.onAction("actionCaptured",t=>e(t))}Ai(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var n of t.steps)if(this.Ti(e,n))return!0;return!1}onAction(e,t){return this.Pi.on(e,t)}Ii(e,t){if(null!=t&&t.url){var n,r=null==e||null==(n=e.properties)?void 0:n.$current_url;if(!r||"string"!=typeof r)return!1;if(!Ol.ji(r,null==t?void 0:t.url,(null==t?void 0:t.url_matching)||"contains"))return!1}return!0}static ji(e,t,n){switch(n){case"regex":return!!mn&&ul(e,t);case"exact":return t===e;case"contains":var r=Ol.Li(t).replace(/_/g,".").replace(/%/g,".*");return ul(e,r);default:return!1}}static Li(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}Ci(e,t){if((null!=t&&t.href||null!=t&&t.tag_name||null!=t&&t.text)&&!this.Ni(e).some(e=>!(null!=t&&t.href&&!Ol.ji(e.href||"",null==t?void 0:t.href,(null==t?void 0:t.href_matching)||"exact")||null!=t&&t.tag_name&&e.tag_name!==(null==t?void 0:t.tag_name)||null!=t&&t.text&&!Ol.ji(e.text||"",null==t?void 0:t.text,(null==t?void 0:t.text_matching)||"exact")&&!Ol.ji(e.$el_text||"",null==t?void 0:t.text,(null==t?void 0:t.text_matching)||"exact"))))return!1;if(null!=t&&t.selector){var n,r=null==e||null==(n=e.properties)?void 0:n.$element_selectors;if(!r)return!1;if(!r.includes(null==t?void 0:t.selector))return!1}return!0}Ni(e){return null==(null==e?void 0:e.properties.$elements)?[]:null==e?void 0:e.properties.$elements}}var Al=Br("[Surveys]"),Fl="seenSurvey_",Ml=(e,t)=>{var n="$survey_"+t+"/"+e.id;return e.current_iteration&&e.current_iteration>0&&(n="$survey_"+t+"/"+e.id+"/"+e.current_iteration),n},Dl=e=>{var t=""+Fl+e.id;return e.current_iteration&&e.current_iteration>0&&(t=""+Fl+e.id+"_"+e.current_iteration),t},jl=[El.Popover,El.Widget,El.API],Nl={ignoreConditions:!1,ignoreDelay:!1,displayType:Rl.Popover};class Ll{constructor(e){this._instance=e,this.Ui=new Map,this.zi=new Map}register(e){var t;Gn(null==(t=this._instance)?void 0:t.Mi)||(this.Hi(e),this.Bi(e))}Bi(e){var t=e.filter(e=>{var t,n;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)?void 0:n.length)>0});0!==t.length&&(null==this.qi&&(this.qi=new Ol(this._instance),this.qi.init(),this.qi.Di(e=>{this.onAction(e)})),t.forEach(e=>{var t,n,r,i,a;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(n=e.conditions)&&null!=(n=n.actions)&&n.values&&(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)?void 0:r.length)>0&&(null==(i=this.qi)||i.register(e.conditions.actions.values),null==(a=e.conditions)||null==(a=a.actions)||null==(a=a.values)||a.forEach(t=>{if(t&&t.name){var n=this.zi.get(t.name);n&&n.push(e.id),this.zi.set(t.name,n||[e.id])}}))}))}Hi(e){var t;0!==e.filter(e=>{var t,n;return(null==(t=e.conditions)?void 0:t.events)&&(null==(n=e.conditions)||null==(n=n.events)||null==(n=n.values)?void 0:n.length)>0}).length&&(null==(t=this._instance)||t.Mi((e,t)=>{this.onEvent(e,t)}),e.forEach(e=>{var t;null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||t.forEach(t=>{if(t&&t.name){var n=this.Ui.get(t.name);n&&n.push(e.id),this.Ui.set(t.name,n||[e.id])}})}))}onEvent(e,t){var n,r,i=(null==(n=this._instance)||null==(n=n.persistence)?void 0:n.props[wi])||[];if(Tl.SHOWN===e&&t&&i.length>0){var a;Al.info("survey event matched, removing survey from activated surveys",{event:e,eventPayload:t,existingActivatedSurveys:i});var o=null==t||null==(a=t.properties)?void 0:a.$survey_id;if(o){var s=i.indexOf(o);s>=0&&(i.splice(s,1),this.Wi(i))}}else if(this.Ui.has(e)){Al.info("survey event name matched",{event:e,eventPayload:t,surveys:this.Ui.get(e)});var l=[];null==(r=this._instance)||r.getSurveys(t=>{l=t.filter(t=>{var n;return null==(n=this.Ui.get(e))?void 0:n.includes(t.id)})});var c=l.filter(n=>{var r,i=null==(r=n.conditions)||null==(r=r.events)||null==(r=r.values)?void 0:r.find(t=>t.name===e);return!!i&&(!i.propertyFilters||Object.entries(i.propertyFilters).every(e=>{var n,[r,i]=e,a=null==t||null==(n=t.properties)?void 0:n[r];if(Gn(a)||Xn(a))return!1;var o=[String(a)],s=pl[i.operator];return s?s(i.values,o):(Al.warn("Unknown property comparison operator: "+i.operator),!1)}))});this.Wi(i.concat(c.map(e=>e.id)||[]))}}onAction(e){var t,n=(null==(t=this._instance)||null==(t=t.persistence)?void 0:t.props[wi])||[];this.zi.has(e)&&this.Wi(n.concat(this.zi.get(e)||[]))}Wi(e){var t;Al.info("updating activated surveys",{activatedSurveys:e}),null==(t=this._instance)||null==(t=t.persistence)||t.register({[wi]:[...new Set(e)]})}getSurveys(){var e;return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[wi])||[]}getEventToSurveys(){return this.Ui}Gi(){return this.qi}}class Bl{constructor(e){this.Vi=void 0,this._surveyManager=null,this.Ji=!1,this.Ki=!1,this.Yi=[],this._instance=e,this._surveyEventReceiver=null}onRemoteConfig(e){if(!this._instance.config.disable_surveys){var t=e.surveys;if(Zn(t))return Al.warn("Flags not loaded yet. Not loading surveys.");var n=Vn(t);this.Vi=n?t.length>0:t,Al.info("flags response received, isSurveysEnabled: "+this.Vi),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var n=localStorage.key(t);(null!=n&&n.startsWith(Fl)||null!=n&&n.startsWith("inProgressSurvey_"))&&e.push(n)}e.forEach(e=>localStorage.removeItem(e))}loadIfEnabled(){if(!this._surveyManager)if(this.Ki)Al.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)Al.info("Disabled. Not loading surveys.");else if(this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())Al.info("Not loading surveys in cookieless mode without consent.");else{var e=null==Tn?void 0:Tn.__PosthogExtensions__;if(e){if(!Gn(this.Vi)||this._instance.config.advanced_enable_surveys){var t=this.Vi||this._instance.config.advanced_enable_surveys;this.Ki=!0;try{var n=e.generateSurveys;if(n)return void this.Xi(n,t);var r=e.loadExternalDependency;if(!r)return void this.Qi("PostHog loadExternalDependency extension not found.");r(this._instance,"surveys",n=>{n||!e.generateSurveys?this.Qi("Could not load surveys script",n):this.Xi(e.generateSurveys,t)})}catch(i){throw this.Qi("Error initializing surveys",i),i}finally{this.Ki=!1}}}else Al.error("PostHog Extensions not found.")}}Xi(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new Ll(this._instance),Al.info("Surveys loaded successfully"),this.Zi({isLoaded:!0})}Qi(e,t){Al.error(e,t),this.Zi({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.Yi.push(e),this._surveyManager&&this.Zi({isLoaded:!0}),()=>{this.Yi=this.Yi.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this._instance.config.disable_surveys)return Al.info("Disabled. Not loading surveys."),e([]);var n=this._instance.get_property(xi);if(n&&!t)return e(n,{isLoaded:!0});if(this.Ji)return e([],{isLoaded:!1,error:"Surveys are already being loaded"});try{this.Ji=!0,this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:t=>{var n;this.Ji=!1;var r=t.statusCode;if(200!==r||!t.json){var i="Surveys API could not be loaded, status: "+r;return Al.error(i),e([],{isLoaded:!1,error:i})}var a,o=t.json.surveys||[],s=o.filter(e=>{return!(!(t=e).start_date||t.end_date)&&(function(e){var t;return!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)}(e)||function(e){var t;return!(null==(t=e.conditions)||null==(t=t.actions)||null==(t=t.values)||!t.length)}(e));var t});return s.length>0&&(null==(a=this._surveyEventReceiver)||a.register(s)),null==(n=this._instance.persistence)||n.register({[xi]:o}),e(o,{isLoaded:!0})}})}catch(r){throw this.Ji=!1,r}}Zi(e){for(var t of this.Yi)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(n){Al.error("Error in survey callback",n)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!Zn(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Al.warn("init was not called")}te(e){var t=null;return this.getSurveys(n=>{var r;t=null!==(r=n.find(t=>t.id===e))&&void 0!==r?r:null}),t}ie(e){if(Zn(this._surveyManager))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var t="string"==typeof e?this.te(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Zn(this._surveyManager))return Al.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var t=this.ie(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Zn(this._surveyManager)?(Al.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise(n=>{this.getSurveys(t=>{var r,i=null!==(r=t.find(t=>t.id===e))&&void 0!==r?r:null;if(i){var a=this.ie(i);n({visible:a.eligible,disabledReason:a.reason})}else n({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t){var n;if(Zn(this._surveyManager))Al.warn("init was not called");else{var r="string"==typeof e?this.te(e):e;if(null!=r&&r.id)if(jl.includes(r.type)){var i=null==wn?void 0:wn.querySelector(t);if(i)return null!=(n=r.appearance)&&n.surveyPopupDelaySeconds?(Al.info("Rendering survey "+r.id+" with delay of "+r.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;Al.info("Rendering survey "+r.id+" with delay of "+(null==(e=r.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(r,i),Al.info("Survey "+r.id+" rendered")},1e3*r.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(r,i);Al.warn("Survey element not found")}else Al.warn("Surveys of type "+r.type+" cannot be rendered in the app");else Al.warn("Survey not found")}}displaySurvey(e,t){var n;if(Zn(this._surveyManager))Al.warn("init was not called");else{var r=this.te(e);if(r){var i=r;if(null!=(n=r.appearance)&&n.surveyPopupDelaySeconds&&t.ignoreDelay&&(i=On({},r,{appearance:On({},r.appearance,{surveyPopupDelaySeconds:0})})),!1===t.ignoreConditions){var a=this.canRenderSurvey(r);if(!a.visible)return void Al.warn("Survey is not eligible to be displayed: ",a.disabledReason)}t.displayType!==Rl.Inline?this._surveyManager.handlePopoverSurvey(i):this.renderSurvey(i,t.selector)}else Al.warn("Survey not found")}}}var $l=Br("[RateLimiter]");class Wl{constructor(e){var t,n;this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{$l.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(n){return void $l.warn('could not rate limit - continuing. Error: "'+(null==n?void 0:n.message)+'"',{text:t})}},this.instance=e,this.captureEventsPerSecond=(null==(t=e.config.rate_limiting)?void 0:t.events_per_second)||10,this.captureEventsBurstLimit=Math.max((null==(n=e.config.rate_limiting)?void 0:n.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(e){var t,n,r;void 0===e&&(e=!1);var i=(new Date).getTime(),a=null!==(t=null==(n=this.instance.persistence)?void 0:n.get_property(Pi))&&void 0!==t?t:{tokens:this.captureEventsBurstLimit,last:i};a.tokens+=(i-a.last)/1e3*this.captureEventsPerSecond,a.last=i,a.tokens>this.captureEventsBurstLimit&&(a.tokens=this.captureEventsBurstLimit);var o=a.tokens<1;return o||e||(a.tokens=Math.max(0,a.tokens-1)),!o||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+this.captureEventsPerSecond+" events per second and "+this.captureEventsBurstLimit+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=o,null==(r=this.instance.persistence)||r.set_property(Pi,a),{isRateLimited:o,remainingTokens:a.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var Hl=Br("[RemoteConfig]");class Vl{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=Tn._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}ee(e){var t,n;null!=(t=Tn.__PosthogExtensions__)&&t.loadExternalDependency?null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):(Hl.error("PostHog Extensions not found. Cannot load remote config."),e())}re(e){this._instance.ci({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:t=>{e(t.json)}})}load(){try{if(this.remoteConfig)return Hl.info("Using preloaded remote config",this.remoteConfig),void this.fi(this.remoteConfig);if(this._instance.M())return void Hl.warn("Remote config is disabled. Falling back to local config.");this.ee(e=>{if(!e)return Hl.info("No config found after loading remote JS config. Falling back to JSON."),void this.re(e=>{this.fi(e)});this.fi(e)})}catch(pa){Hl.error("Error loading remote config",pa)}}fi(e){e?this._instance.config.__preview_remote_config?(this._instance.fi(e),!1!==e.hasFeatureFlags&&this._instance.featureFlags.ensureFlagsLoaded()):Hl.info("__preview_remote_config is disabled. Logging config instead",e):Hl.error("Failed to fetch remote config from PostHog.")}}var Ul=3e3;class ql{constructor(e,t){this.se=!0,this.ne=[],this.oe=lr((null==t?void 0:t.flush_interval_ms)||Ul,250,5e3,Lr.createLogger("flush interval"),Ul),this.ae=e}enqueue(e){this.ne.push(e),this.le||this.ue()}unload(){this.he();var e=this.ne.length>0?this.de():{},t=Object.values(e);[...t.filter(e=>0===e.url.indexOf("/e")),...t.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.ae(On({},e,{transport:"sendBeacon"}))})}enable(){this.se=!1,this.ue()}ue(){var e=this;this.se||(this.le=setTimeout(()=>{if(this.he(),this.ne.length>0){var t=this.de(),n=function(){var n=t[r],i=(new Date).getTime();n.data&&Vn(n.data)&&Ur(n.data,e=>{e.offset=Math.abs(e.timestamp-i),delete e.timestamp}),e.ae(n)};for(var r in t)n()}},this.oe))}he(){clearTimeout(this.le),this.le=void 0}de(){var e={};return Ur(this.ne,t=>{var n,r=t,i=(r?r.batchKey:null)||r.url;Gn(e[i])&&(e[i]=On({},r,{data:[]})),null==(n=e[i].data)||n.push(r.data)}),this.ne=[],e}}var Yl=["retriesPerformedSoFar"];class Gl{constructor(e){this.ve=!1,this.ce=3e3,this.ne=[],this._instance=e,this.ne=[],this.fe=!0,!Gn(mn)&&"onLine"in mn.navigator&&(this.fe=mn.navigator.onLine,this.pe=()=>{this.fe=!0,this.Dt()},this.ge=()=>{this.fe=!1},ti(mn,"online",this.pe),ti(mn,"offline",this.ge))}get length(){return this.ne.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,n=An(e,Yl);Jn(t)&&t>0&&(n.url=ol(n.url,{retry_count:t})),this._instance.ci(On({},n,{callback:e=>{200!==e.statusCode&&(e.statusCode<400||e.statusCode>=500)&&(null!=t?t:0)<10?this._e(On({retriesPerformedSoFar:t},n)):null==n.callback||n.callback(e)}}))}_e(e){var t=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=t+1;var n,r,i,a,o,s=(n=t,i=(r=3e3*Math.pow(2,n))/2,a=Math.min(18e5,r),o=(Math.random()-.5)*(a-i),Math.ceil(a+o)),l=Date.now()+s;this.ne.push({retryAt:l,requestOptions:e});var c="Enqueued failed request for retry in "+s;navigator.onLine||(c+=" (Browser is offline)"),Lr.warn(c),this.ve||(this.ve=!0,this.me())}me(){if(this.ye&&clearTimeout(this.ye),0===this.ne.length)return this.ve=!1,void(this.ye=void 0);this.ye=setTimeout(()=>{this.fe&&this.ne.length>0&&this.Dt(),this.me()},this.ce)}Dt(){var e=Date.now(),t=[],n=this.ne.filter(n=>n.retryAt<e||(t.push(n),!1));if(this.ne=t,n.length>0)for(var{requestOptions:r}of n)this.retriableRequest(r)}unload(){for(var{requestOptions:e}of(this.ye&&(clearTimeout(this.ye),this.ye=void 0),this.ve=!1,Gn(mn)||(this.pe&&(mn.removeEventListener("online",this.pe),this.pe=void 0),this.ge&&(mn.removeEventListener("offline",this.ge),this.ge=void 0)),this.ne))try{this._instance.ci(On({},e,{transport:"sendBeacon"}))}catch(pa){Lr.error(pa)}this.ne=[]}}class Ql{constructor(e){this.be=()=>{var e,t,n,r;this.we||(this.we={});var i=this.scrollElement(),a=this.scrollY(),o=i?Math.max(0,i.scrollHeight-i.clientHeight):0,s=a+((null==i?void 0:i.clientHeight)||0),l=(null==i?void 0:i.scrollHeight)||0;this.we.lastScrollY=Math.ceil(a),this.we.maxScrollY=Math.max(a,null!==(e=this.we.maxScrollY)&&void 0!==e?e:0),this.we.maxScrollHeight=Math.max(o,null!==(t=this.we.maxScrollHeight)&&void 0!==t?t:0),this.we.lastContentY=s,this.we.maxContentY=Math.max(s,null!==(n=this.we.maxContentY)&&void 0!==n?n:0),this.we.maxContentHeight=Math.max(l,null!==(r=this.we.maxContentHeight)&&void 0!==r?r:0)},this._instance=e}getContext(){return this.we}resetContext(){var e=this.we;return setTimeout(this.be,0),e}startMeasuringScrollPosition(){ti(mn,"scroll",this.be,{capture:!0}),ti(mn,"scrollend",this.be,{capture:!0}),ti(mn,"resize",this.be)}scrollElement(){if(!this._instance.config.scroll_root_selector)return null==mn?void 0:mn.document.documentElement;var e=Vn(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector];for(var t of e){var n=null==mn?void 0:mn.document.querySelector(t);if(n)return n}}scrollY(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollTop||0}return mn&&(mn.scrollY||mn.pageYOffset||mn.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollLeft||0}return mn&&(mn.scrollX||mn.pageXOffset||mn.document.documentElement.scrollLeft)||0}}var Kl=e=>gs(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties);class Xl{constructor(e,t,n,r){this.xe=e=>{var t=this.Se();if(!t||t.sessionId!==e){var n={sessionId:e,props:this.Ee(this._instance)};this.$e.register({[Ci]:n})}},this._instance=e,this.ke=t,this.$e=n,this.Ee=r||Kl,this.ke.onSessionId(this.xe)}Se(){return this.$e.props[Ci]}getSetOnceProps(){var e,t=null==(e=this.Se())?void 0:e.props;return t?"r"in t?ms(t):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return Ur(Xr(this.getSetOnceProps()),(t,n)=>{"$current_url"===n&&(n="url"),e["$session_entry_"+Ln(n)]=t}),e}}var Zl=Br("[SessionId]");class Jl{on(e,t){return this.Pe.on(e,t)}constructor(e,t,n){var r;if(this.Te=[],this.Re=void 0,this.Pe=new Il,this.Ie=(e,t)=>Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if("always"===e.config.cookieless_mode)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.C=e.config,this.$e=e.persistence,this.Ce=void 0,this.Oe=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Fe=t||za,this.Me=n||za;var i=this.C.persistence_name||this.C.token,a=this.C.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*lr(a,60,36e3,Zl.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Ae(),this.De="ph_"+i+"_window_id",this.je="ph_"+i+"_primary_window_exists",this.Le()){var o=$a.W(this.De),s=$a.W(this.je);o&&!s?this.Ce=o:$a.V(this.De),$a.G(this.je,!0)}if(null!=(r=this.C.bootstrap)&&r.sessionID)try{var l=(()=>{var e=this.C.bootstrap.sessionID.replace(/-/g,"");if(32!==e.length)throw new Error("Not a valid UUID");if("7"!==e[12])throw new Error("Not a UUIDv7");return parseInt(e.substring(0,12),16)})();this.Ne(this.C.bootstrap.sessionID,(new Date).getTime(),l)}catch(c){Zl.error("Invalid sessionID in bootstrap",c)}this.Ue()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return Gn(this.Te)&&(this.Te=[]),this.Te.push(e),this.Oe&&e(this.Oe,this.Ce),()=>{this.Te=this.Te.filter(t=>t!==e)}}Le(){return"memory"!==this.C.persistence&&!this.$e.wi&&$a.H()}ze(e){e!==this.Ce&&(this.Ce=e,this.Le()&&$a.G(this.De,e))}He(){return this.Ce?this.Ce:this.Le()?$a.W(this.De):null}Ne(e,t,n){e===this.Oe&&t===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=t,this.Oe=e,this.$e.register({[hi]:[t,e,n]}))}Be(){if(this.Oe&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this.Oe,this._sessionStartTimestamp];var e=this.$e.props[hi];return Vn(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.Ne(null,null,null)}destroy(){clearTimeout(this.qe),this.qe=void 0,this.Re&&mn&&(mn.removeEventListener("beforeunload",this.Re,{capture:!1}),this.Re=void 0),this.Te=[]}Ue(){this.Re=()=>{this.Le()&&$a.V(this.je)},ti(mn,"beforeunload",this.Re,{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),"always"===this.C.cookieless_mode)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var n=t||(new Date).getTime(),[r,i,a]=this.Be(),o=this.He(),s=Jn(a)&&a>0&&Math.abs(n-a)>864e5,l=!1,c=!i,u=!e&&this.Ie(n,r);c||u||s?(i=this.Fe(),o=this.Me(),Zl.info("new session ID generated",{sessionId:i,windowId:o,changeReason:{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:s}}),a=n,l=!0):o||(o=this.Me(),l=!0);var d=0===r||!e||s?n:r,p=0===a?(new Date).getTime():a;return this.ze(o),this.Ne(i,d,p),e||this.Ae(),l&&this.Te.forEach(e=>e(i,o,l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:s}:void 0)),{sessionId:i,windowId:o,sessionStartTimestamp:p,changeReason:l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:s}:void 0,lastActivityTimestamp:r}}Ae(){clearTimeout(this.qe),this.qe=setTimeout(()=>{var[e]=this.Be();if(this.Ie((new Date).getTime(),e)){var t=this.Oe;this.resetSessionId(),this.Pe.emit("forcedIdleReset",{idleSessionId:t})}},1.1*this.sessionTimeoutMs)}}var ec=["$set_once","$set"],tc=Br("[SiteApps]");class nc{constructor(e){this._instance=e,this.We=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Ge(e,t){if(t){var n=this.globalsForEvent(t);this.We.push(n),this.We.length>1e3&&(this.We=this.We.slice(10))}}get siteAppLoaders(){var e;return null==(e=Tn._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}init(){if(this.isEnabled){var e=this._instance.Mi(this.Ge.bind(this));this.Ve=()=>{e(),this.We=[],this.Ve=void 0}}}globalsForEvent(e){var t,n,r,i,a,o,s;if(!e)throw new Error("Event payload is required");var l={},c=this._instance.get_property("$groups")||[],u=this._instance.get_property("$stored_group_properties")||{};for(var[d,p]of Object.entries(u))l[d]={id:c[d],type:d,properties:p};var{$set_once:f,$set:h}=e;return{event:On({},An(e,ec),{properties:On({},e.properties,h?{$set:On({},null!==(t=null==(n=e.properties)?void 0:n.$set)&&void 0!==t?t:{},h)}:{},f?{$set_once:On({},null!==(r=null==(i=e.properties)?void 0:i.$set_once)&&void 0!==r?r:{},f)}:{}),elements_chain:null!==(a=null==(o=e.properties)?void 0:o.$elements_chain)&&void 0!==a?a:"",distinct_id:null==(s=e.properties)?void 0:s.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var n;!t.errored&&this.We.length&&(tc.info("Processing "+this.We.length+" events for site app with id "+e.id),this.We.forEach(e=>null==t.processEvent?void 0:t.processEvent(e)),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(n=this.Ve)||n.call(this))},r=!1,i=i=>{t.errored=!i,t.loaded=!0,tc.info("Site app with id "+e.id+" "+(i?"loaded":"errored")),r&&n()};try{var{processEvent:a}=e.init({posthog:this._instance,callback:e=>{i(e)}});a&&(t.processEvent=a),r=!0}catch(o){tc.error("Error while initializing PostHog app with config id "+e.id,o),i(!1)}if(r&&t.loaded)try{n()}catch(s){tc.error("Error while processing buffered events PostHog app with config id "+e.id,s),t.errored=!0}}Je(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of e)this.setupSiteApp(n)}Ke(e){if(0!==Object.keys(this.apps).length){var t=this.globalsForEvent(e);for(var n of Object.values(this.apps))try{null==n.processEvent||n.processEvent(t)}catch(r){tc.error("Error while processing event "+e.event+" for site app "+n.id,r)}}}onRemoteConfig(e){var t,n,r,i=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.Je(),void this._instance.on("eventCaptured",e=>this.Ke(e))):void tc.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(n=this.Ve)||n.call(this),null!=(r=e.siteApps)&&r.length)if(this.isEnabled){var a=function(e){var t;Tn["__$$ph_site_app_"+e]=i._instance,null==(t=Tn.__PosthogExtensions__)||null==t.loadSiteApp||t.loadSiteApp(i._instance,s,t=>{if(t)return tc.error("Error while initializing PostHog app with config id "+e,t)})};for(var{id:o,url:s}of e.siteApps)a(o)}else tc.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}var rc=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&Mn(n,t))return!0;try{var r=null==e?void 0:e.userAgentData;if(null!=r&&r.brands&&r.brands.some(e=>Mn(null==e?void 0:e.brand,t)))return!0}catch(i){}return!!e.webdriver},ic=function(e){return e.US="us",e.EU="eu",e.CUSTOM="custom",e}({}),ac="i.posthog.com";class oc{constructor(e){this.Ye={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+ac,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.Ye[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.Ye[this.apiHost]=ic.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.Ye[this.apiHost]=ic.EU:this.Ye[this.apiHost]=ic.CUSTOM),this.Ye[this.apiHost]}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if(this.region===ic.CUSTOM)return this.apiHost+t;var n=ac+t;switch(e){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var sc={icontains:(e,t)=>!!mn&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!mn&&-1===t.href.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>!!mn&&ul(t.href,e),not_regex:(e,t)=>!!mn&&!ul(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class lc{constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{lc.Xe("retrieved web experiments from the server"),t.Qe=new Map,e.forEach(e=>{if(e.feature_flag_key){var n;t.Qe&&(lc.Xe("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(n=t.Qe)||n.set(e.feature_flag_key,e));var r=t._instance.getFeatureFlag(e.feature_flag_key);Qn(r)&&e.variants[r]&&t.Ze(e.name,r,e.variants[r].transforms)}else if(e.variants)for(var i in e.variants){var a=e.variants[i];lc.tr(a)&&t.Ze(e.name,i,a.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}onFeatureFlags(e){if(this._is_bot())lc.Xe("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(Zn(this.Qe))return this.Qe=new Map,this.loadIfEnabled(),void this.previewWebExperiment();lc.Xe("applying feature flags",e),e.forEach(e=>{var t;if(this.Qe&&null!=(t=this.Qe)&&t.has(e)){var n,r=this._instance.getFeatureFlag(e),i=null==(n=this.Qe)?void 0:n.get(e);r&&null!=i&&i.variants[r]&&this.Ze(i.name,r,i.variants[r].transforms)}})}}previewWebExperiment(){var e=lc.getWindowLocation();if(null!=e&&e.search){var t=ma(null==e?void 0:e.search,"__experiment_id"),n=ma(null==e?void 0:e.search,"__experiment_variant");t&&n&&(lc.Xe("previewing web experiments "+t+" && "+n),this.getWebExperiments(e=>{this.ir(parseInt(t),n,e)},!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,n){if(this._instance.config.disable_web_experiments&&!n)return e([]);var r=this._instance.get_property("$web_experiments");if(r&&!t)return e(r);this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:t=>{if(200!==t.statusCode||!t.json)return e([]);var n=t.json.experiments||[];return e(n)}})}ir(e,t,n){var r=n.filter(t=>t.id===e);r&&r.length>0&&(lc.Xe("Previewing web experiment ["+r[0].name+"] with variant ["+t+"]"),this.Ze(r[0].name,t,r[0].variants[t].transforms))}static tr(e){return!Zn(e.conditions)&&lc.er(e)&&lc.rr(e)}static er(e){var t;if(Zn(e.conditions)||Zn(null==(t=e.conditions)?void 0:t.url))return!0;var n,r,i,a=lc.getWindowLocation();return!!a&&(null==(n=e.conditions)||!n.url||sc[null!==(r=null==(i=e.conditions)?void 0:i.urlMatchType)&&void 0!==r?r:"icontains"](e.conditions.url,a))}static getWindowLocation(){return null==mn?void 0:mn.location}static rr(e){var t;if(Zn(e.conditions)||Zn(null==(t=e.conditions)?void 0:t.utm))return!0;var n=us();if(n.utm_source){var r,i,a,o,s,l,c,u,d=null==(r=e.conditions)||null==(r=r.utm)||!r.utm_campaign||(null==(i=e.conditions)||null==(i=i.utm)?void 0:i.utm_campaign)==n.utm_campaign,p=null==(a=e.conditions)||null==(a=a.utm)||!a.utm_source||(null==(o=e.conditions)||null==(o=o.utm)?void 0:o.utm_source)==n.utm_source,f=null==(s=e.conditions)||null==(s=s.utm)||!s.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==n.utm_medium,h=null==(c=e.conditions)||null==(c=c.utm)||!c.utm_term||(null==(u=e.conditions)||null==(u=u.utm)?void 0:u.utm_term)==n.utm_term;return d&&f&&h&&p}return!1}static Xe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];Lr.info("[WebExperiments] "+e,n)}Ze(e,t,n){this._is_bot()?lc.Xe("Refusing to render web experiment since the viewer is a likely bot"):"control"!==t?n.forEach(n=>{if(n.selector){var r;lc.Xe("applying transform of variant "+t+" for experiment "+e+" ",n);var i=null==(r=document)?void 0:r.querySelectorAll(n.selector);null==i||i.forEach(e=>{var t=e;n.html&&(t.innerHTML=n.html),n.css&&t.setAttribute("style",n.css)})}}):lc.Xe("Control variants leave the page unmodified.")}_is_bot(){return xn&&this._instance?rc(xn,this._instance.config.custom_blocked_useragents):void 0}}var cc=Br("[PostHog ExternalIntegrations]"),uc={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class dc{constructor(e){this._instance=e}it(e,t){var n;null==(n=Tn.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,e,e=>{if(e)return cc.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e=this,t=function(t){var n,i,a;!r||null!=(n=Tn.__PosthogExtensions__)&&null!=(n=n.integrations)&&n[t]||e.it(uc[t],()=>{var n;null==(n=Tn.__PosthogExtensions__)||null==(n=n.integrations)||null==(n=n[t])||n.start(e._instance)}),!r&&null!=(i=Tn.__PosthogExtensions__)&&null!=(i=i.integrations)&&i[t]&&(null==(a=Tn.__PosthogExtensions__)||null==(a=a.integrations)||null==(a=a[t])||a.stop())};for(var[n,r]of Object.entries(null!==(i=this._instance.config.integrations)&&void 0!==i?i:{})){var i;t(n)}}}var pc="[SessionRecording]",fc=Br(pc);class hc{get started(){var e;return!(null==(e=this.sr)||!e.isStarted)}get status(){return this.sr?this.sr.status:this.nr&&!this.ar?"disabled":"lazy_loading"}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.nr=!1,this.lr=void 0,this._instance=e,!this._instance.sessionManager)throw fc.error("started without valid sessionManager"),new Error(pc+" started without valid sessionManager. This is a bug.");if("always"===this._instance.config.cookieless_mode)throw new Error(pc+' cannot be used with cookieless_mode="always"')}get ar(){var e,t=!(null==(e=this._instance.get_property(fi))||!e.enabled),n=!this._instance.config.disable_session_recording,r=this._instance.config.disable_session_recording||this._instance.consent.isOptedOut();return mn&&t&&n&&!r}startIfEnabledOrStop(e){var t;if(!this.ar||null==(t=this.sr)||!t.isStarted){var n=!Gn(Object.assign)&&!Gn(Array.from);this.ar&&n?(this.ur(e),fc.info("starting")):this.stopRecording()}}ur(e){var t,n,r;this.ar&&(null!=Tn&&null!=(t=Tn.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(n=Tn.__PosthogExtensions__)&&n.initSessionRecording?this.hr(e):null==(r=Tn.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,this.dr,t=>{if(t)return fc.error("could not load recorder",t);this.hr(e)}))}stopRecording(){var e,t;null==(e=this.lr)||e.call(this),this.lr=void 0,null==(t=this.sr)||t.stop()}vr(){var e;null==(e=this._instance.persistence)||e.unregister(gi)}cr(e){if(this._instance.persistence){var t,n,r=this._instance.persistence,i=()=>{var t=!1===e.sessionRecording?void 0:e.sessionRecording,n=null==t?void 0:t.sampleRate,i=Zn(n)?null:parseFloat(n);Zn(i)&&this.vr();var a=null==t?void 0:t.minimumDurationMilliseconds;r.register({[fi]:On({enabled:!!t},t,{networkPayloadCapture:On({capturePerformance:e.capturePerformance},null==t?void 0:t.networkPayloadCapture),canvasRecording:{enabled:null==t?void 0:t.recordCanvas,fps:null==t?void 0:t.canvasFps,quality:null==t?void 0:t.canvasQuality},sampleRate:i,minimumDurationMilliseconds:Gn(a)?null:a,endpoint:null==t?void 0:t.endpoint,triggerMatchType:null==t?void 0:t.triggerMatchType,masking:null==t?void 0:t.masking,urlTriggers:null==t?void 0:t.urlTriggers})})};i(),null==(t=this.lr)||t.call(this),this.lr=null==(n=this._instance.sessionManager)?void 0:n.onSessionId(i)}}onRemoteConfig(e){"sessionRecording"in e?!1!==e.sessionRecording?(this.cr(e),this.nr=!0,this.startIfEnabledOrStop()):this.nr=!0:fc.info("skipping remote config with no sessionRecording",e)}log(e,t){var n;void 0===t&&(t="log"),null!=(n=this.sr)&&n.log?this.sr.log(e,t):fc.warn("log called before recorder was ready")}get dr(){var e,t,n=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(fi);return(null==n||null==(t=n.scriptConfig)?void 0:t.script)||"lazy-recorder"}hr(e){var t,n;if(null==(t=Tn.__PosthogExtensions__)||!t.initSessionRecording)throw Error("Called on script loaded before session recording is available");this.sr||(this.sr=null==(n=Tn.__PosthogExtensions__)?void 0:n.initSessionRecording(this._instance),this.sr._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),this.sr.start(e)}onRRwebEmit(e){var t;null==(t=this.sr)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e;null==(e=this.sr)||e.overrideLinkedFlag()}overrideSampling(){var e;null==(e=this.sr)||e.overrideSampling()}overrideTrigger(e){var t;null==(t=this.sr)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.sr)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var n;return!(null==(n=this.sr)||!n.tryAddCustomEvent(e,t))}}var gc={},mc=()=>{},vc="posthog",bc=!il&&-1===(null==En?void 0:En.indexOf("MSIE"))&&-1===(null==En?void 0:En.indexOf("Mozilla")),yc=e=>{var t;return{api_host:"https://us.i.posthog.com",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:Jr(null==wn?void 0:wn.location),persistence:"localStorage+cookie",persistence_name:"",loaded:mc,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:"2025-05-24"!==e||"history_change",capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",debug:Sn&&Qn(null==Sn?void 0:Sn.search)&&-1!==Sn.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==mn||null==(t=mn.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:e=>{var t="Bad HTTP status: "+e.statusCode+" "+e.text;Lr.error(t)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:Ul},error_tracking:{},_onCapture:mc,__preview_eager_load_replay:!1}},kc=e=>{var t={};Gn(e.process_person)||(t.person_profiles=e.process_person),Gn(e.xhr_headers)||(t.request_headers=e.xhr_headers),Gn(e.cookie_name)||(t.persistence_name=e.cookie_name),Gn(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),Gn(e.store_google)||(t.save_campaign_params=e.store_google),Gn(e.verbose)||(t.debug=e.verbose);var n=qr({},t,e);return Vn(e.property_blacklist)&&(Gn(e.property_denylist)?n.property_denylist=e.property_blacklist:Vn(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:Lr.error("Invalid value for property_denylist config: "+e.property_denylist)),n};class xc{constructor(){this.__forceAllowLocalhost=!1}get pr(){return this.__forceAllowLocalhost}set pr(e){Lr.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class wc{get decideEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}get flagsEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}constructor(){this.webPerformance=new xc,this.gr=!1,this.version=zn.LIB_VERSION,this._r=new Il,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=yc(),this.SentryIntegration=to,this.sentryIntegration=e=>{return t=eo(this,e),{name:Ja,processEvent:e=>t(e)};var t},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.mr=!1,this.yr=null,this.br=null,this.wr=null,this.featureFlags=new _l(this),this.toolbar=new oo(this),this.scrollManager=new Ql(this),this.pageViewManager=new Cs(this),this.surveys=new Bl(this),this.experiments=new lc(this),this.exceptions=new gl(this),this.rateLimiter=new Wl(this),this.requestRouter=new oc(this),this.consent=new Ha(this),this.externalIntegrations=new dc(this),this.people={set:(e,t,n)=>{var r=Qn(e)?{[e]:t}:e;this.setPersonProperties(r),null==n||n({})},set_once:(e,t,n)=>{var r=Qn(e)?{[e]:t}:e;this.setPersonProperties(void 0,r),null==n||n({})}},this.on("eventCaptured",e=>Lr.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,n){if(n&&n!==vc){var r,i=null!==(r=gc[n])&&void 0!==r?r:new wc;return i._init(e,t,n),gc[n]=i,gc[vc][n]=i,i}return this._init(e,t,n)}_init(e,t,n){var r,i;if(void 0===t&&(t={}),Gn(e)||Kn(e))return Lr.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return this;this.__loaded=!0,this.config={},t.debug=this.Sr(t.debug),this.Er=t,this.$r=[],t.person_profiles&&(this.br=t.person_profiles),this.set_config(qr({},yc(t.defaults),kc(t),{name:n,token:e})),this.config.on_xhr_error&&Lr.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:ha.GZipJS;var a=this.kr();this.persistence=new Pl(this.config,a),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new Pl(On({},this.config,{persistence:"sessionStorage"}),a);var o=On({},this.persistence.props),s=On({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.Pr=new ql(e=>this.Tr(e),this.config.request_queue_config),this.Rr=new Gl(this),this.__request_queue=[];var l="always"===this.config.cookieless_mode||"on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut();if(l||(this.sessionManager=new Jl(this),this.sessionPropsManager=new Xl(this,this.sessionManager,this.persistence)),new lo(this).startIfEnabledOrStop(),this.siteApps=new nc(this),null==(r=this.siteApps)||r.init(),l||(this.sessionRecording=new hc(this),this.sessionRecording.startIfEnabledOrStop()),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new wa(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new _s(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new xs(this),this.exceptionObserver=new Qa(this),this.exceptionObserver.startIfEnabled(),this.deadClicksAutocapture=new Ya(this,qa),this.deadClicksAutocapture.startIfEnabled(),this.historyAutocapture=new Xa(this),this.historyAutocapture.startIfEnabled(),zn.DEBUG=zn.DEBUG||this.config.debug,zn.DEBUG&&Lr.info("Starting in debug mode",{this:this,config:t,thisC:On({},this.config),p:o,s:s}),void 0!==(null==(i=t.bootstrap)?void 0:i.distinctID)){var c,u,d=this.config.get_device_id(za()),p=null!=(c=t.bootstrap)&&c.isIdentifiedID?d:t.bootstrap.distinctID;this.persistence.set_property(_i,null!=(u=t.bootstrap)&&u.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:t.bootstrap.distinctID,$device_id:p})}if(this.Ir()){var f,h,g=Object.keys((null==(f=t.bootstrap)?void 0:f.featureFlags)||{}).filter(e=>{var n;return!(null==(n=t.bootstrap)||null==(n=n.featureFlags)||!n[e])}).reduce((e,n)=>{var r;return e[n]=(null==(r=t.bootstrap)||null==(r=r.featureFlags)?void 0:r[n])||!1,e},{}),m=Object.keys((null==(h=t.bootstrap)?void 0:h.featureFlagPayloads)||{}).filter(e=>g[e]).reduce((e,n)=>{var r,i;return null!=(r=t.bootstrap)&&null!=(r=r.featureFlagPayloads)&&r[n]&&(e[n]=null==(i=t.bootstrap)||null==(i=i.featureFlagPayloads)?void 0:i[n]),e},{});this.featureFlags.receivedFeatureFlags({featureFlags:g,featureFlagPayloads:m})}if(l)this.register_once({distinct_id:Oi,$device_id:null},"");else if(!this.get_distinct_id()){var v=this.config.get_device_id(za());this.register_once({distinct_id:v,$device_id:v},""),this.persistence.set_property(_i,"anonymous")}return ti(mn,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),t.segment?function(e,t){var n=e.config.segment;if(!n)return t();!function(e,t){var n=e.config.segment;if(!n)return t();var r=n=>{var r=()=>n.anonymousId()||za();e.config.get_device_id=r,n.id()&&(e.register({distinct_id:n.id(),$device_id:r()}),e.persistence.set_property(_i,"identified")),t()},i=n.user();"then"in i&&Un(i.then)?i.then(e=>r(e)):r(i)}(e,()=>{n.register((e=>{Promise&&Promise.resolve||Za.warn("This browser does not have Promise support, and can not use the segment integration");var t=(t,n)=>{if(!n)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(Za.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(Za.info("UserId set, identifying with PostHog"),e.identify(t.event.userId));var r=e.calculateEventProperties(n,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>t(e,e.event.event),page:e=>t(e,"$pageview"),identify:e=>t(e,"$identify"),screen:e=>t(e,"$screen")}})(e)).then(()=>{t()})})}(this,()=>this.Cr()):this.Cr(),Un(this.config._onCapture)&&this.config._onCapture!==mc&&(Lr.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&Lr.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}fi(e){var t,n,r,i,a,o,s,l;if(!wn||!wn.body)return Lr.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.fi(e)},500);this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=jn(e.supportedCompression,ha.GZipJS)?ha.GZipJS:jn(e.supportedCompression,ha.Base64)?ha.Base64:void 0),null!=(t=e.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.br?this.br:"identified_only"}),null==(n=this.siteApps)||n.onRemoteConfig(e),null==(r=this.sessionRecording)||r.onRemoteConfig(e),null==(i=this.autocapture)||i.onRemoteConfig(e),null==(a=this.heatmaps)||a.onRemoteConfig(e),this.surveys.onRemoteConfig(e),null==(o=this.webVitalsAutocapture)||o.onRemoteConfig(e),null==(s=this.exceptionObserver)||s.onRemoteConfig(e),this.exceptions.onRemoteConfig(e),null==(l=this.deadClicksAutocapture)||l.onRemoteConfig(e)}Cr(){try{this.config.loaded(this)}catch(pa){Lr.critical("`loaded` function failed",pa)}this.Or(),this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||"always"===this.config.cookieless_mode)&&this.Fr()},1),new Vl(this).load(),this.featureFlags.flags()}Or(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.Pr)||e.enable())}_dom_loaded(){this.is_capturing()&&Vr(this.__request_queue,e=>this.Tr(e)),this.__request_queue=[],this.Or()}_handle_unload(){var e,t;this.config.request_batching?(this.Mr()&&this.capture("$pageleave"),null==(e=this.Pr)||e.unload(),null==(t=this.Rr)||t.unload()):this.Mr()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}ci(e){this.__loaded&&(bc?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=ol(e.url,{ip:this.config.ip?1:0}),e.headers=On({},this.config.request_headers),e.compression="best-available"===e.compression?this.compression:e.compression,e.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,(e=>{var t,n,r,i=On({},e);i.timeout=i.timeout||6e4,i.url=ol(i.url,{_:(new Date).getTime().toString(),ver:zn.LIB_VERSION,compression:i.compression});var a=null!==(t=i.transport)&&void 0!==t?t:"fetch",o=cl.filter(e=>!i.disableTransport||!e.transport||!i.disableTransport.includes(e.transport)),s=null!==(n=null==(r=ei(o,e=>e.transport===a))?void 0:r.method)&&void 0!==n?n:o[0].method;if(!s)throw new Error("No available transport method");s(i)})(On({},e,{callback:t=>{var n,r;this.rateLimiter.checkForLimiting(t),t.statusCode>=400&&(null==(n=(r=this.config).on_request_error)||n.call(r,t)),null==e.callback||e.callback(t)}}))))}Tr(e){this.Rr?this.Rr.retriableRequest(e):this.ci(e)}_execute_array(e){var t,n=[],r=[],i=[];Vr(e,e=>{e&&(t=e[0],Vn(t)?i.push(e):Un(e)?e.call(this):Vn(e)&&"alias"===t?n.push(e):Vn(e)&&-1!==t.indexOf("capture")&&Un(this[t])?i.push(e):r.push(e))});var a=function(e,t){Vr(e,function(e){if(Vn(e[0])){var n=t;Ur(e,function(e){n=n[e[0]].apply(n,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};a(n,this),a(r,this),a(i,this)}Ir(){var e,t;return(null==(e=this.config.bootstrap)?void 0:e.featureFlags)&&Object.keys(null==(t=this.config.bootstrap)?void 0:t.featureFlags).length>0||!1}push(e){this._execute_array([e])}capture(e,t,n){var r;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Pr){if(this.is_capturing())if(!Gn(e)&&Qn(e)){var i=!this.config.opt_out_useragent_filter&&this._is_bot();if(!i||this.config.__preview_capture_bot_pageviews){var a=null!=n&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==a||!a.isRateLimited){null!=t&&t.$current_url&&!Qn(null==t?void 0:t.$current_url)&&(Lr.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var o=new Date,s=(null==n?void 0:n.timestamp)||o,l=za(),c={uuid:l,event:e,properties:this.calculateEventProperties(e,t||{},s,l)};"$pageview"===e&&this.config.__preview_capture_bot_pageviews&&i&&(c.event="$bot_pageview",c.properties.$browser_type="bot"),a&&(c.properties.$lib_rate_limit_remaining_tokens=a.remainingTokens),(null==n?void 0:n.$set)&&(c.$set=null==n?void 0:n.$set);var u,d=this.Ar(null==n?void 0:n.$set_once);if(d&&(c.$set_once=d),(c=function(e,t){return n=e,r=e=>Qn(e)&&!Xn(t)?e.slice(0,t):e,i=new Set,function e(t,n){return t!==Object(t)?r?r(t):t:i.has(t)?void 0:(i.add(t),Vn(t)?(a=[],Vr(t,t=>{a.push(e(t))})):(a={},Ur(t,(t,n)=>{i.has(t)||(a[n]=e(t))})),a);var a}(n);var n,r,i}(c,null!=n&&n._noTruncate?null:this.config.properties_string_max_length)).timestamp=s,Gn(null==n?void 0:n.timestamp)||(c.properties.$event_time_override_provided=!0,c.properties.$event_time_override_system_time=o),e===Tl.DISMISSED||e===Tl.SENT){var p=null==t?void 0:t[zl.SURVEY_ID],f=null==t?void 0:t[zl.SURVEY_ITERATION];u={id:p,current_iteration:f},localStorage.getItem(Dl(u))||localStorage.setItem(Dl(u),"true"),c.$set=On({},c.$set,{[Ml({id:p,current_iteration:f},e===Tl.SENT?"responded":"dismissed")]:!0})}var h=On({},c.properties.$set,c.$set);if(Yn(h)||this.setPersonPropertiesForFlags(h),!Zn(this.config.before_send)){var g=this.Dr(c);if(!g)return;c=g}this._r.emit("eventCaptured",c);var m={method:"POST",url:null!==(r=null==n?void 0:n._url)&&void 0!==r?r:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:c,compression:"best-available",batchKey:null==n?void 0:n._batchKey};return!this.config.request_batching||n&&(null==n||!n._batchKey)||null!=n&&n.send_instantly?this.Tr(m):this.Pr.enqueue(m),c}Lr.critical("This capture call is ignored due to client rate limiting.")}}else Lr.error("No event name provided to posthog.capture")}else Lr.uninitializedWarning("posthog.capture")}Mi(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,n,r,i){if(n=n||new Date,!this.persistence||!this.sessionPersistence)return t;var a=i?void 0:this.persistence.remove_event_timer(e),o=On({},t);if(o.token=this.config.token,o.$config_defaults=this.config.defaults,("always"==this.config.cookieless_mode||"on_reject"==this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut())&&(o.$cookieless_mode=!0),"$snapshot"===e){var s=On({},this.persistence.properties(),this.sessionPersistence.properties());return o.distinct_id=s.distinct_id,(!Qn(o.distinct_id)&&!Jn(o.distinct_id)||Kn(o.distinct_id))&&Lr.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),o}var l,c=function(e,t){if(!En)return{};var n,r,i,a=e?Yr([],os,t||[]):[],[o,s]=function(e){for(var t=0;t<rs.length;t++){var[n,r]=rs[t],i=n.exec(e),a=i&&(Un(r)?r(i,e):r);if(a)return a}return["",""]}(En);return qr(Xr({$os:o,$os_version:s,$browser:es(En,navigator.vendor),$device:is(En),$device_type:(r=En,i=is(r),i===go||i===ho||"Kobo"===i||"Kindle Fire"===i||i===Uo?fo:i===Fo||i===Do||i===Mo||i===Wo?"Console":i===vo?"Wearable":i?co:"Desktop"),$timezone:vs(),$timezone_offset:bs()}),{$current_url:va(null==Sn?void 0:Sn.href,a,ls),$host:null==Sn?void 0:Sn.host,$pathname:null==Sn?void 0:Sn.pathname,$raw_user_agent:En.length>1e3?En.substring(0,997)+"...":En,$browser_version:ns(En,navigator.vendor),$browser_language:fs(),$browser_language_prefix:(n=fs(),"string"==typeof n?n.split("-")[0]:void 0),$screen_height:null==mn?void 0:mn.screen.height,$screen_width:null==mn?void 0:mn.screen.width,$viewport_height:null==mn?void 0:mn.innerHeight,$viewport_width:null==mn?void 0:mn.innerWidth,$lib:"web",$lib_version:zn.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:u,windowId:d}=this.sessionManager.checkAndGetSessionAndWindowId(i,n.getTime());o.$session_id=u,o.$window_id=d}this.sessionPropsManager&&qr(o,this.sessionPropsManager.getSessionProps());try{var p;this.sessionRecording&&qr(o,this.sessionRecording.sdkDebugProperties),o.$sdk_debug_retry_queue_size=null==(p=this.Rr)?void 0:p.length}catch(m){o.$sdk_debug_error_capturing_properties=String(m)}if(this.requestRouter.region===ic.CUSTOM&&(o.$lib_custom_api_host=this.config.api_host),l="$pageview"!==e||i?"$pageleave"!==e||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(n):this.pageViewManager.doPageView(n,r),o=qr(o,l),"$pageview"===e&&wn&&(o.title=wn.title),!Gn(a)){var f=n.getTime()-a;o.$duration=parseFloat((f/1e3).toFixed(3))}En&&this.config.opt_out_useragent_filter&&(o.$browser_type=this._is_bot()?"bot":"browser"),(o=qr({},c,this.persistence.properties(),this.sessionPersistence.properties(),o)).$is_identified=this._isIdentified(),Vn(this.config.property_denylist)?Ur(this.config.property_denylist,function(e){delete o[e]}):Lr.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var h=this.config.sanitize_properties;h&&(Lr.error("sanitize_properties is deprecated. Use before_send instead"),o=h(o,e));var g=this.jr();return o.$process_person_profile=g,g&&!i&&this.Lr("_calculate_event_properties"),o}Ar(e){var t;if(!this.persistence||!this.jr())return e;if(this.gr)return e;var n=this.persistence.get_initial_props(),r=null==(t=this.sessionPropsManager)?void 0:t.getSetOnceProps(),i=qr({},n,r||{},e||{}),a=this.config.sanitize_properties;return a&&(Lr.error("sanitize_properties is deprecated. Use before_send instead"),i=a(i,"$set_once")),this.gr=!0,Yn(i)?void 0:i}register(e,t){var n;null==(n=this.persistence)||n.register(e,t)}register_once(e,t,n){var r;null==(r=this.persistence)||r.register_once(e,t,n)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}Nr(e,t){this.register({[e]:t})}getFeatureFlag(e,t){return this.featureFlags.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch(n){return t}}isFeatureEnabled(e,t){return this.featureFlags.isFeatureEnabled(e,t)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(e,t,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,t,n)}getEarlyAccessFeatures(e,t,n){return void 0===t&&(t=!1),this.featureFlags.getEarlyAccessFeatures(e,t,n)}on(e,t){return this._r.on(e,t)}onFeatureFlags(e){return this.featureFlags.onFeatureFlags(e)}onSurveysLoaded(e){return this.surveys.onSurveysLoaded(e)}onSessionId(e){var t,n;return null!==(t=null==(n=this.sessionManager)?void 0:n.onSessionId(e))&&void 0!==t?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys.getSurveys(e,t)}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys.getActiveMatchingSurveys(e,t)}renderSurvey(e,t){this.surveys.renderSurvey(e,t)}displaySurvey(e,t){void 0===t&&(t=Nl),this.surveys.displaySurvey(e,t)}canRenderSurvey(e){return this.surveys.canRenderSurvey(e)}canRenderSurveyAsync(e,t){return void 0===t&&(t=!1),this.surveys.canRenderSurveyAsync(e,t)}identify(e,t,n){if(!this.__loaded||!this.persistence)return Lr.uninitializedWarning("posthog.identify");if(Jn(e)&&(e=e.toString(),Lr.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),e)if(["distinct_id","distinctid"].includes(e.toLowerCase()))Lr.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.');else if(e!==Oi){if(this.Lr("posthog.identify")){var r=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property("$device_id")){var i=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:i},"")}e!==r&&e!==this.get_property(ri)&&(this.unregister(ri),this.register({distinct_id:e}));var a="anonymous"===(this.persistence.get_property(_i)||"anonymous");e!==r&&a?(this.persistence.set_property(_i,"identified"),this.setPersonPropertiesForFlags(On({},n||{},t||{}),!1),this.capture("$identify",{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:n||{}}),this.wr=dl(e,t,n),this.featureFlags.setAnonymousDistinctId(r)):(t||n)&&this.setPersonProperties(t,n),e!==r&&(this.reloadFeatureFlags(),this.unregister(Si))}}else Lr.critical('The string "'+Oi+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.');else Lr.error("Unique user id has not been set in posthog.identify")}setPersonProperties(e,t){if((e||t)&&this.Lr("posthog.setPersonProperties")){var n=dl(this.get_distinct_id(),e,t);this.wr!==n?(this.setPersonPropertiesForFlags(On({},t||{},e||{})),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.wr=n):Lr.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(e,t,n){if(e&&t){if(this.Lr("posthog.group")){var r=this.getGroups();r[e]!==t&&this.resetGroupPropertiesForFlags(e),this.register({$groups:On({},r,{[e]:t})}),n&&(this.capture("$groupidentify",{$group_type:e,$group_key:t,$group_set:n}),this.setGroupPropertiesForFlags({[e]:n})),r[e]===t||n||this.reloadFeatureFlags()}}else Lr.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0),this.featureFlags.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0),this.Lr("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(e,t)}resetGroupPropertiesForFlags(e){this.featureFlags.resetGroupPropertiesForFlags(e)}reset(e){var t,n,r,i;if(Lr.info("reset"),!this.__loaded)return Lr.uninitializedWarning("posthog.reset");var a=this.get_property("$device_id");if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(n=this.sessionPersistence)||n.clear(),this.surveys.reset(),this.featureFlags.reset(),null==(r=this.persistence)||r.set_property(_i,"anonymous"),null==(i=this.sessionManager)||i.resetSessionId(),this.wr=null,"always"===this.config.cookieless_mode)this.register_once({distinct_id:Oi,$device_id:null},"");else{var o=this.config.get_device_id(za());this.register_once({distinct_id:o,$device_id:e?o:a},"")}this.register({$last_posthog_reset:(new Date).toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!==(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)&&void 0!==e?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:t,sessionStartTimestamp:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t);if(null!=e&&e.withTimestamp&&n){var i,a=null!==(i=e.timestampLookBack)&&void 0!==i?i:10;if(!n)return r;r+="?t="+Math.max(Math.floor(((new Date).getTime()-n)/1e3)-a,0)}return r}alias(e,t){return e===this.get_property(ni)?(Lr.critical("Attempting to create alias for existing People user - aborting."),-2):this.Lr("posthog.alias")?(Gn(t)&&(t=this.get_distinct_id()),e!==t?(this.Nr(ri,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(Lr.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=On({},this.config);if(qn(e)){var n,r,i,a,o;qr(this.config,kc(e));var s=this.kr();null==(n=this.persistence)||n.update_config(this.config,t,s),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new Pl(On({},this.config,{persistence:"sessionStorage"}),s);var l=this.Sr(this.config.debug);er(l)&&(this.config.debug=l),er(this.config.debug)&&(this.config.debug?(zn.DEBUG=!0,Ma.H()&&Ma.G("ph_debug","true"),Lr.info("set_config",{config:e,oldConfig:t,newConfig:On({},this.config)})):(zn.DEBUG=!1,Ma.H()&&Ma.V("ph_debug"))),null==(r=this.sessionRecording)||r.startIfEnabledOrStop(),null==(i=this.autocapture)||i.startIfEnabled(),null==(a=this.heatmaps)||a.startIfEnabled(),this.surveys.loadIfEnabled(),this.Ur(),null==(o=this.externalIntegrations)||o.startIfEnabledOrStop()}}startSessionRecording(e){var t,n,r,i,a,o=!0===e,s={sampling:o||!(null==e||!e.sampling),linked_flag:o||!(null==e||!e.linked_flag),url_trigger:o||!(null==e||!e.url_trigger),event_trigger:o||!(null==e||!e.event_trigger)};Object.values(s).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),s.sampling&&(null==(n=this.sessionRecording)||n.overrideSampling()),s.linked_flag&&(null==(r=this.sessionRecording)||r.overrideLinkedFlag()),s.url_trigger&&(null==(i=this.sessionRecording)||i.overrideTrigger("url")),s.event_trigger&&(null==(a=this.sessionRecording)||a.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){var n=new Error("PostHog syntheticException"),r=this.exceptions.buildProperties(e,{handled:!0,syntheticException:n});return this.exceptions.sendExceptionEvent(On({},r,t))}loadToolbar(e){return this.toolbar.loadToolbar(e)}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!==(e=this.config.name)&&void 0!==e?e:vc;return t!==vc&&(t=vc+"."+t),t}_isIdentified(){var e,t;return"identified"===(null==(e=this.persistence)?void 0:e.get_property(_i))||"identified"===(null==(t=this.sessionPersistence)?void 0:t.get_property(_i))}jr(){var e,t;return!("never"===this.config.person_profiles||"identified_only"===this.config.person_profiles&&!this._isIdentified()&&Yn(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[ri])&&(null==(t=this.persistence)||null==(t=t.props)||!t[Ri]))}Mr(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.jr()||this.Lr("posthog.createPersonProfile")&&this.setPersonProperties({},{})}Lr(e){return"never"===this.config.person_profiles?(Lr.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.Nr(Ri,!0),!0)}kr(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut(),t=this.config.opt_out_persistence_by_default||"on_reject"===this.config.cookieless_mode;return this.config.disable_persistence||e&&!!t}Ur(){var e,t,n,r,i=this.kr();return(null==(e=this.persistence)?void 0:e.wi)!==i&&(null==(n=this.persistence)||n.set_disabled(i)),(null==(t=this.sessionPersistence)?void 0:t.wi)!==i&&(null==(r=this.sessionPersistence)||r.set_disabled(i)),i}opt_in_capturing(e){var t,n;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut()&&(this.reset(!0),null==(t=this.sessionManager)||t.destroy(),this.sessionManager=new Jl(this),this.persistence&&(this.sessionPropsManager=new Xl(this,this.sessionManager,this.persistence)),this.sessionRecording=new hc(this),this.sessionRecording.startIfEnabledOrStop()),this.consent.optInOut(!0),this.Ur(),this.Or(),"on_reject"==this.config.cookieless_mode&&this.surveys.loadIfEnabled(),(Gn(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!==(n=null==e?void 0:e.captureEventName)&&void 0!==n?n:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Fr()):Lr.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}opt_out_capturing(){var e,t;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.Ur(),"on_reject"===this.config.cookieless_mode&&(this.register({distinct_id:Oi,$device_id:null}),null==(e=this.sessionManager)||e.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,null==(t=this.sessionRecording)||t.stopRecording(),this.sessionRecording=void 0,this.Fr())):Lr.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return e===Wa.GRANTED?"granted":e===Wa.DENIED?"denied":"pending"}is_capturing(){return"always"===this.config.cookieless_mode||("on_reject"===this.config.cookieless_mode?this.consent.isExplicitlyOptedOut()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.Ur()}_is_bot(){return xn?rc(xn,this.config.custom_blocked_useragents):void 0}Fr(){wn&&("visible"===wn.visibilityState?this.mr||(this.mr=!0,this.capture("$pageview",{title:wn.title},{send_instantly:!0}),this.yr&&(wn.removeEventListener("visibilitychange",this.yr),this.yr=null)):this.yr||(this.yr=this.Fr.bind(this),ti(wn,"visibilitychange",this.yr)))}debug(e){!1===e?(null==mn||mn.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==mn||mn.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}M(){var e,t,n,r,i,a,o=this.Er||{};return"advanced_disable_flags"in o?!!o.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(Lr.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(n="advanced_disable_decide",r=Lr,i=(t="advanced_disable_flags")in(e=o)&&!Gn(e[t]),a=n in e&&!Gn(e[n]),i?e[t]:!!a&&(r&&r.warn("Config field '"+n+"' is deprecated. Please use '"+t+"' instead. The old field will be removed in a future major version."),e[n]))}Dr(e){if(Zn(this.config.before_send))return e;var t=Vn(this.config.before_send)?this.config.before_send:[this.config.before_send],n=e;for(var r of t){if(n=r(n),Zn(n)){var i="Event '"+e.event+"' was rejected in beforeSend function";return tr(e.event)?Lr.warn(i+". This can cause unexpected behavior."):Lr.info(i),null}n.properties&&!Yn(n.properties)||Lr.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}return n}getPageViewId(){var e;return null==(e=this.pageViewManager.Vt)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,n){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(n)})}Sr(e){var t=er(e)&&!e,n=Ma.H()&&"true"===Ma.q("ph_debug");return!t&&(!!n||e)}}!function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=Kr(e.prototype[t[n]])}(wc,["identify"]);var Sc,_c=(Sc=gc[vc]=new wc,function(){function e(){e.done||(e.done=!0,bc=!1,Ur(gc,function(e){e._dom_loaded()}))}null!=wn&&wn.addEventListener?"complete"===wn.readyState?e():ti(wn,"DOMContentLoaded",e,{capture:!1}):mn&&Lr.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),Sc);let Cc=null;const Pc=()=>(Cc||(Cc=(()=>{if(_c.__loaded)return _c;try{return _c.init("phc_43GZ4mGDIo163cySkBK9l2Yrk5QsO2HBOK9pgMFJMLl",{api_host:"https://us.i.posthog.com",person_profiles:"identified_only",loaded:()=>{}}),_c}catch(e){return null}})()),Cc),Ec=(e,t)=>{if(Cc)try{Cc.capture("$exception",{$exception_message:e.message,$exception_type:e.name,$exception_stack_trace:e.stack,...t})}catch(n){}},Tc=(e,t)=>(...n)=>{try{return t(...n)}catch(r){throw Ec(r,{context:e}),r}},zc=(e,t)=>(...n)=>{try{return t(...n).catch(t=>{throw"AbortError"!==t.name&&Ec(t,{context:e}),t})}catch(r){throw"AbortError"!==r.name&&Ec(r,{context:e}),r}},Rc="https://standardapi.dori.tech",Ic={demoSharingData:`${Rc}/bot-sharing-data/`,runAssistant:`${Rc}/v2/run-assistant`,streamV2:`${Rc}/v2/stream`,searchProductLog:`${Rc}/search-selected-item-log`},Oc=zc("fetchBotDataBySharingID",async(e,t,n)=>async function(e,t=3){let n;for(let i=0;i<t;i++)try{return await e()}catch(r){if(n=r,i===t-1)throw n}throw n}(async()=>{const r=new URLSearchParams;t&&r.set("product_id",t),n&&r.set("locale",n);const i=r.toString(),a=Ic.demoSharingData+e+(i?`?${i}`:""),o=await fetch(a);if(200!==o.status)throw new Error(`Network response was not ok: ${o.status}`);return await o.json()},3)),Ac=zc("sendMessageToStreamAPI",async(e,t,n,r,i,a,o,s)=>{const l={assistant_id:t.assistant_id,thread_id:n||void 0,message:e,src:"undefined"!=typeof window?window.location.href:"",platform:"shopify_pdp",product_id:s||void 0};let c;Object.keys(l).forEach(e=>void 0===l[e]&&delete l[e]);const u={Accept:"application/json","Content-Type":"application/json"};"undefined"!=typeof window&&window.idToken&&(u.Authorization=`Bearer ${window.idToken}`);try{c=await fetch(Ic.runAssistant,{method:"POST",headers:u,body:JSON.stringify(l),signal:o?.signal})}catch(h){throw h}if(o?.signal.aborted)return;if(429===c.status)return void i("You have exceeded the request limit. Please wait at least 24 hours and try again.");if(402===c.status)return void i("Hello 😊 The smart assistant for this business is currently inactive because its subscription has expired. If you have any questions, please contact the business directly. We hope to be at your service again soon!");if(!c.ok)throw new Error(`Run assistant request failed with status ${c.status}: ${c.statusText}`);let d;try{d=await c.json()}catch(g){throw new Error("Failed to parse run assistant response")}const p=d.thread_id;if(!p)throw new Error("No thread_id received from run assistant");const f=`${Ic.streamV2}/${p}`;return new Promise(e=>{const t=new EventSource(f),n=()=>{t.close(),e()};o&&o.signal.addEventListener("abort",n),t.onopen=()=>{},t.onerror=()=>{},t.onmessage=e=>{Tc("SSE message parse",()=>{const t=JSON.parse(e.data),n={thread_id:t.thread_id,text:t.text,wait:t.wait,tool_name:t.tool_name,products:t.products,status:t.status,suggestions:t.suggestions};Object.keys(n).forEach(e=>void 0===n[e]&&delete n[e]),Object.keys(n).length>0&&r(n)})()},t.addEventListener("start",()=>{}),t.addEventListener("end",()=>{o&&o.signal.removeEventListener("abort",n),t.close(),a(),e()})})}),Fc=zc("trackProductClick",async(e,t,n)=>{const r={log:{assistant_id:t.assistant_id,thread_id:n,created_at:(new Date).toISOString(),selected_item_id:e.id,tool_call_id:e.tool_call_id}};await fetch(Ic.searchProductLog,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r)})}),Mc={minimize:"Minimize",showFullScreen:"Show Full Screen",close:"Close",reload:"Reload",askAnything:"Ask anything you need",whatsYourQuestion:"What's your question?",processing:"Processing...",writePrompt:"Write a prompt or paste a contract address",similar:"Similar",more:"More",removeProduct:"Remove product",doYouHaveSimilar:"Do you have similar to",doesProductHaveDiscount:"Does this product have a discount?",whatFeaturesSpecial:"What features make this product special?",otherColorsAvailable:"Are there other colors available?",poweredBy:"Powered by",aiCanMakeMistakes:"AI can make mistakes. Check important info",errorOccurred:"An error has occurred. Please try again.",rateLimitError:"You have exceeded the request limit. Please wait at least 24 hours and try again.",preparingProducts:"Preparing products to show you...",startingOrder:"Starting the order process...",findingProductDetails:"Finding product details for you...",searchingBestOptions:"Searching for the best options for you...",addingNotes:"Adding your notes to the order...",savingOrder:"Carefully saving your order...",processingPayment:"Processing your payment information...",lookingForAnswer:"Looking for the best answer for you...",searchingSimilar:"Searching for similar products...",checkingOrderStatus:"Checking your order status...",fetchingWebPage:"Fetching the web page for you...",searchingTheWeb:"Searching the web for you...",typing:"Typing...",imHereToHelp:"I'm here to help with anything on your mind about your purchase!",hiIm:"Hi, I'm",addToCartButton:"Add",addToCartMessage:"Add {product} to my cart",addToCartAdding:"Adding...",cartUndoRemoved:"Removed {product}",cartUndoQuantityChanged:"Updated {product}",cartUndoButton:"Undo",cartViewCart:"View Cart",cartCheckout:"Checkout",askDori:"Ask Dori!",askAgent:"Ask {name}!",topPick:"Top Pick",alsoConsider:"Also consider"},Dc={English:Mc,Spanish:{minimize:"Minimizar",showFullScreen:"Pantalla completa",close:"Cerrar",reload:"Recargar",askAnything:"Pregunta lo que necesites",whatsYourQuestion:"¿Cuál es tu pregunta?",processing:"Procesando...",writePrompt:"Escribe una consulta o pega una dirección de contrato",similar:"Similar",more:"Más",removeProduct:"Eliminar producto",doYouHaveSimilar:"¿Tienes algo similar a",doesProductHaveDiscount:"¿Este producto tiene descuento?",whatFeaturesSpecial:"¿Qué características hacen especial este producto?",otherColorsAvailable:"¿Hay otros colores disponibles?",poweredBy:"Desarrollado por",aiCanMakeMistakes:"La IA puede cometer errores. Verifica la información importante",errorOccurred:"Ha ocurrido un error. Por favor, inténtalo de nuevo.",rateLimitError:"Has excedido el límite de solicitudes. Por favor espera al menos 24 horas e inténtalo de nuevo.",preparingProducts:"Preparando productos para mostrarte...",startingOrder:"Iniciando el proceso de pedido...",findingProductDetails:"Buscando detalles del producto para ti...",searchingBestOptions:"Buscando las mejores opciones para ti...",addingNotes:"Agregando tus notas al pedido...",savingOrder:"Guardando cuidadosamente tu pedido...",processingPayment:"Procesando tu información de pago...",lookingForAnswer:"Buscando la mejor respuesta para ti...",searchingSimilar:"Buscando productos similares...",checkingOrderStatus:"Verificando el estado de tu pedido...",fetchingWebPage:"Obteniendo la página web para ti...",searchingTheWeb:"Buscando en la web para ti...",typing:"Escribiendo...",imHereToHelp:"¡Estoy aquí para ayudarte con cualquier cosa sobre tu compra!",hiIm:"Hola, soy",addToCartButton:"Agregar",addToCartMessage:"Agregar {product} a mi carrito",addToCartAdding:"Agregando...",cartUndoRemoved:"{product} eliminado",cartUndoQuantityChanged:"{product} actualizado",cartUndoButton:"Deshacer",cartViewCart:"Ver carrito",cartCheckout:"Pagar",askDori:"¡Pregunta a Dori!",askAgent:"Pregunta a {name}!",topPick:"Mejor opción",alsoConsider:"También considere"},French:{minimize:"Réduire",showFullScreen:"Plein écran",close:"Fermer",reload:"Recharger",askAnything:"Posez votre question",whatsYourQuestion:"Quelle est votre question?",processing:"Traitement en cours...",writePrompt:"Écrivez une demande ou collez une adresse de contrat",similar:"Similaire",more:"Plus",removeProduct:"Retirer le produit",doYouHaveSimilar:"Avez-vous quelque chose de similaire à",doesProductHaveDiscount:"Ce produit a-t-il une réduction?",whatFeaturesSpecial:"Quelles caractéristiques rendent ce produit spécial?",otherColorsAvailable:"Y a-t-il d'autres couleurs disponibles?",poweredBy:"Propulsé par",aiCanMakeMistakes:"L'IA peut faire des erreurs. Vérifiez les informations importantes",errorOccurred:"Une erreur s'est produite. Veuillez réessayer.",rateLimitError:"Vous avez dépassé la limite de requêtes. Veuillez attendre au moins 24 heures et réessayer.",preparingProducts:"Préparation des produits à vous montrer...",startingOrder:"Démarrage du processus de commande...",findingProductDetails:"Recherche des détails du produit pour vous...",searchingBestOptions:"Recherche des meilleures options pour vous...",addingNotes:"Ajout de vos notes à la commande...",savingOrder:"Sauvegarde soigneuse de votre commande...",processingPayment:"Traitement de vos informations de paiement...",lookingForAnswer:"Recherche de la meilleure réponse pour vous...",searchingSimilar:"Recherche de produits similaires...",checkingOrderStatus:"Vérification de l'état de votre commande...",fetchingWebPage:"Récupération de la page web pour vous...",searchingTheWeb:"Recherche sur le web pour vous...",typing:"En train d'écrire...",imHereToHelp:"Je suis là pour vous aider avec tout ce qui concerne votre achat!",hiIm:"Salut, je suis",addToCartButton:"Ajouter",addToCartMessage:"Ajouter {product} à mon panier",addToCartAdding:"Ajout en cours...",cartUndoRemoved:"{product} supprimé",cartUndoQuantityChanged:"{product} mis à jour",cartUndoButton:"Annuler",cartViewCart:"Voir le panier",cartCheckout:"Payer",askDori:"Demandez à Dori!",askAgent:"Demandez à {name}!",topPick:"Meilleur choix",alsoConsider:"À considérer aussi"},German:{minimize:"Minimieren",showFullScreen:"Vollbild",close:"Schließen",reload:"Neu laden",askAnything:"Fragen Sie was Sie möchten",whatsYourQuestion:"Was ist Ihre Frage?",processing:"Wird verarbeitet...",writePrompt:"Schreiben Sie eine Anfrage oder fügen Sie eine Vertragsadresse ein",similar:"Ähnlich",more:"Mehr",removeProduct:"Produkt entfernen",doYouHaveSimilar:"Haben Sie etwas Ähnliches wie",doesProductHaveDiscount:"Hat dieses Produkt einen Rabatt?",whatFeaturesSpecial:"Welche Funktionen machen dieses Produkt besonders?",otherColorsAvailable:"Sind andere Farben verfügbar?",poweredBy:"Betrieben von",aiCanMakeMistakes:"KI kann Fehler machen. Überprüfen Sie wichtige Informationen",errorOccurred:"Ein Fehler ist aufgetreten. Bitte versuchen Sie es erneut.",rateLimitError:"Sie haben das Anforderungslimit überschritten. Bitte warten Sie mindestens 24 Stunden und versuchen Sie es erneut.",preparingProducts:"Produkte werden vorbereitet...",startingOrder:"Bestellvorgang wird gestartet...",findingProductDetails:"Produktdetails werden für Sie gesucht...",searchingBestOptions:"Die besten Optionen werden für Sie gesucht...",addingNotes:"Ihre Notizen werden zur Bestellung hinzugefügt...",savingOrder:"Ihre Bestellung wird sorgfältig gespeichert...",processingPayment:"Ihre Zahlungsinformationen werden verarbeitet...",lookingForAnswer:"Die beste Antwort wird für Sie gesucht...",searchingSimilar:"Ähnliche Produkte werden gesucht...",checkingOrderStatus:"Ihr Bestellstatus wird überprüft...",fetchingWebPage:"Webseite wird für Sie abgerufen...",searchingTheWeb:"Suche im Web für Sie...",typing:"Schreibt...",imHereToHelp:"Ich bin hier, um Ihnen bei allem rund um Ihren Kauf zu helfen!",hiIm:"Hallo, ich bin der",addToCartButton:"Hinzufügen",addToCartMessage:"{product} in meinen Warenkorb legen",addToCartAdding:"Wird hinzugefügt...",cartUndoRemoved:"{product} entfernt",cartUndoQuantityChanged:"{product} aktualisiert",cartUndoButton:"Rückgängig",cartViewCart:"Warenkorb",cartCheckout:"Zur Kasse",askDori:"Fragen Sie Dori!",askAgent:"Fragen Sie {name}!",topPick:"Top-Auswahl",alsoConsider:"Auch interessant"},Chinese:{minimize:"最小化",showFullScreen:"全屏显示",close:"关闭",reload:"重新加载",askAnything:"问我任何问题",whatsYourQuestion:"你的问题是什么?",processing:"处理中...",writePrompt:"输入提示或粘贴合约地址",similar:"相似",more:"更多",removeProduct:"移除产品",doYouHaveSimilar:"你有类似的产品吗",doesProductHaveDiscount:"这个产品有折扣吗?",whatFeaturesSpecial:"是什么特性让这个产品特别?",otherColorsAvailable:"有其他颜色可选吗?",poweredBy:"技术支持",aiCanMakeMistakes:"AI可能会出错。请检查重要信息",errorOccurred:"发生错误。请重试。",rateLimitError:"您已超出请求限制。请等待至少24小时后重试。",preparingProducts:"正在准备产品展示给您...",startingOrder:"正在开始订单流程...",findingProductDetails:"正在为您查找产品详情...",searchingBestOptions:"正在为您搜索最佳选项...",addingNotes:"正在将您的备注添加到订单...",savingOrder:"正在仔细保存您的订单...",processingPayment:"正在处理您的付款信息...",lookingForAnswer:"正在为您寻找最佳答案...",searchingSimilar:"正在搜索类似产品...",checkingOrderStatus:"正在检查您的订单状态...",fetchingWebPage:"正在为您获取网页...",searchingTheWeb:"正在为您搜索网络...",typing:"正在输入...",imHereToHelp:"我在这里帮助您解决关于购买的任何问题!",hiIm:"你好,我是",addToCartButton:"加入",addToCartMessage:"将 {product} 加入购物车",addToCartAdding:"添加中...",cartUndoRemoved:"已移除 {product}",cartUndoQuantityChanged:"已更新 {product}",cartUndoButton:"撤销",cartViewCart:"查看购物车",cartCheckout:"结账",askDori:"问 Dori!",askAgent:"问 {name}!",topPick:"首选",alsoConsider:"也可以考虑"},Japanese:{minimize:"最小化",showFullScreen:"全画面表示",close:"閉じる",reload:"再読み込み",askAnything:"何でもお聞きください",whatsYourQuestion:"ご質問は何ですか?",processing:"処理中...",writePrompt:"プロンプトを入力するか、契約アドレスを貼り付けてください",similar:"類似",more:"もっと見る",removeProduct:"商品を削除",doYouHaveSimilar:"類似の商品はありますか",doesProductHaveDiscount:"この商品は割引がありますか?",whatFeaturesSpecial:"この商品の特別な機能は何ですか?",otherColorsAvailable:"他の色はありますか?",poweredBy:"提供元",aiCanMakeMistakes:"AIは間違える可能性があります。重要な情報を確認してください",errorOccurred:"エラーが発生しました。もう一度お試しください。",rateLimitError:"リクエスト制限を超えました。少なくとも24時間待ってから再試行してください。",preparingProducts:"商品を準備しています...",startingOrder:"注文プロセスを開始しています...",findingProductDetails:"商品の詳細を検索しています...",searchingBestOptions:"最適なオプションを検索しています...",addingNotes:"メモを注文に追加しています...",savingOrder:"注文を慎重に保存しています...",processingPayment:"お支払い情報を処理しています...",lookingForAnswer:"最適な回答を探しています...",searchingSimilar:"類似商品を検索しています...",checkingOrderStatus:"注文状況を確認しています...",fetchingWebPage:"ウェブページを取得しています...",searchingTheWeb:"ウェブを検索しています...",typing:"入力中...",imHereToHelp:"ご購入に関することなら何でもお手伝いします!",hiIm:"こんにちは、私は",addToCartButton:"追加",addToCartMessage:"{product} をカートに追加",addToCartAdding:"追加中...",cartUndoRemoved:"{product} が削除されました",cartUndoQuantityChanged:"{product} が更新されました",cartUndoButton:"元に戻す",cartViewCart:"カートを見る",cartCheckout:"レジへ",askDori:"Dori に聞いて!",askAgent:"{name} に聞いて!",topPick:"イチオシ",alsoConsider:"こちらもおすすめ"},Korean:{minimize:"최소화",showFullScreen:"전체 화면",close:"닫기",reload:"새로고침",askAnything:"무엇이든 물어보세요",whatsYourQuestion:"무엇을 도와드릴까요?",processing:"처리 중...",writePrompt:"프롬프트를 입력하거나 계약 주소를 붙여넣으세요",similar:"유사",more:"더보기",removeProduct:"상품 제거",doYouHaveSimilar:"유사한 제품이 있나요",doesProductHaveDiscount:"이 제품에 할인이 있나요?",whatFeaturesSpecial:"이 제품의 특별한 기능은 무엇인가요?",otherColorsAvailable:"다른 색상도 있나요?",poweredBy:"제공",aiCanMakeMistakes:"AI는 실수할 수 있습니다. 중요한 정보를 확인하세요",errorOccurred:"오류가 발생했습니다. 다시 시도해 주세요.",rateLimitError:"요청 한도를 초과했습니다. 최소 24시간 후에 다시 시도해 주세요.",preparingProducts:"상품을 준비하고 있습니다...",startingOrder:"주문 프로세스를 시작하고 있습니다...",findingProductDetails:"상품 세부정보를 찾고 있습니다...",searchingBestOptions:"최적의 옵션을 검색하고 있습니다...",addingNotes:"메모를 주문에 추가하고 있습니다...",savingOrder:"주문을 신중하게 저장하고 있습니다...",processingPayment:"결제 정보를 처리하고 있습니다...",lookingForAnswer:"최적의 답변을 찾고 있습니다...",searchingSimilar:"유사한 상품을 검색하고 있습니다...",checkingOrderStatus:"주문 상태를 확인하고 있습니다...",fetchingWebPage:"웹페이지를 가져오고 있습니다...",searchingTheWeb:"웹에서 검색하고 있습니다...",typing:"입력 중...",imHereToHelp:"구매에 관한 모든 것을 도와드리겠습니다!",hiIm:"안녕하세요, 저는",addToCartButton:"추가",addToCartMessage:"{product}을(를) 장바구니에 추가",addToCartAdding:"추가 중...",cartUndoRemoved:"{product} 제거됨",cartUndoQuantityChanged:"{product} 업데이트됨",cartUndoButton:"실행 취소",cartViewCart:"장바구니 보기",cartCheckout:"결제",askDori:"Dori 에게 물어보세요!",askAgent:"{name} 에게 물어보세요!",topPick:"최고 추천",alsoConsider:"이것도 고려해 보세요"},Arabic:{minimize:"تصغير",showFullScreen:"ملء الشاشة",close:"إغلاق",reload:"إعادة تحميل",askAnything:"اسأل ما تحتاج",whatsYourQuestion:"ما هو سؤالك؟",processing:"جاري المعالجة...",writePrompt:"اكتب استفسارًا أو الصق عنوان العقد",similar:"مشابه",more:"المزيد",removeProduct:"إزالة المنتج",doYouHaveSimilar:"هل لديك منتج مشابه لـ",doesProductHaveDiscount:"هل هذا المنتج عليه خصم؟",whatFeaturesSpecial:"ما هي المميزات التي تجعل هذا المنتج مميزًا؟",otherColorsAvailable:"هل هناك ألوان أخرى متاحة؟",poweredBy:"مدعوم من",aiCanMakeMistakes:"يمكن للذكاء الاصطناعي أن يخطئ. تحقق من المعلومات المهمة",errorOccurred:"حدث خطأ. يرجى المحاولة مرة أخرى.",rateLimitError:"لقد تجاوزت حد الطلبات. يرجى الانتظار 24 ساعة على الأقل والمحاولة مرة أخرى.",preparingProducts:"جاري تحضير المنتجات لعرضها عليك...",startingOrder:"جاري بدء عملية الطلب...",findingProductDetails:"جاري البحث عن تفاصيل المنتج من أجلك...",searchingBestOptions:"جاري البحث عن أفضل الخيارات لك...",addingNotes:"جاري إضافة ملاحظاتك إلى الطلب...",savingOrder:"جاري حفظ طلبك بعناية...",processingPayment:"جاري معالجة معلومات الدفع الخاصة بك...",lookingForAnswer:"جاري البحث عن أفضل إجابة لك...",searchingSimilar:"جاري البحث عن منتجات مشابهة...",checkingOrderStatus:"جاري التحقق من حالة طلبك...",fetchingWebPage:"جاري جلب صفحة الويب لك...",searchingTheWeb:"جاري البحث في الويب لك...",typing:"يكتب...",imHereToHelp:"أنا هنا لمساعدتك في أي شيء يتعلق بشرائك!",hiIm:"مرحبا، أنا",addToCartButton:"أضف",addToCartMessage:"أضف {product} إلى سلة التسوق",addToCartAdding:"جاري الإضافة...",cartUndoRemoved:"تم إزالة {product}",cartUndoQuantityChanged:"تم تحديث {product}",cartUndoButton:"تراجع",cartViewCart:"عرض السلة",cartCheckout:"الدفع",askDori:"اسأل Dori!",askAgent:"اسأل {name}!",topPick:"الخيار الأفضل",alsoConsider:"قد يعجبك أيضاً"},Hindi:{minimize:"छोटा करें",showFullScreen:"पूर्ण स्क्रीन",close:"बंद करें",reload:"पुनः लोड करें",askAnything:"कुछ भी पूछें",whatsYourQuestion:"आपका सवाल क्या है?",processing:"प्रक्रिया जारी है...",writePrompt:"एक प्रॉम्प्ट लिखें या अनुबंध पता पेस्ट करें",similar:"समान",more:"अधिक",removeProduct:"उत्पाद हटाएं",doYouHaveSimilar:"क्या आपके पास इसके समान कुछ है",doesProductHaveDiscount:"क्या इस उत्पाद पर छूट है?",whatFeaturesSpecial:"कौन सी विशेषताएं इस उत्पाद को विशेष बनाती हैं?",otherColorsAvailable:"क्या अन्य रंग उपलब्ध हैं?",poweredBy:"द्वारा संचालित",aiCanMakeMistakes:"AI गलतियाँ कर सकता है। महत्वपूर्ण जानकारी की जाँच करें",errorOccurred:"एक त्रुटि हुई है। कृपया पुनः प्रयास करें।",rateLimitError:"आपने अनुरोध सीमा पार कर ली है। कृपया कम से कम 24 घंटे प्रतीक्षा करें और पुनः प्रयास करें।",preparingProducts:"आपको दिखाने के लिए उत्पाद तैयार किए जा रहे हैं...",startingOrder:"ऑर्डर प्रक्रिया शुरू की जा रही है...",findingProductDetails:"आपके लिए उत्पाद विवरण खोजे जा रहे हैं...",searchingBestOptions:"आपके लिए सर्वोत्तम विकल्प खोजे जा रहे हैं...",addingNotes:"आपके नोट्स ऑर्डर में जोड़े जा रहे हैं...",savingOrder:"आपका ऑर्डर सावधानीपूर्वक सहेजा जा रहा है...",processingPayment:"आपकी भुगतान जानकारी संसाधित की जा रही है...",lookingForAnswer:"आपके लिए सर्वोत्तम उत्तर खोजा जा रहा है...",searchingSimilar:"समान उत्पाद खोजे जा रहे हैं...",checkingOrderStatus:"आपकी ऑर्डर स्थिति की जाँच की जा रही है...",fetchingWebPage:"आपके लिए वेब पेज प्राप्त कर रहे हैं...",searchingTheWeb:"आपके लिए वेब पर खोज रहे हैं...",typing:"टाइप कर रहा है...",imHereToHelp:"मैं आपकी खरीदारी से संबंधित किसी भी बात में मदद के लिए यहाँ हूँ!",hiIm:"नमस्ते, मैं",addToCartButton:"जोड़ें",addToCartMessage:"{product} को मेरी कार्ट में जोड़ें",addToCartAdding:"जोड़ा जा रहा है...",cartUndoRemoved:"{product} हटाया गया",cartUndoQuantityChanged:"{product} अपडेट किया गया",cartUndoButton:"पूर्ववत करें",cartViewCart:"कार्ट देखें",cartCheckout:"चेकआउट",askDori:"Dori से पूछें!",askAgent:"{name} से पूछें!",topPick:"सबसे अच्छा",alsoConsider:"ये भी देखें"},Portuguese:{minimize:"Minimizar",showFullScreen:"Tela cheia",close:"Fechar",reload:"Recarregar",askAnything:"Pergunte o que precisar",whatsYourQuestion:"Qual é a sua pergunta?",processing:"Processando...",writePrompt:"Escreva uma consulta ou cole um endereço de contrato",similar:"Similar",more:"Mais",removeProduct:"Remover produto",doYouHaveSimilar:"Você tem algo similar a",doesProductHaveDiscount:"Este produto tem desconto?",whatFeaturesSpecial:"Que características tornam este produto especial?",otherColorsAvailable:"Há outras cores disponíveis?",poweredBy:"Desenvolvido por",aiCanMakeMistakes:"A IA pode cometer erros. Verifique informações importantes",errorOccurred:"Ocorreu um erro. Por favor, tente novamente.",rateLimitError:"Você excedeu o limite de solicitações. Aguarde pelo menos 24 horas e tente novamente.",preparingProducts:"Preparando produtos para mostrar a você...",startingOrder:"Iniciando o processo de pedido...",findingProductDetails:"Procurando detalhes do produto para você...",searchingBestOptions:"Buscando as melhores opções para você...",addingNotes:"Adicionando suas notas ao pedido...",savingOrder:"Salvando cuidadosamente seu pedido...",processingPayment:"Processando suas informações de pagamento...",lookingForAnswer:"Procurando a melhor resposta para você...",searchingSimilar:"Buscando produtos similares...",checkingOrderStatus:"Verificando o status do seu pedido...",fetchingWebPage:"Buscando a página web para você...",searchingTheWeb:"Pesquisando na web para você...",typing:"Digitando...",imHereToHelp:"Estou aqui para ajudar com qualquer coisa sobre sua compra!",hiIm:"Olá, eu sou",addToCartButton:"Adicionar",addToCartMessage:"Adicionar {product} ao meu carrinho",addToCartAdding:"Adicionando...",cartUndoRemoved:"{product} removido",cartUndoQuantityChanged:"{product} atualizado",cartUndoButton:"Desfazer",cartViewCart:"Ver carrinho",cartCheckout:"Finalizar",askDori:"Pergunte ao Dori!",askAgent:"Pergunte ao {name}!",topPick:"Melhor escolha",alsoConsider:"Considere também"},Russian:{minimize:"Свернуть",showFullScreen:"Полный экран",close:"Закрыть",reload:"Перезагрузить",askAnything:"Спросите что угодно",whatsYourQuestion:"Какой у вас вопрос?",processing:"Обработка...",writePrompt:"Напишите запрос или вставьте адрес контракта",similar:"Похожие",more:"Еще",removeProduct:"Удалить продукт",doYouHaveSimilar:"У вас есть что-то похожее на",doesProductHaveDiscount:"Есть ли скидка на этот продукт?",whatFeaturesSpecial:"Какие функции делают этот продукт особенным?",otherColorsAvailable:"Есть ли другие цвета?",poweredBy:"Работает на",aiCanMakeMistakes:"ИИ может ошибаться. Проверяйте важную информацию",errorOccurred:"Произошла ошибка. Пожалуйста, попробуйте снова.",rateLimitError:"Вы превысили лимит запросов. Подождите не менее 24 часов и попробуйте снова.",preparingProducts:"Подготавливаем продукты для вас...",startingOrder:"Начинаем процесс заказа...",findingProductDetails:"Ищем детали продукта для вас...",searchingBestOptions:"Ищем лучшие варианты для вас...",addingNotes:"Добавляем ваши заметки к заказу...",savingOrder:"Бережно сохраняем ваш заказ...",processingPayment:"Обрабатываем вашу платежную информацию...",lookingForAnswer:"Ищем лучший ответ для вас...",searchingSimilar:"Ищем похожие продукты...",checkingOrderStatus:"Проверяем статус вашего заказа...",fetchingWebPage:"Загружаем веб-страницу для вас...",searchingTheWeb:"Ищем в интернете для вас...",typing:"Печатает...",imHereToHelp:"Я здесь, чтобы помочь вам с покупкой!",hiIm:"Привет, я",addToCartButton:"Добавить",addToCartMessage:"Добавить {product} в корзину",addToCartAdding:"Добавление...",cartUndoRemoved:"{product} удален",cartUndoQuantityChanged:"{product} обновлен",cartUndoButton:"Отменить",cartViewCart:"Корзина",cartCheckout:"Оформить",askDori:"Спросите Dori!",askAgent:"Спросите {name}!",topPick:"Лучший выбор",alsoConsider:"Также обратите внимание"},Italian:{minimize:"Riduci",showFullScreen:"Schermo intero",close:"Chiudi",reload:"Ricarica",askAnything:"Chiedi qualsiasi cosa",whatsYourQuestion:"Qual è la tua domanda?",processing:"Elaborazione...",writePrompt:"Scrivi una richiesta o incolla un indirizzo di contratto",similar:"Simile",more:"Altro",removeProduct:"Rimuovi prodotto",doYouHaveSimilar:"Hai qualcosa di simile a",doesProductHaveDiscount:"Questo prodotto ha uno sconto?",whatFeaturesSpecial:"Quali caratteristiche rendono speciale questo prodotto?",otherColorsAvailable:"Ci sono altri colori disponibili?",poweredBy:"Offerto da",aiCanMakeMistakes:"L'IA può commettere errori. Verifica le informazioni importanti",errorOccurred:"Si è verificato un errore. Per favore riprova.",rateLimitError:"Hai superato il limite di richieste. Attendi almeno 24 ore e riprova.",preparingProducts:"Preparazione dei prodotti da mostrarti...",startingOrder:"Avvio del processo di ordine...",findingProductDetails:"Ricerca dei dettagli del prodotto per te...",searchingBestOptions:"Ricerca delle migliori opzioni per te...",addingNotes:"Aggiunta delle tue note all'ordine...",savingOrder:"Salvataggio attento del tuo ordine...",processingPayment:"Elaborazione delle tue informazioni di pagamento...",lookingForAnswer:"Ricerca della migliore risposta per te...",searchingSimilar:"Ricerca di prodotti simili...",checkingOrderStatus:"Verifica dello stato del tuo ordine...",fetchingWebPage:"Recupero della pagina web per te...",searchingTheWeb:"Ricerca sul web per te...",typing:"Sta scrivendo...",imHereToHelp:"Sono qui per aiutarti con qualsiasi cosa riguardo il tuo acquisto!",hiIm:"Ciao, sono",addToCartButton:"Aggiungi",addToCartMessage:"Aggiungi {product} al mio carrello",addToCartAdding:"Aggiungendo...",cartUndoRemoved:"{product} rimosso",cartUndoQuantityChanged:"{product} aggiornato",cartUndoButton:"Annulla",cartViewCart:"Vedi carrello",cartCheckout:"Cassa",askDori:"Chiedi a Dori!",askAgent:"Chiedi a {name}!",topPick:"Scelta top",alsoConsider:"Da considerare anche"},Turkish:{minimize:"Küçült",showFullScreen:"Tam Ekran",close:"Kapat",reload:"Yenile",askAnything:"Ne istersen sor",whatsYourQuestion:"Sorunuz nedir?",processing:"İşleniyor...",writePrompt:"Bir istem yazın veya bir sözleşme adresi yapıştırın",similar:"Benzer",more:"Daha fazla",removeProduct:"Ürünü kaldır",doYouHaveSimilar:"Buna benzer bir şey var mı",doesProductHaveDiscount:"Bu üründe indirim var mı?",whatFeaturesSpecial:"Bu ürünü özel kılan özellikler nelerdir?",otherColorsAvailable:"Başka renkler mevcut mu?",poweredBy:"Destekleyen",aiCanMakeMistakes:"Yapay zeka hata yapabilir. Önemli bilgileri kontrol edin",errorOccurred:"Bir hata oluştu. Lütfen tekrar deneyin.",rateLimitError:"İstek sınırını aştınız. Lütfen en az 24 saat bekleyin ve tekrar deneyin.",preparingProducts:"Size göstermek için ürünler hazırlanıyor...",startingOrder:"Sipariş süreci başlatılıyor...",findingProductDetails:"Sizin için ürün detayları bulunuyor...",searchingBestOptions:"Sizin için en iyi seçenekler aranıyor...",addingNotes:"Notlarınız siparişe ekleniyor...",savingOrder:"Siparişiniz dikkatle kaydediliyor...",processingPayment:"Ödeme bilgileriniz işleniyor...",lookingForAnswer:"Sizin için en iyi cevap aranıyor...",searchingSimilar:"Benzer ürünler aranıyor...",checkingOrderStatus:"Sipariş durumunuz kontrol ediliyor...",fetchingWebPage:"Web sayfası sizin için getiriliyor...",searchingTheWeb:"Sizin için web'de aranıyor...",typing:"Yazıyor...",imHereToHelp:"Satın alma işleminizle ilgili her konuda yardımcı olmak için buradayım!",hiIm:"Merhaba, ben",addToCartButton:"Ekle",addToCartMessage:"{product} sepetime ekle",addToCartAdding:"Ekleniyor...",cartUndoRemoved:"{product} kaldırıldı",cartUndoQuantityChanged:"{product} güncellendi",cartUndoButton:"Geri al",cartViewCart:"Sepeti gör",cartCheckout:"Ödeme",askDori:"Dori'ye sorun!",askAgent:"{name}'e sorun!",topPick:"En İyi Seçim",alsoConsider:"Bunları da değerlendirin"},Polish:{minimize:"Minimalizuj",showFullScreen:"Pełny ekran",close:"Zamknij",reload:"Odśwież",askAnything:"Zapytaj o cokolwiek",whatsYourQuestion:"Jakie jest twoje pytanie?",processing:"Przetwarzanie...",writePrompt:"Wpisz zapytanie lub wklej adres kontraktu",similar:"Podobne",more:"Więcej",removeProduct:"Usuń produkt",doYouHaveSimilar:"Czy masz coś podobnego do",doesProductHaveDiscount:"Czy ten produkt ma zniżkę?",whatFeaturesSpecial:"Jakie funkcje sprawiają, że ten produkt jest wyjątkowy?",otherColorsAvailable:"Czy są dostępne inne kolory?",poweredBy:"Obsługiwane przez",aiCanMakeMistakes:"AI może popełniać błędy. Sprawdź ważne informacje",errorOccurred:"Wystąpił błąd. Spróbuj ponownie.",rateLimitError:"Przekroczyłeś limit żądań. Poczekaj co najmniej 24 godziny i spróbuj ponownie.",preparingProducts:"Przygotowywanie produktów do pokazania...",startingOrder:"Rozpoczynanie procesu zamówienia...",findingProductDetails:"Wyszukiwanie szczegółów produktu dla ciebie...",searchingBestOptions:"Wyszukiwanie najlepszych opcji dla ciebie...",addingNotes:"Dodawanie twoich notatek do zamówienia...",savingOrder:"Ostrożne zapisywanie twojego zamówienia...",processingPayment:"Przetwarzanie informacji o płatności...",lookingForAnswer:"Wyszukiwanie najlepszej odpowiedzi dla ciebie...",searchingSimilar:"Wyszukiwanie podobnych produktów...",checkingOrderStatus:"Sprawdzanie statusu twojego zamówienia...",fetchingWebPage:"Pobieranie strony internetowej dla ciebie...",searchingTheWeb:"Wyszukiwanie w sieci dla ciebie...",typing:"Pisze...",imHereToHelp:"Jestem tutaj, aby pomóc ci we wszystkim związanym z twoim zakupem!",hiIm:"Cześć, jestem",addToCartButton:"Dodaj",addToCartMessage:"Dodaj {product} do koszyka",addToCartAdding:"Dodawanie...",cartUndoRemoved:"{product} usunięty",cartUndoQuantityChanged:"{product} zaktualizowany",cartUndoButton:"Cofnij",cartViewCart:"Zobacz koszyk",cartCheckout:"Kasa",askDori:"Zapytaj Dori!",askAgent:"Zapytaj {name}!",topPick:"Najlepszy wybór",alsoConsider:"Warto też rozważyć"},Dutch:{minimize:"Minimaliseren",showFullScreen:"Volledig scherm",close:"Sluiten",reload:"Herladen",askAnything:"Vraag wat je wilt",whatsYourQuestion:"Wat is je vraag?",processing:"Verwerken...",writePrompt:"Schrijf een prompt of plak een contractadres",similar:"Vergelijkbaar",more:"Meer",removeProduct:"Product verwijderen",doYouHaveSimilar:"Heb je iets vergelijkbaars met",doesProductHaveDiscount:"Heeft dit product korting?",whatFeaturesSpecial:"Welke functies maken dit product speciaal?",otherColorsAvailable:"Zijn er andere kleuren beschikbaar?",poweredBy:"Mogelijk gemaakt door",aiCanMakeMistakes:"AI kan fouten maken. Controleer belangrijke informatie",errorOccurred:"Er is een fout opgetreden. Probeer het opnieuw.",rateLimitError:"Je hebt de aanvraaglimiet overschreden. Wacht minimaal 24 uur en probeer het opnieuw.",preparingProducts:"Producten voorbereiden om te tonen...",startingOrder:"Bestelproces starten...",findingProductDetails:"Productdetails voor je zoeken...",searchingBestOptions:"De beste opties voor je zoeken...",addingNotes:"Je notities aan de bestelling toevoegen...",savingOrder:"Je bestelling zorgvuldig opslaan...",processingPayment:"Je betalingsinformatie verwerken...",lookingForAnswer:"Het beste antwoord voor je zoeken...",searchingSimilar:"Vergelijkbare producten zoeken...",checkingOrderStatus:"Je bestelstatus controleren...",fetchingWebPage:"De webpagina wordt voor je opgehaald...",searchingTheWeb:"Op het web zoeken voor je...",typing:"Aan het typen...",imHereToHelp:"Ik ben hier om je te helpen met alles over je aankoop!",hiIm:"Hoi, ik ben",addToCartButton:"Toevoegen",addToCartMessage:"{product} aan mijn winkelwagen toevoegen",addToCartAdding:"Toevoegen...",cartUndoRemoved:"{product} verwijderd",cartUndoQuantityChanged:"{product} bijgewerkt",cartUndoButton:"Ongedaan",cartViewCart:"Winkelwagen bekijken",cartCheckout:"Afrekenen",askDori:"Vraag Dori!",askAgent:"Vraag {name}!",topPick:"Topkeuze",alsoConsider:"Ook het overwegen waard"},Ukrainian:{minimize:"Згорнути",showFullScreen:"Повний екран",close:"Закрити",reload:"Перезавантажити",askAnything:"Запитайте будь-що",whatsYourQuestion:"Яке ваше питання?",processing:"Обробка...",writePrompt:"Напишіть запит або вставте адресу контракту",similar:"Схожі",more:"Більше",removeProduct:"Видалити продукт",doYouHaveSimilar:"Чи є у вас щось схоже на",doesProductHaveDiscount:"Чи є знижка на цей продукт?",whatFeaturesSpecial:"Які функції роблять цей продукт особливим?",otherColorsAvailable:"Чи є інші кольори?",poweredBy:"Працює на",aiCanMakeMistakes:"ШІ може помилятися. Перевіряйте важливу інформацію",errorOccurred:"Сталася помилка. Будь ласка, спробуйте знову.",rateLimitError:"Ви перевищили ліміт запитів. Зачекайте щонайменше 24 години та спробуйте знову.",preparingProducts:"Підготовка продуктів для вас...",startingOrder:"Початок процесу замовлення...",findingProductDetails:"Пошук деталей продукту для вас...",searchingBestOptions:"Пошук найкращих варіантів для вас...",addingNotes:"Додавання ваших приміток до замовлення...",savingOrder:"Ретельне збереження вашого замовлення...",processingPayment:"Обробка вашої платіжної інформації...",lookingForAnswer:"Пошук найкращої відповіді для вас...",searchingSimilar:"Пошук схожих продуктів...",checkingOrderStatus:"Перевірка статусу вашого замовлення...",fetchingWebPage:"Завантажуємо веб-сторінку для вас...",searchingTheWeb:"Шукаємо в інтернеті для вас...",typing:"Друкує...",imHereToHelp:"Я тут, щоб допомогти вам з покупкою!",hiIm:"Привіт, я",addToCartButton:"Додати",addToCartMessage:"Додати {product} до кошика",addToCartAdding:"Додається...",cartUndoRemoved:"{product} видалено",cartUndoQuantityChanged:"{product} оновлено",cartUndoButton:"Скасувати",cartViewCart:"Переглянути кошик",cartCheckout:"Оформити",askDori:"Запитайте Dori!",askAgent:"Запитайте {name}!",topPick:"Найкращий вибір",alsoConsider:"Також варто розглянути"},Vietnamese:{minimize:"Thu nhỏ",showFullScreen:"Toàn màn hình",close:"Đóng",reload:"Tải lại",askAnything:"Hỏi bất cứ điều gì",whatsYourQuestion:"Câu hỏi của bạn là gì?",processing:"Đang xử lý...",writePrompt:"Viết câu hỏi hoặc dán địa chỉ hợp đồng",similar:"Tương tự",more:"Thêm",removeProduct:"Xóa sản phẩm",doYouHaveSimilar:"Bạn có sản phẩm tương tự",doesProductHaveDiscount:"Sản phẩm này có giảm giá không?",whatFeaturesSpecial:"Tính năng nào làm cho sản phẩm này đặc biệt?",otherColorsAvailable:"Có màu khác không?",poweredBy:"Được cung cấp bởi",aiCanMakeMistakes:"AI có thể mắc lỗi. Kiểm tra thông tin quan trọng",errorOccurred:"Đã xảy ra lỗi. Vui lòng thử lại.",rateLimitError:"Bạn đã vượt quá giới hạn yêu cầu. Vui lòng đợi ít nhất 24 giờ và thử lại.",preparingProducts:"Đang chuẩn bị sản phẩm để hiển thị cho bạn...",startingOrder:"Đang bắt đầu quy trình đặt hàng...",findingProductDetails:"Đang tìm chi tiết sản phẩm cho bạn...",searchingBestOptions:"Đang tìm kiếm tùy chọn tốt nhất cho bạn...",addingNotes:"Đang thêm ghi chú của bạn vào đơn hàng...",savingOrder:"Đang cẩn thận lưu đơn hàng của bạn...",processingPayment:"Đang xử lý thông tin thanh toán của bạn...",lookingForAnswer:"Đang tìm câu trả lời tốt nhất cho bạn...",searchingSimilar:"Đang tìm kiếm sản phẩm tương tự...",checkingOrderStatus:"Đang kiểm tra trạng thái đơn hàng của bạn...",fetchingWebPage:"Đang tải trang web cho bạn...",searchingTheWeb:"Đang tìm kiếm trên web cho bạn...",typing:"Đang nhập...",imHereToHelp:"Tôi ở đây để giúp bạn mọi thứ về việc mua hàng của bạn!",hiIm:"Xin chào, tôi là",addToCartButton:"Thêm",addToCartMessage:"Thêm {product} vào giỏ hàng",addToCartAdding:"Đang thêm...",cartUndoRemoved:"Đã xóa {product}",cartUndoQuantityChanged:"Đã cập nhật {product}",cartUndoButton:"Hoàn tác",cartViewCart:"Xem giỏ hàng",cartCheckout:"Thanh toán",askDori:"Hỏi Dori!",askAgent:"Hỏi {name}!",topPick:"Lựa chọn hàng đầu",alsoConsider:"Cũng nên xem"},Thai:{minimize:"ย่อเล็กสุด",showFullScreen:"แสดงแบบเต็มหน้าจอ",close:"ปิด",reload:"โหลดใหม่",askAnything:"ถามอะไรก็ได้",whatsYourQuestion:"คำถามของคุณคืออะไร?",processing:"กำลังประมวลผล...",writePrompt:"เขียนคำถามหรือวางที่อยู่สัญญา",similar:"คล้ายกัน",more:"เพิ่มเติม",removeProduct:"ลบสินค้า",doYouHaveSimilar:"คุณมีสินค้าที่คล้ายกับ",doesProductHaveDiscount:"สินค้านี้มีส่วนลดไหม?",whatFeaturesSpecial:"คุณสมบัติอะไรที่ทำให้สินค้านี้พิเศษ?",otherColorsAvailable:"มีสีอื่นให้เลือกไหม?",poweredBy:"ขับเคลื่อนโดย",aiCanMakeMistakes:"AI อาจทำผิดพลาดได้ ตรวจสอบข้อมูลสำคัญ",errorOccurred:"เกิดข้อผิดพลาด กรุณาลองอีกครั้ง",rateLimitError:"คุณใช้คำขอเกินขีดจำกัด กรุณารออย่างน้อย 24 ชั่วโมงแล้วลองอีกครั้ง",preparingProducts:"กำลังเตรียมสินค้าเพื่อแสดงให้คุณ...",startingOrder:"กำลังเริ่มกระบวนการสั่งซื้อ...",findingProductDetails:"กำลังค้นหารายละเอียดสินค้าให้คุณ...",searchingBestOptions:"กำลังค้นหาตัวเลือกที่ดีที่สุดให้คุณ...",addingNotes:"กำลังเพิ่มบันทึกของคุณในคำสั่งซื้อ...",savingOrder:"กำลังบันทึกคำสั่งซื้อของคุณอย่างระมัดระวัง...",processingPayment:"กำลังประมวลผลข้อมูลการชำระเงินของคุณ...",lookingForAnswer:"กำลังมองหาคำตอบที่ดีที่สุดให้คุณ...",searchingSimilar:"กำลังค้นหาสินค้าที่คล้ายกัน...",checkingOrderStatus:"กำลังตรวจสอบสถานะคำสั่งซื้อของคุณ...",fetchingWebPage:"กำลังดึงหน้าเว็บให้คุณ...",searchingTheWeb:"กำลังค้นหาบนเว็บให้คุณ...",typing:"กำลังพิมพ์...",imHereToHelp:"ฉันอยู่ที่นี่เพื่อช่วยเหลือคุณในทุกเรื่องเกี่ยวกับการซื้อของคุณ!",hiIm:"สวัสดี ฉันคือ",addToCartButton:"เพิ่ม",addToCartMessage:"เพิ่ม {product} ลงในตะกร้าของฉัน",addToCartAdding:"กำลังเพิ่ม...",cartUndoRemoved:"ลบ {product} แล้ว",cartUndoQuantityChanged:"อัปเดต {product} แล้ว",cartUndoButton:"ยกเลิก",cartViewCart:"ดูตะกร้า",cartCheckout:"ชำระเงิน",askDori:"ถาม Dori!",askAgent:"ถาม {name}!",topPick:"ตัวเลือกยอดนิยม",alsoConsider:"ลองพิจารณาด้วย"},Indonesian:{minimize:"Perkecil",showFullScreen:"Layar Penuh",close:"Tutup",reload:"Muat Ulang",askAnything:"Tanya apa saja",whatsYourQuestion:"Apa pertanyaan Anda?",processing:"Memproses...",writePrompt:"Tulis pertanyaan atau tempel alamat kontrak",similar:"Serupa",more:"Lainnya",removeProduct:"Hapus produk",doYouHaveSimilar:"Apakah Anda punya yang serupa dengan",doesProductHaveDiscount:"Apakah produk ini ada diskon?",whatFeaturesSpecial:"Fitur apa yang membuat produk ini istimewa?",otherColorsAvailable:"Apakah ada warna lain?",poweredBy:"Didukung oleh",aiCanMakeMistakes:"AI bisa membuat kesalahan. Periksa informasi penting",errorOccurred:"Terjadi kesalahan. Silakan coba lagi.",rateLimitError:"Anda telah melebihi batas permintaan. Harap tunggu setidaknya 24 jam dan coba lagi.",preparingProducts:"Menyiapkan produk untuk ditampilkan kepada Anda...",startingOrder:"Memulai proses pemesanan...",findingProductDetails:"Mencari detail produk untuk Anda...",searchingBestOptions:"Mencari opsi terbaik untuk Anda...",addingNotes:"Menambahkan catatan Anda ke pesanan...",savingOrder:"Menyimpan pesanan Anda dengan hati-hati...",processingPayment:"Memproses informasi pembayaran Anda...",lookingForAnswer:"Mencari jawaban terbaik untuk Anda...",searchingSimilar:"Mencari produk serupa...",checkingOrderStatus:"Memeriksa status pesanan Anda...",fetchingWebPage:"Mengambil halaman web untuk Anda...",searchingTheWeb:"Mencari di web untuk Anda...",typing:"Sedang mengetik...",imHereToHelp:"Saya di sini untuk membantu Anda dengan apa pun tentang pembelian Anda!",hiIm:"Hai, saya",addToCartButton:"Tambah",addToCartMessage:"Tambahkan {product} ke keranjang",addToCartAdding:"Menambahkan...",cartUndoRemoved:"{product} dihapus",cartUndoQuantityChanged:"{product} diperbarui",cartUndoButton:"Batalkan",cartViewCart:"Lihat keranjang",cartCheckout:"Bayar",askDori:"Tanya Dori!",askAgent:"Tanya {name}!",topPick:"Pilihan Terbaik",alsoConsider:"Pertimbangkan juga"},Malay:{minimize:"Minima",showFullScreen:"Skrin Penuh",close:"Tutup",reload:"Muat Semula",askAnything:"Tanya apa sahaja",whatsYourQuestion:"Apakah soalan anda?",processing:"Memproses...",writePrompt:"Tulis soalan atau tampal alamat kontrak",similar:"Serupa",more:"Lagi",removeProduct:"Buang produk",doYouHaveSimilar:"Adakah anda mempunyai yang serupa dengan",doesProductHaveDiscount:"Adakah produk ini mempunyai diskaun?",whatFeaturesSpecial:"Apakah ciri yang menjadikan produk ini istimewa?",otherColorsAvailable:"Adakah warna lain tersedia?",poweredBy:"Dikuasakan oleh",aiCanMakeMistakes:"AI boleh membuat kesilapan. Semak maklumat penting",errorOccurred:"Ralat telah berlaku. Sila cuba lagi.",rateLimitError:"Anda telah melebihi had permintaan. Sila tunggu sekurang-kurangnya 24 jam dan cuba lagi.",preparingProducts:"Menyediakan produk untuk ditunjukkan kepada anda...",startingOrder:"Memulakan proses pesanan...",findingProductDetails:"Mencari butiran produk untuk anda...",searchingBestOptions:"Mencari pilihan terbaik untuk anda...",addingNotes:"Menambah nota anda ke pesanan...",savingOrder:"Menyimpan pesanan anda dengan teliti...",processingPayment:"Memproses maklumat pembayaran anda...",lookingForAnswer:"Mencari jawapan terbaik untuk anda...",searchingSimilar:"Mencari produk yang serupa...",checkingOrderStatus:"Memeriksa status pesanan anda...",fetchingWebPage:"Mendapatkan halaman web untuk anda...",searchingTheWeb:"Mencari di web untuk anda...",typing:"Sedang menaip...",imHereToHelp:"Saya di sini untuk membantu anda dengan apa sahaja tentang pembelian anda!",hiIm:"Hai, saya",addToCartButton:"Tambah",addToCartMessage:"Tambah {product} ke troli saya",addToCartAdding:"Menambah...",cartUndoRemoved:"{product} dibuang",cartUndoQuantityChanged:"{product} dikemas kini",cartUndoButton:"Buat asal",cartViewCart:"Lihat troli",cartCheckout:"Daftar keluar",askDori:"Tanya Dori!",askAgent:"Tanya {name}!",topPick:"Pilihan Utama",alsoConsider:"Turut dipertimbangkan"},Hebrew:{minimize:"מזער",showFullScreen:"מסך מלא",close:"סגור",reload:"טען מחדש",askAnything:"שאל כל שאלה",whatsYourQuestion:"מה השאלה שלך?",processing:"מעבד...",writePrompt:"כתוב שאלה או הדבק כתובת חוזה",similar:"דומה",more:"עוד",removeProduct:"הסר מוצר",doYouHaveSimilar:"יש לך משהו דומה ל",doesProductHaveDiscount:"האם למוצר הזה יש הנחה?",whatFeaturesSpecial:"אילו תכונות הופכות את המוצר הזה למיוחד?",otherColorsAvailable:"האם יש צבעים אחרים זמינים?",poweredBy:"מופעל על ידי",aiCanMakeMistakes:"בינה מלאכותית עלולה לטעות. בדוק מידע חשוב",errorOccurred:"אירעה שגיאה. אנא נסה שוב.",rateLimitError:"חרגת ממגבלת הבקשות. אנא המתן לפחות 24 שעות ונסה שוב.",preparingProducts:"מכין מוצרים להצגה עבורך...",startingOrder:"מתחיל תהליך הזמנה...",findingProductDetails:"מחפש פרטי מוצר עבורך...",searchingBestOptions:"מחפש את האפשרויות הטובות ביותר עבורך...",addingNotes:"מוסיף את ההערות שלך להזמנה...",savingOrder:"שומר בזהירות את ההזמנה שלך...",processingPayment:"מעבד את פרטי התשלום שלך...",lookingForAnswer:"מחפש את התשובה הטובה ביותר עבורך...",searchingSimilar:"מחפש מוצרים דומים...",checkingOrderStatus:"בודק את סטטוס ההזמנה שלך...",fetchingWebPage:"מביא את דף האינטרנט עבורך...",searchingTheWeb:"מחפש באינטרנט עבורך...",typing:"מקליד...",imHereToHelp:"אני כאן כדי לעזור לך עם כל דבר הקשור לרכישה שלך!",hiIm:"שלום, אני",addToCartButton:"הוסף",addToCartMessage:"הוסף את {product} לעגלה שלי",addToCartAdding:"מוסיף...",cartUndoRemoved:"{product} הוסר",cartUndoQuantityChanged:"{product} עודכן",cartUndoButton:"בטל",cartViewCart:"צפה בעגלה",cartCheckout:"לתשלום",askDori:"שאל את Dori!",askAgent:"שאל את {name}!",topPick:"הבחירה המובילה",alsoConsider:"שווה גם לשקול"},Greek:{minimize:"Ελαχιστοποίηση",showFullScreen:"Πλήρης οθόνη",close:"Κλείσιμο",reload:"Επαναφόρτωση",askAnything:"Ρωτήστε ό,τι θέλετε",whatsYourQuestion:"Ποια είναι η ερώτησή σας;",processing:"Επεξεργασία...",writePrompt:"Γράψτε μια ερώτηση ή επικολλήστε μια διεύθυνση συμβολαίου",similar:"Παρόμοιο",more:"Περισσότερα",removeProduct:"Αφαίρεση προϊόντος",doYouHaveSimilar:"Έχετε κάτι παρόμοιο με",doesProductHaveDiscount:"Έχει αυτό το προϊόν έκπτωση;",whatFeaturesSpecial:"Ποια χαρακτηριστικά κάνουν αυτό το προϊόν ξεχωριστό;",otherColorsAvailable:"Υπάρχουν άλλα χρώματα διαθέσιμα;",poweredBy:"Με την υποστήριξη",aiCanMakeMistakes:"Η τεχνητή νοημοσύνη μπορεί να κάνει λάθη. Ελέγξτε σημαντικές πληροφορίες",errorOccurred:"Παρουσιάστηκε σφάλμα. Παρακαλώ δοκιμάστε ξανά.",rateLimitError:"Έχετε υπερβεί το όριο αιτημάτων. Παρακαλώ περιμένετε τουλάχιστον 24 ώρες και δοκιμάστε ξανά.",preparingProducts:"Προετοιμασία προϊόντων για εμφάνιση...",startingOrder:"Έναρξη διαδικασίας παραγγελίας...",findingProductDetails:"Αναζήτηση λεπτομερειών προϊόντος για εσάς...",searchingBestOptions:"Αναζήτηση καλύτερων επιλογών για εσάς...",addingNotes:"Προσθήκη σημειώσεών σας στην παραγγελία...",savingOrder:"Προσεκτική αποθήκευση της παραγγελίας σας...",processingPayment:"Επεξεργασία πληροφοριών πληρωμής...",lookingForAnswer:"Αναζήτηση καλύτερης απάντησης για εσάς...",searchingSimilar:"Αναζήτηση παρόμοιων προϊόντων...",checkingOrderStatus:"Έλεγχος κατάστασης παραγγελίας σας...",fetchingWebPage:"Ανάκτηση ιστοσελίδας για εσάς...",searchingTheWeb:"Αναζήτηση στο διαδίκτυο για εσάς...",typing:"Πληκτρολογεί...",imHereToHelp:"Είμαι εδώ για να σας βοηθήσω με οτιδήποτε σχετικό με την αγορά σας!",hiIm:"Γεια, είμαι",addToCartButton:"Προσθήκη",addToCartMessage:"Προσθήκη {product} στο καλάθι μου",addToCartAdding:"Προσθήκη...",cartUndoRemoved:"{product} αφαιρέθηκε",cartUndoQuantityChanged:"{product} ενημερώθηκε",cartUndoButton:"Αναίρεση",cartViewCart:"Προβολή καλαθιού",cartCheckout:"Ταμείο",askDori:"Ρωτήστε Dori!",askAgent:"Ρωτήστε {name}!",topPick:"Κορυφαία επιλογή",alsoConsider:"Αξίζει επίσης"},Romanian:{minimize:"Minimizează",showFullScreen:"Ecran complet",close:"Închide",reload:"Reîncarcă",askAnything:"Întreabă orice",whatsYourQuestion:"Care este întrebarea ta?",processing:"Se procesează...",writePrompt:"Scrie o întrebare sau lipește o adresă de contract",similar:"Similar",more:"Mai mult",removeProduct:"Elimină produs",doYouHaveSimilar:"Ai ceva similar cu",doesProductHaveDiscount:"Acest produs are reducere?",whatFeaturesSpecial:"Ce caracteristici fac acest produs special?",otherColorsAvailable:"Sunt disponibile alte culori?",poweredBy:"Susținut de",aiCanMakeMistakes:"AI poate face greșeli. Verifică informațiile importante",errorOccurred:"A apărut o eroare. Te rugăm să încerci din nou.",rateLimitError:"Ai depășit limita de solicitări. Te rugăm să aștepți cel puțin 24 de ore și să încerci din nou.",preparingProducts:"Se pregătesc produsele pentru a fi afișate...",startingOrder:"Se inițiază procesul de comandă...",findingProductDetails:"Se caută detalii despre produs...",searchingBestOptions:"Se caută cele mai bune opțiuni pentru tine...",addingNotes:"Se adaugă notele tale la comandă...",savingOrder:"Se salvează comanda ta cu atenție...",processingPayment:"Se procesează informațiile de plată...",lookingForAnswer:"Se caută cel mai bun răspuns pentru tine...",searchingSimilar:"Se caută produse similare...",checkingOrderStatus:"Se verifică starea comenzii tale...",fetchingWebPage:"Se încarcă pagina web pentru tine...",searchingTheWeb:"Se caută pe web pentru tine...",typing:"Scrie...",imHereToHelp:"Sunt aici să te ajut cu orice legat de achiziția ta!",hiIm:"Salut, sunt",addToCartButton:"Adaugă",addToCartMessage:"Adaugă {product} în coșul meu",addToCartAdding:"Se adaugă...",cartUndoRemoved:"{product} eliminat",cartUndoQuantityChanged:"{product} actualizat",cartUndoButton:"Anulează",cartViewCart:"Vezi coș",cartCheckout:"Plată",askDori:"Întreabă Dori!",askAgent:"Întreabă {name}!",topPick:"Alegerea de top",alsoConsider:"De luat în considerare"},Czech:{minimize:"Minimalizovat",showFullScreen:"Celá obrazovka",close:"Zavřít",reload:"Znovu načíst",askAnything:"Zeptejte se na cokoliv",whatsYourQuestion:"Jaká je vaše otázka?",processing:"Zpracování...",writePrompt:"Napište dotaz nebo vložte adresu smlouvy",similar:"Podobné",more:"Více",removeProduct:"Odstranit produkt",doYouHaveSimilar:"Máte něco podobného jako",doesProductHaveDiscount:"Má tento produkt slevu?",whatFeaturesSpecial:"Jaké funkce dělají tento produkt speciálním?",otherColorsAvailable:"Jsou k dispozici jiné barvy?",poweredBy:"Používá technologii",aiCanMakeMistakes:"AI může dělat chyby. Zkontrolujte důležité informace",errorOccurred:"Došlo k chybě. Zkuste to prosím znovu.",rateLimitError:"Překročili jste limit požadavků. Počkejte prosím alespoň 24 hodin a zkuste to znovu.",preparingProducts:"Připravují se produkty k zobrazení...",startingOrder:"Zahajuje se proces objednávky...",findingProductDetails:"Hledají se podrobnosti o produktu...",searchingBestOptions:"Hledají se nejlepší možnosti pro vás...",addingNotes:"Přidávají se vaše poznámky k objednávce...",savingOrder:"Pečlivě se ukládá vaše objednávka...",processingPayment:"Zpracovávají se vaše platební informace...",lookingForAnswer:"Hledá se nejlepší odpověď pro vás...",searchingSimilar:"Hledají se podobné produkty...",checkingOrderStatus:"Kontroluje se stav vaší objednávky...",fetchingWebPage:"Načítání webové stránky pro vás...",searchingTheWeb:"Vyhledávání na webu pro vás...",typing:"Píše...",imHereToHelp:"Jsem tu, abych vám pomohl s čímkoli ohledně vašeho nákupu!",hiIm:"Ahoj, jsem",addToCartButton:"Přidat",addToCartMessage:"Přidat {product} do košíku",addToCartAdding:"Přidávám...",cartUndoRemoved:"{product} odstraněn",cartUndoQuantityChanged:"{product} aktualizován",cartUndoButton:"Zpět",cartViewCart:"Zobrazit košík",cartCheckout:"Pokladna",askDori:"Zeptejte se Dori!",askAgent:"Zeptejte se {name}!",topPick:"Nejlepší volba",alsoConsider:"Zvažte také"},Slovak:{minimize:"Minimalizovať",showFullScreen:"Celá obrazovka",close:"Zavrieť",reload:"Znovu načítať",askAnything:"Spýtajte sa na čokoľvek",whatsYourQuestion:"Aká je vaša otázka?",processing:"Spracovanie...",writePrompt:"Napíšte otázku alebo vložte adresu zmluvy",similar:"Podobné",more:"Viac",removeProduct:"Odstrániť produkt",doYouHaveSimilar:"Máte niečo podobné ako",doesProductHaveDiscount:"Má tento produkt zľavu?",whatFeaturesSpecial:"Aké funkcie robia tento produkt výnimočným?",otherColorsAvailable:"Sú k dispozícii iné farby?",poweredBy:"Používa technológiu",aiCanMakeMistakes:"AI môže robiť chyby. Skontrolujte dôležité informácie",errorOccurred:"Vyskytla sa chyba. Skúste to prosím znova.",rateLimitError:"Prekročili ste limit požiadaviek. Počkajte prosím aspoň 24 hodín a skúste to znova.",preparingProducts:"Pripravujú sa produkty na zobrazenie...",startingOrder:"Začína sa proces objednávky...",findingProductDetails:"Hľadajú sa podrobnosti o produkte...",searchingBestOptions:"Hľadajú sa najlepšie možnosti pre vás...",addingNotes:"Pridávajú sa vaše poznámky k objednávke...",savingOrder:"Starostlivo sa ukladá vaša objednávka...",processingPayment:"Spracovávajú sa vaše platobné údaje...",lookingForAnswer:"Hľadá sa najlepšia odpoveď pre vás...",searchingSimilar:"Hľadajú sa podobné produkty...",checkingOrderStatus:"Kontroluje sa stav vašej objednávky...",fetchingWebPage:"Načítava sa webová stránka pre vás...",searchingTheWeb:"Vyhľadáva sa na webe pre vás...",typing:"Píše...",imHereToHelp:"Som tu, aby som vám pomohol s čímkoľvek ohľadom vášho nákupu!",hiIm:"Ahoj, som",addToCartButton:"Pridať",addToCartMessage:"Pridať {product} do košíka",addToCartAdding:"Pridávam...",cartUndoRemoved:"{product} odstránený",cartUndoQuantityChanged:"{product} aktualizovaný",cartUndoButton:"Späť",cartViewCart:"Zobraziť košík",cartCheckout:"Pokladňa",askDori:"Spýtajte sa Dori!",askAgent:"Spýtajte sa {name}!",topPick:"Najlepšia voľba",alsoConsider:"Zvážte aj"},Swedish:{minimize:"Minimera",showFullScreen:"Fullskärm",close:"Stäng",reload:"Ladda om",askAnything:"Fråga vad du vill",whatsYourQuestion:"Vad är din fråga?",processing:"Bearbetar...",writePrompt:"Skriv en fråga eller klistra in en kontraktsadress",similar:"Liknande",more:"Mer",removeProduct:"Ta bort produkt",doYouHaveSimilar:"Har du något liknande",doesProductHaveDiscount:"Har denna produkt rabatt?",whatFeaturesSpecial:"Vilka funktioner gör denna produkt speciell?",otherColorsAvailable:"Finns det andra färger tillgängliga?",poweredBy:"Drivs av",aiCanMakeMistakes:"AI kan göra misstag. Kontrollera viktig information",errorOccurred:"Ett fel har uppstått. Försök igen.",rateLimitError:"Du har överskridit begäransegränsen. Vänta minst 24 timmar och försök igen.",preparingProducts:"Förbereder produkter att visa dig...",startingOrder:"Startar beställningsprocessen...",findingProductDetails:"Söker produktdetaljer åt dig...",searchingBestOptions:"Söker efter bästa alternativen för dig...",addingNotes:"Lägger till dina anteckningar i beställningen...",savingOrder:"Sparar din beställning noggrant...",processingPayment:"Bearbetar din betalningsinformation...",lookingForAnswer:"Letar efter bästa svaret för dig...",searchingSimilar:"Söker efter liknande produkter...",checkingOrderStatus:"Kontrollerar din beställningsstatus...",fetchingWebPage:"Hämtar webbsidan åt dig...",searchingTheWeb:"Söker på webben åt dig...",typing:"Skriver...",imHereToHelp:"Jag är här för att hjälpa dig med allt om ditt köp!",hiIm:"Hej, jag är",addToCartButton:"Lägg till",addToCartMessage:"Lägg till {product} i min kundvagn",addToCartAdding:"Lägger till...",cartUndoRemoved:"{product} borttagen",cartUndoQuantityChanged:"{product} uppdaterad",cartUndoButton:"Ångra",cartViewCart:"Visa kundvagn",cartCheckout:"Kassa",askDori:"Fråga Dori!",askAgent:"Fråga {name}!",topPick:"Toppval",alsoConsider:"Överväg även"},Norwegian:{minimize:"Minimer",showFullScreen:"Fullskjerm",close:"Lukk",reload:"Last inn på nytt",askAnything:"Spør om hva som helst",whatsYourQuestion:"Hva er spørsmålet ditt?",processing:"Behandler...",writePrompt:"Skriv et spørsmål eller lim inn en kontraktsadresse",similar:"Lignende",more:"Mer",removeProduct:"Fjern produkt",doYouHaveSimilar:"Har du noe lignende som",doesProductHaveDiscount:"Har dette produktet rabatt?",whatFeaturesSpecial:"Hvilke funksjoner gjør dette produktet spesielt?",otherColorsAvailable:"Er det andre farger tilgjengelig?",poweredBy:"Drevet av",aiCanMakeMistakes:"AI kan gjøre feil. Sjekk viktig informasjon",errorOccurred:"En feil har oppstått. Vennligst prøv igjen.",rateLimitError:"Du har overskredet forespørselsgrensen. Vent minst 24 timer og prøv igjen.",preparingProducts:"Forbereder produkter å vise deg...",startingOrder:"Starter bestillingsprosessen...",findingProductDetails:"Søker etter produktdetaljer for deg...",searchingBestOptions:"Søker etter de beste alternativene for deg...",addingNotes:"Legger til notatene dine i bestillingen...",savingOrder:"Lagrer bestillingen din nøye...",processingPayment:"Behandler betalingsinformasjonen din...",lookingForAnswer:"Leter etter det beste svaret for deg...",searchingSimilar:"Søker etter lignende produkter...",checkingOrderStatus:"Sjekker bestillingsstatusen din...",fetchingWebPage:"Henter nettsiden for deg...",searchingTheWeb:"Søker på nettet for deg...",typing:"Skriver...",imHereToHelp:"Jeg er her for å hjelpe deg med alt om kjøpet ditt!",hiIm:"Hei, jeg er",askDori:"Spør Dori!",askAgent:"Spør {name}!",topPick:"Toppvalg",alsoConsider:"Vurder også"},Danish:{minimize:"Minimer",showFullScreen:"Fuld skærm",close:"Luk",reload:"Genindlæs",askAnything:"Spørg om hvad som helst",whatsYourQuestion:"Hvad er dit spørgsmål?",processing:"Behandler...",writePrompt:"Skriv et spørgsmål eller indsæt en kontraktadresse",similar:"Lignende",more:"Mere",removeProduct:"Fjern produkt",doYouHaveSimilar:"Har du noget lignende som",doesProductHaveDiscount:"Har dette produkt rabat?",whatFeaturesSpecial:"Hvilke funktioner gør dette produkt specielt?",otherColorsAvailable:"Er der andre farver tilgængelige?",poweredBy:"Drevet af",aiCanMakeMistakes:"AI kan lave fejl. Tjek vigtig information",errorOccurred:"Der opstod en fejl. Prøv venligst igen.",rateLimitError:"Du har overskredet anmodningsgrænsen. Vent venligst mindst 24 timer og prøv igen.",preparingProducts:"Forbereder produkter til at vise dig...",startingOrder:"Starter bestillingsprocessen...",findingProductDetails:"Søger efter produktdetaljer til dig...",searchingBestOptions:"Søger efter de bedste muligheder til dig...",addingNotes:"Tilføjer dine noter til bestillingen...",savingOrder:"Gemmer din bestilling omhyggeligt...",processingPayment:"Behandler dine betalingsoplysninger...",lookingForAnswer:"Søger efter det bedste svar til dig...",searchingSimilar:"Søger efter lignende produkter...",checkingOrderStatus:"Tjekker din bestillingsstatus...",fetchingWebPage:"Henter websiden til dig...",searchingTheWeb:"Søger på nettet for dig...",typing:"Skriver...",imHereToHelp:"Jeg er her for at hjælpe dig med alt om dit køb!",hiIm:"Hej, jeg er",addToCartButton:"Tilføj",addToCartMessage:"Tilføj {product} til min kurv",addToCartAdding:"Tilføjer...",cartUndoRemoved:"{product} fjernet",cartUndoQuantityChanged:"{product} opdateret",cartUndoButton:"Fortryd",cartViewCart:"Se kurv",cartCheckout:"Kassen",askDori:"Spørg Dori!",askAgent:"Spørg {name}!",topPick:"Topvalg",alsoConsider:"Overvej også"},Finnish:{minimize:"Pienennä",showFullScreen:"Koko näyttö",close:"Sulje",reload:"Lataa uudelleen",askAnything:"Kysy mitä tahansa",whatsYourQuestion:"Mikä on kysymyksesi?",processing:"Käsitellään...",writePrompt:"Kirjoita kysymys tai liitä sopimuksen osoite",similar:"Samankaltainen",more:"Lisää",removeProduct:"Poista tuote",doYouHaveSimilar:"Onko sinulla jotain vastaavaa kuin",doesProductHaveDiscount:"Onko tässä tuotteessa alennusta?",whatFeaturesSpecial:"Mitkä ominaisuudet tekevät tästä tuotteesta erityisen?",otherColorsAvailable:"Onko muita värejä saatavilla?",poweredBy:"Tarjoaa",aiCanMakeMistakes:"Tekoäly voi tehdä virheitä. Tarkista tärkeät tiedot",errorOccurred:"Tapahtui virhe. Yritä uudelleen.",rateLimitError:"Olet ylittänyt pyyntörajan. Odota vähintään 24 tuntia ja yritä uudelleen.",preparingProducts:"Valmistellaan tuotteita näytettäväksi...",startingOrder:"Aloitetaan tilausprosessi...",findingProductDetails:"Etsitään tuotetietoja sinulle...",searchingBestOptions:"Etsitään parhaita vaihtoehtoja sinulle...",addingNotes:"Lisätään muistiinpanosi tilaukseen...",savingOrder:"Tallennetaan tilaustasi huolellisesti...",processingPayment:"Käsitellään maksutietojasi...",lookingForAnswer:"Etsitään parasta vastausta sinulle...",searchingSimilar:"Etsitään samankaltaisia tuotteita...",checkingOrderStatus:"Tarkistetaan tilauksesi tilaa...",fetchingWebPage:"Haetaan verkkosivua sinulle...",searchingTheWeb:"Etsitään verkosta sinulle...",typing:"Kirjoittaa...",imHereToHelp:"Olen täällä auttaakseni sinua kaikessa ostoksesi liittyen!",hiIm:"Hei, olen",addToCartButton:"Lisää",addToCartMessage:"Lisää {product} ostoskoriin",addToCartAdding:"Lisätään...",cartUndoRemoved:"{product} poistettu",cartUndoQuantityChanged:"{product} päivitetty",cartUndoButton:"Kumoa",cartViewCart:"Näytä ostoskori",cartCheckout:"Kassalle",askDori:"Kysy Dorilta!",askAgent:"Kysy {name}:lta!",topPick:"Paras valinta",alsoConsider:"Harkitse myös"},Bengali:{minimize:"ছোট করুন",showFullScreen:"পূর্ণ স্ক্রীন",close:"বন্ধ করুন",reload:"পুনরায় লোড করুন",askAnything:"যা কিছু জিজ্ঞাসা করুন",whatsYourQuestion:"আপনার প্রশ্ন কী?",processing:"প্রক্রিয়াকরণ...",writePrompt:"একটি প্রম্পট লিখুন বা একটি চুক্তি ঠিকানা পেস্ট করুন",similar:"অনুরূপ",more:"আরও",removeProduct:"পণ্য সরান",doYouHaveSimilar:"এর মতো কিছু আছে",doesProductHaveDiscount:"এই পণ্যে কি ছাড় আছে?",whatFeaturesSpecial:"কোন বৈশিষ্ট্যগুলি এই পণ্যটিকে বিশেষ করে?",otherColorsAvailable:"অন্য রঙ পাওয়া যায় কি?",poweredBy:"দ্বারা চালিত",aiCanMakeMistakes:"AI ভুল করতে পারে। গুরুত্বপূর্ণ তথ্য যাচাই করুন",errorOccurred:"একটি ত্রুটি ঘটেছে। অনুগ্রহ করে আবার চেষ্টা করুন।",rateLimitError:"আপনি অনুরোধ সীমা অতিক্রম করেছেন। অনুগ্রহ করে কমপক্ষে 24 ঘন্টা অপেক্ষা করুন এবং আবার চেষ্টা করুন।",preparingProducts:"আপনাকে দেখানোর জন্য পণ্য প্রস্তুত করা হচ্ছে...",startingOrder:"অর্ডার প্রক্রিয়া শুরু করা হচ্ছে...",findingProductDetails:"আপনার জন্য পণ্যের বিবরণ খুঁজে বের করা হচ্ছে...",searchingBestOptions:"আপনার জন্য সেরা বিকল্পগুলি খোঁজা হচ্ছে...",addingNotes:"আপনার নোট অর্ডারে যোগ করা হচ্ছে...",savingOrder:"আপনার অর্ডার সাবধানে সংরক্ষণ করা হচ্ছে...",processingPayment:"আপনার পেমেন্ট তথ্য প্রক্রিয়া করা হচ্ছে...",lookingForAnswer:"আপনার জন্য সেরা উত্তর খোঁজা হচ্ছে...",searchingSimilar:"অনুরূপ পণ্য খোঁজা হচ্ছে...",checkingOrderStatus:"আপনার অর্ডার স্ট্যাটাস পরীক্ষা করা হচ্ছে...",fetchingWebPage:"আপনার জন্য ওয়েব পেজ আনা হচ্ছে...",searchingTheWeb:"আপনার জন্য ওয়েবে অনুসন্ধান করা হচ্ছে...",typing:"টাইপ করছে...",imHereToHelp:"আমি আপনার ক্রয় সম্পর্কে যেকোনো বিষয়ে সাহায্য করার জন্য এখানে আছি!",hiIm:"হ্যালো, আমি",addToCartButton:"যোগ করুন",addToCartMessage:"{product} আমার কার্টে যোগ করুন",addToCartAdding:"যোগ হচ্ছে...",cartUndoRemoved:"{product} মুছে ফেলা হয়েছে",cartUndoQuantityChanged:"{product} আপডেট হয়েছে",cartUndoButton:"পূর্বাবস্থায় ফেরান",cartViewCart:"কার্ট দেখুন",cartCheckout:"চেকআউট",askDori:"Dori কে জিজ্ঞাসা করুন!",askAgent:"{name} কে জিজ্ঞাসা করুন!",topPick:"সেরা পছন্দ",alsoConsider:"এটাও বিবেচনা করুন"},Tamil:{minimize:"சிறிதாக்கு",showFullScreen:"முழு திரை",close:"மூடு",reload:"மீண்டும் ஏற்று",askAnything:"எதையும் கேளுங்கள்",whatsYourQuestion:"உங்கள் கேள்வி என்ன?",processing:"செயலாக்கம்...",writePrompt:"ஒரு கேள்வியை எழுதவும் அல்லது ஒப்பந்த முகவரியை ஒட்டவும்",similar:"ஒத்த",more:"மேலும்",removeProduct:"தயாரிப்பை அகற்று",doYouHaveSimilar:"இதைப் போன்ற ஏதாவது உள்ளதா",doesProductHaveDiscount:"இந்த தயாரிப்புக்கு தள்ளுபடி உள்ளதா?",whatFeaturesSpecial:"இந்த தயாரிப்பை சிறப்பாக்கும் அம்சங்கள் என்ன?",otherColorsAvailable:"வேறு நிறங்கள் கிடைக்குமா?",poweredBy:"வழங்குபவர்",aiCanMakeMistakes:"AI தவறு செய்யலாம். முக்கிய தகவல்களை சரிபார்க்கவும்",errorOccurred:"பிழை ஏற்பட்டது. மீண்டும் முயற்சிக்கவும்.",rateLimitError:"நீங்கள் கோரிக்கை வரம்பை மீறிவிட்டீர்கள். குறைந்தது 24 மணி நேரம் காத்திருந்து மீண்டும் முயற்சிக்கவும்.",preparingProducts:"உங்களுக்காக தயாரிப்புகளை தயார்படுத்துகிறது...",startingOrder:"ஆர்டர் செயல்முறையைத் தொடங்குகிறது...",findingProductDetails:"உங்களுக்காக தயாரிப்பு விவரங்களைக் கண்டறிகிறது...",searchingBestOptions:"உங்களுக்கான சிறந்த விருப்பங்களைத் தேடுகிறது...",addingNotes:"உங்கள் குறிப்புகளை ஆர்டருக்கு சேர்க்கிறது...",savingOrder:"உங்கள் ஆர்டரை கவனமாக சேமிக்கிறது...",processingPayment:"உங்கள் பணம் செலுத்தும் தகவலை செயல்படுத்துகிறது...",lookingForAnswer:"உங்களுக்கான சிறந்த பதிலைத் தேடுகிறது...",searchingSimilar:"ஒத்த தயாரிப்புகளைத் தேடுகிறது...",checkingOrderStatus:"உங்கள் ஆர்டர் நிலையைச் சரிபார்க்கிறது...",fetchingWebPage:"உங்களுக்காக வலைப்பக்கத்தைப் பெறுகிறது...",searchingTheWeb:"உங்களுக்காக வலையில் தேடுகிறது...",typing:"தட்டச்சு செய்கிறது...",imHereToHelp:"உங்கள் வாங்குதல் பற்றிய எதற்கும் உதவ நான் இங்கே இருக்கிறேன்!",hiIm:"வணக்கம், நான்",addToCartButton:"சேர்",addToCartMessage:"{product} என் கார்ட்டில் சேர்",addToCartAdding:"சேர்க்கிறது...",cartUndoRemoved:"{product} நீக்கப்பட்டது",cartUndoQuantityChanged:"{product} புதுப்பிக்கப்பட்டது",cartUndoButton:"செயல் தவிர்",cartViewCart:"கார்ட் பார்",cartCheckout:"செலுத்து",askDori:"Dori யிடம் கேளுங்கள்!",askAgent:"{name} யிடம் கேளுங்கள்!",topPick:"சிறந்த தேர்வு",alsoConsider:"இதையும் பரிசீலியுங்கள்"},Telugu:{minimize:"చిన్నదిగా చేయండి",showFullScreen:"పూర్తి స్క్రీన్",close:"మూసివేయండి",reload:"మళ్లీ లోడ్ చేయండి",askAnything:"ఏదైనా అడగండి",whatsYourQuestion:"మీ ప్రశ్న ఏమిటి?",processing:"ప్రాసెస్ చేస్తోంది...",writePrompt:"ఒక ప్రశ్న రాయండి లేదా ఒప్పంద చిరునామా అతికించండి",similar:"సారూప్యమైన",more:"మరింత",removeProduct:"ఉత్పత్తిని తీసివేయండి",doYouHaveSimilar:"దీనికి సారూప్యమైనది ఉందా",doesProductHaveDiscount:"ఈ ఉత్పత్తికి తగ్గింపు ఉందా?",whatFeaturesSpecial:"ఈ ఉత్పత్తిని ప్రత్యేకంగా చేసే లక్షణాలు ఏమిటి?",otherColorsAvailable:"ఇతర రంగులు అందుబాటులో ఉన్నాయా?",poweredBy:"అందించినది",aiCanMakeMistakes:"AI పొరపాట్లు చేయవచ్చు. ముఖ్యమైన సమాచారాన్ని తనిఖీ చేయండి",errorOccurred:"లోపం సంభవించింది. దయచేసి మళ్లీ ప్రయత్నించండి.",rateLimitError:"మీరు అభ్యర్థన పరిమితిని మించిపోయారు. దయచేసి కనీసం 24 గంటలు వేచి మళ్లీ ప్రయత్నించండి.",preparingProducts:"మీకు చూపించడానికి ఉత్పత్తులను సిద్ధం చేస్తోంది...",startingOrder:"ఆర్డర్ ప్రక్రియను ప్రారంభిస్తోంది...",findingProductDetails:"మీ కోసం ఉత్పత్తి వివరాలను కనుగొంటోంది...",searchingBestOptions:"మీ కోసం ఉత్తమ ఎంపికలను శోధిస్తోంది...",addingNotes:"మీ గమనికలను ఆర్డర్‌కు జోడిస్తోంది...",savingOrder:"మీ ఆర్డర్‌ను జాగ్రత్తగా సేవ్ చేస్తోంది...",processingPayment:"మీ చెల్లింపు సమాచారాన్ని ప్రాసెస్ చేస్తోంది...",lookingForAnswer:"మీ కోసం ఉత్తమ సమాధానాన్ని శోధిస్తోంది...",searchingSimilar:"సారూప్య ఉత్పత్తులను శోధిస్తోంది...",checkingOrderStatus:"మీ ఆర్డర్ స్థితిని తనిఖీ చేస్తోంది...",fetchingWebPage:"మీ కోసం వెబ్ పేజీని తీసుకొస్తోంది...",searchingTheWeb:"మీ కోసం వెబ్‌లో శోధిస్తోంది...",typing:"టైప్ చేస్తున్నారు...",imHereToHelp:"మీ కొనుగోలు గురించి దేనికైనా సహాయం చేయడానికి నేను ఇక్కడ ఉన్నాను!",hiIm:"హలో, నేను",addToCartButton:"జోడించు",addToCartMessage:"{product}ని నా కార్ట్‌కి జోడించు",addToCartAdding:"జోడిస్తున్నాము...",cartUndoRemoved:"{product} తొలగించబడింది",cartUndoQuantityChanged:"{product} నవీకరించబడింది",cartUndoButton:"రద్దు చేయి",cartViewCart:"కార్ట్ చూడు",cartCheckout:"చెక్‌అవుట్",askDori:"Dori ని అడగండి!",askAgent:"{name} ని అడగండి!",topPick:"అత్యుత్తమ ఎంపిక",alsoConsider:"ఇవి కూడా పరిశీలించండి"},Afrikaans:{minimize:"Minimeer",showFullScreen:"Volskerm",close:"Sluit",reload:"Herlaai",askAnything:"Vra enigiets",whatsYourQuestion:"Wat is jou vraag?",processing:"Verwerk...",writePrompt:"Skryf 'n vraag of plak 'n kontrakadres",similar:"Soortgelyk",more:"Meer",removeProduct:"Verwyder produk",doYouHaveSimilar:"Het jy iets soortgelyks soos",doesProductHaveDiscount:"Het hierdie produk 'n afslag?",whatFeaturesSpecial:"Watter kenmerke maak hierdie produk spesiaal?",otherColorsAvailable:"Is daar ander kleure beskikbaar?",poweredBy:"Aangedryf deur",aiCanMakeMistakes:"KI kan foute maak. Kontroleer belangrike inligting",errorOccurred:"'n Fout het voorgekom. Probeer asseblief weer.",rateLimitError:"Jy het die versoekslimiet oorskry. Wag asseblief ten minste 24 uur en probeer weer.",preparingProducts:"Berei produkte voor om jou te wys...",startingOrder:"Begin bestelproses...",findingProductDetails:"Soek produkbesonderhede vir jou...",searchingBestOptions:"Soek die beste opsies vir jou...",addingNotes:"Voeg jou notas by die bestelling...",savingOrder:"Stoor jou bestelling versigtig...",processingPayment:"Verwerk jou betalingsinligting...",lookingForAnswer:"Soek die beste antwoord vir jou...",searchingSimilar:"Soek soortgelyke produkte...",checkingOrderStatus:"Kontroleer jou bestelstatus...",fetchingWebPage:"Haal die webblad vir jou op...",searchingTheWeb:"Soek op die web vir jou...",typing:"Tik...",imHereToHelp:"Ek is hier om jou te help met enigiets oor jou aankoop!",hiIm:"Hallo, ek is",addToCartButton:"Voeg by",addToCartMessage:"Voeg {product} by my mandjie",addToCartAdding:"Voeg by...",cartUndoRemoved:"{product} verwyder",cartUndoQuantityChanged:"{product} opgedateer",cartUndoButton:"Ongedaan maak",cartViewCart:"Bekyk mandjie",cartCheckout:"Kassa",askDori:"Vra Dori!",askAgent:"Vra {name}!",topPick:"Topkeuse",alsoConsider:"Oorweeg ook"},Albanian:{minimize:"Minimizo",showFullScreen:"Ekran i plotë",close:"Mbyll",reload:"Ringarko",askAnything:"Pyet çdo gjë",whatsYourQuestion:"Cila është pyetja juaj?",processing:"Duke përpunuar...",writePrompt:"Shkruani një pyetje ose ngjisni një adresë kontrate",similar:"I ngjashëm",more:"Më shumë",removeProduct:"Hiq produktin",doYouHaveSimilar:"A keni diçka të ngjashme me",doesProductHaveDiscount:"A ka zbritje ky produkt?",whatFeaturesSpecial:"Cilat veçori e bëjnë këtë produkt special?",otherColorsAvailable:"A ka ngjyra të tjera të disponueshme?",poweredBy:"Mundësuar nga",aiCanMakeMistakes:"AI mund të bëjë gabime. Kontrolloni informacionin e rëndësishëm",errorOccurred:"Ndodhi një gabim. Ju lutemi provoni përsëri.",rateLimitError:"Keni tejkaluar kufirin e kërkesave. Ju lutemi prisni të paktën 24 orë dhe provoni përsëri.",preparingProducts:"Duke përgatitur produktet për t'ju treguar...",startingOrder:"Duke filluar procesin e porosisë...",findingProductDetails:"Duke kërkuar detaje produkti për ju...",searchingBestOptions:"Duke kërkuar opsionet më të mira për ju...",addingNotes:"Duke shtuar shënimet tuaja në porosi...",savingOrder:"Duke ruajtur porosinë tuaj me kujdes...",processingPayment:"Duke përpunuar informacionin tuaj të pagesës...",lookingForAnswer:"Duke kërkuar përgjigjen më të mirë për ju...",searchingSimilar:"Duke kërkuar produkte të ngjashme...",checkingOrderStatus:"Duke kontrolluar statusin e porosisë suaj...",fetchingWebPage:"Duke marrë faqen e internetit për ju...",searchingTheWeb:"Duke kërkuar në internet për ju...",typing:"Po shkruan...",imHereToHelp:"Jam këtu për t'ju ndihmuar me çdo gjë për blerjen tuaj!",hiIm:"Përshëndetje, unë jam",addToCartButton:"Shto",addToCartMessage:"Shto {product} në shportën time",addToCartAdding:"Po shtohet...",cartUndoRemoved:"{product} u hoq",cartUndoQuantityChanged:"{product} u përditësua",cartUndoButton:"Zhbëj",cartViewCart:"Shiko shportën",cartCheckout:"Paguaj",askDori:"Pyet Dori!",askAgent:"Pyet {name}!",topPick:"Zgjedhja kryesore",alsoConsider:"Konsideroni gjithashtu"},Amharic:Mc,Bulgarian:Mc,Burmese:Mc,Croatian:Mc,Estonian:Mc,Filipino:Mc,Gujarati:Mc,Hausa:Mc,Hungarian:Mc,Igbo:Mc,Kannada:Mc,Khmer:Mc,Lao:Mc,Latvian:Mc,Lithuanian:Mc,Malayalam:Mc,Marathi:Mc,Mongolian:Mc,Nepali:Mc,Pashto:Mc,Persian:Mc,Punjabi:Mc,Sinhala:Mc,Somali:Mc,Iraqi:Mc,Swahili:Mc,Urdu:Mc,Yoruba:Mc,Zulu:Mc},jc=e=>{const t=Dc[e]||Dc.English;return{...Mc,...t}},Nc={create_custom_product_card:"preparingProducts",create_product_card:"preparingProducts",create_order:"startingOrder",get_product_detail:"findingProductDetails",product_retrieval:"searchingBestOptions",order_notes:"addingNotes",order_persistence:"savingOrder",payment_processing:"processingPayment",retrieve_faq:"lookingForAnswer",prompt_recommendation:"",similar_products:"searchingSimilar",track_order:"checkingOrderStatus",web_fetch:"fetchingWebPage",web_search:"searchingTheWeb",thinking:"typing"},Lc=(e,t)=>{if(e&&e in Nc){const n=Nc[e];if(n)return t[n]}return t.typing},Bc=k.createContext(void 0);function $c({children:r}){const[i,a]=k.useState(null),[o,s]=k.useState(!1),[l,c]=k.useState(null),[u,d]=k.useState(null),[p,f]=k.useState(()=>e()),[h,m]=k.useState({repliedProduct:null,threadId:null,isRequestInProgress:!1}),[v,b]=k.useState([]),[y,x]=k.useState("welcome"),[w,S]=k.useState(!1),[_,C]=k.useState("starting"),P=k.useRef(null),E=k.useRef(e()),T=k.useMemo(()=>t(p)??i?.language??"English",[p,i?.language]),z=k.useRef(null),R=k.useRef(null);k.useEffect(()=>{z.current=i?.sharing_id??null,R.current=u},[i?.sharing_id,u]);const I=k.useCallback(e=>{m(t=>({...t,repliedProduct:e}))},[]),O=k.useCallback(e=>{if(!e)return[];if(Array.isArray(e))return e;try{return JSON.parse(e)}catch(t){return[]}},[]);k.useEffect(()=>n(async e=>{if(f(t=>t===e?t:e),E.current===e)return;E.current=e;const t=z.current;if(t)try{const n=await Oc(t,R.current||void 0,e),r=n?.data;if(!r)return;a(e=>e?{...e,suggested_prompts:r.suggested_prompts??e.suggested_prompts,suggestedReply:O(r.suggested_prompts||r.suggestedReply),suggestedReplyByLanguage:r.suggestedReplyByLanguage??e.suggestedReplyByLanguage,proactive_starters:r.proactive_starters??e.proactive_starters,product_data:r.product_data??e.product_data,language:r.language??e.language,texts:r.texts??e.texts,isRTL:r.isRTL??e.isRTL}:e)}catch(n){}}),[O]);const A=k.useCallback(()=>{P.current&&(P.current.abort(),P.current=null),m(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),S(!1),C("starting"),x("ongoing"),b(e=>e.filter(e=>"loading"!==e.type))},[]),F=k.useCallback(zc("initializeBot",async(t,n)=>{if(!t||""===t.trim())return void c("Invalid sharing ID provided");s(!0),c(null),d(n||null);let r=!1;try{const i=await(async()=>{if(window.doriPDPBotDataPromise)try{return await window.doriPDPBotDataPromise}catch(a){}else if(await new Promise(e=>setTimeout(e,50)),window.doriPDPBotDataPromise)try{return await window.doriPDPBotDataPromise}catch(a){}const i=await Oc(t,n||void 0,e());return i.error?(c(i.error),r=!0,null):i.data?i.data:(r=!0,null)})();if(!i)return void(r||c("No bot data found"));const o={...i,sharing_id:t,suggestedReply:O(i.suggested_prompts||i.suggestedReply)};a(o),x("initial-greeting")}finally{s(!1)}}),[O]),M=k.useCallback(zc("sendMessage",async({message:e,apiMessage:t},n)=>{if(!i||w)return;const r=jc(T);Pc();const a={id:Date.now().toString(),type:"user",content:e,timestamp:new Date,repliedProduct:n};b(e=>[...e.filter(e=>"suggestions"!==e.type),a]),P.current&&(P.current.abort(),P.current=null),x("thinking"),S(!0),C("generating"),m(e=>({...e,isRequestInProgress:!0})),P.current=new AbortController;let o={id:(Date.now()+1).toString(),type:"loading",content:r.typing,timestamp:new Date};b(e=>[...e,o]);let s=t||e;n&&(s=`this message is replied to product with id ${n.id}: ${e}`);let l="",c=null,d=[],p=[];try{await Ac(s,i,h.threadId,e=>{Tc("streaming chunk handler",()=>{if(e.thread_id)m(t=>({...t,threadId:e.thread_id||null}));else if(e.wait)c&&l.trim()&&b(e=>e.map(e=>e.id===c?.id?{...e,content:l}:e)),c=null,l="",b(t=>[...t.filter(e=>"loading"!==e.type),{id:(Date.now()+Math.random()).toString(),type:"loading",content:Lc(e.tool_name,r),timestamp:new Date}]);else if(e.text)if(l+=e.text,c)b(e=>e.map(e=>e.id===c?.id?{...e,content:l}:e));else{const e={id:(Date.now()+Math.random()).toString(),type:"mori",content:l,timestamp:new Date};b(t=>[...t.filter(e=>"loading"!==e.type),e]),c=e}else e.products&&e.products.length>0?(d=[...d,...e.products],b(t=>{const n=[...t.filter(e=>"loading"!==e.type)],r=n.findIndex(e=>e.id===c?.id),i={id:(Date.now()+3).toString(),type:"products",content:"Suggested products:",timestamp:new Date,products:d,tool_call_id:e.products?.[0]?.tool_call_id||""};return-1!==r?n.splice(r+1,0,i):n.push(i),n})):e.suggestions&&e.suggestions.length>0&&(p=[...p,...e.suggestions])})()},e=>{if(P.current?.signal.aborted)return P.current=null,m(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),S(!1),C("starting"),x("ongoing"),void b(e=>e.filter(e=>"loading"!==e.type));const t=e.includes("exceeded the request limit")||e.includes("rate limit")?r.rateLimitError:e;b(e=>[...e.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:t,timestamp:new Date}]),x("ongoing")},()=>{p.length>0&&b(e=>{const t=[...e.filter(e=>"suggestions"!==e.type&&"loading"!==e.type)],n=t.findIndex(e=>e.id===c?.id),r={id:(Date.now()+4).toString(),type:"suggestions",content:"Suggestions:",timestamp:new Date,suggestions:p};return-1!==n?t.splice(n+1,0,r):t.push(r),t}),P.current=null,m(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),S(!1),C("starting"),x("ongoing")},P.current,u)}catch(f){P.current?.signal.aborted||"AbortError"===f.name?(P.current=null,m(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),S(!1),C("starting"),x("ongoing"),b(e=>e.filter(e=>"loading"!==e.type))):(b(e=>[...e.filter(e=>"loading"!==e.type),{id:(Date.now()+2).toString(),type:"mori",content:r.errorOccurred,timestamp:new Date}]),x("ongoing"),m(e=>({...e,isRequestInProgress:!1,repliedProduct:null})),S(!1),C("starting"),P.current=null)}}),[i,w,h.threadId,T]),D=k.useCallback(()=>{P.current&&(P.current.abort(),P.current=null),a(null),b([]),x("welcome"),S(!1),C("starting"),m({repliedProduct:null,threadId:null,isRequestInProgress:!1})},[]),j={botData:i,isLoadingBot:o,botError:l,productId:u,effectiveLanguage:T,chatState:h,messages:v,currentStep:y,isInputDisabled:w,inputState:_,initializeBot:F,sendMessage:M,stopCurrentRequest:A,setCurrentStep:x,setInputState:C,setRepliedProduct:I,resetBot:D};return g.jsx(Bc.Provider,{value:j,children:r})}function Wc(){const e=k.useContext(Bc);if(void 0===e)throw new Error("useChatContext must be used within a ChatProvider");return e}const Hc=e=>null!=e;function Vc(e,t,n={}){const{stop:r,getKey:i}=n;return function e(n,a=[]){if(Yt(n)||Array.isArray(n)){const o={};for(const[s,l]of Object.entries(n)){const c=i?.(s,l)??s,u=[...a,c];if(r?.(n,u))return t(n,a);const d=e(l,u);Hc(d)&&(o[c]=d)}return o}return t(n,a)}(e)}function Uc(e,t){return Array.isArray(e)?e.map(e=>Hc(e)?t(e):e):Yt(e)?Vc(e,e=>t(e)):Hc(e)?t(e):e}const qc=k.forwardRef(function(e,t){const{direction:n="column",align:r,justify:i,gap:a="0.5rem",wrap:o,children:s,separator:l,className:c,...u}=e,d=k.useMemo(()=>function(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Uc(n,e=>r[e])}}({gap:a,direction:n}),[a,n]),p=k.useMemo(()=>k.isValidElement(l)?function(e){return k.Children.toArray(e).filter(e=>k.isValidElement(e))}(s).map((e,t,n)=>{const r=void 0!==e.key?e.key:t,i=l,a=k.cloneElement(i,{css:[d,i.props.css]});return g.jsxs(k.Fragment,{children:[e,t===n.length-1?null:a]},r)}):s,[s,l,d]);return g.jsx(fn.div,{ref:t,display:"flex",alignItems:r,justifyContent:i,flexDirection:n,flexWrap:o,gap:l?void 0:a,className:qt("chakra-stack",c),...u,children:p})}),Yc=k.forwardRef(function(e,t){return g.jsx(qc,{align:"center",...e,direction:"row",ref:t})}),Gc=k.forwardRef(function(e,t){return g.jsx(qc,{align:"center",...e,direction:"column",ref:t})}),Qc=Object.freeze({}),Kc=Object.freeze({});function Xc(e){const{key:t,recipe:n}=e,r=(i=t||n.className||"Component").charAt(0).toUpperCase()+i.slice(1);var i;const[a,o]=Xt({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function s(e){const{unstyled:r,...i}=e,a=function(e){const{key:t,recipe:n}=e,r=Jt();return k.useMemo(()=>{const e=n||(null!=t?r.getRecipe(t):{});return r.cva(structuredClone(e))},[t,n,r])}({key:t,recipe:i.recipe||n}),[o,s]=k.useMemo(()=>a.splitVariantProps(i),[a,i]);return{styles:r?Qc:a(o),className:a.className,props:s}}return{withContext:(e,t)=>{const n=fn(e,{},t),r=k.forwardRef((e,t)=>{const r=o(),i=k.useMemo(()=>Vt(r,e),[e,r]),{styles:a,className:l,props:c}=s(i);return g.jsx(n,{...c,ref:t,css:[a,i.css],className:qt(l,i.className)})});return r.displayName=e.displayName||e.name,r},PropsProvider:a,withPropsProvider:function(){return a},usePropsContext:o,useRecipeResult:s}}const Zc=fn("span"),{withContext:Jc}=Xc({key:"spinner"}),eu=Jc("span"),tu=fn("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});tu.displayName="AbsoluteCenter";const nu=k.forwardRef(function(e,t){const{spinner:n=g.jsx(eu,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:r="start",children:i,text:a,visible:o=!0,...s}=e;return o?a?g.jsxs(Zc,{ref:t,display:"contents",...s,children:["start"===r&&n,a,"end"===r&&n]}):n?g.jsxs(Zc,{ref:t,display:"contents",...s,children:[g.jsx(tu,{display:"inline-flex",children:n}),g.jsx(Zc,{visibility:"hidden",display:"contents",children:i})]}):g.jsx(Zc,{ref:t,display:"contents",...s,children:i}):i}),{useRecipeResult:ru,usePropsContext:iu}=Xc({key:"button"}),au=k.forwardRef(function(e,t){const n=iu(),r=k.useMemo(()=>Vt(n,e),[n,e]),i=ru(r),{loading:a,loadingText:o,children:s,spinner:l,spinnerPlacement:c,...u}=i.props;return g.jsx(fn.button,{type:"button",ref:t,...u,"data-loading":(d=a,d?"":void 0),disabled:a||u.disabled,className:qt(i.className,r.className),css:[i.styles,r.css],children:!r.asChild&&a?g.jsx(nu,{spinner:l,text:o,spinnerPlacement:c,children:s}):s});var d}),ou=k.forwardRef(function(e,t){return g.jsx(au,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:t,...e})}),{withContext:su}=Xc({key:"text"}),lu=su("p"),cu=k.forwardRef(function(e,t){const{align:n,fit:r="cover",...i}=e;return g.jsx(fn.img,{ref:t,objectFit:r,objectPosition:n,className:qt("chakra-image",e.className),...i})}),{withContext:uu}=Xc({key:"link"}),du=uu("a"),{StylesProvider:pu,ClassNamesProvider:fu,useRecipeResult:hu,withContext:gu}=(()=>{const{key:e,recipe:t}={key:"table"},n=(r=e||t.className||"Component").charAt(0).toUpperCase()+r.slice(1);var r;const[i,a]=Xt({name:`${n}StylesContext`,errorMessage:`use${n}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `}),[o,s]=Xt({name:`${n}ClassNameContext`,errorMessage:`use${n}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${n}.Root />" `,strict:!1}),[l,c]=Xt({strict:!1,name:`${n}PropsContext`,providerName:`${n}PropsContext`,defaultValue:{}});function u(n){const{unstyled:r,...i}=n,a=function(e){const{key:t,recipe:n}=e,r=Jt();return k.useMemo(()=>{const e=n||(null!=t?r.getSlotRecipe(t):{});return r.sva(structuredClone(e))},[t,n,r])}({key:e,recipe:i.recipe||t}),[o,s]=k.useMemo(()=>a.splitVariantProps(i),[i,a]);return{styles:k.useMemo(()=>r?Kc:a(o),[r,o,a]),classNames:a.classNameMap,props:s}}return{StylesProvider:i,ClassNamesProvider:o,PropsProvider:l,usePropsContext:c,useRecipeResult:u,withProvider:(e,t,n)=>{const{defaultProps:r,...a}=n??{},s=fn(e,{},a),l=k.forwardRef((e,a)=>{const l=c(),d=k.useMemo(()=>Vt(r??{},l,e),[l,e]),{styles:p,props:f,classNames:h}=u(d),m=h[t],v=g.jsx(i,{value:p,children:g.jsx(o,{value:h,children:g.jsx(s,{ref:a,...f,css:[p[t],d.css],className:qt(d.className,m)})})});return n?.wrapElement?.(v,d)??v});return l.displayName=e.displayName||e.name,l},withContext:(e,t,n)=>{const r=fn(e,{},n),i=k.forwardRef((e,n)=>{const{unstyled:i,...o}=e,l=a(),c=s(),u=c?.[t];return g.jsx(r,{...o,css:[!i&&t?l[t]:void 0,e.css],ref:n,className:qt(e.className,u)})});return i.displayName=e.displayName||e.name,i},withRootProvider:function(e,t={}){const{defaultProps:n}=t,r=t=>{const r=c(),a=k.useMemo(()=>Vt(n,r,t),[r,t]),{styles:s,classNames:l,props:d}=u(a);return g.jsx(i,{value:s,children:g.jsx(o,{value:l,children:g.jsx(e,{...d})})})};return r.displayName=e.displayName||e.name,r},useStyles:a,useClassNames:s}})(),mu=k.forwardRef(function({native:e,...t},n){const{styles:r,props:i,classNames:a}=hu(t),o=k.useMemo(()=>e?{...r.root,"& thead":r.header,"& tbody":r.body,"& tfoot":r.footer,"& thead th":r.columnHeader,"& tr":r.row,"& td":r.cell,"& caption":r.caption}:r.root,[r,e]);return g.jsx(fu,{value:a,children:g.jsx(pu,{value:r,children:g.jsx(fn.table,{ref:n,...i,css:[o,t.css],className:qt(a?.root,t.className)})})})}),vu=gu("tr","row");fn("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const bu=gu("thead","header");gu("tfoot","footer");const yu=gu("th","columnHeader"),ku=gu("td","cell");gu("caption","caption",{defaultProps:{captionSide:"bottom"}});const xu=gu("tbody","body");gu("colgroup"),gu("col");const wu=k.forwardRef(function(e,t){const{templateAreas:n,column:r,row:i,autoFlow:a,autoRows:o,templateRows:s,autoColumns:l,templateColumns:c,inline:u,...d}=e;return g.jsx(fn.div,{...d,ref:t,css:[{display:u?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:l,gridColumn:r,gridRow:i,gridAutoFlow:a,gridAutoRows:o,gridTemplateRows:s,gridTemplateColumns:c},e.css]})});var Su=e=>"string"==typeof e;Function.prototype.toString.call(Object);var _u=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})};function Cu(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:a,defaultValue:o}=e,s=k.createContext(o);return s.displayName=t,[s.Provider,function e(){const t=k.useContext(s);if(!t&&n){const t=new Error(a??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},s]}const[Pu]=Cu({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var Eu=e=>"object"==typeof e&&null!==e,Tu=e=>Eu(e)&&9===e.nodeType;function zu(e){return Tu(e)?e:(e=>Eu(e)&&e===e.window)(e)?e.document:e?.ownerDocument??document}function Ru(e){return(e=>(e=>Eu(e)&&void 0!==e.nodeType)(e)&&11===e.nodeType&&"host"in e)(e)?Ru(e.host):Tu(e)?e.defaultView??window:(e=>Eu(e)&&1===e.nodeType&&"string"==typeof e.nodeName)(e)?e.ownerDocument?.defaultView??window:window}var Iu=new WeakMap,Ou=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),Au=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Fu=e=>{const t={};let n;for(;n=Au.exec(e);)t[n[1]]=n[2];return t},Mu=(e,t)=>{if(Su(e)){if(Su(t))return`${e};${t}`;e=Fu(e)}else Su(t)&&(t=Fu(t));return Object.assign({},e??{},t??{})};function Du(...e){let t={};for(let n of e){if(!n)continue;for(let r in t)r.startsWith("on")&&"function"==typeof t[r]&&"function"==typeof n[r]?t[r]=_u(n[r],t[r]):t[r]="className"!==r&&"class"!==r?"style"!==r?void 0!==n[r]?n[r]:t[r]:Mu(t[r],n[r]):Ou(t[r],n[r]);for(let r in n)void 0===t[r]&&(t[r]=n[r]);const e=Object.getOwnPropertySymbols(n);for(let r of e)t[r]=n[r]}return t}function ju(...e){return t=>{const n=[];for(const r of e)if("function"==typeof r){const e=r(t);"function"==typeof e&&n.push(e)}else r&&(r.current=t);if(n.length)return()=>{for(const e of n)e()}}}const Nu=e=>{const t=k.memo(k.forwardRef((t,n)=>{const{asChild:r,children:i,...a}=t;if(!r)return k.createElement(e,{...a,ref:n},i);if(!k.isValidElement(i))return null;const o=k.Children.only(i),s=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o);return k.cloneElement(o,{...Du(a,o.props),ref:n?ju(n,s):s})}));return t.displayName=e.displayName||e.name,t},Lu=(()=>{const e=new Map;return new Proxy(Nu,{apply:(e,t,n)=>Nu(n[0]),get(t,n){const r=n;return e.has(r)||e.set(r,Nu(r)),e.get(r)}})})();var Bu=()=>e=>Array.from(new Set(e)),$u=(e,t=[])=>({parts:(...n)=>{if(Hu(t))return $u(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>$u(e,[...t,...n]),omit:(...n)=>$u(e,t.filter(e=>!n.includes(e))),rename:e=>$u(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:[`&[data-scope="${Wu(e)}"][data-part="${Wu(n)}"]`,`& [data-scope="${Wu(e)}"][data-part="${Wu(n)}"]`].join(", "),attrs:{"data-scope":Wu(e),"data-part":Wu(n)}}}),{})}),Wu=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Hu=e=>0===e.length,Vu=$u("collapsible").parts("root","trigger","content","indicator");Vu.build(),Bu()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var Uu=$u("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);Uu.build(),Bu()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),Bu()(["xChannel","yChannel"]),Bu()(["channel","orientation"]),Bu()(["value","disabled"]),Bu()(["value","respectAlpha"]),Bu()(["size"]);var qu=$u("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");qu.build(),Bu()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),Bu()(["value","disabled"]);var Yu=$u("avatar").parts("root","image","fallback");Yu.build(),Bu()(["dir","id","ids","onStatusChange","getRootNode"]);var Gu=$u("checkbox").parts("root","label","control","indicator");Gu.build(),Bu()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const Qu=Gu.extendWith("group"),[Ku,Xu]=Cu({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var Zu=$u("clipboard").parts("root","control","trigger","indicator","input","label");Zu.build(),Bu()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),Bu()(["copied"]);const Ju=Uu.extendWith("view");var ed=$u("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");ed.build(),Bu()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),Bu()(["htmlFor"]),Bu()(["id"]),Bu()(["item","persistFocus"]);const td=ed.extendWith("empty");var nd=$u("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");nd.build(),Bu()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var rd=$u("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");rd.build(),Bu()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const id=$u("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");id.build();var ad=e=>{if(!e)return;const t=function(e){return Iu.has(e)||Iu.set(e,Ru(e).getComputedStyle(e)),Iu.get(e)}(e),n=Ru(e),r=zu(e),i=()=>{requestAnimationFrame(()=>{let n;e.style.height="auto",n="content-box"===t.boxSizing?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),"none"!==t.maxHeight&&n>parseFloat(t.maxHeight)?("hidden"===t.overflowY&&(e.style.overflowY="scroll"),n=parseFloat(t.maxHeight)):"hidden"!==t.overflowY&&(e.style.overflowY="hidden"),e.style.height=`${n}px`})};e.addEventListener("input",i),e.form?.addEventListener("reset",i);const a=Object.getPrototypeOf(e),o=Object.getOwnPropertyDescriptor(a,"value");Object.defineProperty(e,"value",{...o,set(){o?.set?.apply(this,arguments),i()}});const s=new n.ResizeObserver(()=>{requestAnimationFrame(()=>i())});s.observe(e);const l=new n.MutationObserver(()=>i());return l.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",i),()=>{e.removeEventListener("input",i),e.form?.removeEventListener("reset",i),r.fonts?.removeEventListener("loadingdone",i),s.disconnect(),l.disconnect()}};const od=k.forwardRef((e,t)=>{const{autoresize:n,...r}=e,i=k.useRef(null),a=Xu(),o=Du(a?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return k.useEffect(()=>{if(n)return ad(i.current)},[n]),g.jsx(Lu.textarea,{...o,ref:ju(t,i)})});od.displayName="FieldTextarea";const sd=$u("fieldset").parts("root","errorText","helperText","legend");sd.build();var ld=$u("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");ld.build(),Bu()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),Bu()(["file","type"]);const cd=e=>{const{value:t,children:n}=e,[r,i]=k.useState(),a=k.useMemo(()=>()=>{return("function"==typeof(e=t)?e():e)??r?.getRootNode()??document;var e},[t,r]),o=k.useMemo(()=>({getRootNode:a,getWindow:()=>Ru(a()),getDocument:()=>zu(a())}),[a]);return g.jsxs(Pu,{value:o,children:[n,!t&&g.jsx("span",{hidden:!0,ref:i})]})};var ud=$u("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");ud.build(),Bu()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var dd=$u("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");dd.build(),Bu()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),Bu()(["node","indexPath"]);var pd=$u("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");pd.build(),Bu()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),Bu()(["item","highlightOnHover"]),Bu()(["id"]),Bu()(["htmlFor"]);const fd=pd.extendWith("empty");var hd=$u("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");hd.build(),Bu()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),Bu()(["closeOnSelect","disabled","value","valueText"]),Bu()(["htmlFor"]),Bu()(["id"]),Bu()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);var gd=$u("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");gd.build(),Bu()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var md=$u("pinInput").parts("root","label","input","control");md.build(),Bu()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var vd=$u("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");vd.build(),Bu()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var bd=$u("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");bd.build(),Bu()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var yd=$u("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");yd.build(),Bu()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var kd=$u("radio-group").parts("root","label","item","itemText","itemControl","indicator");kd.build(),Bu()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),Bu()(["value","disabled","invalid"]);var xd=$u("rating-group").parts("root","label","item","control");xd.build(),Bu()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),Bu()(["index"]);var wd=$u("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");wd.build(),Bu()(["dir","getRootNode","ids","id"]);const Sd=kd.rename("segment-group");Sd.build();var _d=$u("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");_d.build(),Bu()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),Bu()(["item","persistFocus"]),Bu()(["id"]),Bu()(["htmlFor"]);var Cd=$u("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");Cd.build(),Bu()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),Bu()(["index","name"]);var Pd=$u("switch").parts("root","label","control","thumb");Pd.build(),Bu()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var Ed=$u("tooltip").parts("trigger","arrow","arrowTip","positioner","content");function Td(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}Ed.build(),Bu()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);const zd=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const i="--mix-"+e;return{[i]:r.value,[e]:`var(${i}, ${r.color})`}};function Rd(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>Rd(e));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=Rd(e[n]);return t}function Id(e,t){if(null==t)return e;for(const n of Object.keys(t))if(void 0!==t[n]&&"__proto__"!==n)if(!Yt(e[n])&&Yt(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&Yt(t[n]))Id(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)Yt(e[n][r])&&Yt(t[n][r])?Id(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function Od(e,...t){for(const n of t)Id(e,n);return e}const Ad=["value","type","description"],Fd=(...e)=>{const t=Od({},...e.map(Rd));return t.theme?.tokens&&Vc(t.theme.tokens,e=>{const t=Object.keys(e).filter(e=>!Ad.includes(e)).length>0,n=Ad.some(t=>null!=e[t]);return t&&n&&(e.DEFAULT||(e.DEFAULT={}),Ad.forEach(t=>{var n;null!=e[t]&&((n=e.DEFAULT)[t]||(n[t]=e[t]),delete e[t])})),e},{stop(e){return(t=e)&&"object"==typeof t&&!Array.isArray(t)&&Object.keys(e).some(e=>Ad.includes(e)||e!==e.toLowerCase()&&e!==e.toUpperCase());var t}}),t};function Md(){const e=e=>e;return new Proxy(e,{get:()=>e})}const Dd=Md(),jd=Md(),Nd=/[^a-zA-Z0-9_\u0081-\uffff-]/g,Ld=/[A-Z]/g;function Bd(e,t={}){const{fallback:n="",prefix:r=""}=t,i=function(e){return e.replace(Ld,e=>`-${e.toLowerCase()}`)}(["-",r,(a=e,`${a}`.replace(Nd,e=>`\\${e}`))].filter(Boolean).join("-"));var a;return{var:i,ref:`var(${i}${n?`, ${n}`:""})`}}const $d=(e,t)=>null!=t?`${e}(${t})`:t,Wd=e=>{if((e=>/^var\(--.+\)$/.test(e))(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},Hd=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":r,[e]:{outline:"none"}}}[t]??{}}}),Vd=zd("borderColor"),Ud=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),qd=Bd("bg-currentcolor"),Yd=e=>e===qd.ref||"currentBg"===e,Gd=e=>({...e("colors"),currentBg:qd}),Qd={conditions:{hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"},utilities:{background:{values:Gd,shorthand:["bg"],transform(e,t){if(Yd(t.raw))return{background:qd.ref};const n=zd("background")(e,t);return{...n,[qd.var]:n?.background}}},backgroundColor:{values:Gd,shorthand:["bgColor"],transform(e,t){if(Yd(t.raw))return{backgroundColor:qd.ref};const n=zd("backgroundColor")(e,t);return{...n,[qd.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},backgroundGradient:{shorthand:["bgGradient"],values:e=>({...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}),transform:e=>({"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e})},gradientFrom:{values:Gd,transform:zd("--gradient-from")},gradientTo:{values:Gd,transform:zd("--gradient-to")},gradientVia:{values:Gd,transform:(e,t)=>({...zd("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"})},backgroundImage:{values:e=>({...e("gradients"),...e("assets")}),shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:Gd,transform:zd("borderColor")},borderTopColor:{values:Gd,transform:zd("borderTopColor")},borderBlockStartColor:{values:Gd,transform:zd("borderBlockStartColor")},borderBottomColor:{values:Gd,transform:zd("borderBottomColor")},borderBlockEndColor:{values:Gd,transform:zd("borderBlockEndColor")},borderLeftColor:{values:Gd,transform:zd("borderLeftColor")},borderInlineStartColor:{values:Gd,shorthand:["borderStartColor"],transform:zd("borderInlineStartColor")},borderRightColor:{values:Gd,transform:zd("borderRightColor")},borderInlineEndColor:{values:Gd,shorthand:["borderEndColor"],transform:zd("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:Gd,transform:zd("color")},fill:{values:Gd,transform:zd("fill")},stroke:{values:Gd,transform:zd("stroke")},accentColor:{values:Gd,transform:zd("accentColor")},divideX:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}})},divideY:{values:{type:"string"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}})},divideColor:{values:Gd,transform:(e,t)=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":Vd(e,t)})},divideStyle:{property:"borderStyle",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}})},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:Gd,transform:zd("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform:e=>"auto"!==e?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}},blur:{values:"blurs",transform:e=>({"--blur":$d("blur",e)})},brightness:{transform:e=>({"--brightness":$d("brightness",e)})},contrast:{transform:e=>({"--contrast":$d("contrast",e)})},grayscale:{transform:e=>({"--grayscale":$d("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":$d("hue-rotate",Wd(e))})},invert:{transform:e=>({"--invert":$d("invert",e)})},saturate:{transform:e=>({"--saturate":$d("saturate",e)})},sepia:{transform:e=>({"--sepia":$d("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":$d("drop-shadow",e)})},backdropFilter:{transform:e=>"auto"!==e?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":$d("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":$d("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":$d("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":$d("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":$d("hue-rotate",Wd(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":$d("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":$d("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":$d("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":$d("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:Gd,transform:zd("outlineColor")},focusRing:Hd("&:is(:focus, [data-focus])"),focusVisibleRing:Hd("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:Gd,transform:zd("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:n})=>{const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`;return{[r]:{display:"none"}}}},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){const r=n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`;return{[r]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:Gd,transform:zd("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform:e=>({"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"})},ringColor:{values:Gd,transform:zd("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:Gd,transform:zd("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:Gd,transform:zd("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return"auto"===e&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),"auto-gpu"===e&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":Wd(e)})},skewY:{transform:e=>({"--skew-y":Wd(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform:e=>"auto"!==e?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}},spaceXReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}})},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}})},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform:e=>"auto"!==e?{rotate:Wd(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}},rotateX:{transform:e=>({"--rotate-x":Wd(e)})},rotateY:{transform:e=>({"--rotate-y":Wd(e)})},translate:{transform:e=>"auto"!==e?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Ud("all");case"position":return Ud("left, right, top, bottom, inset-inline, inset-block");case"colors":return Ud("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Ud("opacity");case"shadow":return Ud("box-shadow");case"transform":return Ud("transform");case"size":return Ud("width, height");case"backgrounds":return Ud("background, background-color, background-image, background-position");case"common":return Ud("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform:e=>!0===e?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},lineClamp:{transform:e=>"none"===e?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform:e=>({"--border-spacing-x":e})},borderSpacingY:{values:"spacing",transform:e=>({"--border-spacing-y":e})},srOnly:{values:{type:"boolean"},transform:e=>Kd[e]||{}},debug:{values:{type:"boolean"},transform:e=>e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}},caretColor:{values:Gd,transform:zd("caretColor")},cursor:{values:"cursor"}}},Kd={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var Xd="".split(","),Zd="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical".split(",").concat(Xd),Jd=new Map(Zd.map(e=>[e,!0]));function ep(e){const t=Object.create(null);return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}var tp,np,rp=/&|@/,ip=ep(e=>Jd.has(e)||e.startsWith("--")||rp.test(e));function ap(e,t){const n={};return Vc(e,(e,t)=>{e&&(n[t.join(".")]=e.value)},{stop:t}),n}function op(){if(np)return tp;np=1,tp=a,a.default=a,a.stable=c,a.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function i(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,a,o){var l;void 0===o&&(o=i()),s(e,"",0,[],void 0,0,o);try{l=0===r.length?JSON.stringify(e,t,a):JSON.stringify(e,d(t),a)}catch(u){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return l}function o(e,t,i,a){var o=Object.getOwnPropertyDescriptor(a,i);void 0!==o.get?o.configurable?(Object.defineProperty(a,i,{value:e}),n.push([a,i,t,o])):r.push([t,i,e]):(a[i]=e,n.push([a,i,t]))}function s(n,r,i,a,l,c,u){var d;if(c+=1,"object"==typeof n&&null!==n){for(d=0;d<a.length;d++)if(a[d]===n)return void o(t,n,r,l);if(void 0!==u.depthLimit&&c>u.depthLimit)return void o(e,n,r,l);if(void 0!==u.edgesLimit&&i+1>u.edgesLimit)return void o(e,n,r,l);if(a.push(n),Array.isArray(n))for(d=0;d<n.length;d++)s(n[d],d,d,a,n,c,u);else{var p=Object.keys(n);for(d=0;d<p.length;d++){var f=p[d];s(n[f],f,d,a,n,c,u)}}a.pop()}}function l(e,t){return e<t?-1:e>t?1:0}function c(e,t,a,o){void 0===o&&(o=i());var s,l=u(e,"",0,[],void 0,0,o)||e;try{s=0===r.length?JSON.stringify(l,t,a):JSON.stringify(l,d(t),a)}catch(p){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function u(r,i,a,s,c,d,p){var f;if(d+=1,"object"==typeof r&&null!==r){for(f=0;f<s.length;f++)if(s[f]===r)return void o(t,r,i,c);try{if("function"==typeof r.toJSON)return}catch(v){return}if(void 0!==p.depthLimit&&d>p.depthLimit)return void o(e,r,i,c);if(void 0!==p.edgesLimit&&a+1>p.edgesLimit)return void o(e,r,i,c);if(s.push(r),Array.isArray(r))for(f=0;f<r.length;f++)u(r[f],f,f,s,r,d,p);else{var h={},g=Object.keys(r).sort(l);for(f=0;f<g.length;f++){var m=g[f];u(r[m],m,f,s,r,d,p),h[m]=r[m]}if(void 0===c)return h;n.push([c,i,r]),c[i]=h}s.pop()}}function d(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(r.length>0)for(var i=0;i<r.length;i++){var a=r[i];if(a[1]===t&&a[0]===n){n=a[2],r.splice(i,1);break}}return e.call(this,t,n)}}return tp}const sp=a(op()),lp=e=>{const t=Object.create(null);return function(...n){const r=n.map(e=>sp(e)).join("|");return void 0===t[r]&&(t[r]=e(...n)),t[r]}},cp="px",up="em",dp="rem";function pp(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${cp}|${up}|${dp}`),r=e.match(new RegExp(`${t.source}(${n.source})`));return r?.[1]}function fp(e=""){if("number"==typeof e)return`${e}px`;const t=pp(e);return t?t===cp?e:t===up||t===dp?`${16*parseFloat(e)}${cp}`:void 0:e}function hp(e=""){const t=pp(e);return t?t===dp?e:t===up?`${parseFloat(e)}${dp}`:t===cp?`${parseFloat(e)/16}${dp}`:void 0:e}function gp(e){return hp(parseFloat(fp(e)??"")-.04+"px")}function mp({min:e,max:t}){return null==e&&null==t?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const vp=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|\n)+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|\n)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),bp=vp("width"),yp=vp("height"),kp=e=>({isMin:Op(e.minMax,e.maxMin,e.min),isMax:Op(e.maxMin,e.minMax,e.max)}),{isMin:xp,isMax:wp}=kp(bp),{isMin:Sp,isMax:_p}=kp(yp),Cp=/print/i,Pp=/^print$/i,Ep=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,Tp=/(\d)/,zp=Number.MAX_VALUE,Rp={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function Ip(e){const t=Ep.exec(e)||(xp(e)||Sp(e)?Tp.exec(e):null);if(!t)return zp;if("0"===t[0])return 0;const n=parseFloat(t[1]),r=t[2];return n*(Rp[r]||1)}function Op(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}const Ap=lp((e,t)=>{const n=function(e,t){const n=Cp.test(e),r=Pp.test(e),i=Cp.test(t),a=Pp.test(t);return n&&i?!r&&a?1:r&&!a?-1:e.localeCompare(t):n?1:i?-1:null}(e,t);if(null!==n)return n;const r=xp(e)||Sp(e),i=wp(e)||_p(e),a=xp(t)||Sp(t),o=wp(t)||_p(t);if(r&&o)return-1;if(i&&a)return 1;const s=Ip(e),l=Ip(t);return s===zp&&l===zp?e.localeCompare(t):s===zp?1:l===zp?-1:s!==l?s>l?i?-1:1:i?1:-1:e.localeCompare(t)});function Fp(e){return e.sort(([e],[t])=>Ap(e,t))}function Mp(e){const t=[],n=[],r={};for(const[o,s]of Object.entries(e))o.startsWith("@media")?t.push([o,s]):o.startsWith("@container")?n.push([o,s]):Yt(s)?r[o]=Mp(s):r[o]=s;const i=Fp(t),a=Fp(n);return{...r,...Object.fromEntries(i),...Object.fromEntries(a)}}const Dp=/\s*!(important)?/i;function jp(e){const{transform:t,conditions:n,normalize:r}=e,i=(a=e,lp(function(...e){return Od({},...function(e){const t=function(...e){return e.filter(e=>Yt(e)&&Object.keys(Ut(e)).length>0)}(...e);return 1===t.length?t:t.map(e=>a.normalize(e))}(e))}));var a;return lp(function(...e){const a=i(...e),o=r(a),s=Object.create(null);return Vc(o,(e,r)=>{const i=!!Gt(a=e)&&Dp.test(a);var a;if(null==e)return;const[o,...l]=n.sort(r).map(n.resolve);i&&(e=(e=>Gt(e)?e.replace(Dp,"").trim():e)(e));let c=t(o,e)??Object.create(null);c=Vc(c,e=>Gt(e)&&i?`${e} !important`:e,{getKey:e=>n.expandAtRule(e)}),function(e,t,n){let r=e;for(const i of t)i&&(r[i]||(r[i]=Object.create(null)),r=r[i]);Od(r,n)}(s,l.flat(),c)}),Mp(s)})}const Np=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});const Lp={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},Bp={reset:0,base:1,tokens:2,recipes:3};const $p=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,Wp=function(e,t){return t?"\0"===e?"�":"-"===e&&1===e.length?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},Hp=e=>(e+"").replace($p,Wp),Vp=(e,t)=>{let n="",r=0,i="char",a="",o="";const s=[];for(;r<e.length;){const l=e[r];if("{"===l){const i=e.indexOf("}",r);if(-1===i)break;const a=e.slice(r+1,i);n+=t(a)??a,r=i+1;continue}if("token"===i&&","===l){""===e[r]&&r++,i="fallback",s.push(i);const l=t(a);l?.endsWith(")")&&(n+=l.slice(0,-1)),a="",o="";continue}if("fallback"===i&&", var("===o+l){const t=Up(e.slice(r+1))+r+1,a=e.slice(r+1,t);if(-1===t)break;n+=", var("+a+")",r=t+1,i=s.pop()??i,o="";continue}if("token"===i||"fallback"===i){if(r++,")"===l){i=s.pop()??i??"char",o+=l;const e=a?t(a)??Hp(a):a;if(o)if(o=o.slice(1).trim(),!o.startsWith("token(")&&o.endsWith(")")&&(o=o.slice(0,-1)),o.includes("token(")){const e=Vp(o,t);e&&(o=e.slice(0,-1))}else if(o){const e=t(o);e&&(o=e)}const r=n.at(-1);o?r?.trim()?n+=e.slice(0,-1)+", "+o+")":n+=o:n+=e||")",a="",o="",i="char";continue}"token"===i&&(a+=l),"fallback"===i&&(o+=l);continue}const c=e.indexOf("token(",r);if(-1!==c){const t=c+6;n+=e.slice(r,c),r=t,i="token",s.push(i);continue}n+=l,r++}return n},Up=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if("("===r)n.push(r);else if(")"===r&&(n.pop(),0===n.length))return t;t++}return t};function qp(e){const t={};return e.forEach((e,n)=>{e instanceof Map?t[n]=Object.fromEntries(e):t[n]=e}),t}const Yp=/({([^}]*)})/g,Gp=/[{}]/g,Qp=/\w+\.\w+/,Kp=e=>{if(!Gt(e))return[];const t=e.match(Yp);return t?t.map(e=>e.replace(Gp,"")).map(e=>e.trim()):[]};function Xp(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((e,n)=>{const r=t[n];if(r.extensions.conditions)return e;const i=Xp(r);return e.replace(`{${n}}`,i)},e.value),delete e.extensions.references,e.value}function Zp(e){return Yt(e)&&e.reference?e.reference:String(e)}const Jp=(e,...t)=>t.map(Zp).join(` ${e} `).replace(/calc/g,""),ef=(...e)=>`calc(${Jp("+",...e)})`,tf=(...e)=>`calc(${Jp("-",...e)})`,nf=(...e)=>`calc(${Jp("*",...e)})`,rf=(...e)=>`calc(${Jp("/",...e)})`,af=e=>{const t=Zp(e);return null==t||Number.isNaN(parseFloat(t))?nf(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},of=Object.assign(e=>({add:(...t)=>of(ef(e,...t)),subtract:(...t)=>of(tf(e,...t)),multiply:(...t)=>of(nf(e,...t)),divide:(...t)=>of(rf(e,...t)),negate:()=>of(af(e)),toString:()=>e.toString()}),{add:ef,subtract:tf,multiply:nf,divide:rf,negate:af}),sf={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:i,registerToken:a}=e;n.filter(({extensions:e})=>"spacing"===e.category).forEach(e=>{const n=e.path.slice(),o=r(n,t);if(Gt(e.value)&&"0rem"===e.value)return;const s=structuredClone(e);Object.assign(s.extensions,{negative:!0,prop:`-${e.extensions.prop}`,originalPath:n}),s.value=of.negate(o.ref);const l=s.path[s.path.length-1];null!=l&&(s.path[s.path.length-1]=`-${l}`),s.path&&(s.name=i(s.path)),a(s)})}},lf=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),cf={enforce:"post",transform(e){e.allTokens.filter(e=>lf.has(e.extensions.category)&&!e.extensions.negative).forEach(e=>{Object.assign(e.extensions,{pixelValue:fp(e.value)})})}},uf=[sf,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,i=t.filter(({extensions:e})=>"colors"===e.category),a=new Map,o=new Map;i.forEach(e=>{const{colorPalette:t}=e.extensions;t&&(t.keys.forEach(e=>{a.set(r(e),e)}),t.roots.forEach(n=>{const i=r(n),s=o.get(i)||[];if(s.push(e),o.set(i,s),e.extensions.default&&1===n.length){const e=t.keys[0]?.filter(Boolean);if(!e.length)return;const i=n.concat(e);a.set(r(i),[])}}))}),a.forEach(e=>{const t=["colors","colorPalette",...e].filter(Boolean),i=r(t),a=r(t.slice(1));n({name:i,value:i,originalValue:i,path:t,extensions:{condition:"base",originalPath:t,category:"colors",prop:a,virtual:!0}},"pre")})}},cf,{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(e=>""!==e.value)}}],df=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:i,originalPath:a}=e.extensions;return{cssVar:r((i?a:e.path).filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,i=Kp(e.value);return i.length?(i.forEach(t=>{const i=r(t.split("."),n);e.value=e.value.replace(`{${i.ref}}`,i)}),e.value):e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match:e=>"colors"===e.extensions.category&&!e.extensions.virtual,transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),0===n.length){const t=[...e.path];t.shift(),n=t}if(0===n.length)return{};const r=n.reduce((e,t,n,r)=>{const i=r.slice(0,n+1);return e.push(i),e},[]),i=n[0],a=t.formatTokenName(n),o=e.path.slice(e.path.indexOf(i)+1).reduce((e,t,n,r)=>(e.push(r.slice(n)),e),[]);return 0===o.length&&o.push([""]),{colorPalette:{value:a,roots:r,keys:o}}}}],pf=e=>Yt(e)&&Object.prototype.hasOwnProperty.call(e,"value");function ff(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:i={}}=e,a=e=>e.join("."),o=[],s=new Map,l=new Map,c=new Map,u=new Map,d=new Map,p=new Map,f=new Map,h=new Map,g=[];function m(e,t){o.push(e),s.set(e.name,e),t&&h.forEach(n=>{n.enforce===t&&C(n,e)})}const v=function(e){return e?{breakpoints:Uc(e,e=>({value:e})),sizes:Object.fromEntries(Object.entries(e).map(([e,t])=>[`breakpoint-${e}`,{value:t}]))}:{breakpoints:{},sizes:{}}}(i),b=Ut({...n,breakpoints:v.breakpoints,sizes:{...n.sizes,...v.sizes}});function y(e){return s.get(e)}let k={};const x=lp((e,t)=>d.get(e)??t),w=lp(e=>k[e]||null),S=lp(e=>Vp(e,e=>{if(!e)return;if(e.includes("/")){const t=(e=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[t,n]=e.split("/");if(!t||!n)return{invalid:!0,value:t};const r=x(t),i=y(`opacity.${n}`)?.value;if(!i&&isNaN(Number(n)))return{invalid:!0,value:t};const a=r??t;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${i?100*Number(i)+"%":`${n}%`}, transparent)`}})(e);if(t.invalid)throw new Error("Invalid color mix at "+e+": "+t.value);return t.value}return x(e)||(Qp.test(e)?Hp(e):e)})),_={prefix:t,allTokens:o,tokenMap:s,registerToken:m,getByName:y,formatTokenName:a,formatCssVar:(e,t)=>Bd(e.join("-"),{prefix:t}),flatMap:d,cssVarMap:c,categoryMap:f,colorPaletteMap:u,getVar:x,getCategoryValues:w,expandReferenceInValue:S};function C(e,t){if(t.extensions.references)return;if(Qt(e.match)&&!e.match(t))return;const n=(r=t,e.transform(r,_));var r;switch(!0){case"extensions"===e.type:Object.assign(t.extensions,n);break;case"value"===e.type:t.value=n;break;default:t[e.type]=n}}function P(e){g.forEach(t=>{t.enforce===e&&t.transform(_)})}function E(e){h.forEach(t=>{t.enforce===e&&o.forEach(e=>{C(t,e)})})}return Vc(b,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=hf(t))[0],i=a(t),o=Gt(e)?{value:e}:e,s={value:o.value,originalValue:o.value,name:i,path:t,extensions:{condition:"base",originalPath:t,category:r,prop:a(t.slice(1))}};n&&(s.extensions.default=!0),m(s)},{stop:pf}),Vc(r,(e,t)=>{const n=t.includes("DEFAULT"),r=(t=gf(hf(t)))[0],i=a(t),o=Gt(e.value)?{value:{base:e.value}}:e,s={value:o.value.base||"",originalValue:o.value.base||"",name:i,path:t,extensions:{originalPath:t,category:r,conditions:o.value,condition:"base",prop:a(t.slice(1))}};n&&(s.extensions.default=!0),m(s)},{stop:pf}),function(...e){e.forEach(e=>{h.set(e.name,e)})}(...df),function(...e){g.push(...e)}(...uf),P("pre"),E("pre"),o.forEach(e=>{const t=function(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return Vc(t,(t,r)=>{const i=gf(r);if(!i.length)return;const a=structuredClone(e);a.value=t,a.extensions.condition=i.join(":"),n.push(a)}),n}(e);t&&0!==t.length&&t.forEach(e=>{m(e)})}),o.forEach(e=>{if(t=e.value,!Yp.test(t))return;var t;const n=function(e){return Kp(e).map(e=>y(e)).filter(Boolean)}(e.value);e.extensions.references=n.reduce((e,t)=>(e[t.name]=t,e),{})}),o.forEach(e=>{Xp(e)}),P("post"),E("post"),o.forEach(e=>{!function(e){const{condition:t}=e.extensions;t&&(l.has(t)||l.set(t,new Set),l.get(t).add(e))}(e),function(e){const{category:t,prop:n}=e.extensions;t&&(f.has(t)||f.set(t,new Map),f.get(t).set(n,e))}(e),function(e){const{condition:t,negative:n,virtual:r,cssVar:i}=e.extensions;!n&&!r&&t&&i&&(c.has(t)||c.set(t,new Map),c.get(t).set(i.var,e.value))}(e),function(e){const{category:t,prop:n,cssVar:r,negative:i}=e.extensions;if(!t)return;p.has(t)||p.set(t,new Map);const a=i?e.extensions.conditions?e.originalValue:e.value:r.ref;p.get(t).set(n,a),d.set([t,n].join("."),a)}(e),function(e){const{colorPalette:t,virtual:n,default:r}=e.extensions;t&&!n&&t.roots.forEach(n=>{const i=a(n);u.has(i)||u.set(i,new Map);const o=function(e,t){const n=e.findIndex((n,r)=>t.every((t,n)=>e[r+n]===t));return-1===n||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}([...e.path],[...n]),s=y(a(o));if(!s||!s.extensions.cssVar)return;const{var:l}=s.extensions.cssVar;if(u.get(i).set(l,e.extensions.cssVar.ref),r&&1===n.length){const r=y(a(["colors","colorPalette"]));if(!r)return;const i=y(a(e.path));if(!i)return;const o=t.keys[0]?.filter(Boolean);if(!o.length)return;const s=a(n.concat(o));u.has(s)||u.set(s,new Map),u.get(s).set(r.extensions.cssVar.var,i.extensions.cssVar.ref)}})}(e)}),k=qp(p),_}function hf(e){return"DEFAULT"===e[0]?e:e.filter(e=>"DEFAULT"!==e)}function gf(e){return e.filter(e=>"base"!==e)}var mf;mf=["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"],Array.from(new Set(mf));const vf={};function bf(...e){const t=Fd(...e),{theme:n={},utilities:r={},globalCss:i={},cssVarsRoot:a=":where(:root, :host)",cssVarsPrefix:o="chakra",preflight:s}=t,l=function(e){const t=e.layers??Lp,n=Object.values(t).sort((e,t)=>Bp[e]-Bp[t]);return{names:n,atRule:`@layer ${n.join(", ")};`,wrap(n,r){if(e.disableLayers)return r;const i=t[n];return{[`@layer ${i}`]:r}}}}(t),c=ff({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:o}),u=function(e){const t=function(e){return Object.entries(e).sort(([,e],[,t])=>parseInt(e,10)<parseInt(t,10)?-1:1).map(([e,t],n,r)=>{let i=null;return n<=r.length-1&&(i=r[n+1]?.[1]),null!=i&&(i=gp(i)),[e,{name:e,min:hp(t),max:i}]})}(e),n=Object.fromEntries(t);function r(e){return n[e]}function i(e){return mp(r(e))}const a=function(){const e=function(){const e=Object.keys(n),t=function(e){const t=[];return e.forEach((n,r)=>{let i=r;i++;let a=e[i];for(;a;)t.push([n,a]),i++,a=e[i]}),t}(e),a=e.flatMap(e=>{const t=r(e),n=[`${e}Down`,mp({max:gp(t.min)})];return[[e,mp({min:t.min})],[`${e}Only`,i(e)],n]}).filter(([,e])=>""!==e).concat(t.map(([e,t])=>{const n=r(e),i=r(t);return[`${e}To${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`,mp({min:n.min,max:gp(i.min)})];var a}));return Object.fromEntries(a)}();return Object.fromEntries(Object.entries(e))}();return{values:Object.values(n),only:i,keys:function(){return["base",...Object.keys(n)]},conditions:a,getCondition:e=>a[e],up:function(e){return mp({min:r(e).min})},down:function(e){return mp({max:gp(r(e).min)})}}}(n.breakpoints??vf),d=(e=>{const{breakpoints:t,conditions:n={}}=e,r=(i=n,a=(e,t)=>[`_${e}`,t],Object.fromEntries(Object.entries(i).map(([e,t])=>a(e,t))));var i,a;const o=Object.assign({},r,t.conditions);function s(){return Object.keys(o)}function l(e){return s().includes(e)||/^@|&|&$/.test(e)||e.startsWith("_")}return{keys:s,sort:function(e){return e.filter(e=>"base"!==e).sort((e,t)=>{const n=l(e),r=l(t);return n&&!r?1:!n&&r?-1:0})},has:l,resolve:function(e){return Reflect.get(o,e)||e},breakpoints:t.keys(),expandAtRule:function(e){return e.startsWith("@breakpoint")?t.getCondition(e.replace("@breakpoint ","")):e}}})({conditions:t.conditions??vf,breakpoints:u}),p=function(e){const t=(n=e.config,Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t])));var n;const r=e.tokens,i=new Map,a=new Map;function o(e,n){t[e]=n,s(e,n)}const s=(e,t)=>{const n=u(t);n&&(a.set(e,n),c(e,t))},l=new Map,c=(e,t)=>{if(!t)return;const n=u(t,e=>`type:Tokens["${e}"]`);if("object"==typeof n&&n.type)return void l.set(e,new Set([`type:${n.type}`]));if(n){const t=new Set(Object.keys(n));l.set(e,t)}const r=l.get(e)??new Set;t.property&&l.set(e,r.add(`CssProperties["${t.property}"]`))},u=(e,t)=>{const{values:n}=e,i=e=>{const n=t?.(e);return n?{[n]:n}:void 0};return Gt(n)?i?.(n)??r.getCategoryValues(n)??{}:Array.isArray(n)?n.reduce((e,t)=>(e[t]=t,e),{}):Qt(n)?n(t?i:r.getCategoryValues):n},d=lp((e,t)=>({[e]:e.startsWith("--")?r.getVar(t,t):t})),p=Object.assign(r.getVar,{raw:e=>r.getByName(e)}),f=lp((e,n)=>{const i=g(e);Gt(n)&&!n.includes("_EMO_")&&(n=r.expandReferenceInValue(n));const o=t[i];if(!o)return d(i,n);const s=a.get(i)?.[n];return o.transform?o.transform(s??n,{raw:n,token:p,utils:{colorMix:e=>((e,t)=>{if(!e||"string"!=typeof e)return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||"currentBg"===n)return{invalid:!0,value:n};const i=t(`colors.${n}`),a=t.raw(`opacity.${r}`)?.value;if(!a&&isNaN(Number(r)))return{invalid:!0,value:n};const o=i??n;return{invalid:!1,color:o,value:`color-mix(in srgb, ${o} ${a?100*Number(a)+"%":`${r}%`}, transparent)`}})(e,p)}}):d(e,s??n)});(()=>{for(const[e,n]of Object.entries(t)){const{shorthand:t}=n??{};t&&(Array.isArray(t)?t:[t]).forEach(t=>i.set(t,e))}})(),(()=>{const e=qp(r.colorPaletteMap);o("colorPalette",{values:Object.keys(e),transform:lp(t=>e[t])})})(),(()=>{for(const[e,n]of Object.entries(t))n&&s(e,n)})(),(()=>{for(const[e,n]of Object.entries(t))n&&c(e,n)})();const h=i.size>0,g=lp(e=>i.get(e)??e);return{keys:()=>[...Array.from(i.keys()),...Object.keys(t)],hasShorthand:h,transform:f,shorthands:i,resolveShorthand:g,register:o,getTypes:()=>{const e=new Map;for(const[t,n]of l.entries()){if(0===n.size){e.set(t,["string"]);continue}const r=Array.from(n).map(e=>e.startsWith("CssProperties")?e:e.startsWith("type:")?e.replace("type:",""):JSON.stringify(e));e.set(t,r)}return e},addPropertyType:(e,t)=>{const n=l.get(e)??new Set;l.set(e,new Set([...n,...t]))}}}({config:r,tokens:c});!function(){const{textStyles:e,layerStyles:t,animationStyles:r}=n,i=Ut({textStyle:e,layerStyle:t,animationStyle:r});for(const[n,a]of Object.entries(i)){const e=ap(a??vf,yf);p.register(n,{values:Object.keys(e),transform:t=>b(e[t])})}}(),p.addPropertyType("animationName",Object.keys(n.keyframes??vf));const f=new Set(["css",...p.keys(),...d.keys()]),h=lp(e=>f.has(e)||ip(e)),g=e=>Array.isArray(e)?e.reduce((e,t,n)=>{const r=d.breakpoints[n];return null!=t&&(e[r]=t),e},{}):e,m=function(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:i}=t;return function(e){return Vc(e,n,{stop:e=>Array.isArray(e),getKey:r?i:void 0})}}({utility:p,normalize:g}),v=function(e){const{conditions:t,isValidProperty:n}=e;return function(e){return Vc(e,e=>e,{getKey:(e,r)=>Yt(r)?t.has(e)||n(e)?e:function(e){const t=[];let n=0,r="",i=!1;for(let a=0;a<e.length;a++){const o=e[a];"\\"!==o||i?i?(i=!1,r+=o):("("===o?n++:")"===o&&n--,","===o&&0===n?(t.push(r.trim()),r=""):r+=o):(i=!0,r+=o)}return r&&t.push(r.trim()),t}(e).map(e=>"&"+e).join(", "):e})}}({conditions:d,isValidProperty:h}),b=jp({transform:p.transform,conditions:d,normalize:m}),y=function(e){const{css:t,conditions:n,normalize:r,layers:i}=e;return function a(o={}){const{base:s,variants:l,defaultVariants:c,compoundVariants:u}=Np(o),d=jp({conditions:n,normalize:r,transform:(e,t)=>l[e]?.[t]}),p=(e={})=>{const n=r({...c,...Ut(e)});let a={...s};Od(a,d(n));const o=function(e,n){let r={};return e.forEach(e=>{Object.entries(e).every(([e,t])=>"css"===e||(Array.isArray(t)?t:[t]).some(t=>n[e]===t))&&(r=t(r,e.css))}),r}(u,n);return i.wrap("recipes",t(a,o))},f=Object.keys(l),h=Object.fromEntries(Object.entries(l).map(([e,t])=>[e,Object.keys(t)]));return Object.assign(e=>t(p(e)),{className:o.className,__cva__:!0,variantMap:h,variantKeys:f,raw:p,config:o,splitVariantProps:e=>{const t=Td(e,["recipe"]),[n,r]=tn(t,f);return f.includes("colorPalette")||(n.colorPalette=e.colorPalette||c.colorPalette),f.includes("orientation")&&(r.orientation=e.orientation),[n,r]},merge(t){return a(function(e){const{css:t}=e;return function(e,n){const r=Np(n.config),i=Kt(e.variantKeys,Object.keys(n.variants)),a=t(e.base,r.base),o=Object.fromEntries(i.map(n=>[n,t(e.config.variants[n],r.variants[n])])),s=Od(e.config.defaultVariants,r.defaultVariants),l=[...e.compoundVariants,...r.compoundVariants];return{className:qt(e.className,n.className),base:a,variants:o,defaultVariants:s,compoundVariants:l}}}(e)(this,t))}})}}({css:b,conditions:d,normalize:m,layers:l}),k=function(e){const{cva:t}=e;return function(e={}){const n=Object.entries(((e={})=>{const t=t=>{return{base:e.base?.[t]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?(n=e.compoundVariants,r=t,n.filter(e=>e.css[r]).map(e=>({...e,css:e.css[r]}))):[]};var n,r},n=(e.slots??[]).map(e=>[e,t(e)]);for(const[r,i]of Object.entries(e.variants??{}))for(const[e,t]of Object.entries(i))n.forEach(([n,i])=>{var a;(a=i.variants)[r]??(a[r]={}),i.variants[r][e]=t[n]??{}});return Object.fromEntries(n)})(e)).map(([e,n])=>[e,t(n)]),r=e.variants??{},i=Object.keys(r),a=Object.fromEntries(Object.entries(r).map(([e,t])=>[e,Object.keys(t)]));let o={};return e.className&&(o=Object.fromEntries(e.slots.map(t=>[t,`${e.className}__${t}`]))),Object.assign(function(e){const t=n.map(([t,n])=>[t,n(e)]);return Object.fromEntries(t)},{variantMap:a,variantKeys:i,splitVariantProps:function(t){const n=Td(t,["recipe"]),[r,a]=tn(n,i);return i.includes("colorPalette")||(r.colorPalette=t.colorPalette||e.defaultVariants?.colorPalette),i.includes("orientation")&&(a.orientation=t.orientation),[r,a]},classNameMap:o})}}({cva:y});function x(){const e={};for(const[t,n]of c.cssVarMap.entries()){const r=Object.fromEntries(n);if(0===Object.keys(r).length)continue;const i="base"===t?a:d.resolve(t),o=i.startsWith("@");Od(e,b(v({[i]:o?{[a]:r}:r})))}return l.wrap("tokens",e)}function w(){const e=Object.fromEntries(Object.entries(n.keyframes??vf).map(([e,t])=>[`@keyframes ${e}`,t])),t=Object.assign({},e,b(v(i)));return l.wrap("base",t)}function S(){const e=function(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=Yt(t)?t:{};let i="";n&&"parent"===r?i=`${n} `:n&&"element"===r&&(i=`&${n}`);const a={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},o={[n||"html"]:{lineHeight:1.5,"--font-fallback":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if("element"===r){const e=Object.entries(a).reduce((e,[t,n])=>(e[t]={[i]:n},e),{});Object.assign(o,e)}else i?o[i]=a:Object.assign(o,a);return o}({preflight:s});return l.wrap("reset",e)}const _=function(e){const t=new Map;return e.allTokens.forEach(e=>{const{cssVar:n,virtual:r,conditions:i}=e.extensions,a=i||r?n.ref:e.value;t.set(e.name,{value:a,variable:n.ref})}),t}(c),C=(e,t)=>_.get(e)?.value||t;function P(e){return Object.hasOwnProperty.call(n.recipes??vf,e)}function E(e){return Object.hasOwnProperty.call(n.slotRecipes??vf,e)}C.var=(e,t)=>_.get(e)?.variable||t;const T=[S(),w(),x()],z={layerStyles:kf(n.layerStyles??vf),textStyles:kf(n.textStyles??vf),animationStyles:kf(n.animationStyles??vf),tokens:xf(c,Object.keys(n.tokens??vf),(e,t)=>!e.extensions.conditions&&!t.includes("colorPalette")),semanticTokens:xf(c,Object.keys(n.semanticTokens??vf),e=>!!e.extensions.conditions),keyframes:wf(n.keyframes??vf),breakpoints:wf(n.breakpoints??vf)};return{$$chakra:!0,_config:t,_global:T,breakpoints:u,tokens:c,conditions:d,utility:p,token:C,properties:f,layers:l,isValidProperty:h,splitCssProps:function(e){return tn(e,h)},normalizeValue:g,getTokenCss:x,getGlobalCss:w,getPreflightCss:S,css:b,cva:y,sva:k,getRecipe:function(e,t){return n.recipes?.[e]??t},getSlotRecipe:function(e,t){return n.slotRecipes?.[e]??t},hasRecipe:function(e){return P(e)||E(e)},isRecipe:P,isSlotRecipe:E,query:z}}const yf=e=>Yt(e)&&"value"in e,kf=e=>({list:()=>Object.keys(ap(e,yf)),search(e){return this.list().filter(t=>t.includes(e))}}),xf=(e,t,n)=>({categoryKeys:t,list:t=>Array.from(e.categoryMap.get(t)?.entries()??[]).reduce((e,[t,r])=>(n(r,t)&&e.push(t),e),[]),search(e,t){return this.list(e).filter(e=>e.includes(t))}}),wf=e=>({list:()=>Object.keys(e),search(e){return this.list().filter(t=>t.includes(e))}}),Sf="var(--chakra-empty,/*!*/ /*!*/)",_f={"*":{fontFeatureSettings:'"cv11"',"--ring-inset":Sf,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,Sf])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,Sf])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}},Cf={className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}},Pf={className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}},{variants:Ef,defaultVariants:Tf}=Cf,zf={className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}},Rf={className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}},If={className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}},Of={badge:Cf,button:{className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}},code:{className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:Ef,defaultVariants:Tf},container:{className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}},heading:{className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}},input:Rf,inputAddon:{className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:Rf.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}},kbd:{className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}},link:{className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}},mark:{className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}},separator:{className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}},skeleton:{className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}},skipNavLink:{className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}},spinner:{className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}},textarea:{className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}},icon:{className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}},checkmark:Pf,radiomark:If,colorSwatch:zf},Af=jd.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}}}}),Ff=jd.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),Mf=jd.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),Df=qu.extendWith("itemBody"),jf=$u("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),Nf=$u("alert").parts("title","description","root","indicator","content"),Lf=$u("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),Bf=$u("blockquote").parts("root","icon","content","caption"),$f=$u("card").parts("root","header","body","footer","title","description"),Wf=$u("checkbox-card",["root","control","label","description","addon","indicator","content"]),Hf=$u("data-list").parts("root","item","itemLabel","itemValue"),Vf=nd.extendWith("header","body","footer","backdrop"),Uf=nd.extendWith("header","body","footer","backdrop"),qf=rd.extendWith("textarea"),Yf=$u("empty-state",["root","content","indicator","title","description"]),Gf=id.extendWith("requiredIndicator"),Qf=sd.extendWith("content"),Kf=ld.extendWith("itemContent","dropzoneContent","fileText"),Xf=$u("list").parts("root","item","indicator"),Zf=hd.extendWith("itemCommand"),Jf=$u("select").parts("root","field","indicator"),eh=vd.extendWith("header","body","footer"),th=kd.extendWith("itemAddon","itemIndicator"),nh=th.extendWith("itemContent","itemDescription"),rh=xd.extendWith("itemIndicator"),ih=_d.extendWith("indicatorGroup"),ah=td.extendWith("indicatorGroup","empty"),oh=Cd.extendWith("markerIndicator"),sh=$u("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),lh=$u("status").parts("root","indicator"),ch=$u("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),uh=Pd.extendWith("indicator"),dh=$u("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),ph=$u("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),fh=$u("tabs").parts("root","trigger","list","content","contentGroup","indicator"),hh=$u("tag").parts("root","label","closeTrigger","startElement","endElement"),gh=$u("timeline").parts("root","item","content","separator","indicator","connector","title","description"),mh=Ju.extendWith("channelText"),vh=$u("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);Zu.extendWith("valueText");const bh=fd,yh={className:"chakra-accordion",slots:Df.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}},kh={className:"chakra-action-bar",slots:jf.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}}},xh={slots:Nf.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}},wh={slots:Yu.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px",borderColor:"colorPalette.muted"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}},Sh={className:"chakra-blockquote",slots:Bf.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}},_h={className:"chakra-breadcrumb",slots:Lf.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}},Ch={className:"chakra-card",slots:$f.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}},Ph={slots:Qu.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:Pf.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:Pf.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:Pf.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:Pf.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:Pf.variants?.size?.lg}},variant:{outline:{control:Pf.variants?.variant?.outline},solid:{control:Pf.variants?.variant?.solid},subtle:{control:Pf.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}},Eh={slots:Wf.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:Pf.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:Pf.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Pf.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Pf.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:Pf.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:Pf.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:Pf.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:Pf.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}},Th={slots:vh.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",overflowX:"auto",overflowY:"hidden",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}},zh={slots:Vu.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}},Rh={className:"colorPicker",slots:mh.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3",zIndex:"dropdown",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...zf.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...Rf.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:Rf.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:Rf.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:Rf.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:Rf.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:Rf.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:Rf.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:Rf.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:Rf.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:Rf.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}},Ih={className:"chakra-combobox",slots:ah.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},control:{pos:"relative"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}},Oh={slots:Hf.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}},Ah={slots:Vf.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}},Fh={slots:Uf.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}},Mh={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"},Dh={slots:qf.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...Mh,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...Mh,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}},jh={slots:Yf.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}},Nh={className:"chakra-field",slots:Gf.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}},Lh={className:"fieldset",slots:Qf.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}},Bh={className:"chakra-file-upload",slots:Kf.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}},$h={className:"chakra-hover-card",slots:ud.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3",zIndex:"popover",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}},Wh={className:"chakra-list",slots:Xf.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}},Hh={className:"chakra-listbox",slots:bh.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}},Vh={className:"chakra-menu",slots:Zf.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}},Uh={className:"chakra-select",slots:ih.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}},qh={className:"chakra-native-select",slots:Jf.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:Uh.variants?.variant.outline.trigger},subtle:{field:Uh.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:Uh.defaultVariants};function Yh(e,t){const n={};for(const r in e){const i=t(r,e[r]);n[i[0]]=i[1]}return n}const Gh={display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}},Qh={className:"chakra-number-input",slots:gd.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...Rf.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Gh,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Gh,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:Rf.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:Rf.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:Rf.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:Rf.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Yh(Rf.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}},{variants:Kh,defaultVariants:Xh}=Rf,Zh={className:"chakra-pin-input",slots:md.keys(),base:{input:{...Rf.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Yh(Kh.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Yh(Kh.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:Xh},Jh={className:"chakra-popover",slots:eh.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}},eg={slots:bd.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}},tg={className:"chakra-progress-circle",slots:bd.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}},ng={slots:yd.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}},rg={className:"chakra-radio-card",slots:nh.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.8",borderColor:"border.disabled"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:If.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:If.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:If.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:If.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:If.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:If.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:If.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:If.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}},ig={className:"chakra-radio-group",slots:th.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:If.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:If.variants?.variant?.outline},subtle:{itemControl:If.variants?.variant?.subtle},solid:{itemControl:If.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:If.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:If.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:If.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:If.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}},ag={className:"chakra-rating-group",slots:rh.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}},og={className:"chakra-scroll-area",slots:wd.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}},sg={className:"chakra-segment-group",slots:Sd.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}},lg={className:"chakra-slider",slots:oh.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}},cg={className:"chakra-stat",slots:sh.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}},ug={className:"chakra-status",slots:lh.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}},dg={className:"chakra-steps",slots:ch.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}},pg={slots:uh.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}},fg={className:"chakra-table",slots:dh.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}",overflow:"hidden"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}},hg={slots:fh.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-indicator-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}},gg=Cf.variants?.variant,mg={slots:hh.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:gg?.subtle},solid:{root:gg?.solid},outline:{root:gg?.outline},surface:{root:gg?.surface}}},defaultVariants:{size:"md",variant:"surface"}},vg={slots:gh.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"6",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid"}},bg={display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}},yg={flex:"1"},kg={_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},xg={_selected:{layerStyle:"fill.solid"}},wg={accordion:yh,actionBar:kh,alert:xh,avatar:wh,blockquote:Sh,breadcrumb:_h,card:Ch,checkbox:Ph,checkboxCard:Eh,codeBlock:Th,collapsible:zh,dataList:Oh,dialog:Ah,drawer:Fh,editable:Dh,emptyState:jh,field:Nh,fieldset:Lh,fileUpload:Bh,hoverCard:$h,list:Wh,listbox:Hh,menu:Vh,nativeSelect:qh,numberInput:Qh,pinInput:Zh,popover:Jh,progress:eg,progressCircle:tg,radioCard:rg,radioGroup:ig,ratingGroup:ag,scrollArea:og,segmentGroup:sg,select:Uh,combobox:Ih,slider:lg,stat:cg,steps:dg,switch:pg,table:fg,tabs:hg,tag:mg,toast:{slots:ph.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}},tooltip:{slots:Ed.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}},status:ug,timeline:vg,colorPicker:Rh,qrCode:ng,treeView:{slots:dd.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:bg,item:bg,itemText:yg,branchText:yg,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:kg,item:kg},solid:{branchControl:xg,item:xg}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}},Sg=Dd.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),_g=Dd.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),Cg=Dd.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),Pg=Dd.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),Eg=Dd.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),Tg=Dd.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),zg=Dd.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),Rg=Dd.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),Ig=Dd.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),Og=Dd.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),Ag='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Fg=Dd.fonts({heading:{value:`Inter, ${Ag}`},body:{value:`Inter, ${Ag}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),Mg=Dd.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),Dg=Dd.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),jg=Dd.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),Ng=Dd.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),Lg=Dd.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),Bg=Dd.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),$g=Dd.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),Wg=Dd.sizes({...Lg,...Ng,...$g,...Bg}),Hg=Dd.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),Vg=Fd(Qd,{preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:_f,theme:{breakpoints:{sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},keyframes:{spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"0"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}},tokens:{aspectRatios:_g,animations:Sg,blurs:Cg,borders:Pg,colors:Eg,durations:zg,easings:Rg,fonts:Fg,fontSizes:Ig,fontWeights:Og,letterSpacings:Mg,lineHeights:Dg,radii:jg,spacing:Ng,sizes:Wg,zIndex:Hg,cursor:Tg},semanticTokens:{colors:Af,shadows:Mf,radii:Ff},recipes:Of,slotRecipes:wg,textStyles:{"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}},layerStyles:{"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}},animationStyles:{"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}}});function Ug(e,t){const n=Jt();return k.useMemo(()=>(Array.isArray(t)?t:[t]).map(t=>n.token(`${e}.${t}`,t)),[n,e,t])}bf(Vg);const{withContext:qg}=Xc({key:"badge"}),Yg=qg("span"),{useRecipeResult:Gg}=Xc({key:"icon"}),Qg=k.forwardRef(function(e,t){const{styles:n,className:r,props:i}=Gg({asChild:!e.as,...e});return g.jsx(fn.svg,{ref:t,focusable:!1,"aria-hidden":"true",...i,css:[n,e.css],className:qt(r,e.className)})});function Kg(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,a=k.Children.toArray(e.path),o=k.forwardRef((e,r)=>g.jsx(Qg,{ref:r,asChild:!1,viewBox:t,...i,...e,children:a.length?a:g.jsx("path",{fill:"currentColor",d:n})}));return o.displayName=r,o}const Xg=k.forwardRef(function(e,t){const{columns:n,minChildWidth:r,...i}=e,a=Jt(),o=r?function(e,t){return Uc(e,e=>{const n=t.tokens.getVar(`sizes.${e}`,"number"==typeof(r=e)?`${r}px`:r);var r;return null===e?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}(r,a):Uc(n,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return g.jsx(wu,{ref:t,templateColumns:o,...i})}),{withContext:Zg}=Xc({key:"textarea"}),Jg=Zg(od),em=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nm={};function rm(e,t){return(nm.jsx?tm:em).test(e)}const im=/[ \t\n\f\r]/g;function am(e){return""===e.replace(im,"")}class om{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function sm(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new om(n,r,t)}function lm(e){return e.toLowerCase()}om.prototype.normal={},om.prototype.property={},om.prototype.space=void 0;class cm{constructor(e,t){this.attribute=t,this.property=e}}cm.prototype.attribute="",cm.prototype.booleanish=!1,cm.prototype.boolean=!1,cm.prototype.commaOrSpaceSeparated=!1,cm.prototype.commaSeparated=!1,cm.prototype.defined=!1,cm.prototype.mustUseProperty=!1,cm.prototype.number=!1,cm.prototype.overloadedBoolean=!1,cm.prototype.property="",cm.prototype.spaceSeparated=!1,cm.prototype.space=void 0;let um=0;const dm=bm(),pm=bm(),fm=bm(),hm=bm(),gm=bm(),mm=bm(),vm=bm();function bm(){return 2**++um}const ym=Object.freeze(Object.defineProperty({__proto__:null,boolean:dm,booleanish:pm,commaOrSpaceSeparated:vm,commaSeparated:mm,number:hm,overloadedBoolean:fm,spaceSeparated:gm},Symbol.toStringTag,{value:"Module"})),km=Object.keys(ym);class xm extends cm{constructor(e,t,n,r){let i=-1;if(super(e,t),wm(this,"space",r),"number"==typeof n)for(;++i<km.length;){const e=km[i];wm(this,km[i],(n&ym[e])===ym[e])}}}function wm(e,t,n){n&&(e[t]=n)}function Sm(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new xm(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[lm(r)]=r,n[lm(a.attribute)]=r}return new om(t,n,e.space)}xm.prototype.defined=!0;const _m=Sm({properties:{ariaActiveDescendant:null,ariaAtomic:pm,ariaAutoComplete:null,ariaBusy:pm,ariaChecked:pm,ariaColCount:hm,ariaColIndex:hm,ariaColSpan:hm,ariaControls:gm,ariaCurrent:null,ariaDescribedBy:gm,ariaDetails:null,ariaDisabled:pm,ariaDropEffect:gm,ariaErrorMessage:null,ariaExpanded:pm,ariaFlowTo:gm,ariaGrabbed:pm,ariaHasPopup:null,ariaHidden:pm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:gm,ariaLevel:hm,ariaLive:null,ariaModal:pm,ariaMultiLine:pm,ariaMultiSelectable:pm,ariaOrientation:null,ariaOwns:gm,ariaPlaceholder:null,ariaPosInSet:hm,ariaPressed:pm,ariaReadOnly:pm,ariaRelevant:null,ariaRequired:pm,ariaRoleDescription:gm,ariaRowCount:hm,ariaRowIndex:hm,ariaRowSpan:hm,ariaSelected:pm,ariaSetSize:hm,ariaSort:null,ariaValueMax:hm,ariaValueMin:hm,ariaValueNow:hm,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function Cm(e,t){return t in e?e[t]:t}function Pm(e,t){return Cm(e,t.toLowerCase())}const Em=Sm({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mm,acceptCharset:gm,accessKey:gm,action:null,allow:null,allowFullScreen:dm,allowPaymentRequest:dm,allowUserMedia:dm,alt:null,as:null,async:dm,autoCapitalize:null,autoComplete:gm,autoFocus:dm,autoPlay:dm,blocking:gm,capture:null,charSet:null,checked:dm,cite:null,className:gm,cols:hm,colSpan:null,content:null,contentEditable:pm,controls:dm,controlsList:gm,coords:hm|mm,crossOrigin:null,data:null,dateTime:null,decoding:null,default:dm,defer:dm,dir:null,dirName:null,disabled:dm,download:fm,draggable:pm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:dm,formTarget:null,headers:gm,height:hm,hidden:fm,high:hm,href:null,hrefLang:null,htmlFor:gm,httpEquiv:gm,id:null,imageSizes:null,imageSrcSet:null,inert:dm,inputMode:null,integrity:null,is:null,isMap:dm,itemId:null,itemProp:gm,itemRef:gm,itemScope:dm,itemType:gm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:dm,low:hm,manifest:null,max:null,maxLength:hm,media:null,method:null,min:null,minLength:hm,multiple:dm,muted:dm,name:null,nonce:null,noModule:dm,noValidate:dm,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:dm,optimum:hm,pattern:null,ping:gm,placeholder:null,playsInline:dm,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:dm,referrerPolicy:null,rel:gm,required:dm,reversed:dm,rows:hm,rowSpan:hm,sandbox:gm,scope:null,scoped:dm,seamless:dm,selected:dm,shadowRootClonable:dm,shadowRootDelegatesFocus:dm,shadowRootMode:null,shape:null,size:hm,sizes:null,slot:null,span:hm,spellCheck:pm,src:null,srcDoc:null,srcLang:null,srcSet:null,start:hm,step:null,style:null,tabIndex:hm,target:null,title:null,translate:null,type:null,typeMustMatch:dm,useMap:null,value:pm,width:hm,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:gm,axis:null,background:null,bgColor:null,border:hm,borderColor:null,bottomMargin:hm,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:dm,declare:dm,event:null,face:null,frame:null,frameBorder:null,hSpace:hm,leftMargin:hm,link:null,longDesc:null,lowSrc:null,marginHeight:hm,marginWidth:hm,noResize:dm,noHref:dm,noShade:dm,noWrap:dm,object:null,profile:null,prompt:null,rev:null,rightMargin:hm,rules:null,scheme:null,scrolling:pm,standby:null,summary:null,text:null,topMargin:hm,valueType:null,version:null,vAlign:null,vLink:null,vSpace:hm,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:dm,disableRemotePlayback:dm,prefix:null,property:null,results:hm,security:null,unselectable:null},space:"html",transform:Pm}),Tm=Sm({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:vm,accentHeight:hm,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:hm,amplitude:hm,arabicForm:null,ascent:hm,attributeName:null,attributeType:null,azimuth:hm,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:hm,by:null,calcMode:null,capHeight:hm,className:gm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:hm,diffuseConstant:hm,direction:null,display:null,dur:null,divisor:hm,dominantBaseline:null,download:dm,dx:null,dy:null,edgeMode:null,editable:null,elevation:hm,enableBackground:null,end:null,event:null,exponent:hm,externalResourcesRequired:null,fill:null,fillOpacity:hm,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:mm,g2:mm,glyphName:mm,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:hm,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:hm,horizOriginX:hm,horizOriginY:hm,id:null,ideographic:hm,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:hm,k:hm,k1:hm,k2:hm,k3:hm,k4:hm,kernelMatrix:vm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:hm,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:hm,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:hm,overlineThickness:hm,paintOrder:null,panose1:null,path:null,pathLength:hm,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:gm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:hm,pointsAtY:hm,pointsAtZ:hm,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:vm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:vm,rev:vm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:vm,requiredFeatures:vm,requiredFonts:vm,requiredFormats:vm,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:hm,specularExponent:hm,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:hm,strikethroughThickness:hm,string:null,stroke:null,strokeDashArray:vm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:hm,strokeOpacity:hm,strokeWidth:null,style:null,surfaceScale:hm,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:vm,tabIndex:hm,tableValues:null,target:null,targetX:hm,targetY:hm,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:vm,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:hm,underlineThickness:hm,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:hm,values:null,vAlphabetic:hm,vMathematical:hm,vectorEffect:null,vHanging:hm,vIdeographic:hm,version:null,vertAdvY:hm,vertOriginX:hm,vertOriginY:hm,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:hm,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Cm}),zm=Sm({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Rm=Sm({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Pm}),Im=Sm({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Om={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"},Am=/[A-Z]/g,Fm=/-[a-z]/g,Mm=/^data[-\w.:]+$/i;function Dm(e){return"-"+e.toLowerCase()}function jm(e){return e.charAt(1).toUpperCase()}const Nm=sm([_m,Em,zm,Rm,Im],"html"),Lm=sm([_m,Tm,zm,Rm,Im],"svg");var Bm,$m,Wm,Hm={};function Vm(){if($m)return Bm;$m=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(s,l):l}return Bm=function(s,u){if("string"!=typeof s)throw new TypeError("First argument must be a string");if(!s)return[];u=u||{};var d=1,p=1;function f(e){var n=e.match(t);n&&(d+=n.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:d,column:p},this.source=u.source}function m(e){var t=new Error(u.source+":"+d+":"+p+": "+e);if(t.reason=e,t.filename=u.source,t.line=d,t.column=p,t.source=s,!u.silent)throw t}function v(e){var t=e.exec(s);if(t){var n=t[0];return f(n),s=s.slice(n.length),t}}function b(){v(n)}function y(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var e=h();if("/"==s.charAt(0)&&"*"==s.charAt(1)){for(var t=2;l!=s.charAt(t)&&("*"!=s.charAt(t)||"/"!=s.charAt(t+1));)++t;if(t+=2,l===s.charAt(t-1))return m("End of comment missing");var n=s.slice(2,t-2);return p+=2,f(n),s=s.slice(t),p+=2,e({type:"comment",comment:n})}}function x(){var t=h(),n=v(r);if(n){if(k(),!v(i))return m("property missing ':'");var s=v(a),u=t({type:"declaration",property:c(n[0].replace(e,l)),value:s?c(s[0].replace(e,l)):l});return v(o),u}}return g.prototype.content=s,b(),function(){var e,t=[];for(y(t);e=x();)!1!==e&&(t.push(e),y(t));return t}()}}function Um(){if(Wm)return Hm;Wm=1;var e=Hm&&Hm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Hm,"__esModule",{value:!0}),Hm.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var i=(0,t.default)(e),a="function"==typeof n;return i.forEach(function(e){if("declaration"===e.type){var t=e.property,i=e.value;a?n(t,i,e):i&&((r=r||{})[t]=i)}}),r};var t=e(Vm());return Hm}var qm,Ym,Gm,Qm={};function Km(){if(qm)return Qm;qm=1,Object.defineProperty(Qm,"__esModule",{value:!0}),Qm.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},o=function(e,t){return"".concat(t,"-")};return Qm.camelCase=function(s,l){return void 0===l&&(l={}),function(t){return!t||n.test(t)||e.test(t)}(s)?s:(s=s.toLowerCase(),(s=l.reactCompat?s.replace(i,o):s.replace(r,o)).replace(t,a))},Qm}function Xm(){if(Gm)return Ym;Gm=1;var e=Ym&&Ym.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},t=e(Um()),n=Km();function r(e,r){var i={};return e&&"string"==typeof e?((0,t.default)(e,function(e,t){e&&t&&(i[(0,n.camelCase)(e,r)]=t)}),i):i}return r.default=r,Ym=r}const Zm=a(Xm()),Jm=tv("end"),ev=tv("start");function tv(e){return function(t){const 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 nv(e){return e&&"object"==typeof e?"position"in e||"type"in e?iv(e.position):"start"in e||"end"in e?iv(e):"line"in e||"column"in e?rv(e):"":""}function rv(e){return av(e&&e.line)+":"+av(e&&e.column)}function iv(e){return rv(e&&e.start)+"-"+rv(e&&e.end)}function av(e){return e&&"number"==typeof e?e:1}class ov extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const 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){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const o=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=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=nv(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=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ov.prototype.file="",ov.prototype.name="",ov.prototype.reason="",ov.prototype.message="",ov.prototype.stack="",ov.prototype.column=void 0,ov.prototype.line=void 0,ov.prototype.ancestors=void 0,ov.prototype.cause=void 0,ov.prototype.fatal=void 0,ov.prototype.place=void 0,ov.prototype.ruleId=void 0,ov.prototype.source=void 0;const sv={}.hasOwnProperty,lv=new Map,cv=/[A-Z]/g,uv=new Set(["table","tbody","thead","tfoot","tr"]),dv=new Set(["td","th"]),pv="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function fv(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=Lm,e.schema=i),e.ancestors.push(t);const a=bv(e,t.tagName,!1),o=function(e,t){const n={};let r,i;for(i in t.properties)if("children"!==i&&sv.call(t.properties,i)){const a=vv(e,i,t.properties[i]);if(a){const[i,o]=a;e.tableCellAlignToStyle&&"align"===i&&"string"==typeof o&&dv.has(t.tagName)?r=o:n[i]=o}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let s=mv(e,t);return uv.has(t.tagName)&&(s=s.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&am(t.value):am(t));var t})),hv(e,o,a,t),gv(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return e.evaluater.evaluateExpression(n.expression)}yv(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.name&&"html"===r.space&&(i=Lm,e.schema=i),e.ancestors.push(t);const a=null===t.name?e.Fragment:bv(e,t.name,!0),o=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0].expression.properties[0];Object.assign(n,e.evaluater.evaluateExpression(t.argument))}else yv(e,t.position);else{const i=r.name;let a;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];a=e.evaluater.evaluateExpression(t.expression)}else yv(e,t.position);else a=null===r.value||r.value;n[i]=a}return n}(e,t),s=mv(e,t);return hv(e,o,a,t),gv(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);yv(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return gv(r,mv(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function hv(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function gv(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function mv(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:lv;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){const t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}const s=fv(e,a,o);void 0!==s&&n.push(s)}return n}function vv(e,t,n){const r=function(e,t){const n=lm(t);let r=t,i=cm;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Mm.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Fm,jm);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Fm.test(e)){let n=e.replace(Am,Dm);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=xm}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){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return Zm(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const t=n,r=new ov("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=pv+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)sv.call(e,n)&&(t[kv(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Om[r.property]||r.property:r.attribute,n]}}function bv(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,i=-1;for(;++i<e.length;){const t=rm(e[i])?{type:"Identifier",name:e[i]}:{type:"Literal",value:e[i]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(i&&"Literal"===t.type),optional:!1}:t}r=n}else r=rm(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return sv.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);yv(e)}function yv(e,t){const n=new ov("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=pv+"#cannot-handle-mdx-estrees-without-createevaluater",n}function kv(e){let t=e.replace(cv,xv);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function xv(e){return"-"+e.toLowerCase()}const wv={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"]},Sv={};function _v(e,t){return Cv(e,"boolean"!=typeof Sv.includeImageAlt||Sv.includeImageAlt,"boolean"!=typeof Sv.includeHtml||Sv.includeHtml)}function Cv(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(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 Pv(e.children,t,n)}return Array.isArray(e)?Pv(e,t,n):""}function Pv(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Cv(e[i],t,n);return r.join("")}const Ev=document.createElement("i");function Tv(e){const t="&"+e+";";Ev.innerHTML=t;const n=Ev.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}function zv(e,t,n,r){const i=e.length;let a,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function Rv(e,t){return e.length>0?(zv(e,e.length,0,t),e):t}const Iv={}.hasOwnProperty;function Ov(e){const t={};let n=-1;for(;++n<e.length;)Av(t,e[n]);return t}function Av(e,t){let n;for(n in t){const r=(Iv.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){Iv.call(r,a)||(r[a]=[]);const e=i[a];Fv(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Fv(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);zv(e,0,0,r)}function Mv(e,t){const 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)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function Dv(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const jv=Qv(/[A-Za-z]/),Nv=Qv(/[\dA-Za-z]/),Lv=Qv(/[#-'*+\--9=?A-Z^-~]/);function Bv(e){return null!==e&&(e<32||127===e)}const $v=Qv(/\d/),Wv=Qv(/[\dA-Fa-f]/),Hv=Qv(/[!-/:-@[-`{-~]/);function Vv(e){return null!==e&&e<-2}function Uv(e){return null!==e&&(e<0||32===e)}function qv(e){return-2===e||-1===e||32===e}const Yv=Qv(new RegExp("\\p{P}|\\p{S}","u")),Gv=Qv(/\s/);function Qv(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Kv(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(37===a&&Nv(e.charCodeAt(n+1))&&Nv(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Xv(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return function(r){return qv(r)?(e.enter(n),o(r)):t(r)};function o(r){return qv(r)&&a++<i?(e.consume(r),o):(e.exit(n),t(r))}}const Zv={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Xv(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Vv(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}},Jv={tokenize:function(e){const t=this,n=[];let r,i,a,o=0;return s;function s(r){if(o<n.length){const i=n[o];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&b();const n=t.events.length;let i,a=n;for(;a--;)if("exit"===t.events[a][0]&&"chunkFlow"===t.events[a][1].type){i=t.events[a][1].end;break}v(o);let s=n;for(;s<t.events.length;)t.events[s][1].end={...i},s++;return zv(t.events,a+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(i){if(o===n.length){if(!r)return p(i);if(r.currentConstruct&&r.currentConstruct.concrete)return h(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(eb,u,d)(i)}function u(e){return r&&b(),v(o),p(e)}function d(e){return t.parser.lazy[t.now().line]=o!==n.length,a=t.now().offset,h(e)}function p(n){return t.containerState={},e.attempt(eb,f,h)(n)}function f(e){return o++,n.push([t.currentConstruct,t.containerState]),p(e)}function h(n){return null===n?(r&&b(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):Vv(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,t.interrupt=void 0,s):(e.consume(n),g)}function m(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<a&&(!r.events[e][1].end||r.events[e][1].end.offset>a))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(v(o),e=n;e<t.events.length;)t.events[e][1].end={...s},e++;zv(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},eb={tokenize:function(e,t,n){return Xv(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function tb(e){return null===e||Uv(e)||Gv(e)?1:Yv(e)?2:void 0}function nb(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const rb={name:"attention",resolveAll:function(e,t){let n,r,i,a,o,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},p={...e[u][1].start};ib(d,-s),ib(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[n][1].end={...a.start},e[u][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Rv(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Rv(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=Rv(l,nb(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Rv(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Rv(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,zv(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=tb(r);let a;return function(t){return a=t,e.enter("attentionSequence"),o(t)};function o(s){if(s===a)return e.consume(s),o;const l=e.exit("attentionSequence"),c=tb(s),u=!c||2===c&&i||n.includes(s),d=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===a?u:u&&(i||!d)),l._close=Boolean(42===a?d:d&&(c||!u)),t(s)}}};function ib(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ab={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 jv(t)?(e.consume(t),a):64===t?n(t):l(t)}function a(e){return 43===e||45===e||46===e||Nv(e)?(r=1,o(e)):l(e)}function o(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||Nv(t))&&r++<32?(e.consume(t),o):(r=0,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||Bv(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):Lv(t)?(e.consume(t),l):n(t)}function c(e){return Nv(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Nv(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}},ob={partial:!0,tokenize:function(e,t,n){return function(t){return qv(t)?Xv(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Vv(e)?t(e):n(e)}}},sb={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return qv(t)?Xv(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(sb,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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 qv(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},lb={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 Hv(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},cb={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,a,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,a=Nv,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Wv,c):(e.enter("characterReferenceValue"),i=7,a=$v,c(t))}function c(s){if(59===s&&o){const i=e.exit("characterReferenceValue");return a!==Nv||Tv(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++<i?(e.consume(s),c):n(s)}}},ub={partial:!0,tokenize:function(e,t,n){const 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)}}},db={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),qv(t)?Xv(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===a?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===a?(i++,e.consume(t),c):i>=s?(e.exit("codeFencedFenceSequence"),qv(t)?Xv(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||Vv(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let a,o=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===a?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),qv(t)?Xv(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Vv(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(ub,f,b)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Vv(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):qv(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xv(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){return null===t||Vv(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||Vv(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),p)}function f(t){return e.attempt(i,b,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return o>0&&qv(t)?Xv(e,m,"linePrefix",o+1)(t):m(t)}function m(t){return null===t||Vv(t)?e.check(ub,f,b)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Vv(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),v)}function b(n){return e.exit("codeFenced"),t(n)}}},pb={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Xv(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)}function a(t){return null===t?s(t):Vv(t)?e.attempt(fb,a,s)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||Vv(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),o)}function s(n){return e.exit("codeIndented"),t(n)}}},fb={partial:!0,tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Vv(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):Xv(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Vv(e)?i(e):n(e)}}},hb={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[i][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,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),a++,o):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):Vv(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Vv(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}}};class gb{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const 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){const r=t||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&mb(this.left,n),i.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),mb(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),mb(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){const t=this.left.splice(e,Number.POSITIVE_INFINITY);mb(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);mb(this.left,t.reverse())}}}function mb(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 vb(e){const t={};let n,r,i,a,o,s,l,c=-1;const u=new gb(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,bb(u,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--;)if(a=u.get(i),"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=i);else if("linePrefix"!==a[1].type&&"listItemIndent"!==a[1].type)break;r&&(n[1].end={...u.get(r)[1].start},o=u.slice(r,c),o.unshift(n),u.splice(r,c-r+1,o))}}return zv(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function bb(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,l=[],c={};let u,d,p=-1,f=n,h=0,g=0;const m=[g];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),d&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=n;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(g=p+1,m.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),p=m.length;p--;){const t=s.slice(m[p],m[p+1]),n=a.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}for(l.reverse(),p=-1;++p<l.length;)c[h+l[p][0]]=h+l[p][1],h+=l[p][1]-l[p][0]-1;return c}const yb={resolve:function(e){return vb(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):Vv(t)?e.check(kb,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},kb={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xv(e,i,"linePrefix")};function i(i){if(null===i||Vv(i))return n(i);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};function xb(e,t,n,r,i,a,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||Bv(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||Vv(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return u||null!==i&&41!==i&&!Uv(i)?u<c&&40===i?(e.consume(i),u++,h):41===i?(e.consume(i),u--,h):null===i||32===i||40===i||Bv(i)?n(i):(e.consume(i),92===i?g:h):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(i))}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function wb(e,t,n,r,i,a){const o=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):Vv(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||Vv(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!qv(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Sb(e,t,n,r,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),s(o)):null===t?n(t):Vv(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xv(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||Vv(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function _b(e,t){let n;return function r(i){return Vv(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):qv(i)?Xv(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Cb={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return wb.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function a(t){return i=Dv(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return Uv(t)?_b(e,s)(t):s(t)}function s(t){return xb(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Pb,c,c)(t)}function c(t){return qv(t)?Xv(e,u,"whitespace")(t):u(t)}function u(a){return null===a||Vv(a)?(e.exit("definition"),r.parser.defined.push(i),t(a)):n(a)}}},Pb={partial:!0,tokenize:function(e,t,n){return function(t){return Uv(t)?_b(e,r)(t):n(t)};function r(t){return Sb(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return qv(t)?Xv(e,a,"whitespace")(t):a(t)}function a(e){return null===e||Vv(e)?t(e):n(e)}}},Eb={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Vv(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Tb={name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[a][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},zv(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||Uv(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||Vv(n)?(e.exit("atxHeading"),t(n)):qv(n)?Xv(e,a,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),a(t))}function s(t){return null===t||35===t||Uv(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),s)}}},zb=["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"],Rb=["pre","script","style","textarea"],Ib={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){const r=this;let i,a,o,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),a=!0,f):63===s?(e.consume(s),i=3,r.interrupt?t:F):jv(s)?(e.consume(s),o=String.fromCharCode(s),h):n(s)}function u(a){return 45===a?(e.consume(a),i=2,d):91===a?(e.consume(a),i=5,s=0,p):jv(a)?(e.consume(a),i=4,r.interrupt?t:F):n(a)}function d(i){return 45===i?(e.consume(i),r.interrupt?t:F):n(i)}function p(i){return i==="CDATA[".charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:P:p):n(i)}function f(t){return jv(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||Uv(s)){const l=47===s,c=o.toLowerCase();return l||a||!Rb.includes(c)?zb.includes(o.toLowerCase())?(i=6,l?(e.consume(s),g):r.interrupt?t(s):P(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?m(s):v(s)):(i=1,r.interrupt?t(s):P(s))}return 45===s||Nv(s)?(e.consume(s),o+=String.fromCharCode(s),h):n(s)}function g(i){return 62===i?(e.consume(i),r.interrupt?t:P):n(i)}function m(t){return qv(t)?(e.consume(t),m):_(t)}function v(t){return 47===t?(e.consume(t),_):58===t||95===t||jv(t)?(e.consume(t),b):qv(t)?(e.consume(t),v):_(t)}function b(t){return 45===t||46===t||58===t||95===t||Nv(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),k):qv(t)?(e.consume(t),y):v(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):qv(t)?(e.consume(t),k):w(t)}function x(t){return t===l?(e.consume(t),l=null,S):null===t||Vv(t)?n(t):(e.consume(t),x)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Uv(t)?y(t):(e.consume(t),w)}function S(e){return 47===e||62===e||qv(e)?v(e):n(e)}function _(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||Vv(t)?P(t):qv(t)?(e.consume(t),C):n(t)}function P(t){return 45===t&&2===i?(e.consume(t),R):60===t&&1===i?(e.consume(t),I):62===t&&4===i?(e.consume(t),M):63===t&&3===i?(e.consume(t),F):93===t&&5===i?(e.consume(t),A):!Vv(t)||6!==i&&7!==i?null===t||Vv(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(Ob,D,E)(t))}function E(t){return e.check(Ab,T,D)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),z}function z(t){return null===t||Vv(t)?E(t):(e.enter("htmlFlowData"),P(t))}function R(t){return 45===t?(e.consume(t),F):P(t)}function I(t){return 47===t?(e.consume(t),o="",O):P(t)}function O(t){if(62===t){const n=o.toLowerCase();return Rb.includes(n)?(e.consume(t),M):P(t)}return jv(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):P(t)}function A(t){return 93===t?(e.consume(t),F):P(t)}function F(t){return 62===t?(e.consume(t),M):45===t&&2===i?(e.consume(t),F):P(t)}function M(t){return null===t||Vv(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),M)}function D(n){return e.exit("htmlFlow"),t(n)}}},Ob={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ob,t,n)}}},Ab={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return Vv(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)}}},Fb={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,a,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),k):63===t?(e.consume(t),b):jv(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):jv(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):Vv(t)?(o=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?I(e):45===e?d(e):u(e)}function f(t){return t==="CDATA[".charCodeAt(a++)?(e.consume(t),6===a?h:f):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),g):Vv(t)?(o=h,O(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?I(t):93===t?(e.consume(t),m):h(t)}function v(t){return null===t||62===t?I(t):Vv(t)?(o=v,O(t)):(e.consume(t),v)}function b(t){return null===t?n(t):63===t?(e.consume(t),y):Vv(t)?(o=b,O(t)):(e.consume(t),b)}function y(e){return 62===e?I(e):b(e)}function k(t){return jv(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||Nv(t)?(e.consume(t),x):w(t)}function w(t){return Vv(t)?(o=w,O(t)):qv(t)?(e.consume(t),w):I(t)}function S(t){return 45===t||Nv(t)?(e.consume(t),S):47===t||62===t||Uv(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),I):58===t||95===t||jv(t)?(e.consume(t),C):Vv(t)?(o=_,O(t)):qv(t)?(e.consume(t),_):I(t)}function C(t){return 45===t||46===t||58===t||95===t||Nv(t)?(e.consume(t),C):P(t)}function P(t){return 61===t?(e.consume(t),E):Vv(t)?(o=P,O(t)):qv(t)?(e.consume(t),P):_(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,T):Vv(t)?(o=E,O(t)):qv(t)?(e.consume(t),E):(e.consume(t),z)}function T(t){return t===i?(e.consume(t),i=void 0,R):null===t?n(t):Vv(t)?(o=T,O(t)):(e.consume(t),T)}function z(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Uv(t)?_(t):(e.consume(t),z)}function R(e){return 47===e||62===e||Uv(e)?_(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return qv(t)?Xv(e,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):F(t)}function F(t){return e.enter("htmlTextData"),o(t)}}},Mb={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&zv(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);const l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return a=[["enter",l,t],["enter",c,t]],a=Rv(a,e.slice(r+1,r+s+3)),a=Rv(a,[["enter",u,t]]),a=Rv(a,nb(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),a=Rv(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=Rv(a,e.slice(i+1)),a=Rv(a,[["exit",l,t]]),zv(e,r,e.length,a),e},tokenize:function(e,t,n){const r=this;let i,a,o=r.events.length;for(;o--;)if(("labelImage"===r.events[o][1].type||"labelLink"===r.events[o][1].type)&&!r.events[o][1]._balanced){i=r.events[o][1];break}return function(t){return i?i._inactive?u(t):(a=r.parser.defined.includes(Dv(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(Db,c,a?c:u)(t):91===t?e.attempt(jb,c,a?l:u)(t):a?c(t):u(t)}function l(t){return e.attempt(Nb,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}}},Db={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 Uv(t)?_b(e,i)(t):i(t)}function i(t){return 41===t?c(t):xb(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return Uv(t)?_b(e,s)(t):c(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?Sb(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return Uv(t)?_b(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},jb={tokenize:function(e,t,n){const r=this;return function(t){return wb.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(Dv(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},Nb={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)}}},Lb={name:"labelStartImage",resolveAll:Mb.resolveAll,tokenize:function(e,t,n){const 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"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Bb={name:"labelStartLink",resolveAll:Mb.resolveAll,tokenize:function(e,t,n){const 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)}}},$b={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Xv(e,t,"linePrefix")}}},Wb={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,a(e)}(t)};function a(a){return a===r?(e.enter("thematicBreakSequence"),o(a)):i>=3&&(null===a||Vv(a))?(e.exit("thematicBreak"),t(a)):n(a)}function o(t){return t===r?(e.consume(t),i++,o):(e.exit("thematicBreakSequence"),qv(t)?Xv(e,a,"whitespace")(t):a(t))}}},Hb={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ob,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Xv(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!qv(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ub,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Xv(e,e.attempt(Hb,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){const r=this,i=r.events[r.events.length-1];let a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:$v(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(Wb,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return $v(t)&&++o<10?(e.consume(t),s):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ob,r.interrupt?n:c,e.attempt(Vb,d,u))}function c(e){return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){return qv(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},Vb={partial:!0,tokenize:function(e,t,n){const r=this;return Xv(e,function(e){const i=r.events[r.events.length-1];return!qv(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},Ub={partial:!0,tokenize:function(e,t,n){const r=this;return Xv(e,function(e){const 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)}},qb={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);const o={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",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){const r=this;let i;return function(t){let o,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){o="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t))};function a(t){return t===i?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),qv(t)?Xv(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||Vv(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},Yb={tokenize:function(e){const t=this,n=e.attempt(ob,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,Xv(e,e.attempt(this.parser.constructs.flow,r,e.attempt(yb,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Gb={resolveAll:Zb()},Qb=Xb("string"),Kb=Xb("text");function Xb(e){return{resolveAll:Zb("text"===e?Jb:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Zb(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 Jb(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let a,o=i.length,s=-1,l=0;for(;o--;){const e=i[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)a=!0,l++;else if(-1!==e){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const i={type:n===e.length||a||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:r.start._bufferIndex+s,_index:r.start._index+o,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}const ey={42:Hb,43:Hb,45:Hb,48:Hb,49:Hb,50:Hb,51:Hb,52:Hb,53:Hb,54:Hb,55:Hb,56:Hb,57:Hb,62:sb},ty={91:Cb},ny={[-2]:pb,[-1]:pb,32:pb},ry={35:Tb,42:Wb,45:[qb,Wb],60:Ib,61:qb,95:Wb,96:db,126:db},iy={38:cb,92:lb},ay={[-5]:$b,[-4]:$b,[-3]:$b,33:Lb,38:cb,42:rb,60:[ab,Fb],91:Bb,92:[Eb,lb],93:Mb,95:rb,96:hb},oy={null:[rb,Gb]},sy=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:ty,disable:{null:[]},document:ey,flow:ry,flowInitial:ny,insideSpan:oy,string:iy,text:ay},Symbol.toStringTag,{value:"Module"}));function ly(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],s=[];const l={attempt:g(function(e,t){m(e,t.from)}),check:g(h),consume:function(e){Vv(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,v()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:g(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,v()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if("string"==typeof a)o=a;else switch(a){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=t?" ":"\t";break;case-1:if(!t&&i)continue;o=" ";break;default:o=String.fromCharCode(a)}i=-2===a,r.push(o)}return r.join("")}(d(e),t)},sliceStream:d,write:function(e){return o=Rv(o,e),function(){let e;for(;r._index<o.length;){const t=o[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)f(t.charCodeAt(r._bufferIndex));else f(t)}}(),null!==o[o.length-1]?[]:(m(t,0),c.events=nb(a,c.events,c),c.events)}};let u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}(o,e)}function p(){const{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function f(e){u=u(e)}function h(e,t){t.restore()}function g(e,t){return function(n,i,a){let o,u,d,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(h=n,function(e){const t=null!==e&&h[e],n=null!==e&&h.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var h;function g(e){return o=e,u=0,0===e.length?a:m(e[u])}function m(e){return function(n){return f=function(){const e=p(),t=c.previous,n=c.currentConstruct,i=c.events.length,a=Array.from(s);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=a,v()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,b,y)(n)}}function b(t){return e(d,f),i}function y(e){return f.restore(),++u<o.length?m(o[u]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&zv(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function v(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const cy=/[\0\t\n\r]/g,uy=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function dy(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Mv(n.slice(t?2:1),t?16:10)}return Tv(n)||e}const py={}.hasOwnProperty;function fy(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:u,autolinkEmail:u,atxHeading:i(g),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:i(h),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(h,a),codeText:i(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(m),hardBreakTrailing:i(m),htmlFlow:i(v,a),htmlFlowData:u,htmlText:i(v,a),htmlTextData:u,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:i(b),listItem:i(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:i(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:i(y),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(g),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=Mv(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=Tv(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=hy(e.end)},codeFenced:s(function(){const 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(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dv(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:s(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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(){const 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){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(uy,dy)}(t),n.identifier=Dv(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=hy(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),d.call(this,e))},link:s(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dv(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const 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()}};gy(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:t,enter:o,exit:l,buffer:a,resume:c,data:n},u=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?u.push(d):d=r(e,u.pop(),d));for(d=-1;++d<e.length;){const n=t[e[d][0]];py.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},s),e[d][1])}if(s.tokenStack.length>0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||vy).call(s,void 0,e[0])}for(i.position={start:hy(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:hy(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)i=t.transforms[d](i)||i;return i};function r(e,t,n){let r,i,a,o,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(i=void 0;o--;){const t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,a=void 0,o=!0}}}return e[t][1]._spread=c,n}function i(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function a(){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:hy(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+nv({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||vy).call(this,e,r[0])),n.position.end=hy(e.end)}function c(){return _v(this.stack.pop())}function u(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:hy(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=hy(e.end)}function p(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function v(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!vb(e););return e}(function(e){const t={constructs:Ov([sy,...(e||{}).extensions||[]]),content:n(Zv),defined:[],document:n(Jv),flow:n(Yb),lazy:{},string:n(Qb),text:n(Kb)};return t;function n(e){return function(n){return ly(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,a,o){const s=[];let l,c,u,d,p;for(i=n+("string"==typeof i?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(cy.lastIndex=u,l=cy.exec(i),d=l&&void 0!==l.index?l.index:i.length,p=i.charCodeAt(d),!l){n=i.slice(u);break}if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(i.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return o&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function hy(e){return{line:e.line,column:e.column,offset:e.offset}}function gy(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?gy(e,r):my(e,r)}}function my(e,t){let n;for(n in t)if(py.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function vy(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+nv({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nv({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+nv({start:t.start,end:t.end})+") is still open")}function by(e){const t=this;t.parser=function(n){return fy(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function yy(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function ky(e){const t=e.spread;return null==t?e.children.length>1:t}function xy(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(wy(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(wy(t.slice(i),i>0,!1)),a.join("")}function wy(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):""}const Sy={blockquote:function(e,t){const 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){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const 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=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Kv(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const 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){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yy(e,t);const i={src:Kv(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){const n={src:Kv(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yy(e,t);const i={href:Kv(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){const n={href:Kv(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const 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){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=ky(n[r])}return t}(n):ky(t),a={},o=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const 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}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=ev(t.children[1]),o=Jm(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,o=a?a.length:t.children.length;let s=-1;const l=[];for(;++s<o;){const n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:xy(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:_y,yaml:_y,definition:_y,footnoteDefinition:_y};function _y(){}const Cy="object"==typeof self?self:globalThis,Py=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{const e=n([],i);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},i);for(const[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{const e=n(new Map,i);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,i);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n(new Cy[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new Cy[a](o),i)};return r})(new Map,e)(0),Ey="",{toString:Ty}={},{keys:zy}=Object,Ry=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Ty.call(e).slice(8,-1);switch(n){case"Array":return[1,Ey];case"Object":return[2,Ey];case"Date":return[3,Ey];case"RegExp":return[4,Ey];case"Map":return[5,Ey];case"Set":return[6,Ey];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Iy=([e,t])=>0===e&&("function"===t||"symbol"===t),Oy=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=Ry(r);switch(o){case 0:{let t=r;switch(s){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),i([s,[...e]],r)}const e=[],t=i([o,e],r);for(const n of r)e.push(a(n));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());const n=[],l=i([o,n],r);for(const t of zy(r))!e&&Iy(Ry(r[t]))||n.push([a(t),a(r[t])]);return l}case 3:return i([o,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{const t=[],n=i([o,t],r);for(const[i,o]of r)(e||!Iy(Ry(i))&&!Iy(Ry(o)))&&t.push([a(i),a(o)]);return n}case 6:{const t=[],n=i([o,t],r);for(const i of r)!e&&Iy(Ry(i))||t.push(a(i));return n}}const{message:l}=r;return i([o,{name:s,message:l}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},Ay="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Py(Oy(e,t)):structuredClone(e):(e,t)=>Py(Oy(e,t));function Fy(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function My(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Dy=function(e){if(null==e)return Ny;if("function"==typeof e)return jy(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Dy(e[n]);return jy(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):function(e){const t=e;return jy(function(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0})}(e);if("string"==typeof e)return t=e,jy(function(e){return e&&e.type===t});var t;throw new Error("Expected function, string, or object as test")};function jy(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Ny(){return!0}const Ly=[],By=!1;function $y(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;const a=Dy(i),o=r?-1:1;!function e(i,s,l){const c=i&&"object"==typeof i?i:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=Ly;if((!t||a(i,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:null==e?Ly:[e]}(n(i,l)),p[0]===By))return p;if("children"in i&&i.children){const t=i;if(t.children&&"skip"!==p[0])for(u=(r?t.children.length:-1)+o,d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===By)return c;u="number"==typeof c[1]?c[1]:u+o}}return p}}(e,void 0,[])()}function Wy(e,t,n,r){let i,a,o;"function"==typeof t&&"function"!=typeof n?(a=void 0,o=t,i=n):(a=t,o=n,i=r),$y(e,a,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},i)}const Hy={}.hasOwnProperty,Vy={};function Uy(e,t){e.position&&(t.position=function(e){const t=ev(e),n=Jm(e);if(t&&n)return{start:t,end:n}}(e))}function qy(e,t){let n=t;if(e&&e.data){const 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,Ay(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Yy(e,t){const n=t.data||{},r=!("value"in t)||Hy.call(n,"hProperties")||Hy.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Gy(e,t){const n=[];let 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 Qy(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ky(e,t){const n=function(e,t){const n=t||Vy,r=new Map,i=new Map,a=new Map,o={...Sy,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=Qy(i.value)),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=Qy(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:qy,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:function(e,t){const n=e.type,r=s.handlers[n];if(Hy.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Ay(n);return r.children=s.all(e),r}return Ay(e)}return(s.options.unknownHandler||Yy)(s,e,t)},options:n,patch:Uy,wrap:Gy};return Wy(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s}(e,t),r=n.one(e,void 0),i=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Fy,r=e.options.footnoteBackLabel||My,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;const a=e.all(i),o=String(i.identifier).toUpperCase(),c=Kv(o.toLowerCase());let u=0;const d=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else a.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ay(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:"\n"},i),a}function Xy(e,t){return e&&"run"in e?async function(n,r){const i=Ky(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Ky(n,{file:r,...e||t})}}function Zy(e){if(e)throw e}var Jy,ek;function tk(){if(ek)return Jy;ek=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},a=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,i=e.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!a)return!1;for(r in n);return void 0===r||e.call(n,r)},o=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return Jy=function e(){var t,n,r,l,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=s(d,n),d!==(l=s(t,n))&&(h&&l&&(a(l)||(c=i(l)))?(c?(c=!1,u=r&&i(r)?r:[]):u=r&&a(r)?r:{},o(d,{name:n,newValue:e(h,u,l)})):void 0!==l&&o(d,{name:n,newValue:l}));return d},Jy}const nk=a(tk());function rk(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const ik=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');ck(e);let n,r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},ak=function(e){if(ck(e),0===e.length)return".";let t,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)},ok=function(e){ck(e);let t,n=e.length,r=-1,i=0,a=-1,o=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==o&&(o=1):a>-1&&(o=-1);else if(t){i=n+1;break}}return a<0||r<0||0===o||1===o&&a===r-1&&a===i+1?"":e.slice(a,r)},sk=function(...e){let t,n=-1;for(;++n<e.length;)ck(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){ck(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",a=0):(i=i.slice(0,r),a=i.length-1-i.lastIndexOf("/")),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},lk="/";function ck(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const uk=function(){return"/"};function dk(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const pk=["history","path","basename","stem","extname","dirname"];class fk{constructor(e){let t;t=e?dk(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":uk(),this.data={},this.history=[],this.messages=[];let n,r=-1;for(;++r<pk.length;){const e=pk[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)pk.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?ik(this.path):void 0}set basename(e){gk(e,"basename"),hk(e,"basename"),this.path=sk(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?ak(this.path):void 0}set dirname(e){mk(this.basename,"dirname"),this.path=sk(e||"",this.basename)}get extname(){return"string"==typeof this.path?ok(this.path):void 0}set extname(e){if(hk(e,"extname"),mk(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sk(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){dk(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!dk(e)){const t=new 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){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),gk(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?ik(this.path,this.extname):void 0}set stem(e){gk(e,"stem"),hk(e,"stem"),this.path=sk(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new ov(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 hk(e,t){if(e&&e.includes(lk))throw new Error("`"+t+"` cannot be a path: did not expect `"+lk+"`")}function gk(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function mk(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const vk=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},bk={}.hasOwnProperty;class yk extends vk{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(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(a,...o){const s=e[++n];let l=-1;if(a)r(a);else{for(;++l<t.length;)null!==o[l]&&void 0!==o[l]||(o[l]=t[l]);t=o,s?function(e,t){let n;return function(...t){const o=e.length>t.length;let s;o&&t.push(r);try{s=e.apply(this,t)}catch(a){if(o&&n)throw a;return r(a)}o||(s&&s.then&&"function"==typeof s.then?s.then(i,r):s instanceof Error?r(s):i(s))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(s,i)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new yk;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(nk(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Sk("data",this.frozen),this.namespace[e]=t,this):bk.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Sk("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Pk(e),n=this.parser||this.Parser;return xk("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),xk("process",this.parser||this.Parser),wk("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const a=Pk(e),o=n.parse(a);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);const i=t,a=n.stringify(i,r);var o;"string"==typeof(o=a)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(o)?r.value=a:r.result=a,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),xk("processSync",this.parser||this.Parser),wk("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Zy(e),t=r}),Ck("processSync","process",n),t}run(e,t,n){_k(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){const o=Pk(t);r.run(e,o,function(t,r,o){const s=r||e;t?a(t):i?i(s):n(void 0,s,o)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){Zy(e),n=t,r=!0}),Ck("runSync","run",r),n}stringify(e,t){this.freeze();const n=Pk(t),r=this.compiler||this.Compiler;return wk("stringify",r),_k(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Sk("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?o(e):a(e)}return this;function i(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))throw new 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=nk(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)i(e[t])}}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,...a]=t;const o=n[i][1];rk(o)&&rk(r)&&(r=nk(!0,o,r)),n[i]=[e,r,...a]}}}}const kk=(new yk).freeze();function xk(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function wk(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Sk(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function _k(e){if(!rk(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Ck(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Pk(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new fk(e)}const Ek=[],Tk={allowDangerousHtml:!0},zk=/^(https?|ircs?|mailto|xmpp)$/i,Rk=[{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:"className",id:"remove-classname"},{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 Ik(e){const t=function(e){const t=e.rehypePlugins||Ek,n=e.remarkPlugins||Ek,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Tk}:Tk;return kk().use(by).use(n).use(Xy,r).use(t)}(e),n=function(e){const t=e.children||"",n=new fk;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||Ok;for(const c of Rk);return Wy(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return o?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in wv)if(Object.hasOwn(wv,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=wv[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!a&&a.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,i)),o&&i&&"number"==typeof t)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,i,a){const o=Array.isArray(i.children),s=ev(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,r=function(e,t,n,r){const o=Array.isArray(n.children)?a:i;return r?o(t,n,r):o(t,n)}}var i,a;const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Lm:Nm,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=fv(o,e,void 0);return s&&"string"!=typeof s?s:o.create(e,o.Fragment,{children:s||void 0},void 0)}(e,{Fragment:g.Fragment,components:i,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function Ok(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return-1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||zk.test(e.slice(0,t))?e:""}const Ak=""+new URL("dori.ico",import.meta.url).href,Fk=({message:e,type:t="default"})=>{const n="loading"===t,{botData:r}=Wc();return g.jsxs(gn,{position:"relative",width:"full",children:[g.jsx(gn,{opacity:"0",bg:"lightBackground",borderRadius:"20px",padding:"12px",children:g.jsx(lu,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})}),g.jsx(gn,{h:"42px"}),g.jsx(gn,{position:"absolute",left:0,bottom:0,children:g.jsx(cu,{src:r?.agent_image||Ak,alt:"Mori",w:"20px",h:"20px",borderRadius:"50%"})}),g.jsx(gn,{position:"absolute",left:"18px",bottom:"18px",width:"6.4px",height:"6.4px",bg:"lightBackground",borderRadius:"100%"}),g.jsx(gn,{position:"absolute",left:"23px",bottom:"23px",width:"13px",height:"13px",bg:"lightBackground",borderRadius:"100%"}),g.jsx(gn,{position:"absolute",left:"29px",bottom:"29px",bg:"lightBackground",borderRadius:"20px",padding:"12px",children:n?g.jsx(lu,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"mutedText",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e}):g.jsx(lu,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"text",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})})]})},Mk=Kg({displayName:"AiSearchIcon",viewBox:"0 0 16 16",path:g.jsxs(g.Fragment,{children:[g.jsx("path",{d:"M8 2.66683C5.42267 2.66683 3.33333 4.75617 3.33333 7.3335H2C2 4.01979 4.68629 1.3335 8 1.3335C11.3137 1.3335 14 4.01979 14 7.3335C14 8.75016 13.509 10.0522 12.6879 11.0786L14.8047 13.1954L13.8619 14.1382L11.7451 12.0214C10.7187 12.8425 9.41667 13.3335 8 13.3335V12.0002C10.5773 12.0002 12.6667 9.91083 12.6667 7.3335C12.6667 4.75617 10.5773 2.66683 8 2.66683Z",fill:"currentColor"}),g.jsx("path",{d:"M5.85714 6.6665L2 11.2498H4.57143L4.14286 13.9998L8 9.4165H5.42857L5.85714 6.6665Z",fill:"currentColor"})]})}),Dk=Kg({displayName:"ReplyIcon",viewBox:"0 0 15 12",path:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.16536 1.81467C7.16536 0.791333 5.9427 0.263999 5.1987 0.965999L1.30003 4.64C1.15132 4.78022 1.03284 4.94936 0.951856 5.13703C0.870874 5.3247 0.829102 5.52694 0.829102 5.73133C0.829102 5.93573 0.870874 6.13797 0.951856 6.32563C1.03284 6.5133 1.15132 6.68244 1.30003 6.82267L5.19736 10.5C5.94136 11.202 7.1647 10.674 7.1647 9.65133V8.33467C7.93731 8.19507 8.73376 8.28024 9.45939 8.58006C10.185 8.87989 10.8093 9.38175 11.258 10.026L11.7927 10.794C12.5207 11.84 14.162 11.3247 14.162 10.0507V9.738C14.162 5.89267 10.9394 2.87667 7.1647 3.05733L7.16536 1.81467ZM5.8847 1.69333C5.90839 1.67111 5.93807 1.6563 5.97007 1.65072C6.00208 1.64514 6.03501 1.64904 6.06483 1.66193C6.09465 1.67482 6.12005 1.69614 6.13791 1.72328C6.15577 1.75042 6.16531 1.78218 6.16536 1.81467V3.54C6.16536 3.87333 6.45736 4.132 6.78803 4.092C10.1767 3.68 13.1627 6.32467 13.1627 9.73867V10.0507C13.1627 10.3453 12.7827 10.4647 12.614 10.2227L12.0787 9.45467C11.4785 8.5928 10.6268 7.93727 9.63996 7.57763C8.65317 7.21799 7.5794 7.17179 6.56536 7.44533C6.45052 7.47639 6.34911 7.54442 6.27681 7.6389C6.2045 7.73337 6.16534 7.84903 6.16536 7.968V9.65067C6.16531 9.68315 6.15577 9.71492 6.13791 9.74205C6.12005 9.76919 6.09465 9.79051 6.06483 9.8034C6.03501 9.81629 6.00208 9.82019 5.97007 9.81461C5.93807 9.80903 5.90839 9.79422 5.8847 9.772L1.9867 6.09533C1.93716 6.04859 1.8977 5.99223 1.87072 5.92969C1.84375 5.86716 1.82984 5.79977 1.82984 5.73167C1.82984 5.66356 1.84375 5.59618 1.87072 5.53364C1.8977 5.4711 1.93716 5.41474 1.9867 5.368L5.8847 1.69333Z",fill:"currentColor"})}),jk=Kg({displayName:"SuggestionIcon",viewBox:"0 0 16 16",path:g.jsx("path",{d:"M4.56503 3.915C5.11896 2.73832 6.04737 1.77849 7.20497 1.18572C8.36257 0.592947 9.68402 0.400681 10.9625 0.63901C12.2411 0.877339 13.4045 1.53281 14.2708 2.50286C15.137 3.4729 15.6573 4.70277 15.75 6C15.8332 7.19515 15.548 8.38706 14.9329 9.41516C14.3178 10.4433 13.4024 11.2581 12.31 11.75C11.9379 12.672 11.3425 13.4871 10.5774 14.122C9.81221 14.7569 8.90126 15.1917 7.92642 15.3873C6.95158 15.5829 5.94341 15.5332 4.99255 15.2426C4.04169 14.952 3.17794 14.4297 2.47896 13.7226C1.77998 13.0155 1.26768 12.1458 0.988107 11.1916C0.708538 10.2375 0.670468 9.2288 0.877321 8.25629C1.08417 7.28377 1.52946 6.37791 2.17316 5.62013C2.81685 4.86235 3.63877 4.27641 4.56503 3.915ZM9.90503 1.5H9.60503C8.52019 1.56681 7.48862 1.99351 6.67357 2.71256C5.85852 3.43161 5.30656 4.40195 5.10503 5.47L10.675 1.565C10.4205 1.52309 10.163 1.50136 9.90503 1.5ZM11.905 1.93L5.33003 6.555L5.06003 6.745C5.11592 7.4665 5.33108 8.16663 5.69003 8.79499L13.565 3.155C13.1023 2.63199 12.5329 2.21427 11.895 1.93H11.905ZM14.145 3.97L6.25003 9.60999C6.70986 10.1331 7.27572 10.5524 7.91003 10.84L14.75 5.82C14.6759 5.16869 14.47 4.53927 14.145 3.97ZM14.75 7.065L9.10503 11.2C9.4681 11.2629 9.83728 11.283 10.205 11.26C11.33 11.1916 12.3968 10.7368 13.225 9.97234C14.0532 9.20793 14.5919 8.1809 14.75 7.065ZM6.75003 14.5C7.59348 14.4958 8.42238 14.2798 9.16061 13.8718C9.89883 13.4638 10.5227 12.8769 10.975 12.165C10.7406 12.2117 10.5035 12.2434 10.265 12.26H9.90003C8.40699 12.257 6.97069 11.6876 5.88117 10.6668C4.79165 9.64592 4.13007 8.24969 4.03003 6.76C4.00121 6.25734 4.03819 5.75307 4.14003 5.26C3.22219 5.83357 2.51524 6.68948 2.12538 7.69915C1.73553 8.70883 1.68382 9.81774 1.97803 10.8593C2.27224 11.9009 2.89648 12.8189 3.75697 13.4754C4.61746 14.1318 5.66774 14.4914 6.75003 14.5Z",fill:"currentColor"})}),Nk=Kg({displayName:"SquareBlackIcon",viewBox:"0 0 32 32",path:g.jsxs(g.Fragment,{children:[g.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"currentColor"}),g.jsx("path",{d:"M22 10H10V22H22V10Z",fill:"white"})]})}),Lk=Kg({displayName:"ArrowUpBlackIcon",viewBox:"0 0 32 32",path:g.jsxs(g.Fragment,{children:[g.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"currentColor"}),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5858 11.0002C15.3669 10.2191 16.6332 10.2191 17.4143 11.0002L20.3738 13.9597C20.7643 14.3502 20.7643 14.9834 20.3738 15.3739C19.9833 15.7644 19.3501 15.7644 18.9596 15.3739L17 13.4144V21.0002C17 21.5524 16.5523 22.0002 16 22.0002C15.4478 22.0002 15 21.5524 15 21.0002V13.4144L13.0405 15.3739C12.65 15.7644 12.0168 15.7645 11.6263 15.3739C11.2358 14.9834 11.2358 14.3502 11.6263 13.9597L14.5858 11.0002Z",fill:"white"})]})}),Bk=Kg({displayName:"CloseIcon",viewBox:"0 0 24 24",path:g.jsx("path",{d:"M6.26915 5.7309C5.98798 5.44973 5.53209 5.44973 5.25092 5.7309C4.96975 6.01207 4.96975 6.46796 5.25092 6.74913L10.5018 12L5.25092 17.2509C4.96975 17.5321 4.96975 17.9879 5.25092 18.2691C5.53209 18.5503 5.98798 18.5503 6.26915 18.2691L11.52 13.0183L16.7709 18.2691C17.0521 18.5503 17.5079 18.5503 17.7891 18.2691C18.0703 17.9879 18.0703 17.5321 17.7891 17.2509L12.5383 12L17.7891 6.74913C18.0703 6.46796 18.0703 6.01207 17.7891 5.7309C17.5079 5.44973 17.0521 5.44973 16.7709 5.7309L11.52 10.9817L6.26915 5.7309Z",fill:"currentColor"})}),$k=()=>{const{effectiveLanguage:e}=Wc(),t=e||"English",n=jc(t);return{t:e=>n[e],language:t,translations:n}},Wk=(e,t)=>{const n=e.includes("?")?"&":"?";return`${e}${n}utm_source=customer_referral&utm_medium=widget&utm_campaign=powered_by&utm_term=${t}`},Hk={AED:"د.إ",ARS:"$",AUD:"$",BDT:"৳",BHD:"ب.د",BRL:"R$",CAD:"$",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DZD:"دج",EGP:"E£",EUR:"€",GBP:"£",HKD:"$",HUF:"Ft",IDR:"Rp",INR:"₹",IQD:"ع.د",IRT:"تومان",JOD:"د.أ",JPY:"¥",KES:"KSh",KMF:"CF",KRW:"₩",KWD:"د.ك",LBP:"ل.ل",LKR:"Rs",LYD:"ل.د",MAD:"د.م.",MRU:"UM",MXN:"$",MYR:"RM",NGN:"₦",NOK:"kr",NZD:"$",OMR:"ر.ع.",PHP:"₱",PKR:"₨",PLN:"zł",QAR:"ر.ق",RON:"lei",RUB:"₽",SAR:"ر.س",SDG:"ج.س.",SEK:"kr",SGD:"$",SOS:"Sh",SYP:"ل.س",THB:"฿",TND:"د.ت",TRY:"₺",UAH:"₴",USD:"$",VND:"₫",YER:"﷼",ZAR:"R"},Vk=({product:e})=>{const{sendMessage:t,setRepliedProduct:n,botData:r,chatState:i}=Wc(),{t:a}=$k(),{name:o,id:s,url:l}=e,c=(r?.currency||"USD").split(" - ")[0]?.trim().toUpperCase()||"USD",u=Hk[c]||c,d=Boolean(e.is_on_sale&&null!=e.sale_price&&e.sale_price>0&&null!=e.price&&e.sale_price<e.price),p=d&&e.sale_price?e.sale_price:e.price,f=d?e.price:e.originalPrice,h=d&&null!=e.sale_percent_off&&e.sale_percent_off>0?e.sale_percent_off:e.discount,m=d&&null!=e.sale_amount_off&&e.sale_amount_off>0?e.sale_amount_off:void 0,v=!!f&&!!p&&f>p,b=d?e.sale_label:void 0,y=async()=>{if(!l||!r)return;const t=(e=>{const t=e.includes("?")?"&":"?";return`${e}${t}utm_source=dori&utm_medium=dori_pdp_widget&utm_campaign=dori_product_recommendation`})(l);window.open(t,"_blank","noopener,noreferrer"),Fc(e,r,i.threadId)};return g.jsxs(Gc,{align:"stretch",gap:1,w:"full",children:[g.jsx(gn,{bg:"background",borderRadius:"14px",border:"1px solid",borderColor:"borderColor",w:"full",children:g.jsxs(Yc,{gap:3,align:"stretch",w:"full",children:[g.jsx(gn,{flexShrink:0,cursor:"pointer",onClick:y,_hover:{opacity:.9},transition:"opacity 0.2s",children:g.jsx(cu,{src:e.image,alt:e.name,w:"60px",h:"60px",borderStartStartRadius:"14px",borderEndStartRadius:"14px",objectFit:"fill"})}),g.jsxs(Gc,{gap:.5,align:"start",justifyContent:"center",children:[g.jsx(lu,{fontWeight:600,fontSize:"10px",lineHeight:"20px",textAlign:"start",color:"text",maxW:"100%",title:e.name,cursor:"pointer",onClick:y,_hover:{color:"primary"},transition:"color 0.2s",children:e.name}),g.jsxs(Yc,{gap:.75,align:"center",children:[(v||h||m)&&g.jsxs(g.Fragment,{children:[v&&g.jsxs(lu,{fontSize:"xs",color:"gray.400",textDecoration:"line-through",children:[u,f?.toLocaleString()]}),(h||m)&&g.jsx(Yg,{bg:"errorBackground",color:"error",fontSize:"xs",borderRadius:"20px",title:b||void 0,children:h?`${h}٪`:`-${u}${m?.toLocaleString()}`})]}),!!p&&p>0&&g.jsxs(lu,{fontSize:"10px",fontWeight:"700",color:"text",children:[u,p.toLocaleString()]})]})]})]})},e.id),g.jsxs(Yc,{gap:.5,w:"full",children:[g.jsx(ou,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"0px",textAlign:"right",color:"primary",borderColor:"borderColor",borderRadius:"3px",bgColor:"background",borderWidth:"1px",onClick:()=>{n({product:e,suggestions:["Does this product have a discount?","What features make this product special?","Does it come in other colors?"]})},_hover:{bgColor:"borderColor",borderColor:"primary"},"aria-label":"Reply",children:g.jsx(Dk,{w:4,h:4,color:"primary"})}),g.jsxs(au,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"4px",textAlign:"right",color:"primary",borderRadius:"3px",flex:1,fontWeight:400,onClick:()=>{const e=`${a("doYouHaveSimilar")} ${o}`;t({message:e,apiMessage:`${e} (product id: ${s})`})},bgColor:"background",borderColor:"borderColor",_hover:{borderColor:"primary"},children:[g.jsx(jk,{w:4,h:4,color:"primary"}),"Similar Suggestion"]})]})]})},Uk=({products:e})=>g.jsx(Gc,{align:"stretch",gap:1.5,w:"full",children:g.jsx(gn,{px:.75,w:"full",children:g.jsx(Xg,{dir:"ltr",minChildWidth:"240px",gapX:{base:.75,md:1.5},gapY:{base:1.5,md:3},children:e.map(e=>g.jsx(Vk,{product:e},e.id))})})}),qk=({suggestions:e})=>{const{sendMessage:t}=Wc();return g.jsx(Yc,{gap:1.5,wrap:"wrap",children:e.map((e,n)=>g.jsx(au,{bg:n%2==0?"background":"lightBackground",border:"1px solid",borderColor:"borderColor",borderRadius:"20px",px:3,py:1.5,h:"auto",lineHeight:"1.5",onClick:()=>(e=>{t({message:e})})(e),_hover:{bg:"lightBackground",borderColor:"primary"},_active:{bg:"lightBackground"},textAlign:"center",justifyContent:"center",children:g.jsx(lu,{fontSize:"10px",fontWeight:"400",color:"text",textAlign:"center",wordBreak:"break-word",whiteSpace:"normal",children:e})},n))})};function Yk(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}function Gk(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Qk(e){return"function"==typeof e?e:function(){return e}}const Kk="phrasing",Xk=["autolink","link","image","label"];function Zk(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Jk(e){this.config.enter.autolinkProtocol.call(this,e)}function ex(e){this.config.exit.autolinkProtocol.call(this,e)}function tx(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}function nx(e){this.config.exit.autolinkEmail.call(this,e)}function rx(e){this.exit(e)}function ix(e){!function(e,t,n){const r=Dy((n||{}).ignore||[]),i=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([Gk(e[0]),Qk(e[1])])}return t}(t);let a=-1;for(;++a<i.length;)$y(e,"text",o);function o(e,t){let n,o=-1;for(;++o<t.length;){const e=t[o],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=i[a][0],o=i[a][1];let s=0;const l=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,i={index:d.index,input:d.input,stack:[...t,e]};let a=o(...d,i);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ax],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),ox]],{ignore:["link","linkReference"]})}function ax(e,t,n,r,i){let a="";if(!sx(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const o=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Yk(e,"(");let a=Yk(e,")");for(;-1!==r&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function ox(e,t,n,r){return!(!sx(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function sx(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Gv(n)||Yv(n))&&(!t||47!==n)}function lx(){this.buffer()}function cx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ux(){this.buffer()}function dx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function px(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=Dv(this.sliceSerialize(e)).toLowerCase(),n.label=t}function fx(e){this.exit(e)}function hx(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.identifier=Dv(this.sliceSerialize(e)).toLowerCase(),n.label=t}function gx(e){this.exit(e)}function mx(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function vx(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){const a=r.createTracker(i);let o=a.move("[^");const s=r.enter("footnoteDefinition"),l=r.enter("label");return o+=a.move(r.safe(r.associationId(e),{before:o,after:"]"})),l(),o+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?yx:bx))),s(),o},footnoteReference:mx},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function bx(e,t,n){return 0===t?e:yx(e,0,n)}function yx(e,t,n){return(n?"":" ")+e}mx.peek=function(){return"["};const kx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function xx(e){this.enter({type:"delete",children:[]},e)}function wx(e){this.exit(e)}function Sx(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function _x(e){return e.length}function Cx(e){return null==e?"":String(e)}function Px(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Ex(e,t,n){return">"+(n?"":" ")+e}function Tx(e,t){return zx(e,t.inConstruct,!0)&&!zx(e,t.notInConstruct,!1)}function zx(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Rx(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&Tx(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function Ix(e,t,n){return(n?"":" ")+e}function Ox(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ax(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Fx(e,t,n){const r=tb(e),i=tb(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function Mx(e,t,n,r){const i=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),a=n.enter("emphasis"),o=n.createTracker(r),s=o.move(i);let l=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const c=l.charCodeAt(0),u=Fx(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Ax(c)+l.slice(1));const d=l.charCodeAt(l.length-1),p=Fx(r.after.charCodeAt(0),d,i);p.inside&&(l=l.slice(0,-1)+Ax(d));const f=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:u.outside},s+l+f}function Dx(e){return e.value||""}function jx(e,t,n,r){const i=Ox(n),a='"'===i?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),o(),c}function Nx(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,a(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function Lx(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const e=n.unsafe[a],t=n.compilePattern(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Bx(e,t){const n=_v(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function $x(e,t,n,r){const i=Ox(n),a='"'===i?"Quote":"Apostrophe",o=n.createTracker(r);let s,l;if(Bx(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=o.move("<");return r+=o.move(n.containerPhrasing(e,{before:r,after:">",...o.current()})),r+=o.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(l=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),l()),c+=o.move(")"),s(),c}function Wx(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,a(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function Hx(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Vx(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Sx.peek=function(){return"~"},Mx.peek=function(e,t,n){return n.options.emphasis||"*"},Dx.peek=function(){return"<"},jx.peek=function(){return"!"},Nx.peek=function(){return"!"},Lx.peek=function(){return"`"},$x.peek=function(e,t,n){return Bx(e,n)?"<":"["},Wx.peek=function(){return"["};const Ux=Dy(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function qx(e,t,n,r){const i=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),a=n.enter("strong"),o=n.createTracker(r),s=o.move(i+i);let l=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const c=l.charCodeAt(0),u=Fx(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Ax(c)+l.slice(1));const d=l.charCodeAt(l.length-1),p=Fx(r.after.charCodeAt(0),d,i);p.inside&&(l=l.slice(0,-1)+Ax(d));const f=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:u.outside},s+l+f}qx.peek=function(e,t,n){return n.options.strong||"*"};const Yx={blockquote:function(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const o=n.indentLines(n.containerFlow(e,a.current()),Ex);return i(),o},break:Rx,code:function(e,t,n,r){const i=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),a=e.value||"",o="`"===i?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(a,Ix);return e(),t}const s=n.createTracker(r),l=i.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}(a,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),a&&(u+=s.move(a+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){const i=Ox(n),a='"'===i?"Quote":"Apostrophe",o=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),o(),c},emphasis:Mx,hardBreak:Rx,heading:function(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(function(e,t){let n=!1;return Wy(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,By}),Boolean((!e.depth||e.depth<3)&&_v(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...a.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===i?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");a.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...a.current()});return/^[\t ]/.test(c)&&(c=Ax(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),s(),c},html:Dx,image:jx,imageReference:Nx,inlineCode:Lx,link:$x,linkReference:Wx,list:function(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Hx(n);const s=e.ordered?"."===o?")":".":function(e){const t=Hx(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),Vx(n)===o&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(o=s),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),c},listItem:function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let a=n.bulletCurrent||Hx(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let o=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?a:a+" ".repeat(o-a.length))+e});return l(),c},paragraph:function(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o},root:function(e,t,n,r){return(e.children.some(function(e){return Ux(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:qx,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Vx(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function Gx(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Qx(e){this.exit(e),this.data.inTable=void 0}function Kx(e){this.enter({type:"tableRow",children:[]},e)}function Xx(e){this.exit(e)}function Zx(e){this.enter({type:"tableCell",children:[]},e)}function Jx(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ew)),this.stack[this.stack.length-1].value=t,this.exit(e)}function ew(e,t){return"|"===t?t:e}function tw(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Yx.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const a=[],o=t.enter("table");for(;++i<r.length;)a[i]=l(r[i],t,n);return o(),a}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){const i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,n,r){const i=n.enter("tableCell"),o=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||_x,a=[],o=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){const o=Cx(e[u][a]);if(!1!==n.alignDelimiters){const e=i(o);r[a]=e,(void 0===l[a]||e>l[a])&&(l[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)a[d]=Px(r[d]);else{const e=Px(r);for(;++d<c;)a[d]=e}d=-1;const p=[],f=[];for(;++d<c;){const e=a[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length);const o=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=t.length+i+r.length,i>l[d]&&(l[d]=i),f[d]=i),p[d]=o}o.splice(1,0,p),s.splice(1,0,f),u=-1;const h=[];for(;++u<o.length;){const e=o[u],t=s[u];d=-1;const r=[];for(;++d<c;){const i=e[d]||"";let o="",s="";if(!1!==n.alignDelimiters){const e=l[d]-(t[d]||0),n=a[d];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(o=" ".repeat(e/2),s=o):s=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===i||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(i),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const a=[],s=t.enter("tableRow");for(;++i<r.length;)a[i]=o(r[i],0,t,n);return s(),a}}function nw(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function rw(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,a=-1;for(;++a<r.length;){const e=r[a];if("paragraph"===e.type){i=e;break}}i===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function iw(e,t,n,r){const i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let l=Yx.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),l}const aw={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},ow={tokenize:function(e,t,n){let r,i,a;return o;function o(t){return 46===t||95===t?e.check(lw,l,s)(t):null===t||Uv(t)||Gv(t)||45!==t&&Yv(t)?l(t):(a=!0,e.consume(t),o)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),o}function l(e){return i||r||!a?n(e):t(e)}},partial:!0},sw={tokenize:function(e,t){let n=0,r=0;return i;function i(o){return 40===o?(n++,e.consume(o),i):41===o&&r<n?a(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(lw,t,a)(o):null===o||Uv(o)||Gv(o)?t(o):(e.consume(o),i)}function a(t){return 41===t&&r++,e.consume(t),i}},partial:!0},lw={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),a):93===o?(e.consume(o),i):60===o||null===o||Uv(o)||Gv(o)?t(o):n(o)}function i(e){return null===e||40===e||91===e||Uv(e)||Gv(e)?t(e):r(e)}function a(e){return jv(e)?o(e):n(e)}function o(t){return 59===t?(e.consume(t),r):jv(t)?(e.consume(t),o):n(t)}},partial:!0},cw={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Nv(e)?n(e):t(e)}},partial:!0},uw={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!gw.call(r,r.previous)||yw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(aw,e.attempt(ow,e.attempt(sw,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:gw},dw={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let i="",a=!1;return function(t){return 72!==t&&104!==t||!mw.call(r,r.previous)||yw(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),o)};function o(t){if(jv(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),o;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),a?l:(a=!0,s)):n(t)}function l(t){return null===t||Bv(t)||Uv(t)||Gv(t)||Yv(t)?n(t):e.attempt(ow,e.attempt(sw,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:mw},pw={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let i,a;return function(t){return bw(t)&&vw.call(r,r.previous)&&!yw(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(t)):n(t)};function o(t){return bw(t)?(e.consume(t),o):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(cw,c,l)(t):45===t||95===t||Nv(t)?(a=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),i=!0,s}function c(o){return a&&i&&jv(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:vw},fw={};let hw=48;for(;hw<123;)fw[hw]=pw,hw++,58===hw?hw=65:91===hw&&(hw=97);function gw(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Uv(e)}function mw(e){return!jv(e)}function vw(e){return!(47===e||bw(e))}function bw(e){return 43===e||45===e||46===e||95===e||Nv(e)}function yw(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}fw[43]=pw,fw[45]=pw,fw[46]=pw,fw[95]=pw,fw[72]=[pw,dw],fw[104]=[pw,dw],fw[87]=[pw,uw],fw[119]=[pw,uw];const kw={tokenize:function(e,t,n){const r=this;return Xv(e,function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function xw(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!o||!o._balanced)return n(i);const s=Dv(r.sliceSerialize({start:o.end,end:r.now()}));return 94===s.codePointAt(0)&&a.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function ww(e,t){let n=e.length;for(;n--&&("labelImage"!==e[n][1].type||"enter"!==e[n][0]););e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Sw(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(o>999||93===s&&!a||null===s||91===s||Uv(s))return n(s);if(93===s){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString");return i.includes(Dv(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Uv(s)||(a=!0),o++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,l):l(t)}}function _w(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!o||null===t||91===t||Uv(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return a=Dv(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Uv(t)||(o=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(a)||i.push(a),Xv(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Cw(e,t,n){return e.check(ob,t,e.attempt(kw,t,n))}function Pw(e){e.exit("gfmFootnoteDefinition")}function Ew(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const i=this.previous,a=this.events;let o=0;return function(t){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(a){const l=tb(i);if(126===a)return o>1?r(a):(e.consume(a),o++,s);if(o<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=tb(a);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],s=t.parser.constructs.insideSpan.null;s&&zv(o,o.length,0,nb(s,e.slice(r+1,n),t)),zv(o,o.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),zv(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class Tw{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function zw(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}function Rw(e,t,n){const r=this;let i,a=0,o=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,a="tableHead"===i||"tableRow"===i?k:s;return a===k&&r.parser.lazy[r.now().line]?n(e):a(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(i=!0,o+=1),l(e)}(t)}function l(t){return null===t?n(t):Vv(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):qv(t)?Xv(e,l,"whitespace")(t):(o+=1,i&&(i=!1,a+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Uv(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,qv(t)?Xv(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?h(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):y(t)}function f(t){return qv(t)?Xv(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(o+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(o+=1,g(t)):null===t||Vv(t)?b(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return qv(t)?Xv(e,b,"whitespace")(t):b(t)}function b(n){return 124===n?p(n):(null===n||Vv(n))&&i&&a===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function k(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||Vv(n)?(e.exit("tableRow"),t(n)):qv(n)?Xv(e,x,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||Uv(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?S:w)}function S(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function Iw(e,t){let n,r,i,a=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new Tw;for(;++a<e.length;){const f=e[a],h=f[1];"enter"===f[0]?"tableHead"===h.type?(u=!1,0!==d&&(Aw(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(a,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(o=!0,i=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(a,0,[["enter",r,t]])),s="tableDelimiterRow"===h.type?2:r?3:1):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(o?o=!1:(0!==l[1]&&(c[0]=c[1],i=Ow(p,t,l,s,void 0,i)),l=c,c=[l[1],a,0,0])):(o=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=Ow(p,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=a)):"tableHead"===h.type?(u=!0,d=a):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=a,0!==l[1]?(c[0]=c[1],i=Ow(p,t,l,s,a,i)):0!==c[1]&&(i=Ow(p,t,c,s,a,i)),s=0):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=a)}for(0!==d&&Aw(p,t,d,n,r),p.consume(t.events),a=-1;++a<t.events.length;){const e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=zw(t.events,a))}return e}function Ow(e,t,n,r,i,a){const o=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(a.end=Object.assign({},Fw(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const s=Fw(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){const i=Fw(t.events,n[2]),a=Fw(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},Fw(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Aw(e,t,n,r,i){const a=[],o=Fw(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function Fw(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Mw={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return Uv(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return Vv(r)?t(r):qv(r)?e.check({tokenize:Dw},t,n)(r):n(r)}}};function Dw(e,t,n){return Xv(e,function(e){return null===e?n(e):t(e)},"whitespace")}const jw={};function Nw(e){const t=e||jw,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Ov([{text:fw},{document:{91:{name:"gfmFootnoteDefinition",tokenize:_w,continuation:{tokenize:Cw},exit:Pw}},text:{91:{name:"gfmFootnoteCall",tokenize:Sw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:xw,resolveTo:ww}}},Ew(e),{flow:{null:{name:"table",tokenize:Rw,resolveAll:Iw}}},{text:{91:Mw}}])}(t)),i.push([{transforms:[ix],enter:{literalAutolink:Zk,literalAutolinkEmail:Jk,literalAutolinkHttp:Jk,literalAutolinkWww:Jk},exit:{literalAutolink:rx,literalAutolinkEmail:nx,literalAutolinkHttp:ex,literalAutolinkWww:tx}},{enter:{gfmFootnoteCallString:lx,gfmFootnoteCall:cx,gfmFootnoteDefinitionLabelString:ux,gfmFootnoteDefinition:dx},exit:{gfmFootnoteCallString:px,gfmFootnoteCall:fx,gfmFootnoteDefinitionLabelString:hx,gfmFootnoteDefinition:gx}},{canContainEols:["delete"],enter:{strikethrough:xx},exit:{strikethrough:wx}},{enter:{table:Gx,tableData:Zx,tableHeader:Zx,tableRow:Kx},exit:{codeText:Jx,table:Qx,tableData:Xx,tableHeader:Xx,tableRow:Xx}},{exit:{taskListCheckValueChecked:nw,taskListCheckValueUnchecked:nw,paragraph:rw}}]),a.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Kk,notInConstruct:Xk},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Kk,notInConstruct:Xk},{character:":",before:"[ps]",after:"\\/",inConstruct:Kk,notInConstruct:Xk}]},vx(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:kx}],handlers:{delete:Sx}},tw(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iw}}]}}(t))}const Lw=({message:e})=>{const t=Ug("colors","lightBackground"),n=Ug("colors","mutedText"),r=Ug("colors","text");return"loading"===e.type?e.content&&g.jsx(Fk,{message:e.content,type:"loading"}):"user"===e.type?g.jsx(gn,{maxW:"220px",alignSelf:"flex-end",mb:1.5,children:(e.content.length>0||e.repliedProduct)&&g.jsx(Gc,{bg:"lightBackground",borderRadius:"20px",px:3,py:1.5,gap:1.5,alignItems:"start",w:"full",children:g.jsx(Ik,{components:{p:({children:e})=>g.jsx(lu,{wordBreak:"break-word",fontSize:"12px",fontWeight:"500",color:"text",children:e})},children:e.content})})}):"products"===e.type?g.jsx(gn,{maxW:"100%",alignSelf:"flex-start",mb:3,w:"full",children:g.jsx(Uk,{products:e.products||[]})}):"suggestions"===e.type?g.jsx(qk,{suggestions:e.suggestions||[]}):g.jsx(Gc,{align:"stretch",gap:1.5,children:g.jsx(gn,{alignSelf:"flex-start",children:g.jsx(Yc,{align:"start",justifyContent:"flex-start",gap:1.5,children:g.jsx(gn,{w:"full",borderRadius:"20px",py:2,children:g.jsx(Ik,{remarkPlugins:[Nw],components:{p:({children:e})=>g.jsx(lu,{fontSize:"12px",fontWeight:"400",color:"text",textAlign:"left",children:e}),ol:({children:e})=>g.jsx(gn,{as:"ol",p:1.5,textAlign:"left",mb:1.5,listStyleType:"decimal",listStylePosition:"inside",children:e}),ul:({children:e})=>g.jsx(gn,{as:"ul",p:1.5,textAlign:"left",mb:1.5,listStyleType:"disc",listStylePosition:"inside",children:e}),li:({children:e})=>g.jsx(lu,{as:"li",fontSize:"12px",fontWeight:"400",color:"text",textAlign:"left",display:"list-item",children:e}),img:({src:e,alt:t})=>g.jsx(cu,{src:e,alt:t||"",maxW:"100%",borderRadius:"6px",my:1.5}),a:({children:e,href:t})=>g.jsx(du,{href:t,target:"_blank",display:"block",wordBreak:"break-word",overflowWrap:"anywhere",children:g.jsx(lu,{fontSize:"12px",fontWeight:"400",color:"primary",textAlign:"left",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal",children:e})}),table:({children:e})=>g.jsx(gn,{overflowX:"auto",maxW:"100%",css:{"&::-webkit-scrollbar":{height:"5px"},"&::-webkit-scrollbar-track":{background:t,borderRadius:"8px"},"&::-webkit-scrollbar-thumb":{background:n,borderRadius:"8px"},"&::-webkit-scrollbar-thumb:hover":{background:r}},children:g.jsx(mu,{size:"sm",variant:"outline",w:"full",my:1.5,striped:!0,children:e})}),thead:({children:e})=>g.jsx(bu,{children:e}),tbody:({children:e})=>g.jsx(xu,{children:e}),tr:({children:e})=>g.jsx(vu,{children:e}),th:({children:e})=>g.jsx(yu,{fontSize:"12px",fontWeight:"600",color:"text",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,textTransform:"none",letterSpacing:"normal",border:"1px solid",borderColor:"borderColor",whiteSpace:"nowrap",bg:"lightBackground",children:e}),td:({children:e})=>g.jsx(ku,{fontSize:"12px",fontWeight:"400",color:"text",textAlign:"left",px:1.5,lineHeight:"1.5",py:.75,border:"1px solid",borderColor:"borderColor",children:e})},children:e.content})})})})})},Bw=({placeholder:e="",value:t="",onChange:n,onSend:r,isMobileView:i,compact:a=!1})=>{const{chatState:{repliedProduct:o},setRepliedProduct:s}=Wc(),[l,c]=k.useState(t),{t:u}=$k();k.useEffect(()=>{c(f(t))},[t]);const d=e=>{const t=f(e);c(t),n?.(t)},p=e=>{(l.trim()||e)&&(r?.({message:e??l.trim()},o?.product),s?.(null),c(""))},f=e=>e.trimStart();return a&&!o?g.jsxs(gn,{bg:"lightBackground",borderRadius:"full",px:4,w:"full",h:"42px",position:"relative",display:"flex",alignItems:"center",children:[g.jsx("input",{type:"text",value:l,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),p())},placeholder:e,style:{fontSize:"13px",fontWeight:300,border:"none",background:"transparent",outline:"none",flex:1,height:"42px",fontFamily:"Estedad-FD, system-ui, sans-serif",color:"inherit",width:"100%"}}),g.jsx(ou,{size:"xs",borderRadius:"full",bgColor:"primary",color:"background","aria-label":"Send",onClick:()=>p(),_hover:{bg:"darkPrimary"},disabled:!l.trim(),_disabled:{bg:"lightBackground",cursor:"not-allowed"},flexShrink:0,children:g.jsx(Lk,{boxSize:"24px",color:"primary"})})]}):g.jsx(Gc,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:g.jsx(gn,{bg:"lightBackground",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:o?i?"260px":"165px":"75px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:g.jsxs(gn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:[o&&g.jsxs(Gc,{opacity:1,p:"6px",gap:"6px",borderRadius:"10px",borderWidth:"1px",borderColor:"border",bgColor:"background",children:[g.jsxs(Yc,{justify:"space-between",align:"center",w:"full",children:[g.jsx(cu,{src:o?.product?.image,alt:"product",w:"32px",h:"32px"}),g.jsx(lu,{fontSize:"10px",fontWeight:400,color:"text",children:o?.product?.name}),g.jsx(ou,{bg:"transparent","aria-label":u("removeProduct"),onClick:()=>s?.(null),children:g.jsx(Bk,{w:"20px",h:"20px",color:"text"})})]}),o?.suggestions&&o.suggestions.length>0&&g.jsxs(g.Fragment,{children:[g.jsx(gn,{display:{base:"none",md:"block"},w:"full",children:g.jsx(Yc,{w:"full",justify:"flex-start",align:"center",gap:1.5,children:o.suggestions.map(e=>g.jsx(au,{variant:"outline",bg:"transparent",color:"text",fontSize:"10px",borderColor:"borderColor",borderRadius:"20px",fontWeight:400,onClick:()=>p(e),h:"28px",px:2.5,minW:"unset",flex:1,lineHeight:"1.5",overflow:"hidden",children:g.jsx(gn,{as:"span",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",w:"100%",children:e})},e))})}),g.jsx(gn,{display:{base:"block",md:"none"},w:"full",children:g.jsx(Gc,{w:"full",align:"stretch",gap:"6px",children:o.suggestions.map(e=>g.jsx(au,{variant:"outline",bg:"transparent",w:"full",color:"text",fontSize:"10px",borderColor:"borderColor",borderRadius:"20px",fontWeight:400,onClick:()=>p(e),children:e},e))})})]})]}),g.jsx(Jg,{value:l,onChange:e=>d(e.target.value),onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),p())},placeholder:e,fontSize:"14px",color:"text",fontWeight:300,resize:"none",h:"100%",border:"none",bg:"transparent",lineHeight:"1.5",_focus:{boxShadow:"none",border:"none",outline:"none"},_placeholder:{color:"mutedText"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"}),g.jsx(ou,{position:"absolute",bottom:"10px",right:"10px",size:"xs",borderRadius:"full",bgColor:"primary",color:"background",border:"0px solid border","aria-label":"Send",onClick:()=>p(),_hover:{bg:"darkPrimary"},disabled:!l.trim(),transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",_disabled:{bg:"lightBackground",cursor:"not-allowed"},zIndex:2,children:g.jsx(Lk,{boxSize:"30px",color:"primary"})})]})})})},$w=({placeholder:e="",onStop:t})=>{const{stopCurrentRequest:n}=Wc();return g.jsx(Gc,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:g.jsx(gn,{bg:"lightBackground",borderRadius:"28px",position:"relative",p:2.5,w:"full",h:"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:g.jsx(gn,{position:"absolute",top:0,left:0,right:0,bottom:0,p:2.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:g.jsxs(Yc,{justify:"space-between",align:"center",h:"full",children:[g.jsx(lu,{color:"mutedText",fontSize:"14px",flex:1,transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e}),g.jsx(ou,{size:"xs",borderRadius:"full",bgColor:"primary",color:"background","aria-label":"Stop",onClick:()=>{n?.(),t?.()},_hover:{bg:"darkPrimary"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",zIndex:2,children:g.jsx(Nk,{boxSize:"30px",color:"primary"})})]})})})})},Ww=({state:e="starting",placeholder:t="",value:n="",onChange:r,onSend:i,onStop:a,compact:o=!1})=>{const[s,l]=k.useState(!1);return k.useEffect(()=>{const e=()=>{l(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),"starting"===e?g.jsx(Bw,{placeholder:t,value:n,onChange:r,onSend:i,isMobileView:s,compact:o}):g.jsx($w,{placeholder:t,onStop:a,isMobileView:s})};function Hw(e,t){const n={white:"255, 255, 255",black:"0, 0, 0",transparent:"0, 0, 0"};if(n[e.toLowerCase()])return`rgba(${n[e.toLowerCase()]}, ${t})`;let r=e.replace("#","");return 3===r.length&&(r=r.split("").map(e=>e+e).join("")),6!==r.length?e:`rgba(${parseInt(r.substring(0,2),16)}, ${parseInt(r.substring(2,4),16)}, ${parseInt(r.substring(4,6),16)}, ${t})`}function Vw(e,t){if("white"===e.toLowerCase())return e;if("black"===e.toLowerCase()){const e=Math.round(t/100*255);return`rgb(${e}, ${e}, ${e})`}let n=e.replace("#","");if(3===n.length&&(n=n.split("").map(e=>e+e).join("")),6!==n.length)return e;const r=parseInt(n.substring(0,2),16),i=parseInt(n.substring(2,4),16),a=parseInt(n.substring(4,6),16);return`rgb(${Math.min(255,Math.round(r+t/100*(255-r)))}, ${Math.min(255,Math.round(i+t/100*(255-i)))}, ${Math.min(255,Math.round(a+t/100*(255-a)))})`}function Uw(e,t){if("black"===e.toLowerCase())return e;if("white"===e.toLowerCase()){const e=255-Math.round(t/100*255);return`rgb(${e}, ${e}, ${e})`}let n=e.replace("#","");if(3===n.length&&(n=n.split("").map(e=>e+e).join("")),6!==n.length)return e;const r=parseInt(n.substring(0,2),16),i=parseInt(n.substring(2,4),16),a=parseInt(n.substring(4,6),16);return`rgb(${Math.max(0,Math.round(r*(1-t/100)))}, ${Math.max(0,Math.round(i*(1-t/100)))}, ${Math.max(0,Math.round(a*(1-t/100)))})`}function qw(e,t,n=.5){const r=e=>{if("white"===e.toLowerCase())return[255,255,255];if("black"===e.toLowerCase())return[0,0,0];let t=e.replace("#","");return 3===t.length&&(t=t.split("").map(e=>e+e).join("")),6!==t.length?[0,0,0]:[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)]},[i,a,o]=r(e),[s,l,c]=r(t);return`rgb(${Math.round(i*(1-n)+s*n)}, ${Math.round(a*(1-n)+l*n)}, ${Math.round(o*(1-n)+c*n)})`}const Yw={before_you_buy:{English:"Before you buy",Persian:"قبل از خرید",French:"Avant d'acheter",German:"Vor dem Kauf",Spanish:"Antes de comprar",Arabic:"قبل الشراء",Turkish:"Almadan once",Portuguese:"Antes de comprar",Italian:"Prima di comprare",Japanese:"購入前に",Korean:"구매 전",Chinese:"购买前"},good_fit:{English:"Good fit?",Persian:"مناسبه؟",French:"Bon choix ?",German:"Passt es?",Spanish:"Te queda?",Arabic:"مناسب؟",Turkish:"Uygun mu?",Portuguese:"Combina?",Italian:"Va bene?",Japanese:"合う?",Korean:"맞을까?",Chinese:"合适吗?"},key_difference:{English:"Key difference",Persian:"تفاوت کلیدی",French:"Difference cle",German:"Der Unterschied",Spanish:"Diferencia clave",Arabic:"الفرق",Turkish:"Fark ne?",Portuguese:"Diferencial",Italian:"La differenza",Japanese:"違いは?",Korean:"차이점",Chinese:"关键区别"},worth_knowing:{English:"Worth knowing",Persian:"خوبه بدونید",French:"Bon a savoir",German:"Wissenswert",Spanish:"Vale saber",Arabic:"يستحق المعرفة",Turkish:"Bilmeye deger",Portuguese:"Vale saber",Italian:"Da sapere",Japanese:"知る価値あり",Korean:"알아둘만한",Chinese:"值得了解"},quick_answer:{English:"Quick answer",Persian:"پاسخ سریع",French:"Reponse rapide",German:"Schnelle Antwort",Spanish:"Respuesta rapida",Arabic:"إجابة سريعة",Turkish:"Hizli cevap",Portuguese:"Resposta rapida",Italian:"Risposta rapida",Japanese:"すぐ分かる",Korean:"바로 답변",Chinese:"快速解答"}};function Gw(e,t){const n=Yw[e];return n&&(n[t]||n.English)||e}const Qw={before_you_buy:"#ef4444",good_fit:"#3b82f6",key_difference:"#f59e0b",worth_knowing:"#8b5cf6",quick_answer:"#10b981"},Kw=({starters:e,language:t,isRTL:n,onPromptClick:r})=>{const i=e=>{if(e.label)return e.label;const t=e.text.split(" ");return t.length>6?t.slice(0,6).join(" ")+"?":e.text},[a,o]=k.useState(!1),[s,l]=k.useState(!1),c=k.useRef(null),u=k.useRef(null),d=Ug("colors","primary"),p=Hw(Array.isArray(d)?d[0]:d,.12);k.useEffect(()=>(c.current=setTimeout(()=>o(!0),400),u.current=setTimeout(()=>l(!0),7e3),()=>{c.current&&clearTimeout(c.current),u.current&&clearTimeout(u.current)}),[]);const f=e.slice(0,3),h=f[0],m=f.slice(1),v=(e,t)=>{Pc()?.capture("pdp_hero_prompt_clicked",{tag:e.tag,badge:e.badge,prompt_index:t}),r(e.text,e.tag)};if(!h)return null;const b=Qw[h.badge||""]||Qw.worth_knowing;return g.jsxs(gn,{w:"full",children:[g.jsx("style",{children:"\n @keyframes pdpHeroGlow {\n 0% { box-shadow: 0 0 0 0 var(--hero-glow-color, rgba(0,112,243,0)); }\n 50% { box-shadow: 0 0 0 3px var(--hero-glow-color, rgba(0,112,243,0.12)); }\n 100% { box-shadow: 0 0 0 0 var(--hero-glow-color, rgba(0,112,243,0)); }\n }\n"}),g.jsxs(Gc,{gap:2,align:"stretch",w:"full",children:[g.jsx(gn,{as:"button",w:"full",textAlign:"start",px:4,py:3,borderRadius:"16px",border:"1px solid",borderColor:"primary",bg:"veryLightBackground",opacity:a?1:0,transform:a?"translateY(0)":"translateY(6px)",transition:"opacity 0.3s ease 300ms, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 300ms, background 0.15s ease",cursor:"pointer",_hover:{bg:"lightBackground"},_active:{transform:"translateY(0) scale(0.98)"},onClick:()=>v(h,0),fontFamily:"Estedad-FD, system-ui, sans-serif",style:{"--hero-glow-color":p,animation:s?"pdpHeroGlow 1.2s ease-out 1":"none"},children:g.jsxs(Gc,{gap:2,align:"start",w:"full",children:[h.badge&&g.jsx(lu,{as:"span",fontSize:"11px",fontWeight:600,letterSpacing:"0.02em",color:b,bg:Hw(b,.1),px:"10px",py:"3px",borderRadius:"8px",fontFamily:"system-ui, sans-serif",children:Gw(h.badge,t)}),g.jsxs(Yc,{w:"full",justify:"space-between",align:"center",children:[g.jsx(lu,{fontSize:"15px",fontWeight:500,color:"text",lineHeight:"1.45",flex:1,children:i(h)}),g.jsx(lu,{fontSize:"15px",color:"primary",flexShrink:0,ps:2,children:"→"})]})]})}),m.map((e,t)=>g.jsx(gn,{as:"button",w:"full",textAlign:"start",px:3,py:2,borderRadius:"14px",border:"1px solid",borderColor:"borderColor",bg:"background",opacity:a?.75:0,transform:a?"translateY(0)":"translateY(4px)",transition:`opacity 0.25s ease ${450+100*t}ms, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) ${450+100*t}ms, border-color 0.15s ease, background 0.15s ease`,cursor:"pointer",_hover:{borderColor:"primary",bg:"veryLightBackground",opacity:1},_active:{transform:"translateY(0) scale(0.98)"},onClick:()=>v(e,t+1),fontFamily:"Estedad-FD, system-ui, sans-serif",children:g.jsxs(Yc,{gap:2,align:"center",children:[g.jsx(lu,{fontSize:"13px",fontWeight:400,color:"text",lineHeight:"1.45",flex:1,whiteSpace:"normal",wordBreak:"break-word",children:i(e)}),g.jsx(lu,{fontSize:"13px",color:"mutedText",flexShrink:0,children:"→"})]})},`alt-${t}`))]})]})},Xw="dori_pdp_engaged_";function Zw(e){try{sessionStorage.setItem(`${Xw}${e}`,"1")}catch{}}const Jw={"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},eS=()=>{const n=Wc(),{botData:r,productId:i}=n,a=k.useRef(null),[o,s]=k.useState(!0),l=k.useRef(i),c=e(),{t:u}=$k(),d=n.messages.length>0;k.useEffect(()=>{i!==l.current&&(l.current=i,s(!0))},[i]);const p=r?.proactive_starters,f=!d&&o&&!!p?.starters?.length&&!!i&&!function(e){try{return"1"===sessionStorage.getItem(`${Xw}${e}`)}catch{return!1}}(i),h=!d&&!f&&r?.suggested_prompts&&r.suggested_prompts.length>0;return k.useEffect(()=>{d&&a.current&&setTimeout(()=>{a.current?.scrollTo({top:a.current.scrollHeight,behavior:"smooth"})},100)},[n.messages,d]),g.jsxs(Gc,{flex:1,justify:"space-between",align:"stretch",gap:f?2:3,h:"full",minH:"200px",maxH:f?"400px":"300px",overflow:"hidden",children:[f&&p&&g.jsx(gn,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:Jw,children:g.jsx(Kw,{starters:p.starters,language:t(c)||r?.language||"English",isRTL:r?.isRTL||!1,onPromptClick:(e,t)=>{i&&Zw(i),s(!1),n.sendMessage({message:e})}})}),h&&g.jsx(gn,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:Jw,children:g.jsx(Yc,{wrap:"wrap",gap:1.5,children:r.suggested_prompts.slice(0,3).map((e,t)=>g.jsxs(au,{variant:"outline",h:"auto",borderRadius:"20px",border:"1px solid",borderColor:"borderColor",bg:"background",color:"text",fontSize:"12px",fontWeight:400,padding:"6px 10px 6px 10px",_hover:{bg:"lightBackground"},_active:{bg:"lightBackground",transform:"scale(0.98)"},lineHeight:"1.5",onClick:()=>(e=>{n.sendMessage({message:e})})(e),justifyContent:"start",maxW:"100%",children:[g.jsx(Mk,{w:3.5,h:3.5,color:"text"}),g.jsx(gn,{as:"span",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"break-word",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})]},t))})}),d&&g.jsx(gn,{ref:a,flex:1,overflowY:"auto",overflowX:"hidden",css:Jw,children:g.jsx(Gc,{gap:1.5,align:"stretch",pb:1.5,children:n.messages.map(e=>g.jsx(Lw,{message:e},e.id))})}),g.jsx(gn,{flexShrink:0,bg:"transparent",borderRadius:"10px",transition:"all 0.3s ease",children:g.jsx(Ww,{state:n.inputState,placeholder:"generating"===n.inputState?u("processing"):u(f?"askAnything":"whatsYourQuestion"),onSend:n.isInputDisabled?void 0:(...e)=>{f&&i&&(Zw(i),Pc()?.capture("pdp_hero_freeform")),s(!1),n.sendMessage(...e)},onStop:n.stopCurrentRequest,compact:f})})]})},tS=()=>{const{botData:e}=Wc(),{t:t}=$k(),n=e?.white_label?.is_white_labeled??!1;return g.jsxs(Yc,{mt:1,justifyContent:"start",align:"center",alignContent:"center",wrap:"wrap",gapX:4,alignItems:"center",w:"full",children:[!n&&g.jsxs(du,{href:Wk("https://dori.tech/",e?.sharing_id||""),target:"_blank",rel:"noopener noreferrer",children:[g.jsxs(lu,{fontSize:{base:"9px",md:"10px"},color:"mutedText",textAlign:"center",lineHeight:"1.4",textWrap:"nowrap",children:[t("poweredBy")," "]}),g.jsx(cu,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori-16px.webp",alt:"Bot Image",h:{base:"14px",md:"16px"}})]}),g.jsx(gn,{fontSize:{base:"8px",md:"10px"},color:"mutedText",bg:"transparent",border:"none",display:"flex",alignItems:"center",justifyContent:"flex-start",children:g.jsx(gn,{children:t("aiCanMakeMistakes")})})]})},nS=({width:e="100%",height:t="20px",borderRadius:n="8px"})=>{const r="rgba(255, 255, 255, 0.15)";return g.jsx(gn,{width:e,height:t,borderRadius:n,style:{background:`linear-gradient(90deg, ${r} 0px, rgba(255, 255, 255, 0.25) 40px, ${r} 80px)`,backgroundSize:"1000px 100%",animation:"shimmer 2s infinite linear",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",border:"1px solid rgba(255, 255, 255, 0.18)",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)"}})},rS=()=>g.jsxs(gn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1,background:"rgba(255, 255, 255, 0.1)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.2)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.1)"},children:[g.jsx("style",{children:"\n @keyframes shimmer {\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n }\n"}),g.jsxs(Gc,{p:3,h:"full",justify:"space-between",align:"stretch",gap:3,children:[g.jsxs(Yc,{gap:3,p:3,children:[g.jsx(nS,{width:"40px",height:"40px",borderRadius:"full"}),g.jsxs(Gc,{align:"flex-start",gap:2,flex:1,children:[g.jsx(nS,{width:"140px",height:"16px"}),g.jsx(nS,{width:"100px",height:"12px"})]})]}),g.jsxs(Gc,{gap:4,flex:1,align:"stretch",px:3,children:[g.jsx(Yc,{justify:"flex-end",children:g.jsx(nS,{width:"60%",height:"50px",borderRadius:"16px"})}),g.jsxs(Yc,{gap:3,overflowX:"hidden",px:1,children:[g.jsx(gn,{minW:"140px",children:g.jsxs(Gc,{align:"stretch",gap:2,children:[g.jsx(nS,{width:"70px",height:"70px",borderRadius:"12px"}),g.jsx(nS,{width:"100%",height:"12px"})]})}),g.jsx(gn,{minW:"140px",children:g.jsxs(Gc,{align:"stretch",gap:2,children:[g.jsx(nS,{width:"70px",height:"70px",borderRadius:"12px"}),g.jsx(nS,{width:"100%",height:"12px"})]})})]})]}),g.jsx(gn,{p:2,children:g.jsx(nS,{width:"100%",height:"42px",borderRadius:"28px"})})]})]}),iS=()=>{const{botData:e,isLoadingBot:t}=Wc();return t?g.jsx(rS,{}):e?g.jsx(gn,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:g.jsxs(Gc,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[g.jsx(eS,{})," ",g.jsx(gn,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:g.jsx(tS,{})})]})}):null};function aS(){const[e,t]=k.useState(""),[n,r]=k.useState(null),{isLoadingBot:i}=Wc();return function({sharingId:e,productId:t}){const{initializeBot:n,resetBot:r}=Wc(),i=k.useRef(void 0),a=k.useRef(void 0);k.useEffect(()=>{(async()=>{(i.current&&e&&i.current!==e||a.current!==t)&&r?.(),i.current=e,a.current=t,e&&await n(e,t)})()},[e,t,n,r])}({sharingId:e,productId:n}),k.useEffect(()=>{window.chatbotData?t(window.chatbotData.sharingID):Tc("useEffect sharing ID",()=>{const e=()=>{const e=document.querySelector("script#dori-react-widget");return{sharingId:e?.getAttribute("data-sharing-id")||"",productId:e?.getAttribute("data-product-id")||null}},{sharingId:n,productId:i}=e();t(n),r(i);const a=document.querySelector("script#dori-react-widget");if(!a)return;const o=new MutationObserver(n=>{for(const i of n)if("attributes"===i.type&&("data-sharing-id"===i.attributeName||"data-product-id"===i.attributeName)){const{sharingId:n,productId:i}=e();t(n),r(i)}});return o.observe(a,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{o.disconnect()}})()},[]),g.jsx(gn,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",backgroundColor:i?"transparent":"background",style:i?{background:"rgba(255, 255, 255, 0.05)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",transition:"all 0.5s ease"}:{transition:"all 0.5s ease"},children:g.jsx(iS,{})})}function oS(){return g.jsx(aS,{})}var sS={};const lS=o(Bt),cS=o(Ye);var uS,dS={},pS={};function fS(){if(uS)return pS;uS=1;var e=y(),t=N();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),v=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),w=Symbol.iterator,S=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var C=Object.assign,P=Object.prototype.hasOwnProperty,E=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),T={},z={};function R(e){return!!P.call(z,e)||!P.call(T,e)&&(E.test(e)?z[e]=!0:(T[e]=!0,!1))}var I=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),O=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),A=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=A.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var M=/([A-Z])/g,D=/^ms-/,j=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(e){return j.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var B=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},H=$.d;$.d={f:H.f,r:H.r,D:function(e){var t=cn||null;if(t){var n,r,i=t.resumableState,a=t.renderState;if("string"==typeof e&&e)i.dnsResources.hasOwnProperty(e)||(i.dnsResources[e]=null,(r=(i=a.headers)&&0<i.remainingCapacity)&&(n="<"+(""+e).replace(Ve,Ue)+">; rel=dns-prefetch",r=0<=(i.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,i.preconnects&&(i.preconnects+=", "),i.preconnects+=n):(le(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Gn(t)}else H.D(e)},C:function(e,t){var n=cn||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var a,o,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(o=(r=i.headers)&&0<r.remainingCapacity)&&(o="<"+(""+e).replace(Ve,Ue)+">; rel=preconnect","string"==typeof t&&(o+='; crossorigin="'+(""+t).replace(qe,Ye)+'"'),a=o,o=0<=(r.remainingCapacity-=a.length+2)),o?(i.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(le(s=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(s));Gn(n)}}else H.C(e,t)},L:function(e,t,n){var r=cn||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var o=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=o?o+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=V,(i=a.headers)&&0<i.remainingCapacity&&"string"!=typeof o&&"high"===l&&(c=He(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(a.resets.image[u]=V,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(le(i=[],C({rel:"preload",href:o?void 0:e,as:t},n)),"high"===l?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;le(o=[],C({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?V:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),le(o,C({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?V:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((o=i.unknownResources[t]).hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;o[e]=V,(i=a.headers)&&0<i.remainingCapacity&&"font"===t&&(u=He(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.font[e]=V,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u):"font"===(le(i=[],e=C({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(i):a.bulkPreloads.add(i)}Gn(r)}}else H.L(e,t,n)},m:function(e,t){var n=cn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?V:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=V}le(a,C({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(a),Gn(n)}}else H.m(e,t)},X:function(e,t){var n=cn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=C({src:e,async:!0},t),a&&(2===a.length&&We(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),fe(e,t),Gn(n))}}else H.X(e,t)},S:function(e,t,n){var r=cn||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t=t||"default";var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,o||(o={precedence:F(t),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:0,props:C({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&We(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),o.sheets.set(e,t),Gn(r))}}else H.S(e,t,n)},M:function(e,t){var n=cn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=C({src:e,type:"module",async:!0},t),a&&(2===a.length&&We(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),fe(e,t),Gn(n))}}else H.M(e,t)}};var V=[],U=/(<\/|<)(s)(cript)/gi;function q(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function Y(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function G(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function Q(e,t,n){switch(t){case"noscript":return G(2,null,1|e.tagScope);case"select":return G(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return G(4,null,e.tagScope);case"picture":return G(2,null,2|e.tagScope);case"math":return G(5,null,e.tagScope);case"foreignObject":return G(2,null,e.tagScope);case"table":return G(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return G(7,null,e.tagScope);case"colgroup":return G(9,null,e.tagScope);case"tr":return G(8,null,e.tagScope);case"head":if(2>e.insertionMode)return G(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return G(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?G(2,null,e.tagScope):e}var K=new Map;function X(e,t){if("object"!=typeof t)throw Error(n(62));var r,i=!0;for(r in t)if(P.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var o=F(r);a=F((""+a).trim())}else void 0===(o=K.get(r))&&(o=F(r.replace(M,"-$1").toLowerCase().replace(D,"-ms-")),K.set(r,o)),a="number"==typeof a?0===a||I.has(r)?""+a:a+"px":F((""+a).trim());i?(i=!1,e.push(' style="',o,":",a)):e.push(";",o,":",a)}}i||e.push('"')}function Z(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function J(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',F(n),'"')}var ee=F("javascript:throw new Error('React form unexpectedly submitted.')");function te(e,t){this.push('<input type="hidden"'),ne(e),J(this,"name",t),J(this,"value",e),this.push("/>")}function ne(e){if("string"!=typeof e)throw Error(n(480))}function re(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(ne)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function ie(e,t,n,r,i,a,o,s){var l=null;if("function"==typeof r){var c=re(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,a=c.method,o=c.target,l=c.data):(e.push(" ","formAction",'="',ee,'"'),o=a=i=r=s=null,se(t,n))}return null!=s&&ae(e,"name",s),null!=r&&ae(e,"formAction",r),null!=i&&ae(e,"formEncType",i),null!=a&&ae(e,"formMethod",a),null!=o&&ae(e,"formTarget",o),l}function ae(e,t,n){switch(t){case"className":J(e,"class",n);break;case"tabIndex":J(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":J(e,t,n);break;case"style":X(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ",t,'="',F(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Z(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=L(""+n),e.push(" ","xlink:href",'="',F(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',F(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',F(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',F(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',F(n),'"');break;case"xlinkActuate":J(e,"xlink:actuate",n);break;case"xlinkArcrole":J(e,"xlink:arcrole",n);break;case"xlinkRole":J(e,"xlink:role",n);break;case"xlinkShow":J(e,"xlink:show",n);break;case"xlinkTitle":J(e,"xlink:title",n);break;case"xlinkType":J(e,"xlink:type",n);break;case"xmlBase":J(e,"xml:base",n);break;case"xmlLang":J(e,"xml:lang",n);break;case"xmlSpace":J(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&R(t=O.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',F(n),'"')}}}function oe(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(""+t)}}function se(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>"))}function le(e,t){for(var r in e.push(be("link")),t)if(P.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:ae(e,r,i)}}return e.push("/>"),null}var ce=/(<\/|<)(s)(tyle)/gi;function ue(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function de(e,t,r){for(var i in e.push(be(r)),t)if(P.call(t,i)){var a=t[i];if(null!=a)switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:ae(e,i,a)}}return e.push("/>"),null}function pe(e,t){e.push(be("title"));var n,r=null,i=null;for(n in t)if(P.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":i=a;break;default:ae(e,n,a)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(F(""+t)),oe(e,i,r),e.push(ke("title")),null}function fe(e,t){e.push(be("script"));var n,r=null,i=null;for(n in t)if(P.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":i=a;break;default:ae(e,n,a)}}return e.push(">"),oe(e,i,r),"string"==typeof r&&e.push((""+r).replace(U,q)),e.push(ke("script")),null}function he(e,t,n){e.push(be(n));var r,i=n=null;for(r in t)if(P.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:ae(e,r,a)}}return e.push(">"),oe(e,i,n),n}function ge(e,t,n){e.push(be(n));var r,i=n=null;for(r in t)if(P.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:ae(e,r,a)}}return e.push(">"),oe(e,i,n),"string"==typeof n?(e.push(F(n)),null):n}var me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ve=new Map;function be(e){var t=ve.get(e);if(void 0===t){if(!me.test(e))throw Error(n(65,e));t="<"+e,ve.set(e,t)}return t}var ye=new Map;function ke(e){var t=ye.get(e);return void 0===t&&(t="</"+e+">",ye.set(e,t)),t}function xe(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function we(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function Se(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(n(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}function _e(e,t){0!==(t=t.contribution)&&(e.push("\x3c!--"),e.push(""+t),e.push("--\x3e"))}var Ce=/[<\u2028\u2029]/g;function Pe(e){return JSON.stringify(e).replace(Ce,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ee=/[&><\u2028\u2029]/g;function Te(e){return JSON.stringify(e).replace(Ee,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var ze=!1,Re=!0;function Ie(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push('<style media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Re=this.push("</style>"),ze=!0,t.length=0,n.length=0}}function Oe(e){return 2!==e.state&&(ze=!0)}function Ae(e,t,n){return ze=!1,Re=!0,t.styles.forEach(Ie,e),t.stylesheets.forEach(Oe),ze&&(n.stylesToHoist=!0),Re}function Fe(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Me=[];function De(e){le(Me,e.props);for(var t=0;t<Me.length;t++)this.push(Me[t]);Me.length=0,e.state=2}function je(e){var t=0<e.sheets.size;e.sheets.forEach(De,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push('<style data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Ne(e){if(0===e.state){e.state=1;var t=e.props;for(le(Me,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Me.length;e++)this.push(Me[e]);Me.length=0}}function Le(e){e.sheets.forEach(Ne,this),e.sheets.clear()}function Be(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=L(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!R(t))return;t=""+n}e.push(","),r=Te(r),e.push(r),e.push(","),r=Te(t),e.push(r)}function $e(){return{styles:new Set,stylesheets:new Set}}function We(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function He(e,t,n){for(var r in t="<"+(e=(""+e).replace(Ve,Ue))+'>; rel=preload; as="'+(t=(""+t).replace(qe,Ye))+'"',n)P.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(qe,Ye)+'"');return t}var Ve=/[<>\r\n]/g;function Ue(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var qe=/["';,\r\n]/g;function Ye(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Ge(e){this.styles.add(e)}function Qe(e){this.stylesheets.add(e)}function Ke(e,t,n,r){return n.generateStaticMarkup?(e.push(F(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(F(t)),e=!0),e)}function Xe(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var Ze=Function.prototype.bind,Je=Symbol.for("react.client.reference");function et(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Je?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case s:return"Profiler";case o:return"StrictMode";case p:return"Suspense";case f:return"SuspenseList";case v:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case i:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:et(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return et(e(t))}catch(n){}}return null}var tt={},nt=null;function rt(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));rt(e,r)}t.context._currentValue2=t.value}}function it(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&it(e)}function at(e){var t=e.parent;null!==t&&at(t),e.context._currentValue2=e.value}function ot(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?rt(e,t):ot(e,t)}function st(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?rt(e,r):st(e,r),t.context._currentValue2=t.value}function lt(e){var t=nt;t!==e&&(null===t?at(e):null===e?it(t):t.depth===e.depth?rt(t,e):t.depth>e.depth?ot(t,e):st(t,e),nt=e)}var ct={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},ut={id:1,overflow:""};function dt(e,t,n){var r=e.id;e=e.overflow;var i=32-pt(r)-1;r&=~(1<<i),n+=1;var a=32-pt(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-pt(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}var pt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ft(e)/ht|0)|0},ft=Math.log,ht=Math.LN2,gt=Error(n(460));function mt(){}var vt=null;function bt(){if(null===vt)throw Error(n(459));var e=vt;return vt=null,e}var yt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},kt=null,xt=null,wt=null,St=null,_t=null,Ct=null,Pt=!1,Et=!1,Tt=0,zt=0,Rt=-1,It=0,Ot=null,At=null,Ft=0;function Mt(){if(null===kt)throw Error(n(321));return kt}function Dt(){if(0<Ft)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function jt(){return null===Ct?null===_t?(Pt=!1,_t=Ct=Dt()):(Pt=!0,Ct=_t):null===Ct.next?(Pt=!1,Ct=Ct.next=Dt()):(Pt=!0,Ct=Ct.next),Ct}function Nt(){var e=Ot;return Ot=null,e}function Lt(){St=wt=xt=kt=null,Et=!1,_t=null,Ft=0,Ct=At=null}function Bt(e,t){return"function"==typeof t?t(e):t}function $t(e,t,n){if(kt=Mt(),Ct=jt(),Pt){var r=Ct.queue;if(t=r.dispatch,null!==At&&void 0!==(n=At.get(r))){At.delete(r),r=Ct.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ct.memoizedState=r,[r,t]}return[Ct.memoizedState,t]}return e=e===Bt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ct.memoizedState=e,e=(e=Ct.queue={last:null,dispatch:null}).dispatch=Ht.bind(null,kt,e),[Ct.memoizedState,e]}function Wt(e,t){if(kt=Mt(),t=void 0===t?null:t,null!==(Ct=jt())){var n=Ct.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!yt(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ct.memoizedState=[e,t],e}function Ht(e,t,r){if(25<=Ft)throw Error(n(301));if(e===kt)if(Et=!0,e={action:r,next:null},null===At&&(At=new Map),void 0===(r=At.get(t)))At.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function Vt(){throw Error(n(394))}function Ut(){throw Error(n(479))}function qt(e,t,n){Mt();var r=zt++,i=wt;if("function"==typeof e.$$FORM_ACTION){var a=null,o=St;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&l===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([o,null,r]),0))&&(Rt=r,t=i[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([o,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Yt(e){var t=It;return It+=1,null===Ot&&(Ot=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(mt,mt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(mt,mt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw vt=t,gt}}(Ot,e,t)}function Gt(){throw Error(n(393))}function Qt(){}var Kt,Xt,Zt={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Yt(e);if(e.$$typeof===u)return e._currentValue2}throw Error(n(438,String(e)))},useContext:function(e){return Mt(),e._currentValue2},useMemo:Wt,useReducer:$t,useRef:function(e){kt=Mt();var t=(Ct=jt()).memoizedState;return null===t?(e={current:e},Ct.memoizedState=e):t},useState:function(e){return $t(Bt,e)},useInsertionEffect:Qt,useLayoutEffect:Qt,useCallback:function(e,t){return Wt(function(){return e},t)},useImperativeHandle:Qt,useEffect:Qt,useDebugValue:Qt,useDeferredValue:function(e,t){return Mt(),void 0!==t?t:e},useTransition:function(){return Mt(),[!1,Vt]},useId:function(){var e=xt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-pt(e)-1)).toString(32)+t;var r=Jt;if(null===r)throw Error(n(404));return t=Tt++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return Mt(),[e,Ut]},useActionState:qt,useFormState:qt,useHostTransitionStatus:function(){return Mt(),W},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=k;return t},useCacheRefresh:function(){return Gt}},Jt=null,en={getCacheForType:function(){throw Error(n(248))}};function tn(e){if(void 0===Kt)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kt=t&&t[1]||"",Xt=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Kt+e+Xt}var nn=!1;function rn(e,t){if(!e||nn)return"";nn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(o){r=o}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{nn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?tn(n):""}function an(e){if("string"==typeof e)return tn(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?rn(e,!0):rn(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return rn(e.render,!1);case h:return rn(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return tn("Lazy")}return an(e)}if("string"==typeof e.name)return n=e.env,tn(e.name+(n?" ["+n+"]":""))}switch(e){case f:return tn("SuspenseList");case p:return tn("Suspense")}return""}function on(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s] "," "+t+" "),e.unshift(console),(t=Ze.apply(console.error,e))()}return null}function sn(){}function ln(e,t,n,r,i,a,o,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?on:i,this.onPostpone=void 0===c?sn:c,this.onAllReady=void 0===a?sn:a,this.onShellReady=void 0===o?sn:o,this.onShellError=void 0===s?sn:s,this.onFatalError=void 0===l?sn:l,this.formState=void 0===u?null:u}var cn=null;function un(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Nn(e))}function dn(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:$e(),fallbackState:$e(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function pn(e,t,n,r,i,a,o,s,l,c,u,d,p,f,h){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return un(e,g)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:p,componentStack:f,thenableState:t,isFallback:h};return l.add(g),g}function fn(e,t,n,r,i,a,o,s,l,c,u,d,p,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:i,ping:function(){return un(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,componentStack:p,thenableState:t,isFallback:f};return s.add(h),h}function hn(e,t,n,r,i,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function gn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function mn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=an(r.type),r=r.parent}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function vn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function bn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function yn(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,kt={},xt=t,wt=e,St=n,zt=Tt=0,Rt=-1,It=0,Ot=o,e=r(i,a);Et;)Et=!1,zt=Tt=0,Rt=-1,It=0,Ft+=1,Ct=null,e=r(i,a);return Lt(),e}function kn(e,t,n,r,i,a,o){var s=!1;if(0!==a&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<a;c++)c===o?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=dt(n,1,0),zn(e,t,r,-1),t.treeContext=n):s?zn(e,t,r,-1):Sn(e,t,r,-1),t.keyPath=a}function xn(t,r,i,y,k,w){if("function"==typeof y)if(y.prototype&&y.prototype.isReactComponent){var _=k;if("ref"in k)for(var E in _={},k)"ref"!==E&&(_[E]=k[E]);var T=y.defaultProps;if(T)for(var z in _===k&&(_=C({},_,k)),T)void 0===_[z]&&(_[z]=T[z]);k=_,_=tt,"object"==typeof(T=y.contextType)&&null!==T&&(_=T._currentValue2);var I=void 0!==(_=new y(k,_)).state?_.state:null;if(_.updater=ct,_.props=k,_.state=I,T={queue:[],replace:!1},_._reactInternals=T,w=y.contextType,_.context="object"==typeof w&&null!==w?w._currentValue2:tt,"function"==typeof(w=y.getDerivedStateFromProps)&&(I=null==(w=w(k,I))?I:C({},I,w),_.state=I),"function"!=typeof y.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(y=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),y!==_.state&&ct.enqueueReplaceState(_,_.state,null),null!==T.queue&&0<T.queue.length)if(y=T.queue,w=T.replace,T.queue=null,T.replace=!1,w&&1===y.length)_.state=y[0];else{for(T=w?y[0]:_.state,I=!0,w=w?1:0;w<y.length;w++)null!=(z="function"==typeof(z=y[w])?z.call(_,T,k,void 0):z)&&(I?(I=!1,T=C({},T,z)):C(T,z));_.state=T}else T.queue=null;if(y=_.render(),12===t.status)throw null;k=r.keyPath,r.keyPath=i,Sn(t,r,y,-1),r.keyPath=k}else{if(y=yn(t,r,i,y,k,void 0),12===t.status)throw null;kn(t,r,i,y,0!==Tt,zt,Rt)}else{if("string"!=typeof y){switch(y){case b:case o:case s:case a:return y=r.keyPath,r.keyPath=i,Sn(t,r,k.children,-1),void(r.keyPath=y);case v:return void("hidden"!==k.mode&&(y=r.keyPath,r.keyPath=i,Sn(t,r,k.children,-1),r.keyPath=y));case f:return y=r.keyPath,r.keyPath=i,Sn(t,r,k.children,-1),void(r.keyPath=y);case x:case m:throw Error(n(343));case p:e:if(null!==r.replay){y=r.keyPath,r.keyPath=i,i=k.children;try{zn(t,r,i,-1)}finally{r.keyPath=y}}else{y=r.keyPath;var O=r.blockedBoundary;w=r.blockedPreamble;var A=r.hoistableState;z=r.blockedSegment,E=k.fallback,k=k.children;var M=new Set,D=2>r.formatContext.insertionMode?dn(0,M,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):dn(0,M,null,null);null!==t.trackedPostpones&&(D.trackedContentKeyPath=i);var j=hn(0,z.chunks.length,D,r.formatContext,!1,!1);z.children.push(j),z.lastPushedText=!1;var N=hn(0,0,null,r.formatContext,!1,!1);if(N.parentFlushed=!0,null!==t.trackedPostpones){T=[(_=[i[0],"Suspense Fallback",i[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,T),D.trackedFallbackNode=T,r.blockedSegment=j,r.blockedPreamble=D.fallbackPreamble,r.keyPath=_,j.status=6;try{zn(t,r,E,-1),Xe(j.chunks,t.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(B){throw j.status=12===t.status?3:4,B}finally{r.blockedSegment=z,r.blockedPreamble=w,r.keyPath=y}gn(r=pn(t,null,k,-1,D,N,D.contentPreamble,D.contentState,r.abortSet,i,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=D,r.blockedPreamble=D.contentPreamble,r.hoistableState=D.contentState,r.blockedSegment=N,r.keyPath=i,N.status=6;try{if(zn(t,r,k,-1),Xe(N.chunks,t.renderState,N.lastPushedText,N.textEmbedded),N.status=1,Dn(D,N),0===D.pendingTasks&&0===D.status){D.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&$n(t);break e}}catch($){D.status=4,12===t.status?(N.status=3,_=t.fatalError):(N.status=4,_=$),I=vn(t,_,T=mn(r.componentStack)),D.errorDigest=I,Pn(t,D)}finally{r.blockedBoundary=O,r.blockedPreamble=w,r.hoistableState=A,r.blockedSegment=z,r.keyPath=y}gn(r=pn(t,null,E,-1,O,j,D.fallbackPreamble,D.fallbackState,M,[i[0],"Suspense Fallback",i[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof y&&null!==y)switch(y.$$typeof){case d:if("ref"in k)for(D in _={},k)"ref"!==D&&(_[D]=k[D]);else _=k;return void kn(t,r,i,y=yn(t,r,i,y.render,_,w),0!==Tt,zt,Rt);case h:return void xn(t,r,i,y.type,k,w);case l:case u:if(T=k.children,_=r.keyPath,k=k.value,I=y._currentValue2,y._currentValue2=k,nt=y={parent:w=nt,depth:null===w?0:w.depth+1,context:y,parentValue:I,value:k},r.context=y,r.keyPath=i,Sn(t,r,T,-1),null===(t=nt))throw Error(n(403));return t.context._currentValue2=t.parentValue,t=nt=t.parent,r.context=t,void(r.keyPath=_);case c:return y=(k=k.children)(y._context._currentValue2),k=r.keyPath,r.keyPath=i,Sn(t,r,y,-1),void(r.keyPath=k);case g:if(y=(_=y._init)(y._payload),12===t.status)throw null;return void xn(t,r,i,y,k,w)}throw Error(n(130,null==y?y:typeof y,""))}if(null===(_=r.blockedSegment))_=k.children,T=r.formatContext,I=r.keyPath,r.formatContext=Q(T,y,k),r.keyPath=i,zn(t,r,_,-1),r.formatContext=T,r.keyPath=I;else{w=function(t,r,i,a,o,s,l,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":t.push(be("a"));var p,f=null,h=null;for(p in i)if(P.call(i,p)){var g=i[p];if(null!=g)switch(p){case"children":f=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?J(t,"href",""):ae(t,p,g);break;default:ae(t,p,g)}}if(t.push(">"),oe(t,h,f),"string"==typeof f){t.push(F(f));var m=null}else m=f;return m;case"select":t.push(be("select"));var v,b=null,y=null;for(v in i)if(P.call(i,v)){var k=i[v];if(null!=k)switch(v){case"children":b=k;break;case"dangerouslySetInnerHTML":y=k;break;case"defaultValue":case"value":break;default:ae(t,v,k)}}return t.push(">"),oe(t,y,b),b;case"option":var x=c.selectedValue;t.push(be("option"));var w,_=null,E=null,T=null,z=null;for(w in i)if(P.call(i,w)){var I=i[w];if(null!=I)switch(w){case"children":_=I;break;case"selected":T=I;break;case"dangerouslySetInnerHTML":z=I;break;case"value":E=I;default:ae(t,w,I)}}if(null!=x){var O=null!==E?""+E:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(S(x)){for(var A=0;A<x.length;A++)if(""+x[A]===O){t.push(' selected=""');break}}else""+x===O&&t.push(' selected=""')}else T&&t.push(' selected=""');return t.push(">"),oe(t,z,_),_;case"textarea":t.push(be("textarea"));var M,D=null,j=null,N=null;for(M in i)if(P.call(i,M)){var B=i[M];if(null!=B)switch(M){case"children":N=B;break;case"value":D=B;break;case"defaultValue":j=B;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:ae(t,M,B)}}if(null===D&&null!==j&&(D=j),t.push(">"),null!=N){if(null!=D)throw Error(n(92));if(S(N)){if(1<N.length)throw Error(n(93));D=""+N[0]}D=""+N}return"string"==typeof D&&"\n"===D[0]&&t.push("\n"),null!==D&&t.push(F(""+D)),null;case"input":t.push(be("input"));var $,W=null,H=null,U=null,q=null,Y=null,G=null,Q=null,K=null,ne=null;for($ in i)if(P.call(i,$)){var me=i[$];if(null!=me)switch($){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":W=me;break;case"formAction":H=me;break;case"formEncType":U=me;break;case"formMethod":q=me;break;case"formTarget":Y=me;break;case"defaultChecked":ne=me;break;case"defaultValue":Q=me;break;case"checked":K=me;break;case"value":G=me;break;default:ae(t,$,me)}}var ve=ie(t,a,o,H,U,q,Y,W);return null!==K?Z(t,"checked",K):null!==ne&&Z(t,"checked",ne),null!==G?ae(t,"value",G):null!==Q&&ae(t,"value",Q),t.push("/>"),null!=ve&&ve.forEach(te,t),null;case"button":t.push(be("button"));var ye,xe=null,we=null,Se=null,_e=null,Ce=null,Pe=null,Ee=null;for(ye in i)if(P.call(i,ye)){var Te=i[ye];if(null!=Te)switch(ye){case"children":xe=Te;break;case"dangerouslySetInnerHTML":we=Te;break;case"name":Se=Te;break;case"formAction":_e=Te;break;case"formEncType":Ce=Te;break;case"formMethod":Pe=Te;break;case"formTarget":Ee=Te;break;default:ae(t,ye,Te)}}var ze=ie(t,a,o,_e,Ce,Pe,Ee,Se);if(t.push(">"),null!=ze&&ze.forEach(te,t),oe(t,we,xe),"string"==typeof xe){t.push(F(xe));var Re=null}else Re=xe;return Re;case"form":t.push(be("form"));var Ie,Oe=null,Ae=null,Fe=null,Me=null,De=null,je=null;for(Ie in i)if(P.call(i,Ie)){var Ne=i[Ie];if(null!=Ne)switch(Ie){case"children":Oe=Ne;break;case"dangerouslySetInnerHTML":Ae=Ne;break;case"action":Fe=Ne;break;case"encType":Me=Ne;break;case"method":De=Ne;break;case"target":je=Ne;break;default:ae(t,Ie,Ne)}}var Le=null,Be=null;if("function"==typeof Fe){var $e=re(a,Fe);null!==$e?(Fe=$e.action||"",Me=$e.encType,De=$e.method,je=$e.target,Le=$e.data,Be=$e.name):(t.push(" ","action",'="',ee,'"'),je=De=Me=Fe=null,se(a,o))}if(null!=Fe&&ae(t,"action",Fe),null!=Me&&ae(t,"encType",Me),null!=De&&ae(t,"method",De),null!=je&&ae(t,"target",je),t.push(">"),null!==Be&&(t.push('<input type="hidden"'),J(t,"name",Be),t.push("/>"),null!=Le&&Le.forEach(te,t)),oe(t,Ae,Oe),"string"==typeof Oe){t.push(F(Oe));var Ve=null}else Ve=Oe;return Ve;case"menuitem":for(var Ue in t.push(be("menuitem")),i)if(P.call(i,Ue)){var qe=i[Ue];if(null!=qe)switch(Ue){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:ae(t,Ue,qe)}}return t.push(">"),null;case"object":t.push(be("object"));var Ye,Ge=null,Qe=null;for(Ye in i)if(P.call(i,Ye)){var Ke=i[Ye];if(null!=Ke)switch(Ye){case"children":Ge=Ke;break;case"dangerouslySetInnerHTML":Qe=Ke;break;case"data":var Xe=L(""+Ke);if(""===Xe)break;t.push(" ","data",'="',F(Xe),'"');break;default:ae(t,Ye,Ke)}}if(t.push(">"),oe(t,Qe,Ge),"string"==typeof Ge){t.push(F(Ge));var Ze=null}else Ze=Ge;return Ze;case"title":if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var Je=pe(t,i);else d?Je=null:(pe(o.hoistableChunks,i),Je=void 0);return Je;case"link":var et=i.rel,tt=i.href,nt=i.precedence;if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp||"string"!=typeof et||"string"!=typeof tt||""===tt){le(t,i);var rt=null}else if("stylesheet"===i.rel)if("string"!=typeof nt||null!=i.disabled||i.onLoad||i.onError)rt=le(t,i);else{var it=o.styles.get(nt),at=a.styleResources.hasOwnProperty(tt)?a.styleResources[tt]:void 0;if(null!==at){a.styleResources[tt]=null,it||(it={precedence:F(nt),rules:[],hrefs:[],sheets:new Map},o.styles.set(nt,it));var ot={state:0,props:C({},i,{"data-precedence":i.precedence,precedence:null})};if(at){2===at.length&&We(ot.props,at);var st=o.preloads.stylesheets.get(tt);st&&0<st.length?st.length=0:ot.state=1}it.sheets.set(tt,ot),l&&l.stylesheets.add(ot)}else if(it){var lt=it.sheets.get(tt);lt&&l&&l.stylesheets.add(lt)}u&&t.push("\x3c!-- --\x3e"),rt=null}else i.onLoad||i.onError?rt=le(t,i):(u&&t.push("\x3c!-- --\x3e"),rt=d?null:le(o.hoistableChunks,i));return rt;case"script":var ct=i.async;if("string"!=typeof i.src||!i.src||!ct||"function"==typeof ct||"symbol"==typeof ct||i.onLoad||i.onError||4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var ut=fe(t,i);else{var dt=i.src;if("module"===i.type)var pt=a.moduleScriptResources,ft=o.preloads.moduleScripts;else pt=a.scriptResources,ft=o.preloads.scripts;var ht=pt.hasOwnProperty(dt)?pt[dt]:void 0;if(null!==ht){pt[dt]=null;var gt=i;if(ht){2===ht.length&&We(gt=C({},i),ht);var mt=ft.get(dt);mt&&(mt.length=0)}var vt=[];o.scripts.add(vt),fe(vt,gt)}u&&t.push("\x3c!-- --\x3e"),ut=null}return ut;case"style":var bt=i.precedence,yt=i.href;if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp||"string"!=typeof bt||"string"!=typeof yt||""===yt){t.push(be("style"));var kt,xt=null,wt=null;for(kt in i)if(P.call(i,kt)){var St=i[kt];if(null!=St)switch(kt){case"children":xt=St;break;case"dangerouslySetInnerHTML":wt=St;break;default:ae(t,kt,St)}}t.push(">");var _t=Array.isArray(xt)?2>xt.length?xt[0]:null:xt;"function"!=typeof _t&&"symbol"!=typeof _t&&null!=_t&&t.push((""+_t).replace(ce,ue)),oe(t,wt,xt),t.push(ke("style"));var Ct=null}else{var Pt=o.styles.get(bt);if(null!==(a.styleResources.hasOwnProperty(yt)?a.styleResources[yt]:void 0)){a.styleResources[yt]=null,Pt?Pt.hrefs.push(F(yt)):(Pt={precedence:F(bt),rules:[],hrefs:[F(yt)],sheets:new Map},o.styles.set(bt,Pt));var Et,Tt=Pt.rules,zt=null,Rt=null;for(Et in i)if(P.call(i,Et)){var It=i[Et];if(null!=It)switch(Et){case"children":zt=It;break;case"dangerouslySetInnerHTML":Rt=It}}var Ot=Array.isArray(zt)?2>zt.length?zt[0]:null:zt;"function"!=typeof Ot&&"symbol"!=typeof Ot&&null!=Ot&&Tt.push((""+Ot).replace(ce,ue)),oe(Tt,Rt,zt)}Pt&&l&&l.styles.add(Pt),u&&t.push("\x3c!-- --\x3e"),Ct=void 0}return Ct;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var At=de(t,i,"meta");else u&&t.push("\x3c!-- --\x3e"),At=d?null:"string"==typeof i.charSet?de(o.charsetChunks,i,"meta"):"viewport"===i.name?de(o.viewportChunks,i,"meta"):de(o.hoistableChunks,i,"meta");return At;case"listing":case"pre":t.push(be(r));var Ft,Mt=null,Dt=null;for(Ft in i)if(P.call(i,Ft)){var jt=i[Ft];if(null!=jt)switch(Ft){case"children":Mt=jt;break;case"dangerouslySetInnerHTML":Dt=jt;break;default:ae(t,Ft,jt)}}if(t.push(">"),null!=Dt){if(null!=Mt)throw Error(n(60));if("object"!=typeof Dt||!("__html"in Dt))throw Error(n(61));var Nt=Dt.__html;null!=Nt&&("string"==typeof Nt&&0<Nt.length&&"\n"===Nt[0]?t.push("\n",Nt):t.push(""+Nt))}return"string"==typeof Mt&&"\n"===Mt[0]&&t.push("\n"),Mt;case"img":var Lt=i.src,Bt=i.srcSet;if(!("lazy"===i.loading||!Lt&&!Bt||"string"!=typeof Lt&&null!=Lt||"string"!=typeof Bt&&null!=Bt)&&"low"!==i.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Lt||":"!==Lt[4]||"d"!==Lt[0]&&"D"!==Lt[0]||"a"!==Lt[1]&&"A"!==Lt[1]||"t"!==Lt[2]&&"T"!==Lt[2]||"a"!==Lt[3]&&"A"!==Lt[3])&&("string"!=typeof Bt||":"!==Bt[4]||"d"!==Bt[0]&&"D"!==Bt[0]||"a"!==Bt[1]&&"A"!==Bt[1]||"t"!==Bt[2]&&"T"!==Bt[2]||"a"!==Bt[3]&&"A"!==Bt[3])){var $t="string"==typeof i.sizes?i.sizes:void 0,Wt=Bt?Bt+"\n"+($t||""):Lt,Ht=o.preloads.images,Vt=Ht.get(Wt);if(Vt)("high"===i.fetchPriority||10>o.highImagePreloads.size)&&(Ht.delete(Wt),o.highImagePreloads.add(Vt));else if(!a.imageResources.hasOwnProperty(Wt)){a.imageResources[Wt]=V;var Ut,qt=i.crossOrigin,Yt="string"==typeof qt?"use-credentials"===qt?qt:"":void 0,Gt=o.headers;Gt&&0<Gt.remainingCapacity&&"string"!=typeof i.srcSet&&("high"===i.fetchPriority||500>Gt.highImagePreloads.length)&&(Ut=He(Lt,"image",{imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:Yt,integrity:i.integrity,nonce:i.nonce,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.refererPolicy}),0<=(Gt.remainingCapacity-=Ut.length+2))?(o.resets.image[Wt]=V,Gt.highImagePreloads&&(Gt.highImagePreloads+=", "),Gt.highImagePreloads+=Ut):(le(Vt=[],{rel:"preload",as:"image",href:Bt?void 0:Lt,imageSrcSet:Bt,imageSizes:$t,crossOrigin:Yt,integrity:i.integrity,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.referrerPolicy}),"high"===i.fetchPriority||10>o.highImagePreloads.size?o.highImagePreloads.add(Vt):(o.bulkPreloads.add(Vt),Ht.set(Wt,Vt)))}}return de(t,i,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return de(t,i,r);case"head":if(2>c.insertionMode){var Qt=s||o.preamble;if(Qt.headChunks)throw Error(n(545,"`<head>`"));Qt.headChunks=[];var Kt=he(Qt.headChunks,i,"head")}else Kt=ge(t,i,"head");return Kt;case"body":if(2>c.insertionMode){var Xt=s||o.preamble;if(Xt.bodyChunks)throw Error(n(545,"`<body>`"));Xt.bodyChunks=[];var Zt=he(Xt.bodyChunks,i,"body")}else Zt=ge(t,i,"body");return Zt;case"html":if(0===c.insertionMode){var Jt=s||o.preamble;if(Jt.htmlChunks)throw Error(n(545,"`<html>`"));Jt.htmlChunks=[""];var en=he(Jt.htmlChunks,i,"html")}else en=ge(t,i,"html");return en;default:if(-1!==r.indexOf("-")){t.push(be(r));var tn,nn=null,rn=null;for(tn in i)if(P.call(i,tn)){var an=i[tn];if(null!=an){var on=tn;switch(tn){case"children":nn=an;break;case"dangerouslySetInnerHTML":rn=an;break;case"style":X(t,an);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":on="class";default:if(R(tn)&&"function"!=typeof an&&"symbol"!=typeof an&&!1!==an){if(!0===an)an="";else if("object"==typeof an)continue;t.push(" ",on,'="',F(an),'"')}}}}return t.push(">"),oe(t,rn,nn),nn}}return ge(t,i,r)}(_.chunks,y,k,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,T=r.formatContext,I=r.keyPath,r.keyPath=i,3===(r.formatContext=Q(T,y,k)).insertionMode?(i=hn(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(i),gn(i=pn(t,null,w,-1,r.blockedBoundary,i,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(i)):zn(t,r,w,-1),r.formatContext=T,r.keyPath=I;e:{switch(r=_.chunks,t=t.resumableState,y){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=T.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===T.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=T.insertionMode)break e}r.push(ke(y))}_.lastPushedText=!1}}}function wn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=hn(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,zn(e,t,r,i),s.status=1,null===o?e.completedRootSegment=s:(Dn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Sn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?wn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,gn(t),_n(e,t),t.componentStack=n)}function _n(e,t){var a=t.node,o=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var s=a.type,l=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,f=et(s),h=null==l?-1===o?0:o:l;if(l=[t.keyPath,f,h],null!==t.replay)e:{var m=t.replay;for(o=m.nodes,a=0;a<o.length;a++){var v=o[a];if(h===v[1]){if(4===v.length){if(null!==f&&f!==v[0])throw Error(n(490,v[0],f));var b=v[2];f=v[3],h=t.node,t.replay={nodes:b,slots:f,pendingTasks:1};try{if(xn(e,t,l,s,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(T){if("object"==typeof T&&null!==T&&(T===gt||"function"==typeof T.then))throw t.node===h&&(t.replay=m),T;t.replay.pendingTasks--,c=mn(t.componentStack),In(e,l=t.blockedBoundary,b,f,s=T,c=vn(e,s,c))}t.replay=m}else{if(s!==p)throw Error(n(490,"Suspense",et(s)||"Unknown"));t:{m=void 0,s=v[5],d=v[2],f=v[3],h=null===v[4]?[]:v[4][2],v=null===v[4]?null:v[4][3];var y=t.keyPath,k=t.replay,x=t.blockedBoundary,_=t.hoistableState,C=c.children,P=c.fallback,E=new Set;(c=2>t.formatContext.insertionMode?dn(0,E,Y(),Y()):dn(0,E,null,null)).parentFlushed=!0,c.rootSegmentID=s,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=l,t.replay={nodes:d,slots:f,pendingTasks:1};try{if(zn(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(z){c.status=4,m=vn(e,z,b=mn(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=x,t.hoistableState=_,t.replay=k,t.keyPath=y}gn(t=fn(e,null,{nodes:h,slots:v,pendingTasks:0},P,-1,x,c.fallbackState,E,[l[0],"Suspense Fallback",l[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}o.splice(a,1);break e}}}else xn(e,t,l,s,c,d);return;case i:throw Error(n(257));case g:if(a=(b=a._init)(a._payload),12===e.status)throw null;return void Sn(e,t,a,o)}if(S(a))return void Cn(e,t,a,o);if((b=null===a||"object"!=typeof a?null:"function"==typeof(b=w&&a[w]||a["@@iterator"])?b:null)&&(b=b.call(a))){if(!(a=b.next()).done){c=[];do{c.push(a.value),a=b.next()}while(!a.done);Cn(e,t,c,o)}return}if("function"==typeof a.then)return t.thenableState=null,Sn(e,t,Yt(a),o);if(a.$$typeof===u)return Sn(e,t,a._currentValue2,o);throw o=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===o?"object with keys {"+Object.keys(a).join(", ")+"}":o))}"string"==typeof a?null!==(o=t.blockedSegment)&&(o.lastPushedText=Ke(o.chunks,a,e.renderState,o.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(o=t.blockedSegment)&&(o.lastPushedText=Ke(o.chunks,""+a,e.renderState,o.lastPushedText))}}function Cn(e,t,r,i){var a=t.keyPath;if(-1===i||(t.keyPath=[t.keyPath,"Fragment",i],null===t.replay)){if(o=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(i=0;i<s;i++)c=r[i],t.treeContext=dt(o,s,i),"number"==typeof(u=l[i])?(wn(e,t,u,c,i),delete l[i]):zn(e,t,c,i);return t.treeContext=o,void(t.keyPath=a)}for(l=0;l<s;l++)i=r[l],t.treeContext=dt(o,s,l),zn(e,t,i,l);t.treeContext=o,t.keyPath=a}else{for(var o=t.replay,s=o.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===i){i=c[2],c=c[3],t.replay={nodes:i,slots:c,pendingTasks:1};try{if(Cn(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===gt||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=mn(t.componentStack);var u=t.blockedBoundary;In(e,u,i,c,d,r=vn(e,d,r))}t.replay=o,s.splice(l,1);break}}t.keyPath=a}}function Pn(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function En(e,t,n){return fn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Tn(e,t,n){var r=t.blockedSegment,i=hn(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,pn(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function zn(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c)try{return Sn(e,t,n,r)}catch(p){if(Lt(),"object"==typeof(n=p===gt?bt():p)&&null!==n){if("function"==typeof n.then)return e=En(e,t,r=Nt()).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void lt(a);if("Maximum call stack size exceeded"===n.message)return n=En(e,t,n=Nt()),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void lt(a)}}else{var u=c.children.length,d=c.chunks.length;try{return Sn(e,t,n,r)}catch(f){if(Lt(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=f===gt?bt():f)&&null!==n){if("function"==typeof n.then)return e=Tn(e,t,r=Nt()).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void lt(a);if("Maximum call stack size exceeded"===n.message)return n=Tn(e,t,n=Nt()),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void lt(a)}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,lt(a),n}function Rn(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,jn(this,t,e))}function In(e,t,r,i,a,o){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)In(e,t,l[2],l[3],a,o);else{l=l[5];var c=e,u=o,d=dn(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==i){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof i)for(var p in i)delete i[p]}}function On(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}if(i=mn(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return vn(t,n,i),void bn(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=vn(t,n,i),In(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&Fn(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=vn(t,n,i),r.status=4,r.errorDigest=e,Pn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return On(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&Mn(t)}function An(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=", "),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=", "),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();e:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,p=d.href,f=u.props,h=He(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=h.length+2)))break e;n.resets.style[p]=V,a&&(a+=", "),a+=h,n.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:V}}r(a?{Link:a}:{})}}}catch(g){vn(e,g,{})}}function Fn(e){null===e.trackedPostpones&&An(e,!0),null===e.trackedPostpones&&$n(e),e.onShellError=sn,(e=e.onShellReady)()}function Mn(e){An(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),$n(e),(e=e.onAllReady)()}function Dn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Dn(e,n)}else e.completedSegments.push(t)}function jn(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&Fn(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Dn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Rn,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&$n(e))):null!==r&&r.parentFlushed&&1===r.status&&(Dn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&Mn(e)}function Nn(e){if(14!==e.status&&13!==e.status){var t=nt,r=B.H;B.H=Zt;var i=B.A;B.A=en;var a=cn;cn=e;var o=Jt;Jt=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var p=u;if(0!==c.replay.pendingTasks){lt(c.context);try{if("number"==typeof c.replay.slots?wn(p,c,c.replay.slots,c.node,c.childIndex):_n(p,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),jn(p,c.blockedBoundary,null)}catch(C){Lt();var f=C===gt?bt():C;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var h=c.ping;f.then(h,h),c.thenableState=Nt()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=mn(c.componentStack);u=void 0;var m=p,v=c.blockedBoundary,b=12===p.status?p.fatalError:f;In(m,v,c.replay.nodes,c.replay.slots,b,u=vn(m,b,g)),p.pendingRootTasks--,0===p.pendingRootTasks&&Fn(p),p.allPendingTasks--,0===p.allPendingTasks&&Mn(p)}}}}else if(p=void 0,0===(m=d).status){m.status=6,lt(c.context);var y=m.children.length,k=m.chunks.length;try{_n(u,c),Xe(m.chunks,u.renderState,m.lastPushedText,m.textEmbedded),c.abortSet.delete(c),m.status=1,jn(u,c.blockedBoundary,m)}catch(C){Lt(),m.children.length=y,m.chunks.length=k;var x=C===gt?bt():12===u.status?u.fatalError:C;if("object"==typeof x&&null!==x&&"function"==typeof x.then){m.status=0,c.thenableState=Nt();var w=c.ping;x.then(w,w)}else{var S=mn(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;p=vn(u,x,S),null===_?bn(u,x):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=p,Pn(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&$n(u))),u.allPendingTasks--,0===u.allPendingTasks&&Mn(u)}}}}l.splice(0,s),null!==e.destination&&Yn(e,e.destination)}catch(P){vn(e,P,{}),bn(e,P)}finally{Jt=o,B.H=r,B.A=i,r===Zt&&lt(t),cn=a}}}function Ln(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Bn(e,t.children[i],n)||r;return r}function Bn(e,t,r){var i=t.boundary;if(null===i)return Ln(e,t,r);var a=i.contentPreamble,o=i.fallbackPreamble;if(null===a||null===o)return!1;switch(i.status){case 1:if(xe(e.renderState,a),!(t=i.completedSegments[0]))throw Error(n(391));return Ln(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return xe(e.renderState,o),Ln(e,t,r);default:return!0}}function $n(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Bn(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function Wn(e,t,r,i){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return i=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=i.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0,o=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)t.push(o[s]);a=Hn(e,t,a,i)}for(;s<o.length-1;s++)t.push(o[s]);return s<o.length&&(a=t.push(o[s])),a;default:throw Error(n(390))}}function Hn(e,t,r,i){var a=r.boundary;if(null===a)return Wn(e,t,r,i);if(a.parentFlushed=!0,4===a.status){if(!e.renderState.generateStaticMarkup){var o=a.errorDigest;t.push("\x3c!--$!--\x3e"),t.push("<template"),o&&(t.push(' data-dgst="'),o=F(o),t.push(o),t.push('"')),t.push("></template>")}return Wn(e,t,r,i),e.renderState.generateStaticMarkup?t=!0:((e=a.fallbackPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Se(t,e.renderState,a.rootSegmentID),i&&((a=a.fallbackState).styles.forEach(Ge,i),a.stylesheets.forEach(Qe,i)),Wn(e,t,r,i),t.push("\x3c!--/$--\x3e");if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Se(t,e.renderState,a.rootSegmentID),Wn(e,t,r,i),t.push("\x3c!--/$--\x3e");if(i&&((r=a.contentState).styles.forEach(Ge,i),r.stylesheets.forEach(Qe,i)),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=a.completedSegments).length)throw Error(n(391));return Hn(e,t,r[0],i),e.renderState.generateStaticMarkup?t=!0:((e=a.contentPreamble)&&_e(t,e),t=t.push("\x3c!--/$--\x3e")),t}function Vn(e,t,r,i){return function(e,t,r,i){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),Hn(e,t,r,i),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(n(397))}}(t,r.parentFormatContext)}function Un(e,t,r){for(var i=r.completedSegments,a=0;a<i.length;a++)qn(e,t,r,i[a]);i.length=0,Ae(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var o=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),o?2&i.instructions?8&i.instructions?t.push('$RR("'):(i.instructions|=8,t.push('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):(i.instructions|=10,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("')):2&i.instructions?t.push('$RC("'):(i.instructions|=2,t.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')),i=a.toString(16),t.push(e.boundaryPrefix),t.push(i),t.push('","'),t.push(e.segmentPrefix),t.push(i),o?(t.push('",'),function(e,t){e.push("[");var r="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(r),t=Te(""+t.props.href),e.push(t),e.push("]"),r=",[";else{e.push(r);var i=t.props["data-precedence"],a=t.props,o=L(""+t.props.href);for(var s in o=Te(o),e.push(o),i=""+i,e.push(","),i=Te(i),e.push(i),a)if(P.call(a,s)&&null!=(i=a[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Be(e,s,i)}e.push("]"),r=",[",t.state=3}}),e.push("]")}(t,r)):t.push('"'),r=t.push(")<\/script>"),we(t,e)&&r}function qn(e,t,r,i){if(2===i.status)return!0;var a=r.contentState,o=i.id;if(-1===o){if(-1===(i.id=r.rootSegmentID))throw Error(n(392));return Vn(e,t,i,a)}return o===r.rootSegmentID?Vn(e,t,i,a):(Vn(e,t,i,a),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),1&r.instructions?t.push('$RS("'):(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push('","'),t.push(e.placeholderPrefix),t.push(o),t=t.push('")<\/script>'))}function Yn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;var a,o=e.renderState,s=o.preamble,l=s.htmlChunks,c=s.headChunks;if(l){for(a=0;a<l.length;a++)t.push(l[a]);if(c)for(a=0;a<c.length;a++)t.push(c[a]);else{var u=be("head");t.push(u),t.push(">")}}else if(c)for(a=0;a<c.length;a++)t.push(c[a]);var d=o.charsetChunks;for(a=0;a<d.length;a++)t.push(d[a]);d.length=0,o.preconnects.forEach(Fe,t),o.preconnects.clear();var p=o.viewportChunks;for(a=0;a<p.length;a++)t.push(p[a]);p.length=0,o.fontPreloads.forEach(Fe,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Fe,t),o.highImagePreloads.clear(),o.styles.forEach(je,t);var f=o.importMapChunks;for(a=0;a<f.length;a++)t.push(f[a]);f.length=0,o.bootstrapScripts.forEach(Fe,t),o.scripts.forEach(Fe,t),o.scripts.clear(),o.bulkPreloads.forEach(Fe,t),o.bulkPreloads.clear();var h=o.hoistableChunks;for(a=0;a<h.length;a++)t.push(h[a]);for(o=h.length=0;o<i.length;o++){var g=i[o];for(s=0;s<g.length;s++)Hn(e,t,g[s],null)}var m=e.renderState.preamble,v=m.headChunks;if(m.htmlChunks||v){var b=ke("head");t.push(b)}var y=m.bodyChunks;if(y)for(i=0;i<y.length;i++)t.push(y[i]);Hn(e,t,r,null),e.completedRootSegment=null,we(t,e.renderState)}var k=e.renderState;r=0;var x=k.viewportChunks;for(r=0;r<x.length;r++)t.push(x[r]);x.length=0,k.preconnects.forEach(Fe,t),k.preconnects.clear(),k.fontPreloads.forEach(Fe,t),k.fontPreloads.clear(),k.highImagePreloads.forEach(Fe,t),k.highImagePreloads.clear(),k.styles.forEach(Le,t),k.scripts.forEach(Fe,t),k.scripts.clear(),k.bulkPreloads.forEach(Fe,t),k.bulkPreloads.clear();var w=k.hoistableChunks;for(r=0;r<w.length;r++)t.push(w[r]);w.length=0;var S=e.clientRenderedBoundaries;for(n=0;n<S.length;n++){var _=S[n];k=t;var C=e.resumableState,P=e.renderState,E=_.rootSegmentID,T=_.errorDigest;k.push(P.startInlineScript),4&C.instructions?k.push('$RX("'):(C.instructions|=4,k.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),k.push(P.boundaryPrefix);var z=E.toString(16);if(k.push(z),k.push('"'),T){k.push(",");var R=Pe(T||"");k.push(R)}var I=k.push(")<\/script>");if(!I)return e.destination=null,n++,void S.splice(0,n)}S.splice(0,n);var O=e.completedBoundaries;for(n=0;n<O.length;n++)if(!Un(e,t,O[n]))return e.destination=null,n++,void O.splice(0,n);O.splice(0,n);var A=e.partialBoundaries;for(n=0;n<A.length;n++){var F=A[n];e:{S=e,_=t;var M=F.completedSegments;for(I=0;I<M.length;I++)if(!qn(S,_,F,M[I])){I++,M.splice(0,I);var D=!1;break e}M.splice(0,I),D=Ae(_,F.contentState,S.renderState)}if(!D)return e.destination=null,n++,void A.splice(0,n)}A.splice(0,n);var j=e.completedBoundaries;for(n=0;n<j.length;n++)if(!Un(e,t,j[n]))return e.destination=null,n++,void j.splice(0,n);j.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(A=ke("body"),t.push(A)),n.hasHtml&&(n=ke("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Gn(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?Yn(e,t):e.flushScheduled=!1}}function Qn(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var i=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=i,r.forEach(function(t){return On(t,e,i)}),r.clear()}null!==e.destination&&Yn(e,e.destination)}catch(a){vn(e,a,{}),bn(e,a)}}function Kn(){}function Xn(e,t,r,i){var a,o=!1,s=null,l="",c=!1;if(e=function(e,t,n,r,i,a){return(n=hn(t=new ln(t,n,r,1/0,a,void 0,function(){c=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,gn(e=pn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,ut,null,!1)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(a=t?t.identifierPrefix:void 0)?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:undefined,bootstrapScripts:undefined,bootstrapModules:undefined,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],i=e.bootstrapScriptContent,a=e.bootstrapScripts,o=e.bootstrapModules;void 0!==i&&r.push("<script>",(""+i).replace(U,q),"<\/script>"),i=n+"P:";var s=n+"S:";n+="B:";var l=new Set,c=new Set,u=new Set,d=new Map,p=new Set,f=new Set,h=new Set,g={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==a)for(var m=0;m<a.length;m++){var v,b=a[m],y=void 0,k=void 0,x={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof b?x.href=v=b:(x.href=v=b.src,x.integrity=k="string"==typeof b.integrity?b.integrity:void 0,x.crossOrigin=y="string"==typeof b||null==b.crossOrigin?void 0:"use-credentials"===b.crossOrigin?"use-credentials":"");var w=v;(b=e).scriptResources[w]=null,b.moduleScriptResources[w]=null,le(b=[],x),p.add(b),r.push('<script src="',F(v)),"string"==typeof k&&r.push('" integrity="',F(k)),"string"==typeof y&&r.push('" crossorigin="',F(y)),r.push('" async=""><\/script>')}if(void 0!==o)for(a=0;a<o.length;a++)y=v=void 0,k={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(x=o[a])?k.href=m=x:(k.href=m=x.src,k.integrity=y="string"==typeof x.integrity?x.integrity:void 0,k.crossOrigin=v="string"==typeof x||null==x.crossOrigin?void 0:"use-credentials"===x.crossOrigin?"use-credentials":""),b=m,(x=e).scriptResources[b]=null,x.moduleScriptResources[b]=null,le(x=[],k),p.add(x),r.push('<script type="module" src="',F(m)),"string"==typeof y&&r.push('" integrity="',F(y)),"string"==typeof v&&r.push('" crossorigin="',F(v)),r.push('" async=""><\/script>');return{placeholderPrefix:i,segmentPrefix:s,boundaryPrefix:n,startInlineScript:"<script>",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:c,highImagePreloads:u,styles:d,bootstrapScripts:p,scripts:f,bulkPreloads:h,preloads:g,stylesToHoist:!1,generateStaticMarkup:t}}(t,r),G(0,null,0),0,Kn),e.flushScheduled=null!==e.destination,Nn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&An(e,0===e.pendingRootTasks),Qn(e,i),function(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Yn(e,t)}catch(n){vn(e,n,{}),bn(e,n)}}}(e,{push:function(e){return null!==e&&(l+=e),!0},destroy:function(e){o=!0,s=e}}),o&&s!==i)throw s;if(!c)throw Error(n(426));return l}return pS.renderToStaticMarkup=function(e,t){return Xn(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},pS.renderToString=function(e,t){return Xn(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},pS.version="19.1.1",pS}var hS,gS,mS={};function vS(){if(hS)return mS;hS=1;var e=y(),t=N();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),v=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),w=Symbol.iterator,S=Array.isArray;function _(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var a=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=a=461845907*(65535&(a=(a=3432918353*(65535&a)+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(255&e.charCodeAt(t+2))<<16;case 2:a^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(a=(a=3432918353*(65535&(a^=255&e.charCodeAt(t)))+((3432918353*(a>>>16)&65535)<<16)&4294967295)<<15|a>>>17))+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var C=new MessageChannel,P=[];function E(e){P.push(e),C.port2.postMessage(null)}function T(e){setTimeout(function(){throw e})}C.port1.onmessage=function(){var e=P.shift();e&&e()};var z=Promise,R="function"==typeof queueMicrotask?queueMicrotask:function(e){z.resolve(null).then(e).catch(T)},I=null,O=0;function A(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=new Uint8Array(2048),O=0),e.enqueue(t);else{var n=I.length-O;n<t.byteLength&&(0===n?e.enqueue(I):(I.set(t.subarray(0,n),O),e.enqueue(I),t=t.subarray(n)),I=new Uint8Array(2048),O=0),I.set(t,O),O+=t.byteLength}}function F(e,t){return A(e,t),!0}function M(e){I&&0<O&&(e.enqueue(new Uint8Array(I.buffer,0,O)),I=null,O=0)}var D=new TextEncoder;function j(e){return D.encode(e)}function L(e){return D.encode(e)}function B(e,t){"function"==typeof e.error?e.error(t):e.close()}var $=Object.assign,W=Object.prototype.hasOwnProperty,H=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),V={},U={};function q(e){return!!W.call(U,e)||!W.call(V,e)&&(H.test(e)?U[e]=!0:(V[e]=!0,!1))}var Y=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),G=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q=/["'&<>]/;function K(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=Q.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var X=/([A-Z])/g,Z=/^ms-/,J=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ee(e){return J.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var te=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},ie=ne.d;ne.d={f:ie.f,r:ie.r,D:function(e){var t=di||null;if(t){var n,r,i=t.resumableState,a=t.renderState;if("string"==typeof e&&e)i.dnsResources.hasOwnProperty(e)||(i.dnsResources[e]=null,(r=(i=a.headers)&&0<i.remainingCapacity)&&(n="<"+(""+e).replace(Gn,Qn)+">; rel=dns-prefetch",r=0<=(i.remainingCapacity-=n.length+2)),r?(a.resets.dns[e]=null,i.preconnects&&(i.preconnects+=", "),i.preconnects+=n):(Ze(n=[],{href:e,rel:"dns-prefetch"}),a.preconnects.add(n))),Xi(t)}else ie.D(e)},C:function(e,t){var n=di||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var a,o,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(o=(r=i.headers)&&0<r.remainingCapacity)&&(o="<"+(""+e).replace(Gn,Qn)+">; rel=preconnect","string"==typeof t&&(o+='; crossorigin="'+(""+t).replace(Kn,Xn)+'"'),a=o,o=0<=(r.remainingCapacity-=a.length+2)),o?(i.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(Ze(s=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(s));Xi(n)}}else ie.C(e,t)},L:function(e,t,n){var r=di||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case"image":if(n)var o=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=o?o+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=ae,(i=a.headers)&&0<i.remainingCapacity&&"string"!=typeof o&&"high"===l&&(c=Yn(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(a.resets.image[u]=ae,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(Ze(i=[],$({rel:"preload",href:o?void 0:e,as:t},n)),"high"===l?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;Ze(o=[],$({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),Ze(o,$({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ae:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((o=i.unknownResources[t]).hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;o[e]=ae,(i=a.headers)&&0<i.remainingCapacity&&"font"===t&&(u=Yn(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.font[e]=ae,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u):"font"===(Ze(i=[],e=$({rel:"preload",href:e,as:t},n)),t)?a.fontPreloads.add(i):a.bulkPreloads.add(i)}Xi(r)}}else ie.L(e,t,n)},m:function(e,t){var n=di||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&"string"==typeof t.as?t.as:"script";if("script"===a){if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?ae:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a)}else{if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=ae}Ze(a,$({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(a),Xi(n)}}else ie.m(e,t)},X:function(e,t){var n=di||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==a&&(r.scriptResources[e]=null,t=$({src:e,async:!0},t),a&&(2===a.length&&qn(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),rt(e,t),Xi(n))}}else ie.X(e,t)},S:function(e,t,n){var r=di||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t=t||"default";var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,o||(o={precedence:j(K(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:0,props:$({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&qn(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),o.sheets.set(e,t),Xi(r))}}else ie.S(e,t,n)},M:function(e,t){var n=di||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==a&&(r.moduleScriptResources[e]=null,t=$({src:e,type:"module",async:!0},t),a&&(2===a.length&&qn(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),rt(e,t),Xi(n))}}else ie.M(e,t)}};var ae=[];L('"></template>');var oe=L("<script>"),se=L("<\/script>"),le=L('<script src="'),ce=L('<script type="module" src="'),ue=L('" nonce="'),de=L('" integrity="'),pe=L('" crossorigin="'),fe=L('" async=""><\/script>'),he=/(<\/|<)(s)(cript)/gi;function ge(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var me=L('<script type="importmap">'),ve=L("<\/script>");function be(e,t,n,r,i,a){var o=void 0===t?oe:L('<script nonce="'+K(t)+'">'),s=e.idPrefix;n=[];var l=e.bootstrapScriptContent,c=e.bootstrapScripts,u=e.bootstrapModules;if(void 0!==l&&n.push(o,j((""+l).replace(he,ge)),se),l=[],void 0!==r&&(l.push(me),l.push(j((""+JSON.stringify(r)).replace(he,ge))),l.push(ve)),r=i?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof a?a:2e3)}:null,i={placeholderPrefix:L(s+"P:"),segmentPrefix:L(s+"S:"),boundaryPrefix:L(s+"B:"),startInlineScript:o,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},externalRuntimeScript:null,bootstrapChunks:n,importMapChunks:l,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:t,hoistableState:null,stylesToHoist:!1},void 0!==c)for(r=0;r<c.length;r++){var d=c[r];s=o=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof d?l.href=a=d:(l.href=a=d.src,l.integrity=s="string"==typeof d.integrity?d.integrity:void 0,l.crossOrigin=o="string"==typeof d||null==d.crossOrigin?void 0:"use-credentials"===d.crossOrigin?"use-credentials":"");var p=a;(d=e).scriptResources[p]=null,d.moduleScriptResources[p]=null,Ze(d=[],l),i.bootstrapScripts.add(d),n.push(le,j(K(a))),t&&n.push(ue,j(K(t))),"string"==typeof s&&n.push(de,j(K(s))),"string"==typeof o&&n.push(pe,j(K(o))),n.push(fe)}if(void 0!==u)for(c=0;c<u.length;c++)o=a=void 0,s={rel:"modulepreload",fetchPriority:"low",nonce:t},"string"==typeof(l=u[c])?s.href=r=l:(s.href=r=l.src,s.integrity=o="string"==typeof l.integrity?l.integrity:void 0,s.crossOrigin=a="string"==typeof l||null==l.crossOrigin?void 0:"use-credentials"===l.crossOrigin?"use-credentials":""),d=r,(l=e).scriptResources[d]=null,l.moduleScriptResources[d]=null,Ze(l=[],s),i.bootstrapScripts.add(l),n.push(ce,j(K(r))),t&&n.push(ue,j(K(t))),"string"==typeof o&&n.push(de,j(K(o))),"string"==typeof a&&n.push(pe,j(K(a))),n.push(fe);return i}function ye(e,t,n,r,i){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function ke(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function xe(e,t,n){return{insertionMode:e,selectedValue:t,tagScope:n}}function we(e){return xe("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0)}function Se(e,t,n){switch(t){case"noscript":return xe(2,null,1|e.tagScope);case"select":return xe(2,null!=n.value?n.value:n.defaultValue,e.tagScope);case"svg":return xe(4,null,e.tagScope);case"picture":return xe(2,null,2|e.tagScope);case"math":return xe(5,null,e.tagScope);case"foreignObject":return xe(2,null,e.tagScope);case"table":return xe(6,null,e.tagScope);case"thead":case"tbody":case"tfoot":return xe(7,null,e.tagScope);case"colgroup":return xe(9,null,e.tagScope);case"tr":return xe(8,null,e.tagScope);case"head":if(2>e.insertionMode)return xe(3,null,e.tagScope);break;case"html":if(0===e.insertionMode)return xe(1,null,e.tagScope)}return 6<=e.insertionMode||2>e.insertionMode?xe(2,null,e.tagScope):e}var _e=L("\x3c!-- --\x3e");function Ce(e,t,n,r){return""===t?r:(r&&e.push(_e),e.push(j(K(t))),!0)}var Pe=new Map,Ee=L(' style="'),Te=L(":"),ze=L(";");function Re(e,t){if("object"!=typeof t)throw Error(n(62));var r,i=!0;for(r in t)if(W.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var o=j(K(r));a=j(K((""+a).trim()))}else void 0===(o=Pe.get(r))&&(o=L(K(r.replace(X,"-$1").toLowerCase().replace(Z,"-ms-"))),Pe.set(r,o)),a="number"==typeof a?0===a||Y.has(r)?j(""+a):j(a+"px"):j(K((""+a).trim()));i?(i=!1,e.push(Ee,o,Te,a)):e.push(ze,o,Te,a)}}i||e.push(Ae)}var Ie=L(" "),Oe=L('="'),Ae=L('"'),Fe=L('=""');function Me(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,j(t),Fe)}function De(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(Ie,j(t),Oe,j(K(n)),Ae)}var je=L(K("javascript:throw new Error('React form unexpectedly submitted.')")),Ne=L('<input type="hidden"');function Le(e,t){this.push(Ne),Be(e),De(this,"name",t),De(this,"value",e),this.push(Ue)}function Be(e){if("string"!=typeof e)throw Error(n(480))}function $e(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(Be)}return r}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then)throw a}}return null}function We(e,t,n,r,i,a,o,s){var l=null;if("function"==typeof r){var c=$e(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,a=c.method,o=c.target,l=c.data):(e.push(Ie,j("formAction"),Oe,je,Ae),o=a=i=r=s=null,Qe(t,n))}return null!=s&&He(e,"name",s),null!=r&&He(e,"formAction",r),null!=i&&He(e,"formEncType",i),null!=a&&He(e,"formMethod",a),null!=o&&He(e,"formTarget",o),l}function He(e,t,n){switch(t){case"className":De(e,"class",n);break;case"tabIndex":De(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":De(e,t,n);break;case"style":Re(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,j(t),Oe,j(K(n)),Ae);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Me(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ee(""+n),e.push(Ie,j("xlink:href"),Oe,j(K(n)),Ae);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,j(t),Oe,j(K(n)),Ae);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,j(t),Fe);break;case"capture":case"download":!0===n?e.push(Ie,j(t),Fe):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Ie,j(t),Oe,j(K(n)),Ae);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(Ie,j(t),Oe,j(K(n)),Ae);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(Ie,j(t),Oe,j(K(n)),Ae);break;case"xlinkActuate":De(e,"xlink:actuate",n);break;case"xlinkArcrole":De(e,"xlink:arcrole",n);break;case"xlinkRole":De(e,"xlink:role",n);break;case"xlinkShow":De(e,"xlink:show",n);break;case"xlinkTitle":De(e,"xlink:title",n);break;case"xlinkType":De(e,"xlink:type",n);break;case"xmlBase":De(e,"xml:base",n);break;case"xmlLang":De(e,"xml:lang",n);break;case"xmlSpace":De(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&q(t=G.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(Ie,j(t),Oe,j(K(n)),Ae)}}}var Ve=L(">"),Ue=L("/>");function qe(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(j(""+t))}}var Ye=L(' selected=""'),Ge=L('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function Qe(e,t){!(16&e.instructions)&&(e.instructions|=16,t.bootstrapChunks.unshift(t.startInlineScript,Ge,se))}var Ke=L("\x3c!--F!--\x3e"),Xe=L("\x3c!--F--\x3e");function Ze(e,t){for(var r in e.push(ct("link")),t)if(W.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:He(e,r,i)}}return e.push(Ue),null}var Je=/(<\/|<)(s)(tyle)/gi;function et(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function tt(e,t,r){for(var i in e.push(ct(r)),t)if(W.call(t,i)){var a=t[i];if(null!=a)switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:He(e,i,a)}}return e.push(Ue),null}function nt(e,t){e.push(ct("title"));var n,r=null,i=null;for(n in t)if(W.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":i=a;break;default:He(e,n,a)}}return e.push(Ve),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(j(K(""+t))),qe(e,i,r),e.push(pt("title")),null}function rt(e,t){e.push(ct("script"));var n,r=null,i=null;for(n in t)if(W.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":r=a;break;case"dangerouslySetInnerHTML":i=a;break;default:He(e,n,a)}}return e.push(Ve),qe(e,i,r),"string"==typeof r&&e.push(j((""+r).replace(he,ge))),e.push(pt("script")),null}function it(e,t,n){e.push(ct(n));var r,i=n=null;for(r in t)if(W.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:He(e,r,a)}}return e.push(Ve),qe(e,i,n),n}function at(e,t,n){e.push(ct(n));var r,i=n=null;for(r in t)if(W.call(t,r)){var a=t[r];if(null!=a)switch(r){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:He(e,r,a)}}return e.push(Ve),qe(e,i,n),"string"==typeof n?(e.push(j(K(n))),null):n}var ot=L("\n"),st=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,lt=new Map;function ct(e){var t=lt.get(e);if(void 0===t){if(!st.test(e))throw Error(n(65,e));t=L("<"+e),lt.set(e,t)}return t}var ut=L("<!DOCTYPE html>");var dt=new Map;function pt(e){var t=dt.get(e);return void 0===t&&(t=L("</"+e+">"),dt.set(e,t)),t}function ft(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks,t.contribution|=1),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks,t.contribution|=4),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks,t.contribution|=2)}function ht(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)A(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,F(e,n))}var gt=L('<template id="'),mt=L('"></template>'),vt=L("\x3c!--$--\x3e"),bt=L('\x3c!--$?--\x3e<template id="'),yt=L('"></template>'),kt=L("\x3c!--$!--\x3e"),xt=L("\x3c!--/$--\x3e"),wt=L("<template"),St=L('"'),_t=L(' data-dgst="');L(' data-msg="'),L(' data-stck="'),L(' data-cstck="');var Ct=L("></template>");function Pt(e,t,r){if(A(e,bt),null===r)throw Error(n(395));return A(e,t.boundaryPrefix),A(e,j(r.toString(16))),F(e,yt)}var Et=L("\x3c!--"),Tt=L("--\x3e");function zt(e,t){0!==(t=t.contribution)&&(A(e,Et),A(e,j(""+t)),A(e,Tt))}var Rt=L('<div hidden id="'),It=L('">'),Ot=L("</div>"),At=L('<svg aria-hidden="true" style="display:none" id="'),Ft=L('">'),Mt=L("</svg>"),Dt=L('<math aria-hidden="true" style="display:none" id="'),jt=L('">'),Nt=L("</math>"),Lt=L('<table hidden id="'),Bt=L('">'),$t=L("</table>"),Wt=L('<table hidden><tbody id="'),Ht=L('">'),Vt=L("</tbody></table>"),Ut=L('<table hidden><tr id="'),qt=L('">'),Yt=L("</tr></table>"),Gt=L('<table hidden><colgroup id="'),Qt=L('">'),Kt=L("</colgroup></table>"),Xt=L('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Zt=L('$RS("'),Jt=L('","'),en=L('")<\/script>');L('<template data-rsi="" data-sid="'),L('" data-pid="');var tn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'),nn=L('$RC("'),rn=L('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),an=L('$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'),on=L('$RR("'),sn=L('","'),ln=L('",'),cn=L('"'),un=L(")<\/script>");L('<template data-rci="" data-bid="'),L('<template data-rri="" data-bid="'),L('" data-sid="'),L('" data-sty="');var dn=L('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),pn=L('$RX("'),fn=L('"'),hn=L(","),gn=L(")<\/script>");L('<template data-rxi="" data-bid="'),L('" data-dgst="'),L('" data-msg="'),L('" data-stck="'),L('" data-cstck="');var mn=/[<\u2028\u2029]/g;function vn(e){return JSON.stringify(e).replace(mn,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var bn=/[&><\u2028\u2029]/g;function yn(e){return JSON.stringify(e).replace(bn,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var kn=L('<style media="not all" data-precedence="'),xn=L('" data-href="'),wn=L('">'),Sn=L("</style>"),_n=!1,Cn=!0;function Pn(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(A(this,kn),A(this,e.precedence),A(this,xn);r<n.length-1;r++)A(this,n[r]),A(this,Fn);for(A(this,n[r]),A(this,wn),r=0;r<t.length;r++)A(this,t[r]);Cn=F(this,Sn),_n=!0,t.length=0,n.length=0}}function En(e){return 2!==e.state&&(_n=!0)}function Tn(e,t,n){return _n=!1,Cn=!0,t.styles.forEach(Pn,e),t.stylesheets.forEach(En),_n&&(n.stylesToHoist=!0),Cn}function zn(e){for(var t=0;t<e.length;t++)A(this,e[t]);e.length=0}var Rn=[];function In(e){Ze(Rn,e.props);for(var t=0;t<Rn.length;t++)A(this,Rn[t]);Rn.length=0,e.state=2}var On=L('<style data-precedence="'),An=L('" data-href="'),Fn=L(" "),Mn=L('">'),Dn=L("</style>");function jn(e){var t=0<e.sheets.size;e.sheets.forEach(In,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(A(this,On),A(this,e.precedence),e=0,r.length){for(A(this,An);e<r.length-1;e++)A(this,r[e]),A(this,Fn);A(this,r[e])}for(A(this,Mn),e=0;e<n.length;e++)A(this,n[e]);A(this,Dn),n.length=0,r.length=0}}function Nn(e){if(0===e.state){e.state=1;var t=e.props;for(Ze(Rn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Rn.length;e++)A(this,Rn[e]);Rn.length=0}}function Ln(e){e.sheets.forEach(Nn,this),e.sheets.clear()}var Bn=L("["),$n=L(",["),Wn=L(","),Hn=L("]");function Vn(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ee(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!q(t))return;t=""+n}A(e,Wn),A(e,j(yn(r))),A(e,Wn),A(e,j(yn(t)))}function Un(){return{styles:new Set,stylesheets:new Set}}function qn(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Yn(e,t,n){for(var r in t="<"+(e=(""+e).replace(Gn,Qn))+'>; rel=preload; as="'+(t=(""+t).replace(Kn,Xn))+'"',n)W.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Kn,Xn)+'"');return t}var Gn=/[<>\r\n]/g;function Qn(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var Kn=/["';,\r\n]/g;function Xn(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Zn(e){this.styles.add(e)}function Jn(e){this.stylesheets.add(e)}var er=Function.prototype.bind,tr=Symbol.for("react.client.reference");function nr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===tr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case s:return"Profiler";case o:return"StrictMode";case p:return"Suspense";case f:return"SuspenseList";case v:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case i:return"Portal";case u:return(e.displayName||"Context")+".Provider";case c:return(e._context.displayName||"Context")+".Consumer";case d:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:nr(e.type)||"Memo";case g:t=e._payload,e=e._init;try{return nr(e(t))}catch(n){}}return null}var rr={},ir=null;function ar(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));ar(e,r)}t.context._currentValue=t.value}}function or(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&or(e)}function sr(e){var t=e.parent;null!==t&&sr(t),e.context._currentValue=e.value}function lr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?ar(e,t):lr(e,t)}function cr(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?ar(e,r):cr(e,r),t.context._currentValue=t.value}function ur(e){var t=ir;t!==e&&(null===t?sr(e):null===e?or(t):t.depth===e.depth?ar(t,e):t.depth>e.depth?lr(t,e):cr(t,e),ir=e)}var dr={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},pr={id:1,overflow:""};function fr(e,t,n){var r=e.id;e=e.overflow;var i=32-hr(r)-1;r&=~(1<<i),n+=1;var a=32-hr(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-hr(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}var hr=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(gr(e)/mr|0)|0},gr=Math.log,mr=Math.LN2,vr=Error(n(460));function br(){}var yr=null;function kr(){if(null===yr)throw Error(n(459));var e=yr;return yr=null,e}var xr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},wr=null,Sr=null,_r=null,Cr=null,Pr=null,Er=null,Tr=!1,zr=!1,Rr=0,Ir=0,Or=-1,Ar=0,Fr=null,Mr=null,Dr=0;function jr(){if(null===wr)throw Error(n(321));return wr}function Nr(){if(0<Dr)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Lr(){return null===Er?null===Pr?(Tr=!1,Pr=Er=Nr()):(Tr=!0,Er=Pr):null===Er.next?(Tr=!1,Er=Er.next=Nr()):(Tr=!0,Er=Er.next),Er}function Br(){var e=Fr;return Fr=null,e}function $r(){Cr=_r=Sr=wr=null,zr=!1,Pr=null,Dr=0,Er=Mr=null}function Wr(e,t){return"function"==typeof t?t(e):t}function Hr(e,t,n){if(wr=jr(),Er=Lr(),Tr){var r=Er.queue;if(t=r.dispatch,null!==Mr&&void 0!==(n=Mr.get(r))){Mr.delete(r),r=Er.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Er.memoizedState=r,[r,t]}return[Er.memoizedState,t]}return e=e===Wr?"function"==typeof t?t():t:void 0!==n?n(t):t,Er.memoizedState=e,e=(e=Er.queue={last:null,dispatch:null}).dispatch=Ur.bind(null,wr,e),[Er.memoizedState,e]}function Vr(e,t){if(wr=jr(),t=void 0===t?null:t,null!==(Er=Lr())){var n=Er.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!xr(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Er.memoizedState=[e,t],e}function Ur(e,t,r){if(25<=Dr)throw Error(n(301));if(e===wr)if(zr=!0,e={action:r,next:null},null===Mr&&(Mr=new Map),void 0===(r=Mr.get(t)))Mr.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function qr(){throw Error(n(394))}function Yr(){throw Error(n(479))}function Gr(e,t,n){jr();var r=Ir++,i=_r;if("function"==typeof e.$$FORM_ACTION){var a=null,o=Cr;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&l===(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([o,null,r]),0))&&(Or=r,t=i[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===a&&(a=void 0!==n?"p"+n:"k"+_(JSON.stringify([o,null,r]),0)),t.append("$ACTION_KEY",a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Qr(e){var t=Ar;return Ar+=1,null===Fr&&(Fr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(br,br),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(br,br):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw yr=t,vr}}(Fr,e,t)}function Kr(){throw Error(n(393))}function Xr(){}var Zr,Jr,ei={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Qr(e);if(e.$$typeof===u)return e._currentValue}throw Error(n(438,String(e)))},useContext:function(e){return jr(),e._currentValue},useMemo:Vr,useReducer:Hr,useRef:function(e){wr=jr();var t=(Er=Lr()).memoizedState;return null===t?(e={current:e},Er.memoizedState=e):t},useState:function(e){return Hr(Wr,e)},useInsertionEffect:Xr,useLayoutEffect:Xr,useCallback:function(e,t){return Vr(function(){return e},t)},useImperativeHandle:Xr,useEffect:Xr,useDebugValue:Xr,useDeferredValue:function(e,t){return jr(),void 0!==t?t:e},useTransition:function(){return jr(),[!1,qr]},useId:function(){var e=Sr.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-hr(e)-1)).toString(32)+t;var r=ti;if(null===r)throw Error(n(404));return t=Rr++,e="«"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+"»"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return jr(),[e,Yr]},useActionState:Gr,useFormState:Gr,useHostTransitionStatus:function(){return jr(),re},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=k;return t},useCacheRefresh:function(){return Kr}},ti=null,ni={getCacheForType:function(){throw Error(n(248))}};function ri(e){if(void 0===Zr)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zr=t&&t[1]||"",Jr=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Zr+e+Jr}var ii=!1;function ai(e,t){if(!e||ii)return"";ii=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(o){r=o}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{ii=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ri(n):""}function oi(e){if("string"==typeof e)return ri(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?ai(e,!0):ai(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case d:return ai(e.render,!1);case h:return ai(e.type,!1);case g:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(r){return ri("Lazy")}return oi(e)}if("string"==typeof e.name)return n=e.env,ri(e.name+(n?" ["+n+"]":""))}switch(e){case f:return ri("SuspenseList");case p:return ri("Suspense")}return""}function si(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c ","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=er.apply(console.error,e))()}return null}function li(){}function ci(e,t,n,r,i,a,o,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?si:i,this.onPostpone=void 0===c?li:c,this.onAllReady=void 0===a?li:a,this.onShellReady=void 0===o?li:o,this.onShellError=void 0===s?li:s,this.onFatalError=void 0===l?li:l,this.formState=void 0===u?null:u}function ui(e,t,n,r,i,a,o,s,l,c,u,d){return(n=mi(t=new ci(t,n,r,i,a,o,s,l,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,vi(e=hi(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,pr,null,!1)),t.pingedTasks.push(e),t}var di=null;function pi(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?R(function(){return Bi(e)}):E(function(){return Bi(e)}))}function fi(e,t,n,r){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null,contentState:Un(),fallbackState:Un(),contentPreamble:n,fallbackPreamble:r,trackedContentKeyPath:null,trackedFallbackNode:null}}function hi(e,t,n,r,i,a,o,s,l,c,u,d,p,f,h){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++;var g={replay:null,node:n,childIndex:r,ping:function(){return pi(e,g)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:p,componentStack:f,thenableState:t,isFallback:h};return l.add(g),g}function gi(e,t,n,r,i,a,o,s,l,c,u,d,p,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:i,ping:function(){return pi(e,h)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,componentStack:p,thenableState:t,isFallback:f};return s.add(h),h}function mi(e,t,n,r,i,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function vi(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function bi(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=oi(r.type),r=r.parent}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function yi(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function ki(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,B(e.destination,t)):(e.status=13,e.fatalError=t)}function xi(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,wr={},Sr=t,_r=e,Cr=n,Ir=Rr=0,Or=-1,Ar=0,Fr=o,e=r(i,a);zr;)zr=!1,Ir=Rr=0,Or=-1,Ar=0,Dr+=1,Er=null,e=r(i,a);return $r(),e}function wi(e,t,n,r,i,a,o){var s=!1;if(0!==a&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<a;c++)c===o?l.push(Ke):l.push(Xe)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=fr(n,1,0),Ii(e,t,r,-1),t.treeContext=n):s?Ii(e,t,r,-1):Ci(e,t,r,-1),t.keyPath=a}function Si(t,r,i,y,k,w){if("function"==typeof y)if(y.prototype&&y.prototype.isReactComponent){var _=k;if("ref"in k)for(var C in _={},k)"ref"!==C&&(_[C]=k[C]);var P=y.defaultProps;if(P)for(var E in _===k&&(_=$({},_,k)),P)void 0===_[E]&&(_[E]=P[E]);k=_,_=rr,"object"==typeof(P=y.contextType)&&null!==P&&(_=P._currentValue);var T=void 0!==(_=new y(k,_)).state?_.state:null;if(_.updater=dr,_.props=k,_.state=T,P={queue:[],replace:!1},_._reactInternals=P,w=y.contextType,_.context="object"==typeof w&&null!==w?w._currentValue:rr,"function"==typeof(w=y.getDerivedStateFromProps)&&(T=null==(w=w(k,T))?T:$({},T,w),_.state=T),"function"!=typeof y.getDerivedStateFromProps&&"function"!=typeof _.getSnapshotBeforeUpdate&&("function"==typeof _.UNSAFE_componentWillMount||"function"==typeof _.componentWillMount))if(y=_.state,"function"==typeof _.componentWillMount&&_.componentWillMount(),"function"==typeof _.UNSAFE_componentWillMount&&_.UNSAFE_componentWillMount(),y!==_.state&&dr.enqueueReplaceState(_,_.state,null),null!==P.queue&&0<P.queue.length)if(y=P.queue,w=P.replace,P.queue=null,P.replace=!1,w&&1===y.length)_.state=y[0];else{for(P=w?y[0]:_.state,T=!0,w=w?1:0;w<y.length;w++)null!=(E="function"==typeof(E=y[w])?E.call(_,P,k,void 0):E)&&(T?(T=!1,P=$({},P,E)):$(P,E));_.state=P}else P.queue=null;if(y=_.render(),12===t.status)throw null;k=r.keyPath,r.keyPath=i,Ci(t,r,y,-1),r.keyPath=k}else{if(y=xi(t,r,i,y,k,void 0),12===t.status)throw null;wi(t,r,i,y,0!==Rr,Ir,Or)}else{if("string"!=typeof y){switch(y){case b:case o:case s:case a:return y=r.keyPath,r.keyPath=i,Ci(t,r,k.children,-1),void(r.keyPath=y);case v:return void("hidden"!==k.mode&&(y=r.keyPath,r.keyPath=i,Ci(t,r,k.children,-1),r.keyPath=y));case f:return y=r.keyPath,r.keyPath=i,Ci(t,r,k.children,-1),void(r.keyPath=y);case x:case m:throw Error(n(343));case p:e:if(null!==r.replay){y=r.keyPath,r.keyPath=i,i=k.children;try{Ii(t,r,i,-1)}finally{r.keyPath=y}}else{y=r.keyPath;var z=r.blockedBoundary;w=r.blockedPreamble;var R=r.hoistableState;E=r.blockedSegment,C=k.fallback,k=k.children;var I=new Set,O=2>r.formatContext.insertionMode?fi(0,I,{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0},{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}):fi(0,I,null,null);null!==t.trackedPostpones&&(O.trackedContentKeyPath=i);var A=mi(0,E.chunks.length,O,r.formatContext,!1,!1);E.children.push(A),E.lastPushedText=!1;var F=mi(0,0,null,r.formatContext,!1,!1);if(F.parentFlushed=!0,null!==t.trackedPostpones){P=[(_=[i[0],"Suspense Fallback",i[2]])[1],_[2],[],null],t.trackedPostpones.workingMap.set(_,P),O.trackedFallbackNode=P,r.blockedSegment=A,r.blockedPreamble=O.fallbackPreamble,r.keyPath=_,A.status=6;try{Ii(t,r,C,-1),A.lastPushedText&&A.textEmbedded&&A.chunks.push(_e),A.status=1}catch(M){throw A.status=12===t.status?3:4,M}finally{r.blockedSegment=E,r.blockedPreamble=w,r.keyPath=y}vi(r=hi(t,null,k,-1,O,F,O.contentPreamble,O.contentState,r.abortSet,i,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(r)}else{r.blockedBoundary=O,r.blockedPreamble=O.contentPreamble,r.hoistableState=O.contentState,r.blockedSegment=F,r.keyPath=i,F.status=6;try{if(Ii(t,r,k,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(_e),F.status=1,Ni(O,F),0===O.pendingTasks&&0===O.status){O.status=1,0===t.pendingRootTasks&&r.blockedPreamble&&Hi(t);break e}}catch(D){O.status=4,12===t.status?(F.status=3,_=t.fatalError):(F.status=4,_=D),T=yi(t,_,P=bi(r.componentStack)),O.errorDigest=T,Ti(t,O)}finally{r.blockedBoundary=z,r.blockedPreamble=w,r.hoistableState=R,r.blockedSegment=E,r.keyPath=y}vi(r=hi(t,null,C,-1,z,A,O.fallbackPreamble,O.fallbackState,I,[i[0],"Suspense Fallback",i[2]],r.formatContext,r.context,r.treeContext,r.componentStack,!0)),t.pingedTasks.push(r)}}return}if("object"==typeof y&&null!==y)switch(y.$$typeof){case d:if("ref"in k)for(O in _={},k)"ref"!==O&&(_[O]=k[O]);else _=k;return void wi(t,r,i,y=xi(t,r,i,y.render,_,w),0!==Rr,Ir,Or);case h:return void Si(t,r,i,y.type,k,w);case l:case u:if(P=k.children,_=r.keyPath,k=k.value,T=y._currentValue,y._currentValue=k,ir=y={parent:w=ir,depth:null===w?0:w.depth+1,context:y,parentValue:T,value:k},r.context=y,r.keyPath=i,Ci(t,r,P,-1),null===(t=ir))throw Error(n(403));return t.context._currentValue=t.parentValue,t=ir=t.parent,r.context=t,void(r.keyPath=_);case c:return y=(k=k.children)(y._context._currentValue),k=r.keyPath,r.keyPath=i,Ci(t,r,y,-1),void(r.keyPath=k);case g:if(y=(_=y._init)(y._payload),12===t.status)throw null;return void Si(t,r,i,y,k,w)}throw Error(n(130,null==y?y:typeof y,""))}if(null===(_=r.blockedSegment))_=k.children,P=r.formatContext,T=r.keyPath,r.formatContext=Se(P,y,k),r.keyPath=i,Ii(t,r,_,-1),r.formatContext=P,r.keyPath=T;else{w=function(t,r,i,a,o,s,l,c,u,d){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":t.push(ct("a"));var p,f=null,h=null;for(p in i)if(W.call(i,p)){var g=i[p];if(null!=g)switch(p){case"children":f=g;break;case"dangerouslySetInnerHTML":h=g;break;case"href":""===g?De(t,"href",""):He(t,p,g);break;default:He(t,p,g)}}if(t.push(Ve),qe(t,h,f),"string"==typeof f){t.push(j(K(f)));var m=null}else m=f;return m;case"select":t.push(ct("select"));var v,b=null,y=null;for(v in i)if(W.call(i,v)){var k=i[v];if(null!=k)switch(v){case"children":b=k;break;case"dangerouslySetInnerHTML":y=k;break;case"defaultValue":case"value":break;default:He(t,v,k)}}return t.push(Ve),qe(t,y,b),b;case"option":var x=c.selectedValue;t.push(ct("option"));var w,_=null,C=null,P=null,E=null;for(w in i)if(W.call(i,w)){var T=i[w];if(null!=T)switch(w){case"children":_=T;break;case"selected":P=T;break;case"dangerouslySetInnerHTML":E=T;break;case"value":C=T;default:He(t,w,T)}}if(null!=x){var z=null!==C?""+C:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(_);if(S(x)){for(var R=0;R<x.length;R++)if(""+x[R]===z){t.push(Ye);break}}else""+x===z&&t.push(Ye)}else P&&t.push(Ye);return t.push(Ve),qe(t,E,_),_;case"textarea":t.push(ct("textarea"));var I,O=null,A=null,F=null;for(I in i)if(W.call(i,I)){var M=i[I];if(null!=M)switch(I){case"children":F=M;break;case"value":O=M;break;case"defaultValue":A=M;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:He(t,I,M)}}if(null===O&&null!==A&&(O=A),t.push(Ve),null!=F){if(null!=O)throw Error(n(92));if(S(F)){if(1<F.length)throw Error(n(93));O=""+F[0]}O=""+F}return"string"==typeof O&&"\n"===O[0]&&t.push(ot),null!==O&&t.push(j(K(""+O))),null;case"input":t.push(ct("input"));var D,N=null,L=null,B=null,H=null,V=null,U=null,Y=null,G=null,Q=null;for(D in i)if(W.call(i,D)){var X=i[D];if(null!=X)switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":N=X;break;case"formAction":L=X;break;case"formEncType":B=X;break;case"formMethod":H=X;break;case"formTarget":V=X;break;case"defaultChecked":Q=X;break;case"defaultValue":Y=X;break;case"checked":G=X;break;case"value":U=X;break;default:He(t,D,X)}}var Z=We(t,a,o,L,B,H,V,N);return null!==G?Me(t,"checked",G):null!==Q&&Me(t,"checked",Q),null!==U?He(t,"value",U):null!==Y&&He(t,"value",Y),t.push(Ue),null!=Z&&Z.forEach(Le,t),null;case"button":t.push(ct("button"));var J,te=null,ne=null,re=null,ie=null,oe=null,se=null,le=null;for(J in i)if(W.call(i,J)){var ce=i[J];if(null!=ce)switch(J){case"children":te=ce;break;case"dangerouslySetInnerHTML":ne=ce;break;case"name":re=ce;break;case"formAction":ie=ce;break;case"formEncType":oe=ce;break;case"formMethod":se=ce;break;case"formTarget":le=ce;break;default:He(t,J,ce)}}var ue=We(t,a,o,ie,oe,se,le,re);if(t.push(Ve),null!=ue&&ue.forEach(Le,t),qe(t,ne,te),"string"==typeof te){t.push(j(K(te)));var de=null}else de=te;return de;case"form":t.push(ct("form"));var pe,fe=null,he=null,ge=null,me=null,ve=null,be=null;for(pe in i)if(W.call(i,pe)){var ye=i[pe];if(null!=ye)switch(pe){case"children":fe=ye;break;case"dangerouslySetInnerHTML":he=ye;break;case"action":ge=ye;break;case"encType":me=ye;break;case"method":ve=ye;break;case"target":be=ye;break;default:He(t,pe,ye)}}var ke=null,xe=null;if("function"==typeof ge){var we=$e(a,ge);null!==we?(ge=we.action||"",me=we.encType,ve=we.method,be=we.target,ke=we.data,xe=we.name):(t.push(Ie,j("action"),Oe,je,Ae),be=ve=me=ge=null,Qe(a,o))}if(null!=ge&&He(t,"action",ge),null!=me&&He(t,"encType",me),null!=ve&&He(t,"method",ve),null!=be&&He(t,"target",be),t.push(Ve),null!==xe&&(t.push(Ne),De(t,"name",xe),t.push(Ue),null!=ke&&ke.forEach(Le,t)),qe(t,he,fe),"string"==typeof fe){t.push(j(K(fe)));var Se=null}else Se=fe;return Se;case"menuitem":for(var Ce in t.push(ct("menuitem")),i)if(W.call(i,Ce)){var Pe=i[Ce];if(null!=Pe)switch(Ce){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:He(t,Ce,Pe)}}return t.push(Ve),null;case"object":t.push(ct("object"));var Ee,Te=null,ze=null;for(Ee in i)if(W.call(i,Ee)){var Fe=i[Ee];if(null!=Fe)switch(Ee){case"children":Te=Fe;break;case"dangerouslySetInnerHTML":ze=Fe;break;case"data":var Be=ee(""+Fe);if(""===Be)break;t.push(Ie,j("data"),Oe,j(K(Be)),Ae);break;default:He(t,Ee,Fe)}}if(t.push(Ve),qe(t,ze,Te),"string"==typeof Te){t.push(j(K(Te)));var Ge=null}else Ge=Te;return Ge;case"title":if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var Ke=nt(t,i);else d?Ke=null:(nt(o.hoistableChunks,i),Ke=void 0);return Ke;case"link":var Xe=i.rel,st=i.href,lt=i.precedence;if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp||"string"!=typeof Xe||"string"!=typeof st||""===st){Ze(t,i);var dt=null}else if("stylesheet"===i.rel)if("string"!=typeof lt||null!=i.disabled||i.onLoad||i.onError)dt=Ze(t,i);else{var ft=o.styles.get(lt),ht=a.styleResources.hasOwnProperty(st)?a.styleResources[st]:void 0;if(null!==ht){a.styleResources[st]=null,ft||(ft={precedence:j(K(lt)),rules:[],hrefs:[],sheets:new Map},o.styles.set(lt,ft));var gt={state:0,props:$({},i,{"data-precedence":i.precedence,precedence:null})};if(ht){2===ht.length&&qn(gt.props,ht);var mt=o.preloads.stylesheets.get(st);mt&&0<mt.length?mt.length=0:gt.state=1}ft.sheets.set(st,gt),l&&l.stylesheets.add(gt)}else if(ft){var vt=ft.sheets.get(st);vt&&l&&l.stylesheets.add(vt)}u&&t.push(_e),dt=null}else i.onLoad||i.onError?dt=Ze(t,i):(u&&t.push(_e),dt=d?null:Ze(o.hoistableChunks,i));return dt;case"script":var bt=i.async;if("string"!=typeof i.src||!i.src||!bt||"function"==typeof bt||"symbol"==typeof bt||i.onLoad||i.onError||4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var yt=rt(t,i);else{var kt=i.src;if("module"===i.type)var xt=a.moduleScriptResources,wt=o.preloads.moduleScripts;else xt=a.scriptResources,wt=o.preloads.scripts;var St=xt.hasOwnProperty(kt)?xt[kt]:void 0;if(null!==St){xt[kt]=null;var _t=i;if(St){2===St.length&&qn(_t=$({},i),St);var Ct=wt.get(kt);Ct&&(Ct.length=0)}var Pt=[];o.scripts.add(Pt),rt(Pt,_t)}u&&t.push(_e),yt=null}return yt;case"style":var Et=i.precedence,Tt=i.href;if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp||"string"!=typeof Et||"string"!=typeof Tt||""===Tt){t.push(ct("style"));var zt,Rt=null,It=null;for(zt in i)if(W.call(i,zt)){var Ot=i[zt];if(null!=Ot)switch(zt){case"children":Rt=Ot;break;case"dangerouslySetInnerHTML":It=Ot;break;default:He(t,zt,Ot)}}t.push(Ve);var At=Array.isArray(Rt)?2>Rt.length?Rt[0]:null:Rt;"function"!=typeof At&&"symbol"!=typeof At&&null!=At&&t.push(j((""+At).replace(Je,et))),qe(t,It,Rt),t.push(pt("style"));var Ft=null}else{var Mt=o.styles.get(Et);if(null!==(a.styleResources.hasOwnProperty(Tt)?a.styleResources[Tt]:void 0)){a.styleResources[Tt]=null,Mt?Mt.hrefs.push(j(K(Tt))):(Mt={precedence:j(K(Et)),rules:[],hrefs:[j(K(Tt))],sheets:new Map},o.styles.set(Et,Mt));var Dt,jt=Mt.rules,Nt=null,Lt=null;for(Dt in i)if(W.call(i,Dt)){var Bt=i[Dt];if(null!=Bt)switch(Dt){case"children":Nt=Bt;break;case"dangerouslySetInnerHTML":Lt=Bt}}var $t=Array.isArray(Nt)?2>Nt.length?Nt[0]:null:Nt;"function"!=typeof $t&&"symbol"!=typeof $t&&null!=$t&&jt.push(j((""+$t).replace(Je,et))),qe(jt,Lt,Nt)}Mt&&l&&l.styles.add(Mt),u&&t.push(_e),Ft=void 0}return Ft;case"meta":if(4===c.insertionMode||1&c.tagScope||null!=i.itemProp)var Wt=tt(t,i,"meta");else u&&t.push(_e),Wt=d?null:"string"==typeof i.charSet?tt(o.charsetChunks,i,"meta"):"viewport"===i.name?tt(o.viewportChunks,i,"meta"):tt(o.hoistableChunks,i,"meta");return Wt;case"listing":case"pre":t.push(ct(r));var Ht,Vt=null,Ut=null;for(Ht in i)if(W.call(i,Ht)){var qt=i[Ht];if(null!=qt)switch(Ht){case"children":Vt=qt;break;case"dangerouslySetInnerHTML":Ut=qt;break;default:He(t,Ht,qt)}}if(t.push(Ve),null!=Ut){if(null!=Vt)throw Error(n(60));if("object"!=typeof Ut||!("__html"in Ut))throw Error(n(61));var Yt=Ut.__html;null!=Yt&&("string"==typeof Yt&&0<Yt.length&&"\n"===Yt[0]?t.push(ot,j(Yt)):t.push(j(""+Yt)))}return"string"==typeof Vt&&"\n"===Vt[0]&&t.push(ot),Vt;case"img":var Gt=i.src,Qt=i.srcSet;if(!("lazy"===i.loading||!Gt&&!Qt||"string"!=typeof Gt&&null!=Gt||"string"!=typeof Qt&&null!=Qt)&&"low"!==i.fetchPriority&&0==!!(3&c.tagScope)&&("string"!=typeof Gt||":"!==Gt[4]||"d"!==Gt[0]&&"D"!==Gt[0]||"a"!==Gt[1]&&"A"!==Gt[1]||"t"!==Gt[2]&&"T"!==Gt[2]||"a"!==Gt[3]&&"A"!==Gt[3])&&("string"!=typeof Qt||":"!==Qt[4]||"d"!==Qt[0]&&"D"!==Qt[0]||"a"!==Qt[1]&&"A"!==Qt[1]||"t"!==Qt[2]&&"T"!==Qt[2]||"a"!==Qt[3]&&"A"!==Qt[3])){var Kt="string"==typeof i.sizes?i.sizes:void 0,Xt=Qt?Qt+"\n"+(Kt||""):Gt,Zt=o.preloads.images,Jt=Zt.get(Xt);if(Jt)("high"===i.fetchPriority||10>o.highImagePreloads.size)&&(Zt.delete(Xt),o.highImagePreloads.add(Jt));else if(!a.imageResources.hasOwnProperty(Xt)){a.imageResources[Xt]=ae;var en,tn=i.crossOrigin,nn="string"==typeof tn?"use-credentials"===tn?tn:"":void 0,rn=o.headers;rn&&0<rn.remainingCapacity&&"string"!=typeof i.srcSet&&("high"===i.fetchPriority||500>rn.highImagePreloads.length)&&(en=Yn(Gt,"image",{imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:nn,integrity:i.integrity,nonce:i.nonce,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.refererPolicy}),0<=(rn.remainingCapacity-=en.length+2))?(o.resets.image[Xt]=ae,rn.highImagePreloads&&(rn.highImagePreloads+=", "),rn.highImagePreloads+=en):(Ze(Jt=[],{rel:"preload",as:"image",href:Qt?void 0:Gt,imageSrcSet:Qt,imageSizes:Kt,crossOrigin:nn,integrity:i.integrity,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.referrerPolicy}),"high"===i.fetchPriority||10>o.highImagePreloads.size?o.highImagePreloads.add(Jt):(o.bulkPreloads.add(Jt),Zt.set(Xt,Jt)))}}return tt(t,i,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return tt(t,i,r);case"head":if(2>c.insertionMode){var an=s||o.preamble;if(an.headChunks)throw Error(n(545,"`<head>`"));an.headChunks=[];var on=it(an.headChunks,i,"head")}else on=at(t,i,"head");return on;case"body":if(2>c.insertionMode){var sn=s||o.preamble;if(sn.bodyChunks)throw Error(n(545,"`<body>`"));sn.bodyChunks=[];var ln=it(sn.bodyChunks,i,"body")}else ln=at(t,i,"body");return ln;case"html":if(0===c.insertionMode){var cn=s||o.preamble;if(cn.htmlChunks)throw Error(n(545,"`<html>`"));cn.htmlChunks=[ut];var un=it(cn.htmlChunks,i,"html")}else un=at(t,i,"html");return un;default:if(-1!==r.indexOf("-")){t.push(ct(r));var dn,pn=null,fn=null;for(dn in i)if(W.call(i,dn)){var hn=i[dn];if(null!=hn){var gn=dn;switch(dn){case"children":pn=hn;break;case"dangerouslySetInnerHTML":fn=hn;break;case"style":Re(t,hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(q(dn)&&"function"!=typeof hn&&"symbol"!=typeof hn&&!1!==hn){if(!0===hn)hn="";else if("object"==typeof hn)continue;t.push(Ie,j(gn),Oe,j(K(hn)),Ae)}}}}return t.push(Ve),qe(t,fn,pn),pn}}return at(t,i,r)}(_.chunks,y,k,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,_.lastPushedText,r.isFallback),_.lastPushedText=!1,P=r.formatContext,T=r.keyPath,r.keyPath=i,3===(r.formatContext=Se(P,y,k)).insertionMode?(i=mi(0,0,null,r.formatContext,!1,!1),_.preambleChildren.push(i),vi(i=hi(t,null,w,-1,r.blockedBoundary,i,r.blockedPreamble,r.hoistableState,t.abortableTasks,r.keyPath,r.formatContext,r.context,r.treeContext,r.componentStack,r.isFallback)),t.pingedTasks.push(i)):Ii(t,r,w,-1),r.formatContext=P,r.keyPath=T;e:{switch(r=_.chunks,t=t.resumableState,y){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=P.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===P.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=P.insertionMode)break e}r.push(pt(y))}_.lastPushedText=!1}}}function _i(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=mi(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,Ii(e,t,r,i),s.status=1,null===o?e.completedRootSegment=s:(Ni(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Ci(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?_i(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,vi(t),Pi(e,t),t.componentStack=n)}function Pi(e,t){var a=t.node,o=t.childIndex;if(null!==a){if("object"==typeof a){switch(a.$$typeof){case r:var s=a.type,l=a.key,c=a.props,d=void 0!==(a=c.ref)?a:null,f=nr(s),h=null==l?-1===o?0:o:l;if(l=[t.keyPath,f,h],null!==t.replay)e:{var m=t.replay;for(o=m.nodes,a=0;a<o.length;a++){var v=o[a];if(h===v[1]){if(4===v.length){if(null!==f&&f!==v[0])throw Error(n(490,v[0],f));var b=v[2];f=v[3],h=t.node,t.replay={nodes:b,slots:f,pendingTasks:1};try{if(Si(e,t,l,s,c,d),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(T){if("object"==typeof T&&null!==T&&(T===vr||"function"==typeof T.then))throw t.node===h&&(t.replay=m),T;t.replay.pendingTasks--,c=bi(t.componentStack),Ai(e,l=t.blockedBoundary,b,f,s=T,c=yi(e,s,c))}t.replay=m}else{if(s!==p)throw Error(n(490,"Suspense",nr(s)||"Unknown"));t:{m=void 0,s=v[5],d=v[2],f=v[3],h=null===v[4]?[]:v[4][2],v=null===v[4]?null:v[4][3];var y=t.keyPath,k=t.replay,x=t.blockedBoundary,_=t.hoistableState,C=c.children,P=c.fallback,E=new Set;(c=2>t.formatContext.insertionMode?fi(0,E,ke(),ke()):fi(0,E,null,null)).parentFlushed=!0,c.rootSegmentID=s,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=l,t.replay={nodes:d,slots:f,pendingTasks:1};try{if(Ii(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(z){c.status=4,m=yi(e,z,b=bi(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=x,t.hoistableState=_,t.replay=k,t.keyPath=y}vi(t=gi(e,null,{nodes:h,slots:v,pendingTasks:0},P,-1,x,c.fallbackState,E,[l[0],"Suspense Fallback",l[2]],t.formatContext,t.context,t.treeContext,t.componentStack,!0)),e.pingedTasks.push(t)}}o.splice(a,1);break e}}}else Si(e,t,l,s,c,d);return;case i:throw Error(n(257));case g:if(a=(b=a._init)(a._payload),12===e.status)throw null;return void Ci(e,t,a,o)}if(S(a))return void Ei(e,t,a,o);if((b=null===a||"object"!=typeof a?null:"function"==typeof(b=w&&a[w]||a["@@iterator"])?b:null)&&(b=b.call(a))){if(!(a=b.next()).done){c=[];do{c.push(a.value),a=b.next()}while(!a.done);Ei(e,t,c,o)}return}if("function"==typeof a.then)return t.thenableState=null,Ci(e,t,Qr(a),o);if(a.$$typeof===u)return Ci(e,t,a._currentValue,o);throw o=Object.prototype.toString.call(a),Error(n(31,"[object Object]"===o?"object with keys {"+Object.keys(a).join(", ")+"}":o))}"string"==typeof a?null!==(o=t.blockedSegment)&&(o.lastPushedText=Ce(o.chunks,a,e.renderState,o.lastPushedText)):"number"!=typeof a&&"bigint"!=typeof a||null!==(o=t.blockedSegment)&&(o.lastPushedText=Ce(o.chunks,""+a,e.renderState,o.lastPushedText))}}function Ei(e,t,r,i){var a=t.keyPath;if(-1===i||(t.keyPath=[t.keyPath,"Fragment",i],null===t.replay)){if(o=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(i=0;i<s;i++)c=r[i],t.treeContext=fr(o,s,i),"number"==typeof(u=l[i])?(_i(e,t,u,c,i),delete l[i]):Ii(e,t,c,i);return t.treeContext=o,void(t.keyPath=a)}for(l=0;l<s;l++)i=r[l],t.treeContext=fr(o,s,l),Ii(e,t,i,l);t.treeContext=o,t.keyPath=a}else{for(var o=t.replay,s=o.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===i){i=c[2],c=c[3],t.replay={nodes:i,slots:c,pendingTasks:1};try{if(Ei(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===vr||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=bi(t.componentStack);var u=t.blockedBoundary;Ai(e,u,i,c,d,r=yi(e,d,r))}t.replay=o,s.splice(l,1);break}}t.keyPath=a}}function Ti(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function zi(e,t,n){return gi(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Ri(e,t,n){var r=t.blockedSegment,i=mi(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,hi(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.componentStack,t.isFallback)}function Ii(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c)try{return Ci(e,t,n,r)}catch(p){if($r(),"object"==typeof(n=p===vr?kr():p)&&null!==n){if("function"==typeof n.then)return e=zi(e,t,r=Br()).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=zi(e,t,n=Br()),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void ur(a)}}else{var u=c.children.length,d=c.chunks.length;try{return Ci(e,t,n,r)}catch(f){if($r(),c.children.length=u,c.chunks.length=d,"object"==typeof(n=f===vr?kr():f)&&null!==n){if("function"==typeof n.then)return e=Ri(e,t,r=Br()).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void ur(a);if("Maximum call stack size exceeded"===n.message)return n=Ri(e,t,n=Br()),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=l,void ur(a)}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,ur(a),n}function Oi(e){var t=e.blockedBoundary;null!==(e=e.blockedSegment)&&(e.status=3,Li(this,t,e))}function Ai(e,t,r,i,a,o){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)Ai(e,t,l[2],l[3],a,o);else{l=l[5];var c=e,u=o,d=fi(0,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==i){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof i)for(var p in i)delete i[p]}}function Fi(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}if(i=bi(e.componentStack),null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return yi(t,n,i),void ki(t,n);r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(e=yi(t,n,i),Ai(t,null,r.nodes,r.slots,n,e)),t.pendingRootTasks--,0===t.pendingRootTasks&&Di(t)}}else r.pendingTasks--,4!==r.status&&(r.status=4,e=yi(t,n,i),r.status=4,r.errorDigest=e,Ti(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(e){return Fi(e,t,n)}),r.fallbackAbortableTasks.clear();t.allPendingTasks--,0===t.allPendingTasks&&ji(t)}function Mi(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=", "),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=", "),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();e:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,p=d.href,f=u.props,h=Yn(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=h.length+2)))break e;n.resets.style[p]=ae,a&&(a+=", "),a+=h,n.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:ae}}r(a?{Link:a}:{})}}}catch(g){yi(e,g,{})}}function Di(e){null===e.trackedPostpones&&Mi(e,!0),null===e.trackedPostpones&&Hi(e),e.onShellError=li,(e=e.onShellReady)()}function ji(e){Mi(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Hi(e),(e=e.onAllReady)()}function Ni(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Ni(e,n)}else e.completedSegments.push(t)}function Li(e,t,r){if(null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&Di(e)}else t.pendingTasks--,4!==t.status&&(0===t.pendingTasks?(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&1===r.status&&Ni(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status&&(t.fallbackAbortableTasks.forEach(Oi,e),t.fallbackAbortableTasks.clear(),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Hi(e))):null!==r&&r.parentFlushed&&1===r.status&&(Ni(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&ji(e)}function Bi(e){if(14!==e.status&&13!==e.status){var t=ir,r=te.H;te.H=ei;var i=te.A;te.A=ni;var a=di;di=e;var o=ti;ti=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var p=u;if(0!==c.replay.pendingTasks){ur(c.context);try{if("number"==typeof c.replay.slots?_i(p,c,c.replay.slots,c.node,c.childIndex):Pi(p,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),Li(p,c.blockedBoundary,null)}catch(C){$r();var f=C===vr?kr():C;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var h=c.ping;f.then(h,h),c.thenableState=Br()}else{c.replay.pendingTasks--,c.abortSet.delete(c);var g=bi(c.componentStack);u=void 0;var m=p,v=c.blockedBoundary,b=12===p.status?p.fatalError:f;Ai(m,v,c.replay.nodes,c.replay.slots,b,u=yi(m,b,g)),p.pendingRootTasks--,0===p.pendingRootTasks&&Di(p),p.allPendingTasks--,0===p.allPendingTasks&&ji(p)}}}}else if(p=void 0,0===(m=d).status){m.status=6,ur(c.context);var y=m.children.length,k=m.chunks.length;try{Pi(u,c),m.lastPushedText&&m.textEmbedded&&m.chunks.push(_e),c.abortSet.delete(c),m.status=1,Li(u,c.blockedBoundary,m)}catch(C){$r(),m.children.length=y,m.chunks.length=k;var x=C===vr?kr():12===u.status?u.fatalError:C;if("object"==typeof x&&null!==x&&"function"==typeof x.then){m.status=0,c.thenableState=Br();var w=c.ping;x.then(w,w)}else{var S=bi(c.componentStack);c.abortSet.delete(c),m.status=4;var _=c.blockedBoundary;p=yi(u,x,S),null===_?ki(u,x):(_.pendingTasks--,4!==_.status&&(_.status=4,_.errorDigest=p,Ti(u,_),_.parentFlushed&&u.clientRenderedBoundaries.push(_),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==_.contentPreamble&&Hi(u))),u.allPendingTasks--,0===u.allPendingTasks&&ji(u)}}}}l.splice(0,s),null!==e.destination&&Qi(e,e.destination)}catch(P){yi(e,P,{}),ki(e,P)}finally{ti=o,te.H=r,te.A=i,r===ei&&ur(t),di=a}}}function $i(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Wi(e,t.children[i],n)||r;return r}function Wi(e,t,r){var i=t.boundary;if(null===i)return $i(e,t,r);var a=i.contentPreamble,o=i.fallbackPreamble;if(null===a||null===o)return!1;switch(i.status){case 1:if(ft(e.renderState,a),!(t=i.completedSegments[0]))throw Error(n(391));return $i(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return ft(e.renderState,o),$i(e,t,r);default:return!0}}function Hi(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=Wi(e,e.completedRootSegment,t),r=e.renderState.preamble;(!1===n||r.headChunks&&r.bodyChunks)&&(e.completedPreambleSegments=t)}}function Vi(e,t,r,i){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return i=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,A(t,gt),A(t,e.placeholderPrefix),A(t,e=j(i.toString(16))),F(t,mt);case 1:r.status=2;var a=!0,o=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)A(t,o[s]);a=Ui(e,t,a,i)}for(;s<o.length-1;s++)A(t,o[s]);return s<o.length&&(a=F(t,o[s])),a;default:throw Error(n(390))}}function Ui(e,t,r,i){var a=r.boundary;if(null===a)return Vi(e,t,r,i);if(a.parentFlushed=!0,4===a.status){var o=a.errorDigest;return F(t,kt),A(t,wt),o&&(A(t,_t),A(t,j(K(o))),A(t,St)),F(t,Ct),Vi(e,t,r,i),(e=a.fallbackPreamble)&&zt(t,e),F(t,xt)}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Pt(t,e.renderState,a.rootSegmentID),i&&((a=a.fallbackState).styles.forEach(Zn,i),a.stylesheets.forEach(Jn,i)),Vi(e,t,r,i),F(t,xt);if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Pt(t,e.renderState,a.rootSegmentID),Vi(e,t,r,i),F(t,xt);if(i&&((r=a.contentState).styles.forEach(Zn,i),r.stylesheets.forEach(Jn,i)),F(t,vt),1!==(r=a.completedSegments).length)throw Error(n(391));return Ui(e,t,r[0],i),(e=a.contentPreamble)&&zt(t,e),F(t,xt)}function qi(e,t,r,i){return function(e,t,r,i){switch(r.insertionMode){case 0:case 1:case 3:case 2:return A(e,Rt),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,It);case 4:return A(e,At),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,Ft);case 5:return A(e,Dt),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,jt);case 6:return A(e,Lt),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,Bt);case 7:return A(e,Wt),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,Ht);case 8:return A(e,Ut),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,qt);case 9:return A(e,Gt),A(e,t.segmentPrefix),A(e,j(i.toString(16))),F(e,Qt);default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),Ui(e,t,r,i),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return F(e,Ot);case 4:return F(e,Mt);case 5:return F(e,Nt);case 6:return F(e,$t);case 7:return F(e,Vt);case 8:return F(e,Yt);case 9:return F(e,Kt);default:throw Error(n(397))}}(t,r.parentFormatContext)}function Yi(e,t,r){for(var i=r.completedSegments,a=0;a<i.length;a++)Gi(e,t,r,i[a]);i.length=0,Tn(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,a=r.rootSegmentID,r=r.contentState;var o=e.stylesToHoist;return e.stylesToHoist=!1,A(t,e.startInlineScript),o?2&i.instructions?8&i.instructions?A(t,on):(i.instructions|=8,A(t,an)):(i.instructions|=10,A(t,rn)):2&i.instructions?A(t,nn):(i.instructions|=2,A(t,tn)),i=j(a.toString(16)),A(t,e.boundaryPrefix),A(t,i),A(t,sn),A(t,e.segmentPrefix),A(t,i),o?(A(t,ln),function(e,t){A(e,Bn);var r=Bn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)A(e,r),A(e,j(yn(""+t.props.href))),A(e,Hn),r=$n;else{A(e,r);var i=t.props["data-precedence"],a=t.props,o=ee(""+t.props.href);for(var s in A(e,j(yn(o))),i=""+i,A(e,Wn),A(e,j(yn(i))),a)if(W.call(a,s)&&null!=(i=a[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Vn(e,s,i)}A(e,Hn),r=$n,t.state=3}}),A(e,Hn)}(t,r)):A(t,cn),r=F(t,un),ht(t,e)&&r}function Gi(e,t,r,i){if(2===i.status)return!0;var a=r.contentState,o=i.id;if(-1===o){if(-1===(i.id=r.rootSegmentID))throw Error(n(392));return qi(e,t,i,a)}return o===r.rootSegmentID?qi(e,t,i,a):(qi(e,t,i,a),r=e.resumableState,A(t,(e=e.renderState).startInlineScript),1&r.instructions?A(t,Zt):(r.instructions|=1,A(t,Xt)),A(t,e.segmentPrefix),A(t,o=j(o.toString(16))),A(t,Jt),A(t,e.placeholderPrefix),A(t,o),t=F(t,en))}function Qi(e,t){I=new Uint8Array(2048),O=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;var a,o=e.renderState,s=o.preamble,l=s.htmlChunks,c=s.headChunks;if(l){for(a=0;a<l.length;a++)A(t,l[a]);if(c)for(a=0;a<c.length;a++)A(t,c[a]);else A(t,ct("head")),A(t,Ve)}else if(c)for(a=0;a<c.length;a++)A(t,c[a]);var u=o.charsetChunks;for(a=0;a<u.length;a++)A(t,u[a]);u.length=0,o.preconnects.forEach(zn,t),o.preconnects.clear();var d=o.viewportChunks;for(a=0;a<d.length;a++)A(t,d[a]);d.length=0,o.fontPreloads.forEach(zn,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(zn,t),o.highImagePreloads.clear(),o.styles.forEach(jn,t);var p=o.importMapChunks;for(a=0;a<p.length;a++)A(t,p[a]);p.length=0,o.bootstrapScripts.forEach(zn,t),o.scripts.forEach(zn,t),o.scripts.clear(),o.bulkPreloads.forEach(zn,t),o.bulkPreloads.clear();var f=o.hoistableChunks;for(a=0;a<f.length;a++)A(t,f[a]);for(o=f.length=0;o<i.length;o++){var h=i[o];for(s=0;s<h.length;s++)Ui(e,t,h[s],null)}var g=e.renderState.preamble,m=g.headChunks;(g.htmlChunks||m)&&A(t,pt("head"));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)A(t,v[i]);Ui(e,t,r,null),e.completedRootSegment=null,ht(t,e.renderState)}var b=e.renderState;r=0;var y=b.viewportChunks;for(r=0;r<y.length;r++)A(t,y[r]);y.length=0,b.preconnects.forEach(zn,t),b.preconnects.clear(),b.fontPreloads.forEach(zn,t),b.fontPreloads.clear(),b.highImagePreloads.forEach(zn,t),b.highImagePreloads.clear(),b.styles.forEach(Ln,t),b.scripts.forEach(zn,t),b.scripts.clear(),b.bulkPreloads.forEach(zn,t),b.bulkPreloads.clear();var k=b.hoistableChunks;for(r=0;r<k.length;r++)A(t,k[r]);k.length=0;var x=e.clientRenderedBoundaries;for(n=0;n<x.length;n++){var w=x[n];b=t;var S=e.resumableState,_=e.renderState,C=w.rootSegmentID,P=w.errorDigest;A(b,_.startInlineScript),4&S.instructions?A(b,pn):(S.instructions|=4,A(b,dn)),A(b,_.boundaryPrefix),A(b,j(C.toString(16))),A(b,fn),P&&(A(b,hn),A(b,j(vn(P||""))));var E=F(b,gn);if(!E)return e.destination=null,n++,void x.splice(0,n)}x.splice(0,n);var T=e.completedBoundaries;for(n=0;n<T.length;n++)if(!Yi(e,t,T[n]))return e.destination=null,n++,void T.splice(0,n);T.splice(0,n),M(t),I=new Uint8Array(2048),O=0;var z=e.partialBoundaries;for(n=0;n<z.length;n++){var R=z[n];e:{x=e,w=t;var D=R.completedSegments;for(E=0;E<D.length;E++)if(!Gi(x,w,R,D[E])){E++,D.splice(0,E);var N=!1;break e}D.splice(0,E),N=Tn(w,R.contentState,x.renderState)}if(!N)return e.destination=null,n++,void z.splice(0,n)}z.splice(0,n);var L=e.completedBoundaries;for(n=0;n<L.length;n++)if(!Yi(e,t,L[n]))return e.destination=null,n++,void L.splice(0,n);L.splice(0,n)}}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&A(t,pt("body")),n.hasHtml&&A(t,pt("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function Ki(e){e.flushScheduled=null!==e.destination,R(function(){return Bi(e)}),E(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&Mi(e,0===e.pendingRootTasks)})}function Xi(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,E(function(){var t=e.destination;t?Qi(e,t):e.flushScheduled=!1}))}function Zi(e,t){if(13===e.status)e.status=14,B(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Qi(e,t)}catch(n){yi(e,n,{}),ki(e,n)}}}function Ji(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var i=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=i,r.forEach(function(t){return Fi(t,e,i)}),r.clear()}null!==e.destination&&Qi(e,e.destination)}catch(a){yi(e,a,{}),ki(e,a)}}function ea(){var t=e.version;if("19.1.1"!==t)throw Error(n(527,t,"19.1.1"))}return ea(),ea(),mS.prerender=function(e,t){return new Promise(function(n,r){var i,a=t?t.onHeaders:void 0;a&&(i=function(e){a(new Headers(e))});var o=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=function(e,t,r,i,a,o,l,c,u,d,p){return(e=ui(e,t,r,i,a,o,function(){var e={prelude:new ReadableStream({type:"bytes",pull:function(e){Zi(s,e)},cancel:function(e){s.destination=null,Ji(s,e)}},{highWaterMark:0})};n(e)},void 0,void 0,d,p,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,o,be(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),we(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var l=t.signal;if(l.aborted)Ji(s,l.reason);else{var c=function(){Ji(s,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}}Ki(s)})},mS.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o,s=new Promise(function(e,t){a=e,i=t}),l=t?t.onHeaders:void 0;l&&(o=function(e){l(new Headers(e))});var c=ye(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=ui(e,c,be(c,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,o,t?t.maxHeadersLength:void 0),we(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){Zi(u,e)},cancel:function(e){u.destination=null,Ji(u,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Ji(u,d.reason);else{var p=function(){Ji(u,d.reason),d.removeEventListener("abort",p)};d.addEventListener("abort",p)}}Ki(u)})},mS.version="19.1.1",mS}function bS(){return gS||(gS=1,e=fS(),t=vS(),dS.version=e.version,dS.renderToString=e.renderToString,dS.renderToStaticMarkup=e.renderToStaticMarkup,dS.renderToReadableStream=t.renderToReadableStream,t.resume&&(dS.resume=t.resume)),dS;var e,t}var yS,kS,xS,wS,SS,_S,CS={exports:{}};function PS(){return kS?yS:(kS=1,yS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function ES(){if(wS)return xS;wS=1;var e=PS();function t(){}function n(){}return n.resetWarningCache=t,xS=function(){function r(t,n,r,i,a,o){if(o!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}function TS(){return SS||(SS=1,CS.exports=ES()()),CS.exports}function zS(){if(_S)return sS;_S=1,Object.defineProperty(sS,"__esModule",{value:!0});var e=y(),t=lS,n=cS,r=N(),a=bS(),o=TS();function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e),c=s(n),u=s(o),d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{};function p(e,t){return e(t={exports:{}},t.exports),t.exports}var f=p(function(e){var t,n,r,i,a,o,s,l,c,u,p,f,h,g,m;t=d,n=function(e,t,r){if(!l(t)||u(t)||p(t)||f(t)||s(t))return t;var i,a=0,o=0;if(c(t))for(i=[],o=t.length;a<o;a++)i.push(n(e,t[a],r));else for(var d in i={},t)Object.prototype.hasOwnProperty.call(t,d)&&(i[e(d,r)]=n(e,t[d],r));return i},r=function(e){return h(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},i=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return(n=e,r=t,i=(r=r||{}).separator||"_",a=r.split||/(?=[A-Z])/,n.split(a).join(i)).toLowerCase();var n,r,i,a},o=Object.prototype.toString,s=function(e){return"function"==typeof e},l=function(e){return e===Object(e)},c=function(e){return"[object Array]"==o.call(e)},u=function(e){return"[object Date]"==o.call(e)},p=function(e){return"[object RegExp]"==o.call(e)},f=function(e){return"[object Boolean]"==o.call(e)},h=function(e){return(e-=0)==e},g=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!=typeof n?e:function(t,r){return n(t,e,r)}},m={camelize:r,decamelize:a,pascalize:i,depascalize:a,camelizeKeys:function(e,t){return n(g(r,t),e)},decamelizeKeys:function(e,t){return n(g(a,t),e,t)},pascalizeKeys:function(e,t){return n(g(i,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=m:t.humps=m}).decamelize,h=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},g=p(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}e.exports=t}),m=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},v=e.createContext(null);function b(e){var t=e.children,n=void 0===t?"":t,r=m(e,["children"]);return"string"!=typeof n&&(n=a.renderToString(n)),l.default.createElement("template",g({},r,{dangerouslySetInnerHTML:{__html:n}}))}function k(e){var t=e.root,n=e.children,i=void 0===n?null:n;return r.createPortal(i,t)}b.propTypes={children:u.default.oneOfType([u.default.string,u.default.node])},k.propTypes={root:u.default.object.isRequired,children:u.default.node};var x=new Map;function w(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"core",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e.children};return new Proxy(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{get:function(r,i){var a=f(i,{separator:"-"}),o="".concat(t,"-").concat(a);return x.has(o)||x.set(o,function(t){var n=e.forwardRef(function(n,i){var a,o,s=n.mode,c=void 0===s?"open":s,u=n.delegatesFocus,d=void 0!==u&&u,p=n.styleSheets,f=void 0===p?[]:p,y=n.ssr,x=void 0!==y&&y,w=n.children,S=m(n,["mode","delegatesFocus","styleSheets","ssr","children"]),_=(a=i,o=e.useRef(a&&a.current),e.useEffect(function(){a&&(a.current=o.current)},[a]),o),C=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,o=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done)&&(n.push(s.value),n.length!==t);i=!0);}catch(r){a=!0,o=r}finally{try{i||null==l.return||l.return()}finally{if(a)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.useState(null),2),P=C[0],E=C[1],T="node_".concat(c).concat(d);return e.useLayoutEffect(function(){if(_.current)try{if("function"==typeof i&&i(_.current),x){var e=_.current.shadowRoot;return void E(e)}var t=_.current.attachShadow({mode:c,delegatesFocus:d});f.length>0&&(t.adoptedStyleSheets=f),E(t)}catch(r){!function(e){var t=e.error,n=e.styleSheets,r=e.root;if("NotSupportedError"!==t.name)throw t;n.length>0&&(r.adoptedStyleSheets=n)}({error:r,styleSheets:f,root:P})}},[i,_,f]),l.default.createElement(l.default.Fragment,null,l.default.createElement(t.tag,g({key:T,ref:_},S),(P||x)&&l.default.createElement(v.Provider,{value:P},x?l.default.createElement(b,{shadowroot:c,shadowrootmode:c},t.render({root:P,ssr:x,children:w})):l.default.createElement(k,{root:P},t.render({root:P,ssr:x,children:w})))))});return n.propTypes={mode:u.default.oneOf(["open","closed"]),delegatesFocus:u.default.bool,styleSheets:u.default.arrayOf(u.default.instanceOf(globalThis.CSSStyleSheet)),ssr:u.default.bool,children:u.default.node},n}({tag:a,render:n})),x.get(o)}})}w();var S=new WeakMap,_=w({},"emotion",function(e){var n,r=e.root,i=e.children,a=S.get(r)||(n=c.default({container:r,key:"react-shadow"}),S.set(r,n),n);return l.default.createElement(t.CacheProvider,{value:a},l.default.createElement(l.default.Fragment,null,i))});return sS.default=_,sS}const RS=a(zS()),IS=":host",OS=(e,t,n)=>e?.[t]||n,AS=e=>{const t={cssVarsRoot:IS,conditions:{light:`${IS} &, .light &`},preflight:{scope:IS},globalCss:{[IS]:Vg.globalCss?.html??{}},theme:{tokens:{fonts:{heading:{value:"'Estedad-FD', system-ui, sans-serif"},body:{value:"'Estedad-FD', system-ui, sans-serif"}},colors:(()=>{const{primary:t,background:n,text:r,accent:i}=(e=>({primary:OS(e,"primary","#0070f3"),background:OS(e,"background","#f7fafc"),text:OS(e,"textPrimary","#1a202c"),accent:OS(e,"error","#ff383c")}))(e),a=qw(n,r,.05),o=Hw(r,.6),s=qw(n,r,.1),l=Uw(t,10),c=Uw(t,15);return{primary:{value:t},background:{value:n},text:{value:r},error:{value:i},errorBackground:{value:Hw(i,.14)},darkPrimary:{value:l},veryDarkPrimary:{value:c},lightBackground:{value:a},veryLightBackground:{value:Vw(a,5)},mutedText:{value:o},borderColor:{value:s}}})(),fontWeights:{100:{value:"100"},200:{value:"200"},300:{value:"300"},400:{value:"400"},500:{value:"500"},600:{value:"600"},700:{value:"700"},800:{value:"800"},900:{value:"900"},thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}},spacing:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},28:{value:"112px"},32:{value:"128px"},36:{value:"144px"},40:{value:"160px"},44:{value:"176px"},48:{value:"192px"},52:{value:"208px"},56:{value:"224px"},60:{value:"240px"},64:{value:"256px"},72:{value:"288px"},80:{value:"320px"},96:{value:"384px"}},fontSizes:{"2xs":{value:"10px"},xs:{value:"12px"},sm:{value:"14px"},md:{value:"16px"},lg:{value:"18px"},xl:{value:"20px"},"2xl":{value:"24px"},"3xl":{value:"30px"},"4xl":{value:"36px"},"5xl":{value:"48px"},"6xl":{value:"60px"},"7xl":{value:"72px"},"8xl":{value:"96px"},"9xl":{value:"128px"}},borderWidths:{0:{value:"0px"},1:{value:"1px"},2:{value:"2px"},4:{value:"4px"},8:{value:"8px"}},radii:{none:{value:"0px"},sm:{value:"2px"},md:{value:"4px"},lg:{value:"8px"},xl:{value:"12px"},"2xl":{value:"16px"},"3xl":{value:"24px"},"4xl":{value:"32px"},full:{value:"9999px"}},lineHeights:{3:{value:"12px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},none:{value:"1"},tight:{value:"1.25"},snug:{value:"1.375"},normal:{value:"1.5"},relaxed:{value:"1.625"},loose:{value:"2"}},sizes:{0:{value:"0px"},.5:{value:"2px"},1:{value:"4px"},1.5:{value:"6px"},2:{value:"8px"},2.5:{value:"10px"},3:{value:"12px"},3.5:{value:"14px"},4:{value:"16px"},5:{value:"20px"},6:{value:"24px"},7:{value:"28px"},8:{value:"32px"},9:{value:"36px"},10:{value:"40px"},12:{value:"48px"},14:{value:"56px"},16:{value:"64px"},20:{value:"80px"},24:{value:"96px"},full:{value:"100%"},"3xs":{value:"224px"},"2xs":{value:"256px"},xs:{value:"320px"},sm:{value:"384px"},md:{value:"448px"},lg:{value:"512px"},xl:{value:"576px"},"2xl":{value:"672px"},"3xl":{value:"768px"},"4xl":{value:"896px"},"5xl":{value:"1024px"},"6xl":{value:"1152px"},"7xl":{value:"1280px"},"8xl":{value:"1440px"}}}}};return bf(Vg,t)};function FS({children:e}){const{botData:t}=Wc(),n=k.useMemo(()=>AS(t?.theme),[t?.theme]);return g.jsx(en,{value:n,children:e})}function MS({children:e}){const[t,n]=k.useState(null),[r,i]=k.useState(null);return k.useEffect(()=>{if(!t?.shadowRoot||r)return;const e=qe({key:"root",container:t.shadowRoot});i(e)},[t,r]),g.jsx(RS.div,{ref:n,style:{display:"block",backgroundColor:"transparent"},children:t&&r&&g.jsx(cd,{value:()=>t.shadowRoot??document,children:g.jsx(Ct,{value:r,children:g.jsx($c,{children:g.jsx(FS,{children:e})})})})})}AS();class DS extends k.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){Ec(e,{errorInfo:{componentStack:t.componentStack}})}render(){return this.state.hasError?null:this.props.children}}function jS(){if(document.getElementById("mori-react-widget-host"))return;const e=document.createElement("div");e.id="mori-react-widget-host";const t=document.querySelector("#dori-widget-container");t?.appendChild(e);const n=$.createRoot(e);return n.render(g.jsx(x.StrictMode,{children:g.jsx(DS,{children:g.jsx(MS,{children:g.jsx(oS,{})})})})),()=>{n.unmount()}}export{jS as initializeDoriWidget};