diff --git a/assets/index-b37a4fb7.js b/assets/index-5af9ec5c.js similarity index 95% rename from assets/index-b37a4fb7.js rename to assets/index-5af9ec5c.js index c872c4a..a2db1a7 100644 --- a/assets/index-b37a4fb7.js +++ b/assets/index-5af9ec5c.js @@ -1,4 +1,4 @@ -var jm=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var q=(e,t,n)=>(jm(e,t,"read from private field"),n?n.call(e):t.get(e)),ze=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Re=(e,t,n,r)=>(jm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var ut=(e,t,n)=>(jm(e,t,"access private method"),n);function tO(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var bc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v={},nO={get exports(){return v},set exports(e){v=e}},th={},h={},rO={get exports(){return h},set exports(e){h=e}},Ue={};/** +var jm=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var q=(e,t,n)=>(jm(e,t,"read from private field"),n?n.call(e):t.get(e)),ze=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Ae=(e,t,n,r)=>(jm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var ut=(e,t,n)=>(jm(e,t,"access private method"),n);function tO(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var bc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v={},nO={get exports(){return v},set exports(e){v=e}},th={},h={},rO={get exports(){return h},set exports(e){h=e}},Ue={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var jm=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var q=(e,t,n)=>(jm(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var gf=Symbol.for("react.element"),oO=Symbol.for("react.portal"),iO=Symbol.for("react.fragment"),aO=Symbol.for("react.strict_mode"),sO=Symbol.for("react.profiler"),lO=Symbol.for("react.provider"),cO=Symbol.for("react.context"),uO=Symbol.for("react.forward_ref"),dO=Symbol.for("react.suspense"),fO=Symbol.for("react.memo"),pO=Symbol.for("react.lazy"),l6=Symbol.iterator;function hO(e){return e===null||typeof e!="object"?null:(e=l6&&e[l6]||e["@@iterator"],typeof e=="function"?e:null)}var z9={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U9=Object.assign,H9={};function Nc(e,t,n){this.props=e,this.context=t,this.refs=H9,this.updater=n||z9}Nc.prototype.isReactComponent={};Nc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};Nc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function V9(){}V9.prototype=Nc.prototype;function Iy(e,t,n){this.props=e,this.context=t,this.refs=H9,this.updater=n||z9}var Py=Iy.prototype=new V9;Py.constructor=Iy;U9(Py,Nc.prototype);Py.isPureReactComponent=!0;var c6=Array.isArray,W9=Object.prototype.hasOwnProperty,Oy={current:null},Z9={key:!0,ref:!0,__self:!0,__source:!0};function G9(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)W9.call(t,r)&&!Z9.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1{if(!t.has(e))throw TypeError("Cannot "+n)};var q=(e,t,n)=>(jm(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var bO=h,wO=Symbol.for("react.element"),xO=Symbol.for("react.fragment"),SO=Object.prototype.hasOwnProperty,EO=bO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_O={key:!0,ref:!0,__self:!0,__source:!0};function X9(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)SO.call(t,r)&&!_O.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:wO,type:e,key:i,ref:a,props:o,_owner:EO.current}}th.Fragment=xO;th.jsx=X9;th.jsxs=X9;(function(e){e.exports=th})(nO);var dr={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},So=console,is={};Object.keys(dr).forEach(function(e){is[e]=So[e]});var fu="Datadog Browser SDK:",qe={debug:is.debug.bind(So,fu),log:is.log.bind(So,fu),info:is.info.bind(So,fu),warn:is.warn.bind(So,fu),error:is.error.bind(So,fu)};function q9(e,t){return function(){for(var n=[],r=0;r=0&&e<=100}function Bc(e){return typeof e=="number"}var Jn=1e3,rr=60*Jn,K9=60*rr,$O=24*K9,TO=365*$O;function My(e){return{relative:e,timeStamp:AO(e)}}function AO(e){var t=Fo()-performance.now();return t>vf()?Math.round(zc(t,e)):FO(e)}function RO(){return Math.round(Fo()-zc(vf(),performance.now()))}function It(e){return Bc(e)?j0(e*1e6,0):e}function Fo(){return new Date().getTime()}function Ot(){return Fo()}function so(){return performance.now()}function Xn(){return{relative:so(),timeStamp:Ot()}}function Y9(){return{relative:0,timeStamp:vf()}}function vr(e,t){return t-e}function zc(e,t){return e+t}function Ly(e){return e-vf()}function FO(e){return Math.round(zc(vf(),e))}function IO(e){return e=0;n-=1){var r=e[n];if(t(r,n,e))return r}}function DO(e,t){Array.prototype.forEach.call(e,t)}function wc(e){return Object.keys(e).map(function(t){return e[t]})}function By(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function nh(e,t){return e.slice(0,t.length)===t}function MO(e,t){return e.slice(-t.length)===t}function LO(e,t){return e.matches?e.matches(t):e.msMatchesSelector?e.msMatchesSelector(t):!1}function bi(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,n){return n?t==="\0"?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function De(e){for(var t=[],n=1;n>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,or)}function F2(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")),r=n.exec(e);return r?r[1]:void 0}function tE(e,t,n){n===void 0&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319,i=o?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(n)}var Hc=4*K9,nE=15*rr,ep;function VO(){return ep??(ep=!!document.documentMode)}var tp;function WO(){return tp??(tp=!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent))}var np;function ZO(){return np??(np=/^((?!chrome|android).)*safari/i.test(navigator.userAgent))}function rh(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",l=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(i,";path=/;samesite=").concat(a).concat(s).concat(l)}function To(e){return F2(document.cookie,e)}function Hy(e,t){rh(e,"",0,t)}function GO(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(or()),n="test";rh(t,n,rr,e);var r=To(t)===n;return Hy(t,e),r}catch(o){return qe.error(o),!1}}var Lm;function XO(){if(Lm===void 0){for(var e="dd_site_test_".concat(or()),t="test",n=window.location.hostname.split("."),r=n.pop();n.length&&!To(e);)r="".concat(n.pop(),".").concat(r),rh(e,t,Jn,{domain:r});Hy(e,{domain:r}),Lm=r}return Lm}var Ws="_dd_s",rE=/^([a-z]+)=([a-z0-9-]+)$/,Vy="&";function I2(e){return Io(e)}function oE(e){e.expire=String(Fo()+nE)}function iE(e){return By(e).map(function(t){var n=t[0],r=t[1];return"".concat(n,"=").concat(r)}).join(Vy)}function aE(e){var t={};return qO(e)&&e.split(Vy).forEach(function(n){var r=rE.exec(n);if(r!==null){var o=r[1],i=r[2];t[o]=i}}),t}function qO(e){return!!e&&(e.indexOf(Vy)!==-1||rE.test(e))}var KO="_dd",YO="_dd_r",QO="_dd_l",JO="rum",ej="logs";function tj(e){var t=To(Ws);if(!t){var n=To(KO),r=To(YO),o=To(QO),i={};n&&(i.id=n),o&&/^[01]$/.test(o)&&(i[ej]=o),r&&/^[012]$/.test(r)&&(i[JO]=r),I2(i)||(oE(i),e.persistSession(i))}}function nj(e){var t=sj(e);return GO(t)?{type:"Cookie",cookieOptions:t}:void 0}function rj(e){var t={isLockEnabled:WO(),persistSession:oj(e),retrieveSession:ij,clearSession:aj(e)};return tj(t),t}function oj(e){return function(t){rh(Ws,iE(t),nE,e)}}function ij(){var e=To(Ws);return aE(e)}function aj(e){return function(){Hy(Ws,e)}}function sj(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=XO()),t}var lj="_dd_test_";function cj(){try{var e=or(),t="".concat(lj).concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch{return}}function uj(){return{isLockEnabled:!1,persistSession:dj,retrieveSession:fj,clearSession:pj}}function dj(e){localStorage.setItem(Ws,iE(e))}function fj(){var e=localStorage.getItem(Ws);return aE(e)}function pj(){localStorage.removeItem(Ws)}var hj=10,mj=100,sE=[],a0;function Zu(e,t,n){var r;n===void 0&&(n=0);var o=t.isLockEnabled,i=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(a0||(a0=e),e!==a0){sE.push(e);return}if(o&&n>=mj){d6(t);return}var l,c=i();if(o){if(c.lock){rp(e,t,n);return}if(l=or(),c.lock=l,a(c),c=i(),c.lock!==l){rp(e,t,n);return}}var u=e.process(c);if(o&&(c=i(),c.lock!==l)){rp(e,t,n);return}if(u&&(I2(u)?s():(oE(u),a(u))),o&&!(u&&I2(u))){if(c=i(),c.lock!==l){rp(e,t,n);return}delete c.lock,a(c),u=c}(r=e.after)===null||r===void 0||r.call(e,u||c),d6(t)}function rp(e,t,n){An(function(){Zu(e,t,n+1)},hj)}function d6(e){a0=void 0;var t=sE.shift();t&&Zu(t,e)}var f6=Jn;function gj(e){var t=nj(e);return!t&&e.allowFallbackToLocalStorage&&(t=cj()),t}function vj(e,t,n){var r=new Et,o=new Et,i=e.type==="Cookie"?rj(e.cookieOptions):uj(),a=i.clearSession,s=i.retrieveSession,l=yf(f,f6),c=x();function u(){var _;Zu({process:function(E){var C=p(E);return _=m(C),C},after:function(E){_&&!g()&&b(E),c=E}},i)}function d(){Zu({process:function(_){return g()?p(_):void 0}},i)}function f(){Zu({process:function(_){return S(_)?void 0:{}},after:p},i)}function p(_){return S(_)||(_={}),g()&&(w(_)?y():c=_),_}function m(_){var E=n(_[t]),C=E.trackingType,k=E.isTracked;return _[t]=C,k&&!_.id&&(_.id=or(),_.created=String(Fo())),k}function g(){return c[t]!==void 0}function w(_){return c.id!==_.id||c[t]!==_[t]}function y(){c={},o.notify()}function b(_){c=_,r.notify()}function x(){var _=s();return S(_)?_:{}}function S(_){return(_.created===void 0||Fo()-Number(_.created)"}finally{r(),o(),i(),a()}}function Rl(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):ct}function Wy(e){return oh(e,xj()).href}function yj(e){try{return!!oh(e)}catch{return!1}}function bj(e){var t=oh(e).pathname;return t[0]==="/"?t:"/".concat(t)}function oh(e,t){var n=wj();if(n)try{return t!==void 0?new n(e,t):new n(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(Zs({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var r=document,o=r.createElement("a");if(t!==void 0){r=document.implementation.createHTMLDocument("");var i=r.createElement("base");i.href=t,r.head.appendChild(i),r.body.appendChild(o)}return o.href=e,o}var p6=URL,op;function wj(){if(op===void 0)try{var e=new p6("http://test/path");op=e.href==="http://test/path"}catch{op=!1}return op?p6:void 0}function xj(){return Sj(window.location)}function Sj(e){if(e.origin&&e.origin!=="null")return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}var lE="datad0g.com",ql="datadoghq.com",Ej="datadoghq.eu",_j="ddog-gov.com";function Gu(e,t,n){var r=Cj(e,t);return{build:function(o,i){var a=$j(e,t,n,o,i);return r(a)},urlPrefix:r(""),trackType:t}}function Cj(e,t){var n="/api/v2/".concat(t),r=e.proxy;if(r){var o=Wy(r);return function(a){return"".concat(o,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(a)))}}var i=kj(e);return function(a){return"https://".concat(i).concat(n,"?").concat(a)}}function kj(e){var t=e.site,n=t===void 0?ql:t,r=e.internalAnalyticsSubdomain;if(r&&n===ql)return"".concat(r,".").concat(ql);var o=n.split("."),i=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(i)}function $j(e,t,n,r,o){var i=e.clientToken,a=e.internalAnalyticsSubdomain,s=o.retry,l=o.flushReason,c=o.encoding,u=["sdk_version:".concat("5.1.0"),"api:".concat(r)].concat(n);l&&Ri(jr.COLLECT_FLUSH_REASON)&&u.push("flush_reason:".concat(l)),s&&u.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var d=["ddsource=browser","ddtags=".concat(encodeURIComponent(u.join(","))),"dd-api-key=".concat(i),"dd-evp-origin-version=".concat(encodeURIComponent("5.1.0")),"dd-evp-origin=browser","dd-request-id=".concat(or())];return c&&d.push("dd-evp-encoding=".concat(c)),t==="rum"&&d.push("batch_time=".concat(Ot())),a&&d.reverse(),d.join("&")}var Tj=200;function Aj(e){var t=e.env,n=e.service,r=e.version,o=e.datacenter,i=[];return t&&i.push(ip("env",t)),n&&i.push(ip("service",n)),r&&i.push(ip("version",r)),o&&i.push(ip("datacenter",o)),i}var Rj=/[^a-z0-9_:./-]/;function ip(e,t){var n=Tj-e.length-1;(t.length>n||Rj.test(t))&&qe.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function Fj(e){var t=Aj(e),n=Ij(e,t),r=wc(n).map(function(i){return i.urlPrefix}),o=Pj(e,r,t);return De({isIntakeUrl:function(i){return r.some(function(a){return i.indexOf(a)===0})},replica:o,site:e.site||ql},n)}function Ij(e,t){return{logsEndpointBuilder:Gu(e,"logs",t),rumEndpointBuilder:Gu(e,"rum",t),sessionReplayEndpointBuilder:Gu(e,"replay",t)}}function Pj(e,t,n){if(e.replica){var r=De({},e,{site:ql,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:Gu(r,"logs",n),rumEndpointBuilder:Gu(r,"rum",n)};return t.push.apply(t,wc(o).map(function(i){return i.urlPrefix})),De({applicationId:e.replica.applicationId},o)}}var Xu={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function cE(e){var t,n,r;if(!e||!e.clientToken){qe.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!Wu(e.sessionSampleRate)){qe.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!Wu(e.telemetrySampleRate)){qe.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!Wu(e.telemetryConfigurationSampleRate)){qe.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(e.enableExperimentalFeatures)&&CO(e.enableExperimentalFeatures.filter(function(o){return zy(jr,o)})),De({beforeSend:e.beforeSend&&q9(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:gj(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(n=e.telemetrySampleRate)!==null&&n!==void 0?n:20,telemetryConfigurationSampleRate:(r=e.telemetryConfigurationSampleRate)!==null&&r!==void 0?r:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,batchBytesLimit:16*Sa,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Jn,batchMessagesLimit:50,messageBytesLimit:256*Sa},Fj(e))}function uE(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function dE(e,t,n){var r=e[t],o=n(r),i=function(){if(typeof o=="function")return o.apply(this,arguments)};return e[t]=i,{stop:function(){e[t]===i?e[t]=r:o=r}}}function fr(e,t,n){var r=n.before,o=n.after;return dE(e,t,function(i){return function(){var a=arguments,s;return r&&_a(r,this,a),typeof i=="function"&&(s=i.apply(this,a)),o&&_a(o,this,a),s}})}function pu(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:ct};var o=function(a,s){An(function(){n(a,s)},0)},i=function(a){r.set.call(this,a),o(this,a)};return Object.defineProperty(e,t,{set:i}),{stop:function(){var a;((a=Object.getOwnPropertyDescriptor(e,t))===null||a===void 0?void 0:a.set)===i?Object.defineProperty(e,t,r):o=ct}}}var bf="?";function Wo(e){var t=[],n=Nm(e,"stack"),r=String(e);return n&&nh(n,r)&&(n=n.slice(r.length)),n&&n.split(` + */var bO=h,wO=Symbol.for("react.element"),xO=Symbol.for("react.fragment"),SO=Object.prototype.hasOwnProperty,EO=bO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_O={key:!0,ref:!0,__self:!0,__source:!0};function X9(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)SO.call(t,r)&&!_O.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:wO,type:e,key:i,ref:a,props:o,_owner:EO.current}}th.Fragment=xO;th.jsx=X9;th.jsxs=X9;(function(e){e.exports=th})(nO);var dr={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},So=console,is={};Object.keys(dr).forEach(function(e){is[e]=So[e]});var fu="Datadog Browser SDK:",qe={debug:is.debug.bind(So,fu),log:is.log.bind(So,fu),info:is.info.bind(So,fu),warn:is.warn.bind(So,fu),error:is.error.bind(So,fu)};function q9(e,t){return function(){for(var n=[],r=0;r=0&&e<=100}function Bc(e){return typeof e=="number"}var Jn=1e3,rr=60*Jn,K9=60*rr,$O=24*K9,TO=365*$O;function My(e){return{relative:e,timeStamp:AO(e)}}function AO(e){var t=Fo()-performance.now();return t>vf()?Math.round(zc(t,e)):FO(e)}function RO(){return Math.round(Fo()-zc(vf(),performance.now()))}function It(e){return Bc(e)?jp(e*1e6,0):e}function Fo(){return new Date().getTime()}function Ot(){return Fo()}function so(){return performance.now()}function Xn(){return{relative:so(),timeStamp:Ot()}}function Y9(){return{relative:0,timeStamp:vf()}}function vr(e,t){return t-e}function zc(e,t){return e+t}function Ly(e){return e-vf()}function FO(e){return Math.round(zc(vf(),e))}function IO(e){return e=0;n-=1){var r=e[n];if(t(r,n,e))return r}}function DO(e,t){Array.prototype.forEach.call(e,t)}function wc(e){return Object.keys(e).map(function(t){return e[t]})}function By(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function nh(e,t){return e.slice(0,t.length)===t}function MO(e,t){return e.slice(-t.length)===t}function LO(e,t){return e.matches?e.matches(t):e.msMatchesSelector?e.msMatchesSelector(t):!1}function bi(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,n){return n?t==="\0"?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function De(e){for(var t=[],n=1;n>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,or)}function F2(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")),r=n.exec(e);return r?r[1]:void 0}function tE(e,t,n){n===void 0&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319,i=o?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(n)}var Hc=4*K9,nE=15*rr,e0;function VO(){return e0??(e0=!!document.documentMode)}var t0;function WO(){return t0??(t0=!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent))}var n0;function ZO(){return n0??(n0=/^((?!chrome|android).)*safari/i.test(navigator.userAgent))}function rh(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",l=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(i,";path=/;samesite=").concat(a).concat(s).concat(l)}function To(e){return F2(document.cookie,e)}function Hy(e,t){rh(e,"",0,t)}function GO(e){if(document.cookie===void 0||document.cookie===null)return!1;try{var t="dd_cookie_test_".concat(or()),n="test";rh(t,n,rr,e);var r=To(t)===n;return Hy(t,e),r}catch(o){return qe.error(o),!1}}var Lm;function XO(){if(Lm===void 0){for(var e="dd_site_test_".concat(or()),t="test",n=window.location.hostname.split("."),r=n.pop();n.length&&!To(e);)r="".concat(n.pop(),".").concat(r),rh(e,t,Jn,{domain:r});Hy(e,{domain:r}),Lm=r}return Lm}var Ws="_dd_s",rE=/^([a-z]+)=([a-z0-9-]+)$/,Vy="&";function I2(e){return Io(e)}function oE(e){e.expire=String(Fo()+nE)}function iE(e){return By(e).map(function(t){var n=t[0],r=t[1];return"".concat(n,"=").concat(r)}).join(Vy)}function aE(e){var t={};return qO(e)&&e.split(Vy).forEach(function(n){var r=rE.exec(n);if(r!==null){var o=r[1],i=r[2];t[o]=i}}),t}function qO(e){return!!e&&(e.indexOf(Vy)!==-1||rE.test(e))}var KO="_dd",YO="_dd_r",QO="_dd_l",JO="rum",ej="logs";function tj(e){var t=To(Ws);if(!t){var n=To(KO),r=To(YO),o=To(QO),i={};n&&(i.id=n),o&&/^[01]$/.test(o)&&(i[ej]=o),r&&/^[012]$/.test(r)&&(i[JO]=r),I2(i)||(oE(i),e.persistSession(i))}}function nj(e){var t=sj(e);return GO(t)?{type:"Cookie",cookieOptions:t}:void 0}function rj(e){var t={isLockEnabled:WO(),persistSession:oj(e),retrieveSession:ij,clearSession:aj(e)};return tj(t),t}function oj(e){return function(t){rh(Ws,iE(t),nE,e)}}function ij(){var e=To(Ws);return aE(e)}function aj(e){return function(){Hy(Ws,e)}}function sj(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=XO()),t}var lj="_dd_test_";function cj(){try{var e=or(),t="".concat(lj).concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch{return}}function uj(){return{isLockEnabled:!1,persistSession:dj,retrieveSession:fj,clearSession:pj}}function dj(e){localStorage.setItem(Ws,iE(e))}function fj(){var e=localStorage.getItem(Ws);return aE(e)}function pj(){localStorage.removeItem(Ws)}var hj=10,mj=100,sE=[],ap;function Zu(e,t,n){var r;n===void 0&&(n=0);var o=t.isLockEnabled,i=t.retrieveSession,a=t.persistSession,s=t.clearSession;if(ap||(ap=e),e!==ap){sE.push(e);return}if(o&&n>=mj){d6(t);return}var l,c=i();if(o){if(c.lock){r0(e,t,n);return}if(l=or(),c.lock=l,a(c),c=i(),c.lock!==l){r0(e,t,n);return}}var u=e.process(c);if(o&&(c=i(),c.lock!==l)){r0(e,t,n);return}if(u&&(I2(u)?s():(oE(u),a(u))),o&&!(u&&I2(u))){if(c=i(),c.lock!==l){r0(e,t,n);return}delete c.lock,a(c),u=c}(r=e.after)===null||r===void 0||r.call(e,u||c),d6(t)}function r0(e,t,n){An(function(){Zu(e,t,n+1)},hj)}function d6(e){ap=void 0;var t=sE.shift();t&&Zu(t,e)}var f6=Jn;function gj(e){var t=nj(e);return!t&&e.allowFallbackToLocalStorage&&(t=cj()),t}function vj(e,t,n){var r=new Et,o=new Et,i=e.type==="Cookie"?rj(e.cookieOptions):uj(),a=i.clearSession,s=i.retrieveSession,l=yf(f,f6),c=x();function u(){var _;Zu({process:function(E){var C=p(E);return _=m(C),C},after:function(E){_&&!g()&&b(E),c=E}},i)}function d(){Zu({process:function(_){return g()?p(_):void 0}},i)}function f(){Zu({process:function(_){return S(_)?void 0:{}},after:p},i)}function p(_){return S(_)||(_={}),g()&&(w(_)?y():c=_),_}function m(_){var E=n(_[t]),C=E.trackingType,k=E.isTracked;return _[t]=C,k&&!_.id&&(_.id=or(),_.created=String(Fo())),k}function g(){return c[t]!==void 0}function w(_){return c.id!==_.id||c[t]!==_[t]}function y(){c={},o.notify()}function b(_){c=_,r.notify()}function x(){var _=s();return S(_)?_:{}}function S(_){return(_.created===void 0||Fo()-Number(_.created)"}finally{r(),o(),i(),a()}}function Rl(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):ct}function Wy(e){return oh(e,xj()).href}function yj(e){try{return!!oh(e)}catch{return!1}}function bj(e){var t=oh(e).pathname;return t[0]==="/"?t:"/".concat(t)}function oh(e,t){var n=wj();if(n)try{return t!==void 0?new n(e,t):new n(e)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(Zs({url:e,base:t})))}if(t===void 0&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var r=document,o=r.createElement("a");if(t!==void 0){r=document.implementation.createHTMLDocument("");var i=r.createElement("base");i.href=t,r.head.appendChild(i),r.body.appendChild(o)}return o.href=e,o}var p6=URL,o0;function wj(){if(o0===void 0)try{var e=new p6("http://test/path");o0=e.href==="http://test/path"}catch{o0=!1}return o0?p6:void 0}function xj(){return Sj(window.location)}function Sj(e){if(e.origin&&e.origin!=="null")return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}var lE="datad0g.com",ql="datadoghq.com",Ej="datadoghq.eu",_j="ddog-gov.com";function Gu(e,t,n){var r=Cj(e,t);return{build:function(o,i){var a=$j(e,t,n,o,i);return r(a)},urlPrefix:r(""),trackType:t}}function Cj(e,t){var n="/api/v2/".concat(t),r=e.proxy;if(r){var o=Wy(r);return function(a){return"".concat(o,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(a)))}}var i=kj(e);return function(a){return"https://".concat(i).concat(n,"?").concat(a)}}function kj(e){var t=e.site,n=t===void 0?ql:t,r=e.internalAnalyticsSubdomain;if(r&&n===ql)return"".concat(r,".").concat(ql);var o=n.split("."),i=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(i)}function $j(e,t,n,r,o){var i=e.clientToken,a=e.internalAnalyticsSubdomain,s=o.retry,l=o.flushReason,c=o.encoding,u=["sdk_version:".concat("5.1.0"),"api:".concat(r)].concat(n);l&&Ri(jr.COLLECT_FLUSH_REASON)&&u.push("flush_reason:".concat(l)),s&&u.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var d=["ddsource=browser","ddtags=".concat(encodeURIComponent(u.join(","))),"dd-api-key=".concat(i),"dd-evp-origin-version=".concat(encodeURIComponent("5.1.0")),"dd-evp-origin=browser","dd-request-id=".concat(or())];return c&&d.push("dd-evp-encoding=".concat(c)),t==="rum"&&d.push("batch_time=".concat(Ot())),a&&d.reverse(),d.join("&")}var Tj=200;function Aj(e){var t=e.env,n=e.service,r=e.version,o=e.datacenter,i=[];return t&&i.push(i0("env",t)),n&&i.push(i0("service",n)),r&&i.push(i0("version",r)),o&&i.push(i0("datacenter",o)),i}var Rj=/[^a-z0-9_:./-]/;function i0(e,t){var n=Tj-e.length-1;(t.length>n||Rj.test(t))&&qe.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function Fj(e){var t=Aj(e),n=Ij(e,t),r=wc(n).map(function(i){return i.urlPrefix}),o=Pj(e,r,t);return De({isIntakeUrl:function(i){return r.some(function(a){return i.indexOf(a)===0})},replica:o,site:e.site||ql},n)}function Ij(e,t){return{logsEndpointBuilder:Gu(e,"logs",t),rumEndpointBuilder:Gu(e,"rum",t),sessionReplayEndpointBuilder:Gu(e,"replay",t)}}function Pj(e,t,n){if(e.replica){var r=De({},e,{site:ql,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:Gu(r,"logs",n),rumEndpointBuilder:Gu(r,"rum",n)};return t.push.apply(t,wc(o).map(function(i){return i.urlPrefix})),De({applicationId:e.replica.applicationId},o)}}var Xu={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function cE(e){var t,n,r;if(!e||!e.clientToken){qe.error("Client Token is not configured, we will not send any data.");return}if(e.sessionSampleRate!==void 0&&!Wu(e.sessionSampleRate)){qe.error("Session Sample Rate should be a number between 0 and 100");return}if(e.telemetrySampleRate!==void 0&&!Wu(e.telemetrySampleRate)){qe.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(e.telemetryConfigurationSampleRate!==void 0&&!Wu(e.telemetryConfigurationSampleRate)){qe.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(e.enableExperimentalFeatures)&&CO(e.enableExperimentalFeatures.filter(function(o){return zy(jr,o)})),De({beforeSend:e.beforeSend&&q9(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:gj(e),sessionSampleRate:(t=e.sessionSampleRate)!==null&&t!==void 0?t:100,telemetrySampleRate:(n=e.telemetrySampleRate)!==null&&n!==void 0?n:20,telemetryConfigurationSampleRate:(r=e.telemetryConfigurationSampleRate)!==null&&r!==void 0?r:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,batchBytesLimit:16*Sa,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Jn,batchMessagesLimit:50,messageBytesLimit:256*Sa},Fj(e))}function uE(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents}}function dE(e,t,n){var r=e[t],o=n(r),i=function(){if(typeof o=="function")return o.apply(this,arguments)};return e[t]=i,{stop:function(){e[t]===i?e[t]=r:o=r}}}function fr(e,t,n){var r=n.before,o=n.after;return dE(e,t,function(i){return function(){var a=arguments,s;return r&&_a(r,this,a),typeof i=="function"&&(s=i.apply(this,a)),o&&_a(o,this,a),s}})}function pu(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:ct};var o=function(a,s){An(function(){n(a,s)},0)},i=function(a){r.set.call(this,a),o(this,a)};return Object.defineProperty(e,t,{set:i}),{stop:function(){var a;((a=Object.getOwnPropertyDescriptor(e,t))===null||a===void 0?void 0:a.set)===i?Object.defineProperty(e,t,r):o=ct}}}var bf="?";function Wo(e){var t=[],n=Nm(e,"stack"),r=String(e);return n&&nh(n,r)&&(n=n.slice(r.length)),n&&n.split(` `).forEach(function(o){var i=Dj(o)||Lj(o)||Bj(o)||Hj(o);i&&(!i.func&&i.line&&(i.func=bf),t.push(i))}),{message:Nm(e,"message"),name:Nm(e,"name"),stack:t}}var fE="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",xc="(?::(\\d+))",Oj=new RegExp("^\\s*at (.*?) ?\\(".concat(fE).concat(xc,"?").concat(xc,"?\\)?\\s*$"),"i"),jj=new RegExp("\\((\\S*)".concat(xc).concat(xc,"\\)"));function Dj(e){var t=Oj.exec(e);if(t){var n=t[2]&&t[2].indexOf("native")===0,r=t[2]&&t[2].indexOf("eval")===0,o=jj.exec(t[2]);return r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||bf,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}}var Mj=new RegExp("^\\s*at ?".concat(fE).concat(xc,"?").concat(xc,"??\\s*$"),"i");function Lj(e){var t=Mj.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:bf,line:t[2]?+t[2]:void 0,url:t[1]}}var Nj=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Bj(e){var t=Nj.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||bf,line:+t[3],url:t[2]}}var zj=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Uj=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Hj(e){var t=zj.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1,r=Uj.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||bf,line:t[4]?+t[4]:void 0,url:t[3]}}}function Nm(e,t){if(!(typeof e!="object"||!e||!(t in e))){var n=e[t];return typeof n=="string"?n:void 0}}function Vj(e,t,n,r){var o=[{url:t,column:r,line:n}],i=Zj(e),a=i.name,s=i.message;return{name:a,message:s,stack:o}}var Wj=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function Zj(e){var t,n,r;return{}.toString.call(e)==="[object String]"&&(t=Wj.exec(e),n=t[1],r=t[2]),{name:n,message:r}}var Gj=220*Sa,Xj="$",qj=3;function hn(e,t){var n;t===void 0&&(t=Gj);var r=Rl(Object.prototype),o=Rl(Array.prototype),i=[],a=new WeakMap,s=Bm(e,Xj,void 0,i,a),l=((n=JSON.stringify(s))===null||n===void 0?void 0:n.length)||0;if(l>t){zm(t,"discarded",e);return}for(;i.length>0&&lt){zm(t,"truncated",e);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f=Bm(c.source[d],c.path,d,i,a);if(f!==void 0&&(l+=JSON.stringify(f).length+u+d.length+qj,u=1),l>t){zm(t,"truncated",e);break}c.target[d]=f}}return r(),o(),s}function Bm(e,t,n,r,o){var i=Qj(e);if(!i||typeof i!="object")return Kj(i);var a=Yj(i);if(a!=="[Object]"&&a!=="[Array]"&&a!=="[Error]")return a;var s=e;if(o.has(s))return"[Reference seen at ".concat(o.get(s),"]");var l=n!==void 0?"".concat(t,".").concat(n):t,c=Array.isArray(i)?[]:{};return o.set(s,l),r.push({source:i,target:c,path:l}),c}function Kj(e){return typeof e=="bigint"?"[BigInt] ".concat(e.toString()):typeof e=="function"?"[Function] ".concat(e.name||"unknown"):typeof e=="symbol"?"[Symbol] ".concat(e.description||e.toString()):e}function Yj(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e),n=t.match(/\[object (.*)\]/);if(n&&n[1])return"[".concat(n[1],"]")}catch{}return"[Unserializable]"}function Qj(e){var t=e;if(t&&typeof t.toJSON=="function")try{return t.toJSON()}catch{}return e}function zm(e,t,n){qe.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}var pE="No stack, consider using an instance of Error";function Zy(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,o=e.startClocks,i=e.nonErrorPrefix,a=e.source,s=e.handling,l=n instanceof Error,c=Jj(t,l,i,n),u=eD(l,t)?Gs(t):pE,d=l?nD(n,a):void 0,f=t==null?void 0:t.name,p=hE(n);return{startClocks:o,source:a,handling:s,handlingStack:r,originalError:n,type:f,message:c,stack:u,causes:d,fingerprint:p}}function Jj(e,t,n,r){return e!=null&&e.message&&(e!=null&&e.name)?e.message:t?"Empty message":"".concat(n," ").concat(Zs(hn(r)))}function eD(e,t){return t===void 0?!1:e?!0:t.stack.length>0&&(t.stack.length>1||t.stack[0].url!==void 0)}function hE(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function Gs(e){var t=mE(e);return e.stack.forEach(function(n){var r=n.func==="?"?"":n.func,o=n.args&&n.args.length>0?"(".concat(n.args.join(", "),")"):"",i=n.line?":".concat(n.line):"",a=n.line&&n.column?":".concat(n.column):"";t+=` - at `.concat(r).concat(o," @ ").concat(n.url).concat(i).concat(a)}),t}function tD(e){var t;return(t=/@ (.+)/.exec(e))===null||t===void 0?void 0:t[1]}function mE(e){return"".concat(e.name||"Error",": ").concat(e.message)}function gE(){var e=2,t=new Error,n;if(!t.stack)try{throw t}catch{}return _a(function(){var r=Wo(t);r.stack=r.stack.slice(e),n=Gs(r)}),n}function nD(e,t){for(var n=e,r=[];(n==null?void 0:n.cause)instanceof Error&&r.length<10;){var o=Wo(n.cause);r.push({message:n.cause.message,source:t,type:o==null?void 0:o.name,stack:o&&Gs(o)}),n=n.cause}return r.length?r:void 0}var ir={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function vE(e){var t=function(o,i){var a=Zy({stackTrace:o,originalError:i,startClocks:Xn(),nonErrorPrefix:"Uncaught",source:ir.SOURCE,handling:"unhandled"});e.notify(a)},n=rD(t).stop,r=oD(t).stop;return{stop:function(){n(),r()}}}function rD(e){return fr(window,"onerror",{before:function(t,n,r,o,i){var a;i instanceof Error?a=Wo(i):a=Vj(t,n,r,o),e(a,i??t)}})}function oD(e){return fr(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=Wo(n);e(r,n)}})}function yE(e){var t=De({version:"5.1.0",onReady:function(n){n()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return UO},enumerable:!1}),t}function bE(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach(function(o){return q9(o,"onReady callback threw an error:")()})}var le;(function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"})(le||(le={}));function Vt(e,t,n,r,o){return er(e,t,[n],r,o)}function er(e,t,n,r,o){var i=o===void 0?{}:o,a=i.once,s=i.capture,l=i.passive,c=ve(function(p){!p.isTrusted&&!p.__ddIsTrusted&&!e.allowUntrustedEvents||(a&&f(),r(p))}),u=l?{capture:s,passive:l}:s,d=Ea(t,"addEventListener");n.forEach(function(p){return d.call(t,p,c,u)});function f(){var p=Ea(t,"removeEventListener");n.forEach(function(m){return p.call(t,m,c,u)})}return{stop:f}}var Po={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function wE(e,t){var n=[];Dr(t,Po.cspViolation)&&n.push(aD(e));var r=t.filter(function(o){return o!==Po.cspViolation});return r.length&&n.push(iD(r)),eE.apply(void 0,n)}function iD(e){var t=new Et(function(){if(window.ReportingObserver){var n=ve(function(o,i){return o.forEach(function(a){t.notify(sD(a))})}),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}});return t}function aD(e){var t=new Et(function(){var n=Vt(e,document,le.SECURITY_POLICY_VIOLATION,function(r){t.notify(lD(r))}).stop;return n});return t}function sD(e){var t=e.type,n=e.body;return{type:t,subtype:n.id,message:"".concat(t,": ").concat(n.message),stack:xE(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}function lD(e){var t=Po.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:Po.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:xE(e.effectiveDirective,e.originalPolicy?"".concat(n,' of the policy "').concat(tE(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber)}}function xE(e,t,n,r,o){return n?Gs({name:e,message:t,stack:[{func:"?",url:n,line:r??void 0,column:o??void 0}]}):void 0}function ih(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function Ma(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function M0(e,t,n){if(n===void 0&&(n=cD()),t===void 0)return e;if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var o=Array.isArray(e)?e:[],i=0;i=0;return r||t.push(n),r}}}var Gy={log:"log",configuration:"configuration"},uD=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],dD=[_j],wo={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},P2;function SE(e,t){var n,r=new Et;wo.telemetryEnabled=!Dr(dD,t.site)&&As(t.telemetrySampleRate),wo.telemetryConfigurationEnabled=wo.telemetryEnabled&&As(t.telemetryConfigurationSampleRate);var o=fD();P2=function(a){if(wo.telemetryEnabled){var s=i(e,a,o);r.notify(s),ih("telemetry",s)}},zO(L0),De(wo,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function i(a,s,l){return In({type:"telemetry",date:Ot(),service:a,version:"5.1.0",source:"browser",_dd:{format_version:2},telemetry:In(s,{runtime_env:l}),experimental_features:Ny(kO())},n!==void 0?n():{})}return{setContextProvider:function(a){n=a},observable:r,enabled:wo.telemetryEnabled}}function fD(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function EE(e){return e.site===lE}function Pi(e,t){R2(dr.debug,e,t),Xy(De({type:Gy.log,message:e,status:"debug"},t))}function L0(e,t){Xy(De({type:Gy.log,status:"error"},pD(e),t))}function _E(e){wo.telemetryConfigurationEnabled&&Xy({type:Gy.configuration,configuration:e})}function Xy(e){P2&&wo.sentEventCount=0&&r.entries.splice(i,1)},close:function(i){o.endTime=i}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(o),o},e.prototype.find=function(t){t===void 0&&(t=ap);for(var n=0,r=this.entries;n0&&this.entries[this.entries.length-1].endTime=500}function $E(e){try{return e.clone()}catch{return}}var wD=80*Sa,xD=32,TE=3*Q9,SD=rr,AE=Jn;function RE(e,t,n,r,o){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?IE(e,t,n,{onSuccess:function(){return PE(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),FE(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function FE(e,t,n,r){e.transportStatus===2&&An(function(){var o=e.queuedPayloads.first();IE(o,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=AE,PE(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(SD,e.currentBackoffTime*2),FE(e,t,n,r)}})},e.currentBackoffTime)}function IE(e,t,n,r){var o=r.onSuccess,i=r.onFailure;t.bandwidthMonitor.add(e),n(e,function(a){t.bandwidthMonitor.remove(e),ED(a)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:a.status},i()):(t.transportStatus=0,o())})}function PE(e,t,n,r,o){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(TE/Q9,"MiB"),source:ir.AGENT,startClocks:Xn()}),t.queueFullReported=!0);var i=t.queuedPayloads;for(t.queuedPayloads=OE();i.size()>0;)RE(i.dequeue(),t,n,r,o)}function ED(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||kE(e.status))}function _D(){return{transportStatus:0,currentBackoffTime:AE,bandwidthMonitor:CD(),queuedPayloads:OE(),queueFullReported:!1}}function OE(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=TE}}}function CD(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=wD&&this.ongoingRequestCount=this.messageBytesLimit){qe.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(n)&&this.remove(n),this.push(o,i,n)},e.prototype.process=function(t){var n=Zs(t),r=fd(n);return{processedMessage:n,messageBytesCount:r}},e.prototype.push=function(t,n,r){var o=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(n+o),r!==void 0?this.upsertBuffer[r]=t:this.pushOnlyBuffer.push(t),this.flushController.notifyAfterAddMessage()},e.prototype.remove=function(t){var n=this.upsertBuffer[t];delete this.upsertBuffer[t];var r=fd(n),o=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(r+o)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function ID(e){var t=e.messagesLimit,n=e.bytesLimit,r=e.durationLimit,o=e.pageExitObservable,i=e.sessionExpireObservable,a=o.subscribe(function(g){return d(g.reason)}),s=i.subscribe(function(){return d("session_expire")}),l=new Et(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),c=0,u=0;function d(g){if(u!==0){var w=u,y=c;u=0,c=0,m(),l.notify({reason:g,messagesCount:w,bytesCount:y})}}var f;function p(){f===void 0&&(f=An(function(){d("duration_limit")},r))}function m(){Eo(f),f=void 0}return{flushObservable:l,get messagesCount(){return u},notifyBeforeAddMessage:function(g){c+g>=n&&d("bytes_limit"),u+=1,c+=g,p()},notifyAfterAddMessage:function(){u>=t?d("messages_limit"):c>=n&&d("bytes_limit")},notifyAfterRemoveMessage:function(g){c-=g,u-=1,u===0&&m()}}}function qy(e,t,n,r,o,i){var a=l(e,t.endpoint),s=n&&l(e,n.endpoint);function l(c,u){return new FD(jE(c,u,c.batchBytesLimit,r),ID({messagesLimit:c.batchMessagesLimit,bytesLimit:c.batchBytesLimit,durationLimit:c.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),c.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(c,u){u===void 0&&(u=!0),a.add(c),s&&u&&s.add(n.transformMessage?n.transformMessage(c):c)},upsert:function(c,u){a.upsert(c,u),s&&s.upsert(n.transformMessage?n.transformMessage(c):c,u)},stop:function(){a.stop(),s==null||s.stop()}}}function PD(e){var t=new Set;return e.forEach(function(n){return t.add(n)}),Ny(t)}var LE=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,n){var r=this.callbacks[t];r&&r.forEach(function(o){return o(n)})},e.prototype.subscribe=function(t,n){var r=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),{unsubscribe:function(){r.callbacks[t]=r.callbacks[t].filter(function(o){return n!==o})}}},e}();function j2(e,t,n){var r=0,o=!1;return{isLimitReached:function(){if(r===0&&An(function(){r=0},rr),r+=1,r<=t||o)return o=!1,!1;if(r===t+1){o=!0;try{n({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:ir.AGENT,startClocks:Xn()})}finally{o=!1}}return!0}}}function Ky(e,t,n){if(document.readyState===t||document.readyState==="complete")n();else{var r=t==="complete"?le.LOAD:le.DOM_CONTENT_LOADED;Vt(e,window,r,n,{once:!0})}}var Um,Yy=new WeakMap;function NE(e){return Um||(Um=OD(e)),Um}function OD(e){var t=new Et(function(){var n=fr(XMLHttpRequest.prototype,"open",{before:jD}).stop,r=fr(XMLHttpRequest.prototype,"send",{before:function(){DD.call(this,e,t)}}).stop,o=fr(XMLHttpRequest.prototype,"abort",{before:MD}).stop;return function(){n(),r(),o()}});return t}function jD(e,t){Yy.set(this,{state:"open",method:e.toUpperCase(),url:Wy(String(t))})}function DD(e,t){var n=this,r=Yy.get(this);if(r){var o=r;o.state="start",o.startClocks=Xn(),o.isAborted=!1,o.xhr=this;var i=!1,a=fr(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&s()}}).stop,s=function(){if(l(),a(),!i){i=!0;var c=r;c.state="complete",c.duration=vr(o.startClocks.timeStamp,Ot()),c.status=n.status,t.notify(pd(c))}},l=Vt(e,this,"loadend",s).stop;t.notify(o)}}function MD(){var e=Yy.get(this);e&&(e.isAborted=!0)}var Hm;function BE(){return Hm||(Hm=LD()),Hm}function LD(){var e=new Et(function(){if(window.fetch){var t=dE(window,"fetch",function(n){return function(r,o){var i,a=_a(ND,null,[e,r,o]);return a?(i=n.call(this,a.input,a.init),_a(BD,null,[e,i,a])):i=n.call(this,r,o),i}}).stop;return t}});return e}function ND(e,t,n){var r=n&&n.method||t instanceof Request&&t.method,o=r?r.toUpperCase():"GET",i=t instanceof Request?t.url:Wy(String(t)),a=Xn(),s={state:"start",init:n,input:t,method:o,startClocks:a,url:i};return e.notify(s),s}function BD(e,t,n){var r=function(o){var i=n;i.state="resolve","stack"in o||o instanceof Error?(i.status=0,i.isAborted=o instanceof DOMException&&o.code===DOMException.ABORT_ERR,i.error=o):"status"in o&&(i.response=o,i.responseType=o.type,i.status=o.status,i.isAborted=!1),e.notify(i)};t.then(ve(r),ve(r))}var Vm={};function zE(e){var t=e.map(function(n){return Vm[n]||(Vm[n]=zD(n)),Vm[n]});return eE.apply(void 0,t)}function zD(e){var t=new Et(function(){var n=So[e];return So[e]=function(){for(var r=[],o=0;oVD&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach(function(t){return t()}),this.buffer.length=0},e}(),al,m6=3*Sa,WD=(al={},al[0]="feature flag evaluation",al[1]="user",al[2]="global context",al[3]="logger context",al);function UE(e,t){return e>m6?(qe.warn("The ".concat(WD[t]," data exceeds the recommended ").concat(m6/Sa,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0):!1}var ZD=200;function Sc(e,t){t===void 0&&(t=fd);var n={},r,o=!1,i=new Et,a=Ii(function(l){r=t(Zs(l)),o||(o=UE(r,e))},ZD).throttled,s={getBytesCount:function(){return r},getContext:function(){return hd(n)},setContext:function(l){Ma(l)==="object"?(n=hn(l),a(n)):s.clearContext(),i.notify()},setContextProperty:function(l,c){n[l]=hn(c),a(n),i.notify()},removeContextProperty:function(l){delete n[l],a(n),i.notify()},clearContext:function(){n={},r=0,i.notify()},changeObservable:i};return s}var GD="_dd_c",XD=[];function N0(e,t,n,r){r===void 0&&(r=fd);var o=qD(t,n),i=Sc(n,r);return a(),XD.push(Vt(e,window,le.STORAGE,function(l){var c=l.key;o===c&&a()})),i.changeObservable.subscribe(s),i;function a(){var l=localStorage.getItem(o),c=l!==null?JSON.parse(l):{};i.setContext(c)}function s(){localStorage.setItem(o,JSON.stringify(i.getContext()))}}function qD(e,t){return"".concat(GD,"_").concat(e,"_").concat(t)}function HE(e,t,n){var r=e.getReader(),o=[],i=0;a();function a(){r.read().then(ve(function(l){if(l.done){s();return}n.collectStreamBody&&o.push(l.value),i+=l.value.length,i>n.bytesLimit?s():a()}),ve(function(l){return t(l)}))}function s(){r.cancel().catch(ct);var l,c;if(n.collectStreamBody){var u;if(o.length===1)u=o[0];else{u=new Uint8Array(i);var d=0;o.forEach(function(f){u.set(f,d),d+=f.length})}l=u.slice(0,n.bytesLimit),c=u.length>n.bytesLimit}t(void 0,l,c)}}var KD="datadog-synthetics-public-id",YD="datadog-synthetics-result-id",QD="datadog-synthetics-injects-rum";function ah(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||To(QD))}function VE(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||To(KD);return typeof e=="string"?e:void 0}function WE(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||To(YD);return typeof e=="string"?e:void 0}function B0(e){var t=De({},e),n=["id","name","email"];return n.forEach(function(r){r in t&&(t[r]=String(t[r]))}),t}function ZE(e){var t=Ma(e)==="object";return t||qe.error("Unsupported user:",e),t}function Qy(e){var t=Ma(e);return t==="string"||t==="function"||e instanceof RegExp}function GE(e,t,n){return n===void 0&&(n=!1),e.some(function(r){try{if(typeof r=="function")return r(t);if(r instanceof RegExp)return r.test(t);if(typeof r=="string")return n?nh(t,r):r===t}catch(o){qe.error(o)}return!1})}var JD=32*Sa;function eM(e){var t=cE(e),n=g6(e.forwardConsoleLogs,wc(dr),"Forward Console Logs"),r=g6(e.forwardReports,wc(Po),"Forward Reports");if(!(!t||!n||!r))return e.forwardErrorsToLogs&&!Dr(n,dr.error)&&n.push(dr.error),De({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:JD},t)}function g6(e,t,n){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(r){return Dr(t,r)}))){qe.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:PD(e)}function tM(e){var t=uE(e);return De({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}var nM=globalThis&&globalThis.__decorate||function(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},kt={debug:"debug",error:"error",info:"info",warn:"warn"},M2={console:"console",http:"http",silent:"silent"},rM=Object.keys(kt),v6=function(){function e(t,n,r,o,i){r===void 0&&(r=M2.http),o===void 0&&(o=kt.debug),i===void 0&&(i={}),this.handleLogStrategy=t,this.handlerType=r,this.level=o,this.contextManager=Sc(3),this.contextManager.setContext(i),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,n,r,o){r===void 0&&(r=kt.info);var i;if(o!=null){var a=o instanceof Error?Wo(o):void 0,s=Zy({stackTrace:a,originalError:o,nonErrorPrefix:"Provided",source:ir.LOGGER,handling:"handled",startClocks:Xn()});i={stack:s.stack,kind:s.type,message:s.message}}var l=hn(n),c=i?In({error:i},l):l;this.handleLogStrategy({message:hn(t),context:c,status:r},this)},e.prototype.debug=function(t,n,r){this.log(t,n,kt.debug,r)},e.prototype.info=function(t,n,r){this.log(t,n,kt.info,r)},e.prototype.warn=function(t,n,r){this.log(t,n,kt.warn,r)},e.prototype.error=function(t,n,r){this.log(t,n,kt.error,r)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,n){this.contextManager.setContextProperty(t,n)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},nM([HO],e.prototype,"log",null),e}(),y6="logs";function oM(e){var t=!1,n=Sc(2),r=Sc(1),o={},i=function(){},a=new D2,s=function(p,m,g,w){g===void 0&&(g=hd(u())),w===void 0&&(w=Ot()),a.add(function(){return s(p,m,g,w)})},l=function(){},c=new v6(function(){for(var p=[],m=0;mt.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function wM(e){return e==="xhr"?"XHR":"Fetch"}function xM(e,t,n){HE(e,function(r,o,i){if(r)n(r);else{var a=new TextDecoder().decode(o);i&&(a+="..."),n(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function SM(e,t){if(!e.forwardErrorsToLogs)return{stop:ct};var n=new Et,r=vE(n).stop,o=n.subscribe(function(i){t.notify(0,{rawLogsEvent:{message:i.message,date:i.startClocks.timeStamp,error:{kind:i.type,stack:i.stack},origin:ir.SOURCE,status:kt.error}})});return{stop:function(){r(),o.unsubscribe()}}}var EM=LE,sl,w6=(sl={},sl[kt.debug]=0,sl[kt.info]=1,sl[kt.warn]=2,sl[kt.error]=3,sl);function _M(e){function t(n,r,o,i){var a=In(r.getContext(),n.context);x6(n.status,M2.console,r)&&CM(n,a),x6(n.status,M2.http,r)&&e.notify(0,{rawLogsEvent:{date:i||Ot(),message:n.message,status:n.status,origin:ir.LOGGER},messageContext:a,savedCommonContext:o})}return{handleLog:t}}function x6(e,t,n){var r=n.getHandler(),o=Array.isArray(r)?r:[r];return w6[e]>=w6[n.getLevel()]&&Dr(o,t)}function CM(e,t){is[e.status].call(So,e.message,t)}function kM(e,t,n,r,o){var i=qy(e,{endpoint:e.logsEndpointBuilder},e.replica&&{endpoint:e.replica.logsEndpointBuilder},n,r,o);return t.subscribe(1,function(a){i.add(a)}),i}function $M(e){var t=wf();e.subscribe(1,function(n){t.send("log",n)})}function TM(e){return{get:function(t){var n=e.findTrackedSession(t);if(n)return{session_id:n.id}}}}function AM(e,t,n){var r=new EM,o=[];r.subscribe(1,function(m){return ih("logs",m)});var i=function(m){r.notify(0,{rawLogsEvent:{message:m.message,date:m.startClocks.timeStamp,origin:ir.AGENT,status:kt.error}}),Pi("Error reported to customer",{"error.message":m.message})},a=DE(t),s=t.sessionStoreStrategyType&&!Lo()&&!ah()?aM(t):sM(t),l=RM(t,i,a,s.expireObservable),c=l.telemetry,u=l.stop;o.push(function(){return u()}),c.setContextProvider(function(){var m,g,w,y,b,x;return{application:{id:(m=s0())===null||m===void 0?void 0:m.application_id},session:{id:(g=s.findTrackedSession())===null||g===void 0?void 0:g.id},view:{id:(y=(w=s0())===null||w===void 0?void 0:w.view)===null||y===void 0?void 0:y.id},action:{id:(x=(b=s0())===null||b===void 0?void 0:b.user_action)===null||x===void 0?void 0:x.id}}}),mM(t,r),SM(t,r),fM(t,r),hM(t,r);var d=_M(r).handleLog;if(uM(s,t,r,n,i),Lo())$M(r);else{var f=kM(t,r,i,a,s.expireObservable).stop;o.push(function(){return f()})}_E(tM(e));var p=TM(s);return{handleLog:d,getInternalContext:p.get,stop:function(){o.forEach(function(m){return m()})}}}function RM(e,t,n,r){var o=SE("browser-logs-sdk",e),i=[];if(Lo()){var a=wf(),s=o.observable.subscribe(function(u){return a.send("internal_telemetry",u)});i.push(function(){return s.unsubscribe()})}else{var l=qy(e,{endpoint:e.rumEndpointBuilder},e.replica&&{endpoint:e.replica.rumEndpointBuilder},t,n,r);i.push(function(){return l.stop()});var c=o.observable.subscribe(function(u){return l.add(u,EE(e))});i.push(function(){return c.unsubscribe()})}return{telemetry:o,stop:function(){i.forEach(function(u){return u()})}}}var qE=oM(AM);bE(Fi(),"DD_LOGS",qE);function FM(e){var t=e;return Ma(t)==="object"&&Qy(t.match)&&Array.isArray(t.propagatorTypes)}function IM(e){e.status===0&&!e.isAborted&&(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function PM(e,t){return{clearTracingIfNeeded:IM,traceFetch:function(n){return S6(e,n,t,function(r){var o;if(n.input instanceof Request&&!(!((o=n.init)===null||o===void 0)&&o.headers))n.input=new Request(n.input),Object.keys(r).forEach(function(a){n.input.headers.append(a,r[a])});else{n.init=pd(n.init);var i=[];n.init.headers instanceof Headers?n.init.headers.forEach(function(a,s){i.push([s,a])}):Array.isArray(n.init.headers)?n.init.headers.forEach(function(a){i.push(a)}):n.init.headers&&Object.keys(n.init.headers).forEach(function(a){i.push([a,n.init.headers[a]])}),n.init.headers=i.concat(By(r))}})},traceXhr:function(n,r){return S6(e,n,t,function(o){Object.keys(o).forEach(function(i){r.setRequestHeader(i,o[i])})})}}}function S6(e,t,n,r){if(!(!OM()||!n.findTrackedSession())){var o=Uc(e.allowedTracingUrls,function(i){return GE([i.match],t.url,!0)});o&&(t.traceId=new E6,t.spanId=new E6,t.traceSampled=!Bc(e.traceSampleRate)||As(e.traceSampleRate),r(jM(t.traceId,t.spanId,t.traceSampled,o.propagatorTypes)))}}function OM(){return KE()!==void 0}function KE(){return window.crypto||window.msCrypto}function jM(e,t,n,r){var o={};return r.forEach(function(i){switch(i){case"datadog":{De(o,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toDecimalString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":e.toDecimalString()});break}case"tracecontext":{De(o,{traceparent:"00-0000000000000000".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-0").concat(n?"1":"0")});break}case"b3":{De(o,{b3:"".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-").concat(n?"1":"0")});break}case"b3multi":{De(o,{"X-B3-TraceId":e.toPaddedHexadecimalString(),"X-B3-SpanId":t.toPaddedHexadecimalString(),"X-B3-Sampled":n?"1":"0"});break}}}),o}var E6=function(){function e(){this.buffer=new Uint8Array(8),KE().getRandomValues(this.buffer),this.buffer[0]=this.buffer[0]&127}return e.prototype.toString=function(t){var n=this.readInt32(0),r=this.readInt32(4),o="";do{var i=n%t*4294967296+r;n=Math.floor(n/t),r=Math.floor(i/t),o=(i%t).toString(t)+o}while(n||r);return o},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},e.prototype.readInt32=function(t){return this.buffer[t]*16777216+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},e}(),YE=["tracecontext","datadog"];function DM(e){var t,n;if(!e.applicationId){qe.error("Application ID is not configured, no RUM data will be collected.");return}if(e.sessionReplaySampleRate!==void 0&&!Wu(e.sessionReplaySampleRate)){qe.error("Session Replay Sample Rate should be a number between 0 and 100");return}if(e.traceSampleRate!==void 0&&!Wu(e.traceSampleRate)){qe.error("Trace Sample Rate should be a number between 0 and 100");return}if(e.excludedActivityUrls!==void 0&&!Array.isArray(e.excludedActivityUrls)){qe.error("Excluded Activity Urls should be an array");return}var r=MM(e);if(r){var o=cE(e);if(o)return De({applicationId:e.applicationId,version:e.version,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:(t=e.sessionReplaySampleRate)!==null&&t!==void 0?t:0,startSessionReplayRecordingManually:!!e.startSessionReplayRecordingManually,traceSampleRate:e.traceSampleRate,allowedTracingUrls:r,excludedActivityUrls:(n=e.excludedActivityUrls)!==null&&n!==void 0?n:[],workerUrl:e.workerUrl,trackUserInteractions:!!e.trackUserInteractions,trackViewsManually:!!e.trackViewsManually,trackResources:!!e.trackResources,trackLongTasks:!!e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:zy(Xu,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:Xu.MASK,customerDataTelemetrySampleRate:1},o)}}function MM(e){if(e.allowedTracingUrls!==void 0){if(!Array.isArray(e.allowedTracingUrls)){qe.error("Allowed Tracing URLs should be an array");return}if(e.allowedTracingUrls.length!==0&&e.service===void 0){qe.error("Service needs to be configured when tracing is enabled");return}var t=[];return e.allowedTracingUrls.forEach(function(n){Qy(n)?t.push({match:n,propagatorTypes:YE}):FM(n)?t.push(n):qe.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",n)}),t}return[]}function LM(e){var t=new Set;return Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0&&e.allowedTracingUrls.forEach(function(n){Qy(n)?YE.forEach(function(r){return t.add(r)}):Ma(n)==="object"&&Array.isArray(n.propagatorTypes)&&n.propagatorTypes.forEach(function(r){return t.add(r)})}),Ny(t)}function NM(e){var t=uE(e);return De({session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0,selected_tracing_propagators:LM(e),default_privacy_level:e.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(e.excludedActivityUrls)&&e.excludedActivityUrls.length>0,use_worker_url:!!e.workerUrl,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks},t)}function L2(e,t,n){return{context:e.getContext(),user:t.getContext(),hasReplay:n.isRecording()?!0:void 0}}var _6="rum";function BM(e,t,n){var r=n===void 0?{}:n,o=r.ignoreInitIfSyntheticsWillInjectRum,i=o===void 0?!0:o,a=!1,s=Sc(2),l=Sc(1),c=function(){},u=function(){},d=ct,f=function(){},p=new D2,m=function($,P){P===void 0&&(P=Ot()),p.add(function(){return m($,P)})},g=function($,P){P===void 0&&(P=Xn()),p.add(function(){return g($,P)})},w=function($,P){P===void 0&&(P=L2(s,l,t)),p.add(function(){return w($,P)})},y=function($,P){P===void 0&&(P=L2(s,l,t)),p.add(function(){return y($,P)})},b=function(){p.add(function(){return b()})},x=function(){p.add(function(){return x()})},S=function($,P){p.add(function(){return S($,P)})};function _($){if(!$){qe.error("Missing configuration");return}if(u=function(){return hd($)},!(i&&ah())){var P=Lo();if(P&&($=j($)),!!I($)){var B=DM($);if(B){if(!P&&!B.sessionStoreStrategyType){qe.warn("No storage available for session. We will not send any data.");return}if(!B.trackViewsManually)E($,B);else{var R=p;p=new D2,g=function(M){E($,B,M)},R.drain()}a=!0}}}}function E($,P,B){if($.storeContextsAcrossPages){var R=s.getContext();s=N0(P,_6,2),s.setContext(In(s.getContext(),R));var M=l.getContext();l=N0(P,_6,1),l.setContext(In(l.getContext(),M))}var z=e($,P,t,s,l,B);f=function(){return t.getSessionReplayLink(P,z.session,z.viewContexts)},b=t.start,x=t.stop,g=z.startView,w=z.addAction,y=z.addError,m=z.addTiming,S=z.addFeatureFlagEvaluation,c=z.getInternalContext,d=z.stopSession,t.onRumStart(z.lifeCycle,P,z.session,z.viewContexts),p.drain()}var C=ve(function($){var P=typeof $=="object"?$:{name:$};g(P)}),k=yE({init:ve(_),setGlobalContextProperty:ve(function($,P){return s.setContextProperty($,P)}),removeGlobalContextProperty:ve(function($){return s.removeContextProperty($)}),getGlobalContext:ve(function(){return s.getContext()}),setGlobalContext:ve(function($){return s.setContext($)}),clearGlobalContext:ve(function(){return s.clearContext()}),getInternalContext:ve(function($){return c($)}),getInitConfiguration:ve(function(){return u()}),addAction:ve(function($,P){w({name:hn($),context:hn(P),startClocks:Xn(),type:"custom"})}),addError:function($,P){var B=gE();_a(function(){y({error:$,handlingStack:B,context:hn(P),startClocks:Xn()})})},addTiming:ve(function($,P){m(hn($),P)}),setUser:ve(function($){ZE($)&&l.setContext(B0($))}),getUser:ve(function(){return l.getContext()}),setUserProperty:ve(function($,P){var B,R=B0((B={},B[$]=P,B))[$];l.setContextProperty($,R)}),removeUserProperty:ve(function($){return l.removeContextProperty($)}),clearUser:ve(function(){return l.clearContext()}),startView:C,stopSession:ve(function(){d()}),startSessionReplayRecording:ve(function(){return b()}),stopSessionReplayRecording:ve(function(){return x()}),addFeatureFlagEvaluation:ve(function($,P){S(hn($),hn(P))}),getSessionReplayLink:ve(function(){return f()})});return k;function I($){return a?($.silentMultipleInit||qe.error("DD_RUM is already initialized."),!1):!0}function j($){return De({},$,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}}function zM(){var e=QE(),t=new Et(function(){if(e){var n=new e(ve(function(){return t.notify()}));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}});return t}function QE(){var e,t=window;if(t.Zone&&(e=Ea(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){var n=new t.MutationObserver(ct),r=Ea(n,"originalInstance");e=r&&r.constructor}return e||(e=t.MutationObserver),e}var JE="initial_document",UM=[["document",function(e){return JE===e}],["xhr",function(e){return e==="xmlhttprequest"}],["fetch",function(e){return e==="fetch"}],["beacon",function(e){return e==="beacon"}],["css",function(e,t){return/\.css$/i.test(t)}],["js",function(e,t){return/\.js$/i.test(t)}],["image",function(e,t){return Dr(["image","img","icon"],e)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)!==null}],["font",function(e,t){return/\.(woff|eot|woff2|ttf)$/i.exec(t)!==null}],["media",function(e,t){return Dr(["audio","video"],e)||/\.(mp3|mp4)$/i.exec(t)!==null}]];function HM(e){var t=e.name;if(!yj(t))return Pi('Failed to construct URL for "'.concat(e.name,'"')),"other";for(var n=bj(t),r=0,o=UM;re[n])return!1;return!0}function VM(e){return e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch"}function WM(e){var t=e.duration,n=e.startTime,r=e.responseEnd;return t===0&&n0||sh(e)}function r_(e,t){e.childNodes.forEach(t),sh(e)&&t(e.shadowRoot)}function lh(e){return tb(e)?e.host:e.parentNode}var KM=2*rr;function YM(e){var t=QM(e)||JM(e);if(!(!t||t.traceTime<=Fo()-KM))return t.traceId}function QM(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return o_(t&&t.content,n&&n.content)}function JM(e){var t=eL(e);if(t)return o_(F2(t,"trace-id"),F2(t,"trace-time"))}function o_(e,t){var n=t&&Number(t);if(!(!e||!n))return{traceId:e,traceTime:n}}function eL(e){for(var t=0;t=0;t-=1){var r=e.body.childNodes[t],n=C6(r);if(n)return n;if(!n_(r))break}}function C6(e){if(e&&XM(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}var We;(function(e){e.EVENT="event",e.FIRST_INPUT="first-input",e.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",e.LAYOUT_SHIFT="layout-shift",e.LONG_TASK="longtask",e.NAVIGATION="navigation",e.PAINT="paint",e.RESOURCE="resource"})(We||(We={}));function k6(){return window.performance!==void 0&&"getEntries"in performance}function md(e){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(e)}function tL(e,t){if(nL(t,function(s){mu(e,t,[s])}),k6()){var n=performance.getEntries();An(function(){return mu(e,t,n)})}if(window.PerformanceObserver){var r=ve(function(s){return mu(e,t,s.getEntries())}),o=[We.RESOURCE,We.NAVIGATION,We.LONG_TASK,We.PAINT],i=[We.LARGEST_CONTENTFUL_PAINT,We.FIRST_INPUT,We.LAYOUT_SHIFT,We.EVENT];try{i.forEach(function(s){var l=new window.PerformanceObserver(r);l.observe({type:s,buffered:!0,durationThreshold:40})})}catch{o.push.apply(o,i)}var a=new PerformanceObserver(r);a.observe({entryTypes:o}),k6()&&"addEventListener"in performance&&Vt(t,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}md(We.NAVIGATION)||rL(t,function(s){mu(e,t,[s])}),md(We.FIRST_INPUT)||oL(t,function(s){mu(e,t,[s])})}function nL(e,t){Ky(e,"interactive",function(){var n,r={entryType:We.RESOURCE,initiatorType:JE,traceId:YM(document),toJSON:function(){return De({},n,{toJSON:void 0})}};if(md(We.NAVIGATION)&&performance.getEntriesByType(We.NAVIGATION).length>0){var o=performance.getEntriesByType(We.NAVIGATION)[0];n=De(o.toJSON(),r)}else{var i=i_();n=De(i,{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0},r)}t(n)})}function rL(e,t){function n(){t(De(i_(),{entryType:We.NAVIGATION}))}Ky(e,"complete",function(){An(n)})}function oL(e,t){var n=Fo(),r=!1,o=er(e,window,[le.CLICK,le.MOUSE_DOWN,le.KEY_DOWN,le.TOUCH_START,le.POINTER_DOWN],function(s){if(s.cancelable){var l={entryType:We.FIRST_INPUT,processingStart:so(),processingEnd:so(),startTime:s.timeStamp,duration:0,name:""};s.type===le.POINTER_DOWN?i(e,l):a(l)}},{passive:!0,capture:!0}).stop;function i(s,l){er(s,window,[le.POINTER_UP,le.POINTER_CANCEL],function(c){c.type===le.POINTER_UP&&a(l)},{once:!0})}function a(s){if(!r){r=!0,o();var l=s.processingStart-s.startTime;l>=0&&l0})}});return r}function Wm(e,t){return GE(e.excludedActivityUrls,t)}function kL(e){return fr(window,"open",{before:e})}var rb="data-dd-action-name";function $L(e,t){return A6(e,rb)||t&&A6(e,t)||R6(e,t,TL)||R6(e,t,AL)||""}function A6(e,t){var n;if(OL())n=e.closest("[".concat(t,"]"));else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n){var o=n.getAttribute(t);return f_(d_(o.trim()))}}var TL=[function(e,t){if(PL()){if("labels"in e&&e.labels&&e.labels.length>0)return El(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&Uc(e.ownerDocument.querySelectorAll("label"),function(r){return r.htmlFor===e.id});return n&&El(n,t)}},function(e){if(e.nodeName==="INPUT"){var t=e,n=t.getAttribute("type");if(n==="button"||n==="submit"||n==="reset")return t.value}},function(e,t){if(e.nodeName==="BUTTON"||e.nodeName==="LABEL"||e.getAttribute("role")==="button")return El(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(r){return FL(e,r)}).filter(function(r){return!!r}).map(function(r){return El(r,t)}).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return El(e.options[0],t)}],AL=[function(e,t){return El(e,t)}],RL=10;function R6(e,t,n){for(var r=e,o=0;o<=RL&&r&&r.nodeName!=="BODY"&&r.nodeName!=="HTML"&&r.nodeName!=="HEAD";){for(var i=0,a=n;i100?"".concat(tE(e,100)," [...]"):e}function FL(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}function El(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(o){for(var i=e.querySelectorAll(o),a=0;a0&&(n=n.replace(l,""))}}};return IL()||r("script, style"),r("[".concat(rb,"]")),t&&r("[".concat(t,"]")),n}return e.textContent}}function IL(){return!VO()}var Zm;function PL(){return Zm===void 0&&(Zm="labels"in HTMLInputElement.prototype),Zm}var Gm;function OL(){return Gm===void 0&&(Gm="closest"in HTMLElement.prototype),Gm}var p_=[rb,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],jL=[m_,ML],DL=[m_,LL,NL];function xf(e,t){for(var n="",r=e;r&&r.nodeName!=="HTML";){var o=F6(r,jL,zL,t,n);if(o)return o;r.parentElement||Pi("selector from element without parent",{debug:{selector:z0(bi(r.tagName),n),isConnected:r.isConnected}});var i=F6(r,DL,UL,t,n);n=i||z0(BL(r),n),r=r.parentElement}return n}function h_(e){return/[0-9]/.test(e)}function ML(e){if(e.id&&!h_(e.id))return"#".concat(bi(e.id))}function LL(e){if(e.tagName!=="BODY"&&e.classList.length>0)for(var t=0;t").concat(t):e}var lp;function HL(){if(lp===void 0)try{document.querySelector(":scope"),lp=!0}catch{lp=!1}return lp}var g_=Jn,VL=100;function WL(e,t){var n=[],r=0,o;i(e);function i(l){l.stopObservable.subscribe(a),n.push(l),Eo(o),o=An(s,g_)}function a(){r===1&&n.every(function(l){return l.isStopped()})&&(r=2,t(n))}function s(){Eo(o),r===0&&(r=1,a())}return{tryAppend:function(l){return r!==0?!1:n.length>0&&!ZL(n[n.length-1].event,l.event)?(s(),!1):(i(l),!0)},stop:function(){s()}}}function ZL(e,t){return e.target===t.target&&GL(e,t)<=VL&&e.timeStamp-t.timeStamp<=g_}function GL(e,t){return Math.sqrt(Math.pow(e.clientX-t.clientX,2)+Math.pow(e.clientY-t.clientY,2))}function XL(e,t){var n=t.onPointerDown,r=t.onPointerUp,o,i={selection:!1,input:!1},a,s=[Vt(e,window,le.POINTER_DOWN,function(l){P6(l)&&(o=I6(),i={selection:!1,input:!1},a=n(l))},{capture:!0}),Vt(e,window,le.SELECTION_CHANGE,function(){(!o||!I6())&&(i.selection=!0)},{capture:!0}),Vt(e,window,le.POINTER_UP,function(l){if(P6(l)&&a){var c=i;r(a,l,function(){return c}),a=void 0}},{capture:!0}),Vt(e,window,le.INPUT,function(){i.input=!0},{capture:!0})];return{stop:function(){s.forEach(function(l){return l.stop()})}}}function I6(){var e=window.getSelection();return!e||e.isCollapsed}function P6(e){return e.target instanceof Element&&e.isPrimary!==!1}var O6=3;function qL(e,t){if(KL(e))return t.addFrustration("rage_click"),e.some(j6)&&t.addFrustration("dead_click"),t.hasError&&t.addFrustration("error_click"),{isRage:!0};var n=e.some(function(r){return r.getUserActivity().selection});return e.forEach(function(r){r.hasError&&r.addFrustration("error_click"),j6(r)&&!n&&r.addFrustration("dead_click")}),{isRage:!1}}function KL(e){if(e.some(function(n){return n.getUserActivity().selection}))return!1;for(var t=0;t0},get hasPageActivity(){return u!==void 0},getUserActivity:n,addFrustration:function(m){d.push(m)},startClocks:a,isStopped:function(){return c===1||c===2},clone:function(){return v_(e,t,n,r,o)},validate:function(m){if(p(),c===1){var g=l.eventCounts,w=g.resourceCount,y=g.errorCount,b=g.longTaskCount,x=De({type:"click",duration:u&&vr(a.timeStamp,u),startClocks:a,id:i,frustrationTypes:d,counts:{resourceCount:w,errorCount:y,longTaskCount:b},events:m??[o],event:o},r);e.notify(1,x),c=2}},discard:function(){p(),c=2}}}function oN(e,t){var n=qL(e,t).isRage;n?(e.forEach(function(r){return r.discard()}),t.stop(Ot()),t.validate(e.map(function(r){return r.event}))):(t.discard(),e.forEach(function(r){return r.validate()}))}function iN(e,t,n,r){e.subscribe(1,function(i){return e.notify(10,D6(i,r))});var o={findActionId:ct};return n.trackUserInteractions&&(o=eN(e,t,n).actionContexts),{addAction:function(i,a){e.notify(10,De({savedCommonContext:a},D6(i,r)))},actionContexts:o}}function D6(e,t){var n=Xm(e)?{action:{id:e.id,loading_time:It(e.duration),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position}}}:void 0,r=Xm(e)?void 0:e.context,o=In({action:{id:or(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},n);return{customerContext:r,rawRumEvent:o,startTime:e.startClocks.relative,domainContext:Xm(e)?{events:e.events}:{}}}function Xm(e){return e.type!=="custom"}function aN(e){var t=zE([dr.error]).subscribe(function(n){return e.notify({startClocks:Xn(),message:n.message,stack:n.stack,fingerprint:n.fingerprint,source:ir.CONSOLE,handling:"handled",handlingStack:n.handlingStack})});return{stop:function(){t.unsubscribe()}}}function sN(e,t){var n=wE(e,[Po.cspViolation,Po.intervention]).subscribe(function(r){return t.notify({startClocks:Xn(),message:r.message,stack:r.stack,type:r.subtype,source:ir.REPORT,handling:"unhandled"})});return{stop:function(){n.unsubscribe()}}}function lN(e,t,n,r){var o=new Et;return aN(o),vE(o),sN(t,o),o.subscribe(function(i){return e.notify(12,{error:i})}),cN(e,n,r)}function cN(e,t,n){return e.subscribe(12,function(r){var o=r.error,i=r.customerContext,a=r.savedCommonContext;e.notify(10,De({customerContext:i,savedCommonContext:a},uN(o,t,n)))}),{addError:function(r,o){var i=r.error,a=r.handlingStack,s=r.startClocks,l=r.context,c=i instanceof Error?Wo(i):void 0,u=Zy({stackTrace:c,originalError:i,handlingStack:a,startClocks:s,nonErrorPrefix:"Provided",source:ir.CUSTOM,handling:"handled"});e.notify(12,{customerContext:l,savedCommonContext:o,error:u})}}}function uN(e,t,n){var r={date:e.startClocks.timeStamp,error:{id:or(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint},type:"error",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},o=n.findFeatureFlagEvaluations(e.startClocks.relative);return o&&!Io(o)&&(r.feature_flags=o),{rawRumEvent:r,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}function dN(e,t,n){e.subscribe(0,function(r){for(var o=0,i=r;o=t-r&&y_(e)<=zc(n,r)}function hN(e,t,n,r){e.subscribe(6,function(o){e.notify(10,mN(o,t,n,r))}),e.subscribe(0,function(o){for(var i=0,a=o;i=0?s:0,time:a.startTime,targetSelector:l})}}).unsubscribe;return{stop:o}}function _N(e,t){var n=e.subscribe(0,function(r){for(var o=0,i=r;o=0&&a.responseStart<=so()?a.responseStart:void 0})}}).unsubscribe;return{stop:n}}var CN=10*rr;function kN(e,t,n,r,o){var i=1/0,a=er(t,r,[le.POINTER_DOWN,le.KEY_DOWN],function(l){i=l.timeStamp},{capture:!0,once:!0}).stop,s=e.subscribe(0,function(l){var c=jO(l,function(d){return d.entryType===We.LARGEST_CONTENTFUL_PAINT&&d.startTimer)){r=o.value();var u=j0(r,4),d=o.largestLayoutShiftTarget(),f=void 0;Ri(jr.WEB_VITALS_ATTRIBUTION)&&d&&(f=xf(d,e.actionNameAttribute)),n({value:u,targetSelector:f})}}}).unsubscribe;return{stop:i}}function RN(){var e=0,t,n,r=0,o,i;return{update:function(a){var s,l,c=t===void 0||a.startTime-n>=Jn||a.startTime-t>=5*Jn;c?(t=n=a.startTime,e=a.value,r=0,o=void 0):(e+=a.value,n=a.startTime),a.value>r&&(r=a.value,i=a.startTime,!((s=a.sources)===null||s===void 0)&&s.length?o=(l=Uc(a.sources,function(u){return!!u.node&&Wc(u.node)}))===null||l===void 0?void 0:l.node:o=void 0)},value:function(){return e},largestLayoutShiftTarget:function(){return o},largestLayoutShiftTime:function(){return i}}}function FN(){return md(We.LAYOUT_SHIFT)}var l0,E_=0,qm=1/0,Km=0;function IN(){"interactionCount"in performance||l0||(l0=new window.PerformanceObserver(ve(function(e){e.getEntries().forEach(function(t){var n=t;n.interactionId&&(qm=Math.min(qm,n.interactionId),Km=Math.max(Km,n.interactionId),E_=(Km-qm)/7+1)})})),l0.observe({type:"event",buffered:!0,durationThreshold:0}))}var M6=function(){return l0?E_:window.performance.interactionCount||0},L6=10,PN=1*rr;function ON(e,t,n,r){if(!MN())return{getInteractionToNextPaint:function(){},setViewEnd:ct,stop:ct};var o=DN(n),i=o.getViewInteractionCount,a=o.stopViewInteractionCount,s=1/0,l=jN(i),c=-1,u,d=r.subscribe(0,function(f){for(var p=0,m=f;p=t&&g.startTime<=s&&l.process(g)}var w=l.estimateP98Interaction();w&&(c=w.duration,Ri(jr.WEB_VITALS_ATTRIBUTION)&&w.target&&Wc(w.target)?u=xf(w.target,e.actionNameAttribute):u=void 0)}).unsubscribe;return{getInteractionToNextPaint:function(){if(c>=0)return{value:Math.min(c,PN),targetSelector:u};if(i())return{value:0}},setViewEnd:function(f){s=f,a()},stop:d}}function jN(e){var t=[];function n(){t.sort(function(r,o){return o.duration-r.duration}).splice(L6)}return{process:function(r){var o=t.findIndex(function(a){return r.interactionId===a.interactionId}),i=t[t.length-1];o!==-1?r.duration>t[o].duration&&(t[o]=r,n()):(t.lengthi.duration)&&(t.push(r),n())},estimateP98Interaction:function(){var r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}function DN(e){IN();var t=e==="initial_load"?0:M6(),n={stopped:!1};function r(){return M6()-t}return{getViewInteractionCount:function(){return n.stopped?n.interactionCount:r()},stopViewInteractionCount:function(){n={stopped:!0,interactionCount:r()}}}}function MN(){return md(We.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function LN(e,t,n,r,o,i){var a=r==="initial_load",s=!0,l=[];function c(){!s&&!a&&l.length>0&&i(Math.max.apply(Math,l))}var u=nb(e,t,n,function(d){s&&(s=!1,d.hadActivity&&l.push(vr(o.timeStamp,d.end)),c())}).stop;return{stop:u,setLoadEvent:function(d){a&&(a=!1,l.push(d),c())}}}function __(){var e,t=window.visualViewport;return t?e=t.pageLeft-t.offsetLeft:window.scrollX!==void 0?e=window.scrollX:e=window.pageXOffset||0,Math.round(e)}function ob(){var e,t=window.visualViewport;return t?e=t.pageTop-t.offsetTop:window.scrollY!==void 0?e=window.scrollY:e=window.pageYOffset||0,Math.round(e)}var Ym;function C_(e){return Ym||(Ym=NN(e)),Ym}function NN(e){var t=new Et(function(){var n=Ii(function(){t.notify(ch())},200).throttled;return Vt(e,window,le.RESIZE,n,{capture:!0,passive:!0}).stop});return t}function ch(){var e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var BN=Jn;function zN(e,t,n,r){r===void 0&&(r=HN(e));var o=0,i=0,a=0,s=r.subscribe(function(l){var c=l.scrollDepth,u=l.scrollTop,d=l.scrollHeight,f=!1;if(c>o&&(o=c,f=!0),d>i){i=d;var p=so();a=vr(t.relative,p),f=!0}f&&n({maxDepth:Math.min(o,i),maxDepthScrollTop:u,maxScrollHeight:i,maxScrollHeightTime:a})});return{stop:function(){return s.unsubscribe()}}}function UN(){var e=ob(),t=ch().height,n=Math.round((document.scrollingElement||document.documentElement).scrollHeight),r=Math.round(t+e);return{scrollHeight:n,scrollDepth:r,scrollTop:e}}function HN(e,t){t===void 0&&(t=BN);var n=new Et(function(){function r(){n.notify(UN())}if(window.ResizeObserver){var o=Ii(r,t,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver(ve(o.throttled));a.observe(i);var s=Vt(e,window,le.SCROLL,o.throttled,{passive:!0});return function(){o.cancel(),a.unobserve(i),s.stop()}}});return n}function VN(e,t,n,r,o,i){var a={},s=LN(e,t,n,o,i,function(w){a.loadingTime=w,r()}),l=s.stop,c=s.setLoadEvent,u=zN(n,i,function(w){a.scroll=w}).stop,d=AN(n,e,function(w){a.cumulativeLayoutShift=w,r()}).stop,f=ON(n,i.relative,o,e),p=f.stop,m=f.getInteractionToNextPaint,g=f.setViewEnd;return{stop:function(){l(),d(),u()},stopINPTracking:p,setLoadEvent:c,setViewEnd:g,getCommonViewMetrics:function(){return a.interactionToNextPaint=m(),a}}}var WN=3e3,ZN=5*rr,GN=5*rr;function XN(e,t,n,r,o,i,a){var s=new Set,l=u("initial_load",Y9(),a);d();var c;i&&(c=f(o));function u(p,m,g){var w=qN(t,n,r,e,p,m,g);return s.add(w),w.stopObservable.subscribe(function(){s.delete(w)}),w}function d(){t.subscribe(8,function(){l=u("route_change",void 0,{name:l.name,service:l.service,version:l.version})}),t.subscribe(7,function(){l.end({sessionIsActive:!1})}),t.subscribe(9,function(p){(p.reason===ss.UNLOADING||p.reason===ss.PAGEHIDE)&&l.end()})}function f(p){return p.subscribe(function(m){var g=m.oldLocation,w=m.newLocation;YN(g,w)&&(l.end(),l=u("route_change"))})}return{addTiming:function(p,m){m===void 0&&(m=Ot()),l.addTiming(p,m)},startView:function(p,m){l.end({endClocks:m}),l=u("route_change",m,p)},stop:function(){c==null||c.unsubscribe(),l.end(),s.forEach(function(p){return p.stop()})}}}function qN(e,t,n,r,o,i,a){i===void 0&&(i=Xn());var s=or(),l=new Et,c={},u=0,d,f=pd(r),p=!0,m,g,w;a&&(m=a.name,g=a.service,w=a.version),e.notify(2,{id:s,name:m,startClocks:i,service:g,version:w});var y=Ii(K,WN,{leading:!1}),b=y.throttled,x=y.cancel,S=VN(e,t,n,b,o,i),_=S.setLoadEvent,E=S.setViewEnd,C=S.stop,k=S.stopINPTracking,I=S.getCommonViewMetrics,j=o==="initial_load"?TN(e,n,_,b):{stop:ct,initialViewMetrics:{}},$=j.stop,P=j.initialViewMetrics,B=wN(e,s,b),R=B.stop,M=B.eventCounts,z=yf(K,ZN);K();function K(){x(),u+=1;var O=d===void 0?Ot():d.timeStamp;e.notify(3,{customTimings:c,documentVersion:u,id:s,name:m,service:g,version:w,loadingType:o,location:f,startClocks:i,commonViewMetrics:I(),initialViewMetrics:P,duration:vr(i.timeStamp,O),isActive:d===void 0,sessionIsActive:p,eventCounts:M})}return{name:m,service:g,version:w,stopObservable:l,end:function(O){var N=this,L,T;O===void 0&&(O={}),!d&&(d=(L=O.endClocks)!==null&&L!==void 0?L:Xn(),p=(T=O.sessionIsActive)!==null&&T!==void 0?T:!0,e.notify(4,{endClocks:d}),Uy(z),E(d.relative),C(),K(),An(function(){N.stop()},GN))},stop:function(){$(),R(),k(),l.notify()},addTiming:function(O,N){if(!d){var L=IO(N)?N:vr(i.timeStamp,N);c[KN(O)]=L,b()}}}}function KN(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return t!==e&&qe.warn("Invalid timing name: ".concat(e,", sanitized to: ").concat(t)),t}function YN(e,t){return e.pathname!==t.pathname||!QN(t.hash)&&N6(t.hash)!==N6(e.hash)}function QN(e){var t=e.substring(1);return t!==""&&!!document.getElementById(t)}function N6(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function JN(e,t,n,r,o,i,a,s,l){return e.subscribe(3,function(c){return e.notify(10,eB(c,t,i,s,a))}),XN(n,e,r,t,o,!t.trackViewsManually,l)}function eB(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,m,g,w,y,b,x=r.getReplayStats(e.id),S=n.findFeatureFlagEvaluations(e.startClocks.relative),_=o.findAll(e.startClocks.relative,e.duration),E={_dd:{document_version:e.documentVersion,replay_stats:x,page_states:_},date:e.startClocks.timeStamp,type:"view",view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:(i=e.commonViewMetrics.cumulativeLayoutShift)===null||i===void 0?void 0:i.value,cumulative_layout_shift_target_selector:(a=e.commonViewMetrics.cumulativeLayoutShift)===null||a===void 0?void 0:a.targetSelector,first_byte:It((s=e.initialViewMetrics.navigationTimings)===null||s===void 0?void 0:s.firstByte),dom_complete:It((l=e.initialViewMetrics.navigationTimings)===null||l===void 0?void 0:l.domComplete),dom_content_loaded:It((c=e.initialViewMetrics.navigationTimings)===null||c===void 0?void 0:c.domContentLoaded),dom_interactive:It((u=e.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:It(e.initialViewMetrics.firstContentfulPaint),first_input_delay:It((d=e.initialViewMetrics.firstInput)===null||d===void 0?void 0:d.delay),first_input_time:It((f=e.initialViewMetrics.firstInput)===null||f===void 0?void 0:f.time),first_input_target_selector:(p=e.initialViewMetrics.firstInput)===null||p===void 0?void 0:p.targetSelector,interaction_to_next_paint:It((m=e.commonViewMetrics.interactionToNextPaint)===null||m===void 0?void 0:m.value),interaction_to_next_paint_target_selector:(g=e.commonViewMetrics.interactionToNextPaint)===null||g===void 0?void 0:g.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:It((w=e.initialViewMetrics.largestContentfulPaint)===null||w===void 0?void 0:w.value),largest_contentful_paint_target_selector:(y=e.initialViewMetrics.largestContentfulPaint)===null||y===void 0?void 0:y.targetSelector,load_event:It((b=e.initialViewMetrics.navigationTimings)===null||b===void 0?void 0:b.loadEvent),loading_time:tB(It(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:It(e.duration)},feature_flags:S&&!Io(S)?S:void 0,display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:It(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:x?!0:void 0,is_active:e.sessionIsActive?void 0:!1},privacy:{replay_level:t.defaultPrivacyLevel}};return Io(e.customTimings)||(E.view.custom_timings=NO(e.customTimings,It)),{rawRumEvent:E,startTime:e.startClocks.relative,domainContext:{location:e.location}}}function tB(e){return Bc(e)&&e<0?void 0:e}var nB="rum";function rB(e,t){var n=CE(e,nB,function(r){return iB(e,r)});return n.expireObservable.subscribe(function(){t.notify(7)}),n.renewObservable.subscribe(function(){t.notify(8)}),{findTrackedSession:function(r){var o=n.findActiveSession(r);if(!(!o||!k_(o.trackingType)))return{id:o.id,sessionReplayAllowed:o.trackingType==="1"}},expire:n.expire,expireObservable:n.expireObservable}}function oB(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplayAllowed:!1};return{findTrackedSession:function(){return e},expire:ct,expireObservable:new Et}}function iB(e,t){var n;return aB(t)?n=t:As(e.sessionSampleRate)?As(e.sessionReplaySampleRate)?n="1":n="2":n="0",{trackingType:n,isTracked:k_(n)}}function aB(e){return e==="0"||e==="1"||e==="2"}function k_(e){return e==="2"||e==="1"}function sB(e,t,n,r,o,i){var a=e.replica,s=qy(e,{endpoint:e.rumEndpointBuilder},a&&{endpoint:a.rumEndpointBuilder,transformMessage:function(l){return In(l,{application:{id:a.applicationId}})}},r,o,i);return t.subscribe(11,function(l){l.type==="view"?s.upsert(l,l.view.id):s.add(l)}),n.subscribe(function(l){return s.add(l,EE(e))}),s}function lB(e){var t=wf();e.subscribe(11,function(n){t.send("rum",n)})}var cB=Hc;function uB(e,t,n){var r=new Vc(cB),o;e.subscribe(4,function(s){var l=s.endClocks;r.closeActive(l.relative)}),e.subscribe(2,function(s){var l=s.startClocks,c=n.href;r.add(a({url:c,referrer:o||document.referrer}),l.relative),o=c});var i=t.subscribe(function(s){var l=s.newLocation,c=r.find();if(c){var u=so();r.closeActive(u),r.add(a({url:l.href,referrer:c.referrer}),u)}});function a(s){var l=s.url,c=s.referrer;return{url:l,referrer:c}}return{findUrl:function(s){return r.find(s)},stop:function(){i.unsubscribe(),r.stop()}}}function dB(e,t){var n=pd(t),r=new Et(function(){var i=fB(e,o).stop,a=pB(e,o).stop;return function(){i(),a()}});function o(){if(n.href!==t.href){var i=pd(t);r.notify({newLocation:i,oldLocation:n}),n=i}}return r}function fB(e,t){var n=fr(history,"pushState",{after:t}).stop,r=fr(history,"replaceState",{after:t}).stop,o=Vt(e,window,le.POP_STATE,t).stop;return{stop:function(){n(),r(),o()}}}function pB(e,t){return Vt(e,window,le.HASH_CHANGE,t)}var hB=Hc,mB=200;function gB(e,t){if(t===void 0&&(t=fd),!Ri(jr.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:ct,stop:ct};var n=new Vc(hB),r=0,o=!1;e.subscribe(4,function(l){var c=l.endClocks;n.closeActive(c.relative)}),e.subscribe(2,function(l){var c=l.startClocks;n.add({},c.relative),r=0});var i=Ii(function(l){r=t(Zs(l)),o||(o=UE(r,0))},mB),a=i.throttled,s=i.cancel;return{findFeatureFlagEvaluations:function(l){return n.find(l)},getFeatureFlagBytesCount:function(){var l=n.find();return l?r:0},addFeatureFlagEvaluation:function(l,c){var u=n.find();u&&(u[l]=c,a(u))},stop:s}}var vB=10*Jn,ni,Ka,B2;function yB(e,t,n,r,o,i,a){var s=t.enabled&&As(e.customerDataTelemetrySampleRate);s&&($_(),B6(),n.subscribe(11,function(l){B2=!0,vu(Ka.globalContextBytes,Io(r.getContext())?0:r.getBytesCount()),vu(Ka.userContextBytes,Io(o.getContext())?0:o.getBytesCount());var c=i.findFeatureFlagEvaluations(),u=Dr(["view","error"],l.type)&&c&&!Io(c);vu(Ka.featureFlagBytes,u?i.getFeatureFlagBytesCount():0)}),a.subscribe(function(l){var c=l.bytesCount,u=l.messagesCount;B2&&(ni.batchCount+=1,vu(ni.batchBytesCount,c),vu(ni.batchMessagesCount,u),Qm(ni.globalContextBytes,Ka.globalContextBytes),Qm(ni.userContextBytes,Ka.userContextBytes),Qm(ni.featureFlagBytes,Ka.featureFlagBytes),B6())}),yf(bB,vB))}function bB(){ni.batchCount!==0&&(Pi("Customer data measures",ni),$_())}function Yi(){return{min:1/0,max:0,sum:0}}function vu(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function Qm(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function $_(){ni={batchCount:0,batchBytesCount:Yi(),batchMessagesCount:Yi(),globalContextBytes:Yi(),userContextBytes:Yi(),featureFlagBytes:Yi()}}function B6(){B2=!1,Ka={globalContextBytes:Yi(),userContextBytes:Yi(),featureFlagBytes:Yi()}}var wB=4e3,xB=500,SB=Hc;function EB(e,t){t===void 0&&(t=xB);var n=new Vc(SB,wB),r;i(T_(),so());var o=er(e,window,[le.PAGE_SHOW,le.FOCUS,le.BLUR,le.VISIBILITY_CHANGE,le.RESUME,le.FREEZE,le.PAGE_HIDE],function(a){i(_B(a),a.timeStamp)},{capture:!0}).stop;function i(a,s){s===void 0&&(s=so()),a!==r&&(r=a,n.closeActive(s),n.add({state:r,startTime:s},s))}return{findAll:function(a,s){var l=n.findAll(a,s);if(l.length!==0){for(var c=[],u=Math.max(0,l.length-t),d=l.length-1;d>=u;d--){var f=l[d],p=vr(a,f.startTime);c.push({state:f.state,start:It(p)})}return c}},isInActivePageStateAt:function(a){var s=n.find(a);return s!==void 0&&s.state==="active"},addPageState:i,stop:function(){o(),n.stop()}}}function _B(e){return e.type===le.FREEZE?"frozen":e.type===le.PAGE_HIDE?e.persisted?"frozen":"terminated":T_()}function T_(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function CB(e){var t=ch(),n=C_(e).subscribe(function(r){t=r}).unsubscribe;return{get:function(){return{viewport:t}},stop:n}}function kB(e,t,n,r,o,i){var a=[],s=new gL;s.subscribe(11,function(R){return ih("rum",R)});var l=$B(t);l.setContextProvider(function(){var R,M;return{application:{id:t.applicationId},session:{id:(R=p.findTrackedSession())===null||R===void 0?void 0:R.id},view:{id:(M=b.findView())===null||M===void 0?void 0:M.id},action:{id:_.findActionId()}}});var c=function(R){s.notify(12,{error:R}),Pi("Error reported to customer",{"error.message":R.message})},u=gB(s),d=DE(t),f=d.subscribe(function(R){s.notify(9,R)});a.push(function(){return f.unsubscribe()});var p=Lo()?oB():rB(t,s);if(Lo())lB(s);else{var m=sB(t,s,l.observable,c,d,p.expireObservable);a.push(function(){return m.stop()}),yB(t,l,s,r,o,u,m.flushObservable)}var g=zM(),w=dB(t,location),y=TB(s,t,location,p,w,g,function(){return L2(r,o,n)},c),b=y.viewContexts,x=y.pageStateHistory,S=y.urlContexts,_=y.actionContexts,E=y.addAction,C=y.stop;a.push(C),_E(NM(e)),dN(s,t,p),hN(s,t,p,x);var k=JN(s,t,location,g,w,u,x,n,i),I=k.addTiming,j=k.startView,$=k.stop;a.push($);var P=lN(s,t,x,u).addError;bL(s,t,p),tL(s,t);var B=mL(t.applicationId,p,b,_,S);return{addAction:E,addError:P,addTiming:I,addFeatureFlagEvaluation:u.addFeatureFlagEvaluation,startView:j,lifeCycle:s,viewContexts:b,session:p,stopSession:function(){return p.expire()},getInternalContext:B.get,stop:function(){a.forEach(function(R){return R()})}}}function $B(e){var t=SE("browser-rum-sdk",e);if(Lo()){var n=wf();t.observable.subscribe(function(r){return n.send("internal_telemetry",r)})}return t}function TB(e,t,n,r,o,i,a,s){var l=yL(e),c=uB(e,o,n),u=EB(t),d=iN(e,i,t,u),f=d.addAction,p=d.actionContexts,m=CB(t);return fL(t,e,r,l,c,p,m,a,s),{viewContexts:l,pageStateHistory:u,urlContexts:c,addAction:f,actionContexts:p,stop:function(){m.stop(),u.stop(),c.stop(),l.stop(),u.stop()}}}function AB(e,t){var n=t.session,r=t.viewContext,o=t.errorType,i=n?n.id:"no-session-id",a=[];o!==void 0&&a.push("error-type=".concat(o)),r&&(a.push("seed=".concat(r.id)),a.push("from=".concat(r.startClocks.timeStamp)));var s=RB(e),l="/rum/replay/sessions/".concat(i);return"".concat(s).concat(l,"?").concat(a.join("&"))}function RB(e){var t=e.site,n=e.subdomain||FB(e);return"https://".concat(n?"".concat(n,"."):"").concat(t)}function FB(e){switch(e.site){case ql:case Ej:return"app";case lE:return"dd";default:return}}var xo={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Rs={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},ri={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},qr={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},z6={Play:0,Pause:1};function Vi(e,t){return{data:De({source:e},t),type:xo.IncrementalSnapshot,timestamp:Ot()}}var Ne={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Xu.ALLOW,MASK:Xu.MASK,MASK_USER_INPUT:Xu.MASK_USER_INPUT},ib="data-dd-privacy",IB="allow",PB="mask",OB="mask-user-input",A_="hidden",jB="dd-privacy-allow",DB="dd-privacy-mask",MB="dd-privacy-mask-user-input",LB="dd-privacy-hidden",bs="***",NB="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",BB={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},zB=1e5,UB="x";function Oi(e,t){var n=lh(e),r=n?Oi(n,t):t,o=F_(e);return R_(o,r)}function R_(e,t){switch(t){case Ne.HIDDEN:case Ne.IGNORE:return t}switch(e){case Ne.ALLOW:case Ne.MASK:case Ne.MASK_USER_INPUT:case Ne.HIDDEN:case Ne.IGNORE:return e;default:return t}}function F_(e){if(Wc(e)){var t=e.getAttribute(ib);if(e.tagName==="BASE")return Ne.ALLOW;if(e.tagName==="INPUT"){var n=e;if(n.type==="password"||n.type==="email"||n.type==="tel"||n.type==="hidden")return Ne.MASK;var r=n.getAttribute("autocomplete");if(r&&r.indexOf("cc-")===0)return Ne.MASK}if(t===A_||e.classList.contains(LB))return Ne.HIDDEN;if(t===PB||e.classList.contains(DB))return Ne.MASK;if(t===OB||e.classList.contains(MB))return Ne.MASK_USER_INPUT;if(t===IB||e.classList.contains(jB))return Ne.ALLOW;if(VB(e))return Ne.IGNORE}}function uh(e,t){switch(t){case Ne.MASK:case Ne.HIDDEN:case Ne.IGNORE:return!0;case Ne.MASK_USER_INPUT:return n_(e)?U6(e.parentNode):U6(e);default:return!1}}function U6(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if(t.tagName==="INPUT")switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!BB[t.tagName]}var HB=function(e){return e.replace(/\S/g,UB)};function I_(e,t,n){var r,o=(r=e.parentElement)===null||r===void 0?void 0:r.tagName,i=e.textContent||"";if(!(t&&!i.trim())){var a=n,s=o==="SCRIPT";if(s)i=bs;else if(a===Ne.HIDDEN)i=bs;else if(uh(e,a))if(o==="DATALIST"||o==="SELECT"||o==="OPTGROUP"){if(!i.trim())return}else o==="OPTION"?i=bs:i=HB(i);return i}}function VB(e){if(e.nodeName==="SCRIPT")return!0;if(e.nodeName==="LINK"){var t=o("rel");return/preload|prefetch/i.test(t)&&o("as")==="script"||t==="shortcut icon"||t==="icon"}if(e.nodeName==="META"){var n=o("name"),t=o("rel"),r=o("property");return/^msapplication-tile(image|color)$/.test(n)||n==="application-name"||t==="icon"||t==="apple-touch-icon"||t==="shortcut icon"||n==="keywords"||n==="description"||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||n==="pinterest"||n==="robots"||n==="googlebot"||n==="bingbot"||e.hasAttribute("http-equiv")||n==="author"||n==="generator"||n==="framework"||n==="publisher"||n==="progid"||/^article:/.test(r)||/^product:/.test(r)||n==="google-site-verification"||n==="yandex-verification"||n==="csrf-token"||n==="p:domain_verify"||n==="verify-v1"||n==="verification"||n==="shopify-checkout-api-token"}function o(i){return(e.getAttribute(i)||"").toLowerCase()}return!1}var ab=new WeakMap;function Oo(e){return ab.has(e)}function WB(e){for(var t=e;t;){if(!Oo(t)&&!tb(t))return!1;t=lh(t)}return!0}function Wn(e){return ab.get(e)}function ZB(e,t){ab.set(e,t)}function sb(e,t){var n=e.tagName,r=e.value;if(uh(e,t)){var o=e.type;return n==="INPUT"&&(o==="button"||o==="submit"||o==="reset")?r:!r||n==="OPTION"?void 0:bs}if(n==="OPTION"||n==="SELECT")return e.value;if(!(n!=="INPUT"&&n!=="TEXTAREA"))return r}var GB=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,XB=/^[A-Za-z]+:|^\/\//,qB=/^data:.*,/i;function KB(e,t){return e.replace(GB,function(n,r,o,i,a,s){var l=o||a||s;if(!t||!l||XB.test(l)||qB.test(l))return n;var c=r||i||"";return"url(".concat(c).concat(YB(l,t)).concat(c,")")})}function YB(e,t){try{return oh(e,t).href}catch{return e}}var QB=/[^a-z1-6-_]/;function P_(e){var t=e.toLowerCase().trim();return QB.test(t)?"div":t}function O_(e){if(!(e===void 0||e.length===0))return e.map(function(t){var n=t.cssRules||t.rules,r=Array.from(n,function(i){return i.cssText}),o={cssRules:r,disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0};return o})}function j_(e,t,n,r){if(t===Ne.HIDDEN)return null;var o=e.getAttribute(n);if(t===Ne.MASK&&n!==ib&&!p_.includes(n)&&n!==r.actionNameAttribute){var i=e.tagName;switch(n){case"title":case"alt":case"placeholder":return bs}if((i==="IMG"||i==="SOURCE")&&(n==="src"||n==="srcset"))return NB;if(i==="A"&&n==="href"||o&&nh(n,"data-"))return bs}return!o||typeof o!="string"?o:o.length>zB&&o.slice(0,5)==="data:"?"data:truncated":o}function JB(e,t,n){var r;if(t===Ne.HIDDEN)return{};for(var o={},i=P_(e.tagName),a=e.ownerDocument,s=0;sH6||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>H6}var mz=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};if(n)hz(n)?(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)):(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop));else return r;return r},L_=function(e){return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}},gz=50;function vz(e,t){var n=Ii(function(r){var o=Sf(r);if(Oo(o)){var i=N_(r);if(!i)return;var a={id:Wn(o),timeOffset:0,x:i.x,y:i.y};t([a],M_(r)?ri.TouchMove:ri.MouseMove)}},gz,{trailing:!1}).throttled;return er(e,document,[le.MOUSE_MOVE,le.TOUCH_MOVE],n,{capture:!0,passive:!0}).stop}function N_(e){var t=M_(e)?e.changedTouches[0]:e,n=t.clientX,r=t.clientY;if(window.visualViewport){var o=mz(n,r),i=o.visualViewportX,a=o.visualViewportY;n=i,r=a}if(!Number.isFinite(n)||!Number.isFinite(r)){e.isTrusted&&Pi("mouse/touch event without x/y");return}return{x:n,y:r}}var yz=100;function bz(e,t,n,r){var o=Ii(function(i){var a=Sf(i);if(!(!a||Oi(a,n)===Ne.HIDDEN||!Oo(a))){var s=Wn(a),l=a===document?{scrollTop:ob(),scrollLeft:__()}:{scrollTop:Math.round(a.scrollTop),scrollLeft:Math.round(a.scrollLeft)};r.set(a,l),t({id:s,x:l.scrollLeft,y:l.scrollTop})}},yz).throttled;return Vt(e,document,le.SCROLL,o,{capture:!0,passive:!0}).stop}var Gr,V6=(Gr={},Gr[le.POINTER_UP]=qr.MouseUp,Gr[le.MOUSE_DOWN]=qr.MouseDown,Gr[le.CLICK]=qr.Click,Gr[le.CONTEXT_MENU]=qr.ContextMenu,Gr[le.DBL_CLICK]=qr.DblClick,Gr[le.FOCUS]=qr.Focus,Gr[le.BLUR]=qr.Blur,Gr[le.TOUCH_START]=qr.TouchStart,Gr[le.TOUCH_END]=qr.TouchEnd,Gr);function wz(e,t,n){var r=function(o){var i=Sf(o);if(!(Oi(i,e.defaultPrivacyLevel)===Ne.HIDDEN||!Oo(i))){var a=Wn(i),s=V6[o.type],l;if(s!==qr.Blur&&s!==qr.Focus){var c=N_(o);if(!c)return;l={id:a,type:s,x:c.x,y:c.y}}else l={id:a,type:s};var u=De({id:n.getIdForEvent(o)},Vi(ri.MouseInteraction,l));t(u)}};return er(e,document,Object.keys(V6),r,{capture:!0,passive:!0}).stop}function B_(e,t,n){n===void 0&&(n=document);var r=e.defaultPrivacyLevel,o=new WeakMap,i=n!==document,a=er(e,n,i?[le.CHANGE]:[le.INPUT,le.CHANGE],function(d){var f=Sf(d);(f instanceof HTMLInputElement||f instanceof HTMLTextAreaElement||f instanceof HTMLSelectElement)&&c(f)},{capture:!0,passive:!0}).stop,s;if(i)s=ct;else{var l=[pu(HTMLInputElement.prototype,"value",c),pu(HTMLInputElement.prototype,"checked",c),pu(HTMLSelectElement.prototype,"value",c),pu(HTMLTextAreaElement.prototype,"value",c),pu(HTMLSelectElement.prototype,"selectedIndex",c)];s=function(){l.forEach(function(d){return d.stop()})}}return function(){s(),a()};function c(d){var f=Oi(d,r);if(f!==Ne.HIDDEN){var p=d.type,m;if(p==="radio"||p==="checkbox"){if(uh(d,f))return;m={isChecked:d.checked}}else{var g=sb(d,f);if(g===void 0)return;m={text:g}}u(d,m);var w=d.name;p==="radio"&&w&&d.checked&&DO(document.querySelectorAll('input[type="radio"][name="'.concat(bi(w),'"]')),function(y){y!==d&&u(y,{isChecked:!1})})}}function u(d,f){if(Oo(d)){var p=o.get(d);(!p||p.text!==f.text||p.isChecked!==f.isChecked)&&(o.set(d,f),t(De({id:Wn(d)},f)))}}}function xz(e){function t(o,i){o&&Oo(o.ownerNode)&&i(Wn(o.ownerNode))}var n=[fr(CSSStyleSheet.prototype,"insertRule",{before:function(o,i){t(this,function(a){return e({id:a,adds:[{rule:o,index:i}]})})}}),fr(CSSStyleSheet.prototype,"deleteRule",{before:function(o){t(this,function(i){return e({id:i,removes:[{index:o}]})})}})];typeof CSSGroupingRule<"u"?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule));function r(o){n.push(fr(o.prototype,"insertRule",{before:function(i,a){var s=this;t(this.parentStyleSheet,function(l){var c=W6(s);c&&(c.push(a||0),e({id:l,adds:[{rule:i,index:c}]}))})}}),fr(o.prototype,"deleteRule",{before:function(i){var a=this;t(this.parentStyleSheet,function(s){var l=W6(a);l&&(l.push(i),e({id:s,removes:[{index:l}]}))})}}))}return function(){return n.forEach(function(o){return o.stop()})}}function W6(e){for(var t=[],n=e;n.parentRule;){var r=Array.from(n.parentRule.cssRules),o=r.indexOf(n);t.unshift(o),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules),a=i.indexOf(n);return t.unshift(a),t}}function Sz(e,t,n){return er(e,document,[le.PLAY,le.PAUSE],function(r){var o=Sf(r);!o||Oi(o,n)===Ne.HIDDEN||!Oo(o)||t({id:Wn(o),type:r.type===le.PLAY?z6.Play:z6.Pause})},{capture:!0,passive:!0}).stop}function Ez(e,t,n){return e.subscribe(10,function(r){var o,i,a;r.rawRumEvent.type==="action"&&r.rawRumEvent.action.type==="click"&&(!((i=(o=r.rawRumEvent.action.frustration)===null||o===void 0?void 0:o.type)===null||i===void 0)&&i.length)&&"events"in r.domainContext&&(!((a=r.domainContext.events)===null||a===void 0)&&a.length)&&t({timestamp:r.rawRumEvent.date,type:xo.FrustrationRecord,data:{frustrationTypes:r.rawRumEvent.action.frustration.type,recordIds:r.domainContext.events.map(function(s){return n.getIdForEvent(s)})}})}).unsubscribe}var _z=200;function Cz(e,t){return C_(e).subscribe(t).unsubscribe}function kz(e,t){var n=window.visualViewport;if(!n)return ct;var r=Ii(function(){t(L_(n))},_z,{trailing:!1}),o=r.throttled,i=r.cancel,a=er(e,n,[le.RESIZE,le.SCROLL],o,{capture:!0,passive:!0}).stop;return function(){a(),i()}}var $z=100;function Tz(e){var t=ct,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(o){n.length===0&&(t=Az(r,{timeout:$z})),n.push.apply(n,o)},flush:r,stop:function(){t()}}}function Az(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(ve(e),t);return function(){return window.cancelIdleCallback(n)}}var r=window.requestAnimationFrame(ve(e));return function(){return window.cancelAnimationFrame(r)}}function z_(e,t,n,r){var o=QE();if(!o)return{stop:ct,flush:ct};var i=Tz(function(s){Rz(s.concat(a.takeRecords()),e,t,n)}),a=new o(ve(i.addMutations));return a.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),i.stop()},flush:function(){i.flush()}}}function Rz(e,t,n,r){e.filter(function(d){return d.type==="childList"}).forEach(function(d){d.removedNodes.forEach(function(f){U_(f,r.removeShadowRoot)})});var o=e.filter(function(d){return d.target.isConnected&&WB(d.target)&&Oi(d.target,n.defaultPrivacyLevel)!==Ne.HIDDEN}),i=Fz(o.filter(function(d){return d.type==="childList"}),n,r),a=i.adds,s=i.removes,l=i.hasBeenSerialized,c=Iz(o.filter(function(d){return d.type==="characterData"&&!l(d.target)}),n),u=Pz(o.filter(function(d){return d.type==="attributes"&&!l(d.target)}),n);!c.length&&!u.length&&!s.length&&!a.length||t({adds:a,removes:s,texts:c,attributes:u})}function Fz(e,t,n){for(var r=new Set,o=new Map,i=function(_){_.addedNodes.forEach(function(E){r.add(E)}),_.removedNodes.forEach(function(E){r.has(E)||o.set(E,_.target),r.delete(E)})},a=0,s=e;aUz&&Xz()),t}function Xz(){if($n)if($n.keys)$n.delete($n.keys().next().value);else{var e=!0;$n.forEach(function(t,n){e&&($n.delete(n),e=!1)})}}var qz=function(){function e(t,n,r){this.encoder=t;var o=n.view.id;this.metadata=De({start:1/0,end:-1/0,creation_reason:r,records_count:0,has_full_snapshot:!1,index_in_view:Hz(o),source:"browser"},n),Vz(o)}return e.prototype.addRecord=function(t,n){var r;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,(r=this.metadata).has_full_snapshot||(r.has_full_snapshot=t.type===xo.FullSnapshot),ih("record",{record:t,segment:this.metadata}),Wz(this.metadata.view.id);var o=this.metadata.records_count===1?'{"records":[':",";this.encoder.write(o+JSON.stringify(t),n)},e.prototype.flush=function(t){var n=this;if(this.metadata.records_count===0)throw new Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),` -`),function(){Zz(n.metadata.view.id,n.encoder.rawBytesCount),t(n.metadata)}),this.encoder.reset()},e}(),Kz=30*Jn,H_=6e4;function Yz(e,t,n,r,o,i){return Qz(e,function(){return Jz(t.applicationId,n,r)},o,i)}function Qz(e,t,n,r){var o={status:0,nextSegmentCreationReason:"init"},i=e.subscribe(2,function(){s("view_change")}).unsubscribe,a=e.subscribe(9,function(l){s(l.reason)}).unsubscribe;function s(l){o.status===1&&(o.segment.flush(function(c){var u=zz(r.encodedBytes,c,r.rawBytesCount);ME(l)?n.sendOnExit(u):n.send(u)}),Eo(o.expirationTimeoutId)),l!=="stop"?o={status:0,nextSegmentCreationReason:l}:o={status:2}}return{addRecord:function(l){if(o.status!==2){if(o.status===0){var c=t();if(!c)return;o={status:1,segment:new qz(r,c,o.nextSegmentCreationReason),expirationTimeoutId:An(function(){s("segment_duration_limit")},Kz)}}var u=o.segment;u.addRecord(l,function(){o.status===1&&o.segment===u&&r.encodedBytesCount>H_&&s("segment_bytes_limit")})}},stop:function(){s("stop"),i(),a()}}}function Jz(e,t,n){var r=t.findTrackedSession(),o=n.findView();if(!(!r||!o))return{application:{id:e},session:{id:r.id},view:{id:o.id}}}function eU(e,t,n,r,o,i){var a=function(y){e.notify(12,{error:y}),Pi("Error reported to customer",{"error.message":y.message})},s=i||jE(t,t.sessionReplayEndpointBuilder,H_,a),l=Yz(e,t,n,r,s,o),c=l.addRecord,u=l.stop,d=Bz({emit:c,configuration:t,lifeCycle:e}),f=d.stop,p=d.takeSubsequentFullSnapshot,m=d.flushMutations,g=e.subscribe(4,function(){m(),c({timestamp:Ot(),type:xo.ViewEnd})}).unsubscribe,w=e.subscribe(2,function(y){p(y.startClocks.timeStamp)}).unsubscribe;return{stop:function(){g(),w(),f(),u()}}}function V_(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function tU(e,t,n,r){var o=t.findTrackedSession(),i=nU(o,r),a=n.findView();return AB(e,{viewContext:a,errorType:i,session:o})}function nU(e,t){if(!V_())return"browser-not-supported";if(!e)return"rum-not-tracked";if(!e.sessionReplayAllowed)return"incorrect-session-plan";if(!t)return"replay-not-started"}function rU(e,t,n){var r=0,o=[],i,a=0,s=[],l=Vt(e,t,"message",function(c){var u=c.data;if(!(u.type!=="wrote"||u.streamId!==n)){var d=s.shift();d&&d.id===u.id?(u.id===0?(r=u.additionalBytesCount,o=[u.result]):(r+=u.additionalBytesCount,o.push(u.result)),i=u.trailer,d.callback()):(l(),Pi("Worker responses received out of order."))}}).stop;return{get encodedBytes(){return o.length?OO(o.concat(i)):new Uint8Array(0)},get encodedBytesCount(){return o.length?o.reduce(function(c,u){return c+u.length},0)+i.length:0},get rawBytesCount(){return r},write:function(c,u){t.postMessage({action:"write",id:a,data:c,streamId:n}),s.push({id:a,callback:u}),a+=1},reset:function(){t.postMessage({action:"reset",streamId:n}),a=0},stop:function(){l()}}}var oU=10*Jn;function W_(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([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]),_=new Uint8Array([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]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r>=7;l>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&is){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&rt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var Dt={status:0};function iU(e,t,n,r){switch(r===void 0&&(r=W_),Dt.status===0&&aU(e,t,r),Dt.status){case 1:return Dt.initializationFailureCallbacks.push(n),Dt.worker;case 3:return Dt.worker}}function Z6(){return Dt.status}function aU(e,t,n){n===void 0&&(n=W_);try{var r=n(e),o=Vt(e,r,"error",function(s){Jm(e,t,s)}).stop,i=Vt(e,r,"message",function(s){var l=s.data;l.type==="errored"?Jm(e,t,l.error,l.streamId):l.type==="initialized"&&lU(l.version)}).stop;r.postMessage({action:"init"}),An(function(){return sU(t)},oU);var a=function(){o(),i()};Dt={status:1,worker:r,stop:a,initializationFailureCallbacks:[]}}catch(s){Jm(e,t,s)}}function sU(e){Dt.status===1&&(qe.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),Dt.initializationFailureCallbacks.forEach(function(t){return t()}),Dt={status:2})}function lU(e){Dt.status===1&&(Dt={status:3,worker:Dt.worker,stop:Dt.stop,version:e})}function Jm(e,t,n,r){if(Dt.status===1||Dt.status===0){if(qe.error("".concat(t," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&cU(n.message)){var o=void 0;e.workerUrl?o="Please make sure the Worker URL ".concat(e.workerUrl," is correct and CSP is correctly configured."):o="Please make sure CSP is correctly configured.",qe.error("".concat(o," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else L0(n);Dt.status===1&&Dt.initializationFailureCallbacks.forEach(function(i){return i()}),Dt={status:2}}else L0(n,{worker_version:Dt.status===3&&Dt.version,stream_id:r})}function cU(e){return Dr(e,"Content Security Policy")||Dr(e,"requires 'TrustedScriptURL'")}function uU(e,t){if(Lo()||!V_())return{start:ct,stop:ct,getReplayStats:function(){},onRumStart:ct,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:1},r=function(){n={status:1}},o=function(){n={status:0}};return{start:function(){return r()},stop:function(){return o()},getSessionReplayLink:function(i,a,s){return tU(i,a,s,n.status!==0)},onRumStart:function(i,a,s,l){a.startSessionReplayRecordingManually&&(n={status:0}),i.subscribe(7,function(){(n.status===2||n.status===3)&&(o(),n={status:1})}),i.subscribe(8,function(){n.status===1&&r()}),r=function(){var c=s.findTrackedSession();if(!c||!c.sessionReplayAllowed){n={status:1};return}n.status===2||n.status===3||(n={status:2},Ky(a,"interactive",function(){if(n.status===2){var u=iU(a,"Datadog Session Replay",function(){o()},t);if(!u){n={status:0};return}var d=e(i,a,s,l,rU(a,u,1)).stop;n={status:3,stopRecording:d}}}))},o=function(){n.status!==0&&(n.status===3&&n.stopRecording(),n={status:0})},n.status===1&&r()},isRecording:function(){return Z6()===3&&n.status===3},getReplayStats:function(i){return Z6()===3?Gz(i):void 0}}}var dU=uU(eU),Z_=BM(kB,dU);bE(Fi(),"DD_RUM",Z_);const Fl={preview:"Preview",development:"Development",staging:"Staging",production:"Production"},fU={juiceShop:"JuiceShop",webGoat:"Webgoat",altoroj:"Altoroj"},pU={try:"Try",fixYourCode:"FixYourCode",workflow:"Workflow"},G_={WELCOME_STEP:{OPTION:e=>`welcome_step__${e}`,SUBMIT:"welcome_step__submit",WELCOME_STEP_OPTIONS:pU},CHOOSE_SCANNER:{SCANNER:e=>`choose_scanner__${e}`,OPERATION:e=>`choose_scanner__${e}`,SUBMIT:"choose_scanner__submit"},TRY_NOW:{OPTION:e=>`choose_project__${e}`,SUBMIT:"choose_scanner__submit",ISSUE_TYPE:"SQL Injection",PROJECTS:fU},WORKFLOW:{OPTION:e=>`choose_workflow__${e}`,SUBMIT:"choose_workflow__submit"},SELECT_GITHUB_REPO:{OPTION:e=>`select-repo_n_${e}`,SUBMIT:"select-repo__submit"},UPLOAD:{DROPZONE:"upload_step__dropzone",SUBMIT:"upload_step__submit"},SELECT_REPOSITORY:{USE_GITHUB:"select_repository__use_github",REPO_URL:"select_repository__repo_url",SUBMIT:"select_repository__submit",CONNECT_GITHUB:"select_repository__connect_github",CONNECT_GITLAB:"select_repository__connect_gitlab",UPLOAD_ZIP_FILE:"select_repository__upload_zip_file",FILE_UPLOADED:"select_repository__file_uploaded"},RUN_ANALYSIS:{SUBMIT:"run_analysis__submit"},ANALYSIS_SCREEN:{FIX_TABLE:"analysis_screen__fix_table",ANALYSIS_PROGRESS:"analysis_screen__analysis_progress",FIX_LINK:"analysis_screen__fix_link",FIX_FILE_NAME:"analysis_screen__fix_file_name",FIXES_COUNT:"analysis_screen__fixes_count",AVAILABLE_FIXES:"analysis_screen__available_fixes",FIXED_COUNT:"analysis_screen__fixed_count",UNFIXED_COUNT:"analysis_screen__unfixed_count",ISSUE_TYPE:e=>`analysis_screen__issue_type_${e.replaceAll(" ","_")}`},FIX_SCREEN:{BACK_TO_ANALYSIS_BUTTON:"fix_screen__back_to_analysis_button",SAVE_FIX_BUTTON:"fix_screen__save_fix_button",SAVE_BUTTON_DROPDOWN:"fix_screen__save_dropdown",APPLY_FIX_ALL_BUTTON:"fix_screen__apply_fix_all_button",RESET_ALL_BUTTON:"fix_screen__reset_all_button",COMMIT_CHANGES_DIALOG_BUTTON:"fix_screen__commit_changes_dialog_button",FIX_STATE:"fix_screen__fix_state",FIX_QUESTION:{CONTAINER:"fix_screen__fix_question_container",INPUT:"fix_screen__fix_question_input",ACCEPT_BUTTON:"fix_screen__fix_question_accept_button"},COMMIT_MODAL:{TARGET_BRANCH:"fix_screen__commit_modal__target_branch",NEW_BRANCH:"fix_screen__commit_modal__new_branch",COMMIT_BUTTON:"fix_screen__commit_modal__commit_button"}},BULK_FIXES:{SELECT_CHECKBOX:"bulk_fixes__select_checkbox",COMMIT_FIXES:"bulk_fixes__commit_fixes"},COMPONENTS:{SELECT:{TRIGGER:"select__trigger",ITEM_TEXT:"select__item_text"}},SETTINGS:{SETTINGS_SELECT:e=>`settings_option__${e.replaceAll(" ","_")}`}};var Xe;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const a of o)i[a]=a;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(s=>typeof o[o[s]]!="number"),a={};for(const s of i)a[s]=o[s];return e.objectValues(a)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.push(a);return i},e.find=(o,i)=>{for(const a of o)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(Xe||(Xe={}));var U2;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(U2||(U2={}));const ue=Xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Qi=e=>{switch(typeof e){case"undefined":return ue.undefined;case"string":return ue.string;case"number":return isNaN(e)?ue.nan:ue.number;case"boolean":return ue.boolean;case"function":return ue.function;case"bigint":return ue.bigint;case"symbol":return ue.symbol;case"object":return Array.isArray(e)?ue.array:e===null?ue.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ue.promise:typeof Map<"u"&&e instanceof Map?ue.map:typeof Set<"u"&&e instanceof Set?ue.set:typeof Date<"u"&&e instanceof Date?ue.date:ue.object;default:return ue.unknown}},te=Xe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),hU=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class no extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(o);else if(a.code==="invalid_return_type")o(a.returnTypeError);else if(a.code==="invalid_arguments")o(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let s=r,l=0;for(;ln.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}no.create=e=>new no(e);const gd=(e,t)=>{let n;switch(e.code){case te.invalid_type:e.received===ue.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case te.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Xe.jsonStringifyReplacer)}`;break;case te.unrecognized_keys:n=`Unrecognized key(s) in object: ${Xe.joinValues(e.keys,", ")}`;break;case te.invalid_union:n="Invalid input";break;case te.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Xe.joinValues(e.options)}`;break;case te.invalid_enum_value:n=`Invalid enum value. Expected ${Xe.joinValues(e.options)}, received '${e.received}'`;break;case te.invalid_arguments:n="Invalid function arguments";break;case te.invalid_return_type:n="Invalid function return type";break;case te.invalid_date:n="Invalid date";break;case te.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Xe.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case te.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case te.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case te.custom:n="Invalid input";break;case te.invalid_intersection_types:n="Intersection results could not be merged";break;case te.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case te.not_finite:n="Number must be finite";break;default:n=t.defaultError,Xe.assertNever(e)}return{message:n}};let X_=gd;function mU(e){X_=e}function U0(){return X_}const H0=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};let s="";const l=r.filter(c=>!!c).slice().reverse();for(const c of l)s=c(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}},gU=[];function fe(e,t){const n=H0({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,U0(),gd].filter(r=>!!r)});e.common.issues.push(n)}class gn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return Te;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n)r.push({key:await o.key,value:await o.value});return gn.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:a}=o;if(i.status==="aborted"||a.status==="aborted")return Te;i.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||o.alwaysSet)&&(r[i.value]=a.value)}return{status:t.value,value:r}}}const Te=Object.freeze({status:"aborted"}),q_=e=>({status:"dirty",value:e}),Pn=e=>({status:"valid",value:e}),H2=e=>e.status==="aborted",V2=e=>e.status==="dirty",vd=e=>e.status==="valid",V0=e=>typeof Promise<"u"&&e instanceof Promise;var we;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(we||(we={}));class No{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const G6=(e,t)=>{if(vd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new no(e.common.issues);return this._error=n,this._error}}};function Fe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(a,s)=>a.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:r??s.defaultError}:{message:n??s.defaultError},description:o}}class Oe{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Qi(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Qi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new gn,ctx:{common:t.parent.common,data:t.data,parsedType:Qi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(V0(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qi(t)},i=this._parseSync({data:t,path:o.path,parent:o});return G6(o,i)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qi(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(V0(o)?o:Promise.resolve(o));return G6(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const a=t(o),s=()=>i.addIssue({code:te.custom,...r(o)});return typeof Promise<"u"&&a instanceof Promise?a.then(l=>l?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new lo({schema:this,typeName:Ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ui.create(this,this._def)}nullable(){return Ps.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ro.create(this,this._def)}promise(){return _c.create(this,this._def)}or(t){return xd.create([this,t],this._def)}and(t){return Sd.create(this,t,this._def)}transform(t){return new lo({...Fe(this._def),schema:this,typeName:Ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new $d({...Fe(this._def),innerType:this,defaultValue:n,typeName:Ee.ZodDefault})}brand(){return new Y_({typeName:Ee.ZodBranded,type:this,...Fe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new X0({...Fe(this._def),innerType:this,catchValue:n,typeName:Ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Ef.create(this,t)}readonly(){return K0.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const vU=/^c[^\s-]{8,}$/i,yU=/^[a-z][a-z0-9]*$/,bU=/[0-9A-HJKMNP-TV-Z]{26}/,wU=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,xU=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,SU=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,EU=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,_U=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,CU=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function kU(e,t){return!!((t==="v4"||!t)&&EU.test(e)||(t==="v6"||!t)&&_U.test(e))}class eo extends Oe{constructor(){super(...arguments),this._regex=(t,n,r)=>this.refinement(o=>t.test(o),{validation:n,code:te.invalid_string,...we.errToObj(r)}),this.nonempty=t=>this.min(1,we.errToObj(t)),this.trim=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ue.string){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.string,received:i.parsedType}),Te}const r=new gn;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(o=this._getOrReturnCtx(t,o),fe(o,{code:te.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const a=t.data.length>i.value,s=t.data.length"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,...we.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...we.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...we.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...we.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...we.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...we.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...we.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...we.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new eo({checks:[],typeName:Ee.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Fe(e)})};function $U(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=parseInt(e.toFixed(o).replace(".","")),a=parseInt(t.toFixed(o).replace(".",""));return i%a/Math.pow(10,o)}class Ca extends Oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ue.number){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.number,received:i.parsedType}),Te}let r;const o=new gn;for(const i of this._def.checks)i.kind==="int"?Xe.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),fe(r,{code:te.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?$U(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_finite,message:i.message}),o.dirty()):Xe.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,we.toString(n))}gt(t,n){return this.setLimit("min",t,!1,we.toString(n))}lte(t,n){return this.setLimit("max",t,!0,we.toString(n))}lt(t,n){return this.setLimit("max",t,!1,we.toString(n))}setLimit(t,n,r,o){return new Ca({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:we.toString(o)}]})}_addCheck(t){return new Ca({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:we.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:we.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:we.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:we.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:we.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:we.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:we.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:we.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:we.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&Xe.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew Ca({checks:[],typeName:Ee.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Fe(e)});class ka extends Oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ue.bigint){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.bigint,received:i.parsedType}),Te}let r;const o=new gn;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Xe.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,we.toString(n))}gt(t,n){return this.setLimit("min",t,!1,we.toString(n))}lte(t,n){return this.setLimit("max",t,!0,we.toString(n))}lt(t,n){return this.setLimit("max",t,!1,we.toString(n))}setLimit(t,n,r,o){return new ka({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:we.toString(o)}]})}_addCheck(t){return new ka({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:we.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:we.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:we.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:we.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:we.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new ka({checks:[],typeName:Ee.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Fe(e)})};class yd extends Oe{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ue.boolean){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.boolean,received:r.parsedType}),Te}return Pn(t.data)}}yd.create=e=>new yd({typeName:Ee.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Fe(e)});class Fs extends Oe{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ue.date){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.date,received:i.parsedType}),Te}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_date}),Te}const r=new gn;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(o=this._getOrReturnCtx(t,o),fe(o,{code:te.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Xe.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Fs({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:we.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:we.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Fs({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ee.ZodDate,...Fe(e)});class W0 extends Oe{_parse(t){if(this._getType(t)!==ue.symbol){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.symbol,received:r.parsedType}),Te}return Pn(t.data)}}W0.create=e=>new W0({typeName:Ee.ZodSymbol,...Fe(e)});class bd extends Oe{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.undefined,received:r.parsedType}),Te}return Pn(t.data)}}bd.create=e=>new bd({typeName:Ee.ZodUndefined,...Fe(e)});class wd extends Oe{_parse(t){if(this._getType(t)!==ue.null){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.null,received:r.parsedType}),Te}return Pn(t.data)}}wd.create=e=>new wd({typeName:Ee.ZodNull,...Fe(e)});class Ec extends Oe{constructor(){super(...arguments),this._any=!0}_parse(t){return Pn(t.data)}}Ec.create=e=>new Ec({typeName:Ee.ZodAny,...Fe(e)});class ws extends Oe{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Pn(t.data)}}ws.create=e=>new ws({typeName:Ee.ZodUnknown,...Fe(e)});class wi extends Oe{_parse(t){const n=this._getOrReturnCtx(t);return fe(n,{code:te.invalid_type,expected:ue.never,received:n.parsedType}),Te}}wi.create=e=>new wi({typeName:Ee.ZodNever,...Fe(e)});class Z0 extends Oe{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.void,received:r.parsedType}),Te}return Pn(t.data)}}Z0.create=e=>new Z0({typeName:Ee.ZodVoid,...Fe(e)});class ro extends Oe{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==ue.array)return fe(n,{code:te.invalid_type,expected:ue.array,received:n.parsedType}),Te;if(o.exactLength!==null){const a=n.data.length>o.exactLength.value,s=n.data.lengtho.maxLength.value&&(fe(n,{code:te.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>o.type._parseAsync(new No(n,a,n.path,s)))).then(a=>gn.mergeArray(r,a));const i=[...n.data].map((a,s)=>o.type._parseSync(new No(n,a,n.path,s)));return gn.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ro({...this._def,minLength:{value:t,message:we.toString(n)}})}max(t,n){return new ro({...this._def,maxLength:{value:t,message:we.toString(n)}})}length(t,n){return new ro({...this._def,exactLength:{value:t,message:we.toString(n)}})}nonempty(t){return this.min(1,t)}}ro.create=(e,t)=>new ro({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ee.ZodArray,...Fe(t)});function _l(e){if(e instanceof _t){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ui.create(_l(r))}return new _t({...e._def,shape:()=>t})}else return e instanceof ro?new ro({...e._def,type:_l(e.element)}):e instanceof ui?ui.create(_l(e.unwrap())):e instanceof Ps?Ps.create(_l(e.unwrap())):e instanceof Bo?Bo.create(e.items.map(t=>_l(t))):e}class _t extends Oe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Xe.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==ue.object){const c=this._getOrReturnCtx(t);return fe(c,{code:te.invalid_type,expected:ue.object,received:c.parsedType}),Te}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof wi&&this._def.unknownKeys==="strip"))for(const c in o.data)a.includes(c)||s.push(c);const l=[];for(const c of a){const u=i[c],d=o.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new No(o,d,o.path,c)),alwaysSet:c in o.data})}if(this._def.catchall instanceof wi){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of s)l.push({key:{status:"valid",value:u},value:{status:"valid",value:o.data[u]}});else if(c==="strict")s.length>0&&(fe(o,{code:te.unrecognized_keys,keys:s}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of s){const d=o.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new No(o,d,o.path,u)),alwaysSet:u in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key;c.push({key:d,value:await u.value,alwaysSet:u.alwaysSet})}return c}).then(c=>gn.mergeObjectSync(r,c)):gn.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return we.errToObj,new _t({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,i,a,s;const l=(a=(i=(o=this._def).errorMap)===null||i===void 0?void 0:i.call(o,n,r).message)!==null&&a!==void 0?a:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=we.errToObj(t).message)!==null&&s!==void 0?s:l}:{message:l}}}:{}})}strip(){return new _t({...this._def,unknownKeys:"strip"})}passthrough(){return new _t({...this._def,unknownKeys:"passthrough"})}extend(t){return new _t({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new _t({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new _t({...this._def,catchall:t})}pick(t){const n={};return Xe.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new _t({...this._def,shape:()=>n})}omit(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new _t({...this._def,shape:()=>n})}deepPartial(){return _l(this)}partial(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new _t({...this._def,shape:()=>n})}required(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof ui;)i=i._def.innerType;n[r]=i}}),new _t({...this._def,shape:()=>n})}keyof(){return K_(Xe.objectKeys(this.shape))}}_t.create=(e,t)=>new _t({shape:()=>e,unknownKeys:"strip",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});_t.strictCreate=(e,t)=>new _t({shape:()=>e,unknownKeys:"strict",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});_t.lazycreate=(e,t)=>new _t({shape:e,unknownKeys:"strip",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});class xd extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const a=i.map(s=>new no(s.ctx.common.issues));return fe(n,{code:te.invalid_union,unionErrors:a}),Te}if(n.common.async)return Promise.all(r.map(async i=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(o);{let i;const a=[];for(const l of r){const c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(l=>new no(l));return fe(n,{code:te.invalid_union,unionErrors:s}),Te}}get options(){return this._def.options}}xd.create=(e,t)=>new xd({options:e,typeName:Ee.ZodUnion,...Fe(t)});const c0=e=>e instanceof _d?c0(e.schema):e instanceof lo?c0(e.innerType()):e instanceof Cd?[e.value]:e instanceof $a?e.options:e instanceof kd?Object.keys(e.enum):e instanceof $d?c0(e._def.innerType):e instanceof bd?[void 0]:e instanceof wd?[null]:null;class fh extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.object)return fe(n,{code:te.invalid_type,expected:ue.object,received:n.parsedType}),Te;const r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(fe(n,{code:te.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),Te)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const i of n){const a=c0(i.shape[t]);if(!a)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of a){if(o.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);o.set(s,i)}}return new fh({typeName:Ee.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...Fe(r)})}}function W2(e,t){const n=Qi(e),r=Qi(t);if(e===t)return{valid:!0,data:e};if(n===ue.object&&r===ue.object){const o=Xe.objectKeys(t),i=Xe.objectKeys(e).filter(s=>o.indexOf(s)!==-1),a={...e,...t};for(const s of i){const l=W2(e[s],t[s]);if(!l.valid)return{valid:!1};a[s]=l.data}return{valid:!0,data:a}}else if(n===ue.array&&r===ue.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i{if(H2(i)||H2(a))return Te;const s=W2(i.value,a.value);return s.valid?((V2(i)||V2(a))&&n.dirty(),{status:n.value,value:s.data}):(fe(r,{code:te.invalid_intersection_types}),Te)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>o(i,a)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Sd.create=(e,t,n)=>new Sd({left:e,right:t,typeName:Ee.ZodIntersection,...Fe(n)});class Bo extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.array)return fe(r,{code:te.invalid_type,expected:ue.array,received:r.parsedType}),Te;if(r.data.lengththis._def.items.length&&(fe(r,{code:te.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((a,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new No(r,a,r.path,s)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>gn.mergeArray(n,a)):gn.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Bo({...this._def,rest:t})}}Bo.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Bo({items:e,typeName:Ee.ZodTuple,rest:null,...Fe(t)})};class Ed extends Oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.object)return fe(r,{code:te.invalid_type,expected:ue.object,received:r.parsedType}),Te;const o=[],i=this._def.keyType,a=this._def.valueType;for(const s in r.data)o.push({key:i._parse(new No(r,s,r.path,s)),value:a._parse(new No(r,r.data[s],r.path,s))});return r.common.async?gn.mergeObjectAsync(n,o):gn.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Oe?new Ed({keyType:t,valueType:n,typeName:Ee.ZodRecord,...Fe(r)}):new Ed({keyType:eo.create(),valueType:t,typeName:Ee.ZodRecord,...Fe(n)})}}class G0 extends Oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.map)return fe(r,{code:te.invalid_type,expected:ue.map,received:r.parsedType}),Te;const o=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([s,l],c)=>({key:o._parse(new No(r,s,r.path,[c,"key"])),value:i._parse(new No(r,l,r.path,[c,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of a){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return Te;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of a){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return Te;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}}}}G0.create=(e,t,n)=>new G0({valueType:t,keyType:e,typeName:Ee.ZodMap,...Fe(n)});class Is extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.set)return fe(r,{code:te.invalid_type,expected:ue.set,received:r.parsedType}),Te;const o=this._def;o.minSize!==null&&r.data.sizeo.maxSize.value&&(fe(r,{code:te.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function a(l){const c=new Set;for(const u of l){if(u.status==="aborted")return Te;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const s=[...r.data.values()].map((l,c)=>i._parse(new No(r,l,r.path,c)));return r.common.async?Promise.all(s).then(l=>a(l)):a(s)}min(t,n){return new Is({...this._def,minSize:{value:t,message:we.toString(n)}})}max(t,n){return new Is({...this._def,maxSize:{value:t,message:we.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Is.create=(e,t)=>new Is({valueType:e,minSize:null,maxSize:null,typeName:Ee.ZodSet,...Fe(t)});class Kl extends Oe{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.function)return fe(n,{code:te.invalid_type,expected:ue.function,received:n.parsedType}),Te;function r(s,l){return H0({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,U0(),gd].filter(c=>!!c),issueData:{code:te.invalid_arguments,argumentsError:l}})}function o(s,l){return H0({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,U0(),gd].filter(c=>!!c),issueData:{code:te.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof _c){const s=this;return Pn(async function(...l){const c=new no([]),u=await s._def.args.parseAsync(l,i).catch(p=>{throw c.addIssue(r(l,p)),c}),d=await Reflect.apply(a,this,u);return await s._def.returns._def.type.parseAsync(d,i).catch(p=>{throw c.addIssue(o(d,p)),c})})}else{const s=this;return Pn(function(...l){const c=s._def.args.safeParse(l,i);if(!c.success)throw new no([r(l,c.error)]);const u=Reflect.apply(a,this,c.data),d=s._def.returns.safeParse(u,i);if(!d.success)throw new no([o(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Kl({...this._def,args:Bo.create(t).rest(ws.create())})}returns(t){return new Kl({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Kl({args:t||Bo.create([]).rest(ws.create()),returns:n||ws.create(),typeName:Ee.ZodFunction,...Fe(r)})}}class _d extends Oe{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}_d.create=(e,t)=>new _d({getter:e,typeName:Ee.ZodLazy,...Fe(t)});class Cd extends Oe{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return fe(n,{received:n.data,code:te.invalid_literal,expected:this._def.value}),Te}return{status:"valid",value:t.data}}get value(){return this._def.value}}Cd.create=(e,t)=>new Cd({value:e,typeName:Ee.ZodLiteral,...Fe(t)});function K_(e,t){return new $a({values:e,typeName:Ee.ZodEnum,...Fe(t)})}class $a extends Oe{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return fe(n,{expected:Xe.joinValues(r),received:n.parsedType,code:te.invalid_type}),Te}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return fe(n,{received:n.data,code:te.invalid_enum_value,options:r}),Te}return Pn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return $a.create(t)}exclude(t){return $a.create(this.options.filter(n=>!t.includes(n)))}}$a.create=K_;class kd extends Oe{_parse(t){const n=Xe.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ue.string&&r.parsedType!==ue.number){const o=Xe.objectValues(n);return fe(r,{expected:Xe.joinValues(o),received:r.parsedType,code:te.invalid_type}),Te}if(n.indexOf(t.data)===-1){const o=Xe.objectValues(n);return fe(r,{received:r.data,code:te.invalid_enum_value,options:o}),Te}return Pn(t.data)}get enum(){return this._def.values}}kd.create=(e,t)=>new kd({values:e,typeName:Ee.ZodNativeEnum,...Fe(t)});class _c extends Oe{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.promise&&n.common.async===!1)return fe(n,{code:te.invalid_type,expected:ue.promise,received:n.parsedType}),Te;const r=n.parsedType===ue.promise?n.data:Promise.resolve(n.data);return Pn(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}_c.create=(e,t)=>new _c({type:e,typeName:Ee.ZodPromise,...Fe(t)});class lo extends Oe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:a=>{fe(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const a=o.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(a).then(s=>this._def.schema._parseAsync({data:s,path:r.path,parent:r})):this._def.schema._parseSync({data:a,path:r.path,parent:r})}if(o.type==="refinement"){const a=s=>{const l=o.refinement(s,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Te:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?Te:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(o.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!vd(a))return a;const s=o.transform(a.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>vd(a)?Promise.resolve(o.transform(a.value,i)).then(s=>({status:n.value,value:s})):a);Xe.assertNever(o)}}lo.create=(e,t,n)=>new lo({schema:e,typeName:Ee.ZodEffects,effect:t,...Fe(n)});lo.createWithPreprocess=(e,t,n)=>new lo({schema:t,effect:{type:"preprocess",transform:e},typeName:Ee.ZodEffects,...Fe(n)});class ui extends Oe{_parse(t){return this._getType(t)===ue.undefined?Pn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ui.create=(e,t)=>new ui({innerType:e,typeName:Ee.ZodOptional,...Fe(t)});class Ps extends Oe{_parse(t){return this._getType(t)===ue.null?Pn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ps.create=(e,t)=>new Ps({innerType:e,typeName:Ee.ZodNullable,...Fe(t)});class $d extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ue.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}$d.create=(e,t)=>new $d({innerType:e,typeName:Ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Fe(t)});class X0 extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return V0(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new no(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new no(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}X0.create=(e,t)=>new X0({innerType:e,typeName:Ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Fe(t)});class q0 extends Oe{_parse(t){if(this._getType(t)!==ue.nan){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.nan,received:r.parsedType}),Te}return{status:"valid",value:t.data}}}q0.create=e=>new q0({typeName:Ee.ZodNaN,...Fe(e)});const TU=Symbol("zod_brand");class Y_ extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Ef extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?Te:i.status==="dirty"?(n.dirty(),q_(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?Te:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Ef({in:t,out:n,typeName:Ee.ZodPipeline})}}class K0 extends Oe{_parse(t){const n=this._def.innerType._parse(t);return vd(n)&&(n.value=Object.freeze(n.value)),n}}K0.create=(e,t)=>new K0({innerType:e,typeName:Ee.ZodReadonly,...Fe(t)});const Q_=(e,t={},n)=>e?Ec.create().superRefine((r,o)=>{var i,a;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(a=(i=s.fatal)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:!0,c=typeof s=="string"?{message:s}:s;o.addIssue({code:"custom",...c,fatal:l})}}):Ec.create(),AU={object:_t.lazycreate};var Ee;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ee||(Ee={}));const RU=(e,t={message:`Input not instance of ${e.name}`})=>Q_(n=>n instanceof e,t),J_=eo.create,eC=Ca.create,FU=q0.create,IU=ka.create,tC=yd.create,PU=Fs.create,OU=W0.create,jU=bd.create,DU=wd.create,MU=Ec.create,LU=ws.create,NU=wi.create,BU=Z0.create,zU=ro.create,UU=_t.create,HU=_t.strictCreate,VU=xd.create,WU=fh.create,ZU=Sd.create,GU=Bo.create,XU=Ed.create,qU=G0.create,KU=Is.create,YU=Kl.create,QU=_d.create,JU=Cd.create,eH=$a.create,tH=kd.create,nH=_c.create,X6=lo.create,rH=ui.create,oH=Ps.create,iH=lo.createWithPreprocess,aH=Ef.create,sH=()=>J_().optional(),lH=()=>eC().optional(),cH=()=>tC().optional(),uH={string:e=>eo.create({...e,coerce:!0}),number:e=>Ca.create({...e,coerce:!0}),boolean:e=>yd.create({...e,coerce:!0}),bigint:e=>ka.create({...e,coerce:!0}),date:e=>Fs.create({...e,coerce:!0})},dH=Te;var A=Object.freeze({__proto__:null,defaultErrorMap:gd,setErrorMap:mU,getErrorMap:U0,makeIssue:H0,EMPTY_PATH:gU,addIssueToContext:fe,ParseStatus:gn,INVALID:Te,DIRTY:q_,OK:Pn,isAborted:H2,isDirty:V2,isValid:vd,isAsync:V0,get util(){return Xe},get objectUtil(){return U2},ZodParsedType:ue,getParsedType:Qi,ZodType:Oe,ZodString:eo,ZodNumber:Ca,ZodBigInt:ka,ZodBoolean:yd,ZodDate:Fs,ZodSymbol:W0,ZodUndefined:bd,ZodNull:wd,ZodAny:Ec,ZodUnknown:ws,ZodNever:wi,ZodVoid:Z0,ZodArray:ro,ZodObject:_t,ZodUnion:xd,ZodDiscriminatedUnion:fh,ZodIntersection:Sd,ZodTuple:Bo,ZodRecord:Ed,ZodMap:G0,ZodSet:Is,ZodFunction:Kl,ZodLazy:_d,ZodLiteral:Cd,ZodEnum:$a,ZodNativeEnum:kd,ZodPromise:_c,ZodEffects:lo,ZodTransformer:lo,ZodOptional:ui,ZodNullable:Ps,ZodDefault:$d,ZodCatch:X0,ZodNaN:q0,BRAND:TU,ZodBranded:Y_,ZodPipeline:Ef,ZodReadonly:K0,custom:Q_,Schema:Oe,ZodSchema:Oe,late:AU,get ZodFirstPartyTypeKind(){return Ee},coerce:uH,any:MU,array:zU,bigint:IU,boolean:tC,date:PU,discriminatedUnion:WU,effect:X6,enum:eH,function:YU,instanceof:RU,intersection:ZU,lazy:QU,literal:JU,map:qU,nan:FU,nativeEnum:tH,never:NU,null:DU,nullable:oH,number:eC,object:UU,oboolean:cH,onumber:lH,optional:rH,ostring:sH,pipeline:aH,preprocess:iH,promise:nH,record:XU,set:KU,strictObject:HU,string:J_,symbol:OU,transformer:X6,tuple:GU,undefined:jU,union:VU,unknown:LU,void:BU,NEVER:dH,ZodIssueCode:te,quotelessJson:hU,ZodError:no});const fH=A.object({VITE_AUTH0_ISSUER:A.string(),VITE_AUTH0_CLIENT_ID:A.string(),VITE_AUTH0_API_URL:A.string(),VITE_AUTH0_SCOPES:A.string(),VITE_GITHUB_CLIENT_ID:A.string(),VITE_GITLAB_CLIENT_ID:A.string(),VITE_AUTH0_CALLBACK_PATHNAME:A.string(),PROD:A.boolean(),VITE_DD_RUM_APP_ID:A.string(),VITE_DD_RUM_TOKEN:A.string(),VITE_GRAPHQL_ENDPOINT:A.string(),VITE_ENVIRONMENT:A.union([A.literal(Fl.development),A.literal(Fl.preview),A.literal(Fl.staging),A.literal(Fl.production)])}),ub=fH.parse({VITE_AUTH0_CALLBACK_PATHNAME:"/auth-callback",VITE_AUTH0_SCOPES:"openid email",VITE_ENABLE_GRAPHQL_MOCKS:"false",VITE_ENVIRONMENT:"Development",VITE_AUTH0_ISSUER:"",VITE_GRAPHQL_WS_ENDPOINT:"",VITE_GRAPHQL_ENDPOINT:"",VITE_DD_RUM_TOKEN:"",VITE_AUTH0_API_URL:"",VITE_AUTH0_CLIENT_ID:"",VITE_GITHUB_CLIENT_ID:"",VITE_GITLAB_CLIENT_ID:"",VITE_DD_RUM_APP_ID:"",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1});var rt="colors",wn="sizes",he="space",pH={gap:he,gridGap:he,columnGap:he,gridColumnGap:he,rowGap:he,gridRowGap:he,inset:he,insetBlock:he,insetBlockEnd:he,insetBlockStart:he,insetInline:he,insetInlineEnd:he,insetInlineStart:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,marginBlock:he,marginBlockEnd:he,marginBlockStart:he,marginInline:he,marginInlineEnd:he,marginInlineStart:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,paddingBlock:he,paddingBlockEnd:he,paddingBlockStart:he,paddingInline:he,paddingInlineEnd:he,paddingInlineStart:he,top:he,right:he,bottom:he,left:he,scrollMargin:he,scrollMarginTop:he,scrollMarginRight:he,scrollMarginBottom:he,scrollMarginLeft:he,scrollMarginX:he,scrollMarginY:he,scrollMarginBlock:he,scrollMarginBlockEnd:he,scrollMarginBlockStart:he,scrollMarginInline:he,scrollMarginInlineEnd:he,scrollMarginInlineStart:he,scrollPadding:he,scrollPaddingTop:he,scrollPaddingRight:he,scrollPaddingBottom:he,scrollPaddingLeft:he,scrollPaddingX:he,scrollPaddingY:he,scrollPaddingBlock:he,scrollPaddingBlockEnd:he,scrollPaddingBlockStart:he,scrollPaddingInline:he,scrollPaddingInlineEnd:he,scrollPaddingInlineStart:he,fontSize:"fontSizes",background:rt,backgroundColor:rt,backgroundImage:rt,borderImage:rt,border:rt,borderBlock:rt,borderBlockEnd:rt,borderBlockStart:rt,borderBottom:rt,borderBottomColor:rt,borderColor:rt,borderInline:rt,borderInlineEnd:rt,borderInlineStart:rt,borderLeft:rt,borderLeftColor:rt,borderRight:rt,borderRightColor:rt,borderTop:rt,borderTopColor:rt,caretColor:rt,color:rt,columnRuleColor:rt,fill:rt,outline:rt,outlineColor:rt,stroke:rt,textDecorationColor:rt,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:wn,minBlockSize:wn,maxBlockSize:wn,inlineSize:wn,minInlineSize:wn,maxInlineSize:wn,width:wn,minWidth:wn,maxWidth:wn,height:wn,minHeight:wn,maxHeight:wn,flexBasis:wn,gridTemplateColumns:wn,gridTemplateRows:wn,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},hH=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Zc=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(i=>JSON.stringify(i,hH))(t);return o in e?e[o]:e[o]=n(t,...r)}},xs=Symbol.for("sxs.internal"),db=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),q6=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:mH}=Object.prototype,Z2=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),gH=/\s+(?![^()]*\))/,cl=e=>t=>e(...typeof t=="string"?String(t).split(gH):[t]),K6={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:cl((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:cl((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:cl((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:cl((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:cl((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:cl((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},eg=/([\d.]+)([^]*)/,vH=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):r+" "+o)),n),[]):t,yH=(e,t)=>e in bH&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,o,i)=>r+(o==="stretch"?`-moz-available${i};${Z2(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${Z2(e)}:${r}fit-content`)+i):String(t),bH={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},xi=e=>e?e+"-":"",nC=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,o,i,a,s)=>a=="$"==!!i?r:(o||a=="--"?"calc(":"")+"var(--"+(a==="$"?xi(t)+(s.includes("$")?"":xi(n))+s.replace(/\$/g,"-"):s)+")"+(o||a=="--"?"*"+(o||"")+(i||"1")+")":"")),wH=/\s*,\s*(?![^()]*\))/,xH=Object.prototype.toString,Il=(e,t,n,r,o)=>{let i,a,s;const l=(c,u,d)=>{let f,p;const m=g=>{for(f in g){const b=f.charCodeAt(0)===64,x=b&&Array.isArray(g[f])?g[f]:[g[f]];for(p of x){const S=/[A-Z]/.test(y=f)?y:y.replace(/-[^]/g,E=>E[1].toUpperCase()),_=typeof p=="object"&&p&&p.toString===xH&&(!r.utils[S]||!u.length);if(S in r.utils&&!_){const E=r.utils[S];if(E!==a){a=E,m(E(p)),a=null;continue}}else if(S in K6){const E=K6[S];if(E!==s){s=E,m(E(p)),s=null;continue}}if(b&&(w=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=w.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(E,C,k,I,j,$)=>{const P=eg.test(C),B=.0625*(P?-1:1),[R,M]=P?[I,C]:[C,I];return"("+(k[0]==="="?"":k[0]===">"===P?"max-":"min-")+R+":"+(k[0]!=="="&&k.length===1?M.replace(eg,(z,K,O)=>Number(K)+B*(k===">"?1:-1)+O):M)+(j?") and ("+(j[0]===">"?"min-":"max-")+R+":"+(j.length===1?$.replace(eg,(z,K,O)=>Number(K)+B*(j===">"?-1:1)+O):$):"")+")"})),_){const E=b?d.concat(f):[...d],C=b?[...u]:vH(u,f.split(wH));i!==void 0&&o(Y6(...i)),i=void 0,l(p,C,E)}else i===void 0&&(i=[[],u,d]),f=b||f.charCodeAt(0)!==36?f:`--${xi(r.prefix)}${f.slice(1).replace(/\$/g,"-")}`,p=_?p:typeof p=="number"?p&&S in SH?String(p)+"px":String(p):nC(yH(S,p??""),r.prefix,r.themeMap[S]),i[0].push(`${b?`${f} `:`${Z2(f)}:`}${p}`)}}var w,y};m(c),i!==void 0&&o(Y6(...i)),i=void 0};l(e,t,n)},Y6=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,SH={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Q6=e=>String.fromCharCode(e+(e>25?39:97)),Ss=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=Q6(n%52)+r;return Q6(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),ju=["themed","global","styled","onevar","resonevar","allvar","inline"],EH=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},_H=e=>{let t;const n=()=>{const{cssRules:o}=t.sheet;return[].map.call(o,(i,a)=>{const{cssText:s}=i;let l="";if(s.startsWith("--sxs"))return"";if(o[a-1]&&(l=o[a-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const c in t.rules)if(t.rules[c].group===i)return`--sxs{--sxs:${[...t.rules[c].cache].join(" ")}}${s}`;return i.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const c in s)delete s[c]}const o=Object(e).styleSheets||[];for(const s of o)if(EH(s)){for(let l=0,c=s.cssRules;c[l];++l){const u=Object(c[l]);if(u.type!==1)continue;const d=Object(c[l+1]);if(d.type!==4)continue;++l;const{cssText:f}=u;if(!f.startsWith("--sxs"))continue;const p=f.slice(14,-3).trim().split(/\s+/),m=ju[p[0]];m&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[m]={group:d,index:l,cache:new Set(p)})}if(t)break}if(!t){const s=(l,c)=>({type:c,cssRules:[],insertRule(u,d){this.cssRules.splice(d,0,s(u,{import:3,undefined:1}[(u.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,u=>u.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let s=ju.length-1;s>=0;--s){const l=ju[s];if(!a[l]){const c=ju[s+1],u=a[c]?a[c].index:i.cssRules.length;i.insertRule("@media{}",u),i.insertRule(`--sxs{--sxs:${s}}`,u),a[l]={group:i.cssRules[u+1],index:u,cache:new Set([s])}}CH(a[l])}};return r(),t},CH=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},yu=Symbol(),kH=Zc(),J6=(e,t)=>kH(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const o of n)if(o!=null)if(o[xs]){r.type==null&&(r.type=o[xs].type);for(const i of o[xs].composers)r.composers.add(i)}else o.constructor!==Object||o.$$typeof?r.type==null&&(r.type=o):r.composers.add($H(o,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),TH(e,r,t)}),$H=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${xi(o.prefix)}c-${Ss(r)}`,a=[],s=[],l=Object.create(null),c=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){u=l,d=f,mH.call(u,d)||(l[f]="undefined");const p=e[f];for(const m in p){const g={[f]:String(m)};String(m)==="undefined"&&c.push(f);const w=p[m],y=[g,w,!q6(w)];a.push(y)}}var u,d;if(typeof t=="object"&&t)for(const f of t){let{css:p,...m}=f;p=typeof p=="object"&&p||{};for(const w in m)m[w]=String(m[w]);const g=[m,p,!q6(p)];s.push(g)}return[i,r,a,s,l,c]},TH=(e,t,n)=>{const[r,o,i,a]=AH(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let p=0;pf.rules[p]={apply:m=>f[yu].push([p,m])}),f})(n):null,l=(s||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=d=>{d=typeof d=="object"&&d||RH;const{css:f,...p}=d,m={};for(const y in i)if(delete p[y],y in d){let b=d[y];typeof b=="object"&&b?m[y]={"@initial":i[y],...b}:(b=String(b),m[y]=b!=="undefined"||a.has(y)?b:i[y])}else m[y]=i[y];const g=new Set([...o]);for(const[y,b,x,S]of t.composers){n.rules.styled.cache.has(y)||(n.rules.styled.cache.add(y),Il(b,[`.${y}`],[],e,C=>{l.styled.apply(C)}));const _=ew(x,m,e.media),E=ew(S,m,e.media,!0);for(const C of _)if(C!==void 0)for(const[k,I,j]of C){const $=`${y}-${Ss(I)}-${k}`;g.add($);const P=(j?n.rules.resonevar:n.rules.onevar).cache,B=j?l.resonevar:l.onevar;P.has($)||(P.add($),Il(I,[`.${$}`],[],e,R=>{B.apply(R)}))}for(const C of E)if(C!==void 0)for(const[k,I]of C){const j=`${y}-${Ss(I)}-${k}`;g.add(j),n.rules.allvar.cache.has(j)||(n.rules.allvar.cache.add(j),Il(I,[`.${j}`],[],e,$=>{l.allvar.apply($)}))}}if(typeof f=="object"&&f){const y=`${r}-i${Ss(f)}-css`;g.add(y),n.rules.inline.cache.has(y)||(n.rules.inline.cache.add(y),Il(f,[`.${y}`],[],e,b=>{l.inline.apply(b)}))}for(const y of String(d.className||"").trim().split(/\s+/))y&&g.add(y);const w=p.className=[...g].join(" ");return{type:t.type,className:w,selector:c,props:p,toString:()=>w,deferredInjector:s}};return db(u,{className:r,selector:c,[xs]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},AH=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,s]of e){t===""&&(t=i),n.push(i),o.push(...s);for(const l in a){const c=a[l];(r[l]===void 0||c!=="undefined"||s.includes(c))&&(r[l]=c)}}return[t,n,r,new Set(o)]},ew=(e,t,n,r)=>{const o=[];e:for(let[i,a,s]of e){if(s)continue;let l,c=0,u=!1;for(l in i){const d=i[l];let f=t[l];if(f!==d){if(typeof f!="object"||!f)continue e;{let p,m,g=0;for(const w in f){if(d===String(f[w])){if(w!=="@initial"){const y=w.slice(1);(m=m||[]).push(y in n?n[y]:w.replace(/^@media ?/,"")),u=!0}c+=g,p=!0}++g}if(m&&m.length&&(a={["@media "+m.join(", ")]:a}),!p)continue e}}}(o[c]=o[c]||[]).push([r?"cv":`${l}-${i[l]}`,a,u])}return o},RH={},FH=Zc(),IH=(e,t)=>FH(e,()=>(...n)=>{const r=()=>{for(let o of n){o=typeof o=="object"&&o||{};let i=Ss(o);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in o){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(o["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete o["@import"]}Il(o,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return db(r,{toString:r})}),PH=Zc(),OH=(e,t)=>PH(e,()=>n=>{const r=`${xi(e.prefix)}k-${Ss(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];Il(n,[],[],e,s=>i.push(s));const a=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(a)}return r};return db(o,{get name(){return o()},toString:o})}),jH=class{constructor(t,n,r,o){this.token=t==null?"":String(t),this.value=n==null?"":String(n),this.scale=r==null?"":String(r),this.prefix=o==null?"":String(o)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+xi(this.prefix)+xi(this.scale)+this.token}toString(){return this.computedValue}},DH=Zc(),MH=(e,t)=>DH(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const o=`.${n=(n=typeof n=="string"?n:"")||`${xi(e.prefix)}t-${Ss(r)}`}`,i={},a=[];for(const l in r){i[l]={};for(const c in r[l]){const u=`--${xi(e.prefix)}${l}-${c}`,d=nC(String(r[l][c]),e.prefix,l);i[l][c]=new jH(c,d,l,e.prefix),a.push(`${u}:${d}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(l)}return n};return{...i,get className(){return s()},selector:o,toString:s}}),LH=Zc(),tw,NH=Zc(),rC=e=>{const t=(n=>{let r=!1;const o=LH(n,i=>{r=!0;const a="prefix"in(i=typeof i=="object"&&i||{})?String(i.prefix):"",s=typeof i.media=="object"&&i.media||{},l=typeof i.root=="object"?i.root||null:globalThis.document||null,c=typeof i.theme=="object"&&i.theme||{},u={prefix:a,media:s,theme:c,themeMap:typeof i.themeMap=="object"&&i.themeMap||{...pH},utils:typeof i.utils=="object"&&i.utils||{}},d=_H(l),f={css:J6(u,d),globalCss:IH(u,d),keyframes:OH(u,d),createTheme:MH(u,d),reset(){d.reset(),f.theme.toString()},theme:{},sheet:d,config:u,prefix:a,getCssText:d.toString,toString:d.toString};return String(f.theme=f.createTheme(c)),f});return r||o.reset(),o})(e);return t.styled=(({config:n,sheet:r})=>NH(n,()=>{const o=J6(n,r);return(...i)=>{const a=o(...i),s=a[xs].type,l=X.forwardRef((c,u)=>{const d=c&&c.as||s,{props:f,deferredInjector:p}=a(c);return delete f.as,f.ref=u,p?X.createElement(X.Fragment,null,X.createElement(d,f),X.createElement(p,null)):X.createElement(d,f)});return l.className=a.className,l.displayName=`Styled.${s.displayName||s.name||s}`,l.selector=a.selector,l.toString=()=>a.selector,l[xs]=a[xs],l}}))(t),t},oC=()=>tw||(tw=rC()),BH=(...e)=>oC().globalCss(...e),fb=(...e)=>oC().styled(...e);const zH=BH({"*,*:before,*:after":{margin:0,padding:0,boxSizing:"border-box"},html:{fontSize:"62.5%","-webkit-font-smoothing":"antialiased",boxSizing:"border-box"},body:{fontFamily:"Mulish"},'button, input[type = "submit"], input[type = "reset"]':{backgroundColor:"none",color:"inherit",border:"none",padding:0,font:"inherit",cursor:"pointer",outline:"inherit"},"input:-webkit-autofill:focus, input:-webkit-autofill":{transition:"background-color 600000s 0s, color 600000s 0s"}});function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;return r||t.push(n),r}}}var Gy={log:"log",configuration:"configuration"},uD=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],dD=[_j],wo={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1},P2;function SE(e,t){var n,r=new Et;wo.telemetryEnabled=!Dr(dD,t.site)&&As(t.telemetrySampleRate),wo.telemetryConfigurationEnabled=wo.telemetryEnabled&&As(t.telemetryConfigurationSampleRate);var o=fD();P2=function(a){if(wo.telemetryEnabled){var s=i(e,a,o);r.notify(s),ih("telemetry",s)}},zO(Lp),De(wo,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0});function i(a,s,l){return In({type:"telemetry",date:Ot(),service:a,version:"5.1.0",source:"browser",_dd:{format_version:2},telemetry:In(s,{runtime_env:l}),experimental_features:Ny(kO())},n!==void 0?n():{})}return{setContextProvider:function(a){n=a},observable:r,enabled:wo.telemetryEnabled}}function fD(){return{is_local_file:window.location.protocol==="file:",is_worker:"WorkerGlobalScope"in self}}function EE(e){return e.site===lE}function Pi(e,t){R2(dr.debug,e,t),Xy(De({type:Gy.log,message:e,status:"debug"},t))}function Lp(e,t){Xy(De({type:Gy.log,status:"error"},pD(e),t))}function _E(e){wo.telemetryConfigurationEnabled&&Xy({type:Gy.configuration,configuration:e})}function Xy(e){P2&&wo.sentEventCount=0&&r.entries.splice(i,1)},close:function(i){o.endTime=i}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(o),o},e.prototype.find=function(t){t===void 0&&(t=a0);for(var n=0,r=this.entries;n0&&this.entries[this.entries.length-1].endTime=500}function $E(e){try{return e.clone()}catch{return}}var wD=80*Sa,xD=32,TE=3*Q9,SD=rr,AE=Jn;function RE(e,t,n,r,o){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?IE(e,t,n,{onSuccess:function(){return PE(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),FE(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function FE(e,t,n,r){e.transportStatus===2&&An(function(){var o=e.queuedPayloads.first();IE(o,e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=AE,PE(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(SD,e.currentBackoffTime*2),FE(e,t,n,r)}})},e.currentBackoffTime)}function IE(e,t,n,r){var o=r.onSuccess,i=r.onFailure;t.bandwidthMonitor.add(e),n(e,function(a){t.bandwidthMonitor.remove(e),ED(a)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:a.status},i()):(t.transportStatus=0,o())})}function PE(e,t,n,r,o){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(TE/Q9,"MiB"),source:ir.AGENT,startClocks:Xn()}),t.queueFullReported=!0);var i=t.queuedPayloads;for(t.queuedPayloads=OE();i.size()>0;)RE(i.dequeue(),t,n,r,o)}function ED(e){return e.type!=="opaque"&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||kE(e.status))}function _D(){return{transportStatus:0,currentBackoffTime:AE,bandwidthMonitor:CD(),queuedPayloads:OE(),queueFullReported:!1}}function OE(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=TE}}}function CD(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=wD&&this.ongoingRequestCount=this.messageBytesLimit){qe.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(n)&&this.remove(n),this.push(o,i,n)},e.prototype.process=function(t){var n=Zs(t),r=fd(n);return{processedMessage:n,messageBytesCount:r}},e.prototype.push=function(t,n,r){var o=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(n+o),r!==void 0?this.upsertBuffer[r]=t:this.pushOnlyBuffer.push(t),this.flushController.notifyAfterAddMessage()},e.prototype.remove=function(t){var n=this.upsertBuffer[t];delete this.upsertBuffer[t];var r=fd(n),o=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(r+o)},e.prototype.hasMessageFor=function(t){return t!==void 0&&this.upsertBuffer[t]!==void 0},e}();function ID(e){var t=e.messagesLimit,n=e.bytesLimit,r=e.durationLimit,o=e.pageExitObservable,i=e.sessionExpireObservable,a=o.subscribe(function(g){return d(g.reason)}),s=i.subscribe(function(){return d("session_expire")}),l=new Et(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),c=0,u=0;function d(g){if(u!==0){var w=u,y=c;u=0,c=0,m(),l.notify({reason:g,messagesCount:w,bytesCount:y})}}var f;function p(){f===void 0&&(f=An(function(){d("duration_limit")},r))}function m(){Eo(f),f=void 0}return{flushObservable:l,get messagesCount(){return u},notifyBeforeAddMessage:function(g){c+g>=n&&d("bytes_limit"),u+=1,c+=g,p()},notifyAfterAddMessage:function(){u>=t?d("messages_limit"):c>=n&&d("bytes_limit")},notifyAfterRemoveMessage:function(g){c-=g,u-=1,u===0&&m()}}}function qy(e,t,n,r,o,i){var a=l(e,t.endpoint),s=n&&l(e,n.endpoint);function l(c,u){return new FD(jE(c,u,c.batchBytesLimit,r),ID({messagesLimit:c.batchMessagesLimit,bytesLimit:c.batchBytesLimit,durationLimit:c.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),c.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(c,u){u===void 0&&(u=!0),a.add(c),s&&u&&s.add(n.transformMessage?n.transformMessage(c):c)},upsert:function(c,u){a.upsert(c,u),s&&s.upsert(n.transformMessage?n.transformMessage(c):c,u)},stop:function(){a.stop(),s==null||s.stop()}}}function PD(e){var t=new Set;return e.forEach(function(n){return t.add(n)}),Ny(t)}var LE=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,n){var r=this.callbacks[t];r&&r.forEach(function(o){return o(n)})},e.prototype.subscribe=function(t,n){var r=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),{unsubscribe:function(){r.callbacks[t]=r.callbacks[t].filter(function(o){return n!==o})}}},e}();function j2(e,t,n){var r=0,o=!1;return{isLimitReached:function(){if(r===0&&An(function(){r=0},rr),r+=1,r<=t||o)return o=!1,!1;if(r===t+1){o=!0;try{n({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:ir.AGENT,startClocks:Xn()})}finally{o=!1}}return!0}}}function Ky(e,t,n){if(document.readyState===t||document.readyState==="complete")n();else{var r=t==="complete"?le.LOAD:le.DOM_CONTENT_LOADED;Vt(e,window,r,n,{once:!0})}}var Um,Yy=new WeakMap;function NE(e){return Um||(Um=OD(e)),Um}function OD(e){var t=new Et(function(){var n=fr(XMLHttpRequest.prototype,"open",{before:jD}).stop,r=fr(XMLHttpRequest.prototype,"send",{before:function(){DD.call(this,e,t)}}).stop,o=fr(XMLHttpRequest.prototype,"abort",{before:MD}).stop;return function(){n(),r(),o()}});return t}function jD(e,t){Yy.set(this,{state:"open",method:e.toUpperCase(),url:Wy(String(t))})}function DD(e,t){var n=this,r=Yy.get(this);if(r){var o=r;o.state="start",o.startClocks=Xn(),o.isAborted=!1,o.xhr=this;var i=!1,a=fr(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&s()}}).stop,s=function(){if(l(),a(),!i){i=!0;var c=r;c.state="complete",c.duration=vr(o.startClocks.timeStamp,Ot()),c.status=n.status,t.notify(pd(c))}},l=Vt(e,this,"loadend",s).stop;t.notify(o)}}function MD(){var e=Yy.get(this);e&&(e.isAborted=!0)}var Hm;function BE(){return Hm||(Hm=LD()),Hm}function LD(){var e=new Et(function(){if(window.fetch){var t=dE(window,"fetch",function(n){return function(r,o){var i,a=_a(ND,null,[e,r,o]);return a?(i=n.call(this,a.input,a.init),_a(BD,null,[e,i,a])):i=n.call(this,r,o),i}}).stop;return t}});return e}function ND(e,t,n){var r=n&&n.method||t instanceof Request&&t.method,o=r?r.toUpperCase():"GET",i=t instanceof Request?t.url:Wy(String(t)),a=Xn(),s={state:"start",init:n,input:t,method:o,startClocks:a,url:i};return e.notify(s),s}function BD(e,t,n){var r=function(o){var i=n;i.state="resolve","stack"in o||o instanceof Error?(i.status=0,i.isAborted=o instanceof DOMException&&o.code===DOMException.ABORT_ERR,i.error=o):"status"in o&&(i.response=o,i.responseType=o.type,i.status=o.status,i.isAborted=!1),e.notify(i)};t.then(ve(r),ve(r))}var Vm={};function zE(e){var t=e.map(function(n){return Vm[n]||(Vm[n]=zD(n)),Vm[n]});return eE.apply(void 0,t)}function zD(e){var t=new Et(function(){var n=So[e];return So[e]=function(){for(var r=[],o=0;oVD&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach(function(t){return t()}),this.buffer.length=0},e}(),al,m6=3*Sa,WD=(al={},al[0]="feature flag evaluation",al[1]="user",al[2]="global context",al[3]="logger context",al);function UE(e,t){return e>m6?(qe.warn("The ".concat(WD[t]," data exceeds the recommended ").concat(m6/Sa,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0):!1}var ZD=200;function Sc(e,t){t===void 0&&(t=fd);var n={},r,o=!1,i=new Et,a=Ii(function(l){r=t(Zs(l)),o||(o=UE(r,e))},ZD).throttled,s={getBytesCount:function(){return r},getContext:function(){return hd(n)},setContext:function(l){Ma(l)==="object"?(n=hn(l),a(n)):s.clearContext(),i.notify()},setContextProperty:function(l,c){n[l]=hn(c),a(n),i.notify()},removeContextProperty:function(l){delete n[l],a(n),i.notify()},clearContext:function(){n={},r=0,i.notify()},changeObservable:i};return s}var GD="_dd_c",XD=[];function Np(e,t,n,r){r===void 0&&(r=fd);var o=qD(t,n),i=Sc(n,r);return a(),XD.push(Vt(e,window,le.STORAGE,function(l){var c=l.key;o===c&&a()})),i.changeObservable.subscribe(s),i;function a(){var l=localStorage.getItem(o),c=l!==null?JSON.parse(l):{};i.setContext(c)}function s(){localStorage.setItem(o,JSON.stringify(i.getContext()))}}function qD(e,t){return"".concat(GD,"_").concat(e,"_").concat(t)}function HE(e,t,n){var r=e.getReader(),o=[],i=0;a();function a(){r.read().then(ve(function(l){if(l.done){s();return}n.collectStreamBody&&o.push(l.value),i+=l.value.length,i>n.bytesLimit?s():a()}),ve(function(l){return t(l)}))}function s(){r.cancel().catch(ct);var l,c;if(n.collectStreamBody){var u;if(o.length===1)u=o[0];else{u=new Uint8Array(i);var d=0;o.forEach(function(f){u.set(f,d),d+=f.length})}l=u.slice(0,n.bytesLimit),c=u.length>n.bytesLimit}t(void 0,l,c)}}var KD="datadog-synthetics-public-id",YD="datadog-synthetics-result-id",QD="datadog-synthetics-injects-rum";function ah(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||To(QD))}function VE(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||To(KD);return typeof e=="string"?e:void 0}function WE(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||To(YD);return typeof e=="string"?e:void 0}function Bp(e){var t=De({},e),n=["id","name","email"];return n.forEach(function(r){r in t&&(t[r]=String(t[r]))}),t}function ZE(e){var t=Ma(e)==="object";return t||qe.error("Unsupported user:",e),t}function Qy(e){var t=Ma(e);return t==="string"||t==="function"||e instanceof RegExp}function GE(e,t,n){return n===void 0&&(n=!1),e.some(function(r){try{if(typeof r=="function")return r(t);if(r instanceof RegExp)return r.test(t);if(typeof r=="string")return n?nh(t,r):r===t}catch(o){qe.error(o)}return!1})}var JD=32*Sa;function eM(e){var t=cE(e),n=g6(e.forwardConsoleLogs,wc(dr),"Forward Console Logs"),r=g6(e.forwardReports,wc(Po),"Forward Reports");if(!(!t||!n||!r))return e.forwardErrorsToLogs&&!Dr(n,dr.error)&&n.push(dr.error),De({forwardErrorsToLogs:e.forwardErrorsToLogs!==!1,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:JD},t)}function g6(e,t,n){if(e===void 0)return[];if(!(e==="all"||Array.isArray(e)&&e.every(function(r){return Dr(t,r)}))){qe.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return e==="all"?t:PD(e)}function tM(e){var t=uE(e);return De({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},t)}var nM=globalThis&&globalThis.__decorate||function(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},kt={debug:"debug",error:"error",info:"info",warn:"warn"},M2={console:"console",http:"http",silent:"silent"},rM=Object.keys(kt),v6=function(){function e(t,n,r,o,i){r===void 0&&(r=M2.http),o===void 0&&(o=kt.debug),i===void 0&&(i={}),this.handleLogStrategy=t,this.handlerType=r,this.level=o,this.contextManager=Sc(3),this.contextManager.setContext(i),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(t,n,r,o){r===void 0&&(r=kt.info);var i;if(o!=null){var a=o instanceof Error?Wo(o):void 0,s=Zy({stackTrace:a,originalError:o,nonErrorPrefix:"Provided",source:ir.LOGGER,handling:"handled",startClocks:Xn()});i={stack:s.stack,kind:s.type,message:s.message}}var l=hn(n),c=i?In({error:i},l):l;this.handleLogStrategy({message:hn(t),context:c,status:r},this)},e.prototype.debug=function(t,n,r){this.log(t,n,kt.debug,r)},e.prototype.info=function(t,n,r){this.log(t,n,kt.info,r)},e.prototype.warn=function(t,n,r){this.log(t,n,kt.warn,r)},e.prototype.error=function(t,n,r){this.log(t,n,kt.error,r)},e.prototype.setContext=function(t){this.contextManager.setContext(t)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(t,n){this.contextManager.setContextProperty(t,n)},e.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(t){this.handlerType=t},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(t){this.level=t},e.prototype.getLevel=function(){return this.level},nM([HO],e.prototype,"log",null),e}(),y6="logs";function oM(e){var t=!1,n=Sc(2),r=Sc(1),o={},i=function(){},a=new D2,s=function(p,m,g,w){g===void 0&&(g=hd(u())),w===void 0&&(w=Ot()),a.add(function(){return s(p,m,g,w)})},l=function(){},c=new v6(function(){for(var p=[],m=0;mt.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function wM(e){return e==="xhr"?"XHR":"Fetch"}function xM(e,t,n){HE(e,function(r,o,i){if(r)n(r);else{var a=new TextDecoder().decode(o);i&&(a+="..."),n(void 0,a)}},{bytesLimit:t,collectStreamBody:!0})}function SM(e,t){if(!e.forwardErrorsToLogs)return{stop:ct};var n=new Et,r=vE(n).stop,o=n.subscribe(function(i){t.notify(0,{rawLogsEvent:{message:i.message,date:i.startClocks.timeStamp,error:{kind:i.type,stack:i.stack},origin:ir.SOURCE,status:kt.error}})});return{stop:function(){r(),o.unsubscribe()}}}var EM=LE,sl,w6=(sl={},sl[kt.debug]=0,sl[kt.info]=1,sl[kt.warn]=2,sl[kt.error]=3,sl);function _M(e){function t(n,r,o,i){var a=In(r.getContext(),n.context);x6(n.status,M2.console,r)&&CM(n,a),x6(n.status,M2.http,r)&&e.notify(0,{rawLogsEvent:{date:i||Ot(),message:n.message,status:n.status,origin:ir.LOGGER},messageContext:a,savedCommonContext:o})}return{handleLog:t}}function x6(e,t,n){var r=n.getHandler(),o=Array.isArray(r)?r:[r];return w6[e]>=w6[n.getLevel()]&&Dr(o,t)}function CM(e,t){is[e.status].call(So,e.message,t)}function kM(e,t,n,r,o){var i=qy(e,{endpoint:e.logsEndpointBuilder},e.replica&&{endpoint:e.replica.logsEndpointBuilder},n,r,o);return t.subscribe(1,function(a){i.add(a)}),i}function $M(e){var t=wf();e.subscribe(1,function(n){t.send("log",n)})}function TM(e){return{get:function(t){var n=e.findTrackedSession(t);if(n)return{session_id:n.id}}}}function AM(e,t,n){var r=new EM,o=[];r.subscribe(1,function(m){return ih("logs",m)});var i=function(m){r.notify(0,{rawLogsEvent:{message:m.message,date:m.startClocks.timeStamp,origin:ir.AGENT,status:kt.error}}),Pi("Error reported to customer",{"error.message":m.message})},a=DE(t),s=t.sessionStoreStrategyType&&!Lo()&&!ah()?aM(t):sM(t),l=RM(t,i,a,s.expireObservable),c=l.telemetry,u=l.stop;o.push(function(){return u()}),c.setContextProvider(function(){var m,g,w,y,b,x;return{application:{id:(m=sp())===null||m===void 0?void 0:m.application_id},session:{id:(g=s.findTrackedSession())===null||g===void 0?void 0:g.id},view:{id:(y=(w=sp())===null||w===void 0?void 0:w.view)===null||y===void 0?void 0:y.id},action:{id:(x=(b=sp())===null||b===void 0?void 0:b.user_action)===null||x===void 0?void 0:x.id}}}),mM(t,r),SM(t,r),fM(t,r),hM(t,r);var d=_M(r).handleLog;if(uM(s,t,r,n,i),Lo())$M(r);else{var f=kM(t,r,i,a,s.expireObservable).stop;o.push(function(){return f()})}_E(tM(e));var p=TM(s);return{handleLog:d,getInternalContext:p.get,stop:function(){o.forEach(function(m){return m()})}}}function RM(e,t,n,r){var o=SE("browser-logs-sdk",e),i=[];if(Lo()){var a=wf(),s=o.observable.subscribe(function(u){return a.send("internal_telemetry",u)});i.push(function(){return s.unsubscribe()})}else{var l=qy(e,{endpoint:e.rumEndpointBuilder},e.replica&&{endpoint:e.replica.rumEndpointBuilder},t,n,r);i.push(function(){return l.stop()});var c=o.observable.subscribe(function(u){return l.add(u,EE(e))});i.push(function(){return c.unsubscribe()})}return{telemetry:o,stop:function(){i.forEach(function(u){return u()})}}}var qE=oM(AM);bE(Fi(),"DD_LOGS",qE);function FM(e){var t=e;return Ma(t)==="object"&&Qy(t.match)&&Array.isArray(t.propagatorTypes)}function IM(e){e.status===0&&!e.isAborted&&(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function PM(e,t){return{clearTracingIfNeeded:IM,traceFetch:function(n){return S6(e,n,t,function(r){var o;if(n.input instanceof Request&&!(!((o=n.init)===null||o===void 0)&&o.headers))n.input=new Request(n.input),Object.keys(r).forEach(function(a){n.input.headers.append(a,r[a])});else{n.init=pd(n.init);var i=[];n.init.headers instanceof Headers?n.init.headers.forEach(function(a,s){i.push([s,a])}):Array.isArray(n.init.headers)?n.init.headers.forEach(function(a){i.push(a)}):n.init.headers&&Object.keys(n.init.headers).forEach(function(a){i.push([a,n.init.headers[a]])}),n.init.headers=i.concat(By(r))}})},traceXhr:function(n,r){return S6(e,n,t,function(o){Object.keys(o).forEach(function(i){r.setRequestHeader(i,o[i])})})}}}function S6(e,t,n,r){if(!(!OM()||!n.findTrackedSession())){var o=Uc(e.allowedTracingUrls,function(i){return GE([i.match],t.url,!0)});o&&(t.traceId=new E6,t.spanId=new E6,t.traceSampled=!Bc(e.traceSampleRate)||As(e.traceSampleRate),r(jM(t.traceId,t.spanId,t.traceSampled,o.propagatorTypes)))}}function OM(){return KE()!==void 0}function KE(){return window.crypto||window.msCrypto}function jM(e,t,n,r){var o={};return r.forEach(function(i){switch(i){case"datadog":{De(o,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toDecimalString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":e.toDecimalString()});break}case"tracecontext":{De(o,{traceparent:"00-0000000000000000".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-0").concat(n?"1":"0")});break}case"b3":{De(o,{b3:"".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-").concat(n?"1":"0")});break}case"b3multi":{De(o,{"X-B3-TraceId":e.toPaddedHexadecimalString(),"X-B3-SpanId":t.toPaddedHexadecimalString(),"X-B3-Sampled":n?"1":"0"});break}}}),o}var E6=function(){function e(){this.buffer=new Uint8Array(8),KE().getRandomValues(this.buffer),this.buffer[0]=this.buffer[0]&127}return e.prototype.toString=function(t){var n=this.readInt32(0),r=this.readInt32(4),o="";do{var i=n%t*4294967296+r;n=Math.floor(n/t),r=Math.floor(i/t),o=(i%t).toString(t)+o}while(n||r);return o},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},e.prototype.readInt32=function(t){return this.buffer[t]*16777216+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},e}(),YE=["tracecontext","datadog"];function DM(e){var t,n;if(!e.applicationId){qe.error("Application ID is not configured, no RUM data will be collected.");return}if(e.sessionReplaySampleRate!==void 0&&!Wu(e.sessionReplaySampleRate)){qe.error("Session Replay Sample Rate should be a number between 0 and 100");return}if(e.traceSampleRate!==void 0&&!Wu(e.traceSampleRate)){qe.error("Trace Sample Rate should be a number between 0 and 100");return}if(e.excludedActivityUrls!==void 0&&!Array.isArray(e.excludedActivityUrls)){qe.error("Excluded Activity Urls should be an array");return}var r=MM(e);if(r){var o=cE(e);if(o)return De({applicationId:e.applicationId,version:e.version,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:(t=e.sessionReplaySampleRate)!==null&&t!==void 0?t:0,startSessionReplayRecordingManually:!!e.startSessionReplayRecordingManually,traceSampleRate:e.traceSampleRate,allowedTracingUrls:r,excludedActivityUrls:(n=e.excludedActivityUrls)!==null&&n!==void 0?n:[],workerUrl:e.workerUrl,trackUserInteractions:!!e.trackUserInteractions,trackViewsManually:!!e.trackViewsManually,trackResources:!!e.trackResources,trackLongTasks:!!e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:zy(Xu,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:Xu.MASK,customerDataTelemetrySampleRate:1},o)}}function MM(e){if(e.allowedTracingUrls!==void 0){if(!Array.isArray(e.allowedTracingUrls)){qe.error("Allowed Tracing URLs should be an array");return}if(e.allowedTracingUrls.length!==0&&e.service===void 0){qe.error("Service needs to be configured when tracing is enabled");return}var t=[];return e.allowedTracingUrls.forEach(function(n){Qy(n)?t.push({match:n,propagatorTypes:YE}):FM(n)?t.push(n):qe.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",n)}),t}return[]}function LM(e){var t=new Set;return Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0&&e.allowedTracingUrls.forEach(function(n){Qy(n)?YE.forEach(function(r){return t.add(r)}):Ma(n)==="object"&&Array.isArray(n.propagatorTypes)&&n.propagatorTypes.forEach(function(r){return t.add(r)})}),Ny(t)}function NM(e){var t=uE(e);return De({session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0,selected_tracing_propagators:LM(e),default_privacy_level:e.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(e.excludedActivityUrls)&&e.excludedActivityUrls.length>0,use_worker_url:!!e.workerUrl,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks},t)}function L2(e,t,n){return{context:e.getContext(),user:t.getContext(),hasReplay:n.isRecording()?!0:void 0}}var _6="rum";function BM(e,t,n){var r=n===void 0?{}:n,o=r.ignoreInitIfSyntheticsWillInjectRum,i=o===void 0?!0:o,a=!1,s=Sc(2),l=Sc(1),c=function(){},u=function(){},d=ct,f=function(){},p=new D2,m=function($,P){P===void 0&&(P=Ot()),p.add(function(){return m($,P)})},g=function($,P){P===void 0&&(P=Xn()),p.add(function(){return g($,P)})},w=function($,P){P===void 0&&(P=L2(s,l,t)),p.add(function(){return w($,P)})},y=function($,P){P===void 0&&(P=L2(s,l,t)),p.add(function(){return y($,P)})},b=function(){p.add(function(){return b()})},x=function(){p.add(function(){return x()})},S=function($,P){p.add(function(){return S($,P)})};function _($){if(!$){qe.error("Missing configuration");return}if(u=function(){return hd($)},!(i&&ah())){var P=Lo();if(P&&($=j($)),!!I($)){var B=DM($);if(B){if(!P&&!B.sessionStoreStrategyType){qe.warn("No storage available for session. We will not send any data.");return}if(!B.trackViewsManually)E($,B);else{var R=p;p=new D2,g=function(M){E($,B,M)},R.drain()}a=!0}}}}function E($,P,B){if($.storeContextsAcrossPages){var R=s.getContext();s=Np(P,_6,2),s.setContext(In(s.getContext(),R));var M=l.getContext();l=Np(P,_6,1),l.setContext(In(l.getContext(),M))}var z=e($,P,t,s,l,B);f=function(){return t.getSessionReplayLink(P,z.session,z.viewContexts)},b=t.start,x=t.stop,g=z.startView,w=z.addAction,y=z.addError,m=z.addTiming,S=z.addFeatureFlagEvaluation,c=z.getInternalContext,d=z.stopSession,t.onRumStart(z.lifeCycle,P,z.session,z.viewContexts),p.drain()}var C=ve(function($){var P=typeof $=="object"?$:{name:$};g(P)}),k=yE({init:ve(_),setGlobalContextProperty:ve(function($,P){return s.setContextProperty($,P)}),removeGlobalContextProperty:ve(function($){return s.removeContextProperty($)}),getGlobalContext:ve(function(){return s.getContext()}),setGlobalContext:ve(function($){return s.setContext($)}),clearGlobalContext:ve(function(){return s.clearContext()}),getInternalContext:ve(function($){return c($)}),getInitConfiguration:ve(function(){return u()}),addAction:ve(function($,P){w({name:hn($),context:hn(P),startClocks:Xn(),type:"custom"})}),addError:function($,P){var B=gE();_a(function(){y({error:$,handlingStack:B,context:hn(P),startClocks:Xn()})})},addTiming:ve(function($,P){m(hn($),P)}),setUser:ve(function($){ZE($)&&l.setContext(Bp($))}),getUser:ve(function(){return l.getContext()}),setUserProperty:ve(function($,P){var B,R=Bp((B={},B[$]=P,B))[$];l.setContextProperty($,R)}),removeUserProperty:ve(function($){return l.removeContextProperty($)}),clearUser:ve(function(){return l.clearContext()}),startView:C,stopSession:ve(function(){d()}),startSessionReplayRecording:ve(function(){return b()}),stopSessionReplayRecording:ve(function(){return x()}),addFeatureFlagEvaluation:ve(function($,P){S(hn($),hn(P))}),getSessionReplayLink:ve(function(){return f()})});return k;function I($){return a?($.silentMultipleInit||qe.error("DD_RUM is already initialized."),!1):!0}function j($){return De({},$,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}}function zM(){var e=QE(),t=new Et(function(){if(e){var n=new e(ve(function(){return t.notify()}));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}});return t}function QE(){var e,t=window;if(t.Zone&&(e=Ea(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){var n=new t.MutationObserver(ct),r=Ea(n,"originalInstance");e=r&&r.constructor}return e||(e=t.MutationObserver),e}var JE="initial_document",UM=[["document",function(e){return JE===e}],["xhr",function(e){return e==="xmlhttprequest"}],["fetch",function(e){return e==="fetch"}],["beacon",function(e){return e==="beacon"}],["css",function(e,t){return/\.css$/i.test(t)}],["js",function(e,t){return/\.js$/i.test(t)}],["image",function(e,t){return Dr(["image","img","icon"],e)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)!==null}],["font",function(e,t){return/\.(woff|eot|woff2|ttf)$/i.exec(t)!==null}],["media",function(e,t){return Dr(["audio","video"],e)||/\.(mp3|mp4)$/i.exec(t)!==null}]];function HM(e){var t=e.name;if(!yj(t))return Pi('Failed to construct URL for "'.concat(e.name,'"')),"other";for(var n=bj(t),r=0,o=UM;re[n])return!1;return!0}function VM(e){return e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch"}function WM(e){var t=e.duration,n=e.startTime,r=e.responseEnd;return t===0&&n0||sh(e)}function r_(e,t){e.childNodes.forEach(t),sh(e)&&t(e.shadowRoot)}function lh(e){return tb(e)?e.host:e.parentNode}var KM=2*rr;function YM(e){var t=QM(e)||JM(e);if(!(!t||t.traceTime<=Fo()-KM))return t.traceId}function QM(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return o_(t&&t.content,n&&n.content)}function JM(e){var t=eL(e);if(t)return o_(F2(t,"trace-id"),F2(t,"trace-time"))}function o_(e,t){var n=t&&Number(t);if(!(!e||!n))return{traceId:e,traceTime:n}}function eL(e){for(var t=0;t=0;t-=1){var r=e.body.childNodes[t],n=C6(r);if(n)return n;if(!n_(r))break}}function C6(e){if(e&&XM(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}var We;(function(e){e.EVENT="event",e.FIRST_INPUT="first-input",e.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",e.LAYOUT_SHIFT="layout-shift",e.LONG_TASK="longtask",e.NAVIGATION="navigation",e.PAINT="paint",e.RESOURCE="resource"})(We||(We={}));function k6(){return window.performance!==void 0&&"getEntries"in performance}function md(e){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(e)}function tL(e,t){if(nL(t,function(s){mu(e,t,[s])}),k6()){var n=performance.getEntries();An(function(){return mu(e,t,n)})}if(window.PerformanceObserver){var r=ve(function(s){return mu(e,t,s.getEntries())}),o=[We.RESOURCE,We.NAVIGATION,We.LONG_TASK,We.PAINT],i=[We.LARGEST_CONTENTFUL_PAINT,We.FIRST_INPUT,We.LAYOUT_SHIFT,We.EVENT];try{i.forEach(function(s){var l=new window.PerformanceObserver(r);l.observe({type:s,buffered:!0,durationThreshold:40})})}catch{o.push.apply(o,i)}var a=new PerformanceObserver(r);a.observe({entryTypes:o}),k6()&&"addEventListener"in performance&&Vt(t,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}md(We.NAVIGATION)||rL(t,function(s){mu(e,t,[s])}),md(We.FIRST_INPUT)||oL(t,function(s){mu(e,t,[s])})}function nL(e,t){Ky(e,"interactive",function(){var n,r={entryType:We.RESOURCE,initiatorType:JE,traceId:YM(document),toJSON:function(){return De({},n,{toJSON:void 0})}};if(md(We.NAVIGATION)&&performance.getEntriesByType(We.NAVIGATION).length>0){var o=performance.getEntriesByType(We.NAVIGATION)[0];n=De(o.toJSON(),r)}else{var i=i_();n=De(i,{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0},r)}t(n)})}function rL(e,t){function n(){t(De(i_(),{entryType:We.NAVIGATION}))}Ky(e,"complete",function(){An(n)})}function oL(e,t){var n=Fo(),r=!1,o=er(e,window,[le.CLICK,le.MOUSE_DOWN,le.KEY_DOWN,le.TOUCH_START,le.POINTER_DOWN],function(s){if(s.cancelable){var l={entryType:We.FIRST_INPUT,processingStart:so(),processingEnd:so(),startTime:s.timeStamp,duration:0,name:""};s.type===le.POINTER_DOWN?i(e,l):a(l)}},{passive:!0,capture:!0}).stop;function i(s,l){er(s,window,[le.POINTER_UP,le.POINTER_CANCEL],function(c){c.type===le.POINTER_UP&&a(l)},{once:!0})}function a(s){if(!r){r=!0,o();var l=s.processingStart-s.startTime;l>=0&&l0})}});return r}function Wm(e,t){return GE(e.excludedActivityUrls,t)}function kL(e){return fr(window,"open",{before:e})}var rb="data-dd-action-name";function $L(e,t){return A6(e,rb)||t&&A6(e,t)||R6(e,t,TL)||R6(e,t,AL)||""}function A6(e,t){var n;if(OL())n=e.closest("[".concat(t,"]"));else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n){var o=n.getAttribute(t);return f_(d_(o.trim()))}}var TL=[function(e,t){if(PL()){if("labels"in e&&e.labels&&e.labels.length>0)return El(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&Uc(e.ownerDocument.querySelectorAll("label"),function(r){return r.htmlFor===e.id});return n&&El(n,t)}},function(e){if(e.nodeName==="INPUT"){var t=e,n=t.getAttribute("type");if(n==="button"||n==="submit"||n==="reset")return t.value}},function(e,t){if(e.nodeName==="BUTTON"||e.nodeName==="LABEL"||e.getAttribute("role")==="button")return El(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(r){return FL(e,r)}).filter(function(r){return!!r}).map(function(r){return El(r,t)}).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return El(e.options[0],t)}],AL=[function(e,t){return El(e,t)}],RL=10;function R6(e,t,n){for(var r=e,o=0;o<=RL&&r&&r.nodeName!=="BODY"&&r.nodeName!=="HTML"&&r.nodeName!=="HEAD";){for(var i=0,a=n;i100?"".concat(tE(e,100)," [...]"):e}function FL(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}function El(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(o){for(var i=e.querySelectorAll(o),a=0;a0&&(n=n.replace(l,""))}}};return IL()||r("script, style"),r("[".concat(rb,"]")),t&&r("[".concat(t,"]")),n}return e.textContent}}function IL(){return!VO()}var Zm;function PL(){return Zm===void 0&&(Zm="labels"in HTMLInputElement.prototype),Zm}var Gm;function OL(){return Gm===void 0&&(Gm="closest"in HTMLElement.prototype),Gm}var p_=[rb,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],jL=[m_,ML],DL=[m_,LL,NL];function xf(e,t){for(var n="",r=e;r&&r.nodeName!=="HTML";){var o=F6(r,jL,zL,t,n);if(o)return o;r.parentElement||Pi("selector from element without parent",{debug:{selector:zp(bi(r.tagName),n),isConnected:r.isConnected}});var i=F6(r,DL,UL,t,n);n=i||zp(BL(r),n),r=r.parentElement}return n}function h_(e){return/[0-9]/.test(e)}function ML(e){if(e.id&&!h_(e.id))return"#".concat(bi(e.id))}function LL(e){if(e.tagName!=="BODY"&&e.classList.length>0)for(var t=0;t").concat(t):e}var l0;function HL(){if(l0===void 0)try{document.querySelector(":scope"),l0=!0}catch{l0=!1}return l0}var g_=Jn,VL=100;function WL(e,t){var n=[],r=0,o;i(e);function i(l){l.stopObservable.subscribe(a),n.push(l),Eo(o),o=An(s,g_)}function a(){r===1&&n.every(function(l){return l.isStopped()})&&(r=2,t(n))}function s(){Eo(o),r===0&&(r=1,a())}return{tryAppend:function(l){return r!==0?!1:n.length>0&&!ZL(n[n.length-1].event,l.event)?(s(),!1):(i(l),!0)},stop:function(){s()}}}function ZL(e,t){return e.target===t.target&&GL(e,t)<=VL&&e.timeStamp-t.timeStamp<=g_}function GL(e,t){return Math.sqrt(Math.pow(e.clientX-t.clientX,2)+Math.pow(e.clientY-t.clientY,2))}function XL(e,t){var n=t.onPointerDown,r=t.onPointerUp,o,i={selection:!1,input:!1},a,s=[Vt(e,window,le.POINTER_DOWN,function(l){P6(l)&&(o=I6(),i={selection:!1,input:!1},a=n(l))},{capture:!0}),Vt(e,window,le.SELECTION_CHANGE,function(){(!o||!I6())&&(i.selection=!0)},{capture:!0}),Vt(e,window,le.POINTER_UP,function(l){if(P6(l)&&a){var c=i;r(a,l,function(){return c}),a=void 0}},{capture:!0}),Vt(e,window,le.INPUT,function(){i.input=!0},{capture:!0})];return{stop:function(){s.forEach(function(l){return l.stop()})}}}function I6(){var e=window.getSelection();return!e||e.isCollapsed}function P6(e){return e.target instanceof Element&&e.isPrimary!==!1}var O6=3;function qL(e,t){if(KL(e))return t.addFrustration("rage_click"),e.some(j6)&&t.addFrustration("dead_click"),t.hasError&&t.addFrustration("error_click"),{isRage:!0};var n=e.some(function(r){return r.getUserActivity().selection});return e.forEach(function(r){r.hasError&&r.addFrustration("error_click"),j6(r)&&!n&&r.addFrustration("dead_click")}),{isRage:!1}}function KL(e){if(e.some(function(n){return n.getUserActivity().selection}))return!1;for(var t=0;t0},get hasPageActivity(){return u!==void 0},getUserActivity:n,addFrustration:function(m){d.push(m)},startClocks:a,isStopped:function(){return c===1||c===2},clone:function(){return v_(e,t,n,r,o)},validate:function(m){if(p(),c===1){var g=l.eventCounts,w=g.resourceCount,y=g.errorCount,b=g.longTaskCount,x=De({type:"click",duration:u&&vr(a.timeStamp,u),startClocks:a,id:i,frustrationTypes:d,counts:{resourceCount:w,errorCount:y,longTaskCount:b},events:m??[o],event:o},r);e.notify(1,x),c=2}},discard:function(){p(),c=2}}}function oN(e,t){var n=qL(e,t).isRage;n?(e.forEach(function(r){return r.discard()}),t.stop(Ot()),t.validate(e.map(function(r){return r.event}))):(t.discard(),e.forEach(function(r){return r.validate()}))}function iN(e,t,n,r){e.subscribe(1,function(i){return e.notify(10,D6(i,r))});var o={findActionId:ct};return n.trackUserInteractions&&(o=eN(e,t,n).actionContexts),{addAction:function(i,a){e.notify(10,De({savedCommonContext:a},D6(i,r)))},actionContexts:o}}function D6(e,t){var n=Xm(e)?{action:{id:e.id,loading_time:It(e.duration),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position}}}:void 0,r=Xm(e)?void 0:e.context,o=In({action:{id:or(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},n);return{customerContext:r,rawRumEvent:o,startTime:e.startClocks.relative,domainContext:Xm(e)?{events:e.events}:{}}}function Xm(e){return e.type!=="custom"}function aN(e){var t=zE([dr.error]).subscribe(function(n){return e.notify({startClocks:Xn(),message:n.message,stack:n.stack,fingerprint:n.fingerprint,source:ir.CONSOLE,handling:"handled",handlingStack:n.handlingStack})});return{stop:function(){t.unsubscribe()}}}function sN(e,t){var n=wE(e,[Po.cspViolation,Po.intervention]).subscribe(function(r){return t.notify({startClocks:Xn(),message:r.message,stack:r.stack,type:r.subtype,source:ir.REPORT,handling:"unhandled"})});return{stop:function(){n.unsubscribe()}}}function lN(e,t,n,r){var o=new Et;return aN(o),vE(o),sN(t,o),o.subscribe(function(i){return e.notify(12,{error:i})}),cN(e,n,r)}function cN(e,t,n){return e.subscribe(12,function(r){var o=r.error,i=r.customerContext,a=r.savedCommonContext;e.notify(10,De({customerContext:i,savedCommonContext:a},uN(o,t,n)))}),{addError:function(r,o){var i=r.error,a=r.handlingStack,s=r.startClocks,l=r.context,c=i instanceof Error?Wo(i):void 0,u=Zy({stackTrace:c,originalError:i,handlingStack:a,startClocks:s,nonErrorPrefix:"Provided",source:ir.CUSTOM,handling:"handled"});e.notify(12,{customerContext:l,savedCommonContext:o,error:u})}}}function uN(e,t,n){var r={date:e.startClocks.timeStamp,error:{id:or(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint},type:"error",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},o=n.findFeatureFlagEvaluations(e.startClocks.relative);return o&&!Io(o)&&(r.feature_flags=o),{rawRumEvent:r,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}function dN(e,t,n){e.subscribe(0,function(r){for(var o=0,i=r;o=t-r&&y_(e)<=zc(n,r)}function hN(e,t,n,r){e.subscribe(6,function(o){e.notify(10,mN(o,t,n,r))}),e.subscribe(0,function(o){for(var i=0,a=o;i=0?s:0,time:a.startTime,targetSelector:l})}}).unsubscribe;return{stop:o}}function _N(e,t){var n=e.subscribe(0,function(r){for(var o=0,i=r;o=0&&a.responseStart<=so()?a.responseStart:void 0})}}).unsubscribe;return{stop:n}}var CN=10*rr;function kN(e,t,n,r,o){var i=1/0,a=er(t,r,[le.POINTER_DOWN,le.KEY_DOWN],function(l){i=l.timeStamp},{capture:!0,once:!0}).stop,s=e.subscribe(0,function(l){var c=jO(l,function(d){return d.entryType===We.LARGEST_CONTENTFUL_PAINT&&d.startTimer)){r=o.value();var u=jp(r,4),d=o.largestLayoutShiftTarget(),f=void 0;Ri(jr.WEB_VITALS_ATTRIBUTION)&&d&&(f=xf(d,e.actionNameAttribute)),n({value:u,targetSelector:f})}}}).unsubscribe;return{stop:i}}function RN(){var e=0,t,n,r=0,o,i;return{update:function(a){var s,l,c=t===void 0||a.startTime-n>=Jn||a.startTime-t>=5*Jn;c?(t=n=a.startTime,e=a.value,r=0,o=void 0):(e+=a.value,n=a.startTime),a.value>r&&(r=a.value,i=a.startTime,!((s=a.sources)===null||s===void 0)&&s.length?o=(l=Uc(a.sources,function(u){return!!u.node&&Wc(u.node)}))===null||l===void 0?void 0:l.node:o=void 0)},value:function(){return e},largestLayoutShiftTarget:function(){return o},largestLayoutShiftTime:function(){return i}}}function FN(){return md(We.LAYOUT_SHIFT)}var lp,E_=0,qm=1/0,Km=0;function IN(){"interactionCount"in performance||lp||(lp=new window.PerformanceObserver(ve(function(e){e.getEntries().forEach(function(t){var n=t;n.interactionId&&(qm=Math.min(qm,n.interactionId),Km=Math.max(Km,n.interactionId),E_=(Km-qm)/7+1)})})),lp.observe({type:"event",buffered:!0,durationThreshold:0}))}var M6=function(){return lp?E_:window.performance.interactionCount||0},L6=10,PN=1*rr;function ON(e,t,n,r){if(!MN())return{getInteractionToNextPaint:function(){},setViewEnd:ct,stop:ct};var o=DN(n),i=o.getViewInteractionCount,a=o.stopViewInteractionCount,s=1/0,l=jN(i),c=-1,u,d=r.subscribe(0,function(f){for(var p=0,m=f;p=t&&g.startTime<=s&&l.process(g)}var w=l.estimateP98Interaction();w&&(c=w.duration,Ri(jr.WEB_VITALS_ATTRIBUTION)&&w.target&&Wc(w.target)?u=xf(w.target,e.actionNameAttribute):u=void 0)}).unsubscribe;return{getInteractionToNextPaint:function(){if(c>=0)return{value:Math.min(c,PN),targetSelector:u};if(i())return{value:0}},setViewEnd:function(f){s=f,a()},stop:d}}function jN(e){var t=[];function n(){t.sort(function(r,o){return o.duration-r.duration}).splice(L6)}return{process:function(r){var o=t.findIndex(function(a){return r.interactionId===a.interactionId}),i=t[t.length-1];o!==-1?r.duration>t[o].duration&&(t[o]=r,n()):(t.lengthi.duration)&&(t.push(r),n())},estimateP98Interaction:function(){var r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}function DN(e){IN();var t=e==="initial_load"?0:M6(),n={stopped:!1};function r(){return M6()-t}return{getViewInteractionCount:function(){return n.stopped?n.interactionCount:r()},stopViewInteractionCount:function(){n={stopped:!0,interactionCount:r()}}}}function MN(){return md(We.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function LN(e,t,n,r,o,i){var a=r==="initial_load",s=!0,l=[];function c(){!s&&!a&&l.length>0&&i(Math.max.apply(Math,l))}var u=nb(e,t,n,function(d){s&&(s=!1,d.hadActivity&&l.push(vr(o.timeStamp,d.end)),c())}).stop;return{stop:u,setLoadEvent:function(d){a&&(a=!1,l.push(d),c())}}}function __(){var e,t=window.visualViewport;return t?e=t.pageLeft-t.offsetLeft:window.scrollX!==void 0?e=window.scrollX:e=window.pageXOffset||0,Math.round(e)}function ob(){var e,t=window.visualViewport;return t?e=t.pageTop-t.offsetTop:window.scrollY!==void 0?e=window.scrollY:e=window.pageYOffset||0,Math.round(e)}var Ym;function C_(e){return Ym||(Ym=NN(e)),Ym}function NN(e){var t=new Et(function(){var n=Ii(function(){t.notify(ch())},200).throttled;return Vt(e,window,le.RESIZE,n,{capture:!0,passive:!0}).stop});return t}function ch(){var e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var BN=Jn;function zN(e,t,n,r){r===void 0&&(r=HN(e));var o=0,i=0,a=0,s=r.subscribe(function(l){var c=l.scrollDepth,u=l.scrollTop,d=l.scrollHeight,f=!1;if(c>o&&(o=c,f=!0),d>i){i=d;var p=so();a=vr(t.relative,p),f=!0}f&&n({maxDepth:Math.min(o,i),maxDepthScrollTop:u,maxScrollHeight:i,maxScrollHeightTime:a})});return{stop:function(){return s.unsubscribe()}}}function UN(){var e=ob(),t=ch().height,n=Math.round((document.scrollingElement||document.documentElement).scrollHeight),r=Math.round(t+e);return{scrollHeight:n,scrollDepth:r,scrollTop:e}}function HN(e,t){t===void 0&&(t=BN);var n=new Et(function(){function r(){n.notify(UN())}if(window.ResizeObserver){var o=Ii(r,t,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver(ve(o.throttled));a.observe(i);var s=Vt(e,window,le.SCROLL,o.throttled,{passive:!0});return function(){o.cancel(),a.unobserve(i),s.stop()}}});return n}function VN(e,t,n,r,o,i){var a={},s=LN(e,t,n,o,i,function(w){a.loadingTime=w,r()}),l=s.stop,c=s.setLoadEvent,u=zN(n,i,function(w){a.scroll=w}).stop,d=AN(n,e,function(w){a.cumulativeLayoutShift=w,r()}).stop,f=ON(n,i.relative,o,e),p=f.stop,m=f.getInteractionToNextPaint,g=f.setViewEnd;return{stop:function(){l(),d(),u()},stopINPTracking:p,setLoadEvent:c,setViewEnd:g,getCommonViewMetrics:function(){return a.interactionToNextPaint=m(),a}}}var WN=3e3,ZN=5*rr,GN=5*rr;function XN(e,t,n,r,o,i,a){var s=new Set,l=u("initial_load",Y9(),a);d();var c;i&&(c=f(o));function u(p,m,g){var w=qN(t,n,r,e,p,m,g);return s.add(w),w.stopObservable.subscribe(function(){s.delete(w)}),w}function d(){t.subscribe(8,function(){l=u("route_change",void 0,{name:l.name,service:l.service,version:l.version})}),t.subscribe(7,function(){l.end({sessionIsActive:!1})}),t.subscribe(9,function(p){(p.reason===ss.UNLOADING||p.reason===ss.PAGEHIDE)&&l.end()})}function f(p){return p.subscribe(function(m){var g=m.oldLocation,w=m.newLocation;YN(g,w)&&(l.end(),l=u("route_change"))})}return{addTiming:function(p,m){m===void 0&&(m=Ot()),l.addTiming(p,m)},startView:function(p,m){l.end({endClocks:m}),l=u("route_change",m,p)},stop:function(){c==null||c.unsubscribe(),l.end(),s.forEach(function(p){return p.stop()})}}}function qN(e,t,n,r,o,i,a){i===void 0&&(i=Xn());var s=or(),l=new Et,c={},u=0,d,f=pd(r),p=!0,m,g,w;a&&(m=a.name,g=a.service,w=a.version),e.notify(2,{id:s,name:m,startClocks:i,service:g,version:w});var y=Ii(K,WN,{leading:!1}),b=y.throttled,x=y.cancel,S=VN(e,t,n,b,o,i),_=S.setLoadEvent,E=S.setViewEnd,C=S.stop,k=S.stopINPTracking,I=S.getCommonViewMetrics,j=o==="initial_load"?TN(e,n,_,b):{stop:ct,initialViewMetrics:{}},$=j.stop,P=j.initialViewMetrics,B=wN(e,s,b),R=B.stop,M=B.eventCounts,z=yf(K,ZN);K();function K(){x(),u+=1;var O=d===void 0?Ot():d.timeStamp;e.notify(3,{customTimings:c,documentVersion:u,id:s,name:m,service:g,version:w,loadingType:o,location:f,startClocks:i,commonViewMetrics:I(),initialViewMetrics:P,duration:vr(i.timeStamp,O),isActive:d===void 0,sessionIsActive:p,eventCounts:M})}return{name:m,service:g,version:w,stopObservable:l,end:function(O){var N=this,L,T;O===void 0&&(O={}),!d&&(d=(L=O.endClocks)!==null&&L!==void 0?L:Xn(),p=(T=O.sessionIsActive)!==null&&T!==void 0?T:!0,e.notify(4,{endClocks:d}),Uy(z),E(d.relative),C(),K(),An(function(){N.stop()},GN))},stop:function(){$(),R(),k(),l.notify()},addTiming:function(O,N){if(!d){var L=IO(N)?N:vr(i.timeStamp,N);c[KN(O)]=L,b()}}}}function KN(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return t!==e&&qe.warn("Invalid timing name: ".concat(e,", sanitized to: ").concat(t)),t}function YN(e,t){return e.pathname!==t.pathname||!QN(t.hash)&&N6(t.hash)!==N6(e.hash)}function QN(e){var t=e.substring(1);return t!==""&&!!document.getElementById(t)}function N6(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function JN(e,t,n,r,o,i,a,s,l){return e.subscribe(3,function(c){return e.notify(10,eB(c,t,i,s,a))}),XN(n,e,r,t,o,!t.trackViewsManually,l)}function eB(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,m,g,w,y,b,x=r.getReplayStats(e.id),S=n.findFeatureFlagEvaluations(e.startClocks.relative),_=o.findAll(e.startClocks.relative,e.duration),E={_dd:{document_version:e.documentVersion,replay_stats:x,page_states:_},date:e.startClocks.timeStamp,type:"view",view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:(i=e.commonViewMetrics.cumulativeLayoutShift)===null||i===void 0?void 0:i.value,cumulative_layout_shift_target_selector:(a=e.commonViewMetrics.cumulativeLayoutShift)===null||a===void 0?void 0:a.targetSelector,first_byte:It((s=e.initialViewMetrics.navigationTimings)===null||s===void 0?void 0:s.firstByte),dom_complete:It((l=e.initialViewMetrics.navigationTimings)===null||l===void 0?void 0:l.domComplete),dom_content_loaded:It((c=e.initialViewMetrics.navigationTimings)===null||c===void 0?void 0:c.domContentLoaded),dom_interactive:It((u=e.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:It(e.initialViewMetrics.firstContentfulPaint),first_input_delay:It((d=e.initialViewMetrics.firstInput)===null||d===void 0?void 0:d.delay),first_input_time:It((f=e.initialViewMetrics.firstInput)===null||f===void 0?void 0:f.time),first_input_target_selector:(p=e.initialViewMetrics.firstInput)===null||p===void 0?void 0:p.targetSelector,interaction_to_next_paint:It((m=e.commonViewMetrics.interactionToNextPaint)===null||m===void 0?void 0:m.value),interaction_to_next_paint_target_selector:(g=e.commonViewMetrics.interactionToNextPaint)===null||g===void 0?void 0:g.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:It((w=e.initialViewMetrics.largestContentfulPaint)===null||w===void 0?void 0:w.value),largest_contentful_paint_target_selector:(y=e.initialViewMetrics.largestContentfulPaint)===null||y===void 0?void 0:y.targetSelector,load_event:It((b=e.initialViewMetrics.navigationTimings)===null||b===void 0?void 0:b.loadEvent),loading_time:tB(It(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:It(e.duration)},feature_flags:S&&!Io(S)?S:void 0,display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:It(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:x?!0:void 0,is_active:e.sessionIsActive?void 0:!1},privacy:{replay_level:t.defaultPrivacyLevel}};return Io(e.customTimings)||(E.view.custom_timings=NO(e.customTimings,It)),{rawRumEvent:E,startTime:e.startClocks.relative,domainContext:{location:e.location}}}function tB(e){return Bc(e)&&e<0?void 0:e}var nB="rum";function rB(e,t){var n=CE(e,nB,function(r){return iB(e,r)});return n.expireObservable.subscribe(function(){t.notify(7)}),n.renewObservable.subscribe(function(){t.notify(8)}),{findTrackedSession:function(r){var o=n.findActiveSession(r);if(!(!o||!k_(o.trackingType)))return{id:o.id,sessionReplayAllowed:o.trackingType==="1"}},expire:n.expire,expireObservable:n.expireObservable}}function oB(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplayAllowed:!1};return{findTrackedSession:function(){return e},expire:ct,expireObservable:new Et}}function iB(e,t){var n;return aB(t)?n=t:As(e.sessionSampleRate)?As(e.sessionReplaySampleRate)?n="1":n="2":n="0",{trackingType:n,isTracked:k_(n)}}function aB(e){return e==="0"||e==="1"||e==="2"}function k_(e){return e==="2"||e==="1"}function sB(e,t,n,r,o,i){var a=e.replica,s=qy(e,{endpoint:e.rumEndpointBuilder},a&&{endpoint:a.rumEndpointBuilder,transformMessage:function(l){return In(l,{application:{id:a.applicationId}})}},r,o,i);return t.subscribe(11,function(l){l.type==="view"?s.upsert(l,l.view.id):s.add(l)}),n.subscribe(function(l){return s.add(l,EE(e))}),s}function lB(e){var t=wf();e.subscribe(11,function(n){t.send("rum",n)})}var cB=Hc;function uB(e,t,n){var r=new Vc(cB),o;e.subscribe(4,function(s){var l=s.endClocks;r.closeActive(l.relative)}),e.subscribe(2,function(s){var l=s.startClocks,c=n.href;r.add(a({url:c,referrer:o||document.referrer}),l.relative),o=c});var i=t.subscribe(function(s){var l=s.newLocation,c=r.find();if(c){var u=so();r.closeActive(u),r.add(a({url:l.href,referrer:c.referrer}),u)}});function a(s){var l=s.url,c=s.referrer;return{url:l,referrer:c}}return{findUrl:function(s){return r.find(s)},stop:function(){i.unsubscribe(),r.stop()}}}function dB(e,t){var n=pd(t),r=new Et(function(){var i=fB(e,o).stop,a=pB(e,o).stop;return function(){i(),a()}});function o(){if(n.href!==t.href){var i=pd(t);r.notify({newLocation:i,oldLocation:n}),n=i}}return r}function fB(e,t){var n=fr(history,"pushState",{after:t}).stop,r=fr(history,"replaceState",{after:t}).stop,o=Vt(e,window,le.POP_STATE,t).stop;return{stop:function(){n(),r(),o()}}}function pB(e,t){return Vt(e,window,le.HASH_CHANGE,t)}var hB=Hc,mB=200;function gB(e,t){if(t===void 0&&(t=fd),!Ri(jr.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:ct,stop:ct};var n=new Vc(hB),r=0,o=!1;e.subscribe(4,function(l){var c=l.endClocks;n.closeActive(c.relative)}),e.subscribe(2,function(l){var c=l.startClocks;n.add({},c.relative),r=0});var i=Ii(function(l){r=t(Zs(l)),o||(o=UE(r,0))},mB),a=i.throttled,s=i.cancel;return{findFeatureFlagEvaluations:function(l){return n.find(l)},getFeatureFlagBytesCount:function(){var l=n.find();return l?r:0},addFeatureFlagEvaluation:function(l,c){var u=n.find();u&&(u[l]=c,a(u))},stop:s}}var vB=10*Jn,ni,Ka,B2;function yB(e,t,n,r,o,i,a){var s=t.enabled&&As(e.customerDataTelemetrySampleRate);s&&($_(),B6(),n.subscribe(11,function(l){B2=!0,vu(Ka.globalContextBytes,Io(r.getContext())?0:r.getBytesCount()),vu(Ka.userContextBytes,Io(o.getContext())?0:o.getBytesCount());var c=i.findFeatureFlagEvaluations(),u=Dr(["view","error"],l.type)&&c&&!Io(c);vu(Ka.featureFlagBytes,u?i.getFeatureFlagBytesCount():0)}),a.subscribe(function(l){var c=l.bytesCount,u=l.messagesCount;B2&&(ni.batchCount+=1,vu(ni.batchBytesCount,c),vu(ni.batchMessagesCount,u),Qm(ni.globalContextBytes,Ka.globalContextBytes),Qm(ni.userContextBytes,Ka.userContextBytes),Qm(ni.featureFlagBytes,Ka.featureFlagBytes),B6())}),yf(bB,vB))}function bB(){ni.batchCount!==0&&(Pi("Customer data measures",ni),$_())}function Yi(){return{min:1/0,max:0,sum:0}}function vu(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function Qm(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function $_(){ni={batchCount:0,batchBytesCount:Yi(),batchMessagesCount:Yi(),globalContextBytes:Yi(),userContextBytes:Yi(),featureFlagBytes:Yi()}}function B6(){B2=!1,Ka={globalContextBytes:Yi(),userContextBytes:Yi(),featureFlagBytes:Yi()}}var wB=4e3,xB=500,SB=Hc;function EB(e,t){t===void 0&&(t=xB);var n=new Vc(SB,wB),r;i(T_(),so());var o=er(e,window,[le.PAGE_SHOW,le.FOCUS,le.BLUR,le.VISIBILITY_CHANGE,le.RESUME,le.FREEZE,le.PAGE_HIDE],function(a){i(_B(a),a.timeStamp)},{capture:!0}).stop;function i(a,s){s===void 0&&(s=so()),a!==r&&(r=a,n.closeActive(s),n.add({state:r,startTime:s},s))}return{findAll:function(a,s){var l=n.findAll(a,s);if(l.length!==0){for(var c=[],u=Math.max(0,l.length-t),d=l.length-1;d>=u;d--){var f=l[d],p=vr(a,f.startTime);c.push({state:f.state,start:It(p)})}return c}},isInActivePageStateAt:function(a){var s=n.find(a);return s!==void 0&&s.state==="active"},addPageState:i,stop:function(){o(),n.stop()}}}function _B(e){return e.type===le.FREEZE?"frozen":e.type===le.PAGE_HIDE?e.persisted?"frozen":"terminated":T_()}function T_(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function CB(e){var t=ch(),n=C_(e).subscribe(function(r){t=r}).unsubscribe;return{get:function(){return{viewport:t}},stop:n}}function kB(e,t,n,r,o,i){var a=[],s=new gL;s.subscribe(11,function(R){return ih("rum",R)});var l=$B(t);l.setContextProvider(function(){var R,M;return{application:{id:t.applicationId},session:{id:(R=p.findTrackedSession())===null||R===void 0?void 0:R.id},view:{id:(M=b.findView())===null||M===void 0?void 0:M.id},action:{id:_.findActionId()}}});var c=function(R){s.notify(12,{error:R}),Pi("Error reported to customer",{"error.message":R.message})},u=gB(s),d=DE(t),f=d.subscribe(function(R){s.notify(9,R)});a.push(function(){return f.unsubscribe()});var p=Lo()?oB():rB(t,s);if(Lo())lB(s);else{var m=sB(t,s,l.observable,c,d,p.expireObservable);a.push(function(){return m.stop()}),yB(t,l,s,r,o,u,m.flushObservable)}var g=zM(),w=dB(t,location),y=TB(s,t,location,p,w,g,function(){return L2(r,o,n)},c),b=y.viewContexts,x=y.pageStateHistory,S=y.urlContexts,_=y.actionContexts,E=y.addAction,C=y.stop;a.push(C),_E(NM(e)),dN(s,t,p),hN(s,t,p,x);var k=JN(s,t,location,g,w,u,x,n,i),I=k.addTiming,j=k.startView,$=k.stop;a.push($);var P=lN(s,t,x,u).addError;bL(s,t,p),tL(s,t);var B=mL(t.applicationId,p,b,_,S);return{addAction:E,addError:P,addTiming:I,addFeatureFlagEvaluation:u.addFeatureFlagEvaluation,startView:j,lifeCycle:s,viewContexts:b,session:p,stopSession:function(){return p.expire()},getInternalContext:B.get,stop:function(){a.forEach(function(R){return R()})}}}function $B(e){var t=SE("browser-rum-sdk",e);if(Lo()){var n=wf();t.observable.subscribe(function(r){return n.send("internal_telemetry",r)})}return t}function TB(e,t,n,r,o,i,a,s){var l=yL(e),c=uB(e,o,n),u=EB(t),d=iN(e,i,t,u),f=d.addAction,p=d.actionContexts,m=CB(t);return fL(t,e,r,l,c,p,m,a,s),{viewContexts:l,pageStateHistory:u,urlContexts:c,addAction:f,actionContexts:p,stop:function(){m.stop(),u.stop(),c.stop(),l.stop(),u.stop()}}}function AB(e,t){var n=t.session,r=t.viewContext,o=t.errorType,i=n?n.id:"no-session-id",a=[];o!==void 0&&a.push("error-type=".concat(o)),r&&(a.push("seed=".concat(r.id)),a.push("from=".concat(r.startClocks.timeStamp)));var s=RB(e),l="/rum/replay/sessions/".concat(i);return"".concat(s).concat(l,"?").concat(a.join("&"))}function RB(e){var t=e.site,n=e.subdomain||FB(e);return"https://".concat(n?"".concat(n,"."):"").concat(t)}function FB(e){switch(e.site){case ql:case Ej:return"app";case lE:return"dd";default:return}}var xo={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Rs={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},ri={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},qr={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},z6={Play:0,Pause:1};function Vi(e,t){return{data:De({source:e},t),type:xo.IncrementalSnapshot,timestamp:Ot()}}var Ne={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Xu.ALLOW,MASK:Xu.MASK,MASK_USER_INPUT:Xu.MASK_USER_INPUT},ib="data-dd-privacy",IB="allow",PB="mask",OB="mask-user-input",A_="hidden",jB="dd-privacy-allow",DB="dd-privacy-mask",MB="dd-privacy-mask-user-input",LB="dd-privacy-hidden",bs="***",NB="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",BB={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},zB=1e5,UB="x";function Oi(e,t){var n=lh(e),r=n?Oi(n,t):t,o=F_(e);return R_(o,r)}function R_(e,t){switch(t){case Ne.HIDDEN:case Ne.IGNORE:return t}switch(e){case Ne.ALLOW:case Ne.MASK:case Ne.MASK_USER_INPUT:case Ne.HIDDEN:case Ne.IGNORE:return e;default:return t}}function F_(e){if(Wc(e)){var t=e.getAttribute(ib);if(e.tagName==="BASE")return Ne.ALLOW;if(e.tagName==="INPUT"){var n=e;if(n.type==="password"||n.type==="email"||n.type==="tel"||n.type==="hidden")return Ne.MASK;var r=n.getAttribute("autocomplete");if(r&&r.indexOf("cc-")===0)return Ne.MASK}if(t===A_||e.classList.contains(LB))return Ne.HIDDEN;if(t===PB||e.classList.contains(DB))return Ne.MASK;if(t===OB||e.classList.contains(MB))return Ne.MASK_USER_INPUT;if(t===IB||e.classList.contains(jB))return Ne.ALLOW;if(VB(e))return Ne.IGNORE}}function uh(e,t){switch(t){case Ne.MASK:case Ne.HIDDEN:case Ne.IGNORE:return!0;case Ne.MASK_USER_INPUT:return n_(e)?U6(e.parentNode):U6(e);default:return!1}}function U6(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if(t.tagName==="INPUT")switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!BB[t.tagName]}var HB=function(e){return e.replace(/\S/g,UB)};function I_(e,t,n){var r,o=(r=e.parentElement)===null||r===void 0?void 0:r.tagName,i=e.textContent||"";if(!(t&&!i.trim())){var a=n,s=o==="SCRIPT";if(s)i=bs;else if(a===Ne.HIDDEN)i=bs;else if(uh(e,a))if(o==="DATALIST"||o==="SELECT"||o==="OPTGROUP"){if(!i.trim())return}else o==="OPTION"?i=bs:i=HB(i);return i}}function VB(e){if(e.nodeName==="SCRIPT")return!0;if(e.nodeName==="LINK"){var t=o("rel");return/preload|prefetch/i.test(t)&&o("as")==="script"||t==="shortcut icon"||t==="icon"}if(e.nodeName==="META"){var n=o("name"),t=o("rel"),r=o("property");return/^msapplication-tile(image|color)$/.test(n)||n==="application-name"||t==="icon"||t==="apple-touch-icon"||t==="shortcut icon"||n==="keywords"||n==="description"||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||n==="pinterest"||n==="robots"||n==="googlebot"||n==="bingbot"||e.hasAttribute("http-equiv")||n==="author"||n==="generator"||n==="framework"||n==="publisher"||n==="progid"||/^article:/.test(r)||/^product:/.test(r)||n==="google-site-verification"||n==="yandex-verification"||n==="csrf-token"||n==="p:domain_verify"||n==="verify-v1"||n==="verification"||n==="shopify-checkout-api-token"}function o(i){return(e.getAttribute(i)||"").toLowerCase()}return!1}var ab=new WeakMap;function Oo(e){return ab.has(e)}function WB(e){for(var t=e;t;){if(!Oo(t)&&!tb(t))return!1;t=lh(t)}return!0}function Wn(e){return ab.get(e)}function ZB(e,t){ab.set(e,t)}function sb(e,t){var n=e.tagName,r=e.value;if(uh(e,t)){var o=e.type;return n==="INPUT"&&(o==="button"||o==="submit"||o==="reset")?r:!r||n==="OPTION"?void 0:bs}if(n==="OPTION"||n==="SELECT")return e.value;if(!(n!=="INPUT"&&n!=="TEXTAREA"))return r}var GB=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,XB=/^[A-Za-z]+:|^\/\//,qB=/^data:.*,/i;function KB(e,t){return e.replace(GB,function(n,r,o,i,a,s){var l=o||a||s;if(!t||!l||XB.test(l)||qB.test(l))return n;var c=r||i||"";return"url(".concat(c).concat(YB(l,t)).concat(c,")")})}function YB(e,t){try{return oh(e,t).href}catch{return e}}var QB=/[^a-z1-6-_]/;function P_(e){var t=e.toLowerCase().trim();return QB.test(t)?"div":t}function O_(e){if(!(e===void 0||e.length===0))return e.map(function(t){var n=t.cssRules||t.rules,r=Array.from(n,function(i){return i.cssText}),o={cssRules:r,disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0};return o})}function j_(e,t,n,r){if(t===Ne.HIDDEN)return null;var o=e.getAttribute(n);if(t===Ne.MASK&&n!==ib&&!p_.includes(n)&&n!==r.actionNameAttribute){var i=e.tagName;switch(n){case"title":case"alt":case"placeholder":return bs}if((i==="IMG"||i==="SOURCE")&&(n==="src"||n==="srcset"))return NB;if(i==="A"&&n==="href"||o&&nh(n,"data-"))return bs}return!o||typeof o!="string"?o:o.length>zB&&o.slice(0,5)==="data:"?"data:truncated":o}function JB(e,t,n){var r;if(t===Ne.HIDDEN)return{};for(var o={},i=P_(e.tagName),a=e.ownerDocument,s=0;sH6||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>H6}var mz=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};if(n)hz(n)?(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)):(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop));else return r;return r},L_=function(e){return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}},gz=50;function vz(e,t){var n=Ii(function(r){var o=Sf(r);if(Oo(o)){var i=N_(r);if(!i)return;var a={id:Wn(o),timeOffset:0,x:i.x,y:i.y};t([a],M_(r)?ri.TouchMove:ri.MouseMove)}},gz,{trailing:!1}).throttled;return er(e,document,[le.MOUSE_MOVE,le.TOUCH_MOVE],n,{capture:!0,passive:!0}).stop}function N_(e){var t=M_(e)?e.changedTouches[0]:e,n=t.clientX,r=t.clientY;if(window.visualViewport){var o=mz(n,r),i=o.visualViewportX,a=o.visualViewportY;n=i,r=a}if(!Number.isFinite(n)||!Number.isFinite(r)){e.isTrusted&&Pi("mouse/touch event without x/y");return}return{x:n,y:r}}var yz=100;function bz(e,t,n,r){var o=Ii(function(i){var a=Sf(i);if(!(!a||Oi(a,n)===Ne.HIDDEN||!Oo(a))){var s=Wn(a),l=a===document?{scrollTop:ob(),scrollLeft:__()}:{scrollTop:Math.round(a.scrollTop),scrollLeft:Math.round(a.scrollLeft)};r.set(a,l),t({id:s,x:l.scrollLeft,y:l.scrollTop})}},yz).throttled;return Vt(e,document,le.SCROLL,o,{capture:!0,passive:!0}).stop}var Gr,V6=(Gr={},Gr[le.POINTER_UP]=qr.MouseUp,Gr[le.MOUSE_DOWN]=qr.MouseDown,Gr[le.CLICK]=qr.Click,Gr[le.CONTEXT_MENU]=qr.ContextMenu,Gr[le.DBL_CLICK]=qr.DblClick,Gr[le.FOCUS]=qr.Focus,Gr[le.BLUR]=qr.Blur,Gr[le.TOUCH_START]=qr.TouchStart,Gr[le.TOUCH_END]=qr.TouchEnd,Gr);function wz(e,t,n){var r=function(o){var i=Sf(o);if(!(Oi(i,e.defaultPrivacyLevel)===Ne.HIDDEN||!Oo(i))){var a=Wn(i),s=V6[o.type],l;if(s!==qr.Blur&&s!==qr.Focus){var c=N_(o);if(!c)return;l={id:a,type:s,x:c.x,y:c.y}}else l={id:a,type:s};var u=De({id:n.getIdForEvent(o)},Vi(ri.MouseInteraction,l));t(u)}};return er(e,document,Object.keys(V6),r,{capture:!0,passive:!0}).stop}function B_(e,t,n){n===void 0&&(n=document);var r=e.defaultPrivacyLevel,o=new WeakMap,i=n!==document,a=er(e,n,i?[le.CHANGE]:[le.INPUT,le.CHANGE],function(d){var f=Sf(d);(f instanceof HTMLInputElement||f instanceof HTMLTextAreaElement||f instanceof HTMLSelectElement)&&c(f)},{capture:!0,passive:!0}).stop,s;if(i)s=ct;else{var l=[pu(HTMLInputElement.prototype,"value",c),pu(HTMLInputElement.prototype,"checked",c),pu(HTMLSelectElement.prototype,"value",c),pu(HTMLTextAreaElement.prototype,"value",c),pu(HTMLSelectElement.prototype,"selectedIndex",c)];s=function(){l.forEach(function(d){return d.stop()})}}return function(){s(),a()};function c(d){var f=Oi(d,r);if(f!==Ne.HIDDEN){var p=d.type,m;if(p==="radio"||p==="checkbox"){if(uh(d,f))return;m={isChecked:d.checked}}else{var g=sb(d,f);if(g===void 0)return;m={text:g}}u(d,m);var w=d.name;p==="radio"&&w&&d.checked&&DO(document.querySelectorAll('input[type="radio"][name="'.concat(bi(w),'"]')),function(y){y!==d&&u(y,{isChecked:!1})})}}function u(d,f){if(Oo(d)){var p=o.get(d);(!p||p.text!==f.text||p.isChecked!==f.isChecked)&&(o.set(d,f),t(De({id:Wn(d)},f)))}}}function xz(e){function t(o,i){o&&Oo(o.ownerNode)&&i(Wn(o.ownerNode))}var n=[fr(CSSStyleSheet.prototype,"insertRule",{before:function(o,i){t(this,function(a){return e({id:a,adds:[{rule:o,index:i}]})})}}),fr(CSSStyleSheet.prototype,"deleteRule",{before:function(o){t(this,function(i){return e({id:i,removes:[{index:o}]})})}})];typeof CSSGroupingRule<"u"?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule));function r(o){n.push(fr(o.prototype,"insertRule",{before:function(i,a){var s=this;t(this.parentStyleSheet,function(l){var c=W6(s);c&&(c.push(a||0),e({id:l,adds:[{rule:i,index:c}]}))})}}),fr(o.prototype,"deleteRule",{before:function(i){var a=this;t(this.parentStyleSheet,function(s){var l=W6(a);l&&(l.push(i),e({id:s,removes:[{index:l}]}))})}}))}return function(){return n.forEach(function(o){return o.stop()})}}function W6(e){for(var t=[],n=e;n.parentRule;){var r=Array.from(n.parentRule.cssRules),o=r.indexOf(n);t.unshift(o),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules),a=i.indexOf(n);return t.unshift(a),t}}function Sz(e,t,n){return er(e,document,[le.PLAY,le.PAUSE],function(r){var o=Sf(r);!o||Oi(o,n)===Ne.HIDDEN||!Oo(o)||t({id:Wn(o),type:r.type===le.PLAY?z6.Play:z6.Pause})},{capture:!0,passive:!0}).stop}function Ez(e,t,n){return e.subscribe(10,function(r){var o,i,a;r.rawRumEvent.type==="action"&&r.rawRumEvent.action.type==="click"&&(!((i=(o=r.rawRumEvent.action.frustration)===null||o===void 0?void 0:o.type)===null||i===void 0)&&i.length)&&"events"in r.domainContext&&(!((a=r.domainContext.events)===null||a===void 0)&&a.length)&&t({timestamp:r.rawRumEvent.date,type:xo.FrustrationRecord,data:{frustrationTypes:r.rawRumEvent.action.frustration.type,recordIds:r.domainContext.events.map(function(s){return n.getIdForEvent(s)})}})}).unsubscribe}var _z=200;function Cz(e,t){return C_(e).subscribe(t).unsubscribe}function kz(e,t){var n=window.visualViewport;if(!n)return ct;var r=Ii(function(){t(L_(n))},_z,{trailing:!1}),o=r.throttled,i=r.cancel,a=er(e,n,[le.RESIZE,le.SCROLL],o,{capture:!0,passive:!0}).stop;return function(){a(),i()}}var $z=100;function Tz(e){var t=ct,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(o){n.length===0&&(t=Az(r,{timeout:$z})),n.push.apply(n,o)},flush:r,stop:function(){t()}}}function Az(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(ve(e),t);return function(){return window.cancelIdleCallback(n)}}var r=window.requestAnimationFrame(ve(e));return function(){return window.cancelAnimationFrame(r)}}function z_(e,t,n,r){var o=QE();if(!o)return{stop:ct,flush:ct};var i=Tz(function(s){Rz(s.concat(a.takeRecords()),e,t,n)}),a=new o(ve(i.addMutations));return a.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),i.stop()},flush:function(){i.flush()}}}function Rz(e,t,n,r){e.filter(function(d){return d.type==="childList"}).forEach(function(d){d.removedNodes.forEach(function(f){U_(f,r.removeShadowRoot)})});var o=e.filter(function(d){return d.target.isConnected&&WB(d.target)&&Oi(d.target,n.defaultPrivacyLevel)!==Ne.HIDDEN}),i=Fz(o.filter(function(d){return d.type==="childList"}),n,r),a=i.adds,s=i.removes,l=i.hasBeenSerialized,c=Iz(o.filter(function(d){return d.type==="characterData"&&!l(d.target)}),n),u=Pz(o.filter(function(d){return d.type==="attributes"&&!l(d.target)}),n);!c.length&&!u.length&&!s.length&&!a.length||t({adds:a,removes:s,texts:c,attributes:u})}function Fz(e,t,n){for(var r=new Set,o=new Map,i=function(_){_.addedNodes.forEach(function(E){r.add(E)}),_.removedNodes.forEach(function(E){r.has(E)||o.set(E,_.target),r.delete(E)})},a=0,s=e;aUz&&Xz()),t}function Xz(){if($n)if($n.keys)$n.delete($n.keys().next().value);else{var e=!0;$n.forEach(function(t,n){e&&($n.delete(n),e=!1)})}}var qz=function(){function e(t,n,r){this.encoder=t;var o=n.view.id;this.metadata=De({start:1/0,end:-1/0,creation_reason:r,records_count:0,has_full_snapshot:!1,index_in_view:Hz(o),source:"browser"},n),Vz(o)}return e.prototype.addRecord=function(t,n){var r;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,(r=this.metadata).has_full_snapshot||(r.has_full_snapshot=t.type===xo.FullSnapshot),ih("record",{record:t,segment:this.metadata}),Wz(this.metadata.view.id);var o=this.metadata.records_count===1?'{"records":[':",";this.encoder.write(o+JSON.stringify(t),n)},e.prototype.flush=function(t){var n=this;if(this.metadata.records_count===0)throw new Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),` +`),function(){Zz(n.metadata.view.id,n.encoder.rawBytesCount),t(n.metadata)}),this.encoder.reset()},e}(),Kz=30*Jn,H_=6e4;function Yz(e,t,n,r,o,i){return Qz(e,function(){return Jz(t.applicationId,n,r)},o,i)}function Qz(e,t,n,r){var o={status:0,nextSegmentCreationReason:"init"},i=e.subscribe(2,function(){s("view_change")}).unsubscribe,a=e.subscribe(9,function(l){s(l.reason)}).unsubscribe;function s(l){o.status===1&&(o.segment.flush(function(c){var u=zz(r.encodedBytes,c,r.rawBytesCount);ME(l)?n.sendOnExit(u):n.send(u)}),Eo(o.expirationTimeoutId)),l!=="stop"?o={status:0,nextSegmentCreationReason:l}:o={status:2}}return{addRecord:function(l){if(o.status!==2){if(o.status===0){var c=t();if(!c)return;o={status:1,segment:new qz(r,c,o.nextSegmentCreationReason),expirationTimeoutId:An(function(){s("segment_duration_limit")},Kz)}}var u=o.segment;u.addRecord(l,function(){o.status===1&&o.segment===u&&r.encodedBytesCount>H_&&s("segment_bytes_limit")})}},stop:function(){s("stop"),i(),a()}}}function Jz(e,t,n){var r=t.findTrackedSession(),o=n.findView();if(!(!r||!o))return{application:{id:e},session:{id:r.id},view:{id:o.id}}}function eU(e,t,n,r,o,i){var a=function(y){e.notify(12,{error:y}),Pi("Error reported to customer",{"error.message":y.message})},s=i||jE(t,t.sessionReplayEndpointBuilder,H_,a),l=Yz(e,t,n,r,s,o),c=l.addRecord,u=l.stop,d=Bz({emit:c,configuration:t,lifeCycle:e}),f=d.stop,p=d.takeSubsequentFullSnapshot,m=d.flushMutations,g=e.subscribe(4,function(){m(),c({timestamp:Ot(),type:xo.ViewEnd})}).unsubscribe,w=e.subscribe(2,function(y){p(y.startClocks.timeStamp)}).unsubscribe;return{stop:function(){g(),w(),f(),u()}}}function V_(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}function tU(e,t,n,r){var o=t.findTrackedSession(),i=nU(o,r),a=n.findView();return AB(e,{viewContext:a,errorType:i,session:o})}function nU(e,t){if(!V_())return"browser-not-supported";if(!e)return"rum-not-tracked";if(!e.sessionReplayAllowed)return"incorrect-session-plan";if(!t)return"replay-not-started"}function rU(e,t,n){var r=0,o=[],i,a=0,s=[],l=Vt(e,t,"message",function(c){var u=c.data;if(!(u.type!=="wrote"||u.streamId!==n)){var d=s.shift();d&&d.id===u.id?(u.id===0?(r=u.additionalBytesCount,o=[u.result]):(r+=u.additionalBytesCount,o.push(u.result)),i=u.trailer,d.callback()):(l(),Pi("Worker responses received out of order."))}}).stop;return{get encodedBytes(){return o.length?OO(o.concat(i)):new Uint8Array(0)},get encodedBytesCount(){return o.length?o.reduce(function(c,u){return c+u.length},0)+i.length:0},get rawBytesCount(){return r},write:function(c,u){t.postMessage({action:"write",id:a,data:c,streamId:n}),s.push({id:a,callback:u}),a+=1},reset:function(){t.postMessage({action:"reset",streamId:n}),a=0},stop:function(){l()}}}var oU=10*Jn;function W_(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([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]),_=new Uint8Array([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]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r>=7;l>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&is){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&rt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var Dt={status:0};function iU(e,t,n,r){switch(r===void 0&&(r=W_),Dt.status===0&&aU(e,t,r),Dt.status){case 1:return Dt.initializationFailureCallbacks.push(n),Dt.worker;case 3:return Dt.worker}}function Z6(){return Dt.status}function aU(e,t,n){n===void 0&&(n=W_);try{var r=n(e),o=Vt(e,r,"error",function(s){Jm(e,t,s)}).stop,i=Vt(e,r,"message",function(s){var l=s.data;l.type==="errored"?Jm(e,t,l.error,l.streamId):l.type==="initialized"&&lU(l.version)}).stop;r.postMessage({action:"init"}),An(function(){return sU(t)},oU);var a=function(){o(),i()};Dt={status:1,worker:r,stop:a,initializationFailureCallbacks:[]}}catch(s){Jm(e,t,s)}}function sU(e){Dt.status===1&&(qe.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),Dt.initializationFailureCallbacks.forEach(function(t){return t()}),Dt={status:2})}function lU(e){Dt.status===1&&(Dt={status:3,worker:Dt.worker,stop:Dt.stop,version:e})}function Jm(e,t,n,r){if(Dt.status===1||Dt.status===0){if(qe.error("".concat(t," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&cU(n.message)){var o=void 0;e.workerUrl?o="Please make sure the Worker URL ".concat(e.workerUrl," is correct and CSP is correctly configured."):o="Please make sure CSP is correctly configured.",qe.error("".concat(o," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else Lp(n);Dt.status===1&&Dt.initializationFailureCallbacks.forEach(function(i){return i()}),Dt={status:2}}else Lp(n,{worker_version:Dt.status===3&&Dt.version,stream_id:r})}function cU(e){return Dr(e,"Content Security Policy")||Dr(e,"requires 'TrustedScriptURL'")}function uU(e,t){if(Lo()||!V_())return{start:ct,stop:ct,getReplayStats:function(){},onRumStart:ct,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:1},r=function(){n={status:1}},o=function(){n={status:0}};return{start:function(){return r()},stop:function(){return o()},getSessionReplayLink:function(i,a,s){return tU(i,a,s,n.status!==0)},onRumStart:function(i,a,s,l){a.startSessionReplayRecordingManually&&(n={status:0}),i.subscribe(7,function(){(n.status===2||n.status===3)&&(o(),n={status:1})}),i.subscribe(8,function(){n.status===1&&r()}),r=function(){var c=s.findTrackedSession();if(!c||!c.sessionReplayAllowed){n={status:1};return}n.status===2||n.status===3||(n={status:2},Ky(a,"interactive",function(){if(n.status===2){var u=iU(a,"Datadog Session Replay",function(){o()},t);if(!u){n={status:0};return}var d=e(i,a,s,l,rU(a,u,1)).stop;n={status:3,stopRecording:d}}}))},o=function(){n.status!==0&&(n.status===3&&n.stopRecording(),n={status:0})},n.status===1&&r()},isRecording:function(){return Z6()===3&&n.status===3},getReplayStats:function(i){return Z6()===3?Gz(i):void 0}}}var dU=uU(eU),Z_=BM(kB,dU);bE(Fi(),"DD_RUM",Z_);const Fl={preview:"Preview",development:"Development",staging:"Staging",production:"Production"},fU={juiceShop:"JuiceShop",webGoat:"Webgoat",altoroj:"Altoroj"},pU={try:"Try",fixYourCode:"FixYourCode",workflow:"Workflow"},G_={WELCOME_STEP:{OPTION:e=>`welcome_step__${e}`,SUBMIT:"welcome_step__submit",WELCOME_STEP_OPTIONS:pU},CHOOSE_SCANNER:{SCANNER:e=>`choose_scanner__${e}`,OPERATION:e=>`choose_scanner__${e}`,SUBMIT:"choose_scanner__submit"},TRY_NOW:{OPTION:e=>`choose_project__${e}`,SUBMIT:"choose_scanner__submit",ISSUE_TYPE:"SQL Injection",PROJECTS:fU},WORKFLOW:{OPTION:e=>`choose_workflow__${e}`,SUBMIT:"choose_workflow__submit"},SELECT_GITHUB_REPO:{OPTION:e=>`select-repo_n_${e}`,SUBMIT:"select-repo__submit"},UPLOAD:{DROPZONE:"upload_step__dropzone",SUBMIT:"upload_step__submit"},SELECT_REPOSITORY:{USE_GITHUB:"select_repository__use_github",REPO_URL:"select_repository__repo_url",SUBMIT:"select_repository__submit",CONNECT_GITHUB:"select_repository__connect_github",CONNECT_GITLAB:"select_repository__connect_gitlab",UPLOAD_ZIP_FILE:"select_repository__upload_zip_file",FILE_UPLOADED:"select_repository__file_uploaded"},RUN_ANALYSIS:{SUBMIT:"run_analysis__submit"},ANALYSIS_SCREEN:{FIX_TABLE:"analysis_screen__fix_table",ANALYSIS_PROGRESS:"analysis_screen__analysis_progress",FIX_LINK:"analysis_screen__fix_link",FIX_FILE_NAME:"analysis_screen__fix_file_name",FIXES_COUNT:"analysis_screen__fixes_count",AVAILABLE_FIXES:"analysis_screen__available_fixes",FIXED_COUNT:"analysis_screen__fixed_count",UNFIXED_COUNT:"analysis_screen__unfixed_count",ISSUE_TYPE:e=>`analysis_screen__issue_type_${e.replaceAll(" ","_")}`},FIX_SCREEN:{BACK_TO_ANALYSIS_BUTTON:"fix_screen__back_to_analysis_button",SAVE_FIX_BUTTON:"fix_screen__save_fix_button",SAVE_BUTTON_DROPDOWN:"fix_screen__save_dropdown",APPLY_FIX_ALL_BUTTON:"fix_screen__apply_fix_all_button",RESET_ALL_BUTTON:"fix_screen__reset_all_button",COMMIT_CHANGES_DIALOG_BUTTON:"fix_screen__commit_changes_dialog_button",FIX_STATE:"fix_screen__fix_state",FIX_QUESTION:{CONTAINER:"fix_screen__fix_question_container",INPUT:"fix_screen__fix_question_input",ACCEPT_BUTTON:"fix_screen__fix_question_accept_button"},COMMIT_MODAL:{TARGET_BRANCH:"fix_screen__commit_modal__target_branch",NEW_BRANCH:"fix_screen__commit_modal__new_branch",COMMIT_BUTTON:"fix_screen__commit_modal__commit_button"}},BULK_FIXES:{SELECT_CHECKBOX:"bulk_fixes__select_checkbox",COMMIT_FIXES:"bulk_fixes__commit_fixes"},COMPONENTS:{SELECT:{TRIGGER:"select__trigger",ITEM_TEXT:"select__item_text"}},SETTINGS:{SETTINGS_SELECT:e=>`settings_option__${e.replaceAll(" ","_")}`}};var Xe;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const a of o)i[a]=a;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(s=>typeof o[o[s]]!="number"),a={};for(const s of i)a[s]=o[s];return e.objectValues(a)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.push(a);return i},e.find=(o,i)=>{for(const a of o)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(Xe||(Xe={}));var U2;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(U2||(U2={}));const ue=Xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Qi=e=>{switch(typeof e){case"undefined":return ue.undefined;case"string":return ue.string;case"number":return isNaN(e)?ue.nan:ue.number;case"boolean":return ue.boolean;case"function":return ue.function;case"bigint":return ue.bigint;case"symbol":return ue.symbol;case"object":return Array.isArray(e)?ue.array:e===null?ue.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ue.promise:typeof Map<"u"&&e instanceof Map?ue.map:typeof Set<"u"&&e instanceof Set?ue.set:typeof Date<"u"&&e instanceof Date?ue.date:ue.object;default:return ue.unknown}},te=Xe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),hU=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class no extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(o);else if(a.code==="invalid_return_type")o(a.returnTypeError);else if(a.code==="invalid_arguments")o(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let s=r,l=0;for(;ln.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}no.create=e=>new no(e);const gd=(e,t)=>{let n;switch(e.code){case te.invalid_type:e.received===ue.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case te.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Xe.jsonStringifyReplacer)}`;break;case te.unrecognized_keys:n=`Unrecognized key(s) in object: ${Xe.joinValues(e.keys,", ")}`;break;case te.invalid_union:n="Invalid input";break;case te.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Xe.joinValues(e.options)}`;break;case te.invalid_enum_value:n=`Invalid enum value. Expected ${Xe.joinValues(e.options)}, received '${e.received}'`;break;case te.invalid_arguments:n="Invalid function arguments";break;case te.invalid_return_type:n="Invalid function return type";break;case te.invalid_date:n="Invalid date";break;case te.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Xe.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case te.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case te.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case te.custom:n="Invalid input";break;case te.invalid_intersection_types:n="Intersection results could not be merged";break;case te.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case te.not_finite:n="Number must be finite";break;default:n=t.defaultError,Xe.assertNever(e)}return{message:n}};let X_=gd;function mU(e){X_=e}function Up(){return X_}const Hp=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};let s="";const l=r.filter(c=>!!c).slice().reverse();for(const c of l)s=c(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}},gU=[];function fe(e,t){const n=Hp({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,Up(),gd].filter(r=>!!r)});e.common.issues.push(n)}class gn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return $e;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n)r.push({key:await o.key,value:await o.value});return gn.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:a}=o;if(i.status==="aborted"||a.status==="aborted")return $e;i.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||o.alwaysSet)&&(r[i.value]=a.value)}return{status:t.value,value:r}}}const $e=Object.freeze({status:"aborted"}),q_=e=>({status:"dirty",value:e}),Pn=e=>({status:"valid",value:e}),H2=e=>e.status==="aborted",V2=e=>e.status==="dirty",vd=e=>e.status==="valid",Vp=e=>typeof Promise<"u"&&e instanceof Promise;var we;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(we||(we={}));class No{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const G6=(e,t)=>{if(vd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new no(e.common.issues);return this._error=n,this._error}}};function Fe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(a,s)=>a.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:r??s.defaultError}:{message:n??s.defaultError},description:o}}class Oe{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Qi(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Qi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new gn,ctx:{common:t.parent.common,data:t.data,parsedType:Qi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Vp(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qi(t)},i=this._parseSync({data:t,path:o.path,parent:o});return G6(o,i)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qi(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(Vp(o)?o:Promise.resolve(o));return G6(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const a=t(o),s=()=>i.addIssue({code:te.custom,...r(o)});return typeof Promise<"u"&&a instanceof Promise?a.then(l=>l?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new lo({schema:this,typeName:Ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ui.create(this,this._def)}nullable(){return Ps.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ro.create(this,this._def)}promise(){return _c.create(this,this._def)}or(t){return xd.create([this,t],this._def)}and(t){return Sd.create(this,t,this._def)}transform(t){return new lo({...Fe(this._def),schema:this,typeName:Ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new $d({...Fe(this._def),innerType:this,defaultValue:n,typeName:Ee.ZodDefault})}brand(){return new Y_({typeName:Ee.ZodBranded,type:this,...Fe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Xp({...Fe(this._def),innerType:this,catchValue:n,typeName:Ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Ef.create(this,t)}readonly(){return Kp.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const vU=/^c[^\s-]{8,}$/i,yU=/^[a-z][a-z0-9]*$/,bU=/[0-9A-HJKMNP-TV-Z]{26}/,wU=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,xU=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,SU=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,EU=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,_U=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,CU=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function kU(e,t){return!!((t==="v4"||!t)&&EU.test(e)||(t==="v6"||!t)&&_U.test(e))}class eo extends Oe{constructor(){super(...arguments),this._regex=(t,n,r)=>this.refinement(o=>t.test(o),{validation:n,code:te.invalid_string,...we.errToObj(r)}),this.nonempty=t=>this.min(1,we.errToObj(t)),this.trim=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new eo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ue.string){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.string,received:i.parsedType}),$e}const r=new gn;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(o=this._getOrReturnCtx(t,o),fe(o,{code:te.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const a=t.data.length>i.value,s=t.data.length"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,...we.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...we.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...we.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...we.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...we.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...we.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...we.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...we.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new eo({checks:[],typeName:Ee.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Fe(e)})};function $U(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=parseInt(e.toFixed(o).replace(".","")),a=parseInt(t.toFixed(o).replace(".",""));return i%a/Math.pow(10,o)}class Ca extends Oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ue.number){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.number,received:i.parsedType}),$e}let r;const o=new gn;for(const i of this._def.checks)i.kind==="int"?Xe.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),fe(r,{code:te.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?$U(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_finite,message:i.message}),o.dirty()):Xe.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,we.toString(n))}gt(t,n){return this.setLimit("min",t,!1,we.toString(n))}lte(t,n){return this.setLimit("max",t,!0,we.toString(n))}lt(t,n){return this.setLimit("max",t,!1,we.toString(n))}setLimit(t,n,r,o){return new Ca({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:we.toString(o)}]})}_addCheck(t){return new Ca({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:we.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:we.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:we.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:we.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:we.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:we.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:we.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:we.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:we.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&Xe.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew Ca({checks:[],typeName:Ee.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Fe(e)});class ka extends Oe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ue.bigint){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.bigint,received:i.parsedType}),$e}let r;const o=new gn;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),fe(r,{code:te.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Xe.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,we.toString(n))}gt(t,n){return this.setLimit("min",t,!1,we.toString(n))}lte(t,n){return this.setLimit("max",t,!0,we.toString(n))}lt(t,n){return this.setLimit("max",t,!1,we.toString(n))}setLimit(t,n,r,o){return new ka({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:we.toString(o)}]})}_addCheck(t){return new ka({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:we.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:we.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:we.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:we.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:we.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new ka({checks:[],typeName:Ee.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Fe(e)})};class yd extends Oe{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ue.boolean){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.boolean,received:r.parsedType}),$e}return Pn(t.data)}}yd.create=e=>new yd({typeName:Ee.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Fe(e)});class Fs extends Oe{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ue.date){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_type,expected:ue.date,received:i.parsedType}),$e}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return fe(i,{code:te.invalid_date}),$e}const r=new gn;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(o=this._getOrReturnCtx(t,o),fe(o,{code:te.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Xe.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Fs({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:we.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:we.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Fs({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ee.ZodDate,...Fe(e)});class Wp extends Oe{_parse(t){if(this._getType(t)!==ue.symbol){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.symbol,received:r.parsedType}),$e}return Pn(t.data)}}Wp.create=e=>new Wp({typeName:Ee.ZodSymbol,...Fe(e)});class bd extends Oe{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.undefined,received:r.parsedType}),$e}return Pn(t.data)}}bd.create=e=>new bd({typeName:Ee.ZodUndefined,...Fe(e)});class wd extends Oe{_parse(t){if(this._getType(t)!==ue.null){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.null,received:r.parsedType}),$e}return Pn(t.data)}}wd.create=e=>new wd({typeName:Ee.ZodNull,...Fe(e)});class Ec extends Oe{constructor(){super(...arguments),this._any=!0}_parse(t){return Pn(t.data)}}Ec.create=e=>new Ec({typeName:Ee.ZodAny,...Fe(e)});class ws extends Oe{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Pn(t.data)}}ws.create=e=>new ws({typeName:Ee.ZodUnknown,...Fe(e)});class wi extends Oe{_parse(t){const n=this._getOrReturnCtx(t);return fe(n,{code:te.invalid_type,expected:ue.never,received:n.parsedType}),$e}}wi.create=e=>new wi({typeName:Ee.ZodNever,...Fe(e)});class Zp extends Oe{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.void,received:r.parsedType}),$e}return Pn(t.data)}}Zp.create=e=>new Zp({typeName:Ee.ZodVoid,...Fe(e)});class ro extends Oe{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==ue.array)return fe(n,{code:te.invalid_type,expected:ue.array,received:n.parsedType}),$e;if(o.exactLength!==null){const a=n.data.length>o.exactLength.value,s=n.data.lengtho.maxLength.value&&(fe(n,{code:te.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>o.type._parseAsync(new No(n,a,n.path,s)))).then(a=>gn.mergeArray(r,a));const i=[...n.data].map((a,s)=>o.type._parseSync(new No(n,a,n.path,s)));return gn.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ro({...this._def,minLength:{value:t,message:we.toString(n)}})}max(t,n){return new ro({...this._def,maxLength:{value:t,message:we.toString(n)}})}length(t,n){return new ro({...this._def,exactLength:{value:t,message:we.toString(n)}})}nonempty(t){return this.min(1,t)}}ro.create=(e,t)=>new ro({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ee.ZodArray,...Fe(t)});function _l(e){if(e instanceof _t){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ui.create(_l(r))}return new _t({...e._def,shape:()=>t})}else return e instanceof ro?new ro({...e._def,type:_l(e.element)}):e instanceof ui?ui.create(_l(e.unwrap())):e instanceof Ps?Ps.create(_l(e.unwrap())):e instanceof Bo?Bo.create(e.items.map(t=>_l(t))):e}class _t extends Oe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Xe.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==ue.object){const c=this._getOrReturnCtx(t);return fe(c,{code:te.invalid_type,expected:ue.object,received:c.parsedType}),$e}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof wi&&this._def.unknownKeys==="strip"))for(const c in o.data)a.includes(c)||s.push(c);const l=[];for(const c of a){const u=i[c],d=o.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new No(o,d,o.path,c)),alwaysSet:c in o.data})}if(this._def.catchall instanceof wi){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of s)l.push({key:{status:"valid",value:u},value:{status:"valid",value:o.data[u]}});else if(c==="strict")s.length>0&&(fe(o,{code:te.unrecognized_keys,keys:s}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of s){const d=o.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new No(o,d,o.path,u)),alwaysSet:u in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key;c.push({key:d,value:await u.value,alwaysSet:u.alwaysSet})}return c}).then(c=>gn.mergeObjectSync(r,c)):gn.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return we.errToObj,new _t({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,i,a,s;const l=(a=(i=(o=this._def).errorMap)===null||i===void 0?void 0:i.call(o,n,r).message)!==null&&a!==void 0?a:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=we.errToObj(t).message)!==null&&s!==void 0?s:l}:{message:l}}}:{}})}strip(){return new _t({...this._def,unknownKeys:"strip"})}passthrough(){return new _t({...this._def,unknownKeys:"passthrough"})}extend(t){return new _t({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new _t({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new _t({...this._def,catchall:t})}pick(t){const n={};return Xe.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new _t({...this._def,shape:()=>n})}omit(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new _t({...this._def,shape:()=>n})}deepPartial(){return _l(this)}partial(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new _t({...this._def,shape:()=>n})}required(t){const n={};return Xe.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof ui;)i=i._def.innerType;n[r]=i}}),new _t({...this._def,shape:()=>n})}keyof(){return K_(Xe.objectKeys(this.shape))}}_t.create=(e,t)=>new _t({shape:()=>e,unknownKeys:"strip",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});_t.strictCreate=(e,t)=>new _t({shape:()=>e,unknownKeys:"strict",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});_t.lazycreate=(e,t)=>new _t({shape:e,unknownKeys:"strip",catchall:wi.create(),typeName:Ee.ZodObject,...Fe(t)});class xd extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const a=i.map(s=>new no(s.ctx.common.issues));return fe(n,{code:te.invalid_union,unionErrors:a}),$e}if(n.common.async)return Promise.all(r.map(async i=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(o);{let i;const a=[];for(const l of r){const c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(l=>new no(l));return fe(n,{code:te.invalid_union,unionErrors:s}),$e}}get options(){return this._def.options}}xd.create=(e,t)=>new xd({options:e,typeName:Ee.ZodUnion,...Fe(t)});const cp=e=>e instanceof _d?cp(e.schema):e instanceof lo?cp(e.innerType()):e instanceof Cd?[e.value]:e instanceof $a?e.options:e instanceof kd?Object.keys(e.enum):e instanceof $d?cp(e._def.innerType):e instanceof bd?[void 0]:e instanceof wd?[null]:null;class fh extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.object)return fe(n,{code:te.invalid_type,expected:ue.object,received:n.parsedType}),$e;const r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(fe(n,{code:te.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),$e)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const i of n){const a=cp(i.shape[t]);if(!a)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of a){if(o.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);o.set(s,i)}}return new fh({typeName:Ee.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...Fe(r)})}}function W2(e,t){const n=Qi(e),r=Qi(t);if(e===t)return{valid:!0,data:e};if(n===ue.object&&r===ue.object){const o=Xe.objectKeys(t),i=Xe.objectKeys(e).filter(s=>o.indexOf(s)!==-1),a={...e,...t};for(const s of i){const l=W2(e[s],t[s]);if(!l.valid)return{valid:!1};a[s]=l.data}return{valid:!0,data:a}}else if(n===ue.array&&r===ue.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i{if(H2(i)||H2(a))return $e;const s=W2(i.value,a.value);return s.valid?((V2(i)||V2(a))&&n.dirty(),{status:n.value,value:s.data}):(fe(r,{code:te.invalid_intersection_types}),$e)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>o(i,a)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Sd.create=(e,t,n)=>new Sd({left:e,right:t,typeName:Ee.ZodIntersection,...Fe(n)});class Bo extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.array)return fe(r,{code:te.invalid_type,expected:ue.array,received:r.parsedType}),$e;if(r.data.lengththis._def.items.length&&(fe(r,{code:te.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((a,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new No(r,a,r.path,s)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>gn.mergeArray(n,a)):gn.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Bo({...this._def,rest:t})}}Bo.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Bo({items:e,typeName:Ee.ZodTuple,rest:null,...Fe(t)})};class Ed extends Oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.object)return fe(r,{code:te.invalid_type,expected:ue.object,received:r.parsedType}),$e;const o=[],i=this._def.keyType,a=this._def.valueType;for(const s in r.data)o.push({key:i._parse(new No(r,s,r.path,s)),value:a._parse(new No(r,r.data[s],r.path,s))});return r.common.async?gn.mergeObjectAsync(n,o):gn.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Oe?new Ed({keyType:t,valueType:n,typeName:Ee.ZodRecord,...Fe(r)}):new Ed({keyType:eo.create(),valueType:t,typeName:Ee.ZodRecord,...Fe(n)})}}class Gp extends Oe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.map)return fe(r,{code:te.invalid_type,expected:ue.map,received:r.parsedType}),$e;const o=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([s,l],c)=>({key:o._parse(new No(r,s,r.path,[c,"key"])),value:i._parse(new No(r,l,r.path,[c,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of a){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return $e;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of a){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return $e;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}}}}Gp.create=(e,t,n)=>new Gp({valueType:t,keyType:e,typeName:Ee.ZodMap,...Fe(n)});class Is extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.set)return fe(r,{code:te.invalid_type,expected:ue.set,received:r.parsedType}),$e;const o=this._def;o.minSize!==null&&r.data.sizeo.maxSize.value&&(fe(r,{code:te.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function a(l){const c=new Set;for(const u of l){if(u.status==="aborted")return $e;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const s=[...r.data.values()].map((l,c)=>i._parse(new No(r,l,r.path,c)));return r.common.async?Promise.all(s).then(l=>a(l)):a(s)}min(t,n){return new Is({...this._def,minSize:{value:t,message:we.toString(n)}})}max(t,n){return new Is({...this._def,maxSize:{value:t,message:we.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Is.create=(e,t)=>new Is({valueType:e,minSize:null,maxSize:null,typeName:Ee.ZodSet,...Fe(t)});class Kl extends Oe{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.function)return fe(n,{code:te.invalid_type,expected:ue.function,received:n.parsedType}),$e;function r(s,l){return Hp({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Up(),gd].filter(c=>!!c),issueData:{code:te.invalid_arguments,argumentsError:l}})}function o(s,l){return Hp({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Up(),gd].filter(c=>!!c),issueData:{code:te.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof _c){const s=this;return Pn(async function(...l){const c=new no([]),u=await s._def.args.parseAsync(l,i).catch(p=>{throw c.addIssue(r(l,p)),c}),d=await Reflect.apply(a,this,u);return await s._def.returns._def.type.parseAsync(d,i).catch(p=>{throw c.addIssue(o(d,p)),c})})}else{const s=this;return Pn(function(...l){const c=s._def.args.safeParse(l,i);if(!c.success)throw new no([r(l,c.error)]);const u=Reflect.apply(a,this,c.data),d=s._def.returns.safeParse(u,i);if(!d.success)throw new no([o(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Kl({...this._def,args:Bo.create(t).rest(ws.create())})}returns(t){return new Kl({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Kl({args:t||Bo.create([]).rest(ws.create()),returns:n||ws.create(),typeName:Ee.ZodFunction,...Fe(r)})}}class _d extends Oe{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}_d.create=(e,t)=>new _d({getter:e,typeName:Ee.ZodLazy,...Fe(t)});class Cd extends Oe{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return fe(n,{received:n.data,code:te.invalid_literal,expected:this._def.value}),$e}return{status:"valid",value:t.data}}get value(){return this._def.value}}Cd.create=(e,t)=>new Cd({value:e,typeName:Ee.ZodLiteral,...Fe(t)});function K_(e,t){return new $a({values:e,typeName:Ee.ZodEnum,...Fe(t)})}class $a extends Oe{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return fe(n,{expected:Xe.joinValues(r),received:n.parsedType,code:te.invalid_type}),$e}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return fe(n,{received:n.data,code:te.invalid_enum_value,options:r}),$e}return Pn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t){return $a.create(t)}exclude(t){return $a.create(this.options.filter(n=>!t.includes(n)))}}$a.create=K_;class kd extends Oe{_parse(t){const n=Xe.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ue.string&&r.parsedType!==ue.number){const o=Xe.objectValues(n);return fe(r,{expected:Xe.joinValues(o),received:r.parsedType,code:te.invalid_type}),$e}if(n.indexOf(t.data)===-1){const o=Xe.objectValues(n);return fe(r,{received:r.data,code:te.invalid_enum_value,options:o}),$e}return Pn(t.data)}get enum(){return this._def.values}}kd.create=(e,t)=>new kd({values:e,typeName:Ee.ZodNativeEnum,...Fe(t)});class _c extends Oe{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.promise&&n.common.async===!1)return fe(n,{code:te.invalid_type,expected:ue.promise,received:n.parsedType}),$e;const r=n.parsedType===ue.promise?n.data:Promise.resolve(n.data);return Pn(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}_c.create=(e,t)=>new _c({type:e,typeName:Ee.ZodPromise,...Fe(t)});class lo extends Oe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:a=>{fe(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const a=o.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(a).then(s=>this._def.schema._parseAsync({data:s,path:r.path,parent:r})):this._def.schema._parseSync({data:a,path:r.path,parent:r})}if(o.type==="refinement"){const a=s=>{const l=o.refinement(s,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?$e:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?$e:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(o.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!vd(a))return a;const s=o.transform(a.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>vd(a)?Promise.resolve(o.transform(a.value,i)).then(s=>({status:n.value,value:s})):a);Xe.assertNever(o)}}lo.create=(e,t,n)=>new lo({schema:e,typeName:Ee.ZodEffects,effect:t,...Fe(n)});lo.createWithPreprocess=(e,t,n)=>new lo({schema:t,effect:{type:"preprocess",transform:e},typeName:Ee.ZodEffects,...Fe(n)});class ui extends Oe{_parse(t){return this._getType(t)===ue.undefined?Pn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ui.create=(e,t)=>new ui({innerType:e,typeName:Ee.ZodOptional,...Fe(t)});class Ps extends Oe{_parse(t){return this._getType(t)===ue.null?Pn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ps.create=(e,t)=>new Ps({innerType:e,typeName:Ee.ZodNullable,...Fe(t)});class $d extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ue.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}$d.create=(e,t)=>new $d({innerType:e,typeName:Ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Fe(t)});class Xp extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Vp(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new no(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new no(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Xp.create=(e,t)=>new Xp({innerType:e,typeName:Ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Fe(t)});class qp extends Oe{_parse(t){if(this._getType(t)!==ue.nan){const r=this._getOrReturnCtx(t);return fe(r,{code:te.invalid_type,expected:ue.nan,received:r.parsedType}),$e}return{status:"valid",value:t.data}}}qp.create=e=>new qp({typeName:Ee.ZodNaN,...Fe(e)});const TU=Symbol("zod_brand");class Y_ extends Oe{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Ef extends Oe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?$e:i.status==="dirty"?(n.dirty(),q_(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?$e:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Ef({in:t,out:n,typeName:Ee.ZodPipeline})}}class Kp extends Oe{_parse(t){const n=this._def.innerType._parse(t);return vd(n)&&(n.value=Object.freeze(n.value)),n}}Kp.create=(e,t)=>new Kp({innerType:e,typeName:Ee.ZodReadonly,...Fe(t)});const Q_=(e,t={},n)=>e?Ec.create().superRefine((r,o)=>{var i,a;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(a=(i=s.fatal)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:!0,c=typeof s=="string"?{message:s}:s;o.addIssue({code:"custom",...c,fatal:l})}}):Ec.create(),AU={object:_t.lazycreate};var Ee;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ee||(Ee={}));const RU=(e,t={message:`Input not instance of ${e.name}`})=>Q_(n=>n instanceof e,t),J_=eo.create,eC=Ca.create,FU=qp.create,IU=ka.create,tC=yd.create,PU=Fs.create,OU=Wp.create,jU=bd.create,DU=wd.create,MU=Ec.create,LU=ws.create,NU=wi.create,BU=Zp.create,zU=ro.create,UU=_t.create,HU=_t.strictCreate,VU=xd.create,WU=fh.create,ZU=Sd.create,GU=Bo.create,XU=Ed.create,qU=Gp.create,KU=Is.create,YU=Kl.create,QU=_d.create,JU=Cd.create,eH=$a.create,tH=kd.create,nH=_c.create,X6=lo.create,rH=ui.create,oH=Ps.create,iH=lo.createWithPreprocess,aH=Ef.create,sH=()=>J_().optional(),lH=()=>eC().optional(),cH=()=>tC().optional(),uH={string:e=>eo.create({...e,coerce:!0}),number:e=>Ca.create({...e,coerce:!0}),boolean:e=>yd.create({...e,coerce:!0}),bigint:e=>ka.create({...e,coerce:!0}),date:e=>Fs.create({...e,coerce:!0})},dH=$e;var A=Object.freeze({__proto__:null,defaultErrorMap:gd,setErrorMap:mU,getErrorMap:Up,makeIssue:Hp,EMPTY_PATH:gU,addIssueToContext:fe,ParseStatus:gn,INVALID:$e,DIRTY:q_,OK:Pn,isAborted:H2,isDirty:V2,isValid:vd,isAsync:Vp,get util(){return Xe},get objectUtil(){return U2},ZodParsedType:ue,getParsedType:Qi,ZodType:Oe,ZodString:eo,ZodNumber:Ca,ZodBigInt:ka,ZodBoolean:yd,ZodDate:Fs,ZodSymbol:Wp,ZodUndefined:bd,ZodNull:wd,ZodAny:Ec,ZodUnknown:ws,ZodNever:wi,ZodVoid:Zp,ZodArray:ro,ZodObject:_t,ZodUnion:xd,ZodDiscriminatedUnion:fh,ZodIntersection:Sd,ZodTuple:Bo,ZodRecord:Ed,ZodMap:Gp,ZodSet:Is,ZodFunction:Kl,ZodLazy:_d,ZodLiteral:Cd,ZodEnum:$a,ZodNativeEnum:kd,ZodPromise:_c,ZodEffects:lo,ZodTransformer:lo,ZodOptional:ui,ZodNullable:Ps,ZodDefault:$d,ZodCatch:Xp,ZodNaN:qp,BRAND:TU,ZodBranded:Y_,ZodPipeline:Ef,ZodReadonly:Kp,custom:Q_,Schema:Oe,ZodSchema:Oe,late:AU,get ZodFirstPartyTypeKind(){return Ee},coerce:uH,any:MU,array:zU,bigint:IU,boolean:tC,date:PU,discriminatedUnion:WU,effect:X6,enum:eH,function:YU,instanceof:RU,intersection:ZU,lazy:QU,literal:JU,map:qU,nan:FU,nativeEnum:tH,never:NU,null:DU,nullable:oH,number:eC,object:UU,oboolean:cH,onumber:lH,optional:rH,ostring:sH,pipeline:aH,preprocess:iH,promise:nH,record:XU,set:KU,strictObject:HU,string:J_,symbol:OU,transformer:X6,tuple:GU,undefined:jU,union:VU,unknown:LU,void:BU,NEVER:dH,ZodIssueCode:te,quotelessJson:hU,ZodError:no});const fH=A.object({VITE_AUTH0_ISSUER:A.string(),VITE_AUTH0_CLIENT_ID:A.string(),VITE_AUTH0_API_URL:A.string(),VITE_AUTH0_SCOPES:A.string(),VITE_GITHUB_CLIENT_ID:A.string(),VITE_GITLAB_CLIENT_ID:A.string(),VITE_AUTH0_CALLBACK_PATHNAME:A.string(),PROD:A.boolean(),VITE_DD_RUM_APP_ID:A.string(),VITE_DD_RUM_TOKEN:A.string(),VITE_GRAPHQL_ENDPOINT:A.string(),VITE_ENVIRONMENT:A.union([A.literal(Fl.development),A.literal(Fl.preview),A.literal(Fl.staging),A.literal(Fl.production)])}),ub=fH.parse({VITE_AUTH0_CALLBACK_PATHNAME:"/auth-callback",VITE_AUTH0_SCOPES:"openid email",VITE_ENABLE_GRAPHQL_MOCKS:"false",VITE_ENVIRONMENT:"Development",VITE_AUTH0_ISSUER:"",VITE_GRAPHQL_WS_ENDPOINT:"",VITE_GRAPHQL_ENDPOINT:"",VITE_DD_RUM_TOKEN:"",VITE_AUTH0_API_URL:"",VITE_AUTH0_CLIENT_ID:"",VITE_GITHUB_CLIENT_ID:"",VITE_GITLAB_CLIENT_ID:"",VITE_DD_RUM_APP_ID:"",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1});var rt="colors",wn="sizes",he="space",pH={gap:he,gridGap:he,columnGap:he,gridColumnGap:he,rowGap:he,gridRowGap:he,inset:he,insetBlock:he,insetBlockEnd:he,insetBlockStart:he,insetInline:he,insetInlineEnd:he,insetInlineStart:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,marginBlock:he,marginBlockEnd:he,marginBlockStart:he,marginInline:he,marginInlineEnd:he,marginInlineStart:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,paddingBlock:he,paddingBlockEnd:he,paddingBlockStart:he,paddingInline:he,paddingInlineEnd:he,paddingInlineStart:he,top:he,right:he,bottom:he,left:he,scrollMargin:he,scrollMarginTop:he,scrollMarginRight:he,scrollMarginBottom:he,scrollMarginLeft:he,scrollMarginX:he,scrollMarginY:he,scrollMarginBlock:he,scrollMarginBlockEnd:he,scrollMarginBlockStart:he,scrollMarginInline:he,scrollMarginInlineEnd:he,scrollMarginInlineStart:he,scrollPadding:he,scrollPaddingTop:he,scrollPaddingRight:he,scrollPaddingBottom:he,scrollPaddingLeft:he,scrollPaddingX:he,scrollPaddingY:he,scrollPaddingBlock:he,scrollPaddingBlockEnd:he,scrollPaddingBlockStart:he,scrollPaddingInline:he,scrollPaddingInlineEnd:he,scrollPaddingInlineStart:he,fontSize:"fontSizes",background:rt,backgroundColor:rt,backgroundImage:rt,borderImage:rt,border:rt,borderBlock:rt,borderBlockEnd:rt,borderBlockStart:rt,borderBottom:rt,borderBottomColor:rt,borderColor:rt,borderInline:rt,borderInlineEnd:rt,borderInlineStart:rt,borderLeft:rt,borderLeftColor:rt,borderRight:rt,borderRightColor:rt,borderTop:rt,borderTopColor:rt,caretColor:rt,color:rt,columnRuleColor:rt,fill:rt,outline:rt,outlineColor:rt,stroke:rt,textDecorationColor:rt,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:wn,minBlockSize:wn,maxBlockSize:wn,inlineSize:wn,minInlineSize:wn,maxInlineSize:wn,width:wn,minWidth:wn,maxWidth:wn,height:wn,minHeight:wn,maxHeight:wn,flexBasis:wn,gridTemplateColumns:wn,gridTemplateRows:wn,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},hH=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Zc=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(i=>JSON.stringify(i,hH))(t);return o in e?e[o]:e[o]=n(t,...r)}},xs=Symbol.for("sxs.internal"),db=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),q6=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:mH}=Object.prototype,Z2=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),gH=/\s+(?![^()]*\))/,cl=e=>t=>e(...typeof t=="string"?String(t).split(gH):[t]),K6={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:cl((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:cl((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:cl((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:cl((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:cl((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:cl((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},eg=/([\d.]+)([^]*)/,vH=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):r+" "+o)),n),[]):t,yH=(e,t)=>e in bH&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,o,i)=>r+(o==="stretch"?`-moz-available${i};${Z2(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${Z2(e)}:${r}fit-content`)+i):String(t),bH={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},xi=e=>e?e+"-":"",nC=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,o,i,a,s)=>a=="$"==!!i?r:(o||a=="--"?"calc(":"")+"var(--"+(a==="$"?xi(t)+(s.includes("$")?"":xi(n))+s.replace(/\$/g,"-"):s)+")"+(o||a=="--"?"*"+(o||"")+(i||"1")+")":"")),wH=/\s*,\s*(?![^()]*\))/,xH=Object.prototype.toString,Il=(e,t,n,r,o)=>{let i,a,s;const l=(c,u,d)=>{let f,p;const m=g=>{for(f in g){const b=f.charCodeAt(0)===64,x=b&&Array.isArray(g[f])?g[f]:[g[f]];for(p of x){const S=/[A-Z]/.test(y=f)?y:y.replace(/-[^]/g,E=>E[1].toUpperCase()),_=typeof p=="object"&&p&&p.toString===xH&&(!r.utils[S]||!u.length);if(S in r.utils&&!_){const E=r.utils[S];if(E!==a){a=E,m(E(p)),a=null;continue}}else if(S in K6){const E=K6[S];if(E!==s){s=E,m(E(p)),s=null;continue}}if(b&&(w=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=w.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(E,C,k,I,j,$)=>{const P=eg.test(C),B=.0625*(P?-1:1),[R,M]=P?[I,C]:[C,I];return"("+(k[0]==="="?"":k[0]===">"===P?"max-":"min-")+R+":"+(k[0]!=="="&&k.length===1?M.replace(eg,(z,K,O)=>Number(K)+B*(k===">"?1:-1)+O):M)+(j?") and ("+(j[0]===">"?"min-":"max-")+R+":"+(j.length===1?$.replace(eg,(z,K,O)=>Number(K)+B*(j===">"?-1:1)+O):$):"")+")"})),_){const E=b?d.concat(f):[...d],C=b?[...u]:vH(u,f.split(wH));i!==void 0&&o(Y6(...i)),i=void 0,l(p,C,E)}else i===void 0&&(i=[[],u,d]),f=b||f.charCodeAt(0)!==36?f:`--${xi(r.prefix)}${f.slice(1).replace(/\$/g,"-")}`,p=_?p:typeof p=="number"?p&&S in SH?String(p)+"px":String(p):nC(yH(S,p??""),r.prefix,r.themeMap[S]),i[0].push(`${b?`${f} `:`${Z2(f)}:`}${p}`)}}var w,y};m(c),i!==void 0&&o(Y6(...i)),i=void 0};l(e,t,n)},Y6=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,SH={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Q6=e=>String.fromCharCode(e+(e>25?39:97)),Ss=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=Q6(n%52)+r;return Q6(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),ju=["themed","global","styled","onevar","resonevar","allvar","inline"],EH=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},_H=e=>{let t;const n=()=>{const{cssRules:o}=t.sheet;return[].map.call(o,(i,a)=>{const{cssText:s}=i;let l="";if(s.startsWith("--sxs"))return"";if(o[a-1]&&(l=o[a-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const c in t.rules)if(t.rules[c].group===i)return`--sxs{--sxs:${[...t.rules[c].cache].join(" ")}}${s}`;return i.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const c in s)delete s[c]}const o=Object(e).styleSheets||[];for(const s of o)if(EH(s)){for(let l=0,c=s.cssRules;c[l];++l){const u=Object(c[l]);if(u.type!==1)continue;const d=Object(c[l+1]);if(d.type!==4)continue;++l;const{cssText:f}=u;if(!f.startsWith("--sxs"))continue;const p=f.slice(14,-3).trim().split(/\s+/),m=ju[p[0]];m&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[m]={group:d,index:l,cache:new Set(p)})}if(t)break}if(!t){const s=(l,c)=>({type:c,cssRules:[],insertRule(u,d){this.cssRules.splice(d,0,s(u,{import:3,undefined:1}[(u.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,u=>u.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let s=ju.length-1;s>=0;--s){const l=ju[s];if(!a[l]){const c=ju[s+1],u=a[c]?a[c].index:i.cssRules.length;i.insertRule("@media{}",u),i.insertRule(`--sxs{--sxs:${s}}`,u),a[l]={group:i.cssRules[u+1],index:u,cache:new Set([s])}}CH(a[l])}};return r(),t},CH=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},yu=Symbol(),kH=Zc(),J6=(e,t)=>kH(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const o of n)if(o!=null)if(o[xs]){r.type==null&&(r.type=o[xs].type);for(const i of o[xs].composers)r.composers.add(i)}else o.constructor!==Object||o.$$typeof?r.type==null&&(r.type=o):r.composers.add($H(o,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),TH(e,r,t)}),$H=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${xi(o.prefix)}c-${Ss(r)}`,a=[],s=[],l=Object.create(null),c=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){u=l,d=f,mH.call(u,d)||(l[f]="undefined");const p=e[f];for(const m in p){const g={[f]:String(m)};String(m)==="undefined"&&c.push(f);const w=p[m],y=[g,w,!q6(w)];a.push(y)}}var u,d;if(typeof t=="object"&&t)for(const f of t){let{css:p,...m}=f;p=typeof p=="object"&&p||{};for(const w in m)m[w]=String(m[w]);const g=[m,p,!q6(p)];s.push(g)}return[i,r,a,s,l,c]},TH=(e,t,n)=>{const[r,o,i,a]=AH(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let p=0;pf.rules[p]={apply:m=>f[yu].push([p,m])}),f})(n):null,l=(s||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=d=>{d=typeof d=="object"&&d||RH;const{css:f,...p}=d,m={};for(const y in i)if(delete p[y],y in d){let b=d[y];typeof b=="object"&&b?m[y]={"@initial":i[y],...b}:(b=String(b),m[y]=b!=="undefined"||a.has(y)?b:i[y])}else m[y]=i[y];const g=new Set([...o]);for(const[y,b,x,S]of t.composers){n.rules.styled.cache.has(y)||(n.rules.styled.cache.add(y),Il(b,[`.${y}`],[],e,C=>{l.styled.apply(C)}));const _=ew(x,m,e.media),E=ew(S,m,e.media,!0);for(const C of _)if(C!==void 0)for(const[k,I,j]of C){const $=`${y}-${Ss(I)}-${k}`;g.add($);const P=(j?n.rules.resonevar:n.rules.onevar).cache,B=j?l.resonevar:l.onevar;P.has($)||(P.add($),Il(I,[`.${$}`],[],e,R=>{B.apply(R)}))}for(const C of E)if(C!==void 0)for(const[k,I]of C){const j=`${y}-${Ss(I)}-${k}`;g.add(j),n.rules.allvar.cache.has(j)||(n.rules.allvar.cache.add(j),Il(I,[`.${j}`],[],e,$=>{l.allvar.apply($)}))}}if(typeof f=="object"&&f){const y=`${r}-i${Ss(f)}-css`;g.add(y),n.rules.inline.cache.has(y)||(n.rules.inline.cache.add(y),Il(f,[`.${y}`],[],e,b=>{l.inline.apply(b)}))}for(const y of String(d.className||"").trim().split(/\s+/))y&&g.add(y);const w=p.className=[...g].join(" ");return{type:t.type,className:w,selector:c,props:p,toString:()=>w,deferredInjector:s}};return db(u,{className:r,selector:c,[xs]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},AH=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,s]of e){t===""&&(t=i),n.push(i),o.push(...s);for(const l in a){const c=a[l];(r[l]===void 0||c!=="undefined"||s.includes(c))&&(r[l]=c)}}return[t,n,r,new Set(o)]},ew=(e,t,n,r)=>{const o=[];e:for(let[i,a,s]of e){if(s)continue;let l,c=0,u=!1;for(l in i){const d=i[l];let f=t[l];if(f!==d){if(typeof f!="object"||!f)continue e;{let p,m,g=0;for(const w in f){if(d===String(f[w])){if(w!=="@initial"){const y=w.slice(1);(m=m||[]).push(y in n?n[y]:w.replace(/^@media ?/,"")),u=!0}c+=g,p=!0}++g}if(m&&m.length&&(a={["@media "+m.join(", ")]:a}),!p)continue e}}}(o[c]=o[c]||[]).push([r?"cv":`${l}-${i[l]}`,a,u])}return o},RH={},FH=Zc(),IH=(e,t)=>FH(e,()=>(...n)=>{const r=()=>{for(let o of n){o=typeof o=="object"&&o||{};let i=Ss(o);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in o){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(o["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete o["@import"]}Il(o,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return db(r,{toString:r})}),PH=Zc(),OH=(e,t)=>PH(e,()=>n=>{const r=`${xi(e.prefix)}k-${Ss(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];Il(n,[],[],e,s=>i.push(s));const a=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(a)}return r};return db(o,{get name(){return o()},toString:o})}),jH=class{constructor(t,n,r,o){this.token=t==null?"":String(t),this.value=n==null?"":String(n),this.scale=r==null?"":String(r),this.prefix=o==null?"":String(o)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+xi(this.prefix)+xi(this.scale)+this.token}toString(){return this.computedValue}},DH=Zc(),MH=(e,t)=>DH(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const o=`.${n=(n=typeof n=="string"?n:"")||`${xi(e.prefix)}t-${Ss(r)}`}`,i={},a=[];for(const l in r){i[l]={};for(const c in r[l]){const u=`--${xi(e.prefix)}${l}-${c}`,d=nC(String(r[l][c]),e.prefix,l);i[l][c]=new jH(c,d,l,e.prefix),a.push(`${u}:${d}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(l)}return n};return{...i,get className(){return s()},selector:o,toString:s}}),LH=Zc(),tw,NH=Zc(),rC=e=>{const t=(n=>{let r=!1;const o=LH(n,i=>{r=!0;const a="prefix"in(i=typeof i=="object"&&i||{})?String(i.prefix):"",s=typeof i.media=="object"&&i.media||{},l=typeof i.root=="object"?i.root||null:globalThis.document||null,c=typeof i.theme=="object"&&i.theme||{},u={prefix:a,media:s,theme:c,themeMap:typeof i.themeMap=="object"&&i.themeMap||{...pH},utils:typeof i.utils=="object"&&i.utils||{}},d=_H(l),f={css:J6(u,d),globalCss:IH(u,d),keyframes:OH(u,d),createTheme:MH(u,d),reset(){d.reset(),f.theme.toString()},theme:{},sheet:d,config:u,prefix:a,getCssText:d.toString,toString:d.toString};return String(f.theme=f.createTheme(c)),f});return r||o.reset(),o})(e);return t.styled=(({config:n,sheet:r})=>NH(n,()=>{const o=J6(n,r);return(...i)=>{const a=o(...i),s=a[xs].type,l=X.forwardRef((c,u)=>{const d=c&&c.as||s,{props:f,deferredInjector:p}=a(c);return delete f.as,f.ref=u,p?X.createElement(X.Fragment,null,X.createElement(d,f),X.createElement(p,null)):X.createElement(d,f)});return l.className=a.className,l.displayName=`Styled.${s.displayName||s.name||s}`,l.selector=a.selector,l.toString=()=>a.selector,l[xs]=a[xs],l}}))(t),t},oC=()=>tw||(tw=rC()),BH=(...e)=>oC().globalCss(...e),fb=(...e)=>oC().styled(...e);const zH=BH({"*,*:before,*:after":{margin:0,padding:0,boxSizing:"border-box"},html:{fontSize:"62.5%","-webkit-font-smoothing":"antialiased",boxSizing:"border-box"},body:{fontFamily:"Mulish"},'button, input[type = "submit"], input[type = "reset"]':{backgroundColor:"none",color:"inherit",border:"none",padding:0,font:"inherit",cursor:"pointer",outline:"inherit"},"input:-webkit-autofill:focus, input:-webkit-autofill":{transition:"background-color 600000s 0s, color 600000s 0s"}});function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!t.has(e))throw TypeError("Cannot "+n)};var q=(e,t,n)=>(jm(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var aC=h,yr=G2;function Q(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),X2=Object.prototype.hasOwnProperty,VH=/^[: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]*$/,nw={},rw={};function WH(e){return X2.call(rw,e)?!0:X2.call(nw,e)?!1:VH.test(e)?rw[e]=!0:(nw[e]=!0,!1)}function ZH(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function GH(e,t,n,r){if(t===null||typeof t>"u"||ZH(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ln={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ln[e]=new Mn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ln[t]=new Mn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ln[e]=new Mn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ln[e]=new Mn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ln[e]=new Mn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ln[e]=new Mn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ln[e]=new Mn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ln[e]=new Mn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ln[e]=new Mn(e,5,!1,e.toLowerCase(),null,!1,!1)});var pb=/[\-:]([a-z])/g;function hb(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ln[e]=new Mn(e,1,!1,e.toLowerCase(),null,!1,!1)});ln.xlinkHref=new Mn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ln[e]=new Mn(e,1,!1,e.toLowerCase(),null,!0,!0)});function mb(e,t,n,r){var o=ln.hasOwnProperty(t)?ln[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),X2=Object.prototype.hasOwnProperty,VH=/^[: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]*$/,nw={},rw={};function WH(e){return X2.call(rw,e)?!0:X2.call(nw,e)?!1:VH.test(e)?rw[e]=!0:(nw[e]=!0,!1)}function ZH(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function GH(e,t,n,r){if(t===null||typeof t>"u"||ZH(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ln={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ln[e]=new Mn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ln[t]=new Mn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ln[e]=new Mn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ln[e]=new Mn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ln[e]=new Mn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ln[e]=new Mn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ln[e]=new Mn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ln[e]=new Mn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ln[e]=new Mn(e,5,!1,e.toLowerCase(),null,!1,!1)});var pb=/[\-:]([a-z])/g;function hb(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pb,hb);ln[t]=new Mn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ln[e]=new Mn(e,1,!1,e.toLowerCase(),null,!1,!1)});ln.xlinkHref=new Mn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ln[e]=new Mn(e,1,!1,e.toLowerCase(),null,!0,!0)});function mb(e,t,n,r){var o=ln.hasOwnProperty(t)?ln[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` -`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ng=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Du(e):""}function XH(e){switch(e.tag){case 5:return Du(e.type);case 16:return Du("Lazy");case 13:return Du("Suspense");case 19:return Du("SuspenseList");case 0:case 2:case 15:return e=rg(e.type,!1),e;case 11:return e=rg(e.type.render,!1),e;case 1:return e=rg(e.type,!0),e;default:return""}}function Q2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ol:return"Fragment";case Pl:return"Portal";case q2:return"Profiler";case gb:return"StrictMode";case K2:return"Suspense";case Y2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case lC:return(e._context.displayName||"Context")+".Provider";case vb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yb:return t=e.displayName||null,t!==null?t:Q2(e.type)||"Memo";case Xi:t=e._payload,e=e._init;try{return Q2(e(t))}catch{}}return null}function qH(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q2(t);case 8:return t===gb?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ta(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function KH(e){var t=dC(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function up(e){e._valueTracker||(e._valueTracker=KH(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Y0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function J2(e,t){var n=t.checked;return At({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function iw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ta(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pC(e,t){t=t.checked,t!=null&&mb(e,"checked",t,!1)}function ev(e,t){pC(e,t);var n=Ta(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tv(e,t.type,n):t.hasOwnProperty("defaultValue")&&tv(e,t.type,Ta(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function aw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function tv(e,t,n){(t!=="number"||Y0(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mu=Array.isArray;function Yl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=dp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ad(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},YH=["Webkit","ms","Moz","O"];Object.keys(qu).forEach(function(e){YH.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qu[t]=qu[e]})});function vC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qu.hasOwnProperty(e)&&qu[e]?(""+t).trim():t+"px"}function yC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var QH=At({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ov(e,t){if(t){if(QH[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Q(62))}}function iv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 av=null;function bb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sv=null,Ql=null,Jl=null;function cw(e){if(e=kf(e)){if(typeof sv!="function")throw Error(Q(280));var t=e.stateNode;t&&(t=vh(t),sv(e.stateNode,e.type,t))}}function bC(e){Ql?Jl?Jl.push(e):Jl=[e]:Ql=e}function wC(){if(Ql){var e=Ql,t=Jl;if(Jl=Ql=null,cw(e),t)for(e=0;e>>=0,e===0?32:31-(cV(e)/uV|0)|0}var fp=64,pp=4194304;function Lu(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function t1(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Lu(s):(i&=a,i!==0&&(r=Lu(i)))}else a=n&~o,a!==0?r=Lu(a):i!==0&&(r=Lu(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function _f(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-oo(t),e[t]=n}function hV(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Yu),yw=String.fromCharCode(32),bw=!1;function BC(e,t){switch(e){case"keyup":return UV.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jl=!1;function VV(e,t){switch(e){case"compositionend":return zC(t);case"keypress":return t.which!==32?null:(bw=!0,yw);case"textInput":return e=t.data,e===yw&&bw?null:e;default:return null}}function WV(e,t){if(jl)return e==="compositionend"||!$b&&BC(e,t)?(e=LC(),d0=_b=aa=null,jl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ew(n)}}function WC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?WC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ZC(){for(var e=window,t=Y0();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Y0(e.document)}return t}function Tb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function eW(e){var t=ZC(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&WC(n.ownerDocument.documentElement,n)){if(r!==null&&Tb(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=_w(n,i);var a=_w(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dl=null,pv=null,Ju=null,hv=!1;function Cw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hv||Dl==null||Dl!==Y0(r)||(r=Dl,"selectionStart"in r&&Tb(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ju&&jd(Ju,r)||(Ju=r,r=o1(pv,"onSelect"),0Nl||(e.current=wv[Nl],wv[Nl]=null,Nl--)}function lt(e,t){Nl++,wv[Nl]=e.current,e.current=t}var Aa={},vn=Na(Aa),qn=Na(!1),Os=Aa;function kc(e,t){var n=e.type.contextTypes;if(!n)return Aa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Kn(e){return e=e.childContextTypes,e!=null}function a1(){gt(qn),gt(vn)}function Iw(e,t,n){if(vn.current!==Aa)throw Error(Q(168));lt(vn,t),lt(qn,n)}function tk(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Q(108,qH(e)||"Unknown",o));return At({},n,r)}function s1(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Aa,Os=vn.current,lt(vn,e),lt(qn,qn.current),!0}function Pw(e,t,n){var r=e.stateNode;if(!r)throw Error(Q(169));n?(e=tk(e,t,Os),r.__reactInternalMemoizedMergedChildContext=e,gt(qn),gt(vn),lt(vn,e)):gt(qn),lt(qn,n)}var oi=null,yh=!1,vg=!1;function nk(e){oi===null?oi=[e]:oi.push(e)}function fW(e){yh=!0,nk(e)}function Ba(){if(!vg&&oi!==null){vg=!0;var e=0,t=tt;try{var n=oi;for(tt=1;e>=a,o-=a,ai=1<<32-oo(t)+o|n<k?(I=C,C=null):I=C.sibling;var j=f(y,C,x[k],S);if(j===null){C===null&&(C=I);break}e&&C&&j.alternate===null&&t(y,C),b=i(j,b,k),E===null?_=j:E.sibling=j,E=j,C=I}if(k===x.length)return n(y,C),xt&&Ya(y,k),_;if(C===null){for(;kk?(I=C,C=null):I=C.sibling;var $=f(y,C,j.value,S);if($===null){C===null&&(C=I);break}e&&C&&$.alternate===null&&t(y,C),b=i($,b,k),E===null?_=$:E.sibling=$,E=$,C=I}if(j.done)return n(y,C),xt&&Ya(y,k),_;if(C===null){for(;!j.done;k++,j=x.next())j=d(y,j.value,S),j!==null&&(b=i(j,b,k),E===null?_=j:E.sibling=j,E=j);return xt&&Ya(y,k),_}for(C=r(y,C);!j.done;k++,j=x.next())j=p(C,y,k,j.value,S),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?k:j.key),b=i(j,b,k),E===null?_=j:E.sibling=j,E=j);return e&&C.forEach(function(P){return t(y,P)}),xt&&Ya(y,k),_}function w(y,b,x,S){if(typeof x=="object"&&x!==null&&x.type===Ol&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case cp:e:{for(var _=x.key,E=b;E!==null;){if(E.key===_){if(_=x.type,_===Ol){if(E.tag===7){n(y,E.sibling),b=o(E,x.props.children),b.return=y,y=b;break e}}else if(E.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Xi&&Bw(_)===E.type){n(y,E.sibling),b=o(E,x.props),b.ref=_u(y,E,x),b.return=y,y=b;break e}n(y,E);break}else t(y,E);E=E.sibling}x.type===Ol?(b=_s(x.props.children,y.mode,S,x.key),b.return=y,y=b):(S=b0(x.type,x.key,x.props,null,y.mode,S),S.ref=_u(y,b,x),S.return=y,y=S)}return a(y);case Pl:e:{for(E=x.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(y,b.sibling),b=o(b,x.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=Cg(x,y.mode,S),b.return=y,y=b}return a(y);case Xi:return E=x._init,w(y,b,E(x._payload),S)}if(Mu(x))return m(y,b,x,S);if(bu(x))return g(y,b,x,S);wp(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,b!==null&&b.tag===6?(n(y,b.sibling),b=o(b,x),b.return=y,y=b):(n(y,b),b=_g(x,y.mode,S),b.return=y,y=b),a(y)):n(y,b)}return w}var Tc=uk(!0),dk=uk(!1),$f={},Do=Na($f),Nd=Na($f),Bd=Na($f);function us(e){if(e===$f)throw Error(Q(174));return e}function Mb(e,t){switch(lt(Bd,t),lt(Nd,e),lt(Do,$f),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:rv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=rv(t,e)}gt(Do),lt(Do,t)}function Ac(){gt(Do),gt(Nd),gt(Bd)}function fk(e){us(Bd.current);var t=us(Do.current),n=rv(t,e.type);t!==n&&(lt(Nd,e),lt(Do,n))}function Lb(e){Nd.current===e&&(gt(Do),gt(Nd))}var Ct=Na(0);function p1(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yg=[];function Nb(){for(var e=0;en?n:4,e(!0);var r=bg.transition;bg.transition={};try{e(!1),t()}finally{tt=n,bg.transition=r}}function Tk(){return Lr().memoizedState}function gW(e,t,n){var r=ma(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ak(e))Rk(t,n);else if(n=ak(e,t,n,r),n!==null){var o=Rn();io(n,e,r,o),Fk(n,t,r)}}function vW(e,t,n){var r=ma(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ak(e))Rk(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,co(s,a)){var l=t.interleaved;l===null?(o.next=o,jb(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=ak(e,t,o,r),n!==null&&(o=Rn(),io(n,e,r,o),Fk(n,t,r))}}function Ak(e){var t=e.alternate;return e===Tt||t!==null&&t===Tt}function Rk(e,t){ed=h1=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fk(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xb(e,n)}}var m1={readContext:Mr,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useInsertionEffect:dn,useLayoutEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useMutableSource:dn,useSyncExternalStore:dn,useId:dn,unstable_isNewReconciler:!1},yW={readContext:Mr,useCallback:function(e,t){return vo().memoizedState=[e,t===void 0?null:t],e},useContext:Mr,useEffect:Uw,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,m0(4194308,4,Ek.bind(null,t,e),n)},useLayoutEffect:function(e,t){return m0(4194308,4,e,t)},useInsertionEffect:function(e,t){return m0(4,2,e,t)},useMemo:function(e,t){var n=vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gW.bind(null,Tt,e),[r.memoizedState,e]},useRef:function(e){var t=vo();return e={current:e},t.memoizedState=e},useState:zw,useDebugValue:Vb,useDeferredValue:function(e){return vo().memoizedState=e},useTransition:function(){var e=zw(!1),t=e[0];return e=mW.bind(null,e[1]),vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Tt,o=vo();if(xt){if(n===void 0)throw Error(Q(407));n=n()}else{if(n=t(),nn===null)throw Error(Q(349));Ds&30||mk(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Uw(vk.bind(null,r,i,e),[e]),r.flags|=2048,Hd(9,gk.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vo(),t=nn.identifierPrefix;if(xt){var n=si,r=ai;n=(r&~(1<<32-oo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zd++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ng=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Du(e):""}function XH(e){switch(e.tag){case 5:return Du(e.type);case 16:return Du("Lazy");case 13:return Du("Suspense");case 19:return Du("SuspenseList");case 0:case 2:case 15:return e=rg(e.type,!1),e;case 11:return e=rg(e.type.render,!1),e;case 1:return e=rg(e.type,!0),e;default:return""}}function Q2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ol:return"Fragment";case Pl:return"Portal";case q2:return"Profiler";case gb:return"StrictMode";case K2:return"Suspense";case Y2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case lC:return(e._context.displayName||"Context")+".Provider";case vb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yb:return t=e.displayName||null,t!==null?t:Q2(e.type)||"Memo";case Xi:t=e._payload,e=e._init;try{return Q2(e(t))}catch{}}return null}function qH(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q2(t);case 8:return t===gb?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ta(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function KH(e){var t=dC(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function u0(e){e._valueTracker||(e._valueTracker=KH(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yp(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function J2(e,t){var n=t.checked;return At({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function iw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ta(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pC(e,t){t=t.checked,t!=null&&mb(e,"checked",t,!1)}function ev(e,t){pC(e,t);var n=Ta(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tv(e,t.type,n):t.hasOwnProperty("defaultValue")&&tv(e,t.type,Ta(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function aw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function tv(e,t,n){(t!=="number"||Yp(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mu=Array.isArray;function Yl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=d0.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ad(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},YH=["Webkit","ms","Moz","O"];Object.keys(qu).forEach(function(e){YH.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qu[t]=qu[e]})});function vC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qu.hasOwnProperty(e)&&qu[e]?(""+t).trim():t+"px"}function yC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var QH=At({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ov(e,t){if(t){if(QH[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Q(62))}}function iv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 av=null;function bb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sv=null,Ql=null,Jl=null;function cw(e){if(e=kf(e)){if(typeof sv!="function")throw Error(Q(280));var t=e.stateNode;t&&(t=vh(t),sv(e.stateNode,e.type,t))}}function bC(e){Ql?Jl?Jl.push(e):Jl=[e]:Ql=e}function wC(){if(Ql){var e=Ql,t=Jl;if(Jl=Ql=null,cw(e),t)for(e=0;e>>=0,e===0?32:31-(cV(e)/uV|0)|0}var f0=64,p0=4194304;function Lu(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function t1(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Lu(s):(i&=a,i!==0&&(r=Lu(i)))}else a=n&~o,a!==0?r=Lu(a):i!==0&&(r=Lu(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function _f(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-oo(t),e[t]=n}function hV(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Yu),yw=String.fromCharCode(32),bw=!1;function BC(e,t){switch(e){case"keyup":return UV.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jl=!1;function VV(e,t){switch(e){case"compositionend":return zC(t);case"keypress":return t.which!==32?null:(bw=!0,yw);case"textInput":return e=t.data,e===yw&&bw?null:e;default:return null}}function WV(e,t){if(jl)return e==="compositionend"||!$b&&BC(e,t)?(e=LC(),dp=_b=aa=null,jl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ew(n)}}function WC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?WC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ZC(){for(var e=window,t=Yp();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yp(e.document)}return t}function Tb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function eW(e){var t=ZC(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&WC(n.ownerDocument.documentElement,n)){if(r!==null&&Tb(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=_w(n,i);var a=_w(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dl=null,pv=null,Ju=null,hv=!1;function Cw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hv||Dl==null||Dl!==Yp(r)||(r=Dl,"selectionStart"in r&&Tb(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ju&&jd(Ju,r)||(Ju=r,r=o1(pv,"onSelect"),0Nl||(e.current=wv[Nl],wv[Nl]=null,Nl--)}function lt(e,t){Nl++,wv[Nl]=e.current,e.current=t}var Aa={},vn=Na(Aa),qn=Na(!1),Os=Aa;function kc(e,t){var n=e.type.contextTypes;if(!n)return Aa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Kn(e){return e=e.childContextTypes,e!=null}function a1(){gt(qn),gt(vn)}function Iw(e,t,n){if(vn.current!==Aa)throw Error(Q(168));lt(vn,t),lt(qn,n)}function tk(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Q(108,qH(e)||"Unknown",o));return At({},n,r)}function s1(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Aa,Os=vn.current,lt(vn,e),lt(qn,qn.current),!0}function Pw(e,t,n){var r=e.stateNode;if(!r)throw Error(Q(169));n?(e=tk(e,t,Os),r.__reactInternalMemoizedMergedChildContext=e,gt(qn),gt(vn),lt(vn,e)):gt(qn),lt(qn,n)}var oi=null,yh=!1,vg=!1;function nk(e){oi===null?oi=[e]:oi.push(e)}function fW(e){yh=!0,nk(e)}function Ba(){if(!vg&&oi!==null){vg=!0;var e=0,t=tt;try{var n=oi;for(tt=1;e>=a,o-=a,ai=1<<32-oo(t)+o|n<k?(I=C,C=null):I=C.sibling;var j=f(y,C,x[k],S);if(j===null){C===null&&(C=I);break}e&&C&&j.alternate===null&&t(y,C),b=i(j,b,k),E===null?_=j:E.sibling=j,E=j,C=I}if(k===x.length)return n(y,C),xt&&Ya(y,k),_;if(C===null){for(;kk?(I=C,C=null):I=C.sibling;var $=f(y,C,j.value,S);if($===null){C===null&&(C=I);break}e&&C&&$.alternate===null&&t(y,C),b=i($,b,k),E===null?_=$:E.sibling=$,E=$,C=I}if(j.done)return n(y,C),xt&&Ya(y,k),_;if(C===null){for(;!j.done;k++,j=x.next())j=d(y,j.value,S),j!==null&&(b=i(j,b,k),E===null?_=j:E.sibling=j,E=j);return xt&&Ya(y,k),_}for(C=r(y,C);!j.done;k++,j=x.next())j=p(C,y,k,j.value,S),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?k:j.key),b=i(j,b,k),E===null?_=j:E.sibling=j,E=j);return e&&C.forEach(function(P){return t(y,P)}),xt&&Ya(y,k),_}function w(y,b,x,S){if(typeof x=="object"&&x!==null&&x.type===Ol&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case c0:e:{for(var _=x.key,E=b;E!==null;){if(E.key===_){if(_=x.type,_===Ol){if(E.tag===7){n(y,E.sibling),b=o(E,x.props.children),b.return=y,y=b;break e}}else if(E.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Xi&&Bw(_)===E.type){n(y,E.sibling),b=o(E,x.props),b.ref=_u(y,E,x),b.return=y,y=b;break e}n(y,E);break}else t(y,E);E=E.sibling}x.type===Ol?(b=_s(x.props.children,y.mode,S,x.key),b.return=y,y=b):(S=bp(x.type,x.key,x.props,null,y.mode,S),S.ref=_u(y,b,x),S.return=y,y=S)}return a(y);case Pl:e:{for(E=x.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(y,b.sibling),b=o(b,x.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=Cg(x,y.mode,S),b.return=y,y=b}return a(y);case Xi:return E=x._init,w(y,b,E(x._payload),S)}if(Mu(x))return m(y,b,x,S);if(bu(x))return g(y,b,x,S);w0(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,b!==null&&b.tag===6?(n(y,b.sibling),b=o(b,x),b.return=y,y=b):(n(y,b),b=_g(x,y.mode,S),b.return=y,y=b),a(y)):n(y,b)}return w}var Tc=uk(!0),dk=uk(!1),$f={},Do=Na($f),Nd=Na($f),Bd=Na($f);function us(e){if(e===$f)throw Error(Q(174));return e}function Mb(e,t){switch(lt(Bd,t),lt(Nd,e),lt(Do,$f),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:rv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=rv(t,e)}gt(Do),lt(Do,t)}function Ac(){gt(Do),gt(Nd),gt(Bd)}function fk(e){us(Bd.current);var t=us(Do.current),n=rv(t,e.type);t!==n&&(lt(Nd,e),lt(Do,n))}function Lb(e){Nd.current===e&&(gt(Do),gt(Nd))}var Ct=Na(0);function p1(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yg=[];function Nb(){for(var e=0;en?n:4,e(!0);var r=bg.transition;bg.transition={};try{e(!1),t()}finally{tt=n,bg.transition=r}}function Tk(){return Lr().memoizedState}function gW(e,t,n){var r=ma(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ak(e))Rk(t,n);else if(n=ak(e,t,n,r),n!==null){var o=Rn();io(n,e,r,o),Fk(n,t,r)}}function vW(e,t,n){var r=ma(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ak(e))Rk(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,co(s,a)){var l=t.interleaved;l===null?(o.next=o,jb(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=ak(e,t,o,r),n!==null&&(o=Rn(),io(n,e,r,o),Fk(n,t,r))}}function Ak(e){var t=e.alternate;return e===Tt||t!==null&&t===Tt}function Rk(e,t){ed=h1=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fk(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xb(e,n)}}var m1={readContext:Mr,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useInsertionEffect:dn,useLayoutEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useMutableSource:dn,useSyncExternalStore:dn,useId:dn,unstable_isNewReconciler:!1},yW={readContext:Mr,useCallback:function(e,t){return vo().memoizedState=[e,t===void 0?null:t],e},useContext:Mr,useEffect:Uw,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,mp(4194308,4,Ek.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mp(4194308,4,e,t)},useInsertionEffect:function(e,t){return mp(4,2,e,t)},useMemo:function(e,t){var n=vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gW.bind(null,Tt,e),[r.memoizedState,e]},useRef:function(e){var t=vo();return e={current:e},t.memoizedState=e},useState:zw,useDebugValue:Vb,useDeferredValue:function(e){return vo().memoizedState=e},useTransition:function(){var e=zw(!1),t=e[0];return e=mW.bind(null,e[1]),vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Tt,o=vo();if(xt){if(n===void 0)throw Error(Q(407));n=n()}else{if(n=t(),nn===null)throw Error(Q(349));Ds&30||mk(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Uw(vk.bind(null,r,i,e),[e]),r.flags|=2048,Hd(9,gk.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vo(),t=nn.identifierPrefix;if(xt){var n=si,r=ai;n=(r&~(1<<32-oo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[_o]=t,e[Ld]=r,Bk(e,t,!1,!1),t.stateNode=e;e:{switch(a=iv(n,r),n){case"dialog":ft("cancel",e),ft("close",e),o=r;break;case"iframe":case"object":case"embed":ft("load",e),o=r;break;case"video":case"audio":for(o=0;oFc&&(t.flags|=128,r=!0,Cu(i,!1),t.lanes=4194304)}else{if(!r)if(e=p1(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!xt)return fn(t),null}else 2*Mt()-i.renderingStartTime>Fc&&n!==1073741824&&(t.flags|=128,r=!0,Cu(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Mt(),t.sibling=null,n=Ct.current,lt(Ct,r?n&1|2:n&1),t):(fn(t),null);case 22:case 23:return Kb(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ur&1073741824&&(fn(t),t.subtreeFlags&6&&(t.flags|=8192)):fn(t),null;case 24:return null;case 25:return null}throw Error(Q(156,t.tag))}function kW(e,t){switch(Rb(t),t.tag){case 1:return Kn(t.type)&&a1(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ac(),gt(qn),gt(vn),Nb(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Lb(t),null;case 13:if(gt(Ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Q(340));$c()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(Ct),null;case 4:return Ac(),null;case 10:return Ob(t.type._context),null;case 22:case 23:return Kb(),null;case 24:return null;default:return null}}var Sp=!1,mn=!1,$W=typeof WeakSet=="function"?WeakSet:Set,pe=null;function Hl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pt(e,t,r)}else n.current=null}function Iv(e,t,n){try{n()}catch(r){Pt(e,t,r)}}var Yw=!1;function TW(e,t){if(mv=n1,e=ZC(),Tb(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(s=a),f===i&&++u===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(gv={focusedElem:e,selectionRange:n},n1=!1,pe=t;pe!==null;)if(t=pe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pe=e;else for(;pe!==null;){t=pe;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,w=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Kr(t.type,g),w);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Q(163))}}catch(S){Pt(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,pe=e;break}pe=t.return}return m=Yw,Yw=!1,m}function td(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Iv(t,n,i)}o=o.next}while(o!==r)}}function xh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Pv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Hk(e){var t=e.alternate;t!==null&&(e.alternate=null,Hk(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_o],delete t[Ld],delete t[bv],delete t[uW],delete t[dW])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Vk(e){return e.tag===5||e.tag===3||e.tag===4}function Qw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vk(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ov(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=i1));else if(r!==4&&(e=e.child,e!==null))for(Ov(e,t,n),e=e.sibling;e!==null;)Ov(e,t,n),e=e.sibling}function jv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(jv(e,t,n),e=e.sibling;e!==null;)jv(e,t,n),e=e.sibling}var on=null,Yr=!1;function Bi(e,t,n){for(n=n.child;n!==null;)Wk(e,t,n),n=n.sibling}function Wk(e,t,n){if(jo&&typeof jo.onCommitFiberUnmount=="function")try{jo.onCommitFiberUnmount(ph,n)}catch{}switch(n.tag){case 5:mn||Hl(n,t);case 6:var r=on,o=Yr;on=null,Bi(e,t,n),on=r,Yr=o,on!==null&&(Yr?(e=on,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):on.removeChild(n.stateNode));break;case 18:on!==null&&(Yr?(e=on,n=n.stateNode,e.nodeType===8?gg(e.parentNode,n):e.nodeType===1&&gg(e,n),Pd(e)):gg(on,n.stateNode));break;case 4:r=on,o=Yr,on=n.stateNode.containerInfo,Yr=!0,Bi(e,t,n),on=r,Yr=o;break;case 0:case 11:case 14:case 15:if(!mn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Iv(n,t,a),o=o.next}while(o!==r)}Bi(e,t,n);break;case 1:if(!mn&&(Hl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Pt(n,t,s)}Bi(e,t,n);break;case 21:Bi(e,t,n);break;case 22:n.mode&1?(mn=(r=mn)||n.memoizedState!==null,Bi(e,t,n),mn=r):Bi(e,t,n);break;default:Bi(e,t,n)}}function Jw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $W),t.forEach(function(r){var o=MW.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Xr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Mt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*RW(r/1960))-r,10e?16:e,sa===null)var r=!1;else{if(e=sa,sa=null,y1=0,Ze&6)throw Error(Q(331));var o=Ze;for(Ze|=4,pe=e.current;pe!==null;){var i=pe,a=i.child;if(pe.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lMt()-Xb?Es(e,0):Gb|=n),Yn(e,t)}function Jk(e,t){t===0&&(e.mode&1?(t=pp,pp<<=1,!(pp&130023424)&&(pp=4194304)):t=1);var n=Rn();e=_i(e,t),e!==null&&(_f(e,t,n),Yn(e,n))}function DW(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jk(e,n)}function MW(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Q(314))}r!==null&&r.delete(t),Jk(e,n)}var e$;e$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qn.current)Zn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Zn=!1,_W(e,t,n);Zn=!!(e.flags&131072)}else Zn=!1,xt&&t.flags&1048576&&rk(t,c1,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;g0(e,t),e=t.pendingProps;var o=kc(t,vn.current);tc(t,n),o=zb(null,t,r,e,o,n);var i=Ub();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Kn(r)?(i=!0,s1(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Db(t),o.updater=bh,t.stateNode=o,o._reactInternals=t,Cv(t,r,e,n),t=Tv(null,t,r,!0,i,n)):(t.tag=0,xt&&i&&Ab(t),Cn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(g0(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=NW(r),e=Kr(r,e),o){case 0:t=$v(null,t,r,e,n);break e;case 1:t=Xw(null,t,r,e,n);break e;case 11:t=Zw(null,t,r,e,n);break e;case 14:t=Gw(null,t,r,Kr(r.type,e),n);break e}throw Error(Q(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),$v(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),Xw(e,t,r,o,n);case 3:e:{if(Mk(t),e===null)throw Error(Q(387));r=t.pendingProps,i=t.memoizedState,o=i.element,sk(e,t),f1(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Rc(Error(Q(423)),t),t=qw(e,t,r,n,o);break e}else if(r!==o){o=Rc(Error(Q(424)),t),t=qw(e,t,r,n,o);break e}else for(pr=fa(t.stateNode.containerInfo.firstChild),mr=t,xt=!0,Qr=null,n=dk(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($c(),r===o){t=Ci(e,t,n);break e}Cn(e,t,r,n)}t=t.child}return t;case 5:return fk(t),e===null&&Sv(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,vv(r,o)?a=null:i!==null&&vv(r,i)&&(t.flags|=32),Dk(e,t),Cn(e,t,a,n),t.child;case 6:return e===null&&Sv(t),null;case 13:return Lk(e,t,n);case 4:return Mb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Tc(t,null,r,n):Cn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),Zw(e,t,r,o,n);case 7:return Cn(e,t,t.pendingProps,n),t.child;case 8:return Cn(e,t,t.pendingProps.children,n),t.child;case 12:return Cn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,lt(u1,r._currentValue),r._currentValue=a,i!==null)if(co(i.value,a)){if(i.children===o.children&&!qn.current){t=Ci(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=di(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Ev(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(Q(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ev(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Cn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,tc(t,n),o=Mr(o),r=r(o),t.flags|=1,Cn(e,t,r,n),t.child;case 14:return r=t.type,o=Kr(r,t.pendingProps),o=Kr(r.type,o),Gw(e,t,r,o,n);case 15:return Ok(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),g0(e,t),t.tag=1,Kn(r)?(e=!0,s1(t)):e=!1,tc(t,n),ck(t,r,o),Cv(t,r,o,n),Tv(null,t,r,!0,e,n);case 19:return Nk(e,t,n);case 22:return jk(e,t,n)}throw Error(Q(156,t.tag))};function t$(e,t){return $C(e,t)}function LW(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.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 Rr(e,t,n,r){return new LW(e,t,n,r)}function Qb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function NW(e){if(typeof e=="function")return Qb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vb)return 11;if(e===yb)return 14}return 2}function ga(e,t){var n=e.alternate;return n===null?(n=Rr(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function b0(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Qb(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ol:return _s(n.children,o,i,t);case gb:a=8,o|=8;break;case q2:return e=Rr(12,n,t,o|2),e.elementType=q2,e.lanes=i,e;case K2:return e=Rr(13,n,t,o),e.elementType=K2,e.lanes=i,e;case Y2:return e=Rr(19,n,t,o),e.elementType=Y2,e.lanes=i,e;case uC:return Eh(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case lC:a=10;break e;case cC:a=9;break e;case vb:a=11;break e;case yb:a=14;break e;case Xi:a=16,r=null;break e}throw Error(Q(130,e==null?e:typeof e,""))}return t=Rr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function _s(e,t,n,r){return e=Rr(7,e,r,t),e.lanes=n,e}function Eh(e,t,n,r){return e=Rr(22,e,r,t),e.elementType=uC,e.lanes=n,e.stateNode={isHidden:!1},e}function _g(e,t,n){return e=Rr(6,e,null,t),e.lanes=n,e}function Cg(e,t,n){return t=Rr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function BW(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ig(0),this.expirationTimes=ig(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ig(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Jb(e,t,n,r,o,i,a,s,l){return e=new BW(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Rr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Db(i),e}function zW(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=wr})(UH);const r4=Fy(On);function ZW(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function o4(...e){return t=>e.forEach(n=>ZW(n,t))}function Le(...e){return h.useCallback(o4(...e),e)}const ki=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(GW);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Bv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Bv,W({},r,{ref:t}),n)});ki.displayName="Slot";const Bv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...XW(r,n.props),ref:o4(t,n.ref)}):h.Children.count(n)>1?h.Children.only(null):null});Bv.displayName="SlotClone";const i$=({children:e})=>h.createElement(h.Fragment,null,e);function GW(e){return h.isValidElement(e)&&e.type===i$}function XW(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const qW=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],Ve=qW.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ki:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function i4(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}const KW=h.forwardRef((e,t)=>h.createElement(Ve.label,W({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),YW=KW,zv="horizontal",QW=["horizontal","vertical"],a$=h.forwardRef((e,t)=>{const{decorative:n,orientation:r=zv,...o}=e,i=s$(r)?r:zv,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return h.createElement(Ve.div,W({"data-orientation":i},s,o,{ref:t}))});a$.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!s$(r)?new Error(JW(o,n)):null}};function JW(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of: +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Sg(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function kv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var xW=typeof WeakMap=="function"?WeakMap:Map;function Ik(e,t,n){n=di(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){v1||(v1=!0,Dv=r),kv(e,t)},n}function Pk(e,t,n){n=di(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){kv(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){kv(e,t),typeof r!="function"&&(ha===null?ha=new Set([this]):ha.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Hw(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new xW;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=jW.bind(null,e,t,n),t.then(e,e))}function Vw(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ww(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=di(-1,1),t.tag=2,pa(n,t,1))),n.lanes|=1),e)}var SW=ji.ReactCurrentOwner,Zn=!1;function Cn(e,t,n,r){t.child=e===null?dk(t,null,n,r):Tc(t,e.child,n,r)}function Zw(e,t,n,r,o){n=n.render;var i=t.ref;return tc(t,o),r=zb(e,t,n,r,i,o),n=Ub(),e!==null&&!Zn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ci(e,t,o)):(xt&&n&&Ab(t),t.flags|=1,Cn(e,t,r,o),t.child)}function Gw(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Qb(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Ok(e,t,i,r,o)):(e=bp(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:jd,n(a,r)&&e.ref===t.ref)return Ci(e,t,o)}return t.flags|=1,e=ga(i,r),e.ref=t.ref,e.return=t,t.child=e}function Ok(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(jd(i,r)&&e.ref===t.ref)if(Zn=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Zn=!0);else return t.lanes=e.lanes,Ci(e,t,o)}return $v(e,t,n,r,o)}function jk(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},lt(Vl,ur),ur|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,lt(Vl,ur),ur|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,lt(Vl,ur),ur|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,lt(Vl,ur),ur|=r;return Cn(e,t,o,n),t.child}function Dk(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $v(e,t,n,r,o){var i=Kn(n)?Os:vn.current;return i=kc(t,i),tc(t,o),n=zb(e,t,n,r,i,o),r=Ub(),e!==null&&!Zn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ci(e,t,o)):(xt&&r&&Ab(t),t.flags|=1,Cn(e,t,n,o),t.child)}function Xw(e,t,n,r,o){if(Kn(n)){var i=!0;s1(t)}else i=!1;if(tc(t,o),t.stateNode===null)gp(e,t),ck(t,n,r),Cv(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Mr(c):(c=Kn(n)?Os:vn.current,c=kc(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&Nw(t,a,r,c),qi=!1;var f=t.memoizedState;a.state=f,f1(t,r,a,o),l=t.memoizedState,s!==r||f!==l||qn.current||qi?(typeof u=="function"&&(_v(t,n,u,r),l=t.memoizedState),(s=qi||Lw(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,sk(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Kr(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Mr(l):(l=Kn(n)?Os:vn.current,l=kc(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&Nw(t,a,r,l),qi=!1,f=t.memoizedState,a.state=f,f1(t,r,a,o);var m=t.memoizedState;s!==d||f!==m||qn.current||qi?(typeof p=="function"&&(_v(t,n,p,r),m=t.memoizedState),(c=qi||Lw(t,n,c,r,f,m,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Tv(e,t,n,r,i,o)}function Tv(e,t,n,r,o,i){Dk(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&Pw(t,n,!1),Ci(e,t,i);r=t.stateNode,SW.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Tc(t,e.child,null,i),t.child=Tc(t,null,s,i)):Cn(e,t,s,i),t.memoizedState=r.state,o&&Pw(t,n,!0),t.child}function Mk(e){var t=e.stateNode;t.pendingContext?Iw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Iw(e,t.context,!1),Mb(e,t.containerInfo)}function qw(e,t,n,r,o){return $c(),Fb(o),t.flags|=256,Cn(e,t,n,r),t.child}var Av={dehydrated:null,treeContext:null,retryLane:0};function Rv(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lk(e,t,n){var r=t.pendingProps,o=Ct.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),lt(Ct,o&1),e===null)return Sv(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=Eh(a,r,0,null),e=_s(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Rv(n),t.memoizedState=Av,e):Wb(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return EW(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ga(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=ga(s,i):(i=_s(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?Rv(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Av,r}return i=e.child,e=i.sibling,r=ga(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Wb(e,t){return t=Eh({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function x0(e,t,n,r){return r!==null&&Fb(r),Tc(t,e.child,null,n),e=Wb(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function EW(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Sg(Error(Q(422))),x0(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Eh({mode:"visible",children:r.children},o,0,null),i=_s(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Tc(t,e.child,null,a),t.child.memoizedState=Rv(a),t.memoizedState=Av,i);if(!(t.mode&1))return x0(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(Q(419)),r=Sg(i,r,void 0),x0(e,t,a,r)}if(s=(a&e.childLanes)!==0,Zn||s){if(r=nn,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,_i(e,o),io(r,e,o,-1))}return Yb(),r=Sg(Error(Q(421))),x0(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=DW.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,pr=fa(o.nextSibling),mr=t,xt=!0,Qr=null,e!==null&&(kr[$r++]=ai,kr[$r++]=si,kr[$r++]=js,ai=e.id,si=e.overflow,js=t),t=Wb(t,r.children),t.flags|=4096,t)}function Kw(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ev(e.return,t,n)}function Eg(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Nk(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Cn(e,t,r.children,n),r=Ct.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kw(e,n,t);else if(e.tag===19)Kw(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(lt(Ct,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&p1(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Eg(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&p1(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Eg(t,!0,n,null,i);break;case"together":Eg(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gp(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ci(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ms|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Q(153));if(t.child!==null){for(e=t.child,n=ga(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ga(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _W(e,t,n){switch(t.tag){case 3:Mk(t),$c();break;case 5:fk(t);break;case 1:Kn(t.type)&&s1(t);break;case 4:Mb(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;lt(u1,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(lt(Ct,Ct.current&1),t.flags|=128,null):n&t.child.childLanes?Lk(e,t,n):(lt(Ct,Ct.current&1),e=Ci(e,t,n),e!==null?e.sibling:null);lt(Ct,Ct.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Nk(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),lt(Ct,Ct.current),r)break;return null;case 22:case 23:return t.lanes=0,jk(e,t,n)}return Ci(e,t,n)}var Bk,Fv,zk,Uk;Bk=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Fv=function(){};zk=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,us(Do.current);var i=null;switch(n){case"input":o=J2(e,o),r=J2(e,r),i=[];break;case"select":o=At({},o,{value:void 0}),r=At({},r,{value:void 0}),i=[];break;case"textarea":o=nv(e,o),r=nv(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=i1)}ov(n,r);var a;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Td.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(s=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Td.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&ft("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Uk=function(e,t,n,r){n!==r&&(t.flags|=4)};function Cu(e,t){if(!xt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function fn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function CW(e,t,n){var r=t.pendingProps;switch(Rb(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fn(t),null;case 1:return Kn(t.type)&&a1(),fn(t),null;case 3:return r=t.stateNode,Ac(),gt(qn),gt(vn),Nb(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(b0(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qr!==null&&(Nv(Qr),Qr=null))),Fv(e,t),fn(t),null;case 5:Lb(t);var o=us(Bd.current);if(n=t.type,e!==null&&t.stateNode!=null)zk(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Q(166));return fn(t),null}if(e=us(Do.current),b0(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[_o]=t,r[Ld]=i,e=(t.mode&1)!==0,n){case"dialog":ft("cancel",r),ft("close",r);break;case"iframe":case"object":case"embed":ft("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[_o]=t,e[Ld]=r,Bk(e,t,!1,!1),t.stateNode=e;e:{switch(a=iv(n,r),n){case"dialog":ft("cancel",e),ft("close",e),o=r;break;case"iframe":case"object":case"embed":ft("load",e),o=r;break;case"video":case"audio":for(o=0;oFc&&(t.flags|=128,r=!0,Cu(i,!1),t.lanes=4194304)}else{if(!r)if(e=p1(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!xt)return fn(t),null}else 2*Mt()-i.renderingStartTime>Fc&&n!==1073741824&&(t.flags|=128,r=!0,Cu(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Mt(),t.sibling=null,n=Ct.current,lt(Ct,r?n&1|2:n&1),t):(fn(t),null);case 22:case 23:return Kb(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ur&1073741824&&(fn(t),t.subtreeFlags&6&&(t.flags|=8192)):fn(t),null;case 24:return null;case 25:return null}throw Error(Q(156,t.tag))}function kW(e,t){switch(Rb(t),t.tag){case 1:return Kn(t.type)&&a1(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ac(),gt(qn),gt(vn),Nb(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Lb(t),null;case 13:if(gt(Ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Q(340));$c()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(Ct),null;case 4:return Ac(),null;case 10:return Ob(t.type._context),null;case 22:case 23:return Kb(),null;case 24:return null;default:return null}}var S0=!1,mn=!1,$W=typeof WeakSet=="function"?WeakSet:Set,pe=null;function Hl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pt(e,t,r)}else n.current=null}function Iv(e,t,n){try{n()}catch(r){Pt(e,t,r)}}var Yw=!1;function TW(e,t){if(mv=n1,e=ZC(),Tb(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(s=a),f===i&&++u===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(gv={focusedElem:e,selectionRange:n},n1=!1,pe=t;pe!==null;)if(t=pe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pe=e;else for(;pe!==null;){t=pe;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,w=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Kr(t.type,g),w);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Q(163))}}catch(S){Pt(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,pe=e;break}pe=t.return}return m=Yw,Yw=!1,m}function td(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Iv(t,n,i)}o=o.next}while(o!==r)}}function xh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Pv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Hk(e){var t=e.alternate;t!==null&&(e.alternate=null,Hk(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_o],delete t[Ld],delete t[bv],delete t[uW],delete t[dW])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Vk(e){return e.tag===5||e.tag===3||e.tag===4}function Qw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vk(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ov(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=i1));else if(r!==4&&(e=e.child,e!==null))for(Ov(e,t,n),e=e.sibling;e!==null;)Ov(e,t,n),e=e.sibling}function jv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(jv(e,t,n),e=e.sibling;e!==null;)jv(e,t,n),e=e.sibling}var on=null,Yr=!1;function Bi(e,t,n){for(n=n.child;n!==null;)Wk(e,t,n),n=n.sibling}function Wk(e,t,n){if(jo&&typeof jo.onCommitFiberUnmount=="function")try{jo.onCommitFiberUnmount(ph,n)}catch{}switch(n.tag){case 5:mn||Hl(n,t);case 6:var r=on,o=Yr;on=null,Bi(e,t,n),on=r,Yr=o,on!==null&&(Yr?(e=on,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):on.removeChild(n.stateNode));break;case 18:on!==null&&(Yr?(e=on,n=n.stateNode,e.nodeType===8?gg(e.parentNode,n):e.nodeType===1&&gg(e,n),Pd(e)):gg(on,n.stateNode));break;case 4:r=on,o=Yr,on=n.stateNode.containerInfo,Yr=!0,Bi(e,t,n),on=r,Yr=o;break;case 0:case 11:case 14:case 15:if(!mn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Iv(n,t,a),o=o.next}while(o!==r)}Bi(e,t,n);break;case 1:if(!mn&&(Hl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Pt(n,t,s)}Bi(e,t,n);break;case 21:Bi(e,t,n);break;case 22:n.mode&1?(mn=(r=mn)||n.memoizedState!==null,Bi(e,t,n),mn=r):Bi(e,t,n);break;default:Bi(e,t,n)}}function Jw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $W),t.forEach(function(r){var o=MW.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Xr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Mt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*RW(r/1960))-r,10e?16:e,sa===null)var r=!1;else{if(e=sa,sa=null,y1=0,Ze&6)throw Error(Q(331));var o=Ze;for(Ze|=4,pe=e.current;pe!==null;){var i=pe,a=i.child;if(pe.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lMt()-Xb?Es(e,0):Gb|=n),Yn(e,t)}function Jk(e,t){t===0&&(e.mode&1?(t=p0,p0<<=1,!(p0&130023424)&&(p0=4194304)):t=1);var n=Rn();e=_i(e,t),e!==null&&(_f(e,t,n),Yn(e,n))}function DW(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jk(e,n)}function MW(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Q(314))}r!==null&&r.delete(t),Jk(e,n)}var e$;e$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qn.current)Zn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Zn=!1,_W(e,t,n);Zn=!!(e.flags&131072)}else Zn=!1,xt&&t.flags&1048576&&rk(t,c1,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gp(e,t),e=t.pendingProps;var o=kc(t,vn.current);tc(t,n),o=zb(null,t,r,e,o,n);var i=Ub();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Kn(r)?(i=!0,s1(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Db(t),o.updater=bh,t.stateNode=o,o._reactInternals=t,Cv(t,r,e,n),t=Tv(null,t,r,!0,i,n)):(t.tag=0,xt&&i&&Ab(t),Cn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gp(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=NW(r),e=Kr(r,e),o){case 0:t=$v(null,t,r,e,n);break e;case 1:t=Xw(null,t,r,e,n);break e;case 11:t=Zw(null,t,r,e,n);break e;case 14:t=Gw(null,t,r,Kr(r.type,e),n);break e}throw Error(Q(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),$v(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),Xw(e,t,r,o,n);case 3:e:{if(Mk(t),e===null)throw Error(Q(387));r=t.pendingProps,i=t.memoizedState,o=i.element,sk(e,t),f1(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Rc(Error(Q(423)),t),t=qw(e,t,r,n,o);break e}else if(r!==o){o=Rc(Error(Q(424)),t),t=qw(e,t,r,n,o);break e}else for(pr=fa(t.stateNode.containerInfo.firstChild),mr=t,xt=!0,Qr=null,n=dk(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($c(),r===o){t=Ci(e,t,n);break e}Cn(e,t,r,n)}t=t.child}return t;case 5:return fk(t),e===null&&Sv(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,vv(r,o)?a=null:i!==null&&vv(r,i)&&(t.flags|=32),Dk(e,t),Cn(e,t,a,n),t.child;case 6:return e===null&&Sv(t),null;case 13:return Lk(e,t,n);case 4:return Mb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Tc(t,null,r,n):Cn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),Zw(e,t,r,o,n);case 7:return Cn(e,t,t.pendingProps,n),t.child;case 8:return Cn(e,t,t.pendingProps.children,n),t.child;case 12:return Cn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,lt(u1,r._currentValue),r._currentValue=a,i!==null)if(co(i.value,a)){if(i.children===o.children&&!qn.current){t=Ci(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=di(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Ev(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(Q(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ev(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Cn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,tc(t,n),o=Mr(o),r=r(o),t.flags|=1,Cn(e,t,r,n),t.child;case 14:return r=t.type,o=Kr(r,t.pendingProps),o=Kr(r.type,o),Gw(e,t,r,o,n);case 15:return Ok(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Kr(r,o),gp(e,t),t.tag=1,Kn(r)?(e=!0,s1(t)):e=!1,tc(t,n),ck(t,r,o),Cv(t,r,o,n),Tv(null,t,r,!0,e,n);case 19:return Nk(e,t,n);case 22:return jk(e,t,n)}throw Error(Q(156,t.tag))};function t$(e,t){return $C(e,t)}function LW(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.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 Rr(e,t,n,r){return new LW(e,t,n,r)}function Qb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function NW(e){if(typeof e=="function")return Qb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vb)return 11;if(e===yb)return 14}return 2}function ga(e,t){var n=e.alternate;return n===null?(n=Rr(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bp(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Qb(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ol:return _s(n.children,o,i,t);case gb:a=8,o|=8;break;case q2:return e=Rr(12,n,t,o|2),e.elementType=q2,e.lanes=i,e;case K2:return e=Rr(13,n,t,o),e.elementType=K2,e.lanes=i,e;case Y2:return e=Rr(19,n,t,o),e.elementType=Y2,e.lanes=i,e;case uC:return Eh(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case lC:a=10;break e;case cC:a=9;break e;case vb:a=11;break e;case yb:a=14;break e;case Xi:a=16,r=null;break e}throw Error(Q(130,e==null?e:typeof e,""))}return t=Rr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function _s(e,t,n,r){return e=Rr(7,e,r,t),e.lanes=n,e}function Eh(e,t,n,r){return e=Rr(22,e,r,t),e.elementType=uC,e.lanes=n,e.stateNode={isHidden:!1},e}function _g(e,t,n){return e=Rr(6,e,null,t),e.lanes=n,e}function Cg(e,t,n){return t=Rr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function BW(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ig(0),this.expirationTimes=ig(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ig(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Jb(e,t,n,r,o,i,a,s,l){return e=new BW(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Rr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Db(i),e}function zW(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=wr})(UH);const r4=Fy(On);function ZW(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function o4(...e){return t=>e.forEach(n=>ZW(n,t))}function Le(...e){return h.useCallback(o4(...e),e)}const ki=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(GW);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Bv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Bv,W({},r,{ref:t}),n)});ki.displayName="Slot";const Bv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...XW(r,n.props),ref:o4(t,n.ref)}):h.Children.count(n)>1?h.Children.only(null):null});Bv.displayName="SlotClone";const i$=({children:e})=>h.createElement(h.Fragment,null,e);function GW(e){return h.isValidElement(e)&&e.type===i$}function XW(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const qW=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],Ve=qW.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ki:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function i4(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}const KW=h.forwardRef((e,t)=>h.createElement(Ve.label,W({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),YW=KW,zv="horizontal",QW=["horizontal","vertical"],a$=h.forwardRef((e,t)=>{const{decorative:n,orientation:r=zv,...o}=e,i=s$(r)?r:zv,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return h.createElement(Ve.div,W({"data-orientation":i},s,o,{ref:t}))});a$.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!s$(r)?new Error(JW(o,n)):null}};function JW(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of: - horizontal - vertical -Defaulting to \`${zv}\`.`}function s$(e){return QW.includes(e)}const eZ=a$,tZ={white:"hsla(0, 100%, 100%, 1)",white_05:"hsla(0, 0%, 100%, 0.5)",white_03:"hsla(0, 0%, 100%, 0.3)",white200:"hsla(0, 0%, 43%)"},nZ=233,l$={blueBackground:`hsl(${nZ}, 100%, 99%)`,blue100:"hsla(212, 100%, 98%)",blue200:"hsla(226, 100%, 93%)",blue300:"hsl(227, 100%, 82%)",blue350:"hsl(233, 100%, 74%)",blue400:"hsl(233, 70%, 66%)",blue500:"hsl(233, 78%, 57%)",blue600:"hsla(250, 82%, 44%)",blue700:"hsl(250, 93%, 35%)",blue800:"hsl(250, 100%, 20%)",blue900:"hsl(248, 89%, 17%)"},c$={neutral100:"hsl(228, 17%, 95%)",neutral200:"hsl(228, 24%, 96%)",neutral300:"hsl(228, 14%, 90%)",neutral400:"hsl(228, 23%, 83%)",neutral500:"hsla(228, 15%, 66%)",neutral600:"#848AA4",neutral700:"hsl(250, 15%, 40%)",neutral800:"hsla(250, 15%, 25%)",neutral900:"hsl(250, 15%, 15%)"},u$={red100:"hsl(355, 100%, 94%)",red200:"hsl(355, 73%, 88%)",red250:"hsla(355, 94%, 79%)",red300:"hsl(355, 100%, 67%)",red400:"hsl(335, 100%, 44%)",red500:"hsl(335, 82%, 42%)",red600:"hsl(335, 100%, 28%)",red700:"hsl(335, 100%, 20%)",red800:"hsl(335, 100%, 201)"},d$={orange100:"hsl(36, 100%, 93%)",orange200:"hsl(29, 100%, 46%)",orange300:"hsl(29, 94%, 42%)",orange400:"hsl(29, 100%, 46%)"},w0={green100:"hsl(158, 45%, 95%)",green200:"hsl(164, 67%, 47%)",green200_01:"hsla(164, 67%, 47%,0.1)",green300:"hsla(156, 72%, 67%, 1)",green400:"hsla(142, 69%, 58%, 1)",green500:"hsla(182, 29%, 40%, 1)",green600:"hsla(142, 76%, 36%, 1)",green700:"hsla(142, 72%, 29%, 1)",green800:"hsla(143, 64%, 24%, 1)",green900:"hsla(144, 61%, 20%, 1)"},rZ={black:"hsla(0, 0%, 0%, 1)",black_05:"rgba(0, 0, 0, 0.44)",black_09:"rgba(0, 0, 0, 0.9)"},Yo=0,f$={grayscale100_05:`hsla(${Yo}, 0%, 100%, 0.5)`,grayscale100:`hsla(${Yo}, 0%, 100%)`,grayscale200:`hsla(${Yo}, 0%, 90%)`,grayscale300:`hsla(${Yo}, 0%, 81%)`,grayscale400:`hsla(${Yo}, 0%, 72%)`,grayscale500:`hsla(${Yo}, 0%, 63%)`,grayscale600:`hsla(${Yo}, 0%, 54%)`,grayscale700:`hsla(${Yo}, 0%, 45%)`,grayscale800:`hsla(${Yo}, 0%, 36%)`,grayscale900:"hsla(200, 4%, 15%)"},p$={turquoise100:"hsla(200, 100%, 97%, 1)",turquoise200:"hsla(200, 55%, 87%, 1)",turquoise300:"hsla(200, 42%, 79%, 1)",turquoise400:"hsla(200, 56%, 72%, 1)",turquoise500:"hsla(200, 35%, 62%, 1)",turquoise650:`hsla(180, 57%, 48%, 1); -`},oZ={...c$,...f$,...p$,...l$,...u$,...d$,...w0},{styled:H,css:iZ,keyframes:bt,config:q5e}=rC({theme:{colors:{...c$,...f$,...p$,...l$,...u$,...d$,...w0,...tZ,...w0,...rZ,primary:"hsl(242, 19%, 26%)",secondary:"hsl(233, 78%, 57%)",red:"hsl(355, 100%, 67%)",white:"hsla(0, 100%, 100%, 1)",warningBackColor:"hsla(355, 100%, 94%, 0.4)",doneStatusColor:"hsla(200, 56%, 72%, 1)",codeDiffBackColor:"#fee8e9",codeDiffInsertBgColor:w0.green400,codeDiffBorderColor:"#e9aeae",leftbarBackColor:"#242627"},fonts:{untitled:"Untitled Sans, apple-system, sans-serif",Mullish:"Mulish",Inter:"Inter",IBM:"IBM Plex Mono"},radii:{small:"0.2rem",regular:"0.4rem"},fontSizes:{xxsmall:"1rem",xsmall:"1.2rem",small:"1.4rem",medium:"1.6rem",large:"1.8rem",xlarge:"2rem",xxlarge:"2.4rem",extraLarge:"3.6rem",1:"1.2rem",2:"1.3rem",3:"1.4rem",4:"1.6rem",5:"2rem"},fontWeights:{normal:"400",medium:"500",semiBold:"600",bold:"700"},zIndices:{"z-0":0,"z-10":10,"z-20":20,"z-30":30,"z-40":40,"z-50":50},media:{bp1:"(min-width: 640px)",bp2:"(min-width: 768px)",bp3:"(min-width: 1024px)"},shadows:{header:"0px 4px 40px rgba(31, 41, 90, 0.12)",bullet:"0px 0.925535px 18.5107px rgba(31, 41, 90, 0.12)",card:"0px 3px 18.69px rgba(31, 41, 90, 0.05)",dropdown:"0px 4px 16px -2px rgba(0, 0, 0, 0.15)",tooltip:"0px 2px 12px rgba(31, 41, 106, 0.1)",leftbar:"-1px 0px 16px rgba(8, 6, 27, 0.2)",onboarding:"0px 2px 25px 0px rgba(31, 41, 90, 0.15)"}}}),aZ=(e,t)=>v.jsxs("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M5.575 8.426a4.5 4.5 0 1 1 2.5 2.5l-.825.825h-1.5v1.5h-1.5v1.5h-2.5v-2.5l3.825-3.825Z",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M11 6.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",fill:"#3D51E7"})]}),sZ=h.forwardRef(aZ),lZ=(e,t)=>v.jsx("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M6 9.5c.17 0 .313-.058.428-.173A.58.58 0 0 0 6.6 8.9V7.1h1.815c.17 0 .31-.058.42-.173A.593.593 0 0 0 9 6.5a.581.581 0 0 0-.173-.428A.58.58 0 0 0 8.4 5.9H6.6V4.085c0-.17-.057-.31-.172-.42A.596.596 0 0 0 6 3.5a.58.58 0 0 0-.427.172.581.581 0 0 0-.173.428v1.8H3.585c-.17 0-.31.057-.42.172A.596.596 0 0 0 3 6.5c0 .17.057.312.172.427A.581.581 0 0 0 3.6 7.1h1.8v1.815c0 .17.058.31.173.42.115.11.257.165.427.165Zm0 3a5.84 5.84 0 0 1-2.34-.473 6.055 6.055 0 0 1-1.905-1.282A6.055 6.055 0 0 1 .473 8.84 5.84 5.84 0 0 1 0 6.5c0-.83.158-1.61.473-2.34a6.055 6.055 0 0 1 1.282-1.905A6.063 6.063 0 0 1 3.66.972 5.846 5.846 0 0 1 6 .5c.83 0 1.61.157 2.34.472.73.315 1.365.743 1.905 1.283.54.54.967 1.175 1.282 1.905.315.73.473 1.51.473 2.34 0 .83-.158 1.61-.473 2.34a6.055 6.055 0 0 1-1.282 1.905c-.54.54-1.175.967-1.905 1.282A5.84 5.84 0 0 1 6 12.5Zm0-1.2c1.33 0 2.463-.467 3.398-1.402C10.333 8.963 10.8 7.83 10.8 6.5s-.467-2.463-1.402-3.398C8.463 2.167 7.33 1.7 6 1.7s-2.462.467-3.397 1.402C1.668 4.037 1.2 5.17 1.2 6.5s.468 2.463 1.403 3.398S4.67 11.3 6 11.3Z",fill:"#3D51E7"})}),cZ=h.forwardRef(lZ),uZ=(e,t)=>v.jsxs("svg",{width:136,height:145,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M68.103 140.835c37.112 0 67.198-31.079 67.198-69.418C135.301 33.08 105.215 2 68.103 2 30.99 2 .903 33.08.903 71.417c0 38.339 30.087 69.418 67.2 69.418Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#analysis-in-progress_svg__a)",children:v.jsx("path",{d:"M29.535 8.5h77.135c.495 0 1.087.367 1.581 1.27.487.89.775 2.133.775 3.455v113.55c0 1.322-.288 2.564-.775 3.455-.494.903-1.086 1.27-1.581 1.27H29.535c-.495 0-1.087-.367-1.58-1.27-.488-.891-.776-2.133-.776-3.455V13.225c0-1.322.288-2.564.775-3.455.494-.903 1.086-1.27 1.581-1.27Z",fill:"#fff",stroke:"#F0F1F5"})}),v.jsx("path",{d:"M60.887 22H37.592c-1.485 0-2.688 1.243-2.688 2.777 0 1.533 1.203 2.776 2.688 2.776h23.295c1.485 0 2.688-1.243 2.688-2.776 0-1.534-1.203-2.777-2.688-2.777Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M77.015 34.031H37.592c-1.485 0-2.688 1.243-2.688 2.777s1.203 2.777 2.688 2.777h39.423c1.485 0 2.688-1.243 2.688-2.777S78.5 34.03 77.015 34.03Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M61.682 47.586H38.387c-1.485 0-2.688 1.243-2.688 2.777 0 1.533 1.203 2.776 2.688 2.776h23.295c1.485 0 2.688-1.243 2.688-2.776 0-1.534-1.203-2.777-2.688-2.777Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M77.204 60h-39.6c-1.491 0-2.7 1.12-2.7 2.5s1.209 2.5 2.7 2.5h39.6c1.491 0 2.7-1.12 2.7-2.5s-1.209-2.5-2.7-2.5Z",fill:"#DBE3FF"}),v.jsxs("g",{filter:"url(#analysis-in-progress_svg__b)",children:[v.jsx("rect",{x:86.411,y:79.59,width:8.218,height:41.413,rx:3.175,transform:"rotate(-45.986 86.411 79.59)",fill:"#3214CD"}),v.jsx("path",{d:"m70.588 82.296-.013-.003-.014-.003c-12.679-2.624-20.809-15.023-18.179-27.656C55.017 41.98 67.34 33.776 79.99 36.512l.012.002c4.511.947 8.469 3.197 11.876 6.344 5.6 5.6 7.976 13.687 6.316 21.277-.49 2.069-1.219 4.244-2.052 6.031-2.263 4.376-5.833 7.823-10.27 10.097-4.575 2.278-9.947 3.214-15.282 2.033Z",fill:"#fff",fillOpacity:.6,stroke:"#3D51E7",strokeWidth:3.968})]}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"analysis-in-progress_svg__a",x:16.323,y:.15,width:103.559,height:144.712,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37843"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37843",result:"shape"})]}),v.jsxs("filter",{id:"analysis-in-progress_svg__b",x:39.548,y:26.15,width:91.398,height:93.763,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37843"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37843",result:"shape"})]})]})]});h.forwardRef(uZ);const dZ=(e,t)=>v.jsxs("svg",{stroke:"#242627",width:15,height:15,viewBox:"0.5 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M8 14.167A6.667 6.667 0 1 0 8 .833a6.667 6.667 0 0 0 0 13.334Z"}),v.jsx("path",{d:"m5.156 7.856 2.133 2.133 3.556-4.267",strokeLinecap:"round",strokeLinejoin:"round"})]}),fZ=h.forwardRef(dZ),pZ=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,baseProfile:"tiny",viewBox:"0 0 24 24",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.8 9.7 12 16l6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.4-.3.7s.1.5.3.7z",stroke:"none"})}),hZ=h.forwardRef(pZ),mZ=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,baseProfile:"tiny",viewBox:"0 0 24 24",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M18.2 13.3 12 7l-6.2 6.3c-.2.2-.3.5-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7z",stroke:"none"})}),gZ=h.forwardRef(mZ),vZ=(e,t)=>v.jsxs("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M1.245 1a.427.427 0 0 0-.427.496l2.093 9.685a.582.582 0 0 0 .568.485h6.666a.43.43 0 0 0 .428-.36l2.234-9.805a.426.426 0 0 0-.427-.496L1.245 1Z",stroke:"#5C5775",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M8.333 8H5.667L5 4h4l-.667 4Z",stroke:"#5C5775",strokeLinecap:"round",strokeLinejoin:"round"})]}),yZ=h.forwardRef(vZ),bZ=(e,t)=>v.jsx("svg",{width:12,height:9,fill:"none",stroke:"#fff",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M10.8 1.2 4.4 7.6 1.2 4.4",strokeLinecap:"round",strokeLinejoin:"round"})}),wZ=h.forwardRef(bZ),xZ=(e,t)=>v.jsxs("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M53.131 16.37 33.956 37.114c-.395.395-1.116.4-1.486.043L22.62 25.735l-.05-.054a4.268 4.268 0 0 0-3.22-1.25 4.3 4.3 0 0 0-3.113 1.556 4.165 4.165 0 0 0-.935 3.009 4.507 4.507 0 0 0 1.334 2.853l11.325 9.755c.197.202.306.47.306.751s-.109.55-.273.722L16.67 52.828l-.05.05a4.525 4.525 0 0 0-1.31 3.118c-.017 1.221.453 2.341 1.318 3.147.402.373.864.663 1.376.86a4.344 4.344 0 0 0 3.151-.025 4.27 4.27 0 0 0 1.444-.97l9.847-11.416c.403-.39 1.104-.39 1.473-.034l9.856 11.426.05.05a4.23 4.23 0 0 0 1.419.94c.512.21 1.053.315 1.611.315.529 0 1.049-.097 1.544-.286a4.211 4.211 0 0 0 1.372-.86c.869-.806 1.334-1.926 1.318-3.147a4.559 4.559 0 0 0-1.339-3.143l-11.312-9.742a1.07 1.07 0 0 1-.306-.752c0-.285.109-.558.28-.73l20.724-19.15a4.499 4.499 0 0 0 1.305-2.828 4.176 4.176 0 0 0-.935-3.012 4.3 4.3 0 0 0-3.114-1.557c-.067-.004-.13-.004-.197-.004a4.356 4.356 0 0 0-3.063 1.292Z",fill:"#4096D2"}),v.jsx("path",{d:"M60.432 19.656a4.176 4.176 0 0 0-.936-3.013 4.3 4.3 0 0 0-3.113-1.557c-.067-.004-.13-.004-.197-.004a4.339 4.339 0 0 0-3.06 1.288L33.953 37.115c-.395.394-1.116.398-1.486.042l-9.852-11.422-.05-.054a4.268 4.268 0 0 0-3.218-1.25 4.3 4.3 0 0 0-3.114 1.556 4.165 4.165 0 0 0-.935 3.009 4.506 4.506 0 0 0 1.334 2.853l8.652 7.452 3.285 2.828a7.109 7.109 0 0 0 9.462-.164l2.543-2.345 18.55-17.14a4.503 4.503 0 0 0 1.309-2.824Z",fill:"#F05680"})]}),SZ=h.forwardRef(xZ),EZ=(e,t)=>v.jsx("svg",{stroke:"#E2E3E9",width:15,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M14.283 6.667 12.963 8l-1.32-1.333m1.482 1A6.14 6.14 0 0 0 13.161 7c0-3.314-2.659-6-5.939-6-3.28 0-5.939 2.686-5.939 6s2.66 6 5.94 6c1.865 0 3.53-.87 4.619-2.228m-4.62-7.105V7l1.98 1.333",strokeWidth:1.167,strokeLinecap:"round",strokeLinejoin:"round"})}),_Z=h.forwardRef(EZ),CZ=(e,t)=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:800,height:800,viewBox:"0 0 32 32",ref:t,...e,children:[v.jsx("path",{d:"M26.889 24H5.111A3.061 3.061 0 0 1 2 21V11a3.061 3.061 0 0 1 3.111-3h21.778A3.061 3.061 0 0 1 30 11v10a3.061 3.061 0 0 1-3.111 3ZM5.111 10a1.02 1.02 0 0 0-1.037 1v10a1.02 1.02 0 0 0 1.037 1h21.778a1.02 1.02 0 0 0 1.037-1V11a1.02 1.02 0 0 0-1.037-1Z",style:{fill:"#2088ff"}}),v.jsx("path",{d:"M22.741 15h-2.074a1 1 0 1 1 0-2h2.074a1 1 0 1 1 0 2ZM24.815 19h-4.148a1 1 0 1 1 0-2h4.148a1 1 0 1 1 0 2ZM12.217 16a3.412 3.412 0 0 1-.256 1.369 2.661 2.661 0 0 1-.7.972l.863 1.045h-1.19l-.487-.576a3.075 3.075 0 0 1-1.057.179 2.941 2.941 0 0 1-1.444-.353 2.539 2.539 0 0 1-1.01-1.021A3.276 3.276 0 0 1 6.566 16a3.281 3.281 0 0 1 .372-1.619 2.54 2.54 0 0 1 1.01-1.019 3.138 3.138 0 0 1 2.884 0 2.545 2.545 0 0 1 1.012 1.019A3.271 3.271 0 0 1 12.217 16Zm-3.267.886h1.084l.448.554a1.7 1.7 0 0 0 .325-.6 2.718 2.718 0 0 0 .117-.84 2.109 2.109 0 0 0-.419-1.413 1.393 1.393 0 0 0-1.113-.487 1.4 1.4 0 0 0-1.114.488A2.109 2.109 0 0 0 7.86 16a2.112 2.112 0 0 0 .418 1.412 1.392 1.392 0 0 0 1.114.489 1.664 1.664 0 0 0 .33-.032ZM13.6 19v-6h1.276v4.986h2.587V19Z",style:{fill:"#2088ff"}})]});h.forwardRef(CZ);const kZ=(e,t)=>v.jsx("svg",{stroke:"#DBE3FF",width:18,height:8,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M12.75 4a3.467 3.467 0 0 1-6.933 0m6.933 0a3.467 3.467 0 0 0-6.933 0m6.933 0h4.533M5.817 4H1.283",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(kZ);const $Z=(e,t)=>v.jsx("svg",{width:89,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M49.38 49.932c2.601-.218 4.534-2.518 4.318-5.138-.217-2.62-2.5-4.566-5.102-4.348-2.6.218-4.533 2.518-4.317 5.138.216 2.62 2.5 4.566 5.101 4.348Zm5.506-.067a10.042 10.042 0 0 1-3.69 2.592l-.01.032a43.333 43.333 0 0 0 4.961 11.733 17.988 17.988 0 0 1-6.241 1.988l-.309.04-.367.029-.735.056c-.452 0-.894.042-1.366.014a18.684 18.684 0 0 1-5.468-.94 18.149 18.149 0 0 1-2.411-.972 19.28 19.28 0 0 1-3.678-2.323c-.478-.362-.853-.73-1.178-1.016a33.31 33.31 0 0 1-.965-.965s.289.404.83 1.092c.285.33.614.752 1.046 1.184.472.5.97.975 1.493 1.421a20.185 20.185 0 0 0 1.958 1.48c.766.512 1.566.97 2.395 1.369.893.435 1.815.805 2.76 1.108a20.98 20.98 0 0 0 3.015.716c.508.1 1.058.132 1.589.198l.738.044.367.022.422.007a21.05 21.05 0 0 0 3.053-.192 21.382 21.382 0 0 0 5.062-1.349c.619.848 1.27 1.673 1.95 2.475l-.094.059-.813.506-.112.07-.028.017-.007.005.143-.071-.015.008-.06.03-.247.127-.52.266-.273.14-.14.07-.07.037-.018.009-.01.004.091-.037-.036.017-.603.266-.635.281-.081.036-.01.004c.14-.05.033-.011.061-.021l-.02.01-.042.016-.168.066-.342.134a24.659 24.659 0 0 1-9.738 1.655l-.432-.016-.488-.039-.979-.079c-.607-.097-1.214-.139-1.837-.276a25.243 25.243 0 0 1-7.072-2.413 18.929 18.929 0 0 1-1.555-.868c-.508-.288-.976-.616-1.437-.93a25.948 25.948 0 0 1-4.375-3.84c-.555-.579-.973-1.14-1.343-1.585-.358-.453-.607-.834-.793-1.083l-.277-.388.238.414c.16.266.37.674.683 1.164.324.483.689 1.092 1.189 1.733.54.736 1.12 1.442 1.736 2.115a26.853 26.853 0 0 0 2.335 2.265c.443.373.894.764 1.39 1.117.483.376.996.73 1.53 1.072a27.416 27.416 0 0 0 3.434 1.903 27.668 27.668 0 0 0 3.82 1.429c.65.213 1.352.344 2.029.518l.968.179.482.088.537.078a27.624 27.624 0 0 0 11.102-.748l.354-.1.174-.048.243-.078.66-.214.627-.204.68-.264.544-.212.258-.1.063-.025.016-.006.165-.082.03-.015.119-.058.86-.42 1.074-.526a43.15 43.15 0 0 0 2.263 2.038s3.718 3.857 5.766 2.27c1.926-1.49-.292-6.165-.292-6.165a43.288 43.288 0 0 0-15.923-21.148Zm-12.971-6.338-.022-.026a42.577 42.577 0 0 0-12.43-1.761 18.29 18.29 0 0 1 1.648-6.659l.13-.284.17-.329.342-.658c.24-.385.438-.785.712-1.174a18.892 18.892 0 0 1 3.689-4.172 18.245 18.245 0 0 1 2.096-1.545 19.315 19.315 0 0 1 3.904-1.91c.56-.216 1.067-.342 1.48-.468.836-.214 1.324-.315 1.324-.315s-.493.033-1.359.13c-.429.07-.958.127-1.552.267-.671.138-1.334.313-1.987.523-.778.25-1.54.547-2.283.89-.837.381-1.647.822-2.422 1.32-.84.531-1.64 1.123-2.396 1.77a21.161 21.161 0 0 0-2.2 2.196c-.353.381-.672.833-1.009 1.252l-.428.607-.212.302-.23.357a21.407 21.407 0 0 0-1.456 2.71 21.801 21.801 0 0 0-1.596 5.295l-.012.073a42.213 42.213 0 0 0-3.065.397l.002-.539.004-.963V40.64l-.016.16.002-.017.006-.068.024-.277.051-.584.027-.307.014-.157.007-.08.002-.02v-.01l-.016.097.006-.04.094-.657.1-.69.013-.09.002-.01c-.033.147-.008.034-.015.064l.005-.022.008-.044.033-.18.068-.362a25.093 25.093 0 0 1 3.766-9.194l.242-.361.292-.396.585-.795c.403-.467.76-.963 1.206-1.423a25.414 25.414 0 0 1 5.778-4.762 19.11 19.11 0 0 1 1.554-.87c.512-.281 1.036-.506 1.545-.734.962-.419 1.948-.779 2.954-1.078a24.458 24.458 0 0 1 2.597-.624c.782-.168 1.476-.227 2.047-.307.572-.068 1.025-.079 1.332-.106l.473-.031-.473-.017c-.309-.005-.764-.04-1.342-.034-.578.02-1.285.01-2.09.097-.906.072-1.808.193-2.701.363-1.063.2-2.113.466-3.144.794-.549.182-1.117.36-1.678.596a20.09 20.09 0 0 0-1.712.74 27.415 27.415 0 0 0-3.422 1.925 27.837 27.837 0 0 0-3.228 2.506c-.523.44-1.006.972-1.51 1.458l-.663.732-.33.365-.35.419a27.99 27.99 0 0 0-2.33 3.283 28.512 28.512 0 0 0-2.922 6.597l-.104.355-.051.174-.063.25-.17.676-.16.644-.137.721-.11.577-.053.273-.013.067-.003.016-.018.185-.004.034-.013.132-.102.957-.18 1.702c-.989.27-1.971.573-2.942.915 0 0-5.198 1.224-4.903 3.809.277 2.43 5.398 2.923 5.398 2.923a42.733 42.733 0 0 0 26.2-2.85 10.178 10.178 0 0 1-.305-4.521Zm36.602-2.809a28.203 28.203 0 0 0-.642-4.053c-.134-.674-.367-1.355-.55-2.034l-.32-.938-.16-.465-.197-.51a28.075 28.075 0 0 0-6.103-9.37l-.26-.262-.128-.13-.187-.173-.51-.473-.483-.45-.564-.467-.45-.373-.213-.177-.052-.044-.013-.01-.152-.105-.028-.019-.108-.075-.787-.547-1.054-.734c.272-1.091.502-2.195.69-3.31.188-1.114 1.451-5.173-.938-6.163-2.246-.932-5.152 3.344-5.152 3.344A43.482 43.482 0 0 0 49.96 37.654c1.485.32 2.878.976 4.075 1.917l.033-.006a43.135 43.135 0 0 0 7.393-9.826 18.107 18.107 0 0 1 4.907 4.573l.186.251.205.308.41.617c.222.395.475.763.684 1.191.879 1.65 1.51 3.421 1.874 5.258.175.855.29 1.721.343 2.593a19.657 19.657 0 0 1-.2 4.367c-.08.598-.213 1.108-.3 1.533-.215.841-.36 1.32-.36 1.32s.207-.451.535-1.264c.145-.412.348-.908.51-1.5.201-.66.366-1.33.495-2.008.154-.807.26-1.624.316-2.444.068-.923.07-1.85.008-2.774a21.093 21.093 0 0 0-.398-2.966 21.342 21.342 0 0 0-.862-2.996c-.164-.495-.406-.993-.61-1.49l-.325-.67-.162-.332-.2-.373c-.494-.901-1.05-1.765-1.667-2.584a21.613 21.613 0 0 0-3.77-3.875c.437-.984.838-1.983 1.202-2.998l.165.09.837.463.116.064.03.016.007.004-.132-.091.014.01.056.037.23.154.485.326.255.171.13.087.067.045.016.01.009.006a2.015 2.015 0 0 0-.077-.06l.032.024.528.397.555.418.071.054.01.007c-.113-.099-.027-.023-.05-.043l.017.014.035.028.14.115.285.234a24.96 24.96 0 0 1 6.216 7.729l.199.387.206.447.413.897c.215.58.476 1.133.664 1.748a25.71 25.71 0 0 1 1.39 7.389c.03.606.04 1.204.013 1.79 0 .587-.053 1.159-.098 1.717a26.259 26.259 0 0 1-.473 3.128 24.899 24.899 0 0 1-.697 2.597c-.228.771-.508 1.414-.711 1.957-.215.537-.423.942-.547 1.229l-.198.433.24-.41c.152-.271.4-.656.671-1.172.258-.52.607-1.14.915-1.894a25.4 25.4 0 0 0 .976-2.563c.333-1.036.604-2.092.81-3.161.106-.572.22-1.16.283-1.769.088-.607.142-1.23.175-1.868a27.887 27.887 0 0 0-.043-3.949Z",fill:"#4DA9E1"})});h.forwardRef($Z);const TZ=(e,t)=>v.jsxs("svg",{width:37,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("rect",{x:4.826,y:4.326,width:27.347,height:27.347,rx:1.507,fill:"#3D51E7",stroke:"#000",strokeWidth:.653}),v.jsx("path",{d:"M7.112 11.416a.256.256 0 0 0 .257-.256V7.75a1.087 1.087 0 0 1 1.13-1.026h2.485a.256.256 0 1 0 0-.512H8.499A1.6 1.6 0 0 0 6.856 7.75v3.41a.256.256 0 0 0 .256.256Z",fill:"#fff"}),v.jsx("path",{d:"M18.998 13.704a3.352 3.352 0 1 0 0-6.704 3.352 3.352 0 0 0 0 6.704Z",fill:"#fff",stroke:"#000",strokeWidth:.562,strokeMiterlimit:10,strokeLinejoin:"round"}),v.jsx("path",{d:"M19.001 10.56a1.257 1.257 0 1 0 0-2.513 1.257 1.257 0 0 0 0 2.514ZM21.514 12.657a3.3 3.3 0 0 1-2.41 1.047 3.3 3.3 0 0 1-2.409-1.047c.336-.974 1.288-1.677 2.41-1.677 1.121 0 2.073.703 2.409 1.677Z",fill:"#000"}),v.jsx("path",{d:"M28.067 18.797H9.933c-.216 0-.433-.23-.433-.462v-2.077c0-.23.217-.461.433-.461h18.134c.216 0 .433.23.433.461v2.077c0 .231-.217.462-.433.462ZM28.067 23.406H9.933c-.216 0-.433-.23-.433-.461v-2.077c0-.231.217-.462.433-.462h18.134c.216 0 .433.231.433.462v2.077c0 .23-.217.461-.433.461ZM28.08 25.434h-6.16c-.21 0-.42.172-.42.517v1.898c0 .259.14.517.42.517h6.16c.21 0 .42-.172.42-.517V25.95c0-.273-.21-.517-.42-.517Z",fill:"#fff",stroke:"#000",strokeWidth:.562,strokeMiterlimit:10,strokeLinejoin:"round"}),v.jsx("path",{d:"M26.597 26.691h-3.401c-.145 0-.29.105-.29.21s.145.21.29.21h3.401c.145 0 .29-.105.29-.21 0-.157-.145-.21-.29-.21Z",fill:"#000"}),v.jsx("rect",{x:10.756,y:17.055,width:8.17,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:10.756,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:12.014,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:13.27,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:14.527,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:15.574,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:16.83,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"})]});h.forwardRef(TZ);const AZ=(e,t)=>v.jsxs("svg",{width:17,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M10.696 10.5h3.02v-8H5.664v3",stroke:"#F7F8FC",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M10.696 5.5h-8.05v8h8.05v-8Z",stroke:"#F7F8FC",strokeLinecap:"round",strokeLinejoin:"round"})]}),RZ=h.forwardRef(AZ),FZ=(e,t)=>v.jsx("svg",{width:12,height:11,stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m11 .5-10 10m10 0L1 .5",strokeLinecap:"round",strokeLinejoin:"round"})}),IZ=h.forwardRef(FZ),PZ=(e,t)=>v.jsxs("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M14.667 8.5A6.67 6.67 0 0 1 8 15.167 6.67 6.67 0 0 1 1.333 8.5 6.67 6.67 0 0 1 8 1.833 6.67 6.67 0 0 1 14.667 8.5Z",fill:"#E2E3E9"}),v.jsx("path",{d:"m5.333 5.833 5.334 5.334M10.667 5.833l-5.334 5.334",stroke:"#FBFBFF",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})]});h.forwardRef(PZ);const OZ=(e,t)=>v.jsxs("svg",{width:14,height:15,viewBox:"1 1 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M14.667 8.5A6.67 6.67 0 0 1 8 15.167 6.67 6.67 0 0 1 1.333 8.5 6.67 6.67 0 0 1 8 1.833 6.67 6.67 0 0 1 14.667 8.5Z",stroke:"#404040",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m5.333 5.833 5.334 5.334M10.667 5.833l-5.334 5.334",stroke:"#404040",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})]}),jZ=h.forwardRef(OZ),DZ=(e,t)=>v.jsx("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M1 8.5h12m-12-4h12M4.2.5h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C13 2.02 13 2.58 13 3.7v5.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C1 10.98 1 10.42 1 9.3V3.7c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C2.52.5 3.08.5 4.2.5Z",stroke:"#22212C",strokeLinecap:"round",strokeLinejoin:"round"})}),MZ=h.forwardRef(DZ),LZ=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7 1.5v12m-2.8-12h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C13 3.02 13 3.58 13 4.7v5.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C1 11.98 1 11.42 1 10.3V4.7c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C2.52 1.5 3.08 1.5 4.2 1.5Z",stroke:"#22212C",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})}),NZ=h.forwardRef(LZ),BZ=(e,t)=>v.jsx("svg",{className:"down-arrow_svg__down-arrow",width:10,height:6,stroke:"#404040",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m1 1 3.293 3.293a1 1 0 0 0 1.414 0L9 1",strokeLinecap:"round"})}),zZ=h.forwardRef(BZ),UZ=(e,t)=>v.jsx("svg",{stroke:"#fff",width:11,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.21 5.017 5.5 7.308m0 0 2.291-2.29m-2.29 2.29V1.2m4.8 6.11v3.054a.436.436 0 0 1-.437.436H1.137a.437.437 0 0 1-.437-.436V7.308",strokeLinecap:"round",strokeLinejoin:"round"})}),HZ=h.forwardRef(UZ),VZ=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{stroke:"#9BA0B5",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M3.375 11.25H.75V8.625L8.625.75l2.625 2.625-7.875 7.875ZM6.656 2.719l2.625 2.625"})})}),WZ=h.forwardRef(VZ),ZZ=(e,t)=>v.jsx("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{fill:"#3D51E7",children:v.jsx("path",{d:"M8 4.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM8 8.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM8 12.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})})}),GZ=h.forwardRef(ZZ),XZ=(e,t)=>v.jsx("svg",{viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m8 5.5 5-5m0 0H9.667M13 .5v3.333m0 4v3.334a1.334 1.334 0 0 1-1.333 1.333H2.333A1.334 1.334 0 0 1 1 11.167V1.833A1.333 1.333 0 0 1 2.333.5h3.334",stroke:"#22212C",strokeLinecap:"round",strokeLinejoin:"round"})}),qZ=h.forwardRef(XZ),KZ=(e,t)=>v.jsx("svg",{stroke:"#22212C",width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7.5.5V4H11M7.5.5 11 4M7.5.5h-6A.5.5 0 0 0 1 1v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V4M7.25 6.5 8.75 8l-1.5 1.5m-2.5-3L3.25 8l1.5 1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),YZ=h.forwardRef(KZ),QZ=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsxs("g",{stroke:"#666",strokeLinecap:"round",strokeLinejoin:"round",children:[v.jsx("path",{d:"M14.5 16.5h-9A.5.5 0 0 1 5 16V5a.5.5 0 0 1 .5-.5h6L15 8v8a.5.5 0 0 1-.5.5Z"}),v.jsx("path",{d:"M11.5 4.5V8H15"})]})}),JZ=h.forwardRef(QZ),eG=(e,t)=>v.jsxs("svg",{width:17,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M13.152 6.467v6.465a.443.443 0 0 1-.444.443h-8.87a.444.444 0 0 1-.444-.443V4.068a.443.443 0 0 1 .444-.443h6.47c.117 0 .23.047.313.13l2.401 2.4c.083.083.13.195.13.312Z",stroke:"#393649",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M5.834 13.293V9.824c0-.115.043-.225.12-.306a.394.394 0 0 1 .287-.127h4.065c.108 0 .212.045.288.127.076.08.119.191.119.306v3.469",stroke:"#393649",strokeLinecap:"round",strokeLinejoin:"round"})]}),tG=h.forwardRef(eG),nG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:6,cy:6.5,r:5.55,stroke:"#E2005E",strokeWidth:.9}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3.5a.6.6 0 0 1 .6.6v3a.6.6 0 0 1-1.2 0v-3a.6.6 0 0 1 .6-.6Zm-.564 5.56a.6.6 0 0 1 .6-.6h.008a.6.6 0 1 1 0 1.2h-.008a.6.6 0 0 1-.6-.6Z",fill:"#E2005E"})]});h.forwardRef(nG);const rG=(e,t)=>v.jsx("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M59.5 39.558c0 11.43-9.152 20.721-20.442 20.721H14.5V39.558h45Zm-20.462-4.136c11.29 0 20.462-9.252 20.462-20.702h-45v20.702h24.538Z",fill:"#1A6AFF"})}),oG=h.forwardRef(rG),iG=(e,t)=>v.jsxs("svg",{width:92,height:92,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m65.36 56.25.717.32-.717-.32c-.438.985-1.432 1.642-2.594 1.772l-2.49.28c-.861.097-1.625.514-2.203 1.093-.579.578-.996 1.341-1.093 2.203l-.28 2.496c-.13 1.159-.783 2.15-1.763 2.589-.357.16-.718.31-1.083.449-1.005.383-2.169.144-3.08-.585l-1.961-1.567c-.678-.541-1.514-.787-2.333-.787-.819 0-1.654.245-2.332.787l-1.966 1.57c-.91.726-2.07.966-3.073.586a20.58 20.58 0 0 1-1.08-.444c-.984-.438-1.64-1.431-1.771-2.593l-.28-2.487c-.096-.864-.515-1.629-1.095-2.21-.576-.576-1.335-.993-2.193-1.093l-2.519-.295c-1.151-.135-2.135-.786-2.573-1.76-.162-.361-.313-.726-.454-1.095-.383-1.005-.144-2.169.585-3.08l1.567-1.962c.541-.677.787-1.513.787-2.332 0-.82-.245-1.654-.787-2.332L27.73 43.49c-.727-.91-.967-2.074-.585-3.078.14-.365.289-.726.448-1.083.44-.981 1.431-1.636 2.59-1.766l2.496-.28c.861-.097 1.625-.514 2.203-1.093.579-.578.996-1.341 1.093-2.203l.28-2.49c.13-1.16.786-2.154 1.77-2.592a20.5 20.5 0 0 1 1.072-.44c1.003-.38 2.164-.14 3.073.586l1.966 1.57c.678.543 1.513.788 2.333.788.819 0 1.654-.245 2.331-.787l1.963-1.567c.911-.727 2.074-.967 3.078-.585.365.14.726.289 1.083.448.982.44 1.636 1.431 1.766 2.59l.28 2.496c.097.862.514 1.625 1.093 2.204.579.578 1.342.995 2.203 1.092l2.497.28c1.158.13 2.149.783 2.588 1.763.16.357.31.718.45 1.083.383 1.005.143 2.169-.585 3.08l-1.567 1.961c-.542.678-.788 1.514-.788 2.333 0 .82.246 1.654.787 2.332l1.57 1.966c.726.91.966 2.07.587 3.073a20.58 20.58 0 0 1-.444 1.08Z",fill:"#3D51E7",stroke:"#000",strokeWidth:1.569}),v.jsx("path",{d:"M30.138 58.296c-1.234-.144-2.314-.846-2.8-1.926a20.765 20.765 0 0 1-.46-1.11c-.425-1.114-.152-2.382.628-3.36l1.567-1.96c.496-.621.725-1.392.725-2.155 0-.764-.228-1.534-.724-2.155l-1.567-1.962c-.78-.977-1.053-2.244-.629-3.357.141-.37.292-.736.454-1.098.487-1.088 1.576-1.793 2.819-1.933l2.495-.28c.79-.089 1.495-.471 2.034-1.011.54-.54.922-1.245 1.011-2.034l.28-2.489c.14-1.245.847-2.335 1.938-2.82.357-.16.72-.31 1.086-.448 1.112-.421 2.377-.148 3.352.63l1.965 1.572c.621.495 1.392.724 2.156.724.763 0 1.533-.228 2.154-.724l1.962-1.567c.977-.78 2.244-1.052 3.357-.629.37.141.737.293 1.098.454 1.088.487 1.793 1.576 1.933 2.82l.28 2.494c.089.79.472 1.495 1.011 2.034.54.54 1.245.923 2.034 1.011l2.497.28c1.24.14 2.329.843 2.816 1.93.162.361.314.727.455 1.098.425 1.114.153 2.382-.628 3.359l-1.567 1.961c-.496.62-.725 1.391-.725 2.155 0 .764.229 1.534.724 2.155l1.57 1.966c.779.974 1.052 2.239.63 3.35-.139.37-.289.735-.45 1.095-.485 1.092-1.576 1.8-2.821 1.94l-2.49.279c-.79.088-1.495.471-2.034 1.01-.54.54-.922 1.246-1.011 2.035l-.28 2.496c-.14 1.241-.843 2.33-1.93 2.817-.361.162-.727.314-1.097.455-1.114.425-2.383.152-3.36-.628l-1.961-1.567c-.62-.496-1.391-.725-2.155-.725-.763 0-1.534.228-2.154.724l-1.966 1.57c-.975.778-2.24 1.051-3.352.63-.369-.14-.733-.29-1.094-.45-1.092-.485-1.8-1.576-1.939-2.822l-.28-2.486c-.088-.791-.472-1.499-1.013-2.04-.538-.538-1.24-.92-2.025-1.013l-2.52-.295Z",fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M46.465 56.37a8.582 8.582 0 1 0 0-17.164 8.582 8.582 0 0 0 0 17.164Z",fill:"#fff"}),v.jsx("path",{d:"M51.5 47.5a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z",fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M50.5 47.5a4 4 0 0 0-4-4",stroke:"#fff",strokeWidth:.727}),v.jsx("path",{d:"M40.972 76.82c-7.282-.905-12.4-3.79-17.416-9.146a31.386 31.386 0 0 1 15.43-51.937M50.315 15.288a31.171 31.171 0 0 1 3.576 61.205",stroke:"#000",strokeWidth:2,strokeLinecap:"round"}),v.jsx("path",{d:"m53.577 20.508-3.959-4.679 5.316-3.05M38.581 72.113l3.34 5.139-5.657 2.358",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m50.389 31.944 1.258-1.005c.496-.396 1.155-.546 1.748-.32.172.065.343.136.51.21.58.26.941.832 1.012 1.463l.18 1.6",stroke:"#fff"})]});h.forwardRef(iG);const aG=(e,t)=>v.jsxs("svg",{width:88,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M24.82 11.5c7.632 0 13.82 6.186 13.82 13.816 0 7.5-5.979 13.6-13.43 13.807 0 .634.027 1.833.386 2.557.499 1.004 3.487 2.873 6.418 2.873h1.053c.661-4.71 4.706-8.335 9.6-8.335 4.875 0 8.908 3.595 9.594 8.278h5.447c.687-4.683 4.72-8.278 9.594-8.278 5.356 0 9.698 4.34 9.698 9.695s-4.342 9.696-9.698 9.696c-4.874 0-8.908-3.596-9.594-8.279h-5.447c-.686 4.683-4.719 8.279-9.593 8.279-4.865 0-8.893-3.582-9.59-8.252l-1.165.035c-1.917-.015-3.942-.527-5.568-1.632-.444-.301-.88-.618-1.336-.918v.63c-.003.203-.04 3.263-.042 6.66v.72c.001 2.227.019 4.522.071 6.197.115 3.673 3.103 6.637 6.4 7.331.428.09 1.165.102 1.63.062.662-4.71 4.707-8.333 9.6-8.333 5.355 0 9.697 4.34 9.697 9.696 0 5.354-4.342 9.695-9.697 9.695-4.84 0-8.85-3.543-9.579-8.176h-.839c-6.3-.344-10.216-6.122-10.148-10.809.086-5.898.021-11.798.02-17.697v-1.95C15.782 37.612 11 32.022 11 25.315c0-7.63 6.187-13.816 13.82-13.816Zm17.848 49.443a6.862 6.862 0 1 0 0 13.723 6.862 6.862 0 1 0 0-13.723Zm0-21.891a6.862 6.862 0 1 0 0 13.722 6.862 6.862 0 1 0 0-13.722Zm24.634 0a6.862 6.862 0 1 0 0 13.722 6.862 6.862 0 1 0 0-13.722Zm3.909 3.972c.54.54.555 1.405.043 1.961l-.04.044-4.206 4.213a1.418 1.418 0 0 1-1.953.052l-.044-.043-2.059-2.026a1.417 1.417 0 0 1 1.945-2.06l.044.04 1.055 1.039 3.21-3.217a1.417 1.417 0 0 1 2.005-.003Zm-24.748-.02c.54.538.555 1.404.044 1.96l-.041.044-4.205 4.214a1.418 1.418 0 0 1-1.953.05l-.045-.041-2.058-2.027a1.417 1.417 0 0 1 1.945-2.06l.044.041 1.054 1.038 3.21-3.217a1.418 1.418 0 0 1 2.005-.002ZM24.82 14.334c-6.067 0-10.985 4.917-10.985 10.982 0 6.066 4.918 10.982 10.985 10.982 6.067 0 10.985-4.916 10.985-10.982 0-6.065-4.918-10.982-10.985-10.982Zm-1.143 4.418a191.541 191.541 0 0 1 6.84 4.309c1.884 1.242 1.879 3.496-.026 4.742a156.944 156.944 0 0 1-6.976 4.308c-1.922 1.12-4.073-.167-4.126-2.408-.033-1.445-.006-2.89-.008-4.336-.001-1.407-.029-2.813.005-4.219.058-2.384 2.252-3.626 4.29-2.396Zm-1.524 2.288v4.829c0 1.091 0 2.164.002 3.238.001.505.264.485.604.274 1.961-1.216 3.923-2.43 5.885-3.642.325-.2.334-.41.016-.61-2.102-1.325-4.207-2.645-6.507-4.09Z",fill:"#4A7EBF"}),v.jsx("path",{d:"M45.348 69.217a1.417 1.417 0 1 0 0-2.835 1.417 1.417 0 0 0 0 2.835ZM39.921 69.217a1.417 1.417 0 1 0 0-2.834 1.417 1.417 0 0 0 0 2.834ZM67.302 74.666a6.862 6.862 0 1 1 0-13.722 6.862 6.862 0 1 1 0 13.722Zm0-16.557c-4.874 0-8.908 3.596-9.594 8.279h-1.586c-.692 0-1.254.634-1.254 1.417s.562 1.417 1.254 1.417h1.586c.687 4.683 4.72 8.278 9.594 8.278 5.356 0 9.698-4.34 9.698-9.695s-4.342-9.696-9.698-9.696Z",fill:"#85B3DF"})]});h.forwardRef(aG);const sG=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m11.972 6.716-1.478-5.714a.671.671 0 0 0-.22-.352.639.639 0 0 0-1.02.29L8.139 4.014H3.86L2.746.94a.666.666 0 0 0-.25-.329.636.636 0 0 0-.77.038.671.671 0 0 0-.22.352L.028 6.716a.923.923 0 0 0 .026.539.894.894 0 0 0 .32.426l5.133 3.657a.833.833 0 0 0 .986 0l5.132-3.657a.895.895 0 0 0 .32-.426.924.924 0 0 0 .027-.539ZM6 10.608.868 6.945l1.304-5.04.986 2.71a.45.45 0 0 0 .16.209.43.43 0 0 0 .246.08h4.872a.43.43 0 0 0 .247-.08.45.45 0 0 0 .16-.21l.985-2.709 1.305 5.04L6 10.608Z",fill:"#5C5775"})}),lG=h.forwardRef(sG),cG=(e,t)=>v.jsxs("svg",{viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m74.935 37.604-.09-.23-8.711-22.733a2.269 2.269 0 0 0-2.252-1.427 2.333 2.333 0 0 0-1.31.49 2.332 2.332 0 0 0-.774 1.173l-5.881 17.995H32.1l-5.882-17.995a2.287 2.287 0 0 0-.773-1.176 2.333 2.333 0 0 0-2.666-.143 2.29 2.29 0 0 0-.896 1.08L13.155 37.36l-.086.23a16.176 16.176 0 0 0 5.365 18.695l.03.023.08.057 13.27 9.937 6.564 4.969 4 3.019a2.689 2.689 0 0 0 3.252 0l3.998-3.02 6.565-4.968 13.35-9.997.033-.027a16.183 16.183 0 0 0 5.359-18.675Z",fill:"#E24329"}),v.jsx("path",{d:"m74.935 37.601-.09-.23a29.425 29.425 0 0 0-11.714 5.265L44 57.102c6.515 4.929 12.187 9.211 12.187 9.211l13.35-9.997.032-.027a16.182 16.182 0 0 0 5.366-18.688Z",fill:"#FC6D26"}),v.jsx("path",{d:"m31.814 66.316 6.564 4.969 4 3.019a2.69 2.69 0 0 0 3.252 0l3.998-3.02 6.565-4.968S50.515 62.021 44 57.106a9410.267 9410.267 0 0 0-12.186 9.21Z",fill:"#FCA326"}),v.jsx("path",{d:"M24.865 42.638a29.388 29.388 0 0 0-11.71-5.279l-.086.23a16.176 16.176 0 0 0 5.365 18.695l.03.023.08.057 13.27 9.937L44 57.091 24.865 42.638Z",fill:"#FC6D26"})]});h.forwardRef(cG);const uG=(e,t)=>v.jsx("svg",{width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m16.672 8.563-6.25-5.68a.625.625 0 0 0-.844 0l-6.25 5.68a.648.648 0 0 0-.203.46v7.227a.625.625 0 0 0 .625.625h12.5a.625.625 0 0 0 .625-.625V9.023a.648.648 0 0 0-.203-.46v0Z",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"})}),dG=h.forwardRef(uG),fG=(e,t)=>v.jsx("svg",{width:25,height:25,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.208 3.125v4.167-4.167ZM3.125 5.208h4.167-4.167Zm3.125 12.5v4.167-4.167Zm-2.083 2.084h4.166-4.166Zm9.375-16.667 2.38 7.143 5.953 2.232-5.952 2.232-2.381 7.143-2.382-7.143L5.208 12.5l5.952-2.232 2.382-7.143Z",stroke:"#3D51E7",strokeWidth:2.083,strokeLinecap:"round",strokeLinejoin:"round"})}),pG=h.forwardRef(fG),hG=(e,t)=>v.jsxs("svg",{width:514,height:164,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:101,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:101,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:21,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:141,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:193,cy:82,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:313,cy:82,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M1 102c0-11.046 8.954-20 20-20h120c11.046 0 20 8.954 20 20s-8.954 20-20 20H21c-11.046 0-20-8.954-20-20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M101 162c-11.046 0-20-8.954-20-20V22c0-11.046 8.954-20 20-20s20 8.954 20 20v120c0 11.046-8.954 20-20 20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M7.142 115.996c-7.81-7.811-7.81-20.474 0-28.285L86.711 8.143c7.81-7.81 20.473-7.81 28.284 0 7.81 7.81 7.81 20.474 0 28.284l-79.569 79.569c-7.81 7.81-20.473 7.81-28.284 0Z",stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:453,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:453,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:373,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:493,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M353 102c0-11.046 8.954-20 20-20h120c11.046 0 20 8.954 20 20s-8.954 20-20 20H373c-11.046 0-20-8.954-20-20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M453 162c-11.046 0-20-8.954-20-20V22c0-11.046 8.954-20 20-20s20 8.954 20 20v120c0 11.046-8.954 20-20 20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M359.142 115.996c-7.81-7.811-7.81-20.474 0-28.285l79.569-79.568c7.81-7.81 20.473-7.81 28.284 0 7.81 7.81 7.81 20.474 0 28.284l-79.569 79.569c-7.81 7.81-20.473 7.81-28.284 0Z",stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:82,r:80,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:82,r:40,stroke:"#667085",strokeWidth:2}),v.jsx("path",{stroke:"#667085",strokeWidth:2,d:"M0 1h513M0 163h513"})]});h.forwardRef(hG);const mG=(e,t)=>v.jsxs("svg",{width:514,height:318,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#icon-500_svg__a)",children:[v.jsx("path",{d:"M137.699 80.105h-63.77v.91h63.77v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M92.149 71.905h-.912v8.427h.912v-8.427ZM119.934 71.905h-.911v8.427h.911v-8.427ZM115.835 34.554H52.064v.91h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M98.525 35.237h-.91v8.427h.91v-8.427ZM70.74 35.237h-.911v8.427h.91v-8.427ZM216.957 98.325h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M171.407 90.126h-.911v8.427h.911v-8.427ZM199.192 90.126h-.911v8.427h.911v-8.427ZM195.093 52.774h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M177.784 53.458h-.911v8.427h.911v-8.427ZM149.998 53.458h-.911v8.427h.911v-8.427ZM191.904 253.197h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M146.354 244.998h-.911v8.427h.911v-8.427ZM174.14 244.998h-.911v8.427h.911v-8.427ZM170.04 207.646h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M152.731 208.33h-.911v8.427h.911v-8.427ZM124.945 208.33h-.911v8.427h.911v-8.427ZM162.752 154.808h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M117.201 146.608h-.911v8.427h.911v-8.427ZM144.987 146.608h-.911v8.427h.911v-8.427ZM140.888 109.257H77.117v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M123.578 109.94h-.911v8.427h.911v-8.427ZM95.793 109.94h-.911v8.427h.91v-8.427ZM116.746 224.045h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M71.195 215.846h-.91v8.427h.91v-8.427ZM98.981 215.846h-.91v8.427h.91v-8.427ZM94.882 178.494H31.11v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M77.572 179.178h-.91v8.427h.91v-8.427ZM49.786 179.178h-.91v8.427h.91v-8.427ZM434.233 80.105h-63.77v.91h63.77v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M388.683 71.905h-.911v8.427h.911v-8.427ZM416.469 71.905h-.911v8.427h.911v-8.427ZM412.369 34.554h-63.771v.91h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M395.06 35.237h-.911v8.427h.911v-8.427ZM367.274 35.237h-.911v8.427h.911v-8.427ZM513.491 98.325H449.72v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M467.941 90.126h-.911v8.427h.911v-8.427ZM495.727 90.126h-.911v8.427h.911v-8.427ZM491.627 52.774h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M474.318 53.458h-.911v8.427h.911v-8.427ZM446.532 53.458h-.911v8.427h.911v-8.427ZM488.439 253.197h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M442.888 244.998h-.911v8.427h.911v-8.427ZM470.674 244.998h-.911v8.427h.911v-8.427ZM466.574 207.646h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M449.265 208.33h-.911v8.427h.911v-8.427ZM421.479 208.33h-.911v8.427h.911v-8.427ZM459.286 154.808h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M413.736 146.608h-.911v8.427h.911v-8.427ZM441.521 146.608h-.911v8.427h.911v-8.427ZM437.422 109.257h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M420.113 109.94h-.911v8.427h.911v-8.427ZM392.327 109.94h-.911v8.427h.911v-8.427ZM413.28 224.045h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M367.73 215.846h-.911v8.427h.911v-8.427ZM395.515 215.846h-.911v8.427h.911v-8.427ZM391.416 178.494h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M374.107 179.178h-.911v8.427h.911v-8.427ZM346.321 179.178h-.911v8.427h.911v-8.427Z",fill:"#F0F1F5"}),v.jsxs("g",{filter:"url(#icon-500_svg__b)",children:[v.jsx("path",{d:"M254.423.889h-88.596v125.719h88.596V.888Z",fill:"#393649"}),v.jsx("path",{d:"M166.327 126.108V1.388h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__c)",children:[v.jsx("path",{d:"M368.072 151.661h-88.596v125.72h88.596v-125.72Z",fill:"#393649"}),v.jsx("path",{d:"M279.976 276.881v-124.72h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__d)",children:[v.jsx("path",{d:"M368.072.889h-88.596v125.719h88.596V.888Z",fill:"#393649"}),v.jsx("path",{d:"M279.976 126.108V1.388h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__e)",children:[v.jsx("path",{d:"M254.423 151.661h-88.596v125.72h88.596v-125.72Z",fill:"#393649"}),v.jsx("path",{d:"M166.327 276.881v-124.72h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsx("path",{d:"M483 277H47v1h436v-1Z",fill:"#393649"}),v.jsx("path",{d:"M47.5 308.635V267.5h62.771v41.141a.495.495 0 0 1-.342.471c-28.394 9.187-57.365 1.38-62.11-.022a.454.454 0 0 1-.319-.455Z",fill:"#393649",stroke:"#22212C"}),v.jsx("path",{d:"M78.826 272.103c17.358 0 31.43-2.142 31.43-4.783 0-2.642-14.072-4.783-31.43-4.783-17.359 0-31.43 2.141-31.43 4.783 0 2.641 14.071 4.783 31.43 4.783Z",fill:"#22212C"}),v.jsxs("g",{filter:"url(#icon-500_svg__f)",children:[v.jsx("path",{d:"M115.361 219.48c-7.929 29.309-35.087 47.461-35.087 47.461s-14.302-29.368-6.374-58.677c7.93-29.309 35.087-47.461 35.087-47.461s14.303 29.368 6.374 58.677Z",fill:"#393649"}),v.jsx("path",{d:"M114.878 219.349c-3.935 14.545-12.647 26.34-20.396 34.508a106.201 106.201 0 0 1-10.155 9.401 80.709 80.709 0 0 1-3.165 2.442c-.274.2-.504.365-.685.493-.092-.202-.208-.46-.343-.771a81.05 81.05 0 0 1-1.503-3.705 106.236 106.236 0 0 1-4.03-13.238c-2.574-10.961-4.153-25.539-.218-40.084 3.935-14.545 12.648-26.34 20.397-34.508a106.238 106.238 0 0 1 10.154-9.401 80.732 80.732 0 0 1 3.165-2.442c.274-.2.504-.365.685-.493.092.202.208.46.344.771.372.853.897 2.107 1.502 3.705a106.136 106.136 0 0 1 4.03 13.238c2.575 10.961 4.153 25.539.218 40.084Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__g)",children:[v.jsx("path",{d:"M43.231 219.48c7.93 29.309 35.087 47.461 35.087 47.461s14.303-29.368 6.374-58.677c-7.929-29.309-35.086-47.461-35.086-47.461s-14.303 29.368-6.375 58.677Z",fill:"#3D51E7"}),v.jsx("path",{d:"M49.808 161.551c.181.128.41.293.685.493a80.697 80.697 0 0 1 3.165 2.442 106.213 106.213 0 0 1 10.155 9.401c7.749 8.168 16.462 19.963 20.396 34.508 3.935 14.545 2.357 29.123-.218 40.084a106.219 106.219 0 0 1-4.03 13.238 81.07 81.07 0 0 1-1.502 3.705c-.136.311-.252.569-.344.771a57.1 57.1 0 0 1-.685-.493 80.697 80.697 0 0 1-3.165-2.442 106.213 106.213 0 0 1-10.154-9.401c-7.75-8.168-16.462-19.963-20.397-34.508-3.934-14.545-2.356-29.123.218-40.084a106.219 106.219 0 0 1 4.03-13.238 81.07 81.07 0 0 1 1.503-3.705c.135-.311.251-.569.343-.771Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__h)",children:[v.jsx("path",{d:"M54.882 213.181c21.757 21.179 24.414 53.736 24.414 53.736s-32.617-1.781-54.373-22.96C3.166 222.778.509 190.221.509 190.221s32.617 1.781 54.373 22.96Z",fill:"#393649"}),v.jsx("path",{d:"M54.533 213.539c10.797 10.51 16.868 23.858 20.238 34.602a106.273 106.273 0 0 1 3.278 13.444 81.63 81.63 0 0 1 .594 3.953c.042.337.074.618.097.838a63.41 63.41 0 0 1-.84-.074 82.163 82.163 0 0 1-3.968-.489 106.101 106.101 0 0 1-13.527-2.915c-10.83-3.08-24.337-8.789-35.133-19.299-10.797-10.51-16.868-23.859-20.238-34.602a106.273 106.273 0 0 1-3.277-13.444 81.684 81.684 0 0 1-.595-3.953 54.075 54.075 0 0 1-.098-.838c.222.017.503.042.84.074.928.09 2.279.241 3.969.489a106.24 106.24 0 0 1 13.527 2.914c10.83 3.081 24.337 8.79 35.133 19.3Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__i)",children:[v.jsx("path",{d:"M103.71 213.181c-21.756 21.179-24.414 53.736-24.414 53.736s32.617-1.781 54.374-22.96c21.756-21.179 24.414-53.736 24.414-53.736s-32.617 1.781-54.374 22.96Z",fill:"#393649"}),v.jsx("path",{d:"M157.528 190.762c-.024.22-.056.501-.097.838-.115.924-.302 2.27-.595 3.953a106.303 106.303 0 0 1-3.278 13.444c-3.37 10.743-9.44 24.092-20.237 34.602-10.797 10.51-24.304 16.219-35.134 19.299a106.101 106.101 0 0 1-13.527 2.915c-1.69.248-3.04.399-3.968.489-.338.032-.62.056-.84.074.023-.22.055-.501.097-.838.114-.924.302-2.27.595-3.953a106.273 106.273 0 0 1 3.278-13.444c3.37-10.744 9.44-24.092 20.237-34.602 10.797-10.51 24.303-16.219 35.133-19.3a106.236 106.236 0 0 1 13.528-2.914 82.15 82.15 0 0 1 3.968-.489c.337-.032.619-.057.84-.074Z",stroke:"#22212C"})]}),v.jsx("path",{d:"M79.281 170.792c5.535 0 10.021-4.486 10.021-10.021 0-5.534-4.486-10.021-10.02-10.021-5.535 0-10.022 4.487-10.022 10.021 0 5.535 4.487 10.021 10.021 10.021Z",fill:"#3D51E7"}),v.jsx("path",{d:"M200.901 69.67a1.367 1.367 0 1 0 0-2.733 1.367 1.367 0 0 0 0 2.734ZM220.032 58.282a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM182.456 21.911a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM300.201 81.058a.456.456 0 1 0 0-.912.456.456 0 0 0 0 .912ZM295.191 217.254a.456.456 0 1 0-.001-.911.456.456 0 0 0 .001.911ZM199.079 248.683a.455.455 0 1 0 .002-.91.455.455 0 0 0-.002.91ZM333.453 97a.456.456 0 1 0 0-.91.456.456 0 0 0 0 .91ZM328.898 58.738a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM313.411 181.724a.455.455 0 1 0 .002-.91.455.455 0 0 0-.002.91ZM288.814 113.398a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM292.458 49.173a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM232.456 20.911a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM333.909 23.209a.455.455 0 1 0-.001-.911.455.455 0 0 0 .001.91ZM199.99 207.688a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM239.164 242.307a.456.456 0 1 0-.001-.911.456.456 0 0 0 .001.911ZM189.058 173.525a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM200.446 113.398a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91Z",fill:"#fff"}),v.jsx("path",{opacity:.1,d:"m200.446 113.398 53.977-23.262v6.158l-53.977 17.104ZM368.072 41.16v19.118l-88.596 28.077v-9.014l88.596-38.18ZM226.883 180.805l27.54-15.173v2.109c-15.4 7.456-27.002 12.818-27.54 13.064ZM279.786 151.661h6.946a881.102 881.102 0 0 1-7.256 3.703v-3.53l.31-.173ZM334.365 121.598c-.21 1.207-1.8 2.919-4.446 5.01h-4.651l9.097-5.01ZM368.072 203.298v3.216c-23.65 11.802-45.255 21.782-45.988 22.119l45.988-25.335Z",fill:"#fff"})]}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"icon-500_svg__b",x:154.808,y:-7.463,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__c",x:268.457,y:143.309,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__d",x:268.457,y:-7.463,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__e",x:154.808,y:143.309,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__f",x:60.487,y:152.451,width:68.287,height:128.176,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__g",x:29.818,y:152.451,width:68.287,height:128.176,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__h",x:-10.51,y:181.869,width:100.825,height:98.734,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__i",x:68.277,y:181.869,width:100.825,height:98.734,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsx("clipPath",{id:"icon-500_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.509 .889)",d:"M0 0h512.983v316.222H0z"})})]})]});h.forwardRef(mG);const gG=(e,t)=>v.jsx("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M37 14.618c-12.932 0-23.418 10.329-23.418 23.07 0 10.193 6.71 18.84 16.015 21.89 1.17.214 1.6-.5 1.6-1.11 0-.55-.022-2.367-.032-4.294-6.515 1.395-7.89-2.722-7.89-2.722-1.065-2.667-2.6-3.376-2.6-3.376-2.124-1.432.16-1.402.16-1.402 2.352.163 3.59 2.377 3.59 2.377 2.089 3.527 5.479 2.507 6.815 1.918.21-1.491.817-2.509 1.487-3.085-5.202-.583-10.67-2.562-10.67-11.401 0-2.519.915-4.577 2.413-6.192-.243-.581-1.044-2.928.227-6.105 0 0 1.967-.62 6.442 2.364 1.868-.51 3.87-.767 5.861-.776 1.99.009 3.995.265 5.867.776 4.47-2.985 6.433-2.364 6.433-2.364 1.275 3.177.473 5.524.23 6.105 1.501 1.615 2.41 3.673 2.41 6.192 0 8.86-5.478 10.812-10.693 11.383.84.716 1.588 2.12 1.588 4.272 0 3.086-.027 5.57-.027 6.33 0 .615.422 1.334 1.609 1.107 9.3-3.053 16-11.698 16-21.887 0-12.741-10.484-23.07-23.417-23.07Z",fill:"#202020"})}),vG=h.forwardRef(gG),yG=(e,t)=>v.jsx("svg",{width:14,height:15,xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.502a5.998 5.998 0 1 0 0 11.996A5.998 5.998 0 0 0 7 1.502ZM.002 7.5a6.998 6.998 0 1 1 13.996 0 6.998 6.998 0 0 1-13.996 0Zm5.956-.541a.5.5 0 0 1 .5-.5H7a.5.5 0 0 1 .5.5v3.29h.041a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V7.46h-.042a.5.5 0 0 1-.5-.5Zm1.584-2.436a.677.677 0 1 1-1.354 0 .677.677 0 0 1 1.354 0Z"})}),bG=h.forwardRef(yG),wG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:6,cy:6.5,r:5.55,stroke:"#242627",strokeWidth:.9}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3.5a.6.6 0 0 1 .6.6v3a.6.6 0 0 1-1.2 0v-3a.6.6 0 0 1 .6-.6Zm-.564 5.56a.6.6 0 0 1 .6-.6h.008a.6.6 0 0 1 0 1.2h-.008a.6.6 0 0 1-.6-.6Z",fill:"#242627"})]}),xG=h.forwardRef(wG),SG=(e,t)=>v.jsxs("svg",{width:89,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.011 42.604c0 15.256-12.091 27.624-27.005 27.624S17.003 57.86 17.003 42.604c0-15.255 12.089-27.623 27.003-27.623S71.01 27.349 71.01 42.603Z",fill:"#D33833"}),v.jsx("path",{d:"M18.1 49.446S16.148 20.64 42.689 19.818l-1.853-3.088-14.404 4.813-4.09 4.733-3.6 6.894-2.057 8.025.618 5.349",fill:"#EF3D3A"}),v.jsx("path",{d:"M25.509 23.763c-4.74 4.849-7.671 11.543-7.671 18.947s2.935 14.1 7.671 18.945c4.735 4.843 11.273 7.837 18.497 7.837 7.223 0 13.756-2.991 18.497-7.837 4.74-4.847 7.67-11.543 7.67-18.945 0-7.401-2.935-14.1-7.67-18.947-4.736-4.846-11.274-7.837-18.497-7.837-7.224 0-13.757 2.991-18.497 7.837ZM24.311 62.83c-5.037-5.15-8.148-12.267-8.148-20.116 0-7.85 3.114-14.967 8.148-20.117 5.034-5.149 12.002-8.345 19.695-8.342 7.693.002 14.661 3.193 19.695 8.342 5.034 5.15 8.15 12.267 8.15 20.117 0 7.849-3.114 14.966-8.15 20.116-5.036 5.15-12.002 8.342-19.695 8.342S29.344 67.978 24.31 62.83Z",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m55.373 42.759-4.09.618-5.559.619-3.6.103-3.498-.103-2.676-.823-2.366-2.575-1.852-5.245-.41-1.131-2.468-.823-1.444-2.366-1.047-3.395 1.131-2.984 2.676-.926 2.16 1.03 1.03 2.262 1.235-.207.41-.515-.41-2.365-.103-2.984.618-4.09-.024-2.352 1.877-2.998 3.292-2.365 5.755-2.496 6.377.927 5.558 4.011 2.575 4.09 1.646 2.984.409 7.407-1.235 6.376-2.261 5.655-2.161 2.984",fill:"#F0D6B7"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m51.874 60.555-14.711.618v2.47l1.234 8.638-.618.721-10.285-3.496-.721-1.234-1.03-11.622-2.366-6.995-.515-1.646 8.23-5.655 2.574-1.03 2.262 2.777 1.954 1.75 2.262.721 1.028.308 1.234 5.35.926 1.13 2.366-.823-1.646 3.189 8.951 4.218-1.13.618",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m27.494 24.655 2.676-.926 2.161 1.03 1.03 2.262 1.234-.207.308-1.235-.618-2.365.618-5.66-.515-3.087 1.853-2.16 4.011-3.189-1.13-1.54-5.66 2.777-2.365 1.853-1.338 2.88-2.058 2.777-.618 3.292.41 3.498",fill:"#6D6B6D"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.71 14.983s1.54-3.807 7.717-5.655c6.177-1.848.308-1.338.308-1.338l-6.69 2.575-2.574 2.575-1.13 2.057 2.364-.207m-3.08 8.944s-2.16-7.202 6.072-8.23l-.309-1.234-5.654 1.338-1.646 5.35.409 3.498 1.128-.722Z",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m31.917 33.5 1.347-1.304a.866.866 0 0 0 .71.791c.104.722.41 7.202 4.813 10.7.404.32-3.292-.514-3.292-.514l-3.292-5.145m18.62-6.484s.24-3.119 1.083-2.878c.842.24.842 1.082.842 1.082s-2.04 1.319-1.92 1.8",fill:"#F7E4CD"}),v.jsx("path",{d:"M59.387 20.121s-1.696.361-1.853 1.853c-.156 1.492 1.853.308 2.161.207m-12.734-1.956s-2.262.308-2.262 1.749 2.575 1.338 3.292.722",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.945 26.914s-3.91-2.367-4.32-.103c-.408 2.264-1.337 3.91.619 6.275l-1.338-.409-1.234-3.188-.41-3.087 2.366-2.469 2.676.207 1.54 1.234.1 1.54Zm1.855-6.482s1.75-9.052 10.597-10.828c7.284-1.44 11.11.308 12.551 1.954 0 0-6.482-7.715-12.657-5.35-6.174 2.366-10.698 6.738-10.602 9.488l.104 4.734m23.87-7.82s-2.984-.104-3.087 2.574c.01.285.08.566.204.823 0 0 2.368-2.676 3.807-1.235m-13.988 1.511s-.512-4.105-4.013-1.718c-2.262 1.54-2.058 3.706-1.646 4.091.411.385.3 1.24.613.674s.21-2.42 1.343-2.936c1.133-.515 2.984-1.09 3.706-.132",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m35.929 44.094-9.673 4.322s4.01 15.946 1.953 20.886l-1.443-.515-.104-6.07-2.666-11.5-1.13-3.188 10.105-6.79 2.984 2.88m.972 8.794 1.372 1.675v6.172h-1.646l-.204-4.812c0-.515.204-2.366.204-2.366m.306 8.102-4.63.205 1.338.926 3.292.515",fill:"#49728B"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m52.802 60.658 3.806-.103.927 9.466-3.91.515-.823-9.878Z",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m53.831 60.659 5.761-.308 2.365-6.276c0-.308 2.058-8.638 2.058-8.638l-4.63-4.837-.926-.823-2.47 2.47v9.566l-2.16 8.848",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m56.404 59.94-3.6.721.515 2.88c1.337.619 3.6-1.03 3.6-1.03m-.414-20.573 7.201 5.35.207-2.47-5.452-5.04-1.956 2.16Z",fill:"#49728B"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m40.53 80.926-2.13-8.644-1.058-6.376-.176-4.733 9.64-.513h5.998l-.546 10.828.926 8.333-.103 1.54-7.82.618-4.733-1.03",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.461 60.555s-.514 10.7 1.03 18.288c0 0-3.087 1.953-7.613 2.468l8.638-.308 1.03-.618-1.234-16.873-.308-3.602",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m57.71 69.199 4.012-1.131 7.613-.41 1.131-3.498-2.057-6.07-2.366-.309-3.291 1.03-3.16 1.54-1.677-.308-1.307.513",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.638 67.137s2.675-1.234 3.087-1.13l-1.131-5.66 1.338-.515.926 5.967 6.276.308s1.234-2.365.926-4.812l1.131 3.292.104 1.853-1.646 2.468-1.853.41-3.087-.104-1.03-1.338-3.6.515-1.13.41",fill:"#DCD9D8"}),v.jsx("path",{d:"m53.593 59.831-2.262-5.76-2.365-3.393s.515-1.444 1.234-1.444h2.366l2.261.823-.204 3.807-1.03 5.968Z",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.035 57.883s-2.88-5.559-2.88-6.377c0 0 .515-1.234 1.234-.926.72.308 2.262 1.13 2.262 1.13v-1.953l-3.498-.722-2.366.308 4.011 9.466.823.104",fill:"#DCD9D8"}),v.jsx("path",{d:"m41.45 44.3-2.849-.313-2.675-.823v.926l1.306 1.444 4.091 1.853",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.855 44.61s3.188 1.337 4.218 1.03l.103 1.234-2.88-.616-1.75-1.235.309-.409",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.698 49.589c-1.744-.048-3.32-.258-4.704-.65.096-.565-.082-1.121.06-1.53.385-.277 1.03-.272 1.612-.337-.505-.248-1.21-.344-1.79-.202-.014-.392-.192-.635-.296-.943.982-.352 3.297-2.647 4.6-1.887.622.361.886 2.43.934 3.431.041.833-.072 1.675-.416 2.118Z",fill:"#D33833"}),v.jsx("path",{d:"M57.698 49.589c-1.744-.048-3.32-.258-4.704-.65.096-.565-.082-1.121.06-1.53.385-.277 1.03-.272 1.612-.337-.505-.248-1.21-.344-1.79-.202-.014-.392-.192-.635-.296-.943.982-.352 3.297-2.647 4.6-1.887.622.361.886 2.43.934 3.431.041.833-.072 1.675-.416 2.118Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.35 46.737-.014.399c-.546.361-1.425.354-2.021.654a5.21 5.21 0 0 1 2.177.554l-.038.999c-.999.683-1.91 1.703-3.087 2.343-.554.303-2.508 1.083-3.1.946-.337-.077-.365-.493-.498-.886-.284-.842-.938-2.172-.998-3.436-.073-1.595-.234-4.266 1.484-3.939 1.421.302 2.792.803 4.072 1.49.657.36 1.034.801 2.03.878",fill:"#D33833"}),v.jsx("path",{d:"m49.35 46.737-.014.399c-.546.361-1.425.354-2.021.654a5.21 5.21 0 0 1 2.177.554l-.038.999c-.999.683-1.91 1.703-3.087 2.343-.554.303-2.508 1.083-3.1.946-.337-.077-.365-.493-.498-.886-.284-.842-.938-2.172-.998-3.436-.073-1.595-.234-4.266 1.484-3.939 1.421.302 2.792.803 4.072 1.49.657.36 1.034.801 2.03.878l-.007-.002Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.342 48.64c-.152-.867-.33-1.117-.26-1.877 2.317-1.545 2.75 2.651.26 1.876Z",fill:"#D33833"}),v.jsx("path",{d:"M50.342 48.64c-.152-.867-.33-1.117-.26-1.877 2.317-1.545 2.75 2.651.26 1.876Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.699 49.342s-.722-1.03-.207-1.337c.515-.309 1.03 0 1.337-.515.308-.515 0-.823.104-1.444.103-.621.618-.722 1.13-.823.513-.101 1.955-.308 2.162.207l-.619-1.853-1.234-.409-3.91 2.262-.207 1.13v2.263m-9.385 3.912-.4-4.812c-.24-2.395.578-1.978 2.653-1.978.317 0 1.925.378 2.069.618.56 1.146-.962.89.65 1.757 1.338.729 3.7-.443 3.16-2.065-.304-.36-1.577-.113-2.034-.349l-2.411-1.251c-1.023-.53-3.386-1.304-4.476-.563-2.762 1.877.173 6.574 1.16 8.532",fill:"#EF3D3A"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.602 16.287c-2.804-.65-4.197 1.175-5.049 3.068-.758-.183-.481-1.215-.24-1.742.48-1.381 2.526-3.217 4.177-2.97.712.109 1.674.759 1.136 1.644m13.638 3.17.133.004c.632 1.316 1.203 2.712 1.98 3.85-.537 1.247-4.055 2.351-4.002.11.76-.331 2.074-.067 2.75-.492-.39-1.071-.952-1.983-.866-3.497m-12.223.082c.601 1.102.794 2.262 1.65 3.092.385.375 1.131.833.763 1.877-.263.402-.64.716-1.083.902-1.335.395-4.451.082-3.368-1.583 1.106.048 2.589.717 3.416-.084-.635-1.01-1.763-3.02-1.347-4.202m11.718 11.202c-2.011 1.292-4.254 2.695-7.55 2.372-.706-.611-.973-1.973-.29-2.875.357.61.133 1.74 1.127 1.908 1.87.32 4.047-1.143 5.39-1.656.835-1.407-.072-1.925-.823-2.83-1.54-1.852-3.602-4.153-3.528-6.93.621-.45.674.689.766.896.803 1.877 2.825 4.283 4.3 5.895.36.397.962.777 1.025 1.04.192.762-.498 1.674-.42 2.182m-26.54-1.364c-.63-.361-.78-1.945-1.52-1.99-1.06-.065-.867 2.057-.862 3.296-.73-.662-.857-2.695-.323-3.741-.608-.299-.883.33-1.22.553.433-3.157 4.62-1.444 3.923 1.884m27.804 2.647c-.963 1.78-2.262 3.744-5.01 3.802-.055-.578-.096-1.451.002-1.798 2.101-.202 3.4-1.27 5.008-2.004ZM46.879 33.16c1.752.922 4.974 1.02 7.356.95.128.523.125 1.167.13 1.805-3.063.152-6.682-.602-7.46-2.755m-.336 1.718c1.212 3.044 5.378 2.695 8.89 2.608-.153.395-.49.862-.906 1.03-1.126.481-4.23.806-5.792-.024-.992-.53-1.627-1.718-2.17-2.416-.241-.337-1.57-1.198-.02-1.203",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m58.617 51.69-4.47 7.086c.707-2.079 1.01-5.558 1.116-8.215 1.48-.693 2.748.157 3.354 1.131",fill:"#81B0C4"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.269 60.445c-1.593.318-2.712 1.868-4.264 1.767.854-1.204 2.348-1.685 4.264-1.767Zm.702 2.493c-1.299.137-2.822.347-4.138.24.625-.952 3.024-.625 4.138-.24Zm.45 2.147c-1.458.03-3.272.002-4.658-.113.818-.881 3.713-.328 4.658.113Z",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.871 70.964c.21 1.829.939 3.689.843 5.693-.806.272-1.27.51-2.351.506l-.236-5.937c.53.037 1.316-.38 1.742-.24",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.52 43.965c-.731.481-1.357 1.075-2.06 1.588-1.559.077-2.41-.108-3.556-1.003.02-.073.135-.041.137-.128 1.67.746 3.793-.303 5.48-.457Z",fill:"#F0D6B7"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.755 55.35c.457-1.989 2.257-3.018 3.888-4.116 1.685 2.142 2.71 4.885 3.838 7.542-2.666-.804-5.39-2.108-7.724-3.43",fill:"#81B0C4"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.132 71.228c-.068 1.625.158 4.236.235 5.937 1.083.002 1.545-.236 2.351-.506.092-2.006-.635-3.862-.842-5.693-.426-.113-1.21.301-1.742.24l-.002.022Zm-16.825-9.24c.712 6.55 1.745 12.032 3.638 17.855 4.202 1.275 9.264 1.386 12.98.236-.681-3.273-.385-7.26-.782-10.756l-.559-7.948c-4.5-.938-10.859-.217-15.275.606l-.002.008Zm16.363-.565c-.039 2.815.125 5.587.341 8.405l2.816-.49c-.325-2.713-.29-5.764-.95-8.163-.77.007-1.442-.01-2.207.248Zm5.479-.452c-.513-.12-1.107-.005-1.6.005l.962 7.23c.77.024 1.179-.337 1.817-.462.033-2.112-.186-5.024-1.203-6.773h.024Zm8.296 7.58c1.608-.39 2.616-2.359 2.166-4.38-.3-1.357-.837-3.915-1.413-4.784-.423-.642-1.576-1.484-2.495-.895-1.496.958-4.131 1.237-5.221 2.395.546 1.821.717 4.321.943 6.629 1.87.115 4.168-.515 5.722.154-1.083.351-2.493.353-3.429.866.765.37 2.56.296 3.73.012l-.003.002Zm-14.938-9.77c-1.13-2.654-2.153-5.404-3.838-7.541-1.631 1.095-3.428 2.124-3.888 4.114 2.334 1.324 5.06 2.623 7.724 3.43l.002-.003Zm2.782-8.217c-.106 2.654-.41 6.136-1.117 8.215 1.685-2.15 3.05-4.652 4.471-7.087-.606-.972-1.877-1.821-3.354-1.13v.002Zm-3.128-1.122c-.64-.072-1.18.734-2.014.385l-.558.645c1.836 2.214 2.647 5.352 4.09 7.95.76-2.497.674-5.233.842-7.96-1.044.068-1.624-.945-2.358-1.022l-.002.002Zm-2.029-2.675c-.067.758.109 1.005.26 1.877 2.49.78 2.055-3.417-.26-1.877Zm-2.762-.908a15.354 15.354 0 0 0-4.071-1.489c-1.718-.33-1.557 2.344-1.485 3.939.058 1.263.715 2.599.999 3.436.134.392.163.806.498.886.592.137 2.543-.643 3.099-.946 1.179-.643 2.089-1.684 3.087-2.344l.039-.998a5.313 5.313 0 0 0-2.178-.554c.602-.3 1.477-.296 2.021-.654l.015-.4c-.996-.077-1.372-.52-2.031-.878l.007.002Zm-10.25-1.862c-.89.905 2.497 2.137 3.578 2.204-.008-.573.327-1.112.26-1.523-1.283-.226-2.968-.077-3.836-.681h-.003Zm10.972.423c-.005.09-.12.056-.137.128 1.145.895 1.997 1.083 3.556 1.003l2.06-1.588c-1.684.152-3.81 1.199-5.48.457Zm10.072 3.056c-.048-1.005-.312-3.07-.933-3.43-1.304-.761-3.622 1.534-4.6 1.886.105.308.283.553.295.943.578-.145 1.287-.048 1.79.202-.582.065-1.203.06-1.612.337-.144.409.034.962-.06 1.53 1.381.39 2.96.597 4.704.65.337-.44.457-1.283.416-2.118Zm-22.546-2.603c-.28-.2-2.173-2.661-2.406-2.56-3.424 1.347-6.625 3.681-9.486 5.895 2.729 5.852 3.826 13.025 4.024 19.936 3.128 1.46 5.87 3.568 10.106 3.787l-1.218-9.837c-1.066-.45-2.594.02-3.59-.14-.01-1.202 1.523-.529 1.65-1.332.097-.611-.842-.657-.536-1.62.78.284 1.189.91 2.021 1.143.76-1.66-.01-4.6.097-6.015.024-.26.13-1.444.714-1.237.518.183-.029 3.152.024 4.463.048 1.21-.144 2.407.344 3.143 4.098-.558 8.261-.92 12.693-1.04-.974-.418-2.134-.818-3.404-1.53-.689-.385-2.86-1.196-3.056-1.853-.318-1.041.832-1.597 1.027-2.49-2.07 1.13-2.471-1.083-2.96-2.647-.442-1.42-.697-2.478-.803-3.297-1.78-.849-3.687-1.684-5.222-2.798l-.02.029Zm20.735-2.262c2.853-1.384 3.368 5.173 2.25 7.281.173.63.77.871 1.01 1.437l-4.98 8.333c1.207-.754 2.935-.135 4.33-.722.52-.205.895-1.396 1.29-2.346 1.083-2.618 2.219-5.92 2.724-8.422.113-.57.426-1.81.356-2.317-.125-.907-1.355-1.581-1.983-2.166l-3.08-2.916c-.488.721-1.535 1.203-1.934 1.79l.017.048ZM29.046 17.309c-1.36 1.497-1.075 4.298-.91 6.293 2.455-1.545 5.718.12 5.69 2.75 1.173-.031.437-1.468.225-2.39-.693-3.017 1.17-6.294.085-9.054-2.106.159-3.834 1.02-5.087 2.401h-.003Zm9.727-8.681c-3.08.87-7.022 3.108-8.285 5.87.98-.144 1.66-.634 2.623-.721.365-.024.842.154 1.263.048.835-.207 1.54-2.081 2.173-2.78.616-.68 1.354-.971 1.86-1.592.325-.157.806-.145.823-.633-.145-.152-.29-.24-.482-.24l.025.048Zm16.018.818c-3.193-1.798-8.6-3.153-11.998-1.46-2.743 1.366-6.448 3.628-7.712 6.496 1.18 2.767-.349 5.3-.447 8.109-.053 1.492.702 2.799.76 4.427-.404.667-1.636.746-2.493.703-.289-1.439-.794-3.056-2.271-3.22-2.094-.228-3.629 1.507-3.725 3.321-.113 2.132 1.636 5.667 4.12 5.421.957-.096 1.193-1.058 2.237-1.046.566 1.13-.873 1.484-1.02 2.29-.039.21.12 1.026.212 1.408.45 1.863 1.456 4.271 2.444 5.688 1.256 1.798 3.72 2.07 6.377 2.246.474-1.02 2.219-.939 3.357-.67-1.362-.538-2.63-1.847-3.682-3.007-1.203-1.328-2.43-2.755-2.49-4.493 2.278 3.162 4.163 5.925 8.306 7.315 3.135 1.052 6.8-.48 9.209-2.175 1-.703 1.597-1.819 2.31-2.84 2.659-3.85 3.898-9.287 3.628-14.581-.113-2.183-.108-4.355-.842-5.823-.765-1.535-3.354-2.912-4.87-1.521-.282-1.492 1.26-2.416 3.07-1.877-1.29-1.665-2.647-3.667-4.48-4.702v-.01Zm5.95 49.248c2.496-1.241 7.16-3.34 8.726.005.577 1.232 1.256 3.316 1.554 4.589.424 1.795-.481 5.568-2.303 6.172-1.629.53-3.532.5-5.496.106-.23-.193-.488-.53-.669-.876-1.402-.055-2.714.072-3.82.65.105 1.034-.597 1.203-1.252 1.42-.488 1.931.975 4.456.626 6.217-.25 1.256-1.795 1.449-2.929 1.684-.036.722.048 1.28.128 1.87-.26.955-1.425 1.502-2.527 1.636-3.628.433-9.139.633-12.633-.625-.974-2.39-1.742-5.294-2.55-8.025-3.405.36-6.16-1.468-8.754-2.671-.9-.416-2.166-.65-2.479-1.362-.324-.693-.192-2.021-.271-3.272-.205-3.2-.385-6.293-1.204-9.573-.38-1.472-1.042-2.767-1.504-4.186-.425-1.314-1.171-2.936-1.366-4.25-.289-1.942 1.54-2.05 2.71-2.892 1.804-1.3 3.224-2.021 5.185-3.196.577-.349 2.329-1.203 2.526-1.636.395-.804-.678-1.937-.962-2.567-.457-.997-.69-1.844-.756-2.828-1.643-.26-2.887-1.237-3.64-2.339-1.244-1.824-2.108-5.197-1.03-7.765.084-.202.48-.601.568-.91.12-.61-.232-1.424-.253-2.073-.113-3.338.565-6.208 2.81-7.22.915-3.608 4.175-4.836 7.25-6.645 1.15-.674 2.416-1.107 3.725-1.588 4.692-1.728 11.897-1.403 15.792 1.545 1.651 1.25 4.293 3.886 5.236 5.799 2.496 5.04 2.318 13.467.573 19.6-.233.824-.577 2.034-1.049 3.023-.332.69-1.36 2.07-1.234 2.683.127.63 2.346 2.315 2.822 2.774.857.826 2.483 1.925 2.616 2.965.144 1.107-.489 2.628-.809 3.698l-3.32 10.059",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.09 33.966c.135-.18.88-.457 1.925.048 0 0-1.234.207-1.13 2.262l-.516-.103s-.53-1.867-.274-2.209",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.111 51.655a.565.565 0 1 1-1.13.002.565.565 0 0 1 1.13-.002Zm.564 2.647a.565.565 0 1 1-1.13.001.565.565 0 0 1 1.13 0Z",fill:"#1D1919"})]});h.forwardRef(SG);const EG=(e,t)=>v.jsx("svg",{width:16,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.333 0h1.334v1.333H3.333v3.334A1.333 1.333 0 0 1 2 6a1.333 1.333 0 0 1 1.333 1.333v3.334h1.334V12H3.333C2.62 11.82 2 11.4 2 10.667V8A1.333 1.333 0 0 0 .667 6.667H0V5.333h.667A1.333 1.333 0 0 0 2 4V1.333A1.333 1.333 0 0 1 3.333 0m9.334 0A1.333 1.333 0 0 1 14 1.333V4a1.334 1.334 0 0 0 1.333 1.333H16v1.334h-.667A1.333 1.333 0 0 0 14 8v2.667A1.334 1.334 0 0 1 12.667 12h-1.334v-1.333h1.334V7.333A1.333 1.333 0 0 1 14 6a1.333 1.333 0 0 1-1.333-1.333V1.333h-1.334V0h1.334ZM8 8a.667.667 0 1 1 0 1.333A.667.667 0 0 1 8 8M5.333 8a.667.667 0 1 1 0 1.333.667.667 0 0 1 0-1.333Zm5.334 0a.667.667 0 1 1 0 1.334.667.667 0 0 1 0-1.334Z",fill:"#242627"})}),_G=h.forwardRef(EG),CG=(e,t)=>v.jsx("svg",{width:6,height:10,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5 1 1.707 4.293a1 1 0 0 0 0 1.414L5 9",strokeLinecap:"round"})}),kG=h.forwardRef(CG),$G=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M10.8 6H1.2m0 0L6 10.8M1.2 6 6 1.2",stroke:"#3D51E7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef($G);const TG=(e,t)=>v.jsxs("svg",{width:17,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#lightning_svg__a)",children:v.jsx("path",{d:"m9.676 2.914-.8 3.929 3.2 1.178-5.6 5.893.8-3.929-3.2-1.178 5.6-5.893Z",fill:"#3D51E7",stroke:"url(#lightning_svg__b)",strokeWidth:.3,strokeLinecap:"round",strokeLinejoin:"round"})}),v.jsxs("defs",{children:[v.jsxs("linearGradient",{id:"lightning_svg__b",x1:.823,y1:-2.586,x2:13.521,y2:-1.874,gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{stopColor:"#7B8AFF"}),v.jsx("stop",{offset:1,stopColor:"#D2D6F3"})]}),v.jsx("clipPath",{id:"lightning_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.076 .414)",d:"M0 0h16v16H0z"})})]})]});h.forwardRef(TG);const AG=(e,t)=>v.jsx("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#3D51E7",ref:t,...e,children:v.jsx("path",{d:"M5 8.5h6M6.5 11.5H4a3 3 0 0 1 0-6h2.5M9.5 11.5H12a3 3 0 0 0 0-6H9.5",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(AG);const RG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M6 12.5a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M6 6.704a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM7.818 9.54c.55 0 .869-.608.563-1.06C7.921 7.798 7.024 7.34 6 7.34c-1.025 0-1.92.458-2.381 1.14a.678.678 0 0 0 .563 1.06h3.636Z",fill:"#CACEDE"})]});h.forwardRef(RG);const FG=(e,t)=>v.jsxs("svg",{width:13,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("rect",{x:.667,width:12,height:12,rx:1.219,fill:"#F0F1F5"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.952 12a4.286 4.286 0 0 0-8.572 0h8.572Z",fill:"#CACEDE"}),v.jsx("path",{d:"M6.667 2.536a2.25 2.25 0 0 1 2.25 2.25c0 1.218-.954 2.208-2.22 2.244h-.109a2.246 2.246 0 0 1-2.171-2.244 2.25 2.25 0 0 1 2.25-2.25Z",fill:"#CACEDE"})]});h.forwardRef(FG);const IG=(e,t)=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#131b37",viewBox:"0 0 160 170",ref:t,...e,children:v.jsxs("g",{"data-name":"logo mark black",children:[v.jsx("path",{"data-name":"Path 490",d:"M85.896 124.558c-32.451 8.953-43.967 22.134-58 28.367a95.078 95.078 0 0 0 97.149 6.9c-14.467-19.01-29.137-20.379-39.149-35.267"}),v.jsx("path",{"data-name":"Path 493",d:"M113.945 118.871c-5.7.8-10.94 1.713-15.8 2.716-.638.133-1.276.262-1.91.4q-5.015 1.1-9.976 2.429l-.5.14c10.012 14.888 24.684 16.257 39.149 35.27q3.071-1.551 6.01-3.317v-.221c-5.337-11.287-12.751-18.541-16.97-37.419",opacity:.6}),v.jsx("path",{"data-name":"Path 491",d:"M96.191 67.9a80.306 80.306 0 0 1 16.092-.344c.216 4.365 0 10.607 0 10.607s8.037-6.312 11.752 1.738c2.49 5.4-.686 13.879-10.928 20.767-.812.645-2.085 1.251-1.388 2.418s5.466-.432 9.41-1.762C136.11 96.277 160.38 86.055 160 72.584c-.127-4.444-3.314-7.9-7.519-10.541l-.192-.109c-26.211-14.809-68.477-6.691-68.477-6.691s12.675-8.57 16.528-22.6c3.237-11.782-.42-27.291-1.633-32-.159-.183-.182-.499-.32-.643C69.439 3.488 72.581 15.7 38.4 20.235c-6.248 13.631-6.848 36.888-6.891 44.4C28.717 65.707-1.35 75.148.047 91.895c1.442 14.8 34.469 16.837 34.469 16.837s-10.616-9.04-11.51-18.564c5.122 10.725 13.73 19.559 18.95 17.511s4.654-17.078 5.7-21.859 6.427-6.831 8.9-1.258c2.13 4.793 6.252 14.451 16.552 14.571a32.344 32.344 0 0 1-4.858-12.812c-1.2-11.191 6.206-15.4 11.366-16.485S96.191 67.9 96.191 67.9"}),v.jsx("path",{"data-name":"Path 492",d:"M131.202 54.677S105.609 8.45 98.327 0c1.216 4.711 5.2 20.858 1.953 32.641-3.864 14.032-16.578 22.602-16.578 22.602s24.318-4.657 47.537-.482Z",opacity:.6}),v.jsx("path",{"data-name":"Path 494",d:"M79.606 69.836c-5.175 1.083-12.6 5.293-11.4 16.484a32.286 32.286 0 0 0 4.877 12.814c.143 0 .284.007.43 0 .21 0 .416-.016.625-.026s.391-.015.593-.033c.146-.011.294-.032.442-.046a22.126 22.126 0 0 0 3.456-.652c13.573-3.669 16.8-20.879 17.49-28.977l.029-.374.031-.387.049-.745s-11.448.853-16.624 1.936",opacity:.6})]})}),PG=h.forwardRef(IG),OG=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M13 7.5H1m0 0 6 6m-6-6 6-6",stroke:"#344054",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),jG=h.forwardRef(OG),DG=(e,t)=>v.jsxs("svg",{width:136,height:145,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M68 140.835c37.113 0 67.199-31.079 67.199-69.418C135.199 33.08 105.113 2 67.999 2 30.888 2 .802 33.08.802 71.417c0 38.339 30.086 69.418 67.199 69.418Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#no-fixes-image_svg__a)",children:v.jsx("path",{d:"M29.433 8.5h77.134c.496 0 1.087.367 1.581 1.27.487.89.776 2.133.776 3.455v113.55c0 1.322-.289 2.564-.776 3.455-.494.903-1.085 1.27-1.581 1.27H29.433c-.496 0-1.087-.367-1.581-1.27-.487-.891-.776-2.133-.776-3.455V13.225c0-1.322.289-2.564.776-3.455.494-.903 1.085-1.27 1.581-1.27Z",fill:"#fff",stroke:"#F0F1F5"})}),v.jsx("path",{d:"M67.801 90c11.046 0 20-8.954 20-20s-8.954-20-20-20c-11.045 0-20 8.954-20 20s8.955 20 20 20Z",fill:"#3D51E7"}),v.jsx("path",{d:"m74.872 79.427-7.07-7.07-7.072 7.07-2.357-2.357L65.444 70l-7.07-7.072 2.356-2.357 7.071 7.071 7.071-7.07 2.357 2.356L70.16 70l7.07 7.071-2.357 2.357Z",fill:"#fff"}),v.jsx("defs",{children:v.jsxs("filter",{id:"no-fixes-image_svg__a",x:16.22,y:.15,width:103.559,height:144.712,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37926"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37926",result:"shape"})]})})]});h.forwardRef(DG);const MG=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7.5 18h5M4.39 8.625A5.617 5.617 0 0 1 10.04 3c3.093.023 5.57 2.594 5.57 5.695v.555c0 2.797.585 4.422 1.1 5.313a.624.624 0 0 1-.538.937H3.828a.625.625 0 0 1-.539-.938c.516-.89 1.102-2.515 1.102-5.312v-.625Z",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(MG);const LG=(e,t)=>v.jsx("svg",{width:13,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsxs("g",{clipPath:"url(#owner-user_svg__clip0_2899_4276)",children:[v.jsx("path",{d:"M12.114 3.948v4.104c0 .672-.36 1.296-.942 1.638l-3.564 2.058a1.898 1.898 0 0 1-1.89 0L2.154 9.69a1.89 1.89 0 0 1-.942-1.638V3.948c0-.672.36-1.296.942-1.638L5.718.252a1.898 1.898 0 0 1 1.89 0l3.564 2.058c.582.342.942.96.942 1.638Z",fill:"#CACEDE"}),v.jsx("path",{d:"M6.668 6a1.398 1.398 0 1 0 0-2.796 1.398 1.398 0 0 0 0 2.796ZM8.275 8.795c.486 0 .768-.54.498-.942-.408-.606-1.2-1.014-2.106-1.014-.906 0-1.698.408-2.106 1.014a.603.603 0 0 0 .498.942h3.216Z",fill:"#F0F1F5"})]})});h.forwardRef(LG);const NG=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M5.5 10a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM9.712 3.619c.288-.078.584-.118.882-.119a3.25 3.25 0 1 1 0 6.5",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M1 12.338a5.5 5.5 0 0 1 9 0M10.594 10a5.494 5.494 0 0 1 4.5 2.338",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"})]}),BG=h.forwardRef(NG),zG=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3 10h14M10 3v14",stroke:"#666",strokeLinecap:"round"})});h.forwardRef(zG);const UG=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#policies_svg__a)",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M2.5 7.175V3.5A.5.5 0 0 1 3 3h10a.5.5 0 0 1 .5.5v3.673c0 5.261-4.457 7.005-5.346 7.3a.471.471 0 0 1-.308 0C6.956 14.18 2.5 12.438 2.5 7.174ZM2.54 8h10.92M8 3v11.5"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"policies_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),HG=h.forwardRef(UG),VG=(e,t)=>v.jsx("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.333.5v2.667V.5ZM1 1.833h2.667H1Zm2 8V12.5 9.833Zm-1.333 1.334h2.666-2.666ZM7.667.5 9.19 5.071 13 6.5 9.19 7.929 7.668 12.5 6.143 7.929 2.333 6.5l3.81-1.429L7.667.5Z",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(VG);const WG=(e,t)=>v.jsxs("svg",{width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#projects_svg__a)",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round",children:[v.jsx("path",{d:"M17.64 17.376H2.386a.635.635 0 0 1-.636-.636V6.375h15.813a.687.687 0 0 1 .687.688v9.703a.61.61 0 0 1-.61.61Z"}),v.jsx("path",{d:"m7.643 10.403-1.768 1.473 1.768 1.473M12.357 10.403l1.768 1.473-1.768 1.473M11.178 8.633 8.82 15.116M1.75 6.374V4.312a.688.688 0 0 1 .688-.688h4.528a.679.679 0 0 1 .482.198L10 6.374"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"projects_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ZG=h.forwardRef(WG),GG=(e,t)=>v.jsx("svg",{width:11,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.227 7.145a1.527 1.527 0 1 0 0 3.055 1.527 1.527 0 0 0 0-3.055Zm0 0v-3.49m0 0a1.527 1.527 0 1 0 0-3.055 1.527 1.527 0 0 0 0 3.054Zm6.546 3.49a1.527 1.527 0 1 0 0 3.055 1.527 1.527 0 0 0 0-3.055Zm0 0V4.958a2.63 2.63 0 0 0-.77-1.855L5.938 1.036m0 0v2.182m0-2.182h2.181",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"})}),XG=h.forwardRef(GG),qG=(e,t)=>v.jsx("svg",{width:6,height:8,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.479 5.69V3.872c.695-.023 1.237-.175 1.627-.458.39-.29.584-.695.584-1.216v-.212c0-.446-.145-.792-.435-1.038C3.965.703 3.567.58 3.063.58S2.154.707 1.85.96c-.298.252-.508.59-.63 1.015L.6 1.763c.076-.253.183-.487.32-.703.138-.216.31-.402.516-.558.207-.156.447-.279.722-.368.275-.09.584-.134.928-.134.718 0 1.283.186 1.695.558.413.372.62.874.62 1.506 0 .342-.062.644-.184.904-.115.26-.275.487-.481.68a2.624 2.624 0 0 1-.722.458 3.74 3.74 0 0 1-.882.234v1.35h-.653ZM2.834 8c-.244 0-.42-.048-.527-.145a.506.506 0 0 1-.149-.38V7.32c0-.148.05-.271.149-.368.107-.104.283-.156.527-.156.237 0 .405.052.504.156.107.097.16.22.16.368v.157a.487.487 0 0 1-.16.379c-.1.097-.267.145-.504.145Z",fill:"#CACEDE"})});h.forwardRef(qG);const KG=(e,t)=>v.jsx("svg",{width:12,stroke:"#3D51E7",height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.701 3.856h-2.5m0 0V1.238m0 2.618 1.77-1.85A4.526 4.526 0 0 1 5.32.693a4.395 4.395 0 0 1 2.65.273 4.637 4.637 0 0 1 2.058 1.767c.504.79.773 1.718.773 2.668 0 .95-.269 1.877-.773 2.667A4.637 4.637 0 0 1 7.97 9.835a4.395 4.395 0 0 1-2.65.272 4.526 4.526 0 0 1-2.347-1.315",strokeLinecap:"round",strokeLinejoin:"round"})}),YG=h.forwardRef(KG),QG=(e,t)=>v.jsx("svg",{width:6,height:10,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m1 9 3.293-3.293a1 1 0 0 0 0-1.414L1 1",strokeLinecap:"round"})}),h$=h.forwardRef(QG),JG=(e,t)=>v.jsxs("svg",{width:92,height:92,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#scan_svg__a)",children:[v.jsx("rect",{x:24.834,y:24.832,width:42.053,height:42.053,rx:2.308,fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M28.504 35.859a.392.392 0 0 0 .393-.393v-5.222a1.664 1.664 0 0 1 1.732-1.571h3.805a.393.393 0 0 0 0-.785h-3.805a2.45 2.45 0 0 0-2.517 2.356v5.222a.393.393 0 0 0 .392.393Z",fill:"#fff"}),v.jsx("path",{d:"M63.25 14.375h14.375V28.75M14.375 28.75V14.375H28.75",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m40.245 42.352-4.212 3.51 4.212 3.51M51.477 42.352l4.211 3.51-4.211 3.51M48.668 38.14l-5.615 15.444",stroke:"#fff",strokeWidth:1.404,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("mask",{id:"scan_svg__b",fill:"#fff",children:v.jsx("path",{d:"M14.04 46.797h63.643v30.886H14.04V46.797Z"})}),v.jsx("path",{d:"M14.04 46.797h63.643v30.886H14.04V46.797Z",fill:"#DBE3FF",fillOpacity:.5}),v.jsx("path",{d:"M14.04 47.733h63.643V45.86H14.04v1.872Z",fill:"#000",mask:"url(#scan_svg__b)"}),v.jsx("path",{d:"M28.75 77.625H14.375V63.25M77.625 63.25v14.375H63.25",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"scan_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(14 14)",d:"M0 0h64v64H0z"})})})]});h.forwardRef(JG);const eX=(e,t)=>v.jsxs("svg",{width:37,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#scan-cli_svg__a)",children:[v.jsx("path",{d:"M23.7 31.53c-1.769.037-3.73.006-5.403-.021-.481-.008-.939-.015-1.361-.02v-.001h-.01c-1.859.07-4.473.098-6.755.043 1.989-1.398 2.758-3.631 2.898-5.203h7.685c.204 1.544.975 3.799 2.946 5.202Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.375}),v.jsx("path",{d:"M32.083 4.923v20.936c0 .538-.412.922-.875.922H2.813c-.489 0-.875-.41-.875-.922V4.923c0-.487.412-.923.875-.923h28.343c.54.026.927.436.927.923Z",fill:"#F5F9FF",stroke:"#000",strokeWidth:.618,strokeMiterlimit:10}),v.jsx("path",{d:"M31.773 4.923v17.705H2.248V4.923c0-.333.288-.614.565-.614h28.336c.38.021.624.302.624.614Z",fill:"#fff",stroke:"#000",strokeWidth:.618}),v.jsx("path",{d:"M16.96 25.525a.73.73 0 0 0 .746-.743.729.729 0 0 0-.746-.743.73.73 0 0 0-.746.743c0 .41.309.743.746.743Z",fill:"#000"}),v.jsx("path",{d:"M1.583 31.63h30.908",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M35.4 16.505c.747 0 1.338-.59 1.338-1.333s-.591-1.332-1.337-1.332-1.338.59-1.338 1.332c0 .743.592 1.333 1.338 1.333Z",fill:"#F1F3FA"}),v.jsx("path",{d:"M24.163 21.351H4.746c-.542 0-.943-.412-.943-.908V6.611c0-.496.401-.907.943-.907h19.417c.541 0 .942.411.942.907v13.825a.958.958 0 0 1-.942.915Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.618}),v.jsx("path",{d:"M3.835 8.82h21.547",stroke:"#000",strokeWidth:.618,strokeMiterlimit:10,strokeLinecap:"square",strokeLinejoin:"round"}),v.jsx("path",{d:"M5.453 7.668a.545.545 0 1 0 .001-1.09.545.545 0 0 0-.001 1.09ZM7.055 7.668a.545.545 0 1 0 .002-1.09.545.545 0 0 0-.002 1.09ZM8.693 7.668a.545.545 0 1 0 .001-1.09.545.545 0 0 0 0 1.09Z",fill:"#000"}),v.jsx("path",{d:"M8.5 10.678H5.42c-.193 0-.354-.16-.354-.288 0-.16.16-.288.353-.288H8.5c.193 0 .354.16.354.288 0 .16-.161.288-.354.288ZM7.763 15.64h-2.31c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h2.31c.193 0 .353.16.353.288-.032.128-.192.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M21.985 15.64h-5.033c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h5.033c.193 0 .353.16.353.288-.032.128-.192.288-.353.288ZM15.518 15.64H9.124c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h6.394c.193 0 .353.16.353.288-.032.128-.192.288-.353.288ZM10.588 17.274H6.672c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h3.916c.192 0 .353.16.353.288a.376.376 0 0 1-.353.289ZM14.23 17.274h-2.214c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h2.214c.192 0 .353.16.353.288a.376.376 0 0 1-.353.289Z",fill:"#CACEDE"}),v.jsx("path",{d:"M9.945 18.874H5.419c-.192 0-.353-.16-.353-.288 0-.16.16-.288.353-.288h4.526c.192 0 .353.16.353.288 0 .16-.129.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M13.138 18.874h-1.803c-.192 0-.353-.16-.353-.288 0-.16.16-.288.354-.288h1.802c.193 0 .353.16.353.288 0 .16-.128.288-.353.288Z",fill:"#E2E3E9"}),v.jsx("path",{d:"M7.442 20.54H5.516c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h1.926c.192 0 .353.16.353.288 0 .16-.129.288-.353.288ZM9.08 20.54h-.417c-.193 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h.417c.192 0 .353.16.353.288 0 .16-.16.288-.353.288ZM6.35 14.04h-.93c-.193 0-.354-.16-.354-.289 0-.16.16-.288.353-.288h.931c.193 0 .353.16.353.288 0 .16-.16.288-.353.288ZM13.117 14.04H8.102c-.193 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h5.015c.192 0 .353.16.353.288 0 .16-.16.288-.353.288ZM9.945 12.343H5.419c-.192 0-.353-.16-.353-.288 0-.16.16-.288.353-.288h4.526c.192 0 .353.16.353.288 0 .16-.129.288-.353.288Z",fill:"#CACEDE"}),v.jsx("path",{d:"M15.86 12.343h-4.524c-.193 0-.354-.16-.354-.288 0-.16.16-.288.354-.288h4.525c.192 0 .353.16.353.288 0 .16-.129.288-.353.288ZM19.095 12.343h-1.802c-.193 0-.354-.16-.354-.288 0-.16.16-.288.354-.288h1.802c.193 0 .353.16.353.288 0 .16-.128.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M33.868 19.54h-10.87a.684.684 0 0 1-.69-.687V7.32c0-.37.319-.688.69-.688H33.84c.398 0 .69.317.69.688v11.532c.026.396-.292.687-.663.687Z",fill:"#DBE3FF",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10}),v.jsx("path",{d:"M32.225 10.177H24.51a.464.464 0 0 1-.45-.45v-.872c0-.238.212-.45.45-.45h7.715c.239 0 .451.212.451.45v.873c.026.264-.186.45-.45.45ZM28.964 13.192h-4.56a.35.35 0 0 1-.344-.344v-1.084a.35.35 0 0 1 .344-.344h4.534a.35.35 0 0 1 .345.344v1.084c.026.185-.133.344-.319.344ZM32.437 13.192h-1.988a.237.237 0 0 1-.239-.238v-1.296c0-.132.106-.238.239-.238h1.988c.133 0 .239.106.239.238v1.296c.026.106-.107.238-.239.238Z",fill:"#fff"}),v.jsx("path",{d:"M24.06 15.203h8.643M24.06 16.552h8.643M24.06 17.9h4.374",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"scan-cli_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.5)",d:"M0 0h36v36H0z"})})})]});h.forwardRef(eX);const tX=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#search_svg__a)",stroke:"#9BA0B5",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10ZM10.536 10.536 14 14"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"search_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]});h.forwardRef(tX);const nX=(e,t)=>v.jsxs("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M10 14.25a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",stroke:"#fff",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M14.352 5.585c.198.183.385.37.562.563l2.133.305c.348.603.615 1.25.797 1.922L16.547 10.1s.023.531 0 .797l1.297 1.726a7.985 7.985 0 0 1-.797 1.922l-2.133.305s-.367.383-.562.563l-.305 2.132a8.062 8.062 0 0 1-1.922.797L10.4 17.046a4.532 4.532 0 0 1-.797 0l-1.727 1.297a7.986 7.986 0 0 1-1.922-.797l-.304-2.132a14.33 14.33 0 0 1-.563-.563l-2.133-.305a8.061 8.061 0 0 1-.797-1.921l1.297-1.727s-.023-.531 0-.797L2.156 8.375c.181-.673.449-1.32.797-1.922l2.133-.305c.182-.193.37-.38.563-.563l.304-2.132a8.062 8.062 0 0 1 1.922-.797l1.727 1.297c.265-.024.531-.024.797 0l1.726-1.297c.673.18 1.319.448 1.922.797l.305 2.132Z",stroke:"#fff",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})]});h.forwardRef(nX);const rX=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z",stroke:"#848AA4",strokeMiterlimit:10}),v.jsx("path",{d:"M6.231 6.231 9.77 9.77",stroke:"#848AA4",strokeLinecap:"round",strokeLinejoin:"round"})]}),oX=h.forwardRef(rX),iX=(e,t)=>v.jsxs("svg",{width:182,height:151,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M91.754 150.866c40.095 0 72.598-33.577 72.598-74.995 0-41.42-32.503-74.996-72.599-74.996-40.095 0-72.598 33.577-72.598 74.996 0 41.418 32.503 74.995 72.599 74.995Z"}),v.jsxs("g",{filter:"url(#snooze_svg__a)",children:[v.jsx("path",{d:"m22.53 117.952 18.297-84.17h101.621c.137 0 .256.091.29.224l21.8 83.571a.3.3 0 0 1-.29.375H22.531Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M40.827 33.781v-1.5h-1.209l-.257 1.182 1.466.318Zm101.911.224-1.451.38 1.451-.38Zm21.8 83.572 1.452-.379-1.452.379Zm-100.596.155 1.447-.398-1.446.398Zm-53-1.28a1.5 1.5 0 0 0 0 3v-3Zm13.054 1.819L42.293 34.1l-2.932-.637-18.296 84.171 2.931.637Zm16.831-82.99h101.621v-3H40.828v3Zm100.46-.897 21.8 83.571 2.903-.757-21.8-83.571-2.903.757Zm22.961 82.068H64.232v3h100.016v-3Zm-98.86.882-23.115-83.95-2.892.795 23.115 83.951 2.893-.796Zm-54.446 2.118H22.53v-3H10.943v3Zm11.588 0h41.702v-3H22.53v3Zm141.718 0h8.317v-3h-8.317v3Zm-100.016-3a1.2 1.2 0 0 1 1.157.882l-2.893.796a1.8 1.8 0 0 0 1.736 1.322v-3Zm98.855 1.503a1.2 1.2 0 0 1 1.161-1.503v3a1.8 1.8 0 0 0 1.742-2.254l-2.903.757Zm-20.639-82.674a1.2 1.2 0 0 1-1.161-.897l2.903-.757a1.8 1.8 0 0 0-1.742-1.346v3Z",fill:"#3D51E7"}),v.jsx("path",{d:"m40.994 40.453-4.895 75.87h25.794l-20.9-75.87Z",fill:"url(#snooze_svg__b)"})]}),v.jsx("path",{d:"M65.603 115.836 43.608 35.894l97.433-.042 20.887 79.984H65.603Z",fill:"#fff",stroke:"#fff"}),v.jsx("path",{d:"M97.947 66.44c.697 0 1.272.568 1.173 1.258a8.861 8.861 0 0 1-17.543 0c-.1-.69.475-1.259 1.173-1.259.698 0 1.25.571 1.389 1.255a6.334 6.334 0 0 0 12.419 0c.138-.684.691-1.255 1.388-1.255ZM128.989 66.44c.697 0 1.272.568 1.173 1.258a8.857 8.857 0 0 1-2.506 5.007 8.849 8.849 0 0 1-6.265 2.596 8.868 8.868 0 0 1-6.266-2.596 8.854 8.854 0 0 1-2.506-5.007c-.099-.69.476-1.259 1.173-1.259.698 0 1.251.571 1.389 1.255a6.335 6.335 0 0 0 12.419 0c.138-.684.691-1.255 1.389-1.255ZM110.13 93.308c0 3.228 2.096 5.844-1.132 5.844-3.228 0-2.015-2.616-2.015-5.844 0-3.229-2.31-5.699.918-5.699s2.229 2.47 2.229 5.699Z",fill:"#3D51E7"}),v.jsx("path",{d:"M70.916 51.547v5.039m-2.52-2.52h5.04M59.358 41.68v4.04m-2.02-2.02h4.041M64.888 21.148v7.018m-3.509-3.509h7.018M52.798 12.531v4.897m-2.449-2.448h4.898",stroke:"#3D51E7",strokeWidth:2.083,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsxs("defs",{children:[v.jsxs("linearGradient",{id:"snooze_svg__b",x1:86.925,y1:53.412,x2:18.04,y2:56.56,gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{offset:.435,stopColor:"#6C7AE5"}),v.jsx("stop",{offset:.696,stopColor:"#6C7AE5",stopOpacity:0})]}),v.jsxs("filter",{id:"snooze_svg__a",x:.442,y:27.281,width:181.123,height:105.172,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:4}),v.jsx("feGaussianBlur",{stdDeviation:4.5}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4573_55361"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4573_55361",result:"shape"})]})]})]}),aX=h.forwardRef(iX),sX=(e,t)=>v.jsxs("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M51.754 22.86H22.34c0-1.804 2.658-7.258 7.976-16.36l2.209 14.402h8.987L43.716 6.5c5.359 9.223 8.038 14.677 8.038 16.36Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 68.5 17 54.767V22.715s7.395-2.674 20.027-2.674C49.659 20.041 57 22.715 57 22.715v32.052L37.001 68.5Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 66.57 18.278 53.768V24.002s7.002-2.484 18.723-2.484V66.57Z",fill:"#DBDBDB"}),v.jsx("path",{d:"M37.027 21.518H37v45.014l18.56-12.765V24.002s-6.813-2.484-18.534-2.484Z",fill:"#C6C6C6"}),v.jsx("path",{d:"m47.133 59.566-1.58-13.445h-8.677v20.48l.125.115a261.895 261.895 0 0 0 10.132-7.15Z",fill:"#3B3B63"}),v.jsx("path",{d:"M26.876 59.672 37 66.717l.005-21.005h-8.769l-1.361 13.96Z",fill:"#53537A"}),v.jsx("path",{d:"M41.334 55.692c0 2.31-2.236 3.455-4.288 3.455s-4.334-1.145-4.334-3.455",fill:"#BC9375"}),v.jsx("path",{d:"M37.023 56.887c-1.647 0-2.448-1.166-2.448-3.562h.785c0 2.805 1.123 2.805 1.663 2.805s1.663 0 1.663-2.805h.785c0 2.396-.8 3.562-2.448 3.562Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 53.91c.507 1.285 1.487 1.928 2.94 1.928 1.421 0 2.905-.722 3.581-2.506.944-2.496.935-5.97.935-5.97s4.194-5.063 4.194-6.775h-11.65V53.91Z",fill:"#C49A7E"}),v.jsx("path",{d:"M25.183 40.587c0 1.983 4.158 6.776 4.158 6.776s-.01 3.472.935 5.969c.674 1.782 2.16 2.505 3.582 2.505 1.452 0 2.5-.642 3.143-1.928V40.588H25.183Z",fill:"#D8B7A0"}),v.jsx("path",{d:"M48.15 29.187c-3.233-3.197-4.042-9.863-4.042-9.863-.603 2.1-1.916 8.294-1.916 8.294s-2.548-.795-5.294-.8c-.09 0-.09 8.345 0 25.034l2.614-1.821.486-8.84 2.783 3.061 3.585 1.01s1.341-.922 1.341-.918c.57-.77.758-1.425.896-1.765.498-1.236-.62-10.696-.62-10.696-.397-.8.167-2.696.167-2.696Z",fill:"#3B3B63"}),v.jsx("path",{d:"M31.879 27.617s-1.313-6.193-1.916-8.294c0 0-.808 6.666-4.042 9.863 0 0 .564 1.896.167 2.697 0 0-1.118 9.46-.62 10.694.137.34.328.996.897 1.765 0-.004 1.342.919 1.342.919l3.584-1.01 2.782-3.062.487 8.84 2.444 1.773v-25.03c-2.755.004-5.125.845-5.125.845Z",fill:"#53537A"}),v.jsx("path",{d:"M45.888 13.146c.536.964 5.148 9.877 5.148 12.963l-2.045 5.373c.346 3.031 1.034 9.618.514 10.905-.32.795-1.543 2.433-2.59 3.759l1.43 12.584-1.932 1.342-1.075-9.195c-.148.933-.37 1.93-.708 2.825-.448 1.184-1.24 2.081-2.252 2.613-.059 2.839-2.774 4.37-5.332 4.37-2.58 0-5.317-1.53-5.378-4.368-1.014-.533-1.806-1.43-2.255-2.615-.325-.86-.544-1.813-.692-2.715l-1.028 9.254-1.944-1.364 1.404-12.693c-1.054-1.331-2.3-2.993-2.624-3.798-.52-1.287.141-7.873.488-10.905l-2.167-5.56v-.182c0-3.086 4.732-11.63 5.27-12.593l1.533-2.707c.933 6.271 1.4 9.41 1.398 9.415l.755 5.082.993 1.574c.954-.31 2.574-.742 4.214-.742 1.642 0 3.273.433 4.23.743l.993-1.575 2.15-14.497 1.502 2.707Zm-8.842 45.521c1.132 0 2.745-.493 3.147-1.802-.043.001-.085.005-.128.005-.22 0-.426-.02-.626-.046-.584.783-1.494 1.02-2.416 1.02-.92 0-1.828-.24-2.411-1.022-.201.028-.41.048-.632.048-.042 0-.083-.004-.124-.005.406 1.309 2.04 1.802 3.19 1.802Zm-1.326-2.15c.351.253.785.394 1.304.394.516 0 .948-.142 1.299-.395a4.24 4.24 0 0 1-.756-.418c-.202.058-.395.056-.544.056-.15 0-.345 0-.549-.057-.222.157-.475.3-.754.42Zm8.045-9.763c1.392-1.665 3.486-4.347 3.79-5.098.228-.773-.162-5.896-.659-10.19l-.027-.238.41-1.067c-1.353-1.39-2.297-3.296-2.943-5.096l-.083.566-2.137 3.384-.835-.342c-.02-.009-2.199-.888-4.267-.888-2.08 0-4.224.878-4.245.887l-.836.346-2.14-3.387-.063-.433c-.652 1.782-1.597 3.654-2.944 5.014l.392 1.017-.027.238c-.497 4.293-.887 9.416-.65 10.209.295.732 2.39 3.414 3.78 5.078l.232.278-.001.356c0 .034.004 3.328.871 5.62.63 1.663 2.027 1.841 2.6 1.841 1.438 0 2.046-1.272 2.071-1.326.337-.64.506-1.69.506-3.15h.87c0 1.174.181 2.226.544 3.157.022.046.646 1.322 2.091 1.322.571 0 1.969-.18 2.598-1.842.87-2.3.871-5.588.871-5.62v-.357l.231-.279Z",fill:"#333152"}),v.jsx("path",{d:"M43.528 37.8H39.34v.043c0 1.41 1.265 2.55 2.748 2.55 1.484 0 2.749-1.141 2.749-2.55V37.8h-1.309Z",fill:"#333152"}),v.jsx("path",{d:"M40.387 37.8v.043c0 .838.7 1.517 1.57 1.517.871 0 1.571-.679 1.571-1.517V37.8h-3.141Z",fill:"#fff"}),v.jsx("path",{d:"M41.706 37.8c-.007 0-.013.004-.02.005.092.018.142.218.123.35a.416.416 0 0 1-.415.348c.06.265.285.478.583.518.38.052.732-.2.786-.566.04-.27-.096-.655-.32-.655h-.737ZM33.418 37.8H29.23v.043c0 1.41 1.265 2.55 2.748 2.55 1.484 0 2.75-1.141 2.75-2.55V37.8h-1.31Z",fill:"#333152"}),v.jsx("path",{d:"M30.277 37.8v.043c0 .838.701 1.517 1.57 1.517.871 0 1.571-.679 1.571-1.517V37.8h-3.14Z",fill:"#fff"}),v.jsx("path",{d:"M32.333 37.8h-.737c-.006 0-.013.004-.02.005.092.018.142.218.123.35a.416.416 0 0 1-.415.348c.06.265.285.478.583.518.38.052.733-.2.786-.566.04-.27-.095-.655-.32-.655Z",fill:"#333152"}),v.jsx("path",{d:"M43.212 36.597c.176-.185 1.669-1.817-.328-1.817-1.804 0-3.102 1.402-3.446 1.817h3.774Z",fill:"#C49A7E"}),v.jsx("path",{d:"M34.6 36.597c-.344-.415-1.642-1.817-3.447-1.817-1.996 0-.503 1.632-.328 1.817H34.6ZM25.001 25.575c.119-1.6 1.848-5.437 3.497-8.67l.44 2.956c-.168 1.105-.934 5.44-2.99 8.172l-.947-2.458Z",fill:"#D8B7A0"}),v.jsx("path",{d:"m45.143 19.631.405-2.725c1.65 3.232 3.38 7.069 3.498 8.67l-.925 2.399c-2.22-3.008-2.917-7.897-2.978-8.344Z",fill:"#C49A7E"}),v.jsx("path",{d:"M35.483 52.168c-.774-.566-1.569-1.28-1.569-1.829 0-.36.66-1.469.66-1.469h4.914s.644.984.644 1.47c0 .51-.802 1.204-1.602 1.77-.273-.451-.62-.53-.78-.174-.082.185-.098.45-.058.728-.436.272-.754.446-.754.446s-.246-.138-.598-.36c.057-.309.046-.61-.045-.814-.162-.36-.515-.275-.79.193a1.806 1.806 0 0 0-.022.039Z",fill:"#333152"})]}),lX=h.forwardRef(sX),cX=(e,t)=>v.jsxs("svg",{width:84,height:84,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m61.762 14.605-40.265.16a.79.79 0 0 0-.786.792l.216 54.516a.789.789 0 0 0 .792.786l40.266-.16a.789.789 0 0 0 .785-.791l-.216-54.517a.789.789 0 0 0-.792-.786Z",fill:"#DBE3FF",stroke:"#000",strokeWidth:1.419}),v.jsx("path",{d:"M49.696 30.343a.617.617 0 0 1 .234-1.189l6.92-.03a.616.616 0 1 1 .008 1.233l-6.926.028a.618.618 0 0 1-.236-.042ZM26.344 40.778a.616.616 0 0 1 .226-1.185l30.326-.124a.616.616 0 0 1 .001 1.23l-30.318.121a.618.618 0 0 1-.235-.042ZM44.643 47.676a.616.616 0 0 1 .229-1.19l12.051-.046a.616.616 0 1 1 .008 1.232l-12.052.046a.616.616 0 0 1-.236-.042ZM26.359 47.798a.617.617 0 0 1 .234-1.188l7.379-.032a.618.618 0 1 1 0 1.237l-7.377.026a.617.617 0 0 1-.236-.043ZM25.58 55.607a.616.616 0 0 1 .228-1.191l18.678-.075a.618.618 0 0 1 0 1.236l-18.648.081a.665.665 0 0 1-.259-.051Z",fill:"#A3B8FF"}),v.jsx("path",{d:"m28.308 13.845 16.244-.408a.76.76 0 0 1 .779.74l.437 17.428a.76.76 0 0 1-.74.778l-16.245.408a.76.76 0 0 1-.778-.74l-.438-17.428a.76.76 0 0 1 .74-.778Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.946}),v.jsx("path",{d:"M33.46 19.694a1.442 1.442 0 0 1-.913-1.313l-.062-2.019a.301.301 0 0 1 .299-.311.308.308 0 0 1 .317.3l.056 2.018a.857.857 0 0 0 .263.584.84.84 0 0 0 .6.243l.149-.007a.649.649 0 0 0 .633-.661l-.132-5.172a.671.671 0 0 0-.686-.656l-.256.009a.71.71 0 0 0-.694.73l.002.127a.304.304 0 0 1-.299.312.303.303 0 0 1-.32-.295l.032-.127a1.331 1.331 0 0 1 1.296-1.365l.256-.01a1.294 1.294 0 0 1 1.292 1.247l.132 5.172a1.264 1.264 0 0 1-1.235 1.296l-.15.006c-.198.004-.396-.033-.58-.108Z",fill:"#000"}),v.jsx("path",{d:"M44.192 16.5a1.307 1.307 0 1 1-2.407 1.02 1.307 1.307 0 0 1 2.407-1.02Z",fill:"#fff"}),v.jsx("path",{d:"m38.293 21.773-2.396 6.59M39.492 23.576l1.797 1.497-1.797 1.498M34.7 23.576l-1.798 1.497 1.797 1.498",stroke:"#fff",strokeWidth:.813,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M59.45 25.546a.386.386 0 0 1-.386-.386v-5.136a1.637 1.637 0 0 0-1.703-1.544H53.62a.386.386 0 1 1 0-.773h3.741a2.41 2.41 0 0 1 2.475 2.317v5.136a.386.386 0 0 1-.386.386Z",fill:"#fff"})]});h.forwardRef(cX);const uX=(e,t)=>v.jsx("svg",{className:"spinner_svg__spinner",viewBox:"0 0 50 50",strokeWidth:5,ref:t,...e,children:v.jsx("circle",{className:"spinner_svg__path",cx:25,cy:25,r:20,fill:"none"})}),dX=h.forwardRef(uX),fX=(e,t)=>v.jsx("svg",{width:11,height:11,fill:"none",stroke:"#848AA4",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.281.781v9m-2.1-9h4.2c.84 0 1.26 0 1.581.164a1.5 1.5 0 0 1 .656.655c.163.321.163.741.163 1.581v4.2c0 .84 0 1.26-.163 1.581a1.5 1.5 0 0 1-.656.656c-.32.163-.74.163-1.58.163h-4.2c-.84 0-1.26 0-1.582-.163a1.5 1.5 0 0 1-.655-.656C.78 8.642.78 8.222.78 7.382v-4.2c0-.84 0-1.26.164-1.582A1.5 1.5 0 0 1 1.6.945C1.921.78 2.341.78 3.181.78Z",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})}),pX=h.forwardRef(fX),hX=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M13 2.833H1m4.364 3.5V11m3.272-4.667V11m3.273-8.167v11.084a.604.604 0 0 1-.16.412.528.528 0 0 1-.385.171H2.636a.528.528 0 0 1-.385-.17.604.604 0 0 1-.16-.413V2.833m7.636 0V1.667c0-.31-.115-.607-.32-.825A1.056 1.056 0 0 0 8.638.5H5.363c-.29 0-.567.123-.772.342-.204.219-.32.515-.32.825v1.166",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round"})}),mX=h.forwardRef(hX),gX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 10.999c0 .553.449 1.001 1.002 1.001h8.33c.554 0 1.002-.448 1.002-1.001V2.668a1.001 1.001 0 0 0-2.003 0V8.58L1.71.293A1.001 1.001 0 0 0 .293 1.71l8.288 8.287H2.668c-.553 0-1.002.448-1.002 1.002Z",fill:"#28CA9E"})});h.forwardRef(gX);const vX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 1.001C1.666.448 2.115 0 2.668 0h8.33C11.553 0 12 .448 12 1.001v8.331a1.001 1.001 0 0 1-2.003 0V3.42L1.71 11.707A1.001 1.001 0 1 1 .293 10.29l8.288-8.287H2.668A1.001 1.001 0 0 1 1.666 1Z",fill:"#28CA9E"})});h.forwardRef(vX);const yX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 10.999c0 .553.449 1.001 1.002 1.001h8.33c.554 0 1.002-.448 1.002-1.001V2.668a1.001 1.001 0 0 0-2.003 0V8.58L1.71.293A1.001 1.001 0 0 0 .293 1.71l8.288 8.287H2.668c-.553 0-1.002.448-1.002 1.002Z",fill:"#E2005E"})});h.forwardRef(yX);const bX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 1.001C1.666.448 2.115 0 2.668 0h8.33C11.553 0 12 .448 12 1.001v8.331a1.001 1.001 0 0 1-2.003 0V3.42L1.71 11.707A1.001 1.001 0 1 1 .293 10.29l8.288-8.287H2.668A1.001 1.001 0 0 1 1.666 1Z",fill:"#E2005E"})});h.forwardRef(bX);const wX=(e,t)=>v.jsx("svg",{width:10,height:6,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M9 5 5.707 1.707a1 1 0 0 0-1.414 0L1 5",strokeLinecap:"round"})}),xX=h.forwardRef(wX),SX=(e,t)=>v.jsxs("svg",{viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M-575-1360c0-1.1.895-2 2-2h27040c1.1 0 2 .9 2 2v8892c0 1.1-.9 2-2 2H-573c-1.104 0-2-.9-2-2v-8892Z",fill:"transparent"}),v.jsxs("g",{clipPath:"url(#upload_svg__clip0_2535_135364)",children:[v.jsx("path",{fill:"transparent",d:"M-507-280H859v768H-507z"}),v.jsx("g",{opacity:.9,filter:"url(#upload_svg__a)"}),v.jsxs("g",{filter:"url(#upload_svg__b)",children:[v.jsx("path",{d:"m81.143 45.545-17.911-17.17a.486.486 0 0 0-.688.015L39.297 52.64a.486.486 0 0 0 .015.688l17.91 17.17c.194.186.502.18.688-.015l23.247-24.25a.486.486 0 0 0-.014-.688Z",fill:"#fff"}),v.jsx("path",{d:"M62.28 69.151a1.044 1.044 0 0 1-.78-.093L39.751 57.106a1.06 1.06 0 0 1-.416-1.434l16.182-29.44a1.056 1.056 0 0 1 1.434-.416l21.743 11.949a1.056 1.056 0 0 1 .42 1.433L62.933 68.642a1.056 1.056 0 0 1-.65.508l-.004.001ZM40.38 56.167l21.6 11.87 16.1-29.294-21.605-11.887L40.38 56.167Z",fill:"#0D0420"}),v.jsx("path",{d:"M73.456 40.173a.38.38 0 0 1-.281-.035l-8.184-4.493a.381.381 0 0 1-.175-.528.379.379 0 0 1 .54-.136l8.187 4.492a.38.38 0 0 1 .139.517.379.379 0 0 1-.226.183Z",fill:"#3D51E7"}),v.jsx("path",{d:"M71.334 45.345a.38.38 0 0 1-.28-.035l-16.372-8.983a.382.382 0 0 1 .367-.669l16.368 8.985a.38.38 0 0 1 .138.517.38.38 0 0 1-.221.185ZM68.276 50.91a.38.38 0 0 1-.284-.034l-16.368-8.984a.38.38 0 1 1 .365-.665l16.37 8.984a.38.38 0 0 1 .14.517.38.38 0 0 1-.223.182ZM63.93 59.453a.38.38 0 0 1-.263-.106L50.18 46.432a.38.38 0 1 1 .54-.535L64.205 58.81a.38.38 0 0 1 0 .536.38.38 0 0 1-.277.106ZM59.533 64.036a.38.38 0 0 1-.262-.102L45.783 51a.38.38 0 1 1 .524-.547l13.488 12.915a.38.38 0 0 1-.262.653v.015Z",fill:"#0D0420"}),v.jsx("path",{d:"m33.833 16.611-22.969 9.383a.486.486 0 0 0-.266.634l12.704 31.099a.486.486 0 0 0 .634.266l22.968-9.383a.486.486 0 0 0 .267-.634L34.467 16.877a.486.486 0 0 0-.634-.266Z",fill:"#fff"}),v.jsx("path",{d:"M23.752 58.595a1.057 1.057 0 0 1-.976-.657L10.07 26.84a1.06 1.06 0 0 1 .578-1.379l22.969-9.382a1.052 1.052 0 0 1 1.375.577l12.706 31.102a1.056 1.056 0 0 1-.578 1.375l-22.969 9.382c-.126.053-.262.08-.399.08ZM11.157 26.487l12.64 30.942 22.814-9.322L33.97 17.166l-22.813 9.322Z",fill:"#0D0420"}),v.jsx("path",{d:"M30.578 28.41a.38.38 0 0 1-.14-.733l3.946-1.614a.38.38 0 1 1 .289.703l-3.95 1.614a.379.379 0 0 1-.145.03ZM19.635 39.74a.38.38 0 0 1-.144-.729l17.298-7.068a.38.38 0 0 1 .285.702L19.78 39.71a.38.38 0 0 1-.145.03Z",fill:"#0D0420"}),v.jsx("path",{d:"M31.691 39.483a.38.38 0 0 1-.144-.733l6.875-2.807a.38.38 0 1 1 .289.702l-6.875 2.807a.379.379 0 0 1-.145.03ZM21.268 43.745a.38.38 0 0 1-.14-.733l4.208-1.72a.38.38 0 1 1 .285.706l-4.209 1.717a.38.38 0 0 1-.144.03Z",fill:"#5C2AC6"}),v.jsx("path",{d:"M22.628 48.407a.38.38 0 0 1-.144-.733l10.654-4.353a.38.38 0 1 1 .285.706l-10.635 4.35a.41.41 0 0 1-.16.03Z",fill:"#0D0420"}),v.jsx("path",{d:"m23.767 20.033-9.187 3.981a.76.76 0 0 0-.395 1l4.271 9.856a.76.76 0 0 0 1 .395l9.186-3.982a.76.76 0 0 0 .395-.999l-4.27-9.856a.76.76 0 0 0-1-.395Z",fill:"#3D51E7"}),v.jsx("path",{d:"M19.152 35.712a1.14 1.14 0 0 1-1.048-.688l-4.27-9.852a1.139 1.139 0 0 1 .593-1.52l9.188-3.962a1.14 1.14 0 0 1 1.52.593l4.25 9.853a1.14 1.14 0 0 1 0 .874 1.14 1.14 0 0 1-.608.627l-9.173 3.98a1.179 1.179 0 0 1-.452.095Zm4.915-15.357a.437.437 0 0 0-.152.03l-9.184 3.981a.38.38 0 0 0-.202.21.38.38 0 0 0 0 .292l4.273 9.853a.38.38 0 0 0 .356.234c.05 0 .1-.01.146-.029l9.184-3.985a.38.38 0 0 0 .202-.212.38.38 0 0 0 0-.289l-4.266-9.853a.38.38 0 0 0-.357-.232Z",fill:"#0D0420"}),v.jsx("path",{d:"M18.845 26.07a.89.89 0 0 1-.825-.54l-.501-1.14a.185.185 0 0 1 .038-.205.186.186 0 0 1 .06-.041.19.19 0 0 1 .251.098l.498 1.14a.528.528 0 0 0 .684.273l.083-.038a.397.397 0 0 0 .21-.524l-1.27-2.925a.414.414 0 0 0-.543-.216l-.144.064a.436.436 0 0 0-.228.578l.03.072a.185.185 0 0 1-.037.206.189.189 0 0 1-.061.04.186.186 0 0 1-.251-.094l-.011-.08a.82.82 0 0 1 .425-1.079l.144-.064a.798.798 0 0 1 1.026.414l1.269 2.924a.778.778 0 0 1-.407 1.026l-.084.038a.909.909 0 0 1-.357.072Z",fill:"#0D0420"}),v.jsx("path",{d:"M24.23 21.754a.805.805 0 1 1-1.14 1.138.805.805 0 0 1 1.14-1.138Z",fill:"#fff"}),v.jsx("path",{d:"m62.123 22.475-24.531-3.723a.486.486 0 0 0-.554.407l-5.04 33.213a.486.486 0 0 0 .407.554l24.53 3.723a.486.486 0 0 0 .554-.408l5.041-33.213a.486.486 0 0 0-.407-.553Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M57.015 57.224h-.16l-24.534-3.722a1.058 1.058 0 0 1-.885-1.205l5.04-33.224a1.056 1.056 0 0 1 1.2-.886l24.535 3.723a1.056 1.056 0 0 1 .885 1.2l-5.04 33.218a1.057 1.057 0 0 1-1.041.896Zm-24.44-4.828 24.367 3.696 5.014-33.046-24.367-3.719-5.013 33.07Z",fill:"#0D0420"}),v.jsx("path",{d:"M45.468 24.671h-.057l-4.71-.714a.38.38 0 0 1-.323-.426.38.38 0 0 1 .433-.319l4.714.7a.38.38 0 1 1-.057.759ZM57.695 31.63h-.057l-5.408-.821a.384.384 0 0 1 .113-.76l5.41.82a.381.381 0 0 1-.058.76ZM48.458 30.229H48.4l-9.238-1.405a.384.384 0 1 1 .114-.76l9.238 1.401a.381.381 0 0 1-.057.76v.004ZM48.79 36.71h-.056l-10.522-1.596a.38.38 0 1 1 .114-.752l10.522 1.595a.381.381 0 1 1-.057.76v-.008Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M55.846 43.826h-.057l-18.475-2.822a.384.384 0 1 1 .117-.76l18.472 2.803a.38.38 0 0 1-.057.76v.019Z",fill:"#CFC7D4"}),v.jsx("path",{d:"M46.808 48.876h-.06L36.361 47.3a.38.38 0 0 1-.167-.68.38.38 0 0 1 .281-.069l10.385 1.577a.38.38 0 1 1-.053.76v-.012Z",fill:"#fff"}),v.jsx("path",{d:"m61.364 31.575-11.016.023a3.726 3.726 0 0 0-3.707 3.723v2.19l-27.907.057a5.698 5.698 0 0 0-5.664 5.697l.069 26.495a5.698 5.698 0 0 0 5.697 5.663l40.678-.084a5.698 5.698 0 0 0 5.663-5.697l-.053-25.944v-.543l-.023-7.865a3.727 3.727 0 0 0-3.737-3.715Z",fill:"#3D51E7"}),v.jsx("path",{d:"M18.813 75.982a6.252 6.252 0 0 1-6.244-6.218l-.057-26.486a6.248 6.248 0 0 1 6.233-6.256l27.349-.061v-1.62a4.3 4.3 0 0 1 4.277-4.293l11.015-.023a4.288 4.288 0 0 1 4.281 4.277l.08 34.352a6.252 6.252 0 0 1-6.233 6.26l-40.678.084-.023-.016ZM61.356 32.15l-11.016.023a3.156 3.156 0 0 0-3.137 3.152v2.19a.57.57 0 0 1-.57.57l-27.907.061a5.109 5.109 0 0 0-5.075 5.117l.057 26.501a5.11 5.11 0 0 0 5.105 5.094l40.678-.084a5.113 5.113 0 0 0 5.094-5.116l-.08-34.356a3.145 3.145 0 0 0-3.142-3.137l-.007-.015Z",fill:"#0D0420"}),v.jsx("path",{d:"M61.559 69.864a1.856 1.856 0 1 1-3.713.009 1.856 1.856 0 0 1 3.713-.009ZM62.854 41.594a.38.38 0 0 1-.38-.38v-5.052a1.61 1.61 0 0 0-1.675-1.52h-3.68a.38.38 0 0 1 0-.76h3.68a2.37 2.37 0 0 1 2.435 2.28v5.052a.38.38 0 0 1-.38.38ZM35.684 53.49a.95.95 0 0 1-.665-1.625l4.463-4.388 4.391 4.392a.95.95 0 1 1-1.34 1.344l-3.062-3.061-3.122 3.065a.946.946 0 0 1-.665.273Z",fill:"#fff"}),v.jsx("path",{d:"M39.444 59.373a.95.95 0 0 1-.95-.95v-9.61a.95.95 0 0 1 1.9 0v9.61a.95.95 0 0 1-.95.95Z",fill:"#fff"}),v.jsx("path",{d:"M46.433 63.931H32.34a2.047 2.047 0 0 1-2.043-2.04v-5.12a.95.95 0 1 1 1.9 0v5.12a.144.144 0 0 0 .143.14h14.093a.254.254 0 0 0 .254-.25v-5.01a.95.95 0 0 1 1.9 0v5.01a2.154 2.154 0 0 1-2.154 2.15Z",fill:"#fff"})]})]}),v.jsx("path",{d:"M-573-1361h27040v-2H-573v2Zm27041 1v8892h2v-8892h-2Zm-1 8893H-573v2h27040v-2Zm-27041-1v-8892h-2v8892h2Zm1 1c-.552 0-1-.45-1-1h-2c0 1.66 1.344 3 3 3v-2Zm27041-1c0 .55-.4 1-1 1v2c1.7 0 3-1.34 3-3h-2Zm-1-8893c.6 0 1 .45 1 1h2c0-1.66-1.3-3-3-3v2Zm-27040-2c-1.657 0-3 1.34-3 3h2c0-.55.448-1 1-1v-2Z",fill:"#000",fillOpacity:.1}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"upload_svg__a",x:-548,y:-297,width:1492,height:866,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:50}),v.jsx("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_2535_135364"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2}),v.jsx("feGaussianBlur",{stdDeviation:12.5}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.121569 0 0 0 0 0.160784 0 0 0 0 0.352941 0 0 0 0.15 0"}),v.jsx("feBlend",{in2:"effect1_backgroundBlur_2535_135364",result:"effect2_dropShadow_2535_135364"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_2535_135364",result:"shape"})]}),v.jsxs("filter",{id:"upload_svg__b",x:-24,y:-22,width:824,height:140,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2}),v.jsx("feGaussianBlur",{stdDeviation:6}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.121569 0 0 0 0 0.160784 0 0 0 0 0.415686 0 0 0 0.1 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2535_135364"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2535_135364",result:"shape"})]})]})]});h.forwardRef(SX);const EX=(e,t)=>v.jsx("svg",{width:21,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{stroke:"#BDBDBD",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M10.5 11.5v-7M16 11.5V15a.5.5 0 0 1-.5.5h-10A.5.5 0 0 1 5 15v-3.5M8 7l2.5-2.5L13 7"})})}),_X=h.forwardRef(EX),CX=(e,t)=>v.jsxs("svg",{width:80,height:80,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#upload-disabled_svg__a)",children:[v.jsx("path",{d:"M69 66.5H11A4.5 4.5 0 0 1 6.5 62V16a4.5 4.5 0 0 1 4.5-4.5h23a4.5 4.5 0 0 1 4.5 4.5v.578a7.5 7.5 0 0 0 7.5 7.5h23a4.5 4.5 0 0 1 4.5 4.5V62a4.5 4.5 0 0 1-4.5 4.5Z",stroke:"#949494",strokeWidth:3}),v.jsx("path",{d:"M38.5 55a1.5 1.5 0 0 0 3 0h-3Zm2.56-21.06a1.5 1.5 0 0 0-2.12 0l-9.547 9.545a1.5 1.5 0 1 0 2.122 2.122L40 37.12l8.485 8.486a1.5 1.5 0 1 0 2.122-2.122L41.06 33.94ZM41.5 55V35h-3v20h3Z",fill:"#949494"}),v.jsx("path",{d:"M78 2 2 78",stroke:"#949494",strokeWidth:3,strokeLinecap:"round"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"upload-disabled_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h80v80H0z"})})})]});h.forwardRef(CX);const kX=(e,t)=>v.jsxs("svg",{width:80,height:80,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M69 66.5H11A4.5 4.5 0 0 1 6.5 62V16a4.5 4.5 0 0 1 4.5-4.5h23a4.5 4.5 0 0 1 4.5 4.5v.578a7.5 7.5 0 0 0 7.5 7.5h23a4.5 4.5 0 0 1 4.5 4.5V62a4.5 4.5 0 0 1-4.5 4.5Z",stroke:"#3D51E7",strokeWidth:3}),v.jsx("path",{d:"M38.5 55a1.5 1.5 0 0 0 3 0h-3Zm2.56-21.06a1.5 1.5 0 0 0-2.12 0l-9.547 9.545a1.5 1.5 0 1 0 2.122 2.122L40 37.12l8.485 8.486a1.5 1.5 0 1 0 2.122-2.122L41.06 33.94ZM41.5 55V35h-3v20h3Z",fill:"#3D51E7"})]});h.forwardRef(kX);const $X=(e,t)=>v.jsxs("svg",{width:80,height:94,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M79.2 60.228 59.263 41.185a.543.543 0 0 0-.765.016L32.62 68.098a.538.538 0 0 0 .016.762l19.938 19.043a.543.543 0 0 0 .765-.016l25.877-26.896a.538.538 0 0 0-.016-.763Z",fill:"#fff"}),v.jsx("path",{d:"M52.944 88.685a1.165 1.165 0 0 1-.812-.325l-19.94-19.046a1.173 1.173 0 0 1-.034-1.656l25.88-26.895a1.178 1.178 0 0 1 1.662-.033l19.936 19.042a1.169 1.169 0 0 1 .038 1.655l-25.88 26.9a1.174 1.174 0 0 1-.846.358h-.005ZM33.139 68.488l19.804 18.916 25.75-26.76-19.805-18.937-25.75 26.781Z",fill:"#242627"}),v.jsx("path",{d:"M73.31 60.843a.424.424 0 0 1-.29-.119l-7.506-7.161a.422.422 0 1 1 .584-.607l7.509 7.162a.42.42 0 0 1 0 .594.423.423 0 0 1-.296.13Z",fill:"#3D51E7"}),v.jsx("path",{d:"M69.54 65.78a.424.424 0 0 1-.292-.119L54.233 51.337a.422.422 0 0 1 .285-.728.425.425 0 0 1 .303.118l15.01 14.323a.42.42 0 0 1 0 .594.424.424 0 0 1-.292.135ZM64.647 70.864a.424.424 0 0 1-.296-.118l-15.01-14.323a.42.42 0 0 1 .444-.709c.053.024.1.059.14.102L64.939 70.14a.421.421 0 0 1 0 .594.424.424 0 0 1-.292.13ZM60.038 75.65a.424.424 0 0 1-.291-.117L44.732 61.209a.42.42 0 0 1 .463-.686.422.422 0 0 1 .138.092l15.014 14.324a.421.421 0 0 1 0 .594.423.423 0 0 1-.309.118ZM55.146 80.735a.424.424 0 0 1-.291-.114L39.84 66.277a.422.422 0 1 1 .584-.607l15.014 14.324a.42.42 0 0 1-.292.724v.017Z",fill:"#242627"}),v.jsx("path",{d:"M26.537 28.136.97 38.542a.539.539 0 0 0-.297.703l14.142 34.492a.542.542 0 0 0 .705.295l25.568-10.406a.539.539 0 0 0 .296-.703L27.244 28.43a.542.542 0 0 0-.707-.295Z",fill:"#fff"}),v.jsx("path",{d:"M15.317 74.702a1.178 1.178 0 0 1-1.087-.728L.087 39.483a1.171 1.171 0 0 1 .643-1.53l25.568-10.405a1.175 1.175 0 0 1 1.53.64l14.143 34.495a1.168 1.168 0 0 1-.642 1.525L15.76 74.614c-.14.058-.292.088-.444.088ZM1.297 39.091l14.07 34.318 25.395-10.338-14.071-34.319L1.296 39.091Z",fill:"#242627"}),v.jsx("path",{d:"M22.915 41.224a.424.424 0 0 1-.386-.588.422.422 0 0 1 .23-.226l4.392-1.79a.424.424 0 0 1 .554.232.42.42 0 0 1-.232.547l-4.397 1.79a.425.425 0 0 1-.161.035ZM10.733 53.79a.424.424 0 0 1-.41-.34.42.42 0 0 1 .25-.469l19.255-7.84a.424.424 0 0 1 .526.241.42.42 0 0 1-.209.538l-19.251 7.836a.425.425 0 0 1-.16.034ZM14.065 63.404a.424.424 0 0 1-.392-.585.423.423 0 0 1 .231-.228l11.86-4.828a.426.426 0 0 1 .552.234.421.421 0 0 1-.234.55l-11.84 4.823a.458.458 0 0 1-.177.034Z",fill:"#242627"}),v.jsx("path",{d:"M15.334 31.935 5.107 36.35a.841.841 0 0 0-.44 1.109L9.422 48.39a.847.847 0 0 0 1.112.438l10.227-4.415a.842.842 0 0 0 .44-1.108l-4.755-10.932a.847.847 0 0 0-1.113-.438Z",fill:"#3D51E7"}),v.jsx("path",{d:"M10.196 49.324a1.27 1.27 0 0 1-1.167-.763L4.276 37.633a1.26 1.26 0 0 1 .66-1.685l10.228-4.394a1.273 1.273 0 0 1 1.691.657l4.732 10.929a1.26 1.26 0 0 1 0 .968 1.264 1.264 0 0 1-.677.696l-10.211 4.415c-.16.068-.33.103-.503.105Zm5.471-17.033a.483.483 0 0 0-.17.034L5.275 36.74a.422.422 0 0 0-.224.232.42.42 0 0 0 0 .324l4.757 10.928a.421.421 0 0 0 .232.228.425.425 0 0 0 .326 0l10.224-4.42a.423.423 0 0 0 .224-.235.42.42 0 0 0 0-.32l-4.748-10.929a.422.422 0 0 0-.398-.257Z",fill:"#242627"}),v.jsx("path",{d:"M9.854 38.628a.992.992 0 0 1-.918-.599l-.558-1.263a.206.206 0 0 1 .11-.274.21.21 0 0 1 .28.11l.553 1.263a.587.587 0 0 0 .317.303.577.577 0 0 0 .444 0l.093-.042a.445.445 0 0 0 .269-.412.442.442 0 0 0-.036-.169l-1.413-3.244a.46.46 0 0 0-.604-.24l-.16.072a.486.486 0 0 0-.255.64l.034.08a.206.206 0 0 1-.11.274.207.207 0 0 1-.279-.105l-.012-.089a.907.907 0 0 1 .473-1.196l.16-.072a.891.891 0 0 1 1.142.46l1.413 3.243a.86.86 0 0 1-.453 1.137l-.093.043c-.125.053-.26.08-.397.08Z",fill:"#242627"}),v.jsx("path",{d:"M15.849 33.842a.892.892 0 0 1-.634 1.524.898.898 0 0 1-.828-.55.89.89 0 0 1 .484-1.168.898.898 0 0 1 .978.194ZM50.224.678 24.801 11.43a.539.539 0 0 0-.287.707l14.611 34.297a.542.542 0 0 0 .71.286l25.423-10.752a.538.538 0 0 0 .287-.707L50.934.964a.542.542 0 0 0-.71-.286Z",fill:"#fff"}),v.jsx("path",{d:"M39.62 47.395a1.168 1.168 0 0 1-1.066-.716L23.927 12.382a1.167 1.167 0 0 1 .621-1.534L49.976.092a1.18 1.18 0 0 1 1.539.62l14.613 34.301a1.152 1.152 0 0 1 0 .893 1.172 1.172 0 0 1-.63.64L40.082 47.303c-.147.06-.303.09-.461.093ZM25.13 11.973l14.542 34.124 25.25-10.684L50.383 1.29 25.13 11.973Z",fill:"#242627"}),v.jsx("path",{d:"M46.775 13.814a.424.424 0 0 1-.428-.335.42.42 0 0 1 .259-.478l4.372-1.85a.427.427 0 0 1 .558.224.422.422 0 0 1-.224.556l-4.38 1.85a.464.464 0 0 1-.157.033ZM34.763 26.541a.423.423 0 0 1-.374-.617.422.422 0 0 1 .209-.192l19.145-8.097a.424.424 0 0 1 .54.23.42.42 0 0 1-.21.545l-19.145 8.102a.373.373 0 0 1-.165.03Z",fill:"#242627"}),v.jsx("path",{d:"M48.2 26.078a.424.424 0 0 1-.425-.415.423.423 0 0 1 .26-.394l7.61-3.219a.424.424 0 0 1 .54.23.42.42 0 0 1-.21.546l-7.61 3.218a.387.387 0 0 1-.166.034ZM36.644 30.96a.424.424 0 0 1-.425-.338.42.42 0 0 1 .26-.475l4.65-1.967a.426.426 0 0 1 .474.078.42.42 0 0 1-.144.697l-4.65 1.972a.462.462 0 0 1-.165.033Z",fill:"#3D51E7"}),v.jsx("path",{d:"M38.225 36.112a.424.424 0 0 1-.422-.333.42.42 0 0 1 .248-.476l11.801-4.97a.422.422 0 1 1 .33.774l-11.793 4.971a.46.46 0 0 1-.164.034Z",fill:"#242627"}),v.jsx("path",{d:"m58.028 34.64-27.306-4.128a.541.541 0 0 0-.617.452L24.495 67.8a.54.54 0 0 0 .453.614l27.306 4.129a.54.54 0 0 0 .616-.452l5.611-36.837a.54.54 0 0 0-.453-.614Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M52.344 73.182h-.178l-27.31-4.129a1.176 1.176 0 0 1-.965-.879 1.168 1.168 0 0 1-.02-.456l5.61-36.85a1.17 1.17 0 0 1 1.337-.982l27.31 4.129a1.168 1.168 0 0 1 .985 1.331l-5.61 36.842a1.17 1.17 0 0 1-1.16.994ZM25.14 67.827l27.123 4.1 5.582-36.653L30.72 31.15 25.14 67.827Z",fill:"#242627"}),v.jsx("path",{d:"M39.49 37.073h-.064l-5.243-.792a.423.423 0 0 1-.36-.472.421.421 0 0 1 .483-.353l5.247.775a.425.425 0 0 1 .391.453.422.422 0 0 1-.454.39ZM53.1 44.795h-.064l-6.02-.91a.428.428 0 0 1-.36-.485.426.426 0 0 1 .486-.358l6.021.91a.425.425 0 0 1 .347.612.423.423 0 0 1-.41.23ZM42.817 43.24h-.063L32.47 41.682a.428.428 0 0 1-.36-.485.425.425 0 0 1 .486-.358l10.283 1.555a.426.426 0 0 1 .371.289.42.42 0 0 1-.27.533.423.423 0 0 1-.164.02v.005ZM43.19 50.424h-.064l-11.712-1.77a.423.423 0 0 1-.188-.756.422.422 0 0 1 .315-.078l11.712 1.77a.425.425 0 0 1 .39.453.422.422 0 0 1-.454.39v-.01Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M40.983 63.922h-.068l-11.56-1.748a.423.423 0 0 1-.355-.48.421.421 0 0 1 .482-.35l11.56 1.748a.425.425 0 0 1 .393.45.422.422 0 0 1-.452.393v-.013Z",fill:"#fff"}),v.jsx("path",{d:"m57.185 44.736-12.262.025a4.156 4.156 0 0 0-2.918 1.216 4.125 4.125 0 0 0-1.208 2.913v2.43l-31.065.062a6.354 6.354 0 0 0-4.46 1.864 6.308 6.308 0 0 0-1.844 4.456l.076 29.384a6.308 6.308 0 0 0 1.87 4.444 6.354 6.354 0 0 0 4.472 1.838l45.28-.093a6.354 6.354 0 0 0 4.46-1.864 6.308 6.308 0 0 0 1.844-4.455l-.059-28.774v-.603l-.025-8.723a4.12 4.12 0 0 0-1.224-2.919 4.15 4.15 0 0 0-2.937-1.201Z",fill:"#3D51E7"}),v.jsx("path",{d:"M9.82 93.983a6.973 6.973 0 0 1-4.902-2.02 6.922 6.922 0 0 1-2.049-4.876L2.806 57.71a6.917 6.917 0 0 1 2.028-4.9 6.968 6.968 0 0 1 4.91-2.038l30.443-.068v-1.797a4.76 4.76 0 0 1 1.396-3.358 4.795 4.795 0 0 1 3.365-1.403l12.262-.025a4.782 4.782 0 0 1 3.365 1.392 4.748 4.748 0 0 1 1.4 3.352l.089 38.1a6.922 6.922 0 0 1-2.028 4.9 6.972 6.972 0 0 1-4.91 2.042L9.846 94l-.026-.017Zm47.356-48.615-12.262.025a3.52 3.52 0 0 0-2.469 1.032 3.495 3.495 0 0 0-1.023 2.465v2.43a.63.63 0 0 1-.634.631l-31.065.068a5.697 5.697 0 0 0-4 1.676 5.656 5.656 0 0 0-1.649 3.998l.064 29.394a5.656 5.656 0 0 0 1.67 3.994 5.697 5.697 0 0 0 4.012 1.655l45.28-.093a5.701 5.701 0 0 0 4.012-1.67 5.66 5.66 0 0 0 1.658-4.004l-.089-38.104a3.482 3.482 0 0 0-1.026-2.46 3.507 3.507 0 0 0-2.47-1.02l-.009-.017Z",fill:"#242627"}),v.jsx("path",{d:"M57.4 87.2a2.055 2.055 0 0 1-1.273 1.907 2.075 2.075 0 0 1-2.254-.444 2.057 2.057 0 0 1 1.46-3.519c.548 0 1.073.217 1.46.602.388.386.607.909.608 1.454ZM58.842 55.846a.424.424 0 0 1-.423-.422v-5.603a1.784 1.784 0 0 0-.586-1.223 1.797 1.797 0 0 0-1.279-.462h-4.097a.424.424 0 0 1-.423-.421.42.42 0 0 1 .423-.422h4.097c.695-.019 1.37.236 1.877.71.507.472.807 1.126.833 1.818v5.603a.42.42 0 0 1-.422.422ZM28.598 69.04a1.059 1.059 0 0 1-.976-.656 1.05 1.05 0 0 1 .236-1.148l4.968-4.866 4.888 4.87a1.053 1.053 0 0 1 .015 1.503 1.059 1.059 0 0 1-1.508-.011l-3.408-3.396-3.475 3.4a1.055 1.055 0 0 1-.74.303Z",fill:"#fff"}),v.jsx("path",{d:"M32.784 75.564a1.059 1.059 0 0 1-1.057-1.053V63.853a1.051 1.051 0 0 1 1.057-1.054 1.06 1.06 0 0 1 1.057 1.053v10.66a1.052 1.052 0 0 1-1.057 1.052Z",fill:"#fff"}),v.jsx("path",{d:"M40.563 80.624H24.876a2.283 2.283 0 0 1-1.605-.663 2.266 2.266 0 0 1-.67-1.599v-5.679a1.051 1.051 0 0 1 1.058-1.053 1.059 1.059 0 0 1 1.057 1.053v5.68a.16.16 0 0 0 .16.155h15.687a.283.283 0 0 0 .283-.278v-5.557a1.051 1.051 0 0 1 1.057-1.053 1.059 1.059 0 0 1 1.057 1.053v5.557a2.384 2.384 0 0 1-.703 1.686 2.402 2.402 0 0 1-1.694.698Z",fill:"#fff"})]});h.forwardRef($X);const TX=(e,t)=>v.jsxs("svg",{width:144,height:155,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M72 149.722c39.488 0 71.5-33.069 71.5-73.861S111.488 2 72 2 .5 35.069.5 75.86c0 40.793 32.012 73.862 71.5 73.862Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#upload-report_svg__a)",children:v.jsx("path",{d:"M30.965 8.916h82.071c.527 0 1.157.39 1.682 1.351.519.948.825 2.27.825 3.676v120.819c0 1.406-.306 2.728-.825 3.676-.525.961-1.155 1.351-1.682 1.351H30.964c-.527 0-1.156-.39-1.682-1.351-.518-.948-.825-2.27-.825-3.676V13.943c0-1.406.307-2.728.825-3.675.526-.962 1.155-1.352 1.683-1.352Z",fill:"#fff",stroke:"#F0F1F5",strokeWidth:1.064})}),v.jsx("path",{d:"M64.323 23.28H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 36.083H39.536c-1.58 0-2.86 1.323-2.86 2.954 0 1.632 1.28 2.955 2.86 2.955h41.947c1.58 0 2.86-1.323 2.86-2.955 0-1.631-1.28-2.954-2.86-2.954Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M64.323 50.504H39.536c-1.58 0-2.86 1.322-2.86 2.954 0 1.632 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.322 2.86-2.954 0-1.632-1.28-2.954-2.86-2.954Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 63.306H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h41.947c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M64.323 77.727H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 90.53H39.536c-1.58 0-2.86 1.322-2.86 2.954 0 1.632 1.28 2.955 2.86 2.955h41.947c1.58 0 2.86-1.323 2.86-2.955 0-1.632-1.28-2.954-2.86-2.954Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M91.992 138.406c-.417 1.775-1.044 3.654-1.775 5.22-1.983 3.864-5.115 6.891-8.979 8.875-3.967 1.984-8.666 2.819-13.364 1.775-11.067-2.297-18.167-13.155-15.87-24.223 2.297-11.067 13.051-18.271 24.118-15.87 3.968.835 7.413 2.819 10.337 5.534 4.907 4.907 6.995 12.007 5.533 18.689Z",fill:"#3D51E7"}),v.jsx("path",{d:"M78.524 132.455h-4.698v-4.699c0-.94-.731-1.775-1.775-1.775a1.76 1.76 0 0 0-1.775 1.775v4.699h-4.699c-.94 0-1.775.73-1.775 1.775 0 1.044.731 1.774 1.775 1.774h4.699v4.699c0 .94.73 1.775 1.775 1.775.94 0 1.775-.731 1.775-1.775v-4.699h4.698c.94 0 1.775-.73 1.775-1.774 0-1.045-.835-1.775-1.775-1.775Z",fill:"#A3B8FF"}),v.jsx("defs",{children:v.jsxs("filter",{id:"upload-report_svg__a",x:16.906,y:.032,width:110.188,height:153.975,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2918_46412"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2918_46412",result:"shape"})]})})]});h.forwardRef(TX);const AX=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 1024 1024",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z",stroke:"none"})});h.forwardRef(AX);const RX=(e,t)=>v.jsx("svg",{stroke:"#fff",width:11,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M1 7h9M1 4h9M3.4 1h4.2c.84 0 1.26 0 1.581.163a1.5 1.5 0 0 1 .656.656c.163.32.163.74.163 1.581v4.2c0 .84 0 1.26-.163 1.581a1.5 1.5 0 0 1-.656.656C8.861 10 8.441 10 7.6 10H3.4c-.84 0-1.26 0-1.581-.163a1.5 1.5 0 0 1-.656-.656C1 8.861 1 8.441 1 7.6V3.4c0-.84 0-1.26.163-1.581a1.5 1.5 0 0 1 .656-.656C2.139 1 2.559 1 3.4 1Z",strokeLinecap:"round",strokeLinejoin:"round"})}),FX=h.forwardRef(RX),xn=e=>({"& svg":{stroke:e,"path, circle":{stroke:e}}}),IX=e=>({"& svg":{fill:e,"path, circle":{fill:e}}}),m$=H("div",{display:"flex",justifyContent:"center",alignItems:"center",...xn("$neutral900"),variants:{primary:{true:{...xn("$white")}},green:{true:{...xn("$green800")}},secondary:{true:{...xn("$blue500")}},disabled:{true:{pointerEvents:"none",...xn("$neutral300")}},warning:{true:{...xn("$red400")}},semiwarning:{true:{...xn("$grayscale900")}},disabledPrimary:{true:{...xn("$neutral400")}},grey:{true:{...xn("$white200")}},green200:{true:{...xn("$green200")}},orange200:{true:{...xn("$orange200")}},blue300:{true:{...xn("$blue300")}},blue500:{true:{...xn("$blue500")}},neutral100:{true:{...xn("$neutral100")}},neutral400:{true:{...xn("$neutral400")}}}}),PX=H(m$),OX=H("div",{display:"flex",justifyContent:"center",alignItems:"center","& svg":{stroke:"$none","path, circle":{fill:"$neutral900"}},variants:{primary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$white"}}}},green:{true:{"& svg":{stroke:"none","path, circle":{fill:"$green800"}}}},secondary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$blue500"}}}},disabled:{true:{pointerEvents:"none","& svg":{stroke:"none","path, circle":{fill:"$neutral300"}}}},warning:{true:{"& svg":{stroke:"none","path, circle":{fill:"$red400"}}}},semiwarning:{true:{"& svg":{stroke:"none","path, circle":{fill:"$grayscale900"}}}},disabledPrimary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$neutral400"}}}},grey:{true:{"& svg":{stroke:"none","path, circle":{fill:"$white200"}}}},green200:{true:{"& svg":{stroke:"none","path, circle":{fill:"$green200"}}}},blue300:{true:{...IX("$blue300")}},orange200:{true:{"& svg":{stroke:"none","path, circle":{fill:"$orange200"}}}}}}),Ye=({component:e,defaultCss:t={}})=>{const n=h.forwardRef((r,o)=>v.jsx(PX,{css:t,...r,children:v.jsx(e,{ref:o})}));return n.displayName="StrokeIconComponent",n},qc=({component:e,defaultCss:t={}})=>{const n=h.forwardRef((r,o)=>v.jsx(OX,{css:t,...r,ref:o,children:v.jsx(e,{})}));return n.displayName="FillIconComponent",n},a4=Ye({component:kG});Ye({component:RZ});const jX=Ye({component:h$}),DX=Ye({component:xX}),g$=Ye({component:zZ}),MX=Ye({component:HZ});Ye({component:tG});Ye({component:mX});Ye({component:WZ});Ye({component:qZ,defaultCss:{svg:{height:13,width:14}}});const LX=Ye({component:IZ});Ye({component:jZ});const NX=Ye({component:XG});Ye({component:_Z});Ye({component:wZ});Ye({component:fZ});Ye({component:YG});const v$=Ye({component:xG});Ye({component:NZ});Ye({component:MZ});Ye({component:yZ});Ye({component:jG});Ye({component:BG});Ye({component:sZ});Ye({component:dG});const BX=Ye({component:ZG});Ye({component:oX});Ye({component:_X});Ye({component:JZ});Ye({component:HG});Ye({component:GZ});const zX=Ye({component:pG}),y$=qc({component:bG}),UX=qc({component:hZ}),HX=qc({component:gZ});qc({component:lG});qc({component:_G});qc({component:cZ});const b$=e=>v.jsx(m$,{...e,children:e.children}),VX=SZ,WX=YZ,ZX=PG,GX=lX,XX=vG,qX=dX,KX=pX,YX=FX,QX=oG,JX=aX;H("div",{display:"flex",alignItems:"center",fontSize:"$natual100",borderRadius:"$regular",padding:"0.6rem",border:"0.1rem solid $white",boxShadow:"$card"});const eq=bt({"0%":{strokeDasharray:"1, 150",strokeDashoffset:"0"},"50%":{strokeDasharray:"90, 150",strokeDashoffset:"-35"},"100%":{strokeDasharray:"90, 150",strokeDashoffset:"-124"}}),tq=bt({"%100":{transform:"rotate(360deg)"}}),nq=H("div",{"& svg":{animation:`${tq} 2s linear infinite`,zIndex:"$z-30",top:"50%",left:"50%",margin:"-25px 0 0 - 25px",height:"1.2rem",width:"1.2rem",stroke:"hsla(233, 78%, 57%, 0)"},"& svg circle":{stroke:"hsl(210, 70, 75)",strokeLinecap:"round",animation:`${eq} 1.5s ease-in-out infinite`},variants:{medium:{true:{"& svg":{height:"2.4rem",width:"2.4rem"}}},large:{true:{"& svg":{height:"4.8rem",width:"4.8rem"}}},primary:{true:{"& svg":{stroke:"$blue500"}}}}}),Kc=e=>v.jsx(nq,{className:"spinner",...e,children:v.jsx(qX,{})});H("span",{});const _e=H("div",{}),xe=H(_e,{display:"flex"}),s4=H(YW,{fontSize:"$large",fontWeight:600});var Uv=(e=>(e.stable="stable",e.experimental="experimental",e))(Uv||{});const rq=H(_e,{boxShadow:"0px 1.28446px 25.6891px rgba(31, 41, 90, 0.12)",border:"1px solid $grayscale300",padding:"0.4rem 0.8rem",fontWeight:"$bold",fontSize:"$xsmall",borderRadius:"4px",textTransform:"capitalize",userSelect:"none",width:"fit-content",variants:{type:{stable:{backgroundColor:"$white",color:"$green200"},experimental:{backgroundColor:"$white",color:"$blue500"}}}}),Th=H("input",{padding:"0.6rem 1.2rem",border:"0.1rem solid $neutral200",borderRadius:"$regular",width:"100%",lineHeight:"1.8rem",fontSize:"1.4rem",color:"$black",outline:"none",appearance:"none","&::placeholder":{color:"$neutral400"},"&:focus":{backgroundColor:"none"}});H("textarea",{fontFamily:"$Mullish",padding:"0.6rem 1.2rem",border:"0.1rem solid $neutral200",borderRadius:"$regular",width:"100%",height:"100%",lineHeight:"1.8rem",fontSize:"1.4rem",color:"$neutral700",outline:"none",appearance:"none","&::placeholder":{color:"$neutral400"},"&:focus":{backgroundColor:"none"},resize:"none"});const oq=H("button",{all:"unset"}),Ic=H(_e),Hv={outline:"$neutral100 1px solid",backgroundColor:"$neutral100",pointerEvents:"none",[`& ${Ic}`]:{color:"$neutral400",stroke:"red"},[`& ${Ic} svg`]:{"path, circle":{stroke:"$neutral400 !important"}}},Vv={all:"unset",backgroundColor:"$blue500",textDecoration:"none",position:"relative",whiteSpace:"nowrap",cursor:"pointer",color:"$white",fontWeight:"$bold",borderRadius:"$regular",fontSize:"$xsmall",padding:"0.85rem 1.6rem 0.85rem 1.6rem",boxShadow:"$card",border:"none",userSelect:"none",display:"flex",alignItems:"center",flexDirection:"row",transition:"background-color 0.3s ease-in-out",gap:"1.12rem",[`& ${Ic}`]:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1.12rem"},"& .spinner":{display:"none"},"& .spinner svg":{stroke:"$white"},"&:hover:enabled":{outline:"0.1rem solid $white"},"&:disabled":Hv,variants:{secondary:{true:{fontWeight:"$regular",backgroundColor:"$white",color:"$blue500",stroke:"$blue500",border:"1px solid $blue500","&:hover":{backgroundColor:"$blue100",boxShadow:"0px 2px 11px rgba(23, 26, 94, 0.12)"},"&:disabled":{...Hv,border:"$neutral100 1px solid"},"& .spinner svg":{stroke:"$blue500"},"& svg":{"path, circle":{stroke:"$blue500 !important"}}}},noBorder:{true:{fontWeight:"$semiBold",backgroundColor:"transparent",color:"$neutral800",border:"none",boxShadow:"none",borderRadius:"$regular",fontSize:"$xsmall",padding:"0.85rem 1.6rem 0.85rem 1.6rem","&:hover":{backgroundColor:"$neutral100"},"&:active":{color:"$blue500",backgroundColor:"transparent","& svg":{"path, circle":{stroke:"$blue500 "}}},"& svg":{"path, circle":{stroke:"$neutral800"}}}},disabledPrimary:{true:{pointerEvents:"none",backgroundColor:"$neutral100",color:"$neutral400",fontWeight:600,"& svg":{stroke:"$neutral400 !important"}}},loading:{true:{pointerEvents:"none","& .spinner":{display:"block"},[`& ${Ic} svg`]:{display:"none"}}}}},w$=H(oq,Vv),iq=H("a",{...Vv,variants:{...Vv.variants,disabled:{true:Hv}},compoundVariants:[{disabled:!0,secondary:!0,css:{border:"$neutral100 1px solid"}}]}),x$=X.forwardRef(({children:e,...t},n)=>v.jsxs(iq,{...t,ref:n,children:[v.jsx(Kc,{}),v.jsx(Ic,{children:e})]}));x$.displayName="AButton";const Ns=X.forwardRef(({children:e,...t},n)=>v.jsxs(w$,{...t,ref:n,children:[v.jsx(Kc,{}),v.jsx(Ic,{children:e})]}));Ns.displayName="Button";const aq=h.forwardRef(({children:e,...t},n)=>v.jsx(w$,{...t,...n,children:e}));aq.displayName="ButtonWithIcon";const cn=H(_e,{lineHeight:1.2,fontFamily:"$Mulish",variants:{clickable:{true:{textDecoration:"underline",cursor:"pointer"}},type:{error:{color:"$red400",fontWeight:"$semiBold"},success:{color:"$green200",fontWeight:"$semiBold"}},title:{true:{fontSize:"$xxlarge"}},h1:{true:{fontSize:"$xxlarge"}},h2:{true:{fontSize:"$xlarge"}},h3:{true:{fontSize:"$large"}},h4:{true:{fontSize:"$medium"}},h5:{true:{fontSize:"$small"}},link:{true:{color:"$neutral700"}},ellipsis:{true:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}}),sq=H(cn,{fontWeight:"$bold",color:"$neutral800"});H(eZ,{backgroundColor:"$grayscale200","&[data-orientation=horizontal]":{height:1,width:"100%"}});H(_e,{borderRadius:"$regular",backgroundColor:"$white",boxShadow:"$card"});const lq=H(cn,{position:"relative",backgroundColor:"inherit",whiteSpace:"nowrap",paddingLeft:"1em",overflow:"hidden","&:before":{content:"\\02026",position:"absolute",zIndex:"$z-10",left:"-1em",backgroundColor:"inherit",paddingLeft:"1em",marginLeft:"0.5em"},"& span::before":{content:"",position:"absolute",display:"inline-block",width:"1em",height:"1em",backgroundColor:"inherit",zIndex:"$z-20",left:"-0.9rem"},"& span":{minWidth:"100%",position:"relative",display:"inline-block",float:"right",overflow:"visible",backgroundColor:"inherit",textIndent:"0.5rem"}}),S$=X.forwardRef((e,t)=>{const{dynamic:n="false"}=e;if(n==="false"){const{value:r="",maxLength:o=30}=e;return v.jsx(cn,{...e,ref:t,children:v.jsx("span",{children:r.length>o?`...${r.substring(r.length-o,r.length)}`:r})})}return v.jsx(lq,{...e,ref:t,children:v.jsx("span",{children:e.value})})});S$.displayName="TextWithTrailingEllipsis";H("a",{color:"$blue500",fontSize:"$xsmall"});function ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function un(e,t=[]){let n=[];function r(i,a){const s=h.createContext(a),l=n.length;n=[...n,a];function c(d){const{scope:f,children:p,...m}=d,g=(f==null?void 0:f[e][l])||s,w=h.useMemo(()=>m,Object.values(m));return h.createElement(g.Provider,{value:w},p)}function u(d,f){const p=(f==null?void 0:f[e][l])||s,m=h.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,u]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,cq(o,...t)]}function cq(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const uq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Tf=uq.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ki:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function dq(e){const t=e+"CollectionProvider",[n,r]=un(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=Le(m,y.collectionRef);return X.createElement(ki,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=Le(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(ki,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const jn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},fq=dd["useId".toString()]||(()=>{});let pq=0;function Mo(e){const[t,n]=h.useState(fq());return jn(()=>{e||n(r=>r??String(pq++))},[e]),e||(t?`radix-${t}`:"")}function Kt(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Nr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=hq({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=Kt(n),l=h.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[a,l]}function hq({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=Kt(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const mq=h.createContext(void 0);function Ah(e){const t=h.useContext(mq);return e||t||"ltr"}const kg="rovingFocusGroup.onEntryFocus",gq={bubbles:!1,cancelable:!0},l4="RovingFocusGroup",[Wv,E$,vq]=dq(l4),[yq,_$]=un(l4,[vq]),[bq,wq]=yq(l4),xq=h.forwardRef((e,t)=>h.createElement(Wv.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Wv.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(Sq,W({},e,{ref:t}))))),Sq=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=h.useRef(null),f=Le(t,d),p=Ah(i),[m=null,g]=Nr({prop:a,defaultProp:s,onChange:l}),[w,y]=h.useState(!1),b=Kt(c),x=E$(n),S=h.useRef(!1),[_,E]=h.useState(0);return h.useEffect(()=>{const C=d.current;if(C)return C.addEventListener(kg,b),()=>C.removeEventListener(kg,b)},[b]),h.createElement(bq,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:m,onItemFocus:h.useCallback(C=>g(C),[g]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>E(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>E(C=>C-1),[])},h.createElement(Tf.div,W({tabIndex:w||_===0?-1:0,"data-orientation":r},u,{ref:f,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{S.current=!0}),onFocus:ce(e.onFocus,C=>{const k=!S.current;if(C.target===C.currentTarget&&k&&!w){const I=new CustomEvent(kg,gq);if(C.currentTarget.dispatchEvent(I),!I.defaultPrevented){const j=x().filter(M=>M.focusable),$=j.find(M=>M.active),P=j.find(M=>M.id===m),R=[$,P,...j].filter(Boolean).map(M=>M.ref.current);C$(R)}}S.current=!1}),onBlur:ce(e.onBlur,()=>y(!1))})))}),Eq="RovingFocusGroupItem",_q=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=Mo(),l=i||s,c=wq(Eq,n),u=c.currentTabStopId===l,d=E$(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=c;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(Wv.ItemSlot,{scope:n,id:l,focusable:r,active:o},h.createElement(Tf.span,W({tabIndex:u?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:ce(e.onMouseDown,m=>{r?c.onItemFocus(l):m.preventDefault()}),onFocus:ce(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:ce(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){c.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=$q(m,c.orientation,c.dir);if(g!==void 0){m.preventDefault();let y=d().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")y.reverse();else if(g==="prev"||g==="next"){g==="prev"&&y.reverse();const b=y.indexOf(m.currentTarget);y=c.loop?Tq(y,b+1):y.slice(b+1)}setTimeout(()=>C$(y))}})})))}),Cq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kq(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function $q(e,t,n){const r=kq(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Cq[r]}function C$(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Tq(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Aq=xq,Rq=_q;function Rh(e){const[t,n]=h.useState(void 0);return jn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,s=c.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function c4(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Fq(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const fo=e=>{const{present:t,children:n}=e,r=Iq(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Le(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};fo.displayName="Presence";function Iq(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[s,l]=Fq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=Cp(r.current);i.current=s==="mounted"?c:"none"},[s]),jn(()=>{const c=r.current,u=o.current;if(u!==e){const f=i.current,p=Cp(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),jn(()=>{if(t){const c=d=>{const p=Cp(r.current).includes(d.animationName);d.target===t&&p&&On.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(i.current=Cp(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function Cp(e){return(e==null?void 0:e.animationName)||"none"}const k$="Radio",[Pq,$$]=un(k$),[Oq,jq]=Pq(k$),Dq=h.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:i,disabled:a,value:s="on",onCheck:l,...c}=e,[u,d]=h.useState(null),f=Le(t,g=>d(g)),p=h.useRef(!1),m=u?!!u.closest("form"):!0;return h.createElement(Oq,{scope:n,checked:o,disabled:a},h.createElement(Tf.button,W({type:"button",role:"radio","aria-checked":o,"data-state":T$(o),"data-disabled":a?"":void 0,disabled:a,value:s},c,{ref:f,onClick:ce(e.onClick,g=>{o||l==null||l(),m&&(p.current=g.isPropagationStopped(),p.current||g.stopPropagation())})})),m&&h.createElement(Nq,{control:u,bubbles:!p.current,name:r,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),Mq="RadioIndicator",Lq=h.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,i=jq(Mq,n);return h.createElement(fo,{present:r||i.checked},h.createElement(Tf.span,W({"data-state":T$(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),Nq=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=c4(n),s=Rh(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});d.call(l,n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function T$(e){return e?"checked":"unchecked"}const Bq=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],A$="RadioGroup",[zq,K5e]=un(A$,[_$,$$]),R$=_$(),F$=$$(),[Uq,Hq]=zq(A$),Vq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:i,required:a=!1,disabled:s=!1,orientation:l,dir:c,loop:u=!0,onValueChange:d,...f}=e,p=R$(n),m=Ah(c),[g,w]=Nr({prop:i,defaultProp:o,onChange:d});return h.createElement(Uq,{scope:n,name:r,required:a,disabled:s,value:g,onValueChange:w},h.createElement(Aq,W({asChild:!0},p,{orientation:l,dir:m,loop:u}),h.createElement(Tf.div,W({role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:m},f,{ref:t}))))}),Wq="RadioGroupItem",Zq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,i=Hq(Wq,n),a=i.disabled||r,s=R$(n),l=F$(n),c=h.useRef(null),u=Le(t,c),d=i.value===o.value,f=h.useRef(!1);return h.useEffect(()=>{const p=g=>{Bq.includes(g.key)&&(f.current=!0)},m=()=>f.current=!1;return document.addEventListener("keydown",p),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",p),document.removeEventListener("keyup",m)}},[]),h.createElement(Rq,W({asChild:!0},s,{focusable:!a,active:d}),h.createElement(Dq,W({disabled:a,required:i.required,checked:d},l,o,{name:i.name,ref:u,onCheck:()=>i.onValueChange(o.value),onKeyDown:ce(p=>{p.key==="Enter"&&p.preventDefault()}),onFocus:ce(o.onFocus,()=>{var p;f.current&&((p=c.current)===null||p===void 0||p.click())})})))}),Gq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=F$(n);return h.createElement(Lq,W({},o,r,{ref:t}))}),Xq=Vq,qq=Zq,Kq=Gq;function Je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Yq(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function I$(...e){return t=>e.forEach(n=>Yq(n,t))}function yn(...e){return h.useCallback(I$(...e),e)}function Di(e,t=[]){let n=[];function r(i,a){const s=h.createContext(a),l=n.length;n=[...n,a];function c(d){const{scope:f,children:p,...m}=d,g=(f==null?void 0:f[e][l])||s,w=h.useMemo(()=>m,Object.values(m));return h.createElement(g.Provider,{value:w},p)}function u(d,f){const p=(f==null?void 0:f[e][l])||s,m=h.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,u]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Qq(o,...t)]}function Qq(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function tr(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function P$({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Jq({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=tr(n),l=h.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[a,l]}function Jq({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=tr(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function eK(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Ra=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function u4(e){const[t,n]=h.useState(void 0);return Ra(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,s=c.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Pc=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(nK);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Zv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Zv,W({},r,{ref:t}),n)});Pc.displayName="Slot";const Zv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...rK(r,n.props),ref:t?I$(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});Zv.displayName="SlotClone";const tK=({children:e})=>h.createElement(h.Fragment,null,e);function nK(e){return h.isValidElement(e)&&e.type===tK}function rK(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const oK=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ar=oK.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?Pc:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function d4(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}const O$="Switch",[iK,Y5e]=Di(O$),[aK,sK]=iK(O$),lK=h.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:l="on",onCheckedChange:c,...u}=e,[d,f]=h.useState(null),p=yn(t,b=>f(b)),m=h.useRef(!1),g=d?!!d.closest("form"):!0,[w=!1,y]=P$({prop:o,defaultProp:i,onChange:c});return h.createElement(aK,{scope:n,checked:w,disabled:s},h.createElement(ar.button,W({type:"button",role:"switch","aria-checked":w,"aria-required":a,"data-state":j$(w),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:p,onClick:Je(e.onClick,b=>{y(x=>!x),g&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})})),g&&h.createElement(dK,{control:d,bubbles:!m.current,name:r,value:l,checked:w,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),cK="SwitchThumb",uK=h.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=sK(cK,n);return h.createElement(ar.span,W({"data-state":j$(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),dK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=eK(n),s=u4(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});d.call(l,n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function j$(e){return e?"checked":"unchecked"}const fK=lK,pK=uK;H("button",{cursor:"pointer","& svg":{stroke:"$white"},backgroundColor:"inherit",variants:{secondary:{true:{"& svg":{stroke:"$blue500"}}},disabled:{true:{pointerEvents:"none","& svg":{stroke:"$neutral300"}}}}});const hK=H("label",{position:"relative",display:"inline-block",minWidth:"5.8rem",minHeight:"3.2rem","& input":{opacity:0,width:0,height:0},"& span":{position:"absolute",cursor:"pointer",padding:"0.2rem",display:"flex",alignItems:"center",justifyContent:"space-around",border:"0.075rem solid $neutral500",top:0,left:0,right:0,bottom:0,transition:"stroke 5s",borderRadius:"$regular"},"& span:before":{position:"absolute",content:"",height:"2.6rem",width:"2.6rem",left:".2rem",backgroundColor:"$neutral800",transition:".4s",borderRadius:"$regular"},"& svg":{zIndex:"$z-10",transition:"stroke 0.4s"},"& input + span svg:first-child":{stroke:"$white"},"& input:checked + span svg:nth-child(2)":{stroke:"$white"},"& input:checked + span svg:first-child":{stroke:"$neutral600"},"& input + span svg:nth-child(2)":{stroke:"$neutral600"},"input:focus + .slider":{boxShadow:"0 0 1px #2196F3"},"& input:checked + span:before":{transform:"translateX(26px)"}}),mK=({css:e,className:t,onChange:n,checked:r})=>v.jsxs(hK,{css:e,className:t,children:[v.jsx("input",{onChange:n,type:"checkbox",checked:r}),v.jsxs("span",{children:[v.jsx(YX,{}),v.jsx(KX,{})]})]}),gK=H(qq,{width:"25px",height:"25px",borderRadius:"100%",border:"1px solid $blue500"}),vK=H(Kq,{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",position:"relative","&:after":{content:"",display:"block",width:"11px",height:"11px",borderRadius:"50%",backgroundColor:"$blue500"}}),yK=H(s4,{paddingLeft:"9px",fontSize:"1.2rem",color:"$neutral600"});H(Xq);const bK=H(fK,{width:"2.8rem",height:"1.6rem",backgroundColor:"$neutral400",borderRadius:"3.4rem",position:"relative","&:focus":{boxShadow:"0 0 0 2px $blue500"},"&[data-state='checked']":{backgroundColor:"$blue500"},"&:disabled":{cursor:"auto"}}),wK=H(pK,{display:"block",width:"0.8rem",height:"0.8rem",backgroundColor:"white",borderRadius:"9999px",transition:"transform 100ms",transform:"translateX(0.4rem)",willChange:"transform","&[data-state='checked']":{transform:"translateX(1.6rem)"}}),xK=({label:e,onChange:t,checked:n,disabled:r})=>v.jsxs(xe,{css:{alignItems:"center",gap:"1.2rem"},children:[!!e&&v.jsx(s4,{css:{color:"$neutral600",fontSize:"$small",fontWeight:"$semiBold"},children:e}),v.jsx(bK,{onCheckedChange:t,checked:n,disabled:r,children:v.jsx(wK,{})})]});H(xK,{});const D$="Checkbox",[SK,Q5e]=un(D$),[EK,_K]=SK(D$),CK=h.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:l="on",onCheckedChange:c,...u}=e,[d,f]=h.useState(null),p=Le(t,x=>f(x)),m=h.useRef(!1),g=d?!!d.closest("form"):!0,[w=!1,y]=Nr({prop:o,defaultProp:i,onChange:c}),b=h.useRef(w);return h.useEffect(()=>{const x=d==null?void 0:d.form;if(x){const S=()=>y(b.current);return x.addEventListener("reset",S),()=>x.removeEventListener("reset",S)}},[d,y]),h.createElement(EK,{scope:n,state:w,disabled:s},h.createElement(Ve.button,W({type:"button",role:"checkbox","aria-checked":Cs(w)?"mixed":w,"aria-required":a,"data-state":M$(w),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:p,onKeyDown:ce(e.onKeyDown,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:ce(e.onClick,x=>{y(S=>Cs(S)?!0:!S),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})})),g&&h.createElement(TK,{control:d,bubbles:!m.current,name:r,value:l,checked:w,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),kK="CheckboxIndicator",$K=h.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=_K(kK,n);return h.createElement(fo,{present:r||Cs(i.state)||i.state===!0},h.createElement(Ve.span,W({"data-state":M$(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),TK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=c4(n),s=Rh(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});l.indeterminate=Cs(n),d.call(l,Cs(n)?!1:n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"checkbox","aria-hidden":!0,defaultChecked:Cs(n)?!1:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Cs(e){return e==="indeterminate"}function M$(e){return Cs(e)?"indeterminate":e?"checked":"unchecked"}const AK=CK,RK=$K;fb(AK,{all:"unset",backgroundColor:"$white",width:"1.2rem",height:"1.2rem",borderRadius:"$normal",border:"1px solid $neutral500",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"$card",padding:"0.2rem !important",cursor:"pointer","&:hover:not([disabled])":{backgroundColor:"$grayscale200"},"&:focus":{boxShadow:"$card"},"&[data-state=checked]:not([disabled])":{backgroundColor:"$blue500",borderColor:"$blue500"},"&[disabled][data-state=checked]":{backgroundColor:"$neutral300",borderColor:"$neutral300"},"&[disabled]":{cursor:"auto"}});fb(RK,{});fb(cn,{color:"$white",fontSize:"$small",lineHeight:1});H(_e,{padding:"0.8rem 1.6rem",borderRadius:"0.6rem",background:"$neutral900"});H(cn,{whiteSpace:"pre-wrap",fontFamily:"'IBM Plex Mono'",fontSize:"$xsmall",lineHeight:"2.1rem",color:"$grayscale200"});function Af(e){const t=e+"CollectionProvider",[n,r]=un(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=Le(m,y.collectionRef);return X.createElement(ki,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=Le(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(ki,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const L$="Collapsible",[FK,N$]=un(L$),[IK,B$]=FK(L$),PK=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...s}=e,[l=!1,c]=Nr({prop:r,defaultProp:o,onChange:a});return h.createElement(IK,{scope:n,disabled:i,contentId:Mo(),open:l,onOpenToggle:h.useCallback(()=>c(u=>!u),[c])},h.createElement(Ve.div,W({"data-state":U$(l),"data-disabled":i?"":void 0},s,{ref:t})))}),z$="CollapsibleContent",OK=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=B$(z$,e.__scopeCollapsible);return h.createElement(fo,{present:n||o.open},({present:i})=>h.createElement(jK,W({},r,{ref:t,present:i})))}),jK=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=B$(z$,n),[s,l]=h.useState(r),c=h.useRef(null),u=Le(t,c),d=h.useRef(0),f=d.current,p=h.useRef(0),m=p.current,g=a.open||s,w=h.useRef(g),y=h.useRef();return h.useEffect(()=>{const b=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(b)},[]),jn(()=>{const b=c.current;if(b){y.current=y.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const x=b.getBoundingClientRect();d.current=x.height,p.current=x.width,w.current||(b.style.transitionDuration=y.current.transitionDuration,b.style.animationName=y.current.animationName),l(r)}},[a.open,r]),h.createElement(Ve.div,W({"data-state":U$(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g},i,{ref:u,style:{["--radix-collapsible-content-height"]:f?`${f}px`:void 0,["--radix-collapsible-content-width"]:m?`${m}px`:void 0,...e.style}}),g&&o)});function U$(e){return e?"open":"closed"}const DK=PK,MK=OK,Rf="Accordion",LK=["Home","End","ArrowDown","ArrowUp"],[H$,NK,BK]=Af(Rf),[Fh,J5e]=un(Rf,[BK,N$]),V$=N$(),zK=X.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return X.createElement(H$.Provider,{scope:e.__scopeAccordion},n==="multiple"?X.createElement(VK,W({},i,{ref:t})):X.createElement(HK,W({},o,{ref:t})))});zK.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[W$,UK]=Fh(Rf),[Z$,e6e]=Fh(Rf,{collapsible:!1}),HK=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[s,l]=Nr({prop:n,defaultProp:r,onChange:o});return X.createElement(W$,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:l,onItemClose:X.useCallback(()=>i&&l(""),[i,l])},X.createElement(Z$,{scope:e.__scopeAccordion,collapsible:i},X.createElement(G$,W({},a,{ref:t}))))}),VK=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],s]=Nr({prop:n,defaultProp:r,onChange:o}),l=X.useCallback(u=>s((d=[])=>[...d,u]),[s]),c=X.useCallback(u=>s((d=[])=>d.filter(f=>f!==u)),[s]);return X.createElement(W$,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:c},X.createElement(Z$,{scope:e.__scopeAccordion,collapsible:!0},X.createElement(G$,W({},i,{ref:t}))))}),[WK,ZK]=Fh(Rf),G$=X.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,...o}=e,i=X.useRef(null),a=Le(i,t),s=NK(n),l=ce(e.onKeyDown,c=>{var u;if(!LK.includes(c.key))return;const d=c.target,f=s().filter(y=>{var b;return!((b=y.ref.current)!==null&&b!==void 0&&b.disabled)}),p=f.findIndex(y=>y.ref.current===d),m=f.length;if(p===-1)return;c.preventDefault();let g=p;switch(c.key){case"Home":g=0;break;case"End":g=m-1;break;case"ArrowDown":g=p+1;break;case"ArrowUp":g=p-1,g<0&&(g=m-1);break}const w=g%m;(u=f[w].ref.current)===null||u===void 0||u.focus()});return X.createElement(WK,{scope:n,disabled:r},X.createElement(H$.Slot,{scope:n},X.createElement(Ve.div,W({},o,{ref:a,onKeyDown:r?void 0:l}))))}),Gv="AccordionItem",[GK,X$]=Fh(Gv),XK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=ZK(Gv,n),a=UK(Gv,n),s=V$(n),l=Mo(),c=r&&a.value.includes(r)||!1,u=i.disabled||e.disabled;return X.createElement(GK,{scope:n,open:c,disabled:u,triggerId:l},X.createElement(DK,W({"data-state":c?"open":"closed"},s,o,{ref:t,disabled:u,open:c,onOpenChange:d=>{d?a.onItemOpen(r):a.onItemClose(r)}})))}),qK="AccordionHeader",KK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=X$(qK,n);return X.createElement(Ve.h3,W({"data-state":JK(o.open),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),YK="AccordionContent",QK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=X$(YK,n),i=V$(n);return X.createElement(MK,W({role:"region","aria-labelledby":o.triggerId},i,r,{ref:t,style:{["--radix-accordion-content-height"]:"var(--radix-collapsible-content-height)",["--radix-accordion-content-width"]:"var(--radix-collapsible-content-width)",...e.style}}))});function JK(e){return e?"open":"closed"}const eY=XK,tY=KK,nY=QK;H(tY,{fontSize:"$medium"});H(xe,{justifyContent:"space-between"});H(_e,{backgroundColor:"white",borderRadius:"$regular"});H(eY,{marginBottom:"1.6rem"});const rY=bt({from:{height:0},to:{height:"var(--radix-accordion-content-height)"}}),oY=bt({from:{height:"var(--radix-accordion-content-height)"},to:{height:0}});H(nY,{overflow:"hidden",fontSize:15,boxShadow:"$card",borderBottom:"2px solid $grayscale300",borderRadius:"$regular",'&[data-state="open"]':{animation:`${rY} 300ms cubic-bezier(0.87, 0, 0.13, 1)`},'&[data-state="closed"]':{animation:`${oY} 300ms cubic-bezier(0.87, 0, 0.13, 1)`},background:"$neutral200","& table":{background:"white",width:"100%",borderSpacing:"0 8px",borderBottomLeftRadius:"$regular",borderBottomRightRadius:"$regular","& th":{fontSize:"$small",color:"$neutral500",fontWeight:"$normal",textAlign:"left",padding:"2rem",cursor:"pointer",userSelect:"none"},"& td":{fontSize:"$small",".assign-date":{color:"$grayscale300"},padding:"2rem 4rem 2rem 2rem",backgroundColor:"#FCFCFC","&:last-of-type":{maxWidth:"10rem"}}}});const f4=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(aY);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Xv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Xv,W({},r,{ref:t}),n)});f4.displayName="Slot";const Xv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...sY(r,n.props),ref:o4(t,n.ref)}):h.Children.count(n)>1?h.Children.only(null):null});Xv.displayName="SlotClone";const iY=({children:e})=>h.createElement(h.Fragment,null,e);function aY(e){return h.isValidElement(e)&&e.type===iY}function sY(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{i==null||i(...s),o==null||o(...s)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const lY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],za=lY.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?f4:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cY(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}function uY(e){const t=Kt(e);h.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const qv="dismissableLayer.update",dY="dismissableLayer.pointerDownOutside",fY="dismissableLayer.focusOutside";let s8;const pY=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hY=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,c=h.useContext(pY),[u,d]=h.useState(null),[,f]=h.useState({}),p=Le(t,E=>d(E)),m=Array.from(c.layers),[g]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(g),y=u?m.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,x=y>=w,S=mY(E=>{const C=E.target,k=[...c.branches].some(I=>I.contains(C));!x||k||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),_=gY(E=>{const C=E.target;[...c.branches].some(I=>I.contains(C))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return uY(E=>{y===c.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),h.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(s8=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),l8(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=s8)}},[u,n,c]),h.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),l8())},[u,c]),h.useEffect(()=>{const E=()=>f({});return document.addEventListener(qv,E),()=>document.removeEventListener(qv,E)},[]),h.createElement(za.div,W({},l,{ref:p,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,_.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,S.onPointerDownCapture)}))});function mY(e){const t=Kt(e),n=h.useRef(!1),r=h.useRef(()=>{});return h.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let c=function(){q$(dY,t,l,{discrete:!0})};var s=c;const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=c,document.addEventListener("click",r.current,{once:!0})):c()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function gY(e){const t=Kt(e),n=h.useRef(!1);return h.useEffect(()=>{const r=o=>{o.target&&!n.current&&q$(fY,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function l8(){const e=new CustomEvent(qv);document.dispatchEvent(e)}function q$(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cY(o,i):o.dispatchEvent(i)}const $g="focusScope.autoFocusOnMount",Tg="focusScope.autoFocusOnUnmount",c8={bubbles:!1,cancelable:!0},vY=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=Kt(o),u=Kt(i),d=h.useRef(null),f=Le(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let y=function(x){if(p.paused||!s)return;const S=x.target;s.contains(S)?d.current=S:Ja(d.current,{select:!0})},b=function(x){p.paused||!s||s.contains(x.relatedTarget)||Ja(d.current,{select:!0})};var g=y,w=b;return document.addEventListener("focusin",y),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b)}}},[r,s,p.paused]),h.useEffect(()=>{if(s){d8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent($g,c8);s.addEventListener($g,c),s.dispatchEvent(y),y.defaultPrevented||(yY(EY(K$(s)),{select:!0}),document.activeElement===g&&Ja(s))}return()=>{s.removeEventListener($g,c),setTimeout(()=>{const y=new CustomEvent(Tg,c8);s.addEventListener(Tg,u),s.dispatchEvent(y),y.defaultPrevented||Ja(g??document.body,{select:!0}),s.removeEventListener(Tg,u),d8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=bY(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Ja(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Ja(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(za.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function yY(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ja(r,{select:t}),document.activeElement!==n)return}function bY(e){const t=K$(e),n=u8(t,e),r=u8(t.reverse(),e);return[n,r]}function K$(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function u8(e,t){for(const n of e)if(!wY(n,{upTo:t}))return n}function wY(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xY(e){return e instanceof HTMLInputElement&&"select"in e}function Ja(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&xY(e)&&t&&e.select()}}const d8=SY();function SY(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=f8(e,t),e.unshift(t)},remove(t){var n;e=f8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function f8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function EY(e){return e.filter(t=>t.tagName!=="A")}const _Y=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(za.div,W({},o,{ref:t})),r):null});let Ag=0;function p4(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:p8()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:p8()),Ag++,()=>{Ag===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ag--}},[])}function p8(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var St=function(){return St=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return DY;var t=MY(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},NY=m4(),BY=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` +Defaulting to \`${zv}\`.`}function s$(e){return QW.includes(e)}const eZ=a$,tZ={white:"hsla(0, 100%, 100%, 1)",white_05:"hsla(0, 0%, 100%, 0.5)",white_03:"hsla(0, 0%, 100%, 0.3)",white200:"hsla(0, 0%, 43%)"},nZ=233,l$={blueBackground:`hsl(${nZ}, 100%, 99%)`,blue100:"hsla(212, 100%, 98%)",blue200:"hsla(226, 100%, 93%)",blue300:"hsl(227, 100%, 82%)",blue350:"hsl(233, 100%, 74%)",blue400:"hsl(233, 70%, 66%)",blue500:"hsl(233, 78%, 57%)",blue600:"hsla(250, 82%, 44%)",blue700:"hsl(250, 93%, 35%)",blue800:"hsl(250, 100%, 20%)",blue900:"hsl(248, 89%, 17%)"},c$={neutral100:"hsl(228, 17%, 95%)",neutral200:"hsl(228, 24%, 96%)",neutral300:"hsl(228, 14%, 90%)",neutral400:"hsl(228, 23%, 83%)",neutral500:"hsla(228, 15%, 66%)",neutral600:"#848AA4",neutral700:"hsl(250, 15%, 40%)",neutral800:"hsla(250, 15%, 25%)",neutral900:"hsl(250, 15%, 15%)"},u$={red100:"hsl(355, 100%, 94%)",red200:"hsl(355, 73%, 88%)",red250:"hsla(355, 94%, 79%)",red300:"hsl(355, 100%, 67%)",red400:"hsl(335, 100%, 44%)",red500:"hsl(335, 82%, 42%)",red600:"hsl(335, 100%, 28%)",red700:"hsl(335, 100%, 20%)",red800:"hsl(335, 100%, 201)"},d$={orange100:"hsl(36, 100%, 93%)",orange200:"hsl(29, 100%, 46%)",orange300:"hsl(29, 94%, 42%)",orange400:"hsl(29, 100%, 46%)"},wp={green100:"hsl(158, 45%, 95%)",green200:"hsl(164, 67%, 47%)",green200_01:"hsla(164, 67%, 47%,0.1)",green300:"hsla(156, 72%, 67%, 1)",green400:"hsla(142, 69%, 58%, 1)",green500:"hsla(182, 29%, 40%, 1)",green600:"hsla(142, 76%, 36%, 1)",green700:"hsla(142, 72%, 29%, 1)",green800:"hsla(143, 64%, 24%, 1)",green900:"hsla(144, 61%, 20%, 1)"},rZ={black:"hsla(0, 0%, 0%, 1)",black_05:"rgba(0, 0, 0, 0.44)",black_09:"rgba(0, 0, 0, 0.9)"},Yo=0,f$={grayscale100_05:`hsla(${Yo}, 0%, 100%, 0.5)`,grayscale100:`hsla(${Yo}, 0%, 100%)`,grayscale200:`hsla(${Yo}, 0%, 90%)`,grayscale300:`hsla(${Yo}, 0%, 81%)`,grayscale400:`hsla(${Yo}, 0%, 72%)`,grayscale500:`hsla(${Yo}, 0%, 63%)`,grayscale600:`hsla(${Yo}, 0%, 54%)`,grayscale700:`hsla(${Yo}, 0%, 45%)`,grayscale800:`hsla(${Yo}, 0%, 36%)`,grayscale900:"hsla(200, 4%, 15%)"},p$={turquoise100:"hsla(200, 100%, 97%, 1)",turquoise200:"hsla(200, 55%, 87%, 1)",turquoise300:"hsla(200, 42%, 79%, 1)",turquoise400:"hsla(200, 56%, 72%, 1)",turquoise500:"hsla(200, 35%, 62%, 1)",turquoise650:`hsla(180, 57%, 48%, 1); +`},oZ={...c$,...f$,...p$,...l$,...u$,...d$,...wp},{styled:H,css:iZ,keyframes:bt,config:q5e}=rC({theme:{colors:{...c$,...f$,...p$,...l$,...u$,...d$,...wp,...tZ,...wp,...rZ,primary:"hsl(242, 19%, 26%)",secondary:"hsl(233, 78%, 57%)",red:"hsl(355, 100%, 67%)",white:"hsla(0, 100%, 100%, 1)",warningBackColor:"hsla(355, 100%, 94%, 0.4)",doneStatusColor:"hsla(200, 56%, 72%, 1)",codeDiffBackColor:"#fee8e9",codeDiffInsertBgColor:wp.green400,codeDiffBorderColor:"#e9aeae",leftbarBackColor:"#242627"},fonts:{untitled:"Untitled Sans, apple-system, sans-serif",Mullish:"Mulish",Inter:"Inter",IBM:"IBM Plex Mono"},radii:{small:"0.2rem",regular:"0.4rem"},fontSizes:{xxsmall:"1rem",xsmall:"1.2rem",small:"1.4rem",medium:"1.6rem",large:"1.8rem",xlarge:"2rem",xxlarge:"2.4rem",extraLarge:"3.6rem",1:"1.2rem",2:"1.3rem",3:"1.4rem",4:"1.6rem",5:"2rem"},fontWeights:{normal:"400",medium:"500",semiBold:"600",bold:"700"},zIndices:{"z-0":0,"z-10":10,"z-20":20,"z-30":30,"z-40":40,"z-50":50},media:{bp1:"(min-width: 640px)",bp2:"(min-width: 768px)",bp3:"(min-width: 1024px)"},shadows:{header:"0px 4px 40px rgba(31, 41, 90, 0.12)",bullet:"0px 0.925535px 18.5107px rgba(31, 41, 90, 0.12)",card:"0px 3px 18.69px rgba(31, 41, 90, 0.05)",dropdown:"0px 4px 16px -2px rgba(0, 0, 0, 0.15)",tooltip:"0px 2px 12px rgba(31, 41, 106, 0.1)",leftbar:"-1px 0px 16px rgba(8, 6, 27, 0.2)",onboarding:"0px 2px 25px 0px rgba(31, 41, 90, 0.15)"}}}),aZ=(e,t)=>v.jsxs("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M5.575 8.426a4.5 4.5 0 1 1 2.5 2.5l-.825.825h-1.5v1.5h-1.5v1.5h-2.5v-2.5l3.825-3.825Z",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M11 6.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",fill:"#3D51E7"})]}),sZ=h.forwardRef(aZ),lZ=(e,t)=>v.jsx("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M6 9.5c.17 0 .313-.058.428-.173A.58.58 0 0 0 6.6 8.9V7.1h1.815c.17 0 .31-.058.42-.173A.593.593 0 0 0 9 6.5a.581.581 0 0 0-.173-.428A.58.58 0 0 0 8.4 5.9H6.6V4.085c0-.17-.057-.31-.172-.42A.596.596 0 0 0 6 3.5a.58.58 0 0 0-.427.172.581.581 0 0 0-.173.428v1.8H3.585c-.17 0-.31.057-.42.172A.596.596 0 0 0 3 6.5c0 .17.057.312.172.427A.581.581 0 0 0 3.6 7.1h1.8v1.815c0 .17.058.31.173.42.115.11.257.165.427.165Zm0 3a5.84 5.84 0 0 1-2.34-.473 6.055 6.055 0 0 1-1.905-1.282A6.055 6.055 0 0 1 .473 8.84 5.84 5.84 0 0 1 0 6.5c0-.83.158-1.61.473-2.34a6.055 6.055 0 0 1 1.282-1.905A6.063 6.063 0 0 1 3.66.972 5.846 5.846 0 0 1 6 .5c.83 0 1.61.157 2.34.472.73.315 1.365.743 1.905 1.283.54.54.967 1.175 1.282 1.905.315.73.473 1.51.473 2.34 0 .83-.158 1.61-.473 2.34a6.055 6.055 0 0 1-1.282 1.905c-.54.54-1.175.967-1.905 1.282A5.84 5.84 0 0 1 6 12.5Zm0-1.2c1.33 0 2.463-.467 3.398-1.402C10.333 8.963 10.8 7.83 10.8 6.5s-.467-2.463-1.402-3.398C8.463 2.167 7.33 1.7 6 1.7s-2.462.467-3.397 1.402C1.668 4.037 1.2 5.17 1.2 6.5s.468 2.463 1.403 3.398S4.67 11.3 6 11.3Z",fill:"#3D51E7"})}),cZ=h.forwardRef(lZ),uZ=(e,t)=>v.jsxs("svg",{width:136,height:145,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M68.103 140.835c37.112 0 67.198-31.079 67.198-69.418C135.301 33.08 105.215 2 68.103 2 30.99 2 .903 33.08.903 71.417c0 38.339 30.087 69.418 67.2 69.418Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#analysis-in-progress_svg__a)",children:v.jsx("path",{d:"M29.535 8.5h77.135c.495 0 1.087.367 1.581 1.27.487.89.775 2.133.775 3.455v113.55c0 1.322-.288 2.564-.775 3.455-.494.903-1.086 1.27-1.581 1.27H29.535c-.495 0-1.087-.367-1.58-1.27-.488-.891-.776-2.133-.776-3.455V13.225c0-1.322.288-2.564.775-3.455.494-.903 1.086-1.27 1.581-1.27Z",fill:"#fff",stroke:"#F0F1F5"})}),v.jsx("path",{d:"M60.887 22H37.592c-1.485 0-2.688 1.243-2.688 2.777 0 1.533 1.203 2.776 2.688 2.776h23.295c1.485 0 2.688-1.243 2.688-2.776 0-1.534-1.203-2.777-2.688-2.777Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M77.015 34.031H37.592c-1.485 0-2.688 1.243-2.688 2.777s1.203 2.777 2.688 2.777h39.423c1.485 0 2.688-1.243 2.688-2.777S78.5 34.03 77.015 34.03Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M61.682 47.586H38.387c-1.485 0-2.688 1.243-2.688 2.777 0 1.533 1.203 2.776 2.688 2.776h23.295c1.485 0 2.688-1.243 2.688-2.776 0-1.534-1.203-2.777-2.688-2.777Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M77.204 60h-39.6c-1.491 0-2.7 1.12-2.7 2.5s1.209 2.5 2.7 2.5h39.6c1.491 0 2.7-1.12 2.7-2.5s-1.209-2.5-2.7-2.5Z",fill:"#DBE3FF"}),v.jsxs("g",{filter:"url(#analysis-in-progress_svg__b)",children:[v.jsx("rect",{x:86.411,y:79.59,width:8.218,height:41.413,rx:3.175,transform:"rotate(-45.986 86.411 79.59)",fill:"#3214CD"}),v.jsx("path",{d:"m70.588 82.296-.013-.003-.014-.003c-12.679-2.624-20.809-15.023-18.179-27.656C55.017 41.98 67.34 33.776 79.99 36.512l.012.002c4.511.947 8.469 3.197 11.876 6.344 5.6 5.6 7.976 13.687 6.316 21.277-.49 2.069-1.219 4.244-2.052 6.031-2.263 4.376-5.833 7.823-10.27 10.097-4.575 2.278-9.947 3.214-15.282 2.033Z",fill:"#fff",fillOpacity:.6,stroke:"#3D51E7",strokeWidth:3.968})]}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"analysis-in-progress_svg__a",x:16.323,y:.15,width:103.559,height:144.712,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37843"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37843",result:"shape"})]}),v.jsxs("filter",{id:"analysis-in-progress_svg__b",x:39.548,y:26.15,width:91.398,height:93.763,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37843"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37843",result:"shape"})]})]})]});h.forwardRef(uZ);const dZ=(e,t)=>v.jsxs("svg",{stroke:"#242627",width:15,height:15,viewBox:"0.5 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M8 14.167A6.667 6.667 0 1 0 8 .833a6.667 6.667 0 0 0 0 13.334Z"}),v.jsx("path",{d:"m5.156 7.856 2.133 2.133 3.556-4.267",strokeLinecap:"round",strokeLinejoin:"round"})]}),fZ=h.forwardRef(dZ),pZ=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,baseProfile:"tiny",viewBox:"0 0 24 24",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.8 9.7 12 16l6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.4-.3.7s.1.5.3.7z",stroke:"none"})}),hZ=h.forwardRef(pZ),mZ=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,baseProfile:"tiny",viewBox:"0 0 24 24",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M18.2 13.3 12 7l-6.2 6.3c-.2.2-.3.5-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7z",stroke:"none"})}),gZ=h.forwardRef(mZ),vZ=(e,t)=>v.jsxs("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M1.245 1a.427.427 0 0 0-.427.496l2.093 9.685a.582.582 0 0 0 .568.485h6.666a.43.43 0 0 0 .428-.36l2.234-9.805a.426.426 0 0 0-.427-.496L1.245 1Z",stroke:"#5C5775",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M8.333 8H5.667L5 4h4l-.667 4Z",stroke:"#5C5775",strokeLinecap:"round",strokeLinejoin:"round"})]}),yZ=h.forwardRef(vZ),bZ=(e,t)=>v.jsx("svg",{width:12,height:9,fill:"none",stroke:"#fff",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M10.8 1.2 4.4 7.6 1.2 4.4",strokeLinecap:"round",strokeLinejoin:"round"})}),wZ=h.forwardRef(bZ),xZ=(e,t)=>v.jsxs("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M53.131 16.37 33.956 37.114c-.395.395-1.116.4-1.486.043L22.62 25.735l-.05-.054a4.268 4.268 0 0 0-3.22-1.25 4.3 4.3 0 0 0-3.113 1.556 4.165 4.165 0 0 0-.935 3.009 4.507 4.507 0 0 0 1.334 2.853l11.325 9.755c.197.202.306.47.306.751s-.109.55-.273.722L16.67 52.828l-.05.05a4.525 4.525 0 0 0-1.31 3.118c-.017 1.221.453 2.341 1.318 3.147.402.373.864.663 1.376.86a4.344 4.344 0 0 0 3.151-.025 4.27 4.27 0 0 0 1.444-.97l9.847-11.416c.403-.39 1.104-.39 1.473-.034l9.856 11.426.05.05a4.23 4.23 0 0 0 1.419.94c.512.21 1.053.315 1.611.315.529 0 1.049-.097 1.544-.286a4.211 4.211 0 0 0 1.372-.86c.869-.806 1.334-1.926 1.318-3.147a4.559 4.559 0 0 0-1.339-3.143l-11.312-9.742a1.07 1.07 0 0 1-.306-.752c0-.285.109-.558.28-.73l20.724-19.15a4.499 4.499 0 0 0 1.305-2.828 4.176 4.176 0 0 0-.935-3.012 4.3 4.3 0 0 0-3.114-1.557c-.067-.004-.13-.004-.197-.004a4.356 4.356 0 0 0-3.063 1.292Z",fill:"#4096D2"}),v.jsx("path",{d:"M60.432 19.656a4.176 4.176 0 0 0-.936-3.013 4.3 4.3 0 0 0-3.113-1.557c-.067-.004-.13-.004-.197-.004a4.339 4.339 0 0 0-3.06 1.288L33.953 37.115c-.395.394-1.116.398-1.486.042l-9.852-11.422-.05-.054a4.268 4.268 0 0 0-3.218-1.25 4.3 4.3 0 0 0-3.114 1.556 4.165 4.165 0 0 0-.935 3.009 4.506 4.506 0 0 0 1.334 2.853l8.652 7.452 3.285 2.828a7.109 7.109 0 0 0 9.462-.164l2.543-2.345 18.55-17.14a4.503 4.503 0 0 0 1.309-2.824Z",fill:"#F05680"})]}),SZ=h.forwardRef(xZ),EZ=(e,t)=>v.jsx("svg",{stroke:"#E2E3E9",width:15,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M14.283 6.667 12.963 8l-1.32-1.333m1.482 1A6.14 6.14 0 0 0 13.161 7c0-3.314-2.659-6-5.939-6-3.28 0-5.939 2.686-5.939 6s2.66 6 5.94 6c1.865 0 3.53-.87 4.619-2.228m-4.62-7.105V7l1.98 1.333",strokeWidth:1.167,strokeLinecap:"round",strokeLinejoin:"round"})}),_Z=h.forwardRef(EZ),CZ=(e,t)=>v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:800,height:800,viewBox:"0 0 32 32",ref:t,...e,children:[v.jsx("path",{d:"M26.889 24H5.111A3.061 3.061 0 0 1 2 21V11a3.061 3.061 0 0 1 3.111-3h21.778A3.061 3.061 0 0 1 30 11v10a3.061 3.061 0 0 1-3.111 3ZM5.111 10a1.02 1.02 0 0 0-1.037 1v10a1.02 1.02 0 0 0 1.037 1h21.778a1.02 1.02 0 0 0 1.037-1V11a1.02 1.02 0 0 0-1.037-1Z",style:{fill:"#2088ff"}}),v.jsx("path",{d:"M22.741 15h-2.074a1 1 0 1 1 0-2h2.074a1 1 0 1 1 0 2ZM24.815 19h-4.148a1 1 0 1 1 0-2h4.148a1 1 0 1 1 0 2ZM12.217 16a3.412 3.412 0 0 1-.256 1.369 2.661 2.661 0 0 1-.7.972l.863 1.045h-1.19l-.487-.576a3.075 3.075 0 0 1-1.057.179 2.941 2.941 0 0 1-1.444-.353 2.539 2.539 0 0 1-1.01-1.021A3.276 3.276 0 0 1 6.566 16a3.281 3.281 0 0 1 .372-1.619 2.54 2.54 0 0 1 1.01-1.019 3.138 3.138 0 0 1 2.884 0 2.545 2.545 0 0 1 1.012 1.019A3.271 3.271 0 0 1 12.217 16Zm-3.267.886h1.084l.448.554a1.7 1.7 0 0 0 .325-.6 2.718 2.718 0 0 0 .117-.84 2.109 2.109 0 0 0-.419-1.413 1.393 1.393 0 0 0-1.113-.487 1.4 1.4 0 0 0-1.114.488A2.109 2.109 0 0 0 7.86 16a2.112 2.112 0 0 0 .418 1.412 1.392 1.392 0 0 0 1.114.489 1.664 1.664 0 0 0 .33-.032ZM13.6 19v-6h1.276v4.986h2.587V19Z",style:{fill:"#2088ff"}})]});h.forwardRef(CZ);const kZ=(e,t)=>v.jsx("svg",{stroke:"#DBE3FF",width:18,height:8,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M12.75 4a3.467 3.467 0 0 1-6.933 0m6.933 0a3.467 3.467 0 0 0-6.933 0m6.933 0h4.533M5.817 4H1.283",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(kZ);const $Z=(e,t)=>v.jsx("svg",{width:89,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M49.38 49.932c2.601-.218 4.534-2.518 4.318-5.138-.217-2.62-2.5-4.566-5.102-4.348-2.6.218-4.533 2.518-4.317 5.138.216 2.62 2.5 4.566 5.101 4.348Zm5.506-.067a10.042 10.042 0 0 1-3.69 2.592l-.01.032a43.333 43.333 0 0 0 4.961 11.733 17.988 17.988 0 0 1-6.241 1.988l-.309.04-.367.029-.735.056c-.452 0-.894.042-1.366.014a18.684 18.684 0 0 1-5.468-.94 18.149 18.149 0 0 1-2.411-.972 19.28 19.28 0 0 1-3.678-2.323c-.478-.362-.853-.73-1.178-1.016a33.31 33.31 0 0 1-.965-.965s.289.404.83 1.092c.285.33.614.752 1.046 1.184.472.5.97.975 1.493 1.421a20.185 20.185 0 0 0 1.958 1.48c.766.512 1.566.97 2.395 1.369.893.435 1.815.805 2.76 1.108a20.98 20.98 0 0 0 3.015.716c.508.1 1.058.132 1.589.198l.738.044.367.022.422.007a21.05 21.05 0 0 0 3.053-.192 21.382 21.382 0 0 0 5.062-1.349c.619.848 1.27 1.673 1.95 2.475l-.094.059-.813.506-.112.07-.028.017-.007.005.143-.071-.015.008-.06.03-.247.127-.52.266-.273.14-.14.07-.07.037-.018.009-.01.004.091-.037-.036.017-.603.266-.635.281-.081.036-.01.004c.14-.05.033-.011.061-.021l-.02.01-.042.016-.168.066-.342.134a24.659 24.659 0 0 1-9.738 1.655l-.432-.016-.488-.039-.979-.079c-.607-.097-1.214-.139-1.837-.276a25.243 25.243 0 0 1-7.072-2.413 18.929 18.929 0 0 1-1.555-.868c-.508-.288-.976-.616-1.437-.93a25.948 25.948 0 0 1-4.375-3.84c-.555-.579-.973-1.14-1.343-1.585-.358-.453-.607-.834-.793-1.083l-.277-.388.238.414c.16.266.37.674.683 1.164.324.483.689 1.092 1.189 1.733.54.736 1.12 1.442 1.736 2.115a26.853 26.853 0 0 0 2.335 2.265c.443.373.894.764 1.39 1.117.483.376.996.73 1.53 1.072a27.416 27.416 0 0 0 3.434 1.903 27.668 27.668 0 0 0 3.82 1.429c.65.213 1.352.344 2.029.518l.968.179.482.088.537.078a27.624 27.624 0 0 0 11.102-.748l.354-.1.174-.048.243-.078.66-.214.627-.204.68-.264.544-.212.258-.1.063-.025.016-.006.165-.082.03-.015.119-.058.86-.42 1.074-.526a43.15 43.15 0 0 0 2.263 2.038s3.718 3.857 5.766 2.27c1.926-1.49-.292-6.165-.292-6.165a43.288 43.288 0 0 0-15.923-21.148Zm-12.971-6.338-.022-.026a42.577 42.577 0 0 0-12.43-1.761 18.29 18.29 0 0 1 1.648-6.659l.13-.284.17-.329.342-.658c.24-.385.438-.785.712-1.174a18.892 18.892 0 0 1 3.689-4.172 18.245 18.245 0 0 1 2.096-1.545 19.315 19.315 0 0 1 3.904-1.91c.56-.216 1.067-.342 1.48-.468.836-.214 1.324-.315 1.324-.315s-.493.033-1.359.13c-.429.07-.958.127-1.552.267-.671.138-1.334.313-1.987.523-.778.25-1.54.547-2.283.89-.837.381-1.647.822-2.422 1.32-.84.531-1.64 1.123-2.396 1.77a21.161 21.161 0 0 0-2.2 2.196c-.353.381-.672.833-1.009 1.252l-.428.607-.212.302-.23.357a21.407 21.407 0 0 0-1.456 2.71 21.801 21.801 0 0 0-1.596 5.295l-.012.073a42.213 42.213 0 0 0-3.065.397l.002-.539.004-.963V40.64l-.016.16.002-.017.006-.068.024-.277.051-.584.027-.307.014-.157.007-.08.002-.02v-.01l-.016.097.006-.04.094-.657.1-.69.013-.09.002-.01c-.033.147-.008.034-.015.064l.005-.022.008-.044.033-.18.068-.362a25.093 25.093 0 0 1 3.766-9.194l.242-.361.292-.396.585-.795c.403-.467.76-.963 1.206-1.423a25.414 25.414 0 0 1 5.778-4.762 19.11 19.11 0 0 1 1.554-.87c.512-.281 1.036-.506 1.545-.734.962-.419 1.948-.779 2.954-1.078a24.458 24.458 0 0 1 2.597-.624c.782-.168 1.476-.227 2.047-.307.572-.068 1.025-.079 1.332-.106l.473-.031-.473-.017c-.309-.005-.764-.04-1.342-.034-.578.02-1.285.01-2.09.097-.906.072-1.808.193-2.701.363-1.063.2-2.113.466-3.144.794-.549.182-1.117.36-1.678.596a20.09 20.09 0 0 0-1.712.74 27.415 27.415 0 0 0-3.422 1.925 27.837 27.837 0 0 0-3.228 2.506c-.523.44-1.006.972-1.51 1.458l-.663.732-.33.365-.35.419a27.99 27.99 0 0 0-2.33 3.283 28.512 28.512 0 0 0-2.922 6.597l-.104.355-.051.174-.063.25-.17.676-.16.644-.137.721-.11.577-.053.273-.013.067-.003.016-.018.185-.004.034-.013.132-.102.957-.18 1.702c-.989.27-1.971.573-2.942.915 0 0-5.198 1.224-4.903 3.809.277 2.43 5.398 2.923 5.398 2.923a42.733 42.733 0 0 0 26.2-2.85 10.178 10.178 0 0 1-.305-4.521Zm36.602-2.809a28.203 28.203 0 0 0-.642-4.053c-.134-.674-.367-1.355-.55-2.034l-.32-.938-.16-.465-.197-.51a28.075 28.075 0 0 0-6.103-9.37l-.26-.262-.128-.13-.187-.173-.51-.473-.483-.45-.564-.467-.45-.373-.213-.177-.052-.044-.013-.01-.152-.105-.028-.019-.108-.075-.787-.547-1.054-.734c.272-1.091.502-2.195.69-3.31.188-1.114 1.451-5.173-.938-6.163-2.246-.932-5.152 3.344-5.152 3.344A43.482 43.482 0 0 0 49.96 37.654c1.485.32 2.878.976 4.075 1.917l.033-.006a43.135 43.135 0 0 0 7.393-9.826 18.107 18.107 0 0 1 4.907 4.573l.186.251.205.308.41.617c.222.395.475.763.684 1.191.879 1.65 1.51 3.421 1.874 5.258.175.855.29 1.721.343 2.593a19.657 19.657 0 0 1-.2 4.367c-.08.598-.213 1.108-.3 1.533-.215.841-.36 1.32-.36 1.32s.207-.451.535-1.264c.145-.412.348-.908.51-1.5.201-.66.366-1.33.495-2.008.154-.807.26-1.624.316-2.444.068-.923.07-1.85.008-2.774a21.093 21.093 0 0 0-.398-2.966 21.342 21.342 0 0 0-.862-2.996c-.164-.495-.406-.993-.61-1.49l-.325-.67-.162-.332-.2-.373c-.494-.901-1.05-1.765-1.667-2.584a21.613 21.613 0 0 0-3.77-3.875c.437-.984.838-1.983 1.202-2.998l.165.09.837.463.116.064.03.016.007.004-.132-.091.014.01.056.037.23.154.485.326.255.171.13.087.067.045.016.01.009.006a2.015 2.015 0 0 0-.077-.06l.032.024.528.397.555.418.071.054.01.007c-.113-.099-.027-.023-.05-.043l.017.014.035.028.14.115.285.234a24.96 24.96 0 0 1 6.216 7.729l.199.387.206.447.413.897c.215.58.476 1.133.664 1.748a25.71 25.71 0 0 1 1.39 7.389c.03.606.04 1.204.013 1.79 0 .587-.053 1.159-.098 1.717a26.259 26.259 0 0 1-.473 3.128 24.899 24.899 0 0 1-.697 2.597c-.228.771-.508 1.414-.711 1.957-.215.537-.423.942-.547 1.229l-.198.433.24-.41c.152-.271.4-.656.671-1.172.258-.52.607-1.14.915-1.894a25.4 25.4 0 0 0 .976-2.563c.333-1.036.604-2.092.81-3.161.106-.572.22-1.16.283-1.769.088-.607.142-1.23.175-1.868a27.887 27.887 0 0 0-.043-3.949Z",fill:"#4DA9E1"})});h.forwardRef($Z);const TZ=(e,t)=>v.jsxs("svg",{width:37,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("rect",{x:4.826,y:4.326,width:27.347,height:27.347,rx:1.507,fill:"#3D51E7",stroke:"#000",strokeWidth:.653}),v.jsx("path",{d:"M7.112 11.416a.256.256 0 0 0 .257-.256V7.75a1.087 1.087 0 0 1 1.13-1.026h2.485a.256.256 0 1 0 0-.512H8.499A1.6 1.6 0 0 0 6.856 7.75v3.41a.256.256 0 0 0 .256.256Z",fill:"#fff"}),v.jsx("path",{d:"M18.998 13.704a3.352 3.352 0 1 0 0-6.704 3.352 3.352 0 0 0 0 6.704Z",fill:"#fff",stroke:"#000",strokeWidth:.562,strokeMiterlimit:10,strokeLinejoin:"round"}),v.jsx("path",{d:"M19.001 10.56a1.257 1.257 0 1 0 0-2.513 1.257 1.257 0 0 0 0 2.514ZM21.514 12.657a3.3 3.3 0 0 1-2.41 1.047 3.3 3.3 0 0 1-2.409-1.047c.336-.974 1.288-1.677 2.41-1.677 1.121 0 2.073.703 2.409 1.677Z",fill:"#000"}),v.jsx("path",{d:"M28.067 18.797H9.933c-.216 0-.433-.23-.433-.462v-2.077c0-.23.217-.461.433-.461h18.134c.216 0 .433.23.433.461v2.077c0 .231-.217.462-.433.462ZM28.067 23.406H9.933c-.216 0-.433-.23-.433-.461v-2.077c0-.231.217-.462.433-.462h18.134c.216 0 .433.231.433.462v2.077c0 .23-.217.461-.433.461ZM28.08 25.434h-6.16c-.21 0-.42.172-.42.517v1.898c0 .259.14.517.42.517h6.16c.21 0 .42-.172.42-.517V25.95c0-.273-.21-.517-.42-.517Z",fill:"#fff",stroke:"#000",strokeWidth:.562,strokeMiterlimit:10,strokeLinejoin:"round"}),v.jsx("path",{d:"M26.597 26.691h-3.401c-.145 0-.29.105-.29.21s.145.21.29.21h3.401c.145 0 .29-.105.29-.21 0-.157-.145-.21-.29-.21Z",fill:"#000"}),v.jsx("rect",{x:10.756,y:17.055,width:8.17,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:10.756,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:12.014,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:13.27,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:14.527,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:15.574,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"}),v.jsx("rect",{x:16.83,y:21.664,width:.628,height:.628,rx:.314,fill:"#000"})]});h.forwardRef(TZ);const AZ=(e,t)=>v.jsxs("svg",{width:17,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M10.696 10.5h3.02v-8H5.664v3",stroke:"#F7F8FC",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M10.696 5.5h-8.05v8h8.05v-8Z",stroke:"#F7F8FC",strokeLinecap:"round",strokeLinejoin:"round"})]}),RZ=h.forwardRef(AZ),FZ=(e,t)=>v.jsx("svg",{width:12,height:11,stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m11 .5-10 10m10 0L1 .5",strokeLinecap:"round",strokeLinejoin:"round"})}),IZ=h.forwardRef(FZ),PZ=(e,t)=>v.jsxs("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M14.667 8.5A6.67 6.67 0 0 1 8 15.167 6.67 6.67 0 0 1 1.333 8.5 6.67 6.67 0 0 1 8 1.833 6.67 6.67 0 0 1 14.667 8.5Z",fill:"#E2E3E9"}),v.jsx("path",{d:"m5.333 5.833 5.334 5.334M10.667 5.833l-5.334 5.334",stroke:"#FBFBFF",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})]});h.forwardRef(PZ);const OZ=(e,t)=>v.jsxs("svg",{width:14,height:15,viewBox:"1 1 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M14.667 8.5A6.67 6.67 0 0 1 8 15.167 6.67 6.67 0 0 1 1.333 8.5 6.67 6.67 0 0 1 8 1.833 6.67 6.67 0 0 1 14.667 8.5Z",stroke:"#404040",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m5.333 5.833 5.334 5.334M10.667 5.833l-5.334 5.334",stroke:"#404040",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})]}),jZ=h.forwardRef(OZ),DZ=(e,t)=>v.jsx("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M1 8.5h12m-12-4h12M4.2.5h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C13 2.02 13 2.58 13 3.7v5.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C1 10.98 1 10.42 1 9.3V3.7c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C2.52.5 3.08.5 4.2.5Z",stroke:"#22212C",strokeLinecap:"round",strokeLinejoin:"round"})}),MZ=h.forwardRef(DZ),LZ=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7 1.5v12m-2.8-12h5.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C13 3.02 13 3.58 13 4.7v5.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.428.218-.988.218-2.108.218H4.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C1 11.98 1 11.42 1 10.3V4.7c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C2.52 1.5 3.08 1.5 4.2 1.5Z",stroke:"#22212C",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})}),NZ=h.forwardRef(LZ),BZ=(e,t)=>v.jsx("svg",{className:"down-arrow_svg__down-arrow",width:10,height:6,stroke:"#404040",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m1 1 3.293 3.293a1 1 0 0 0 1.414 0L9 1",strokeLinecap:"round"})}),zZ=h.forwardRef(BZ),UZ=(e,t)=>v.jsx("svg",{stroke:"#fff",width:11,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.21 5.017 5.5 7.308m0 0 2.291-2.29m-2.29 2.29V1.2m4.8 6.11v3.054a.436.436 0 0 1-.437.436H1.137a.437.437 0 0 1-.437-.436V7.308",strokeLinecap:"round",strokeLinejoin:"round"})}),HZ=h.forwardRef(UZ),VZ=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{stroke:"#9BA0B5",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M3.375 11.25H.75V8.625L8.625.75l2.625 2.625-7.875 7.875ZM6.656 2.719l2.625 2.625"})})}),WZ=h.forwardRef(VZ),ZZ=(e,t)=>v.jsx("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{fill:"#3D51E7",children:v.jsx("path",{d:"M8 4.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM8 8.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1ZM8 12.883a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})})}),GZ=h.forwardRef(ZZ),XZ=(e,t)=>v.jsx("svg",{viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m8 5.5 5-5m0 0H9.667M13 .5v3.333m0 4v3.334a1.334 1.334 0 0 1-1.333 1.333H2.333A1.334 1.334 0 0 1 1 11.167V1.833A1.333 1.333 0 0 1 2.333.5h3.334",stroke:"#22212C",strokeLinecap:"round",strokeLinejoin:"round"})}),qZ=h.forwardRef(XZ),KZ=(e,t)=>v.jsx("svg",{stroke:"#22212C",width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7.5.5V4H11M7.5.5 11 4M7.5.5h-6A.5.5 0 0 0 1 1v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V4M7.25 6.5 8.75 8l-1.5 1.5m-2.5-3L3.25 8l1.5 1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),YZ=h.forwardRef(KZ),QZ=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsxs("g",{stroke:"#666",strokeLinecap:"round",strokeLinejoin:"round",children:[v.jsx("path",{d:"M14.5 16.5h-9A.5.5 0 0 1 5 16V5a.5.5 0 0 1 .5-.5h6L15 8v8a.5.5 0 0 1-.5.5Z"}),v.jsx("path",{d:"M11.5 4.5V8H15"})]})}),JZ=h.forwardRef(QZ),eG=(e,t)=>v.jsxs("svg",{width:17,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M13.152 6.467v6.465a.443.443 0 0 1-.444.443h-8.87a.444.444 0 0 1-.444-.443V4.068a.443.443 0 0 1 .444-.443h6.47c.117 0 .23.047.313.13l2.401 2.4c.083.083.13.195.13.312Z",stroke:"#393649",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M5.834 13.293V9.824c0-.115.043-.225.12-.306a.394.394 0 0 1 .287-.127h4.065c.108 0 .212.045.288.127.076.08.119.191.119.306v3.469",stroke:"#393649",strokeLinecap:"round",strokeLinejoin:"round"})]}),tG=h.forwardRef(eG),nG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:6,cy:6.5,r:5.55,stroke:"#E2005E",strokeWidth:.9}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3.5a.6.6 0 0 1 .6.6v3a.6.6 0 0 1-1.2 0v-3a.6.6 0 0 1 .6-.6Zm-.564 5.56a.6.6 0 0 1 .6-.6h.008a.6.6 0 1 1 0 1.2h-.008a.6.6 0 0 1-.6-.6Z",fill:"#E2005E"})]});h.forwardRef(nG);const rG=(e,t)=>v.jsx("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M59.5 39.558c0 11.43-9.152 20.721-20.442 20.721H14.5V39.558h45Zm-20.462-4.136c11.29 0 20.462-9.252 20.462-20.702h-45v20.702h24.538Z",fill:"#1A6AFF"})}),oG=h.forwardRef(rG),iG=(e,t)=>v.jsxs("svg",{width:92,height:92,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m65.36 56.25.717.32-.717-.32c-.438.985-1.432 1.642-2.594 1.772l-2.49.28c-.861.097-1.625.514-2.203 1.093-.579.578-.996 1.341-1.093 2.203l-.28 2.496c-.13 1.159-.783 2.15-1.763 2.589-.357.16-.718.31-1.083.449-1.005.383-2.169.144-3.08-.585l-1.961-1.567c-.678-.541-1.514-.787-2.333-.787-.819 0-1.654.245-2.332.787l-1.966 1.57c-.91.726-2.07.966-3.073.586a20.58 20.58 0 0 1-1.08-.444c-.984-.438-1.64-1.431-1.771-2.593l-.28-2.487c-.096-.864-.515-1.629-1.095-2.21-.576-.576-1.335-.993-2.193-1.093l-2.519-.295c-1.151-.135-2.135-.786-2.573-1.76-.162-.361-.313-.726-.454-1.095-.383-1.005-.144-2.169.585-3.08l1.567-1.962c.541-.677.787-1.513.787-2.332 0-.82-.245-1.654-.787-2.332L27.73 43.49c-.727-.91-.967-2.074-.585-3.078.14-.365.289-.726.448-1.083.44-.981 1.431-1.636 2.59-1.766l2.496-.28c.861-.097 1.625-.514 2.203-1.093.579-.578.996-1.341 1.093-2.203l.28-2.49c.13-1.16.786-2.154 1.77-2.592a20.5 20.5 0 0 1 1.072-.44c1.003-.38 2.164-.14 3.073.586l1.966 1.57c.678.543 1.513.788 2.333.788.819 0 1.654-.245 2.331-.787l1.963-1.567c.911-.727 2.074-.967 3.078-.585.365.14.726.289 1.083.448.982.44 1.636 1.431 1.766 2.59l.28 2.496c.097.862.514 1.625 1.093 2.204.579.578 1.342.995 2.203 1.092l2.497.28c1.158.13 2.149.783 2.588 1.763.16.357.31.718.45 1.083.383 1.005.143 2.169-.585 3.08l-1.567 1.961c-.542.678-.788 1.514-.788 2.333 0 .82.246 1.654.787 2.332l1.57 1.966c.726.91.966 2.07.587 3.073a20.58 20.58 0 0 1-.444 1.08Z",fill:"#3D51E7",stroke:"#000",strokeWidth:1.569}),v.jsx("path",{d:"M30.138 58.296c-1.234-.144-2.314-.846-2.8-1.926a20.765 20.765 0 0 1-.46-1.11c-.425-1.114-.152-2.382.628-3.36l1.567-1.96c.496-.621.725-1.392.725-2.155 0-.764-.228-1.534-.724-2.155l-1.567-1.962c-.78-.977-1.053-2.244-.629-3.357.141-.37.292-.736.454-1.098.487-1.088 1.576-1.793 2.819-1.933l2.495-.28c.79-.089 1.495-.471 2.034-1.011.54-.54.922-1.245 1.011-2.034l.28-2.489c.14-1.245.847-2.335 1.938-2.82.357-.16.72-.31 1.086-.448 1.112-.421 2.377-.148 3.352.63l1.965 1.572c.621.495 1.392.724 2.156.724.763 0 1.533-.228 2.154-.724l1.962-1.567c.977-.78 2.244-1.052 3.357-.629.37.141.737.293 1.098.454 1.088.487 1.793 1.576 1.933 2.82l.28 2.494c.089.79.472 1.495 1.011 2.034.54.54 1.245.923 2.034 1.011l2.497.28c1.24.14 2.329.843 2.816 1.93.162.361.314.727.455 1.098.425 1.114.153 2.382-.628 3.359l-1.567 1.961c-.496.62-.725 1.391-.725 2.155 0 .764.229 1.534.724 2.155l1.57 1.966c.779.974 1.052 2.239.63 3.35-.139.37-.289.735-.45 1.095-.485 1.092-1.576 1.8-2.821 1.94l-2.49.279c-.79.088-1.495.471-2.034 1.01-.54.54-.922 1.246-1.011 2.035l-.28 2.496c-.14 1.241-.843 2.33-1.93 2.817-.361.162-.727.314-1.097.455-1.114.425-2.383.152-3.36-.628l-1.961-1.567c-.62-.496-1.391-.725-2.155-.725-.763 0-1.534.228-2.154.724l-1.966 1.57c-.975.778-2.24 1.051-3.352.63-.369-.14-.733-.29-1.094-.45-1.092-.485-1.8-1.576-1.939-2.822l-.28-2.486c-.088-.791-.472-1.499-1.013-2.04-.538-.538-1.24-.92-2.025-1.013l-2.52-.295Z",fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M46.465 56.37a8.582 8.582 0 1 0 0-17.164 8.582 8.582 0 0 0 0 17.164Z",fill:"#fff"}),v.jsx("path",{d:"M51.5 47.5a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z",fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M50.5 47.5a4 4 0 0 0-4-4",stroke:"#fff",strokeWidth:.727}),v.jsx("path",{d:"M40.972 76.82c-7.282-.905-12.4-3.79-17.416-9.146a31.386 31.386 0 0 1 15.43-51.937M50.315 15.288a31.171 31.171 0 0 1 3.576 61.205",stroke:"#000",strokeWidth:2,strokeLinecap:"round"}),v.jsx("path",{d:"m53.577 20.508-3.959-4.679 5.316-3.05M38.581 72.113l3.34 5.139-5.657 2.358",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m50.389 31.944 1.258-1.005c.496-.396 1.155-.546 1.748-.32.172.065.343.136.51.21.58.26.941.832 1.012 1.463l.18 1.6",stroke:"#fff"})]});h.forwardRef(iG);const aG=(e,t)=>v.jsxs("svg",{width:88,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M24.82 11.5c7.632 0 13.82 6.186 13.82 13.816 0 7.5-5.979 13.6-13.43 13.807 0 .634.027 1.833.386 2.557.499 1.004 3.487 2.873 6.418 2.873h1.053c.661-4.71 4.706-8.335 9.6-8.335 4.875 0 8.908 3.595 9.594 8.278h5.447c.687-4.683 4.72-8.278 9.594-8.278 5.356 0 9.698 4.34 9.698 9.695s-4.342 9.696-9.698 9.696c-4.874 0-8.908-3.596-9.594-8.279h-5.447c-.686 4.683-4.719 8.279-9.593 8.279-4.865 0-8.893-3.582-9.59-8.252l-1.165.035c-1.917-.015-3.942-.527-5.568-1.632-.444-.301-.88-.618-1.336-.918v.63c-.003.203-.04 3.263-.042 6.66v.72c.001 2.227.019 4.522.071 6.197.115 3.673 3.103 6.637 6.4 7.331.428.09 1.165.102 1.63.062.662-4.71 4.707-8.333 9.6-8.333 5.355 0 9.697 4.34 9.697 9.696 0 5.354-4.342 9.695-9.697 9.695-4.84 0-8.85-3.543-9.579-8.176h-.839c-6.3-.344-10.216-6.122-10.148-10.809.086-5.898.021-11.798.02-17.697v-1.95C15.782 37.612 11 32.022 11 25.315c0-7.63 6.187-13.816 13.82-13.816Zm17.848 49.443a6.862 6.862 0 1 0 0 13.723 6.862 6.862 0 1 0 0-13.723Zm0-21.891a6.862 6.862 0 1 0 0 13.722 6.862 6.862 0 1 0 0-13.722Zm24.634 0a6.862 6.862 0 1 0 0 13.722 6.862 6.862 0 1 0 0-13.722Zm3.909 3.972c.54.54.555 1.405.043 1.961l-.04.044-4.206 4.213a1.418 1.418 0 0 1-1.953.052l-.044-.043-2.059-2.026a1.417 1.417 0 0 1 1.945-2.06l.044.04 1.055 1.039 3.21-3.217a1.417 1.417 0 0 1 2.005-.003Zm-24.748-.02c.54.538.555 1.404.044 1.96l-.041.044-4.205 4.214a1.418 1.418 0 0 1-1.953.05l-.045-.041-2.058-2.027a1.417 1.417 0 0 1 1.945-2.06l.044.041 1.054 1.038 3.21-3.217a1.418 1.418 0 0 1 2.005-.002ZM24.82 14.334c-6.067 0-10.985 4.917-10.985 10.982 0 6.066 4.918 10.982 10.985 10.982 6.067 0 10.985-4.916 10.985-10.982 0-6.065-4.918-10.982-10.985-10.982Zm-1.143 4.418a191.541 191.541 0 0 1 6.84 4.309c1.884 1.242 1.879 3.496-.026 4.742a156.944 156.944 0 0 1-6.976 4.308c-1.922 1.12-4.073-.167-4.126-2.408-.033-1.445-.006-2.89-.008-4.336-.001-1.407-.029-2.813.005-4.219.058-2.384 2.252-3.626 4.29-2.396Zm-1.524 2.288v4.829c0 1.091 0 2.164.002 3.238.001.505.264.485.604.274 1.961-1.216 3.923-2.43 5.885-3.642.325-.2.334-.41.016-.61-2.102-1.325-4.207-2.645-6.507-4.09Z",fill:"#4A7EBF"}),v.jsx("path",{d:"M45.348 69.217a1.417 1.417 0 1 0 0-2.835 1.417 1.417 0 0 0 0 2.835ZM39.921 69.217a1.417 1.417 0 1 0 0-2.834 1.417 1.417 0 0 0 0 2.834ZM67.302 74.666a6.862 6.862 0 1 1 0-13.722 6.862 6.862 0 1 1 0 13.722Zm0-16.557c-4.874 0-8.908 3.596-9.594 8.279h-1.586c-.692 0-1.254.634-1.254 1.417s.562 1.417 1.254 1.417h1.586c.687 4.683 4.72 8.278 9.594 8.278 5.356 0 9.698-4.34 9.698-9.695s-4.342-9.696-9.698-9.696Z",fill:"#85B3DF"})]});h.forwardRef(aG);const sG=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m11.972 6.716-1.478-5.714a.671.671 0 0 0-.22-.352.639.639 0 0 0-1.02.29L8.139 4.014H3.86L2.746.94a.666.666 0 0 0-.25-.329.636.636 0 0 0-.77.038.671.671 0 0 0-.22.352L.028 6.716a.923.923 0 0 0 .026.539.894.894 0 0 0 .32.426l5.133 3.657a.833.833 0 0 0 .986 0l5.132-3.657a.895.895 0 0 0 .32-.426.924.924 0 0 0 .027-.539ZM6 10.608.868 6.945l1.304-5.04.986 2.71a.45.45 0 0 0 .16.209.43.43 0 0 0 .246.08h4.872a.43.43 0 0 0 .247-.08.45.45 0 0 0 .16-.21l.985-2.709 1.305 5.04L6 10.608Z",fill:"#5C5775"})}),lG=h.forwardRef(sG),cG=(e,t)=>v.jsxs("svg",{viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m74.935 37.604-.09-.23-8.711-22.733a2.269 2.269 0 0 0-2.252-1.427 2.333 2.333 0 0 0-1.31.49 2.332 2.332 0 0 0-.774 1.173l-5.881 17.995H32.1l-5.882-17.995a2.287 2.287 0 0 0-.773-1.176 2.333 2.333 0 0 0-2.666-.143 2.29 2.29 0 0 0-.896 1.08L13.155 37.36l-.086.23a16.176 16.176 0 0 0 5.365 18.695l.03.023.08.057 13.27 9.937 6.564 4.969 4 3.019a2.689 2.689 0 0 0 3.252 0l3.998-3.02 6.565-4.968 13.35-9.997.033-.027a16.183 16.183 0 0 0 5.359-18.675Z",fill:"#E24329"}),v.jsx("path",{d:"m74.935 37.601-.09-.23a29.425 29.425 0 0 0-11.714 5.265L44 57.102c6.515 4.929 12.187 9.211 12.187 9.211l13.35-9.997.032-.027a16.182 16.182 0 0 0 5.366-18.688Z",fill:"#FC6D26"}),v.jsx("path",{d:"m31.814 66.316 6.564 4.969 4 3.019a2.69 2.69 0 0 0 3.252 0l3.998-3.02 6.565-4.968S50.515 62.021 44 57.106a9410.267 9410.267 0 0 0-12.186 9.21Z",fill:"#FCA326"}),v.jsx("path",{d:"M24.865 42.638a29.388 29.388 0 0 0-11.71-5.279l-.086.23a16.176 16.176 0 0 0 5.365 18.695l.03.023.08.057 13.27 9.937L44 57.091 24.865 42.638Z",fill:"#FC6D26"})]});h.forwardRef(cG);const uG=(e,t)=>v.jsx("svg",{width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m16.672 8.563-6.25-5.68a.625.625 0 0 0-.844 0l-6.25 5.68a.648.648 0 0 0-.203.46v7.227a.625.625 0 0 0 .625.625h12.5a.625.625 0 0 0 .625-.625V9.023a.648.648 0 0 0-.203-.46v0Z",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"})}),dG=h.forwardRef(uG),fG=(e,t)=>v.jsx("svg",{width:25,height:25,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.208 3.125v4.167-4.167ZM3.125 5.208h4.167-4.167Zm3.125 12.5v4.167-4.167Zm-2.083 2.084h4.166-4.166Zm9.375-16.667 2.38 7.143 5.953 2.232-5.952 2.232-2.381 7.143-2.382-7.143L5.208 12.5l5.952-2.232 2.382-7.143Z",stroke:"#3D51E7",strokeWidth:2.083,strokeLinecap:"round",strokeLinejoin:"round"})}),pG=h.forwardRef(fG),hG=(e,t)=>v.jsxs("svg",{width:514,height:164,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:101,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:101,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:21,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:141,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:193,cy:82,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:313,cy:82,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M1 102c0-11.046 8.954-20 20-20h120c11.046 0 20 8.954 20 20s-8.954 20-20 20H21c-11.046 0-20-8.954-20-20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M101 162c-11.046 0-20-8.954-20-20V22c0-11.046 8.954-20 20-20s20 8.954 20 20v120c0 11.046-8.954 20-20 20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M7.142 115.996c-7.81-7.811-7.81-20.474 0-28.285L86.711 8.143c7.81-7.81 20.473-7.81 28.284 0 7.81 7.81 7.81 20.474 0 28.284l-79.569 79.569c-7.81 7.81-20.473 7.81-28.284 0Z",stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:453,cy:22,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:453,cy:142,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:373,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:493,cy:102,r:20,stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M353 102c0-11.046 8.954-20 20-20h120c11.046 0 20 8.954 20 20s-8.954 20-20 20H373c-11.046 0-20-8.954-20-20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M453 162c-11.046 0-20-8.954-20-20V22c0-11.046 8.954-20 20-20s20 8.954 20 20v120c0 11.046-8.954 20-20 20Z",stroke:"#667085",strokeWidth:2}),v.jsx("path",{d:"M359.142 115.996c-7.81-7.811-7.81-20.474 0-28.285l79.569-79.568c7.81-7.81 20.473-7.81 28.284 0 7.81 7.81 7.81 20.474 0 28.284l-79.569 79.569c-7.81 7.81-20.473 7.81-28.284 0Z",stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:82,r:80,stroke:"#667085",strokeWidth:2}),v.jsx("circle",{cx:253,cy:82,r:40,stroke:"#667085",strokeWidth:2}),v.jsx("path",{stroke:"#667085",strokeWidth:2,d:"M0 1h513M0 163h513"})]});h.forwardRef(hG);const mG=(e,t)=>v.jsxs("svg",{width:514,height:318,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#icon-500_svg__a)",children:[v.jsx("path",{d:"M137.699 80.105h-63.77v.91h63.77v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M92.149 71.905h-.912v8.427h.912v-8.427ZM119.934 71.905h-.911v8.427h.911v-8.427ZM115.835 34.554H52.064v.91h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M98.525 35.237h-.91v8.427h.91v-8.427ZM70.74 35.237h-.911v8.427h.91v-8.427ZM216.957 98.325h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M171.407 90.126h-.911v8.427h.911v-8.427ZM199.192 90.126h-.911v8.427h.911v-8.427ZM195.093 52.774h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M177.784 53.458h-.911v8.427h.911v-8.427ZM149.998 53.458h-.911v8.427h.911v-8.427ZM191.904 253.197h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M146.354 244.998h-.911v8.427h.911v-8.427ZM174.14 244.998h-.911v8.427h.911v-8.427ZM170.04 207.646h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M152.731 208.33h-.911v8.427h.911v-8.427ZM124.945 208.33h-.911v8.427h.911v-8.427ZM162.752 154.808h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M117.201 146.608h-.911v8.427h.911v-8.427ZM144.987 146.608h-.911v8.427h.911v-8.427ZM140.888 109.257H77.117v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M123.578 109.94h-.911v8.427h.911v-8.427ZM95.793 109.94h-.911v8.427h.91v-8.427ZM116.746 224.045h-63.77v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M71.195 215.846h-.91v8.427h.91v-8.427ZM98.981 215.846h-.91v8.427h.91v-8.427ZM94.882 178.494H31.11v.911h63.77v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M77.572 179.178h-.91v8.427h.91v-8.427ZM49.786 179.178h-.91v8.427h.91v-8.427ZM434.233 80.105h-63.77v.91h63.77v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M388.683 71.905h-.911v8.427h.911v-8.427ZM416.469 71.905h-.911v8.427h.911v-8.427ZM412.369 34.554h-63.771v.91h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M395.06 35.237h-.911v8.427h.911v-8.427ZM367.274 35.237h-.911v8.427h.911v-8.427ZM513.491 98.325H449.72v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M467.941 90.126h-.911v8.427h.911v-8.427ZM495.727 90.126h-.911v8.427h.911v-8.427ZM491.627 52.774h-63.771v.911h63.771v-.91Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M474.318 53.458h-.911v8.427h.911v-8.427ZM446.532 53.458h-.911v8.427h.911v-8.427ZM488.439 253.197h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M442.888 244.998h-.911v8.427h.911v-8.427ZM470.674 244.998h-.911v8.427h.911v-8.427ZM466.574 207.646h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M449.265 208.33h-.911v8.427h.911v-8.427ZM421.479 208.33h-.911v8.427h.911v-8.427ZM459.286 154.808h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M413.736 146.608h-.911v8.427h.911v-8.427ZM441.521 146.608h-.911v8.427h.911v-8.427ZM437.422 109.257h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M420.113 109.94h-.911v8.427h.911v-8.427ZM392.327 109.94h-.911v8.427h.911v-8.427ZM413.28 224.045h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M367.73 215.846h-.911v8.427h.911v-8.427ZM395.515 215.846h-.911v8.427h.911v-8.427ZM391.416 178.494h-63.771v.911h63.771v-.911Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M374.107 179.178h-.911v8.427h.911v-8.427ZM346.321 179.178h-.911v8.427h.911v-8.427Z",fill:"#F0F1F5"}),v.jsxs("g",{filter:"url(#icon-500_svg__b)",children:[v.jsx("path",{d:"M254.423.889h-88.596v125.719h88.596V.888Z",fill:"#393649"}),v.jsx("path",{d:"M166.327 126.108V1.388h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__c)",children:[v.jsx("path",{d:"M368.072 151.661h-88.596v125.72h88.596v-125.72Z",fill:"#393649"}),v.jsx("path",{d:"M279.976 276.881v-124.72h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__d)",children:[v.jsx("path",{d:"M368.072.889h-88.596v125.719h88.596V.888Z",fill:"#393649"}),v.jsx("path",{d:"M279.976 126.108V1.388h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__e)",children:[v.jsx("path",{d:"M254.423 151.661h-88.596v125.72h88.596v-125.72Z",fill:"#393649"}),v.jsx("path",{d:"M166.327 276.881v-124.72h87.596v124.72h-87.596Z",stroke:"#22212C"})]}),v.jsx("path",{d:"M483 277H47v1h436v-1Z",fill:"#393649"}),v.jsx("path",{d:"M47.5 308.635V267.5h62.771v41.141a.495.495 0 0 1-.342.471c-28.394 9.187-57.365 1.38-62.11-.022a.454.454 0 0 1-.319-.455Z",fill:"#393649",stroke:"#22212C"}),v.jsx("path",{d:"M78.826 272.103c17.358 0 31.43-2.142 31.43-4.783 0-2.642-14.072-4.783-31.43-4.783-17.359 0-31.43 2.141-31.43 4.783 0 2.641 14.071 4.783 31.43 4.783Z",fill:"#22212C"}),v.jsxs("g",{filter:"url(#icon-500_svg__f)",children:[v.jsx("path",{d:"M115.361 219.48c-7.929 29.309-35.087 47.461-35.087 47.461s-14.302-29.368-6.374-58.677c7.93-29.309 35.087-47.461 35.087-47.461s14.303 29.368 6.374 58.677Z",fill:"#393649"}),v.jsx("path",{d:"M114.878 219.349c-3.935 14.545-12.647 26.34-20.396 34.508a106.201 106.201 0 0 1-10.155 9.401 80.709 80.709 0 0 1-3.165 2.442c-.274.2-.504.365-.685.493-.092-.202-.208-.46-.343-.771a81.05 81.05 0 0 1-1.503-3.705 106.236 106.236 0 0 1-4.03-13.238c-2.574-10.961-4.153-25.539-.218-40.084 3.935-14.545 12.648-26.34 20.397-34.508a106.238 106.238 0 0 1 10.154-9.401 80.732 80.732 0 0 1 3.165-2.442c.274-.2.504-.365.685-.493.092.202.208.46.344.771.372.853.897 2.107 1.502 3.705a106.136 106.136 0 0 1 4.03 13.238c2.575 10.961 4.153 25.539.218 40.084Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__g)",children:[v.jsx("path",{d:"M43.231 219.48c7.93 29.309 35.087 47.461 35.087 47.461s14.303-29.368 6.374-58.677c-7.929-29.309-35.086-47.461-35.086-47.461s-14.303 29.368-6.375 58.677Z",fill:"#3D51E7"}),v.jsx("path",{d:"M49.808 161.551c.181.128.41.293.685.493a80.697 80.697 0 0 1 3.165 2.442 106.213 106.213 0 0 1 10.155 9.401c7.749 8.168 16.462 19.963 20.396 34.508 3.935 14.545 2.357 29.123-.218 40.084a106.219 106.219 0 0 1-4.03 13.238 81.07 81.07 0 0 1-1.502 3.705c-.136.311-.252.569-.344.771a57.1 57.1 0 0 1-.685-.493 80.697 80.697 0 0 1-3.165-2.442 106.213 106.213 0 0 1-10.154-9.401c-7.75-8.168-16.462-19.963-20.397-34.508-3.934-14.545-2.356-29.123.218-40.084a106.219 106.219 0 0 1 4.03-13.238 81.07 81.07 0 0 1 1.503-3.705c.135-.311.251-.569.343-.771Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__h)",children:[v.jsx("path",{d:"M54.882 213.181c21.757 21.179 24.414 53.736 24.414 53.736s-32.617-1.781-54.373-22.96C3.166 222.778.509 190.221.509 190.221s32.617 1.781 54.373 22.96Z",fill:"#393649"}),v.jsx("path",{d:"M54.533 213.539c10.797 10.51 16.868 23.858 20.238 34.602a106.273 106.273 0 0 1 3.278 13.444 81.63 81.63 0 0 1 .594 3.953c.042.337.074.618.097.838a63.41 63.41 0 0 1-.84-.074 82.163 82.163 0 0 1-3.968-.489 106.101 106.101 0 0 1-13.527-2.915c-10.83-3.08-24.337-8.789-35.133-19.299-10.797-10.51-16.868-23.859-20.238-34.602a106.273 106.273 0 0 1-3.277-13.444 81.684 81.684 0 0 1-.595-3.953 54.075 54.075 0 0 1-.098-.838c.222.017.503.042.84.074.928.09 2.279.241 3.969.489a106.24 106.24 0 0 1 13.527 2.914c10.83 3.081 24.337 8.79 35.133 19.3Z",stroke:"#22212C"})]}),v.jsxs("g",{filter:"url(#icon-500_svg__i)",children:[v.jsx("path",{d:"M103.71 213.181c-21.756 21.179-24.414 53.736-24.414 53.736s32.617-1.781 54.374-22.96c21.756-21.179 24.414-53.736 24.414-53.736s-32.617 1.781-54.374 22.96Z",fill:"#393649"}),v.jsx("path",{d:"M157.528 190.762c-.024.22-.056.501-.097.838-.115.924-.302 2.27-.595 3.953a106.303 106.303 0 0 1-3.278 13.444c-3.37 10.743-9.44 24.092-20.237 34.602-10.797 10.51-24.304 16.219-35.134 19.299a106.101 106.101 0 0 1-13.527 2.915c-1.69.248-3.04.399-3.968.489-.338.032-.62.056-.84.074.023-.22.055-.501.097-.838.114-.924.302-2.27.595-3.953a106.273 106.273 0 0 1 3.278-13.444c3.37-10.744 9.44-24.092 20.237-34.602 10.797-10.51 24.303-16.219 35.133-19.3a106.236 106.236 0 0 1 13.528-2.914 82.15 82.15 0 0 1 3.968-.489c.337-.032.619-.057.84-.074Z",stroke:"#22212C"})]}),v.jsx("path",{d:"M79.281 170.792c5.535 0 10.021-4.486 10.021-10.021 0-5.534-4.486-10.021-10.02-10.021-5.535 0-10.022 4.487-10.022 10.021 0 5.535 4.487 10.021 10.021 10.021Z",fill:"#3D51E7"}),v.jsx("path",{d:"M200.901 69.67a1.367 1.367 0 1 0 0-2.733 1.367 1.367 0 0 0 0 2.734ZM220.032 58.282a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM182.456 21.911a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM300.201 81.058a.456.456 0 1 0 0-.912.456.456 0 0 0 0 .912ZM295.191 217.254a.456.456 0 1 0-.001-.911.456.456 0 0 0 .001.911ZM199.079 248.683a.455.455 0 1 0 .002-.91.455.455 0 0 0-.002.91ZM333.453 97a.456.456 0 1 0 0-.91.456.456 0 0 0 0 .91ZM328.898 58.738a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM313.411 181.724a.455.455 0 1 0 .002-.91.455.455 0 0 0-.002.91ZM288.814 113.398a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM292.458 49.173a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM232.456 20.911a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91ZM333.909 23.209a.455.455 0 1 0-.001-.911.455.455 0 0 0 .001.91ZM199.99 207.688a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM239.164 242.307a.456.456 0 1 0-.001-.911.456.456 0 0 0 .001.911ZM189.058 173.525a.456.456 0 1 0 0-.911.456.456 0 0 0 0 .911ZM200.446 113.398a.455.455 0 1 0 0-.91.455.455 0 0 0 0 .91Z",fill:"#fff"}),v.jsx("path",{opacity:.1,d:"m200.446 113.398 53.977-23.262v6.158l-53.977 17.104ZM368.072 41.16v19.118l-88.596 28.077v-9.014l88.596-38.18ZM226.883 180.805l27.54-15.173v2.109c-15.4 7.456-27.002 12.818-27.54 13.064ZM279.786 151.661h6.946a881.102 881.102 0 0 1-7.256 3.703v-3.53l.31-.173ZM334.365 121.598c-.21 1.207-1.8 2.919-4.446 5.01h-4.651l9.097-5.01ZM368.072 203.298v3.216c-23.65 11.802-45.255 21.782-45.988 22.119l45.988-25.335Z",fill:"#fff"})]}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"icon-500_svg__b",x:154.808,y:-7.463,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__c",x:268.457,y:143.309,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__d",x:268.457,y:-7.463,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__e",x:154.808,y:143.309,width:110.634,height:147.757,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__f",x:60.487,y:152.451,width:68.287,height:128.176,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__g",x:29.818,y:152.451,width:68.287,height:128.176,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__h",x:-10.51,y:181.869,width:100.825,height:98.734,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsxs("filter",{id:"icon-500_svg__i",x:68.277,y:181.869,width:100.825,height:98.734,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2063_20454"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2063_20454",result:"shape"})]}),v.jsx("clipPath",{id:"icon-500_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.509 .889)",d:"M0 0h512.983v316.222H0z"})})]})]});h.forwardRef(mG);const gG=(e,t)=>v.jsx("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M37 14.618c-12.932 0-23.418 10.329-23.418 23.07 0 10.193 6.71 18.84 16.015 21.89 1.17.214 1.6-.5 1.6-1.11 0-.55-.022-2.367-.032-4.294-6.515 1.395-7.89-2.722-7.89-2.722-1.065-2.667-2.6-3.376-2.6-3.376-2.124-1.432.16-1.402.16-1.402 2.352.163 3.59 2.377 3.59 2.377 2.089 3.527 5.479 2.507 6.815 1.918.21-1.491.817-2.509 1.487-3.085-5.202-.583-10.67-2.562-10.67-11.401 0-2.519.915-4.577 2.413-6.192-.243-.581-1.044-2.928.227-6.105 0 0 1.967-.62 6.442 2.364 1.868-.51 3.87-.767 5.861-.776 1.99.009 3.995.265 5.867.776 4.47-2.985 6.433-2.364 6.433-2.364 1.275 3.177.473 5.524.23 6.105 1.501 1.615 2.41 3.673 2.41 6.192 0 8.86-5.478 10.812-10.693 11.383.84.716 1.588 2.12 1.588 4.272 0 3.086-.027 5.57-.027 6.33 0 .615.422 1.334 1.609 1.107 9.3-3.053 16-11.698 16-21.887 0-12.741-10.484-23.07-23.417-23.07Z",fill:"#202020"})}),vG=h.forwardRef(gG),yG=(e,t)=>v.jsx("svg",{width:14,height:15,xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.502a5.998 5.998 0 1 0 0 11.996A5.998 5.998 0 0 0 7 1.502ZM.002 7.5a6.998 6.998 0 1 1 13.996 0 6.998 6.998 0 0 1-13.996 0Zm5.956-.541a.5.5 0 0 1 .5-.5H7a.5.5 0 0 1 .5.5v3.29h.041a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V7.46h-.042a.5.5 0 0 1-.5-.5Zm1.584-2.436a.677.677 0 1 1-1.354 0 .677.677 0 0 1 1.354 0Z"})}),bG=h.forwardRef(yG),wG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("circle",{cx:6,cy:6.5,r:5.55,stroke:"#242627",strokeWidth:.9}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 3.5a.6.6 0 0 1 .6.6v3a.6.6 0 0 1-1.2 0v-3a.6.6 0 0 1 .6-.6Zm-.564 5.56a.6.6 0 0 1 .6-.6h.008a.6.6 0 0 1 0 1.2h-.008a.6.6 0 0 1-.6-.6Z",fill:"#242627"})]}),xG=h.forwardRef(wG),SG=(e,t)=>v.jsxs("svg",{width:89,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.011 42.604c0 15.256-12.091 27.624-27.005 27.624S17.003 57.86 17.003 42.604c0-15.255 12.089-27.623 27.003-27.623S71.01 27.349 71.01 42.603Z",fill:"#D33833"}),v.jsx("path",{d:"M18.1 49.446S16.148 20.64 42.689 19.818l-1.853-3.088-14.404 4.813-4.09 4.733-3.6 6.894-2.057 8.025.618 5.349",fill:"#EF3D3A"}),v.jsx("path",{d:"M25.509 23.763c-4.74 4.849-7.671 11.543-7.671 18.947s2.935 14.1 7.671 18.945c4.735 4.843 11.273 7.837 18.497 7.837 7.223 0 13.756-2.991 18.497-7.837 4.74-4.847 7.67-11.543 7.67-18.945 0-7.401-2.935-14.1-7.67-18.947-4.736-4.846-11.274-7.837-18.497-7.837-7.224 0-13.757 2.991-18.497 7.837ZM24.311 62.83c-5.037-5.15-8.148-12.267-8.148-20.116 0-7.85 3.114-14.967 8.148-20.117 5.034-5.149 12.002-8.345 19.695-8.342 7.693.002 14.661 3.193 19.695 8.342 5.034 5.15 8.15 12.267 8.15 20.117 0 7.849-3.114 14.966-8.15 20.116-5.036 5.15-12.002 8.342-19.695 8.342S29.344 67.978 24.31 62.83Z",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m55.373 42.759-4.09.618-5.559.619-3.6.103-3.498-.103-2.676-.823-2.366-2.575-1.852-5.245-.41-1.131-2.468-.823-1.444-2.366-1.047-3.395 1.131-2.984 2.676-.926 2.16 1.03 1.03 2.262 1.235-.207.41-.515-.41-2.365-.103-2.984.618-4.09-.024-2.352 1.877-2.998 3.292-2.365 5.755-2.496 6.377.927 5.558 4.011 2.575 4.09 1.646 2.984.409 7.407-1.235 6.376-2.261 5.655-2.161 2.984",fill:"#F0D6B7"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m51.874 60.555-14.711.618v2.47l1.234 8.638-.618.721-10.285-3.496-.721-1.234-1.03-11.622-2.366-6.995-.515-1.646 8.23-5.655 2.574-1.03 2.262 2.777 1.954 1.75 2.262.721 1.028.308 1.234 5.35.926 1.13 2.366-.823-1.646 3.189 8.951 4.218-1.13.618",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m27.494 24.655 2.676-.926 2.161 1.03 1.03 2.262 1.234-.207.308-1.235-.618-2.365.618-5.66-.515-3.087 1.853-2.16 4.011-3.189-1.13-1.54-5.66 2.777-2.365 1.853-1.338 2.88-2.058 2.777-.618 3.292.41 3.498",fill:"#6D6B6D"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.71 14.983s1.54-3.807 7.717-5.655c6.177-1.848.308-1.338.308-1.338l-6.69 2.575-2.574 2.575-1.13 2.057 2.364-.207m-3.08 8.944s-2.16-7.202 6.072-8.23l-.309-1.234-5.654 1.338-1.646 5.35.409 3.498 1.128-.722Z",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m31.917 33.5 1.347-1.304a.866.866 0 0 0 .71.791c.104.722.41 7.202 4.813 10.7.404.32-3.292-.514-3.292-.514l-3.292-5.145m18.62-6.484s.24-3.119 1.083-2.878c.842.24.842 1.082.842 1.082s-2.04 1.319-1.92 1.8",fill:"#F7E4CD"}),v.jsx("path",{d:"M59.387 20.121s-1.696.361-1.853 1.853c-.156 1.492 1.853.308 2.161.207m-12.734-1.956s-2.262.308-2.262 1.749 2.575 1.338 3.292.722",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.945 26.914s-3.91-2.367-4.32-.103c-.408 2.264-1.337 3.91.619 6.275l-1.338-.409-1.234-3.188-.41-3.087 2.366-2.469 2.676.207 1.54 1.234.1 1.54Zm1.855-6.482s1.75-9.052 10.597-10.828c7.284-1.44 11.11.308 12.551 1.954 0 0-6.482-7.715-12.657-5.35-6.174 2.366-10.698 6.738-10.602 9.488l.104 4.734m23.87-7.82s-2.984-.104-3.087 2.574c.01.285.08.566.204.823 0 0 2.368-2.676 3.807-1.235m-13.988 1.511s-.512-4.105-4.013-1.718c-2.262 1.54-2.058 3.706-1.646 4.091.411.385.3 1.24.613.674s.21-2.42 1.343-2.936c1.133-.515 2.984-1.09 3.706-.132",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m35.929 44.094-9.673 4.322s4.01 15.946 1.953 20.886l-1.443-.515-.104-6.07-2.666-11.5-1.13-3.188 10.105-6.79 2.984 2.88m.972 8.794 1.372 1.675v6.172h-1.646l-.204-4.812c0-.515.204-2.366.204-2.366m.306 8.102-4.63.205 1.338.926 3.292.515",fill:"#49728B"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m52.802 60.658 3.806-.103.927 9.466-3.91.515-.823-9.878Z",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m53.831 60.659 5.761-.308 2.365-6.276c0-.308 2.058-8.638 2.058-8.638l-4.63-4.837-.926-.823-2.47 2.47v9.566l-2.16 8.848",fill:"#335061"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m56.404 59.94-3.6.721.515 2.88c1.337.619 3.6-1.03 3.6-1.03m-.414-20.573 7.201 5.35.207-2.47-5.452-5.04-1.956 2.16Z",fill:"#49728B"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m40.53 80.926-2.13-8.644-1.058-6.376-.176-4.733 9.64-.513h5.998l-.546 10.828.926 8.333-.103 1.54-7.82.618-4.733-1.03",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.461 60.555s-.514 10.7 1.03 18.288c0 0-3.087 1.953-7.613 2.468l8.638-.308 1.03-.618-1.234-16.873-.308-3.602",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m57.71 69.199 4.012-1.131 7.613-.41 1.131-3.498-2.057-6.07-2.366-.309-3.291 1.03-3.16 1.54-1.677-.308-1.307.513",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.638 67.137s2.675-1.234 3.087-1.13l-1.131-5.66 1.338-.515.926 5.967 6.276.308s1.234-2.365.926-4.812l1.131 3.292.104 1.853-1.646 2.468-1.853.41-3.087-.104-1.03-1.338-3.6.515-1.13.41",fill:"#DCD9D8"}),v.jsx("path",{d:"m53.593 59.831-2.262-5.76-2.365-3.393s.515-1.444 1.234-1.444h2.366l2.261.823-.204 3.807-1.03 5.968Z",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.035 57.883s-2.88-5.559-2.88-6.377c0 0 .515-1.234 1.234-.926.72.308 2.262 1.13 2.262 1.13v-1.953l-3.498-.722-2.366.308 4.011 9.466.823.104",fill:"#DCD9D8"}),v.jsx("path",{d:"m41.45 44.3-2.849-.313-2.675-.823v.926l1.306 1.444 4.091 1.853",fill:"#fff"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.855 44.61s3.188 1.337 4.218 1.03l.103 1.234-2.88-.616-1.75-1.235.309-.409",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.698 49.589c-1.744-.048-3.32-.258-4.704-.65.096-.565-.082-1.121.06-1.53.385-.277 1.03-.272 1.612-.337-.505-.248-1.21-.344-1.79-.202-.014-.392-.192-.635-.296-.943.982-.352 3.297-2.647 4.6-1.887.622.361.886 2.43.934 3.431.041.833-.072 1.675-.416 2.118Z",fill:"#D33833"}),v.jsx("path",{d:"M57.698 49.589c-1.744-.048-3.32-.258-4.704-.65.096-.565-.082-1.121.06-1.53.385-.277 1.03-.272 1.612-.337-.505-.248-1.21-.344-1.79-.202-.014-.392-.192-.635-.296-.943.982-.352 3.297-2.647 4.6-1.887.622.361.886 2.43.934 3.431.041.833-.072 1.675-.416 2.118Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.35 46.737-.014.399c-.546.361-1.425.354-2.021.654a5.21 5.21 0 0 1 2.177.554l-.038.999c-.999.683-1.91 1.703-3.087 2.343-.554.303-2.508 1.083-3.1.946-.337-.077-.365-.493-.498-.886-.284-.842-.938-2.172-.998-3.436-.073-1.595-.234-4.266 1.484-3.939 1.421.302 2.792.803 4.072 1.49.657.36 1.034.801 2.03.878",fill:"#D33833"}),v.jsx("path",{d:"m49.35 46.737-.014.399c-.546.361-1.425.354-2.021.654a5.21 5.21 0 0 1 2.177.554l-.038.999c-.999.683-1.91 1.703-3.087 2.343-.554.303-2.508 1.083-3.1.946-.337-.077-.365-.493-.498-.886-.284-.842-.938-2.172-.998-3.436-.073-1.595-.234-4.266 1.484-3.939 1.421.302 2.792.803 4.072 1.49.657.36 1.034.801 2.03.878l-.007-.002Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.342 48.64c-.152-.867-.33-1.117-.26-1.877 2.317-1.545 2.75 2.651.26 1.876Z",fill:"#D33833"}),v.jsx("path",{d:"M50.342 48.64c-.152-.867-.33-1.117-.26-1.877 2.317-1.545 2.75 2.651.26 1.876Z",stroke:"#D33833",strokeWidth:.514}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.699 49.342s-.722-1.03-.207-1.337c.515-.309 1.03 0 1.337-.515.308-.515 0-.823.104-1.444.103-.621.618-.722 1.13-.823.513-.101 1.955-.308 2.162.207l-.619-1.853-1.234-.409-3.91 2.262-.207 1.13v2.263m-9.385 3.912-.4-4.812c-.24-2.395.578-1.978 2.653-1.978.317 0 1.925.378 2.069.618.56 1.146-.962.89.65 1.757 1.338.729 3.7-.443 3.16-2.065-.304-.36-1.577-.113-2.034-.349l-2.411-1.251c-1.023-.53-3.386-1.304-4.476-.563-2.762 1.877.173 6.574 1.16 8.532",fill:"#EF3D3A"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.602 16.287c-2.804-.65-4.197 1.175-5.049 3.068-.758-.183-.481-1.215-.24-1.742.48-1.381 2.526-3.217 4.177-2.97.712.109 1.674.759 1.136 1.644m13.638 3.17.133.004c.632 1.316 1.203 2.712 1.98 3.85-.537 1.247-4.055 2.351-4.002.11.76-.331 2.074-.067 2.75-.492-.39-1.071-.952-1.983-.866-3.497m-12.223.082c.601 1.102.794 2.262 1.65 3.092.385.375 1.131.833.763 1.877-.263.402-.64.716-1.083.902-1.335.395-4.451.082-3.368-1.583 1.106.048 2.589.717 3.416-.084-.635-1.01-1.763-3.02-1.347-4.202m11.718 11.202c-2.011 1.292-4.254 2.695-7.55 2.372-.706-.611-.973-1.973-.29-2.875.357.61.133 1.74 1.127 1.908 1.87.32 4.047-1.143 5.39-1.656.835-1.407-.072-1.925-.823-2.83-1.54-1.852-3.602-4.153-3.528-6.93.621-.45.674.689.766.896.803 1.877 2.825 4.283 4.3 5.895.36.397.962.777 1.025 1.04.192.762-.498 1.674-.42 2.182m-26.54-1.364c-.63-.361-.78-1.945-1.52-1.99-1.06-.065-.867 2.057-.862 3.296-.73-.662-.857-2.695-.323-3.741-.608-.299-.883.33-1.22.553.433-3.157 4.62-1.444 3.923 1.884m27.804 2.647c-.963 1.78-2.262 3.744-5.01 3.802-.055-.578-.096-1.451.002-1.798 2.101-.202 3.4-1.27 5.008-2.004ZM46.879 33.16c1.752.922 4.974 1.02 7.356.95.128.523.125 1.167.13 1.805-3.063.152-6.682-.602-7.46-2.755m-.336 1.718c1.212 3.044 5.378 2.695 8.89 2.608-.153.395-.49.862-.906 1.03-1.126.481-4.23.806-5.792-.024-.992-.53-1.627-1.718-2.17-2.416-.241-.337-1.57-1.198-.02-1.203",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m58.617 51.69-4.47 7.086c.707-2.079 1.01-5.558 1.116-8.215 1.48-.693 2.748.157 3.354 1.131",fill:"#81B0C4"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.269 60.445c-1.593.318-2.712 1.868-4.264 1.767.854-1.204 2.348-1.685 4.264-1.767Zm.702 2.493c-1.299.137-2.822.347-4.138.24.625-.952 3.024-.625 4.138-.24Zm.45 2.147c-1.458.03-3.272.002-4.658-.113.818-.881 3.713-.328 4.658.113Z",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.871 70.964c.21 1.829.939 3.689.843 5.693-.806.272-1.27.51-2.351.506l-.236-5.937c.53.037 1.316-.38 1.742-.24",fill:"#DCD9D8"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.52 43.965c-.731.481-1.357 1.075-2.06 1.588-1.559.077-2.41-.108-3.556-1.003.02-.073.135-.041.137-.128 1.67.746 3.793-.303 5.48-.457Z",fill:"#F0D6B7"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.755 55.35c.457-1.989 2.257-3.018 3.888-4.116 1.685 2.142 2.71 4.885 3.838 7.542-2.666-.804-5.39-2.108-7.724-3.43",fill:"#81B0C4"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.132 71.228c-.068 1.625.158 4.236.235 5.937 1.083.002 1.545-.236 2.351-.506.092-2.006-.635-3.862-.842-5.693-.426-.113-1.21.301-1.742.24l-.002.022Zm-16.825-9.24c.712 6.55 1.745 12.032 3.638 17.855 4.202 1.275 9.264 1.386 12.98.236-.681-3.273-.385-7.26-.782-10.756l-.559-7.948c-4.5-.938-10.859-.217-15.275.606l-.002.008Zm16.363-.565c-.039 2.815.125 5.587.341 8.405l2.816-.49c-.325-2.713-.29-5.764-.95-8.163-.77.007-1.442-.01-2.207.248Zm5.479-.452c-.513-.12-1.107-.005-1.6.005l.962 7.23c.77.024 1.179-.337 1.817-.462.033-2.112-.186-5.024-1.203-6.773h.024Zm8.296 7.58c1.608-.39 2.616-2.359 2.166-4.38-.3-1.357-.837-3.915-1.413-4.784-.423-.642-1.576-1.484-2.495-.895-1.496.958-4.131 1.237-5.221 2.395.546 1.821.717 4.321.943 6.629 1.87.115 4.168-.515 5.722.154-1.083.351-2.493.353-3.429.866.765.37 2.56.296 3.73.012l-.003.002Zm-14.938-9.77c-1.13-2.654-2.153-5.404-3.838-7.541-1.631 1.095-3.428 2.124-3.888 4.114 2.334 1.324 5.06 2.623 7.724 3.43l.002-.003Zm2.782-8.217c-.106 2.654-.41 6.136-1.117 8.215 1.685-2.15 3.05-4.652 4.471-7.087-.606-.972-1.877-1.821-3.354-1.13v.002Zm-3.128-1.122c-.64-.072-1.18.734-2.014.385l-.558.645c1.836 2.214 2.647 5.352 4.09 7.95.76-2.497.674-5.233.842-7.96-1.044.068-1.624-.945-2.358-1.022l-.002.002Zm-2.029-2.675c-.067.758.109 1.005.26 1.877 2.49.78 2.055-3.417-.26-1.877Zm-2.762-.908a15.354 15.354 0 0 0-4.071-1.489c-1.718-.33-1.557 2.344-1.485 3.939.058 1.263.715 2.599.999 3.436.134.392.163.806.498.886.592.137 2.543-.643 3.099-.946 1.179-.643 2.089-1.684 3.087-2.344l.039-.998a5.313 5.313 0 0 0-2.178-.554c.602-.3 1.477-.296 2.021-.654l.015-.4c-.996-.077-1.372-.52-2.031-.878l.007.002Zm-10.25-1.862c-.89.905 2.497 2.137 3.578 2.204-.008-.573.327-1.112.26-1.523-1.283-.226-2.968-.077-3.836-.681h-.003Zm10.972.423c-.005.09-.12.056-.137.128 1.145.895 1.997 1.083 3.556 1.003l2.06-1.588c-1.684.152-3.81 1.199-5.48.457Zm10.072 3.056c-.048-1.005-.312-3.07-.933-3.43-1.304-.761-3.622 1.534-4.6 1.886.105.308.283.553.295.943.578-.145 1.287-.048 1.79.202-.582.065-1.203.06-1.612.337-.144.409.034.962-.06 1.53 1.381.39 2.96.597 4.704.65.337-.44.457-1.283.416-2.118Zm-22.546-2.603c-.28-.2-2.173-2.661-2.406-2.56-3.424 1.347-6.625 3.681-9.486 5.895 2.729 5.852 3.826 13.025 4.024 19.936 3.128 1.46 5.87 3.568 10.106 3.787l-1.218-9.837c-1.066-.45-2.594.02-3.59-.14-.01-1.202 1.523-.529 1.65-1.332.097-.611-.842-.657-.536-1.62.78.284 1.189.91 2.021 1.143.76-1.66-.01-4.6.097-6.015.024-.26.13-1.444.714-1.237.518.183-.029 3.152.024 4.463.048 1.21-.144 2.407.344 3.143 4.098-.558 8.261-.92 12.693-1.04-.974-.418-2.134-.818-3.404-1.53-.689-.385-2.86-1.196-3.056-1.853-.318-1.041.832-1.597 1.027-2.49-2.07 1.13-2.471-1.083-2.96-2.647-.442-1.42-.697-2.478-.803-3.297-1.78-.849-3.687-1.684-5.222-2.798l-.02.029Zm20.735-2.262c2.853-1.384 3.368 5.173 2.25 7.281.173.63.77.871 1.01 1.437l-4.98 8.333c1.207-.754 2.935-.135 4.33-.722.52-.205.895-1.396 1.29-2.346 1.083-2.618 2.219-5.92 2.724-8.422.113-.57.426-1.81.356-2.317-.125-.907-1.355-1.581-1.983-2.166l-3.08-2.916c-.488.721-1.535 1.203-1.934 1.79l.017.048ZM29.046 17.309c-1.36 1.497-1.075 4.298-.91 6.293 2.455-1.545 5.718.12 5.69 2.75 1.173-.031.437-1.468.225-2.39-.693-3.017 1.17-6.294.085-9.054-2.106.159-3.834 1.02-5.087 2.401h-.003Zm9.727-8.681c-3.08.87-7.022 3.108-8.285 5.87.98-.144 1.66-.634 2.623-.721.365-.024.842.154 1.263.048.835-.207 1.54-2.081 2.173-2.78.616-.68 1.354-.971 1.86-1.592.325-.157.806-.145.823-.633-.145-.152-.29-.24-.482-.24l.025.048Zm16.018.818c-3.193-1.798-8.6-3.153-11.998-1.46-2.743 1.366-6.448 3.628-7.712 6.496 1.18 2.767-.349 5.3-.447 8.109-.053 1.492.702 2.799.76 4.427-.404.667-1.636.746-2.493.703-.289-1.439-.794-3.056-2.271-3.22-2.094-.228-3.629 1.507-3.725 3.321-.113 2.132 1.636 5.667 4.12 5.421.957-.096 1.193-1.058 2.237-1.046.566 1.13-.873 1.484-1.02 2.29-.039.21.12 1.026.212 1.408.45 1.863 1.456 4.271 2.444 5.688 1.256 1.798 3.72 2.07 6.377 2.246.474-1.02 2.219-.939 3.357-.67-1.362-.538-2.63-1.847-3.682-3.007-1.203-1.328-2.43-2.755-2.49-4.493 2.278 3.162 4.163 5.925 8.306 7.315 3.135 1.052 6.8-.48 9.209-2.175 1-.703 1.597-1.819 2.31-2.84 2.659-3.85 3.898-9.287 3.628-14.581-.113-2.183-.108-4.355-.842-5.823-.765-1.535-3.354-2.912-4.87-1.521-.282-1.492 1.26-2.416 3.07-1.877-1.29-1.665-2.647-3.667-4.48-4.702v-.01Zm5.95 49.248c2.496-1.241 7.16-3.34 8.726.005.577 1.232 1.256 3.316 1.554 4.589.424 1.795-.481 5.568-2.303 6.172-1.629.53-3.532.5-5.496.106-.23-.193-.488-.53-.669-.876-1.402-.055-2.714.072-3.82.65.105 1.034-.597 1.203-1.252 1.42-.488 1.931.975 4.456.626 6.217-.25 1.256-1.795 1.449-2.929 1.684-.036.722.048 1.28.128 1.87-.26.955-1.425 1.502-2.527 1.636-3.628.433-9.139.633-12.633-.625-.974-2.39-1.742-5.294-2.55-8.025-3.405.36-6.16-1.468-8.754-2.671-.9-.416-2.166-.65-2.479-1.362-.324-.693-.192-2.021-.271-3.272-.205-3.2-.385-6.293-1.204-9.573-.38-1.472-1.042-2.767-1.504-4.186-.425-1.314-1.171-2.936-1.366-4.25-.289-1.942 1.54-2.05 2.71-2.892 1.804-1.3 3.224-2.021 5.185-3.196.577-.349 2.329-1.203 2.526-1.636.395-.804-.678-1.937-.962-2.567-.457-.997-.69-1.844-.756-2.828-1.643-.26-2.887-1.237-3.64-2.339-1.244-1.824-2.108-5.197-1.03-7.765.084-.202.48-.601.568-.91.12-.61-.232-1.424-.253-2.073-.113-3.338.565-6.208 2.81-7.22.915-3.608 4.175-4.836 7.25-6.645 1.15-.674 2.416-1.107 3.725-1.588 4.692-1.728 11.897-1.403 15.792 1.545 1.651 1.25 4.293 3.886 5.236 5.799 2.496 5.04 2.318 13.467.573 19.6-.233.824-.577 2.034-1.049 3.023-.332.69-1.36 2.07-1.234 2.683.127.63 2.346 2.315 2.822 2.774.857.826 2.483 1.925 2.616 2.965.144 1.107-.489 2.628-.809 3.698l-3.32 10.059",fill:"#231F20"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.09 33.966c.135-.18.88-.457 1.925.048 0 0-1.234.207-1.13 2.262l-.516-.103s-.53-1.867-.274-2.209",fill:"#F7E4CD"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.111 51.655a.565.565 0 1 1-1.13.002.565.565 0 0 1 1.13-.002Zm.564 2.647a.565.565 0 1 1-1.13.001.565.565 0 0 1 1.13 0Z",fill:"#1D1919"})]});h.forwardRef(SG);const EG=(e,t)=>v.jsx("svg",{width:16,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.333 0h1.334v1.333H3.333v3.334A1.333 1.333 0 0 1 2 6a1.333 1.333 0 0 1 1.333 1.333v3.334h1.334V12H3.333C2.62 11.82 2 11.4 2 10.667V8A1.333 1.333 0 0 0 .667 6.667H0V5.333h.667A1.333 1.333 0 0 0 2 4V1.333A1.333 1.333 0 0 1 3.333 0m9.334 0A1.333 1.333 0 0 1 14 1.333V4a1.334 1.334 0 0 0 1.333 1.333H16v1.334h-.667A1.333 1.333 0 0 0 14 8v2.667A1.334 1.334 0 0 1 12.667 12h-1.334v-1.333h1.334V7.333A1.333 1.333 0 0 1 14 6a1.333 1.333 0 0 1-1.333-1.333V1.333h-1.334V0h1.334ZM8 8a.667.667 0 1 1 0 1.333A.667.667 0 0 1 8 8M5.333 8a.667.667 0 1 1 0 1.333.667.667 0 0 1 0-1.333Zm5.334 0a.667.667 0 1 1 0 1.334.667.667 0 0 1 0-1.334Z",fill:"#242627"})}),_G=h.forwardRef(EG),CG=(e,t)=>v.jsx("svg",{width:6,height:10,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5 1 1.707 4.293a1 1 0 0 0 0 1.414L5 9",strokeLinecap:"round"})}),kG=h.forwardRef(CG),$G=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M10.8 6H1.2m0 0L6 10.8M1.2 6 6 1.2",stroke:"#3D51E7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef($G);const TG=(e,t)=>v.jsxs("svg",{width:17,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#lightning_svg__a)",children:v.jsx("path",{d:"m9.676 2.914-.8 3.929 3.2 1.178-5.6 5.893.8-3.929-3.2-1.178 5.6-5.893Z",fill:"#3D51E7",stroke:"url(#lightning_svg__b)",strokeWidth:.3,strokeLinecap:"round",strokeLinejoin:"round"})}),v.jsxs("defs",{children:[v.jsxs("linearGradient",{id:"lightning_svg__b",x1:.823,y1:-2.586,x2:13.521,y2:-1.874,gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{stopColor:"#7B8AFF"}),v.jsx("stop",{offset:1,stopColor:"#D2D6F3"})]}),v.jsx("clipPath",{id:"lightning_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.076 .414)",d:"M0 0h16v16H0z"})})]})]});h.forwardRef(TG);const AG=(e,t)=>v.jsx("svg",{width:16,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#3D51E7",ref:t,...e,children:v.jsx("path",{d:"M5 8.5h6M6.5 11.5H4a3 3 0 0 1 0-6h2.5M9.5 11.5H12a3 3 0 0 0 0-6H9.5",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(AG);const RG=(e,t)=>v.jsxs("svg",{width:12,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M6 12.5a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M6 6.704a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM7.818 9.54c.55 0 .869-.608.563-1.06C7.921 7.798 7.024 7.34 6 7.34c-1.025 0-1.92.458-2.381 1.14a.678.678 0 0 0 .563 1.06h3.636Z",fill:"#CACEDE"})]});h.forwardRef(RG);const FG=(e,t)=>v.jsxs("svg",{width:13,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("rect",{x:.667,width:12,height:12,rx:1.219,fill:"#F0F1F5"}),v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.952 12a4.286 4.286 0 0 0-8.572 0h8.572Z",fill:"#CACEDE"}),v.jsx("path",{d:"M6.667 2.536a2.25 2.25 0 0 1 2.25 2.25c0 1.218-.954 2.208-2.22 2.244h-.109a2.246 2.246 0 0 1-2.171-2.244 2.25 2.25 0 0 1 2.25-2.25Z",fill:"#CACEDE"})]});h.forwardRef(FG);const IG=(e,t)=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#131b37",viewBox:"0 0 160 170",ref:t,...e,children:v.jsxs("g",{"data-name":"logo mark black",children:[v.jsx("path",{"data-name":"Path 490",d:"M85.896 124.558c-32.451 8.953-43.967 22.134-58 28.367a95.078 95.078 0 0 0 97.149 6.9c-14.467-19.01-29.137-20.379-39.149-35.267"}),v.jsx("path",{"data-name":"Path 493",d:"M113.945 118.871c-5.7.8-10.94 1.713-15.8 2.716-.638.133-1.276.262-1.91.4q-5.015 1.1-9.976 2.429l-.5.14c10.012 14.888 24.684 16.257 39.149 35.27q3.071-1.551 6.01-3.317v-.221c-5.337-11.287-12.751-18.541-16.97-37.419",opacity:.6}),v.jsx("path",{"data-name":"Path 491",d:"M96.191 67.9a80.306 80.306 0 0 1 16.092-.344c.216 4.365 0 10.607 0 10.607s8.037-6.312 11.752 1.738c2.49 5.4-.686 13.879-10.928 20.767-.812.645-2.085 1.251-1.388 2.418s5.466-.432 9.41-1.762C136.11 96.277 160.38 86.055 160 72.584c-.127-4.444-3.314-7.9-7.519-10.541l-.192-.109c-26.211-14.809-68.477-6.691-68.477-6.691s12.675-8.57 16.528-22.6c3.237-11.782-.42-27.291-1.633-32-.159-.183-.182-.499-.32-.643C69.439 3.488 72.581 15.7 38.4 20.235c-6.248 13.631-6.848 36.888-6.891 44.4C28.717 65.707-1.35 75.148.047 91.895c1.442 14.8 34.469 16.837 34.469 16.837s-10.616-9.04-11.51-18.564c5.122 10.725 13.73 19.559 18.95 17.511s4.654-17.078 5.7-21.859 6.427-6.831 8.9-1.258c2.13 4.793 6.252 14.451 16.552 14.571a32.344 32.344 0 0 1-4.858-12.812c-1.2-11.191 6.206-15.4 11.366-16.485S96.191 67.9 96.191 67.9"}),v.jsx("path",{"data-name":"Path 492",d:"M131.202 54.677S105.609 8.45 98.327 0c1.216 4.711 5.2 20.858 1.953 32.641-3.864 14.032-16.578 22.602-16.578 22.602s24.318-4.657 47.537-.482Z",opacity:.6}),v.jsx("path",{"data-name":"Path 494",d:"M79.606 69.836c-5.175 1.083-12.6 5.293-11.4 16.484a32.286 32.286 0 0 0 4.877 12.814c.143 0 .284.007.43 0 .21 0 .416-.016.625-.026s.391-.015.593-.033c.146-.011.294-.032.442-.046a22.126 22.126 0 0 0 3.456-.652c13.573-3.669 16.8-20.879 17.49-28.977l.029-.374.031-.387.049-.745s-11.448.853-16.624 1.936",opacity:.6})]})}),PG=h.forwardRef(IG),OG=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M13 7.5H1m0 0 6 6m-6-6 6-6",stroke:"#344054",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),jG=h.forwardRef(OG),DG=(e,t)=>v.jsxs("svg",{width:136,height:145,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M68 140.835c37.113 0 67.199-31.079 67.199-69.418C135.199 33.08 105.113 2 67.999 2 30.888 2 .802 33.08.802 71.417c0 38.339 30.086 69.418 67.199 69.418Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#no-fixes-image_svg__a)",children:v.jsx("path",{d:"M29.433 8.5h77.134c.496 0 1.087.367 1.581 1.27.487.89.776 2.133.776 3.455v113.55c0 1.322-.289 2.564-.776 3.455-.494.903-1.085 1.27-1.581 1.27H29.433c-.496 0-1.087-.367-1.581-1.27-.487-.891-.776-2.133-.776-3.455V13.225c0-1.322.289-2.564.776-3.455.494-.903 1.085-1.27 1.581-1.27Z",fill:"#fff",stroke:"#F0F1F5"})}),v.jsx("path",{d:"M67.801 90c11.046 0 20-8.954 20-20s-8.954-20-20-20c-11.045 0-20 8.954-20 20s8.955 20 20 20Z",fill:"#3D51E7"}),v.jsx("path",{d:"m74.872 79.427-7.07-7.07-7.072 7.07-2.357-2.357L65.444 70l-7.07-7.072 2.356-2.357 7.071 7.071 7.071-7.07 2.357 2.356L70.16 70l7.07 7.071-2.357 2.357Z",fill:"#fff"}),v.jsx("defs",{children:v.jsxs("filter",{id:"no-fixes-image_svg__a",x:16.22,y:.15,width:103.559,height:144.712,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.506}),v.jsx("feGaussianBlur",{stdDeviation:5.178}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4696_37926"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4696_37926",result:"shape"})]})})]});h.forwardRef(DG);const MG=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M7.5 18h5M4.39 8.625A5.617 5.617 0 0 1 10.04 3c3.093.023 5.57 2.594 5.57 5.695v.555c0 2.797.585 4.422 1.1 5.313a.624.624 0 0 1-.538.937H3.828a.625.625 0 0 1-.539-.938c.516-.89 1.102-2.515 1.102-5.312v-.625Z",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(MG);const LG=(e,t)=>v.jsx("svg",{width:13,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsxs("g",{clipPath:"url(#owner-user_svg__clip0_2899_4276)",children:[v.jsx("path",{d:"M12.114 3.948v4.104c0 .672-.36 1.296-.942 1.638l-3.564 2.058a1.898 1.898 0 0 1-1.89 0L2.154 9.69a1.89 1.89 0 0 1-.942-1.638V3.948c0-.672.36-1.296.942-1.638L5.718.252a1.898 1.898 0 0 1 1.89 0l3.564 2.058c.582.342.942.96.942 1.638Z",fill:"#CACEDE"}),v.jsx("path",{d:"M6.668 6a1.398 1.398 0 1 0 0-2.796 1.398 1.398 0 0 0 0 2.796ZM8.275 8.795c.486 0 .768-.54.498-.942-.408-.606-1.2-1.014-2.106-1.014-.906 0-1.698.408-2.106 1.014a.603.603 0 0 0 .498.942h3.216Z",fill:"#F0F1F5"})]})});h.forwardRef(LG);const NG=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M5.5 10a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM9.712 3.619c.288-.078.584-.118.882-.119a3.25 3.25 0 1 1 0 6.5",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M1 12.338a5.5 5.5 0 0 1 9 0M10.594 10a5.494 5.494 0 0 1 4.5 2.338",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round"})]}),BG=h.forwardRef(NG),zG=(e,t)=>v.jsx("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3 10h14M10 3v14",stroke:"#666",strokeLinecap:"round"})});h.forwardRef(zG);const UG=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#policies_svg__a)",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M2.5 7.175V3.5A.5.5 0 0 1 3 3h10a.5.5 0 0 1 .5.5v3.673c0 5.261-4.457 7.005-5.346 7.3a.471.471 0 0 1-.308 0C6.956 14.18 2.5 12.438 2.5 7.174ZM2.54 8h10.92M8 3v11.5"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"policies_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),HG=h.forwardRef(UG),VG=(e,t)=>v.jsx("svg",{width:14,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.333.5v2.667V.5ZM1 1.833h2.667H1Zm2 8V12.5 9.833Zm-1.333 1.334h2.666-2.666ZM7.667.5 9.19 5.071 13 6.5 9.19 7.929 7.668 12.5 6.143 7.929 2.333 6.5l3.81-1.429L7.667.5Z",stroke:"#3D51E7",strokeLinecap:"round",strokeLinejoin:"round"})});h.forwardRef(VG);const WG=(e,t)=>v.jsxs("svg",{width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#projects_svg__a)",stroke:"#CACEDE",strokeLinecap:"round",strokeLinejoin:"round",children:[v.jsx("path",{d:"M17.64 17.376H2.386a.635.635 0 0 1-.636-.636V6.375h15.813a.687.687 0 0 1 .687.688v9.703a.61.61 0 0 1-.61.61Z"}),v.jsx("path",{d:"m7.643 10.403-1.768 1.473 1.768 1.473M12.357 10.403l1.768 1.473-1.768 1.473M11.178 8.633 8.82 15.116M1.75 6.374V4.312a.688.688 0 0 1 .688-.688h4.528a.679.679 0 0 1 .482.198L10 6.374"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"projects_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h20v20H0z"})})})]}),ZG=h.forwardRef(WG),GG=(e,t)=>v.jsx("svg",{width:11,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.227 7.145a1.527 1.527 0 1 0 0 3.055 1.527 1.527 0 0 0 0-3.055Zm0 0v-3.49m0 0a1.527 1.527 0 1 0 0-3.055 1.527 1.527 0 0 0 0 3.054Zm6.546 3.49a1.527 1.527 0 1 0 0 3.055 1.527 1.527 0 0 0 0-3.055Zm0 0V4.958a2.63 2.63 0 0 0-.77-1.855L5.938 1.036m0 0v2.182m0-2.182h2.181",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round"})}),XG=h.forwardRef(GG),qG=(e,t)=>v.jsx("svg",{width:6,height:8,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M2.479 5.69V3.872c.695-.023 1.237-.175 1.627-.458.39-.29.584-.695.584-1.216v-.212c0-.446-.145-.792-.435-1.038C3.965.703 3.567.58 3.063.58S2.154.707 1.85.96c-.298.252-.508.59-.63 1.015L.6 1.763c.076-.253.183-.487.32-.703.138-.216.31-.402.516-.558.207-.156.447-.279.722-.368.275-.09.584-.134.928-.134.718 0 1.283.186 1.695.558.413.372.62.874.62 1.506 0 .342-.062.644-.184.904-.115.26-.275.487-.481.68a2.624 2.624 0 0 1-.722.458 3.74 3.74 0 0 1-.882.234v1.35h-.653ZM2.834 8c-.244 0-.42-.048-.527-.145a.506.506 0 0 1-.149-.38V7.32c0-.148.05-.271.149-.368.107-.104.283-.156.527-.156.237 0 .405.052.504.156.107.097.16.22.16.368v.157a.487.487 0 0 1-.16.379c-.1.097-.267.145-.504.145Z",fill:"#CACEDE"})});h.forwardRef(qG);const KG=(e,t)=>v.jsx("svg",{width:12,stroke:"#3D51E7",height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M3.701 3.856h-2.5m0 0V1.238m0 2.618 1.77-1.85A4.526 4.526 0 0 1 5.32.693a4.395 4.395 0 0 1 2.65.273 4.637 4.637 0 0 1 2.058 1.767c.504.79.773 1.718.773 2.668 0 .95-.269 1.877-.773 2.667A4.637 4.637 0 0 1 7.97 9.835a4.395 4.395 0 0 1-2.65.272 4.526 4.526 0 0 1-2.347-1.315",strokeLinecap:"round",strokeLinejoin:"round"})}),YG=h.forwardRef(KG),QG=(e,t)=>v.jsx("svg",{width:6,height:10,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"m1 9 3.293-3.293a1 1 0 0 0 0-1.414L1 1",strokeLinecap:"round"})}),h$=h.forwardRef(QG),JG=(e,t)=>v.jsxs("svg",{width:92,height:92,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#scan_svg__a)",children:[v.jsx("rect",{x:24.834,y:24.832,width:42.053,height:42.053,rx:2.308,fill:"#3D51E7",stroke:"#000"}),v.jsx("path",{d:"M28.504 35.859a.392.392 0 0 0 .393-.393v-5.222a1.664 1.664 0 0 1 1.732-1.571h3.805a.393.393 0 0 0 0-.785h-3.805a2.45 2.45 0 0 0-2.517 2.356v5.222a.393.393 0 0 0 .392.393Z",fill:"#fff"}),v.jsx("path",{d:"M63.25 14.375h14.375V28.75M14.375 28.75V14.375H28.75",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"m40.245 42.352-4.212 3.51 4.212 3.51M51.477 42.352l4.211 3.51-4.211 3.51M48.668 38.14l-5.615 15.444",stroke:"#fff",strokeWidth:1.404,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("mask",{id:"scan_svg__b",fill:"#fff",children:v.jsx("path",{d:"M14.04 46.797h63.643v30.886H14.04V46.797Z"})}),v.jsx("path",{d:"M14.04 46.797h63.643v30.886H14.04V46.797Z",fill:"#DBE3FF",fillOpacity:.5}),v.jsx("path",{d:"M14.04 47.733h63.643V45.86H14.04v1.872Z",fill:"#000",mask:"url(#scan_svg__b)"}),v.jsx("path",{d:"M28.75 77.625H14.375V63.25M77.625 63.25v14.375H63.25",stroke:"#000",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"scan_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(14 14)",d:"M0 0h64v64H0z"})})})]});h.forwardRef(JG);const eX=(e,t)=>v.jsxs("svg",{width:37,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#scan-cli_svg__a)",children:[v.jsx("path",{d:"M23.7 31.53c-1.769.037-3.73.006-5.403-.021-.481-.008-.939-.015-1.361-.02v-.001h-.01c-1.859.07-4.473.098-6.755.043 1.989-1.398 2.758-3.631 2.898-5.203h7.685c.204 1.544.975 3.799 2.946 5.202Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.375}),v.jsx("path",{d:"M32.083 4.923v20.936c0 .538-.412.922-.875.922H2.813c-.489 0-.875-.41-.875-.922V4.923c0-.487.412-.923.875-.923h28.343c.54.026.927.436.927.923Z",fill:"#F5F9FF",stroke:"#000",strokeWidth:.618,strokeMiterlimit:10}),v.jsx("path",{d:"M31.773 4.923v17.705H2.248V4.923c0-.333.288-.614.565-.614h28.336c.38.021.624.302.624.614Z",fill:"#fff",stroke:"#000",strokeWidth:.618}),v.jsx("path",{d:"M16.96 25.525a.73.73 0 0 0 .746-.743.729.729 0 0 0-.746-.743.73.73 0 0 0-.746.743c0 .41.309.743.746.743Z",fill:"#000"}),v.jsx("path",{d:"M1.583 31.63h30.908",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M35.4 16.505c.747 0 1.338-.59 1.338-1.333s-.591-1.332-1.337-1.332-1.338.59-1.338 1.332c0 .743.592 1.333 1.338 1.333Z",fill:"#F1F3FA"}),v.jsx("path",{d:"M24.163 21.351H4.746c-.542 0-.943-.412-.943-.908V6.611c0-.496.401-.907.943-.907h19.417c.541 0 .942.411.942.907v13.825a.958.958 0 0 1-.942.915Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.618}),v.jsx("path",{d:"M3.835 8.82h21.547",stroke:"#000",strokeWidth:.618,strokeMiterlimit:10,strokeLinecap:"square",strokeLinejoin:"round"}),v.jsx("path",{d:"M5.453 7.668a.545.545 0 1 0 .001-1.09.545.545 0 0 0-.001 1.09ZM7.055 7.668a.545.545 0 1 0 .002-1.09.545.545 0 0 0-.002 1.09ZM8.693 7.668a.545.545 0 1 0 .001-1.09.545.545 0 0 0 0 1.09Z",fill:"#000"}),v.jsx("path",{d:"M8.5 10.678H5.42c-.193 0-.354-.16-.354-.288 0-.16.16-.288.353-.288H8.5c.193 0 .354.16.354.288 0 .16-.161.288-.354.288ZM7.763 15.64h-2.31c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h2.31c.193 0 .353.16.353.288-.032.128-.192.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M21.985 15.64h-5.033c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h5.033c.193 0 .353.16.353.288-.032.128-.192.288-.353.288ZM15.518 15.64H9.124c-.193 0-.353-.16-.353-.287 0-.16.16-.288.353-.288h6.394c.193 0 .353.16.353.288-.032.128-.192.288-.353.288ZM10.588 17.274H6.672c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h3.916c.192 0 .353.16.353.288a.376.376 0 0 1-.353.289ZM14.23 17.274h-2.214c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h2.214c.192 0 .353.16.353.288a.376.376 0 0 1-.353.289Z",fill:"#CACEDE"}),v.jsx("path",{d:"M9.945 18.874H5.419c-.192 0-.353-.16-.353-.288 0-.16.16-.288.353-.288h4.526c.192 0 .353.16.353.288 0 .16-.129.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M13.138 18.874h-1.803c-.192 0-.353-.16-.353-.288 0-.16.16-.288.354-.288h1.802c.193 0 .353.16.353.288 0 .16-.128.288-.353.288Z",fill:"#E2E3E9"}),v.jsx("path",{d:"M7.442 20.54H5.516c-.192 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h1.926c.192 0 .353.16.353.288 0 .16-.129.288-.353.288ZM9.08 20.54h-.417c-.193 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h.417c.192 0 .353.16.353.288 0 .16-.16.288-.353.288ZM6.35 14.04h-.93c-.193 0-.354-.16-.354-.289 0-.16.16-.288.353-.288h.931c.193 0 .353.16.353.288 0 .16-.16.288-.353.288ZM13.117 14.04H8.102c-.193 0-.353-.16-.353-.289 0-.16.16-.288.353-.288h5.015c.192 0 .353.16.353.288 0 .16-.16.288-.353.288ZM9.945 12.343H5.419c-.192 0-.353-.16-.353-.288 0-.16.16-.288.353-.288h4.526c.192 0 .353.16.353.288 0 .16-.129.288-.353.288Z",fill:"#CACEDE"}),v.jsx("path",{d:"M15.86 12.343h-4.524c-.193 0-.354-.16-.354-.288 0-.16.16-.288.354-.288h4.525c.192 0 .353.16.353.288 0 .16-.129.288-.353.288ZM19.095 12.343h-1.802c-.193 0-.354-.16-.354-.288 0-.16.16-.288.354-.288h1.802c.193 0 .353.16.353.288 0 .16-.128.288-.353.288Z",fill:"#F0F1F5"}),v.jsx("path",{d:"M33.868 19.54h-10.87a.684.684 0 0 1-.69-.687V7.32c0-.37.319-.688.69-.688H33.84c.398 0 .69.317.69.688v11.532c.026.396-.292.687-.663.687Z",fill:"#DBE3FF",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10}),v.jsx("path",{d:"M32.225 10.177H24.51a.464.464 0 0 1-.45-.45v-.872c0-.238.212-.45.45-.45h7.715c.239 0 .451.212.451.45v.873c.026.264-.186.45-.45.45ZM28.964 13.192h-4.56a.35.35 0 0 1-.344-.344v-1.084a.35.35 0 0 1 .344-.344h4.534a.35.35 0 0 1 .345.344v1.084c.026.185-.133.344-.319.344ZM32.437 13.192h-1.988a.237.237 0 0 1-.239-.238v-1.296c0-.132.106-.238.239-.238h1.988c.133 0 .239.106.239.238v1.296c.026.106-.107.238-.239.238Z",fill:"#fff"}),v.jsx("path",{d:"M24.06 15.203h8.643M24.06 16.552h8.643M24.06 17.9h4.374",stroke:"#000",strokeWidth:.531,strokeMiterlimit:10})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"scan-cli_svg__a",children:v.jsx("path",{fill:"#fff",transform:"translate(.5)",d:"M0 0h36v36H0z"})})})]});h.forwardRef(eX);const tX=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("g",{clipPath:"url(#search_svg__a)",stroke:"#9BA0B5",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10ZM10.536 10.536 14 14"})}),v.jsx("defs",{children:v.jsx("clipPath",{id:"search_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]});h.forwardRef(tX);const nX=(e,t)=>v.jsxs("svg",{width:20,height:21,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M10 14.25a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",stroke:"#fff",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M14.352 5.585c.198.183.385.37.562.563l2.133.305c.348.603.615 1.25.797 1.922L16.547 10.1s.023.531 0 .797l1.297 1.726a7.985 7.985 0 0 1-.797 1.922l-2.133.305s-.367.383-.562.563l-.305 2.132a8.062 8.062 0 0 1-1.922.797L10.4 17.046a4.532 4.532 0 0 1-.797 0l-1.727 1.297a7.986 7.986 0 0 1-1.922-.797l-.304-2.132a14.33 14.33 0 0 1-.563-.563l-2.133-.305a8.061 8.061 0 0 1-.797-1.921l1.297-1.727s-.023-.531 0-.797L2.156 8.375c.181-.673.449-1.32.797-1.922l2.133-.305c.182-.193.37-.38.563-.563l.304-2.132a8.062 8.062 0 0 1 1.922-.797l1.727 1.297c.265-.024.531-.024.797 0l1.726-1.297c.673.18 1.319.448 1.922.797l.305 2.132Z",stroke:"#fff",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})]});h.forwardRef(nX);const rX=(e,t)=>v.jsxs("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z",stroke:"#848AA4",strokeMiterlimit:10}),v.jsx("path",{d:"M6.231 6.231 9.77 9.77",stroke:"#848AA4",strokeLinecap:"round",strokeLinejoin:"round"})]}),oX=h.forwardRef(rX),iX=(e,t)=>v.jsxs("svg",{width:182,height:151,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M91.754 150.866c40.095 0 72.598-33.577 72.598-74.995 0-41.42-32.503-74.996-72.599-74.996-40.095 0-72.598 33.577-72.598 74.996 0 41.418 32.503 74.995 72.599 74.995Z"}),v.jsxs("g",{filter:"url(#snooze_svg__a)",children:[v.jsx("path",{d:"m22.53 117.952 18.297-84.17h101.621c.137 0 .256.091.29.224l21.8 83.571a.3.3 0 0 1-.29.375H22.531Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M40.827 33.781v-1.5h-1.209l-.257 1.182 1.466.318Zm101.911.224-1.451.38 1.451-.38Zm21.8 83.572 1.452-.379-1.452.379Zm-100.596.155 1.447-.398-1.446.398Zm-53-1.28a1.5 1.5 0 0 0 0 3v-3Zm13.054 1.819L42.293 34.1l-2.932-.637-18.296 84.171 2.931.637Zm16.831-82.99h101.621v-3H40.828v3Zm100.46-.897 21.8 83.571 2.903-.757-21.8-83.571-2.903.757Zm22.961 82.068H64.232v3h100.016v-3Zm-98.86.882-23.115-83.95-2.892.795 23.115 83.951 2.893-.796Zm-54.446 2.118H22.53v-3H10.943v3Zm11.588 0h41.702v-3H22.53v3Zm141.718 0h8.317v-3h-8.317v3Zm-100.016-3a1.2 1.2 0 0 1 1.157.882l-2.893.796a1.8 1.8 0 0 0 1.736 1.322v-3Zm98.855 1.503a1.2 1.2 0 0 1 1.161-1.503v3a1.8 1.8 0 0 0 1.742-2.254l-2.903.757Zm-20.639-82.674a1.2 1.2 0 0 1-1.161-.897l2.903-.757a1.8 1.8 0 0 0-1.742-1.346v3Z",fill:"#3D51E7"}),v.jsx("path",{d:"m40.994 40.453-4.895 75.87h25.794l-20.9-75.87Z",fill:"url(#snooze_svg__b)"})]}),v.jsx("path",{d:"M65.603 115.836 43.608 35.894l97.433-.042 20.887 79.984H65.603Z",fill:"#fff",stroke:"#fff"}),v.jsx("path",{d:"M97.947 66.44c.697 0 1.272.568 1.173 1.258a8.861 8.861 0 0 1-17.543 0c-.1-.69.475-1.259 1.173-1.259.698 0 1.25.571 1.389 1.255a6.334 6.334 0 0 0 12.419 0c.138-.684.691-1.255 1.388-1.255ZM128.989 66.44c.697 0 1.272.568 1.173 1.258a8.857 8.857 0 0 1-2.506 5.007 8.849 8.849 0 0 1-6.265 2.596 8.868 8.868 0 0 1-6.266-2.596 8.854 8.854 0 0 1-2.506-5.007c-.099-.69.476-1.259 1.173-1.259.698 0 1.251.571 1.389 1.255a6.335 6.335 0 0 0 12.419 0c.138-.684.691-1.255 1.389-1.255ZM110.13 93.308c0 3.228 2.096 5.844-1.132 5.844-3.228 0-2.015-2.616-2.015-5.844 0-3.229-2.31-5.699.918-5.699s2.229 2.47 2.229 5.699Z",fill:"#3D51E7"}),v.jsx("path",{d:"M70.916 51.547v5.039m-2.52-2.52h5.04M59.358 41.68v4.04m-2.02-2.02h4.041M64.888 21.148v7.018m-3.509-3.509h7.018M52.798 12.531v4.897m-2.449-2.448h4.898",stroke:"#3D51E7",strokeWidth:2.083,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsxs("defs",{children:[v.jsxs("linearGradient",{id:"snooze_svg__b",x1:86.925,y1:53.412,x2:18.04,y2:56.56,gradientUnits:"userSpaceOnUse",children:[v.jsx("stop",{offset:.435,stopColor:"#6C7AE5"}),v.jsx("stop",{offset:.696,stopColor:"#6C7AE5",stopOpacity:0})]}),v.jsxs("filter",{id:"snooze_svg__a",x:.442,y:27.281,width:181.123,height:105.172,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:4}),v.jsx("feGaussianBlur",{stdDeviation:4.5}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_4573_55361"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_4573_55361",result:"shape"})]})]})]}),aX=h.forwardRef(iX),sX=(e,t)=>v.jsxs("svg",{viewBox:"0 0 74 75",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M51.754 22.86H22.34c0-1.804 2.658-7.258 7.976-16.36l2.209 14.402h8.987L43.716 6.5c5.359 9.223 8.038 14.677 8.038 16.36Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 68.5 17 54.767V22.715s7.395-2.674 20.027-2.674C49.659 20.041 57 22.715 57 22.715v32.052L37.001 68.5Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 66.57 18.278 53.768V24.002s7.002-2.484 18.723-2.484V66.57Z",fill:"#DBDBDB"}),v.jsx("path",{d:"M37.027 21.518H37v45.014l18.56-12.765V24.002s-6.813-2.484-18.534-2.484Z",fill:"#C6C6C6"}),v.jsx("path",{d:"m47.133 59.566-1.58-13.445h-8.677v20.48l.125.115a261.895 261.895 0 0 0 10.132-7.15Z",fill:"#3B3B63"}),v.jsx("path",{d:"M26.876 59.672 37 66.717l.005-21.005h-8.769l-1.361 13.96Z",fill:"#53537A"}),v.jsx("path",{d:"M41.334 55.692c0 2.31-2.236 3.455-4.288 3.455s-4.334-1.145-4.334-3.455",fill:"#BC9375"}),v.jsx("path",{d:"M37.023 56.887c-1.647 0-2.448-1.166-2.448-3.562h.785c0 2.805 1.123 2.805 1.663 2.805s1.663 0 1.663-2.805h.785c0 2.396-.8 3.562-2.448 3.562Z",fill:"#fff"}),v.jsx("path",{d:"M37.001 53.91c.507 1.285 1.487 1.928 2.94 1.928 1.421 0 2.905-.722 3.581-2.506.944-2.496.935-5.97.935-5.97s4.194-5.063 4.194-6.775h-11.65V53.91Z",fill:"#C49A7E"}),v.jsx("path",{d:"M25.183 40.587c0 1.983 4.158 6.776 4.158 6.776s-.01 3.472.935 5.969c.674 1.782 2.16 2.505 3.582 2.505 1.452 0 2.5-.642 3.143-1.928V40.588H25.183Z",fill:"#D8B7A0"}),v.jsx("path",{d:"M48.15 29.187c-3.233-3.197-4.042-9.863-4.042-9.863-.603 2.1-1.916 8.294-1.916 8.294s-2.548-.795-5.294-.8c-.09 0-.09 8.345 0 25.034l2.614-1.821.486-8.84 2.783 3.061 3.585 1.01s1.341-.922 1.341-.918c.57-.77.758-1.425.896-1.765.498-1.236-.62-10.696-.62-10.696-.397-.8.167-2.696.167-2.696Z",fill:"#3B3B63"}),v.jsx("path",{d:"M31.879 27.617s-1.313-6.193-1.916-8.294c0 0-.808 6.666-4.042 9.863 0 0 .564 1.896.167 2.697 0 0-1.118 9.46-.62 10.694.137.34.328.996.897 1.765 0-.004 1.342.919 1.342.919l3.584-1.01 2.782-3.062.487 8.84 2.444 1.773v-25.03c-2.755.004-5.125.845-5.125.845Z",fill:"#53537A"}),v.jsx("path",{d:"M45.888 13.146c.536.964 5.148 9.877 5.148 12.963l-2.045 5.373c.346 3.031 1.034 9.618.514 10.905-.32.795-1.543 2.433-2.59 3.759l1.43 12.584-1.932 1.342-1.075-9.195c-.148.933-.37 1.93-.708 2.825-.448 1.184-1.24 2.081-2.252 2.613-.059 2.839-2.774 4.37-5.332 4.37-2.58 0-5.317-1.53-5.378-4.368-1.014-.533-1.806-1.43-2.255-2.615-.325-.86-.544-1.813-.692-2.715l-1.028 9.254-1.944-1.364 1.404-12.693c-1.054-1.331-2.3-2.993-2.624-3.798-.52-1.287.141-7.873.488-10.905l-2.167-5.56v-.182c0-3.086 4.732-11.63 5.27-12.593l1.533-2.707c.933 6.271 1.4 9.41 1.398 9.415l.755 5.082.993 1.574c.954-.31 2.574-.742 4.214-.742 1.642 0 3.273.433 4.23.743l.993-1.575 2.15-14.497 1.502 2.707Zm-8.842 45.521c1.132 0 2.745-.493 3.147-1.802-.043.001-.085.005-.128.005-.22 0-.426-.02-.626-.046-.584.783-1.494 1.02-2.416 1.02-.92 0-1.828-.24-2.411-1.022-.201.028-.41.048-.632.048-.042 0-.083-.004-.124-.005.406 1.309 2.04 1.802 3.19 1.802Zm-1.326-2.15c.351.253.785.394 1.304.394.516 0 .948-.142 1.299-.395a4.24 4.24 0 0 1-.756-.418c-.202.058-.395.056-.544.056-.15 0-.345 0-.549-.057-.222.157-.475.3-.754.42Zm8.045-9.763c1.392-1.665 3.486-4.347 3.79-5.098.228-.773-.162-5.896-.659-10.19l-.027-.238.41-1.067c-1.353-1.39-2.297-3.296-2.943-5.096l-.083.566-2.137 3.384-.835-.342c-.02-.009-2.199-.888-4.267-.888-2.08 0-4.224.878-4.245.887l-.836.346-2.14-3.387-.063-.433c-.652 1.782-1.597 3.654-2.944 5.014l.392 1.017-.027.238c-.497 4.293-.887 9.416-.65 10.209.295.732 2.39 3.414 3.78 5.078l.232.278-.001.356c0 .034.004 3.328.871 5.62.63 1.663 2.027 1.841 2.6 1.841 1.438 0 2.046-1.272 2.071-1.326.337-.64.506-1.69.506-3.15h.87c0 1.174.181 2.226.544 3.157.022.046.646 1.322 2.091 1.322.571 0 1.969-.18 2.598-1.842.87-2.3.871-5.588.871-5.62v-.357l.231-.279Z",fill:"#333152"}),v.jsx("path",{d:"M43.528 37.8H39.34v.043c0 1.41 1.265 2.55 2.748 2.55 1.484 0 2.749-1.141 2.749-2.55V37.8h-1.309Z",fill:"#333152"}),v.jsx("path",{d:"M40.387 37.8v.043c0 .838.7 1.517 1.57 1.517.871 0 1.571-.679 1.571-1.517V37.8h-3.141Z",fill:"#fff"}),v.jsx("path",{d:"M41.706 37.8c-.007 0-.013.004-.02.005.092.018.142.218.123.35a.416.416 0 0 1-.415.348c.06.265.285.478.583.518.38.052.732-.2.786-.566.04-.27-.096-.655-.32-.655h-.737ZM33.418 37.8H29.23v.043c0 1.41 1.265 2.55 2.748 2.55 1.484 0 2.75-1.141 2.75-2.55V37.8h-1.31Z",fill:"#333152"}),v.jsx("path",{d:"M30.277 37.8v.043c0 .838.701 1.517 1.57 1.517.871 0 1.571-.679 1.571-1.517V37.8h-3.14Z",fill:"#fff"}),v.jsx("path",{d:"M32.333 37.8h-.737c-.006 0-.013.004-.02.005.092.018.142.218.123.35a.416.416 0 0 1-.415.348c.06.265.285.478.583.518.38.052.733-.2.786-.566.04-.27-.095-.655-.32-.655Z",fill:"#333152"}),v.jsx("path",{d:"M43.212 36.597c.176-.185 1.669-1.817-.328-1.817-1.804 0-3.102 1.402-3.446 1.817h3.774Z",fill:"#C49A7E"}),v.jsx("path",{d:"M34.6 36.597c-.344-.415-1.642-1.817-3.447-1.817-1.996 0-.503 1.632-.328 1.817H34.6ZM25.001 25.575c.119-1.6 1.848-5.437 3.497-8.67l.44 2.956c-.168 1.105-.934 5.44-2.99 8.172l-.947-2.458Z",fill:"#D8B7A0"}),v.jsx("path",{d:"m45.143 19.631.405-2.725c1.65 3.232 3.38 7.069 3.498 8.67l-.925 2.399c-2.22-3.008-2.917-7.897-2.978-8.344Z",fill:"#C49A7E"}),v.jsx("path",{d:"M35.483 52.168c-.774-.566-1.569-1.28-1.569-1.829 0-.36.66-1.469.66-1.469h4.914s.644.984.644 1.47c0 .51-.802 1.204-1.602 1.77-.273-.451-.62-.53-.78-.174-.082.185-.098.45-.058.728-.436.272-.754.446-.754.446s-.246-.138-.598-.36c.057-.309.046-.61-.045-.814-.162-.36-.515-.275-.79.193a1.806 1.806 0 0 0-.022.039Z",fill:"#333152"})]}),lX=h.forwardRef(sX),cX=(e,t)=>v.jsxs("svg",{width:84,height:84,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"m61.762 14.605-40.265.16a.79.79 0 0 0-.786.792l.216 54.516a.789.789 0 0 0 .792.786l40.266-.16a.789.789 0 0 0 .785-.791l-.216-54.517a.789.789 0 0 0-.792-.786Z",fill:"#DBE3FF",stroke:"#000",strokeWidth:1.419}),v.jsx("path",{d:"M49.696 30.343a.617.617 0 0 1 .234-1.189l6.92-.03a.616.616 0 1 1 .008 1.233l-6.926.028a.618.618 0 0 1-.236-.042ZM26.344 40.778a.616.616 0 0 1 .226-1.185l30.326-.124a.616.616 0 0 1 .001 1.23l-30.318.121a.618.618 0 0 1-.235-.042ZM44.643 47.676a.616.616 0 0 1 .229-1.19l12.051-.046a.616.616 0 1 1 .008 1.232l-12.052.046a.616.616 0 0 1-.236-.042ZM26.359 47.798a.617.617 0 0 1 .234-1.188l7.379-.032a.618.618 0 1 1 0 1.237l-7.377.026a.617.617 0 0 1-.236-.043ZM25.58 55.607a.616.616 0 0 1 .228-1.191l18.678-.075a.618.618 0 0 1 0 1.236l-18.648.081a.665.665 0 0 1-.259-.051Z",fill:"#A3B8FF"}),v.jsx("path",{d:"m28.308 13.845 16.244-.408a.76.76 0 0 1 .779.74l.437 17.428a.76.76 0 0 1-.74.778l-16.245.408a.76.76 0 0 1-.778-.74l-.438-17.428a.76.76 0 0 1 .74-.778Z",fill:"#3D51E7",stroke:"#000",strokeWidth:.946}),v.jsx("path",{d:"M33.46 19.694a1.442 1.442 0 0 1-.913-1.313l-.062-2.019a.301.301 0 0 1 .299-.311.308.308 0 0 1 .317.3l.056 2.018a.857.857 0 0 0 .263.584.84.84 0 0 0 .6.243l.149-.007a.649.649 0 0 0 .633-.661l-.132-5.172a.671.671 0 0 0-.686-.656l-.256.009a.71.71 0 0 0-.694.73l.002.127a.304.304 0 0 1-.299.312.303.303 0 0 1-.32-.295l.032-.127a1.331 1.331 0 0 1 1.296-1.365l.256-.01a1.294 1.294 0 0 1 1.292 1.247l.132 5.172a1.264 1.264 0 0 1-1.235 1.296l-.15.006c-.198.004-.396-.033-.58-.108Z",fill:"#000"}),v.jsx("path",{d:"M44.192 16.5a1.307 1.307 0 1 1-2.407 1.02 1.307 1.307 0 0 1 2.407-1.02Z",fill:"#fff"}),v.jsx("path",{d:"m38.293 21.773-2.396 6.59M39.492 23.576l1.797 1.497-1.797 1.498M34.7 23.576l-1.798 1.497 1.797 1.498",stroke:"#fff",strokeWidth:.813,strokeLinecap:"round",strokeLinejoin:"round"}),v.jsx("path",{d:"M59.45 25.546a.386.386 0 0 1-.386-.386v-5.136a1.637 1.637 0 0 0-1.703-1.544H53.62a.386.386 0 1 1 0-.773h3.741a2.41 2.41 0 0 1 2.475 2.317v5.136a.386.386 0 0 1-.386.386Z",fill:"#fff"})]});h.forwardRef(cX);const uX=(e,t)=>v.jsx("svg",{className:"spinner_svg__spinner",viewBox:"0 0 50 50",strokeWidth:5,ref:t,...e,children:v.jsx("circle",{className:"spinner_svg__path",cx:25,cy:25,r:20,fill:"none"})}),dX=h.forwardRef(uX),fX=(e,t)=>v.jsx("svg",{width:11,height:11,fill:"none",stroke:"#848AA4",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M5.281.781v9m-2.1-9h4.2c.84 0 1.26 0 1.581.164a1.5 1.5 0 0 1 .656.655c.163.321.163.741.163 1.581v4.2c0 .84 0 1.26-.163 1.581a1.5 1.5 0 0 1-.656.656c-.32.163-.74.163-1.58.163h-4.2c-.84 0-1.26 0-1.582-.163a1.5 1.5 0 0 1-.655-.656C.78 8.642.78 8.222.78 7.382v-4.2c0-.84 0-1.26.164-1.582A1.5 1.5 0 0 1 1.6.945C1.921.78 2.341.78 3.181.78Z",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})}),pX=h.forwardRef(fX),hX=(e,t)=>v.jsx("svg",{width:14,height:15,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M13 2.833H1m4.364 3.5V11m3.272-4.667V11m3.273-8.167v11.084a.604.604 0 0 1-.16.412.528.528 0 0 1-.385.171H2.636a.528.528 0 0 1-.385-.17.604.604 0 0 1-.16-.413V2.833m7.636 0V1.667c0-.31-.115-.607-.32-.825A1.056 1.056 0 0 0 8.638.5H5.363c-.29 0-.567.123-.772.342-.204.219-.32.515-.32.825v1.166",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round"})}),mX=h.forwardRef(hX),gX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 10.999c0 .553.449 1.001 1.002 1.001h8.33c.554 0 1.002-.448 1.002-1.001V2.668a1.001 1.001 0 0 0-2.003 0V8.58L1.71.293A1.001 1.001 0 0 0 .293 1.71l8.288 8.287H2.668c-.553 0-1.002.448-1.002 1.002Z",fill:"#28CA9E"})});h.forwardRef(gX);const vX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 1.001C1.666.448 2.115 0 2.668 0h8.33C11.553 0 12 .448 12 1.001v8.331a1.001 1.001 0 0 1-2.003 0V3.42L1.71 11.707A1.001 1.001 0 1 1 .293 10.29l8.288-8.287H2.668A1.001 1.001 0 0 1 1.666 1Z",fill:"#28CA9E"})});h.forwardRef(vX);const yX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 10.999c0 .553.449 1.001 1.002 1.001h8.33c.554 0 1.002-.448 1.002-1.001V2.668a1.001 1.001 0 0 0-2.003 0V8.58L1.71.293A1.001 1.001 0 0 0 .293 1.71l8.288 8.287H2.668c-.553 0-1.002.448-1.002 1.002Z",fill:"#E2005E"})});h.forwardRef(yX);const bX=(e,t)=>v.jsx("svg",{width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.666 1.001C1.666.448 2.115 0 2.668 0h8.33C11.553 0 12 .448 12 1.001v8.331a1.001 1.001 0 0 1-2.003 0V3.42L1.71 11.707A1.001 1.001 0 1 1 .293 10.29l8.288-8.287H2.668A1.001 1.001 0 0 1 1.666 1Z",fill:"#E2005E"})});h.forwardRef(bX);const wX=(e,t)=>v.jsx("svg",{width:10,height:6,fill:"none",stroke:"#404040",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M9 5 5.707 1.707a1 1 0 0 0-1.414 0L1 5",strokeLinecap:"round"})}),xX=h.forwardRef(wX),SX=(e,t)=>v.jsxs("svg",{viewBox:"0 0 92 92",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M-575-1360c0-1.1.895-2 2-2h27040c1.1 0 2 .9 2 2v8892c0 1.1-.9 2-2 2H-573c-1.104 0-2-.9-2-2v-8892Z",fill:"transparent"}),v.jsxs("g",{clipPath:"url(#upload_svg__clip0_2535_135364)",children:[v.jsx("path",{fill:"transparent",d:"M-507-280H859v768H-507z"}),v.jsx("g",{opacity:.9,filter:"url(#upload_svg__a)"}),v.jsxs("g",{filter:"url(#upload_svg__b)",children:[v.jsx("path",{d:"m81.143 45.545-17.911-17.17a.486.486 0 0 0-.688.015L39.297 52.64a.486.486 0 0 0 .015.688l17.91 17.17c.194.186.502.18.688-.015l23.247-24.25a.486.486 0 0 0-.014-.688Z",fill:"#fff"}),v.jsx("path",{d:"M62.28 69.151a1.044 1.044 0 0 1-.78-.093L39.751 57.106a1.06 1.06 0 0 1-.416-1.434l16.182-29.44a1.056 1.056 0 0 1 1.434-.416l21.743 11.949a1.056 1.056 0 0 1 .42 1.433L62.933 68.642a1.056 1.056 0 0 1-.65.508l-.004.001ZM40.38 56.167l21.6 11.87 16.1-29.294-21.605-11.887L40.38 56.167Z",fill:"#0D0420"}),v.jsx("path",{d:"M73.456 40.173a.38.38 0 0 1-.281-.035l-8.184-4.493a.381.381 0 0 1-.175-.528.379.379 0 0 1 .54-.136l8.187 4.492a.38.38 0 0 1 .139.517.379.379 0 0 1-.226.183Z",fill:"#3D51E7"}),v.jsx("path",{d:"M71.334 45.345a.38.38 0 0 1-.28-.035l-16.372-8.983a.382.382 0 0 1 .367-.669l16.368 8.985a.38.38 0 0 1 .138.517.38.38 0 0 1-.221.185ZM68.276 50.91a.38.38 0 0 1-.284-.034l-16.368-8.984a.38.38 0 1 1 .365-.665l16.37 8.984a.38.38 0 0 1 .14.517.38.38 0 0 1-.223.182ZM63.93 59.453a.38.38 0 0 1-.263-.106L50.18 46.432a.38.38 0 1 1 .54-.535L64.205 58.81a.38.38 0 0 1 0 .536.38.38 0 0 1-.277.106ZM59.533 64.036a.38.38 0 0 1-.262-.102L45.783 51a.38.38 0 1 1 .524-.547l13.488 12.915a.38.38 0 0 1-.262.653v.015Z",fill:"#0D0420"}),v.jsx("path",{d:"m33.833 16.611-22.969 9.383a.486.486 0 0 0-.266.634l12.704 31.099a.486.486 0 0 0 .634.266l22.968-9.383a.486.486 0 0 0 .267-.634L34.467 16.877a.486.486 0 0 0-.634-.266Z",fill:"#fff"}),v.jsx("path",{d:"M23.752 58.595a1.057 1.057 0 0 1-.976-.657L10.07 26.84a1.06 1.06 0 0 1 .578-1.379l22.969-9.382a1.052 1.052 0 0 1 1.375.577l12.706 31.102a1.056 1.056 0 0 1-.578 1.375l-22.969 9.382c-.126.053-.262.08-.399.08ZM11.157 26.487l12.64 30.942 22.814-9.322L33.97 17.166l-22.813 9.322Z",fill:"#0D0420"}),v.jsx("path",{d:"M30.578 28.41a.38.38 0 0 1-.14-.733l3.946-1.614a.38.38 0 1 1 .289.703l-3.95 1.614a.379.379 0 0 1-.145.03ZM19.635 39.74a.38.38 0 0 1-.144-.729l17.298-7.068a.38.38 0 0 1 .285.702L19.78 39.71a.38.38 0 0 1-.145.03Z",fill:"#0D0420"}),v.jsx("path",{d:"M31.691 39.483a.38.38 0 0 1-.144-.733l6.875-2.807a.38.38 0 1 1 .289.702l-6.875 2.807a.379.379 0 0 1-.145.03ZM21.268 43.745a.38.38 0 0 1-.14-.733l4.208-1.72a.38.38 0 1 1 .285.706l-4.209 1.717a.38.38 0 0 1-.144.03Z",fill:"#5C2AC6"}),v.jsx("path",{d:"M22.628 48.407a.38.38 0 0 1-.144-.733l10.654-4.353a.38.38 0 1 1 .285.706l-10.635 4.35a.41.41 0 0 1-.16.03Z",fill:"#0D0420"}),v.jsx("path",{d:"m23.767 20.033-9.187 3.981a.76.76 0 0 0-.395 1l4.271 9.856a.76.76 0 0 0 1 .395l9.186-3.982a.76.76 0 0 0 .395-.999l-4.27-9.856a.76.76 0 0 0-1-.395Z",fill:"#3D51E7"}),v.jsx("path",{d:"M19.152 35.712a1.14 1.14 0 0 1-1.048-.688l-4.27-9.852a1.139 1.139 0 0 1 .593-1.52l9.188-3.962a1.14 1.14 0 0 1 1.52.593l4.25 9.853a1.14 1.14 0 0 1 0 .874 1.14 1.14 0 0 1-.608.627l-9.173 3.98a1.179 1.179 0 0 1-.452.095Zm4.915-15.357a.437.437 0 0 0-.152.03l-9.184 3.981a.38.38 0 0 0-.202.21.38.38 0 0 0 0 .292l4.273 9.853a.38.38 0 0 0 .356.234c.05 0 .1-.01.146-.029l9.184-3.985a.38.38 0 0 0 .202-.212.38.38 0 0 0 0-.289l-4.266-9.853a.38.38 0 0 0-.357-.232Z",fill:"#0D0420"}),v.jsx("path",{d:"M18.845 26.07a.89.89 0 0 1-.825-.54l-.501-1.14a.185.185 0 0 1 .038-.205.186.186 0 0 1 .06-.041.19.19 0 0 1 .251.098l.498 1.14a.528.528 0 0 0 .684.273l.083-.038a.397.397 0 0 0 .21-.524l-1.27-2.925a.414.414 0 0 0-.543-.216l-.144.064a.436.436 0 0 0-.228.578l.03.072a.185.185 0 0 1-.037.206.189.189 0 0 1-.061.04.186.186 0 0 1-.251-.094l-.011-.08a.82.82 0 0 1 .425-1.079l.144-.064a.798.798 0 0 1 1.026.414l1.269 2.924a.778.778 0 0 1-.407 1.026l-.084.038a.909.909 0 0 1-.357.072Z",fill:"#0D0420"}),v.jsx("path",{d:"M24.23 21.754a.805.805 0 1 1-1.14 1.138.805.805 0 0 1 1.14-1.138Z",fill:"#fff"}),v.jsx("path",{d:"m62.123 22.475-24.531-3.723a.486.486 0 0 0-.554.407l-5.04 33.213a.486.486 0 0 0 .407.554l24.53 3.723a.486.486 0 0 0 .554-.408l5.041-33.213a.486.486 0 0 0-.407-.553Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M57.015 57.224h-.16l-24.534-3.722a1.058 1.058 0 0 1-.885-1.205l5.04-33.224a1.056 1.056 0 0 1 1.2-.886l24.535 3.723a1.056 1.056 0 0 1 .885 1.2l-5.04 33.218a1.057 1.057 0 0 1-1.041.896Zm-24.44-4.828 24.367 3.696 5.014-33.046-24.367-3.719-5.013 33.07Z",fill:"#0D0420"}),v.jsx("path",{d:"M45.468 24.671h-.057l-4.71-.714a.38.38 0 0 1-.323-.426.38.38 0 0 1 .433-.319l4.714.7a.38.38 0 1 1-.057.759ZM57.695 31.63h-.057l-5.408-.821a.384.384 0 0 1 .113-.76l5.41.82a.381.381 0 0 1-.058.76ZM48.458 30.229H48.4l-9.238-1.405a.384.384 0 1 1 .114-.76l9.238 1.401a.381.381 0 0 1-.057.76v.004ZM48.79 36.71h-.056l-10.522-1.596a.38.38 0 1 1 .114-.752l10.522 1.595a.381.381 0 1 1-.057.76v-.008Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M55.846 43.826h-.057l-18.475-2.822a.384.384 0 1 1 .117-.76l18.472 2.803a.38.38 0 0 1-.057.76v.019Z",fill:"#CFC7D4"}),v.jsx("path",{d:"M46.808 48.876h-.06L36.361 47.3a.38.38 0 0 1-.167-.68.38.38 0 0 1 .281-.069l10.385 1.577a.38.38 0 1 1-.053.76v-.012Z",fill:"#fff"}),v.jsx("path",{d:"m61.364 31.575-11.016.023a3.726 3.726 0 0 0-3.707 3.723v2.19l-27.907.057a5.698 5.698 0 0 0-5.664 5.697l.069 26.495a5.698 5.698 0 0 0 5.697 5.663l40.678-.084a5.698 5.698 0 0 0 5.663-5.697l-.053-25.944v-.543l-.023-7.865a3.727 3.727 0 0 0-3.737-3.715Z",fill:"#3D51E7"}),v.jsx("path",{d:"M18.813 75.982a6.252 6.252 0 0 1-6.244-6.218l-.057-26.486a6.248 6.248 0 0 1 6.233-6.256l27.349-.061v-1.62a4.3 4.3 0 0 1 4.277-4.293l11.015-.023a4.288 4.288 0 0 1 4.281 4.277l.08 34.352a6.252 6.252 0 0 1-6.233 6.26l-40.678.084-.023-.016ZM61.356 32.15l-11.016.023a3.156 3.156 0 0 0-3.137 3.152v2.19a.57.57 0 0 1-.57.57l-27.907.061a5.109 5.109 0 0 0-5.075 5.117l.057 26.501a5.11 5.11 0 0 0 5.105 5.094l40.678-.084a5.113 5.113 0 0 0 5.094-5.116l-.08-34.356a3.145 3.145 0 0 0-3.142-3.137l-.007-.015Z",fill:"#0D0420"}),v.jsx("path",{d:"M61.559 69.864a1.856 1.856 0 1 1-3.713.009 1.856 1.856 0 0 1 3.713-.009ZM62.854 41.594a.38.38 0 0 1-.38-.38v-5.052a1.61 1.61 0 0 0-1.675-1.52h-3.68a.38.38 0 0 1 0-.76h3.68a2.37 2.37 0 0 1 2.435 2.28v5.052a.38.38 0 0 1-.38.38ZM35.684 53.49a.95.95 0 0 1-.665-1.625l4.463-4.388 4.391 4.392a.95.95 0 1 1-1.34 1.344l-3.062-3.061-3.122 3.065a.946.946 0 0 1-.665.273Z",fill:"#fff"}),v.jsx("path",{d:"M39.444 59.373a.95.95 0 0 1-.95-.95v-9.61a.95.95 0 0 1 1.9 0v9.61a.95.95 0 0 1-.95.95Z",fill:"#fff"}),v.jsx("path",{d:"M46.433 63.931H32.34a2.047 2.047 0 0 1-2.043-2.04v-5.12a.95.95 0 1 1 1.9 0v5.12a.144.144 0 0 0 .143.14h14.093a.254.254 0 0 0 .254-.25v-5.01a.95.95 0 0 1 1.9 0v5.01a2.154 2.154 0 0 1-2.154 2.15Z",fill:"#fff"})]})]}),v.jsx("path",{d:"M-573-1361h27040v-2H-573v2Zm27041 1v8892h2v-8892h-2Zm-1 8893H-573v2h27040v-2Zm-27041-1v-8892h-2v8892h2Zm1 1c-.552 0-1-.45-1-1h-2c0 1.66 1.344 3 3 3v-2Zm27041-1c0 .55-.4 1-1 1v2c1.7 0 3-1.34 3-3h-2Zm-1-8893c.6 0 1 .45 1 1h2c0-1.66-1.3-3-3-3v2Zm-27040-2c-1.657 0-3 1.34-3 3h2c0-.55.448-1 1-1v-2Z",fill:"#000",fillOpacity:.1}),v.jsxs("defs",{children:[v.jsxs("filter",{id:"upload_svg__a",x:-548,y:-297,width:1492,height:866,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:50}),v.jsx("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_2535_135364"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2}),v.jsx("feGaussianBlur",{stdDeviation:12.5}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.121569 0 0 0 0 0.160784 0 0 0 0 0.352941 0 0 0 0.15 0"}),v.jsx("feBlend",{in2:"effect1_backgroundBlur_2535_135364",result:"effect2_dropShadow_2535_135364"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect2_dropShadow_2535_135364",result:"shape"})]}),v.jsxs("filter",{id:"upload_svg__b",x:-24,y:-22,width:824,height:140,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2}),v.jsx("feGaussianBlur",{stdDeviation:6}),v.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.121569 0 0 0 0 0.160784 0 0 0 0 0.415686 0 0 0 0.1 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2535_135364"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2535_135364",result:"shape"})]})]})]});h.forwardRef(SX);const EX=(e,t)=>v.jsx("svg",{width:21,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("g",{stroke:"#BDBDBD",strokeLinecap:"round",strokeLinejoin:"round",children:v.jsx("path",{d:"M10.5 11.5v-7M16 11.5V15a.5.5 0 0 1-.5.5h-10A.5.5 0 0 1 5 15v-3.5M8 7l2.5-2.5L13 7"})})}),_X=h.forwardRef(EX),CX=(e,t)=>v.jsxs("svg",{width:80,height:80,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsxs("g",{clipPath:"url(#upload-disabled_svg__a)",children:[v.jsx("path",{d:"M69 66.5H11A4.5 4.5 0 0 1 6.5 62V16a4.5 4.5 0 0 1 4.5-4.5h23a4.5 4.5 0 0 1 4.5 4.5v.578a7.5 7.5 0 0 0 7.5 7.5h23a4.5 4.5 0 0 1 4.5 4.5V62a4.5 4.5 0 0 1-4.5 4.5Z",stroke:"#949494",strokeWidth:3}),v.jsx("path",{d:"M38.5 55a1.5 1.5 0 0 0 3 0h-3Zm2.56-21.06a1.5 1.5 0 0 0-2.12 0l-9.547 9.545a1.5 1.5 0 1 0 2.122 2.122L40 37.12l8.485 8.486a1.5 1.5 0 1 0 2.122-2.122L41.06 33.94ZM41.5 55V35h-3v20h3Z",fill:"#949494"}),v.jsx("path",{d:"M78 2 2 78",stroke:"#949494",strokeWidth:3,strokeLinecap:"round"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"upload-disabled_svg__a",children:v.jsx("path",{fill:"#fff",d:"M0 0h80v80H0z"})})})]});h.forwardRef(CX);const kX=(e,t)=>v.jsxs("svg",{width:80,height:80,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M69 66.5H11A4.5 4.5 0 0 1 6.5 62V16a4.5 4.5 0 0 1 4.5-4.5h23a4.5 4.5 0 0 1 4.5 4.5v.578a7.5 7.5 0 0 0 7.5 7.5h23a4.5 4.5 0 0 1 4.5 4.5V62a4.5 4.5 0 0 1-4.5 4.5Z",stroke:"#3D51E7",strokeWidth:3}),v.jsx("path",{d:"M38.5 55a1.5 1.5 0 0 0 3 0h-3Zm2.56-21.06a1.5 1.5 0 0 0-2.12 0l-9.547 9.545a1.5 1.5 0 1 0 2.122 2.122L40 37.12l8.485 8.486a1.5 1.5 0 1 0 2.122-2.122L41.06 33.94ZM41.5 55V35h-3v20h3Z",fill:"#3D51E7"})]});h.forwardRef(kX);const $X=(e,t)=>v.jsxs("svg",{width:80,height:94,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M79.2 60.228 59.263 41.185a.543.543 0 0 0-.765.016L32.62 68.098a.538.538 0 0 0 .016.762l19.938 19.043a.543.543 0 0 0 .765-.016l25.877-26.896a.538.538 0 0 0-.016-.763Z",fill:"#fff"}),v.jsx("path",{d:"M52.944 88.685a1.165 1.165 0 0 1-.812-.325l-19.94-19.046a1.173 1.173 0 0 1-.034-1.656l25.88-26.895a1.178 1.178 0 0 1 1.662-.033l19.936 19.042a1.169 1.169 0 0 1 .038 1.655l-25.88 26.9a1.174 1.174 0 0 1-.846.358h-.005ZM33.139 68.488l19.804 18.916 25.75-26.76-19.805-18.937-25.75 26.781Z",fill:"#242627"}),v.jsx("path",{d:"M73.31 60.843a.424.424 0 0 1-.29-.119l-7.506-7.161a.422.422 0 1 1 .584-.607l7.509 7.162a.42.42 0 0 1 0 .594.423.423 0 0 1-.296.13Z",fill:"#3D51E7"}),v.jsx("path",{d:"M69.54 65.78a.424.424 0 0 1-.292-.119L54.233 51.337a.422.422 0 0 1 .285-.728.425.425 0 0 1 .303.118l15.01 14.323a.42.42 0 0 1 0 .594.424.424 0 0 1-.292.135ZM64.647 70.864a.424.424 0 0 1-.296-.118l-15.01-14.323a.42.42 0 0 1 .444-.709c.053.024.1.059.14.102L64.939 70.14a.421.421 0 0 1 0 .594.424.424 0 0 1-.292.13ZM60.038 75.65a.424.424 0 0 1-.291-.117L44.732 61.209a.42.42 0 0 1 .463-.686.422.422 0 0 1 .138.092l15.014 14.324a.421.421 0 0 1 0 .594.423.423 0 0 1-.309.118ZM55.146 80.735a.424.424 0 0 1-.291-.114L39.84 66.277a.422.422 0 1 1 .584-.607l15.014 14.324a.42.42 0 0 1-.292.724v.017Z",fill:"#242627"}),v.jsx("path",{d:"M26.537 28.136.97 38.542a.539.539 0 0 0-.297.703l14.142 34.492a.542.542 0 0 0 .705.295l25.568-10.406a.539.539 0 0 0 .296-.703L27.244 28.43a.542.542 0 0 0-.707-.295Z",fill:"#fff"}),v.jsx("path",{d:"M15.317 74.702a1.178 1.178 0 0 1-1.087-.728L.087 39.483a1.171 1.171 0 0 1 .643-1.53l25.568-10.405a1.175 1.175 0 0 1 1.53.64l14.143 34.495a1.168 1.168 0 0 1-.642 1.525L15.76 74.614c-.14.058-.292.088-.444.088ZM1.297 39.091l14.07 34.318 25.395-10.338-14.071-34.319L1.296 39.091Z",fill:"#242627"}),v.jsx("path",{d:"M22.915 41.224a.424.424 0 0 1-.386-.588.422.422 0 0 1 .23-.226l4.392-1.79a.424.424 0 0 1 .554.232.42.42 0 0 1-.232.547l-4.397 1.79a.425.425 0 0 1-.161.035ZM10.733 53.79a.424.424 0 0 1-.41-.34.42.42 0 0 1 .25-.469l19.255-7.84a.424.424 0 0 1 .526.241.42.42 0 0 1-.209.538l-19.251 7.836a.425.425 0 0 1-.16.034ZM14.065 63.404a.424.424 0 0 1-.392-.585.423.423 0 0 1 .231-.228l11.86-4.828a.426.426 0 0 1 .552.234.421.421 0 0 1-.234.55l-11.84 4.823a.458.458 0 0 1-.177.034Z",fill:"#242627"}),v.jsx("path",{d:"M15.334 31.935 5.107 36.35a.841.841 0 0 0-.44 1.109L9.422 48.39a.847.847 0 0 0 1.112.438l10.227-4.415a.842.842 0 0 0 .44-1.108l-4.755-10.932a.847.847 0 0 0-1.113-.438Z",fill:"#3D51E7"}),v.jsx("path",{d:"M10.196 49.324a1.27 1.27 0 0 1-1.167-.763L4.276 37.633a1.26 1.26 0 0 1 .66-1.685l10.228-4.394a1.273 1.273 0 0 1 1.691.657l4.732 10.929a1.26 1.26 0 0 1 0 .968 1.264 1.264 0 0 1-.677.696l-10.211 4.415c-.16.068-.33.103-.503.105Zm5.471-17.033a.483.483 0 0 0-.17.034L5.275 36.74a.422.422 0 0 0-.224.232.42.42 0 0 0 0 .324l4.757 10.928a.421.421 0 0 0 .232.228.425.425 0 0 0 .326 0l10.224-4.42a.423.423 0 0 0 .224-.235.42.42 0 0 0 0-.32l-4.748-10.929a.422.422 0 0 0-.398-.257Z",fill:"#242627"}),v.jsx("path",{d:"M9.854 38.628a.992.992 0 0 1-.918-.599l-.558-1.263a.206.206 0 0 1 .11-.274.21.21 0 0 1 .28.11l.553 1.263a.587.587 0 0 0 .317.303.577.577 0 0 0 .444 0l.093-.042a.445.445 0 0 0 .269-.412.442.442 0 0 0-.036-.169l-1.413-3.244a.46.46 0 0 0-.604-.24l-.16.072a.486.486 0 0 0-.255.64l.034.08a.206.206 0 0 1-.11.274.207.207 0 0 1-.279-.105l-.012-.089a.907.907 0 0 1 .473-1.196l.16-.072a.891.891 0 0 1 1.142.46l1.413 3.243a.86.86 0 0 1-.453 1.137l-.093.043c-.125.053-.26.08-.397.08Z",fill:"#242627"}),v.jsx("path",{d:"M15.849 33.842a.892.892 0 0 1-.634 1.524.898.898 0 0 1-.828-.55.89.89 0 0 1 .484-1.168.898.898 0 0 1 .978.194ZM50.224.678 24.801 11.43a.539.539 0 0 0-.287.707l14.611 34.297a.542.542 0 0 0 .71.286l25.423-10.752a.538.538 0 0 0 .287-.707L50.934.964a.542.542 0 0 0-.71-.286Z",fill:"#fff"}),v.jsx("path",{d:"M39.62 47.395a1.168 1.168 0 0 1-1.066-.716L23.927 12.382a1.167 1.167 0 0 1 .621-1.534L49.976.092a1.18 1.18 0 0 1 1.539.62l14.613 34.301a1.152 1.152 0 0 1 0 .893 1.172 1.172 0 0 1-.63.64L40.082 47.303c-.147.06-.303.09-.461.093ZM25.13 11.973l14.542 34.124 25.25-10.684L50.383 1.29 25.13 11.973Z",fill:"#242627"}),v.jsx("path",{d:"M46.775 13.814a.424.424 0 0 1-.428-.335.42.42 0 0 1 .259-.478l4.372-1.85a.427.427 0 0 1 .558.224.422.422 0 0 1-.224.556l-4.38 1.85a.464.464 0 0 1-.157.033ZM34.763 26.541a.423.423 0 0 1-.374-.617.422.422 0 0 1 .209-.192l19.145-8.097a.424.424 0 0 1 .54.23.42.42 0 0 1-.21.545l-19.145 8.102a.373.373 0 0 1-.165.03Z",fill:"#242627"}),v.jsx("path",{d:"M48.2 26.078a.424.424 0 0 1-.425-.415.423.423 0 0 1 .26-.394l7.61-3.219a.424.424 0 0 1 .54.23.42.42 0 0 1-.21.546l-7.61 3.218a.387.387 0 0 1-.166.034ZM36.644 30.96a.424.424 0 0 1-.425-.338.42.42 0 0 1 .26-.475l4.65-1.967a.426.426 0 0 1 .474.078.42.42 0 0 1-.144.697l-4.65 1.972a.462.462 0 0 1-.165.033Z",fill:"#3D51E7"}),v.jsx("path",{d:"M38.225 36.112a.424.424 0 0 1-.422-.333.42.42 0 0 1 .248-.476l11.801-4.97a.422.422 0 1 1 .33.774l-11.793 4.971a.46.46 0 0 1-.164.034Z",fill:"#242627"}),v.jsx("path",{d:"m58.028 34.64-27.306-4.128a.541.541 0 0 0-.617.452L24.495 67.8a.54.54 0 0 0 .453.614l27.306 4.129a.54.54 0 0 0 .616-.452l5.611-36.837a.54.54 0 0 0-.453-.614Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M52.344 73.182h-.178l-27.31-4.129a1.176 1.176 0 0 1-.965-.879 1.168 1.168 0 0 1-.02-.456l5.61-36.85a1.17 1.17 0 0 1 1.337-.982l27.31 4.129a1.168 1.168 0 0 1 .985 1.331l-5.61 36.842a1.17 1.17 0 0 1-1.16.994ZM25.14 67.827l27.123 4.1 5.582-36.653L30.72 31.15 25.14 67.827Z",fill:"#242627"}),v.jsx("path",{d:"M39.49 37.073h-.064l-5.243-.792a.423.423 0 0 1-.36-.472.421.421 0 0 1 .483-.353l5.247.775a.425.425 0 0 1 .391.453.422.422 0 0 1-.454.39ZM53.1 44.795h-.064l-6.02-.91a.428.428 0 0 1-.36-.485.426.426 0 0 1 .486-.358l6.021.91a.425.425 0 0 1 .347.612.423.423 0 0 1-.41.23ZM42.817 43.24h-.063L32.47 41.682a.428.428 0 0 1-.36-.485.425.425 0 0 1 .486-.358l10.283 1.555a.426.426 0 0 1 .371.289.42.42 0 0 1-.27.533.423.423 0 0 1-.164.02v.005ZM43.19 50.424h-.064l-11.712-1.77a.423.423 0 0 1-.188-.756.422.422 0 0 1 .315-.078l11.712 1.77a.425.425 0 0 1 .39.453.422.422 0 0 1-.454.39v-.01Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M40.983 63.922h-.068l-11.56-1.748a.423.423 0 0 1-.355-.48.421.421 0 0 1 .482-.35l11.56 1.748a.425.425 0 0 1 .393.45.422.422 0 0 1-.452.393v-.013Z",fill:"#fff"}),v.jsx("path",{d:"m57.185 44.736-12.262.025a4.156 4.156 0 0 0-2.918 1.216 4.125 4.125 0 0 0-1.208 2.913v2.43l-31.065.062a6.354 6.354 0 0 0-4.46 1.864 6.308 6.308 0 0 0-1.844 4.456l.076 29.384a6.308 6.308 0 0 0 1.87 4.444 6.354 6.354 0 0 0 4.472 1.838l45.28-.093a6.354 6.354 0 0 0 4.46-1.864 6.308 6.308 0 0 0 1.844-4.455l-.059-28.774v-.603l-.025-8.723a4.12 4.12 0 0 0-1.224-2.919 4.15 4.15 0 0 0-2.937-1.201Z",fill:"#3D51E7"}),v.jsx("path",{d:"M9.82 93.983a6.973 6.973 0 0 1-4.902-2.02 6.922 6.922 0 0 1-2.049-4.876L2.806 57.71a6.917 6.917 0 0 1 2.028-4.9 6.968 6.968 0 0 1 4.91-2.038l30.443-.068v-1.797a4.76 4.76 0 0 1 1.396-3.358 4.795 4.795 0 0 1 3.365-1.403l12.262-.025a4.782 4.782 0 0 1 3.365 1.392 4.748 4.748 0 0 1 1.4 3.352l.089 38.1a6.922 6.922 0 0 1-2.028 4.9 6.972 6.972 0 0 1-4.91 2.042L9.846 94l-.026-.017Zm47.356-48.615-12.262.025a3.52 3.52 0 0 0-2.469 1.032 3.495 3.495 0 0 0-1.023 2.465v2.43a.63.63 0 0 1-.634.631l-31.065.068a5.697 5.697 0 0 0-4 1.676 5.656 5.656 0 0 0-1.649 3.998l.064 29.394a5.656 5.656 0 0 0 1.67 3.994 5.697 5.697 0 0 0 4.012 1.655l45.28-.093a5.701 5.701 0 0 0 4.012-1.67 5.66 5.66 0 0 0 1.658-4.004l-.089-38.104a3.482 3.482 0 0 0-1.026-2.46 3.507 3.507 0 0 0-2.47-1.02l-.009-.017Z",fill:"#242627"}),v.jsx("path",{d:"M57.4 87.2a2.055 2.055 0 0 1-1.273 1.907 2.075 2.075 0 0 1-2.254-.444 2.057 2.057 0 0 1 1.46-3.519c.548 0 1.073.217 1.46.602.388.386.607.909.608 1.454ZM58.842 55.846a.424.424 0 0 1-.423-.422v-5.603a1.784 1.784 0 0 0-.586-1.223 1.797 1.797 0 0 0-1.279-.462h-4.097a.424.424 0 0 1-.423-.421.42.42 0 0 1 .423-.422h4.097c.695-.019 1.37.236 1.877.71.507.472.807 1.126.833 1.818v5.603a.42.42 0 0 1-.422.422ZM28.598 69.04a1.059 1.059 0 0 1-.976-.656 1.05 1.05 0 0 1 .236-1.148l4.968-4.866 4.888 4.87a1.053 1.053 0 0 1 .015 1.503 1.059 1.059 0 0 1-1.508-.011l-3.408-3.396-3.475 3.4a1.055 1.055 0 0 1-.74.303Z",fill:"#fff"}),v.jsx("path",{d:"M32.784 75.564a1.059 1.059 0 0 1-1.057-1.053V63.853a1.051 1.051 0 0 1 1.057-1.054 1.06 1.06 0 0 1 1.057 1.053v10.66a1.052 1.052 0 0 1-1.057 1.052Z",fill:"#fff"}),v.jsx("path",{d:"M40.563 80.624H24.876a2.283 2.283 0 0 1-1.605-.663 2.266 2.266 0 0 1-.67-1.599v-5.679a1.051 1.051 0 0 1 1.058-1.053 1.059 1.059 0 0 1 1.057 1.053v5.68a.16.16 0 0 0 .16.155h15.687a.283.283 0 0 0 .283-.278v-5.557a1.051 1.051 0 0 1 1.057-1.053 1.059 1.059 0 0 1 1.057 1.053v5.557a2.384 2.384 0 0 1-.703 1.686 2.402 2.402 0 0 1-1.694.698Z",fill:"#fff"})]});h.forwardRef($X);const TX=(e,t)=>v.jsxs("svg",{width:144,height:155,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[v.jsx("path",{d:"M72 149.722c39.488 0 71.5-33.069 71.5-73.861S111.488 2 72 2 .5 35.069.5 75.86c0 40.793 32.012 73.862 71.5 73.862Z",fill:"#F5F9FF"}),v.jsx("g",{filter:"url(#upload-report_svg__a)",children:v.jsx("path",{d:"M30.965 8.916h82.071c.527 0 1.157.39 1.682 1.351.519.948.825 2.27.825 3.676v120.819c0 1.406-.306 2.728-.825 3.676-.525.961-1.155 1.351-1.682 1.351H30.964c-.527 0-1.156-.39-1.682-1.351-.518-.948-.825-2.27-.825-3.676V13.943c0-1.406.307-2.728.825-3.675.526-.962 1.155-1.352 1.683-1.352Z",fill:"#fff",stroke:"#F0F1F5",strokeWidth:1.064})}),v.jsx("path",{d:"M64.323 23.28H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 36.083H39.536c-1.58 0-2.86 1.323-2.86 2.954 0 1.632 1.28 2.955 2.86 2.955h41.947c1.58 0 2.86-1.323 2.86-2.955 0-1.631-1.28-2.954-2.86-2.954Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M64.323 50.504H39.536c-1.58 0-2.86 1.322-2.86 2.954 0 1.632 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.322 2.86-2.954 0-1.632-1.28-2.954-2.86-2.954Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 63.306H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h41.947c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M64.323 77.727H39.536c-1.58 0-2.86 1.323-2.86 2.955 0 1.631 1.28 2.954 2.86 2.954h24.787c1.58 0 2.86-1.323 2.86-2.954 0-1.632-1.28-2.955-2.86-2.955Z",fill:"#A3B8FF"}),v.jsx("path",{d:"M81.483 90.53H39.536c-1.58 0-2.86 1.322-2.86 2.954 0 1.632 1.28 2.955 2.86 2.955h41.947c1.58 0 2.86-1.323 2.86-2.955 0-1.632-1.28-2.954-2.86-2.954Z",fill:"#DBE3FF"}),v.jsx("path",{d:"M91.992 138.406c-.417 1.775-1.044 3.654-1.775 5.22-1.983 3.864-5.115 6.891-8.979 8.875-3.967 1.984-8.666 2.819-13.364 1.775-11.067-2.297-18.167-13.155-15.87-24.223 2.297-11.067 13.051-18.271 24.118-15.87 3.968.835 7.413 2.819 10.337 5.534 4.907 4.907 6.995 12.007 5.533 18.689Z",fill:"#3D51E7"}),v.jsx("path",{d:"M78.524 132.455h-4.698v-4.699c0-.94-.731-1.775-1.775-1.775a1.76 1.76 0 0 0-1.775 1.775v4.699h-4.699c-.94 0-1.775.73-1.775 1.775 0 1.044.731 1.774 1.775 1.774h4.699v4.699c0 .94.73 1.775 1.775 1.775.94 0 1.775-.731 1.775-1.775v-4.699h4.698c.94 0 1.775-.73 1.775-1.774 0-1.045-.835-1.775-1.775-1.775Z",fill:"#A3B8FF"}),v.jsx("defs",{children:v.jsxs("filter",{id:"upload-report_svg__a",x:16.906,y:.032,width:110.188,height:153.975,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[v.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),v.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),v.jsx("feOffset",{dy:2.667}),v.jsx("feGaussianBlur",{stdDeviation:5.509}),v.jsx("feColorMatrix",{values:"0 0 0 0 0.0623437 0 0 0 0 0.0823594 0 0 0 0 0.2625 0 0 0 0.12 0"}),v.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2918_46412"}),v.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2918_46412",result:"shape"})]})})]});h.forwardRef(TX);const AX=(e,t)=>v.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 1024 1024",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z",stroke:"none"})});h.forwardRef(AX);const RX=(e,t)=>v.jsx("svg",{stroke:"#fff",width:11,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:v.jsx("path",{d:"M1 7h9M1 4h9M3.4 1h4.2c.84 0 1.26 0 1.581.163a1.5 1.5 0 0 1 .656.656c.163.32.163.74.163 1.581v4.2c0 .84 0 1.26-.163 1.581a1.5 1.5 0 0 1-.656.656C8.861 10 8.441 10 7.6 10H3.4c-.84 0-1.26 0-1.581-.163a1.5 1.5 0 0 1-.656-.656C1 8.861 1 8.441 1 7.6V3.4c0-.84 0-1.26.163-1.581a1.5 1.5 0 0 1 .656-.656C2.139 1 2.559 1 3.4 1Z",strokeLinecap:"round",strokeLinejoin:"round"})}),FX=h.forwardRef(RX),xn=e=>({"& svg":{stroke:e,"path, circle":{stroke:e}}}),IX=e=>({"& svg":{fill:e,"path, circle":{fill:e}}}),m$=H("div",{display:"flex",justifyContent:"center",alignItems:"center",...xn("$neutral900"),variants:{primary:{true:{...xn("$white")}},green:{true:{...xn("$green800")}},secondary:{true:{...xn("$blue500")}},disabled:{true:{pointerEvents:"none",...xn("$neutral300")}},warning:{true:{...xn("$red400")}},semiwarning:{true:{...xn("$grayscale900")}},disabledPrimary:{true:{...xn("$neutral400")}},grey:{true:{...xn("$white200")}},green200:{true:{...xn("$green200")}},orange200:{true:{...xn("$orange200")}},blue300:{true:{...xn("$blue300")}},blue500:{true:{...xn("$blue500")}},neutral100:{true:{...xn("$neutral100")}},neutral400:{true:{...xn("$neutral400")}}}}),PX=H(m$),OX=H("div",{display:"flex",justifyContent:"center",alignItems:"center","& svg":{stroke:"$none","path, circle":{fill:"$neutral900"}},variants:{primary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$white"}}}},green:{true:{"& svg":{stroke:"none","path, circle":{fill:"$green800"}}}},secondary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$blue500"}}}},disabled:{true:{pointerEvents:"none","& svg":{stroke:"none","path, circle":{fill:"$neutral300"}}}},warning:{true:{"& svg":{stroke:"none","path, circle":{fill:"$red400"}}}},semiwarning:{true:{"& svg":{stroke:"none","path, circle":{fill:"$grayscale900"}}}},disabledPrimary:{true:{"& svg":{stroke:"none","path, circle":{fill:"$neutral400"}}}},grey:{true:{"& svg":{stroke:"none","path, circle":{fill:"$white200"}}}},green200:{true:{"& svg":{stroke:"none","path, circle":{fill:"$green200"}}}},blue300:{true:{...IX("$blue300")}},orange200:{true:{"& svg":{stroke:"none","path, circle":{fill:"$orange200"}}}}}}),Ye=({component:e,defaultCss:t={}})=>{const n=h.forwardRef((r,o)=>v.jsx(PX,{css:t,...r,children:v.jsx(e,{ref:o})}));return n.displayName="StrokeIconComponent",n},qc=({component:e,defaultCss:t={}})=>{const n=h.forwardRef((r,o)=>v.jsx(OX,{css:t,...r,ref:o,children:v.jsx(e,{})}));return n.displayName="FillIconComponent",n},a4=Ye({component:kG});Ye({component:RZ});const jX=Ye({component:h$}),DX=Ye({component:xX}),g$=Ye({component:zZ}),MX=Ye({component:HZ});Ye({component:tG});Ye({component:mX});Ye({component:WZ});Ye({component:qZ,defaultCss:{svg:{height:13,width:14}}});const LX=Ye({component:IZ});Ye({component:jZ});const NX=Ye({component:XG});Ye({component:_Z});Ye({component:wZ});Ye({component:fZ});Ye({component:YG});const v$=Ye({component:xG});Ye({component:NZ});Ye({component:MZ});Ye({component:yZ});Ye({component:jG});Ye({component:BG});Ye({component:sZ});Ye({component:dG});const BX=Ye({component:ZG});Ye({component:oX});Ye({component:_X});Ye({component:JZ});Ye({component:HG});Ye({component:GZ});const zX=Ye({component:pG}),y$=qc({component:bG}),UX=qc({component:hZ}),HX=qc({component:gZ});qc({component:lG});qc({component:_G});qc({component:cZ});const b$=e=>v.jsx(m$,{...e,children:e.children}),VX=SZ,WX=YZ,ZX=PG,GX=lX,XX=vG,qX=dX,KX=pX,YX=FX,QX=oG,JX=aX;H("div",{display:"flex",alignItems:"center",fontSize:"$natual100",borderRadius:"$regular",padding:"0.6rem",border:"0.1rem solid $white",boxShadow:"$card"});const eq=bt({"0%":{strokeDasharray:"1, 150",strokeDashoffset:"0"},"50%":{strokeDasharray:"90, 150",strokeDashoffset:"-35"},"100%":{strokeDasharray:"90, 150",strokeDashoffset:"-124"}}),tq=bt({"%100":{transform:"rotate(360deg)"}}),nq=H("div",{"& svg":{animation:`${tq} 2s linear infinite`,zIndex:"$z-30",top:"50%",left:"50%",margin:"-25px 0 0 - 25px",height:"1.2rem",width:"1.2rem",stroke:"hsla(233, 78%, 57%, 0)"},"& svg circle":{stroke:"hsl(210, 70, 75)",strokeLinecap:"round",animation:`${eq} 1.5s ease-in-out infinite`},variants:{medium:{true:{"& svg":{height:"2.4rem",width:"2.4rem"}}},large:{true:{"& svg":{height:"4.8rem",width:"4.8rem"}}},primary:{true:{"& svg":{stroke:"$blue500"}}}}}),Kc=e=>v.jsx(nq,{className:"spinner",...e,children:v.jsx(qX,{})});H("span",{});const _e=H("div",{}),xe=H(_e,{display:"flex"}),s4=H(YW,{fontSize:"$large",fontWeight:600});var Uv=(e=>(e.stable="stable",e.experimental="experimental",e))(Uv||{});const rq=H(_e,{boxShadow:"0px 1.28446px 25.6891px rgba(31, 41, 90, 0.12)",border:"1px solid $grayscale300",padding:"0.4rem 0.8rem",fontWeight:"$bold",fontSize:"$xsmall",borderRadius:"4px",textTransform:"capitalize",userSelect:"none",width:"fit-content",variants:{type:{stable:{backgroundColor:"$white",color:"$green200"},experimental:{backgroundColor:"$white",color:"$blue500"}}}}),Th=H("input",{padding:"0.6rem 1.2rem",border:"0.1rem solid $neutral200",borderRadius:"$regular",width:"100%",lineHeight:"1.8rem",fontSize:"1.4rem",color:"$black",outline:"none",appearance:"none","&::placeholder":{color:"$neutral400"},"&:focus":{backgroundColor:"none"}});H("textarea",{fontFamily:"$Mullish",padding:"0.6rem 1.2rem",border:"0.1rem solid $neutral200",borderRadius:"$regular",width:"100%",height:"100%",lineHeight:"1.8rem",fontSize:"1.4rem",color:"$neutral700",outline:"none",appearance:"none","&::placeholder":{color:"$neutral400"},"&:focus":{backgroundColor:"none"},resize:"none"});const oq=H("button",{all:"unset"}),Ic=H(_e),Hv={outline:"$neutral100 1px solid",backgroundColor:"$neutral100",pointerEvents:"none",[`& ${Ic}`]:{color:"$neutral400",stroke:"red"},[`& ${Ic} svg`]:{"path, circle":{stroke:"$neutral400 !important"}}},Vv={all:"unset",backgroundColor:"$blue500",textDecoration:"none",position:"relative",whiteSpace:"nowrap",cursor:"pointer",color:"$white",fontWeight:"$bold",borderRadius:"$regular",fontSize:"$xsmall",padding:"0.85rem 1.6rem 0.85rem 1.6rem",boxShadow:"$card",border:"none",userSelect:"none",display:"flex",alignItems:"center",flexDirection:"row",transition:"background-color 0.3s ease-in-out",gap:"1.12rem",[`& ${Ic}`]:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1.12rem"},"& .spinner":{display:"none"},"& .spinner svg":{stroke:"$white"},"&:hover:enabled":{outline:"0.1rem solid $white"},"&:disabled":Hv,variants:{secondary:{true:{fontWeight:"$regular",backgroundColor:"$white",color:"$blue500",stroke:"$blue500",border:"1px solid $blue500","&:hover":{backgroundColor:"$blue100",boxShadow:"0px 2px 11px rgba(23, 26, 94, 0.12)"},"&:disabled":{...Hv,border:"$neutral100 1px solid"},"& .spinner svg":{stroke:"$blue500"},"& svg":{"path, circle":{stroke:"$blue500 !important"}}}},noBorder:{true:{fontWeight:"$semiBold",backgroundColor:"transparent",color:"$neutral800",border:"none",boxShadow:"none",borderRadius:"$regular",fontSize:"$xsmall",padding:"0.85rem 1.6rem 0.85rem 1.6rem","&:hover":{backgroundColor:"$neutral100"},"&:active":{color:"$blue500",backgroundColor:"transparent","& svg":{"path, circle":{stroke:"$blue500 "}}},"& svg":{"path, circle":{stroke:"$neutral800"}}}},disabledPrimary:{true:{pointerEvents:"none",backgroundColor:"$neutral100",color:"$neutral400",fontWeight:600,"& svg":{stroke:"$neutral400 !important"}}},loading:{true:{pointerEvents:"none","& .spinner":{display:"block"},[`& ${Ic} svg`]:{display:"none"}}}}},w$=H(oq,Vv),iq=H("a",{...Vv,variants:{...Vv.variants,disabled:{true:Hv}},compoundVariants:[{disabled:!0,secondary:!0,css:{border:"$neutral100 1px solid"}}]}),x$=X.forwardRef(({children:e,...t},n)=>v.jsxs(iq,{...t,ref:n,children:[v.jsx(Kc,{}),v.jsx(Ic,{children:e})]}));x$.displayName="AButton";const Ns=X.forwardRef(({children:e,...t},n)=>v.jsxs(w$,{...t,ref:n,children:[v.jsx(Kc,{}),v.jsx(Ic,{children:e})]}));Ns.displayName="Button";const aq=h.forwardRef(({children:e,...t},n)=>v.jsx(w$,{...t,...n,children:e}));aq.displayName="ButtonWithIcon";const cn=H(_e,{lineHeight:1.2,fontFamily:"$Mulish",variants:{clickable:{true:{textDecoration:"underline",cursor:"pointer"}},type:{error:{color:"$red400",fontWeight:"$semiBold"},success:{color:"$green200",fontWeight:"$semiBold"}},title:{true:{fontSize:"$xxlarge"}},h1:{true:{fontSize:"$xxlarge"}},h2:{true:{fontSize:"$xlarge"}},h3:{true:{fontSize:"$large"}},h4:{true:{fontSize:"$medium"}},h5:{true:{fontSize:"$small"}},link:{true:{color:"$neutral700"}},ellipsis:{true:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}}),sq=H(cn,{fontWeight:"$bold",color:"$neutral800"});H(eZ,{backgroundColor:"$grayscale200","&[data-orientation=horizontal]":{height:1,width:"100%"}});H(_e,{borderRadius:"$regular",backgroundColor:"$white",boxShadow:"$card"});const lq=H(cn,{position:"relative",backgroundColor:"inherit",whiteSpace:"nowrap",paddingLeft:"1em",overflow:"hidden","&:before":{content:"\\02026",position:"absolute",zIndex:"$z-10",left:"-1em",backgroundColor:"inherit",paddingLeft:"1em",marginLeft:"0.5em"},"& span::before":{content:"",position:"absolute",display:"inline-block",width:"1em",height:"1em",backgroundColor:"inherit",zIndex:"$z-20",left:"-0.9rem"},"& span":{minWidth:"100%",position:"relative",display:"inline-block",float:"right",overflow:"visible",backgroundColor:"inherit",textIndent:"0.5rem"}}),S$=X.forwardRef((e,t)=>{const{dynamic:n="false"}=e;if(n==="false"){const{value:r="",maxLength:o=30}=e;return v.jsx(cn,{...e,ref:t,children:v.jsx("span",{children:r.length>o?`...${r.substring(r.length-o,r.length)}`:r})})}return v.jsx(lq,{...e,ref:t,children:v.jsx("span",{children:e.value})})});S$.displayName="TextWithTrailingEllipsis";H("a",{color:"$blue500",fontSize:"$xsmall"});function ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function un(e,t=[]){let n=[];function r(i,a){const s=h.createContext(a),l=n.length;n=[...n,a];function c(d){const{scope:f,children:p,...m}=d,g=(f==null?void 0:f[e][l])||s,w=h.useMemo(()=>m,Object.values(m));return h.createElement(g.Provider,{value:w},p)}function u(d,f){const p=(f==null?void 0:f[e][l])||s,m=h.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,u]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,cq(o,...t)]}function cq(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const uq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Tf=uq.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ki:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function dq(e){const t=e+"CollectionProvider",[n,r]=un(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=Le(m,y.collectionRef);return X.createElement(ki,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=Le(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(ki,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const jn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},fq=dd["useId".toString()]||(()=>{});let pq=0;function Mo(e){const[t,n]=h.useState(fq());return jn(()=>{e||n(r=>r??String(pq++))},[e]),e||(t?`radix-${t}`:"")}function Kt(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Nr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=hq({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=Kt(n),l=h.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[a,l]}function hq({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=Kt(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const mq=h.createContext(void 0);function Ah(e){const t=h.useContext(mq);return e||t||"ltr"}const kg="rovingFocusGroup.onEntryFocus",gq={bubbles:!1,cancelable:!0},l4="RovingFocusGroup",[Wv,E$,vq]=dq(l4),[yq,_$]=un(l4,[vq]),[bq,wq]=yq(l4),xq=h.forwardRef((e,t)=>h.createElement(Wv.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Wv.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(Sq,W({},e,{ref:t}))))),Sq=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=h.useRef(null),f=Le(t,d),p=Ah(i),[m=null,g]=Nr({prop:a,defaultProp:s,onChange:l}),[w,y]=h.useState(!1),b=Kt(c),x=E$(n),S=h.useRef(!1),[_,E]=h.useState(0);return h.useEffect(()=>{const C=d.current;if(C)return C.addEventListener(kg,b),()=>C.removeEventListener(kg,b)},[b]),h.createElement(bq,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:m,onItemFocus:h.useCallback(C=>g(C),[g]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>E(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>E(C=>C-1),[])},h.createElement(Tf.div,W({tabIndex:w||_===0?-1:0,"data-orientation":r},u,{ref:f,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{S.current=!0}),onFocus:ce(e.onFocus,C=>{const k=!S.current;if(C.target===C.currentTarget&&k&&!w){const I=new CustomEvent(kg,gq);if(C.currentTarget.dispatchEvent(I),!I.defaultPrevented){const j=x().filter(M=>M.focusable),$=j.find(M=>M.active),P=j.find(M=>M.id===m),R=[$,P,...j].filter(Boolean).map(M=>M.ref.current);C$(R)}}S.current=!1}),onBlur:ce(e.onBlur,()=>y(!1))})))}),Eq="RovingFocusGroupItem",_q=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=Mo(),l=i||s,c=wq(Eq,n),u=c.currentTabStopId===l,d=E$(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=c;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(Wv.ItemSlot,{scope:n,id:l,focusable:r,active:o},h.createElement(Tf.span,W({tabIndex:u?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:ce(e.onMouseDown,m=>{r?c.onItemFocus(l):m.preventDefault()}),onFocus:ce(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:ce(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){c.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=$q(m,c.orientation,c.dir);if(g!==void 0){m.preventDefault();let y=d().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")y.reverse();else if(g==="prev"||g==="next"){g==="prev"&&y.reverse();const b=y.indexOf(m.currentTarget);y=c.loop?Tq(y,b+1):y.slice(b+1)}setTimeout(()=>C$(y))}})})))}),Cq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kq(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function $q(e,t,n){const r=kq(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Cq[r]}function C$(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Tq(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Aq=xq,Rq=_q;function Rh(e){const[t,n]=h.useState(void 0);return jn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,s=c.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function c4(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Fq(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const fo=e=>{const{present:t,children:n}=e,r=Iq(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Le(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};fo.displayName="Presence";function Iq(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[s,l]=Fq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=C0(r.current);i.current=s==="mounted"?c:"none"},[s]),jn(()=>{const c=r.current,u=o.current;if(u!==e){const f=i.current,p=C0(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),jn(()=>{if(t){const c=d=>{const p=C0(r.current).includes(d.animationName);d.target===t&&p&&On.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(i.current=C0(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function C0(e){return(e==null?void 0:e.animationName)||"none"}const k$="Radio",[Pq,$$]=un(k$),[Oq,jq]=Pq(k$),Dq=h.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:i,disabled:a,value:s="on",onCheck:l,...c}=e,[u,d]=h.useState(null),f=Le(t,g=>d(g)),p=h.useRef(!1),m=u?!!u.closest("form"):!0;return h.createElement(Oq,{scope:n,checked:o,disabled:a},h.createElement(Tf.button,W({type:"button",role:"radio","aria-checked":o,"data-state":T$(o),"data-disabled":a?"":void 0,disabled:a,value:s},c,{ref:f,onClick:ce(e.onClick,g=>{o||l==null||l(),m&&(p.current=g.isPropagationStopped(),p.current||g.stopPropagation())})})),m&&h.createElement(Nq,{control:u,bubbles:!p.current,name:r,value:s,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))}),Mq="RadioIndicator",Lq=h.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,i=jq(Mq,n);return h.createElement(fo,{present:r||i.checked},h.createElement(Tf.span,W({"data-state":T$(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))}),Nq=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=c4(n),s=Rh(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});d.call(l,n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function T$(e){return e?"checked":"unchecked"}const Bq=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],A$="RadioGroup",[zq,K5e]=un(A$,[_$,$$]),R$=_$(),F$=$$(),[Uq,Hq]=zq(A$),Vq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:i,required:a=!1,disabled:s=!1,orientation:l,dir:c,loop:u=!0,onValueChange:d,...f}=e,p=R$(n),m=Ah(c),[g,w]=Nr({prop:i,defaultProp:o,onChange:d});return h.createElement(Uq,{scope:n,name:r,required:a,disabled:s,value:g,onValueChange:w},h.createElement(Aq,W({asChild:!0},p,{orientation:l,dir:m,loop:u}),h.createElement(Tf.div,W({role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:m},f,{ref:t}))))}),Wq="RadioGroupItem",Zq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,i=Hq(Wq,n),a=i.disabled||r,s=R$(n),l=F$(n),c=h.useRef(null),u=Le(t,c),d=i.value===o.value,f=h.useRef(!1);return h.useEffect(()=>{const p=g=>{Bq.includes(g.key)&&(f.current=!0)},m=()=>f.current=!1;return document.addEventListener("keydown",p),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",p),document.removeEventListener("keyup",m)}},[]),h.createElement(Rq,W({asChild:!0},s,{focusable:!a,active:d}),h.createElement(Dq,W({disabled:a,required:i.required,checked:d},l,o,{name:i.name,ref:u,onCheck:()=>i.onValueChange(o.value),onKeyDown:ce(p=>{p.key==="Enter"&&p.preventDefault()}),onFocus:ce(o.onFocus,()=>{var p;f.current&&((p=c.current)===null||p===void 0||p.click())})})))}),Gq=h.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=F$(n);return h.createElement(Lq,W({},o,r,{ref:t}))}),Xq=Vq,qq=Zq,Kq=Gq;function Je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Yq(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function I$(...e){return t=>e.forEach(n=>Yq(n,t))}function yn(...e){return h.useCallback(I$(...e),e)}function Di(e,t=[]){let n=[];function r(i,a){const s=h.createContext(a),l=n.length;n=[...n,a];function c(d){const{scope:f,children:p,...m}=d,g=(f==null?void 0:f[e][l])||s,w=h.useMemo(()=>m,Object.values(m));return h.createElement(g.Provider,{value:w},p)}function u(d,f){const p=(f==null?void 0:f[e][l])||s,m=h.useContext(p);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,u]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Qq(o,...t)]}function Qq(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function tr(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function P$({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Jq({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=tr(n),l=h.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[a,l]}function Jq({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=tr(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function eK(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const Ra=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function u4(e){const[t,n]=h.useState(void 0);return Ra(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,s=c.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Pc=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(nK);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Zv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Zv,W({},r,{ref:t}),n)});Pc.displayName="Slot";const Zv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...rK(r,n.props),ref:t?I$(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});Zv.displayName="SlotClone";const tK=({children:e})=>h.createElement(h.Fragment,null,e);function nK(e){return h.isValidElement(e)&&e.type===tK}function rK(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const oK=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ar=oK.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?Pc:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function d4(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}const O$="Switch",[iK,Y5e]=Di(O$),[aK,sK]=iK(O$),lK=h.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:l="on",onCheckedChange:c,...u}=e,[d,f]=h.useState(null),p=yn(t,b=>f(b)),m=h.useRef(!1),g=d?!!d.closest("form"):!0,[w=!1,y]=P$({prop:o,defaultProp:i,onChange:c});return h.createElement(aK,{scope:n,checked:w,disabled:s},h.createElement(ar.button,W({type:"button",role:"switch","aria-checked":w,"aria-required":a,"data-state":j$(w),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:p,onClick:Je(e.onClick,b=>{y(x=>!x),g&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})})),g&&h.createElement(dK,{control:d,bubbles:!m.current,name:r,value:l,checked:w,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),cK="SwitchThumb",uK=h.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=sK(cK,n);return h.createElement(ar.span,W({"data-state":j$(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),dK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=eK(n),s=u4(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});d.call(l,n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function j$(e){return e?"checked":"unchecked"}const fK=lK,pK=uK;H("button",{cursor:"pointer","& svg":{stroke:"$white"},backgroundColor:"inherit",variants:{secondary:{true:{"& svg":{stroke:"$blue500"}}},disabled:{true:{pointerEvents:"none","& svg":{stroke:"$neutral300"}}}}});const hK=H("label",{position:"relative",display:"inline-block",minWidth:"5.8rem",minHeight:"3.2rem","& input":{opacity:0,width:0,height:0},"& span":{position:"absolute",cursor:"pointer",padding:"0.2rem",display:"flex",alignItems:"center",justifyContent:"space-around",border:"0.075rem solid $neutral500",top:0,left:0,right:0,bottom:0,transition:"stroke 5s",borderRadius:"$regular"},"& span:before":{position:"absolute",content:"",height:"2.6rem",width:"2.6rem",left:".2rem",backgroundColor:"$neutral800",transition:".4s",borderRadius:"$regular"},"& svg":{zIndex:"$z-10",transition:"stroke 0.4s"},"& input + span svg:first-child":{stroke:"$white"},"& input:checked + span svg:nth-child(2)":{stroke:"$white"},"& input:checked + span svg:first-child":{stroke:"$neutral600"},"& input + span svg:nth-child(2)":{stroke:"$neutral600"},"input:focus + .slider":{boxShadow:"0 0 1px #2196F3"},"& input:checked + span:before":{transform:"translateX(26px)"}}),mK=({css:e,className:t,onChange:n,checked:r})=>v.jsxs(hK,{css:e,className:t,children:[v.jsx("input",{onChange:n,type:"checkbox",checked:r}),v.jsxs("span",{children:[v.jsx(YX,{}),v.jsx(KX,{})]})]}),gK=H(qq,{width:"25px",height:"25px",borderRadius:"100%",border:"1px solid $blue500"}),vK=H(Kq,{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",position:"relative","&:after":{content:"",display:"block",width:"11px",height:"11px",borderRadius:"50%",backgroundColor:"$blue500"}}),yK=H(s4,{paddingLeft:"9px",fontSize:"1.2rem",color:"$neutral600"});H(Xq);const bK=H(fK,{width:"2.8rem",height:"1.6rem",backgroundColor:"$neutral400",borderRadius:"3.4rem",position:"relative","&:focus":{boxShadow:"0 0 0 2px $blue500"},"&[data-state='checked']":{backgroundColor:"$blue500"},"&:disabled":{cursor:"auto"}}),wK=H(pK,{display:"block",width:"0.8rem",height:"0.8rem",backgroundColor:"white",borderRadius:"9999px",transition:"transform 100ms",transform:"translateX(0.4rem)",willChange:"transform","&[data-state='checked']":{transform:"translateX(1.6rem)"}}),xK=({label:e,onChange:t,checked:n,disabled:r})=>v.jsxs(xe,{css:{alignItems:"center",gap:"1.2rem"},children:[!!e&&v.jsx(s4,{css:{color:"$neutral600",fontSize:"$small",fontWeight:"$semiBold"},children:e}),v.jsx(bK,{onCheckedChange:t,checked:n,disabled:r,children:v.jsx(wK,{})})]});H(xK,{});const D$="Checkbox",[SK,Q5e]=un(D$),[EK,_K]=SK(D$),CK=h.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:l="on",onCheckedChange:c,...u}=e,[d,f]=h.useState(null),p=Le(t,x=>f(x)),m=h.useRef(!1),g=d?!!d.closest("form"):!0,[w=!1,y]=Nr({prop:o,defaultProp:i,onChange:c}),b=h.useRef(w);return h.useEffect(()=>{const x=d==null?void 0:d.form;if(x){const S=()=>y(b.current);return x.addEventListener("reset",S),()=>x.removeEventListener("reset",S)}},[d,y]),h.createElement(EK,{scope:n,state:w,disabled:s},h.createElement(Ve.button,W({type:"button",role:"checkbox","aria-checked":Cs(w)?"mixed":w,"aria-required":a,"data-state":M$(w),"data-disabled":s?"":void 0,disabled:s,value:l},u,{ref:p,onKeyDown:ce(e.onKeyDown,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:ce(e.onClick,x=>{y(S=>Cs(S)?!0:!S),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})})),g&&h.createElement(TK,{control:d,bubbles:!m.current,name:r,value:l,checked:w,required:a,disabled:s,style:{transform:"translateX(-100%)"}}))}),kK="CheckboxIndicator",$K=h.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=_K(kK,n);return h.createElement(fo,{present:r||Cs(i.state)||i.state===!0},h.createElement(Ve.span,W({"data-state":M$(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),TK=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=c4(n),s=Rh(t);return h.useEffect(()=>{const l=i.current,c=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(c,"checked").set;if(a!==n&&d){const f=new Event("click",{bubbles:r});l.indeterminate=Cs(n),d.call(l,Cs(n)?!1:n),l.dispatchEvent(f)}},[a,n,r]),h.createElement("input",W({type:"checkbox","aria-hidden":!0,defaultChecked:Cs(n)?!1:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Cs(e){return e==="indeterminate"}function M$(e){return Cs(e)?"indeterminate":e?"checked":"unchecked"}const AK=CK,RK=$K;fb(AK,{all:"unset",backgroundColor:"$white",width:"1.2rem",height:"1.2rem",borderRadius:"$normal",border:"1px solid $neutral500",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"$card",padding:"0.2rem !important",cursor:"pointer","&:hover:not([disabled])":{backgroundColor:"$grayscale200"},"&:focus":{boxShadow:"$card"},"&[data-state=checked]:not([disabled])":{backgroundColor:"$blue500",borderColor:"$blue500"},"&[disabled][data-state=checked]":{backgroundColor:"$neutral300",borderColor:"$neutral300"},"&[disabled]":{cursor:"auto"}});fb(RK,{});fb(cn,{color:"$white",fontSize:"$small",lineHeight:1});H(_e,{padding:"0.8rem 1.6rem",borderRadius:"0.6rem",background:"$neutral900"});H(cn,{whiteSpace:"pre-wrap",fontFamily:"'IBM Plex Mono'",fontSize:"$xsmall",lineHeight:"2.1rem",color:"$grayscale200"});function Af(e){const t=e+"CollectionProvider",[n,r]=un(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=Le(m,y.collectionRef);return X.createElement(ki,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=Le(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(ki,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const L$="Collapsible",[FK,N$]=un(L$),[IK,B$]=FK(L$),PK=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...s}=e,[l=!1,c]=Nr({prop:r,defaultProp:o,onChange:a});return h.createElement(IK,{scope:n,disabled:i,contentId:Mo(),open:l,onOpenToggle:h.useCallback(()=>c(u=>!u),[c])},h.createElement(Ve.div,W({"data-state":U$(l),"data-disabled":i?"":void 0},s,{ref:t})))}),z$="CollapsibleContent",OK=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=B$(z$,e.__scopeCollapsible);return h.createElement(fo,{present:n||o.open},({present:i})=>h.createElement(jK,W({},r,{ref:t,present:i})))}),jK=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=B$(z$,n),[s,l]=h.useState(r),c=h.useRef(null),u=Le(t,c),d=h.useRef(0),f=d.current,p=h.useRef(0),m=p.current,g=a.open||s,w=h.useRef(g),y=h.useRef();return h.useEffect(()=>{const b=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(b)},[]),jn(()=>{const b=c.current;if(b){y.current=y.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const x=b.getBoundingClientRect();d.current=x.height,p.current=x.width,w.current||(b.style.transitionDuration=y.current.transitionDuration,b.style.animationName=y.current.animationName),l(r)}},[a.open,r]),h.createElement(Ve.div,W({"data-state":U$(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g},i,{ref:u,style:{["--radix-collapsible-content-height"]:f?`${f}px`:void 0,["--radix-collapsible-content-width"]:m?`${m}px`:void 0,...e.style}}),g&&o)});function U$(e){return e?"open":"closed"}const DK=PK,MK=OK,Rf="Accordion",LK=["Home","End","ArrowDown","ArrowUp"],[H$,NK,BK]=Af(Rf),[Fh,J5e]=un(Rf,[BK,N$]),V$=N$(),zK=X.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return X.createElement(H$.Provider,{scope:e.__scopeAccordion},n==="multiple"?X.createElement(VK,W({},i,{ref:t})):X.createElement(HK,W({},o,{ref:t})))});zK.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[W$,UK]=Fh(Rf),[Z$,e6e]=Fh(Rf,{collapsible:!1}),HK=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[s,l]=Nr({prop:n,defaultProp:r,onChange:o});return X.createElement(W$,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:l,onItemClose:X.useCallback(()=>i&&l(""),[i,l])},X.createElement(Z$,{scope:e.__scopeAccordion,collapsible:i},X.createElement(G$,W({},a,{ref:t}))))}),VK=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],s]=Nr({prop:n,defaultProp:r,onChange:o}),l=X.useCallback(u=>s((d=[])=>[...d,u]),[s]),c=X.useCallback(u=>s((d=[])=>d.filter(f=>f!==u)),[s]);return X.createElement(W$,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:c},X.createElement(Z$,{scope:e.__scopeAccordion,collapsible:!0},X.createElement(G$,W({},i,{ref:t}))))}),[WK,ZK]=Fh(Rf),G$=X.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,...o}=e,i=X.useRef(null),a=Le(i,t),s=NK(n),l=ce(e.onKeyDown,c=>{var u;if(!LK.includes(c.key))return;const d=c.target,f=s().filter(y=>{var b;return!((b=y.ref.current)!==null&&b!==void 0&&b.disabled)}),p=f.findIndex(y=>y.ref.current===d),m=f.length;if(p===-1)return;c.preventDefault();let g=p;switch(c.key){case"Home":g=0;break;case"End":g=m-1;break;case"ArrowDown":g=p+1;break;case"ArrowUp":g=p-1,g<0&&(g=m-1);break}const w=g%m;(u=f[w].ref.current)===null||u===void 0||u.focus()});return X.createElement(WK,{scope:n,disabled:r},X.createElement(H$.Slot,{scope:n},X.createElement(Ve.div,W({},o,{ref:a,onKeyDown:r?void 0:l}))))}),Gv="AccordionItem",[GK,X$]=Fh(Gv),XK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=ZK(Gv,n),a=UK(Gv,n),s=V$(n),l=Mo(),c=r&&a.value.includes(r)||!1,u=i.disabled||e.disabled;return X.createElement(GK,{scope:n,open:c,disabled:u,triggerId:l},X.createElement(DK,W({"data-state":c?"open":"closed"},s,o,{ref:t,disabled:u,open:c,onOpenChange:d=>{d?a.onItemOpen(r):a.onItemClose(r)}})))}),qK="AccordionHeader",KK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=X$(qK,n);return X.createElement(Ve.h3,W({"data-state":JK(o.open),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),YK="AccordionContent",QK=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=X$(YK,n),i=V$(n);return X.createElement(MK,W({role:"region","aria-labelledby":o.triggerId},i,r,{ref:t,style:{["--radix-accordion-content-height"]:"var(--radix-collapsible-content-height)",["--radix-accordion-content-width"]:"var(--radix-collapsible-content-width)",...e.style}}))});function JK(e){return e?"open":"closed"}const eY=XK,tY=KK,nY=QK;H(tY,{fontSize:"$medium"});H(xe,{justifyContent:"space-between"});H(_e,{backgroundColor:"white",borderRadius:"$regular"});H(eY,{marginBottom:"1.6rem"});const rY=bt({from:{height:0},to:{height:"var(--radix-accordion-content-height)"}}),oY=bt({from:{height:"var(--radix-accordion-content-height)"},to:{height:0}});H(nY,{overflow:"hidden",fontSize:15,boxShadow:"$card",borderBottom:"2px solid $grayscale300",borderRadius:"$regular",'&[data-state="open"]':{animation:`${rY} 300ms cubic-bezier(0.87, 0, 0.13, 1)`},'&[data-state="closed"]':{animation:`${oY} 300ms cubic-bezier(0.87, 0, 0.13, 1)`},background:"$neutral200","& table":{background:"white",width:"100%",borderSpacing:"0 8px",borderBottomLeftRadius:"$regular",borderBottomRightRadius:"$regular","& th":{fontSize:"$small",color:"$neutral500",fontWeight:"$normal",textAlign:"left",padding:"2rem",cursor:"pointer",userSelect:"none"},"& td":{fontSize:"$small",".assign-date":{color:"$grayscale300"},padding:"2rem 4rem 2rem 2rem",backgroundColor:"#FCFCFC","&:last-of-type":{maxWidth:"10rem"}}}});const f4=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(aY);if(i){const a=i.props.children,s=o.map(l=>l===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:l);return h.createElement(Xv,W({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,s):null)}return h.createElement(Xv,W({},r,{ref:t}),n)});f4.displayName="Slot";const Xv=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...sY(r,n.props),ref:o4(t,n.ref)}):h.Children.count(n)>1?h.Children.only(null):null});Xv.displayName="SlotClone";const iY=({children:e})=>h.createElement(h.Fragment,null,e);function aY(e){return h.isValidElement(e)&&e.type===iY}function sY(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{i==null||i(...s),o==null||o(...s)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const lY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],za=lY.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?f4:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,W({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cY(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}function uY(e){const t=Kt(e);h.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const qv="dismissableLayer.update",dY="dismissableLayer.pointerDownOutside",fY="dismissableLayer.focusOutside";let s8;const pY=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hY=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,c=h.useContext(pY),[u,d]=h.useState(null),[,f]=h.useState({}),p=Le(t,E=>d(E)),m=Array.from(c.layers),[g]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(g),y=u?m.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,x=y>=w,S=mY(E=>{const C=E.target,k=[...c.branches].some(I=>I.contains(C));!x||k||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),_=gY(E=>{const C=E.target;[...c.branches].some(I=>I.contains(C))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return uY(E=>{y===c.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),h.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(s8=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),l8(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=s8)}},[u,n,c]),h.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),l8())},[u,c]),h.useEffect(()=>{const E=()=>f({});return document.addEventListener(qv,E),()=>document.removeEventListener(qv,E)},[]),h.createElement(za.div,W({},l,{ref:p,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,_.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,S.onPointerDownCapture)}))});function mY(e){const t=Kt(e),n=h.useRef(!1),r=h.useRef(()=>{});return h.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let c=function(){q$(dY,t,l,{discrete:!0})};var s=c;const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=c,document.addEventListener("click",r.current,{once:!0})):c()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function gY(e){const t=Kt(e),n=h.useRef(!1);return h.useEffect(()=>{const r=o=>{o.target&&!n.current&&q$(fY,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function l8(){const e=new CustomEvent(qv);document.dispatchEvent(e)}function q$(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cY(o,i):o.dispatchEvent(i)}const $g="focusScope.autoFocusOnMount",Tg="focusScope.autoFocusOnUnmount",c8={bubbles:!1,cancelable:!0},vY=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=Kt(o),u=Kt(i),d=h.useRef(null),f=Le(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let y=function(x){if(p.paused||!s)return;const S=x.target;s.contains(S)?d.current=S:Ja(d.current,{select:!0})},b=function(x){p.paused||!s||s.contains(x.relatedTarget)||Ja(d.current,{select:!0})};var g=y,w=b;return document.addEventListener("focusin",y),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b)}}},[r,s,p.paused]),h.useEffect(()=>{if(s){d8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent($g,c8);s.addEventListener($g,c),s.dispatchEvent(y),y.defaultPrevented||(yY(EY(K$(s)),{select:!0}),document.activeElement===g&&Ja(s))}return()=>{s.removeEventListener($g,c),setTimeout(()=>{const y=new CustomEvent(Tg,c8);s.addEventListener(Tg,u),s.dispatchEvent(y),y.defaultPrevented||Ja(g??document.body,{select:!0}),s.removeEventListener(Tg,u),d8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=bY(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Ja(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Ja(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(za.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function yY(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ja(r,{select:t}),document.activeElement!==n)return}function bY(e){const t=K$(e),n=u8(t,e),r=u8(t.reverse(),e);return[n,r]}function K$(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function u8(e,t){for(const n of e)if(!wY(n,{upTo:t}))return n}function wY(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xY(e){return e instanceof HTMLInputElement&&"select"in e}function Ja(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&xY(e)&&t&&e.select()}}const d8=SY();function SY(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=f8(e,t),e.unshift(t)},remove(t){var n;e=f8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function f8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function EY(e){return e.filter(t=>t.tagName!=="A")}const _Y=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(za.div,W({},o,{ref:t})),r):null});let Ag=0;function p4(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:p8()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:p8()),Ag++,()=>{Ag===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ag--}},[])}function p8(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var St=function(){return St=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return DY;var t=MY(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},NY=m4(),BY=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` .`.concat(CY,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; @@ -83,30 +83,30 @@ Defaulting to \`${zv}\`.`}function s$(e){return QW.includes(e)}const eZ=a$,tZ={w body { `).concat(kY,": ").concat(s,`px; } -`)},rT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=h.useMemo(function(){return LY(o)},[o]);return h.createElement(NY,{styles:BY(i,!t,o,n?"":"!important")})},Kv=!1;if(typeof window<"u")try{var kp=Object.defineProperty({},"passive",{get:function(){return Kv=!0,!0}});window.addEventListener("test",kp,kp),window.removeEventListener("test",kp,kp)}catch{Kv=!1}var dl=Kv?{passive:!1}:!1,zY=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},UY=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},m8=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=oT(e,n);if(r){var o=iT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},HY=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},VY=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},oT=function(e,t){return e==="v"?zY(t):UY(t)},iT=function(e,t){return e==="v"?HY(t):VY(t)},WY=function(e,t){return e==="h"&&t==="rtl"?-1:1},ZY=function(e,t,n,r,o){var i=WY(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=iT(e,s),m=p[0],g=p[1],w=p[2],y=g-w-i*m;(m||y)&&oT(e,s)&&(d+=y,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&d===0||!o&&a>d)||!u&&(o&&f===0||!o&&-a>f))&&(c=!0),c},$p=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},g8=function(e){return[e.deltaX,e.deltaY]},v8=function(e){return e&&"current"in e?e.current:e},GY=function(e,t){return e[0]===t[0]&&e[1]===t[1]},XY=function(e){return` +`)},rT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=h.useMemo(function(){return LY(o)},[o]);return h.createElement(NY,{styles:BY(i,!t,o,n?"":"!important")})},Kv=!1;if(typeof window<"u")try{var k0=Object.defineProperty({},"passive",{get:function(){return Kv=!0,!0}});window.addEventListener("test",k0,k0),window.removeEventListener("test",k0,k0)}catch{Kv=!1}var dl=Kv?{passive:!1}:!1,zY=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},UY=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},m8=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=oT(e,n);if(r){var o=iT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},HY=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},VY=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},oT=function(e,t){return e==="v"?zY(t):UY(t)},iT=function(e,t){return e==="v"?HY(t):VY(t)},WY=function(e,t){return e==="h"&&t==="rtl"?-1:1},ZY=function(e,t,n,r,o){var i=WY(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=iT(e,s),m=p[0],g=p[1],w=p[2],y=g-w-i*m;(m||y)&&oT(e,s)&&(d+=y,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&d===0||!o&&a>d)||!u&&(o&&f===0||!o&&-a>f))&&(c=!0),c},$0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},g8=function(e){return[e.deltaX,e.deltaY]},v8=function(e){return e&&"current"in e?e.current:e},GY=function(e,t){return e[0]===t[0]&&e[1]===t[1]},XY=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},qY=0,fl=[];function KY(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(qY++)[0],i=h.useState(function(){return m4()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=h4([e.lockRef.current],(e.shards||[]).map(v8),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var y=$p(g),b=n.current,x="deltaX"in g?g.deltaX:b[0]-y[0],S="deltaY"in g?g.deltaY:b[1]-y[1],_,E=g.target,C=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&C==="h"&&E.type==="range")return!1;var k=m8(C,E);if(!k)return!0;if(k?_=C:(_=C==="v"?"h":"v",k=m8(C,E)),!k)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=_),!_)return!0;var I=r.current||_;return ZY(I,w,g,I==="h"?x:S,!0)},[]),l=h.useCallback(function(g){var w=g;if(!(!fl.length||fl[fl.length-1]!==i)){var y="deltaY"in w?g8(w):$p(w),b=t.current.filter(function(_){return _.name===w.type&&_.target===w.target&&GY(_.delta,y)})[0];if(b&&b.should){w.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(v8).filter(Boolean).filter(function(_){return _.contains(w.target)}),S=x.length>0?s(w,x[0]):!a.current.noIsolation;S&&w.preventDefault()}}},[]),c=h.useCallback(function(g,w,y,b){var x={name:g,delta:w,target:y,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),u=h.useCallback(function(g){n.current=$p(g),r.current=void 0},[]),d=h.useCallback(function(g){c(g.type,g8(g),g.target,s(g,e.lockRef.current))},[]),f=h.useCallback(function(g){c(g.type,$p(g),g.target,s(g,e.lockRef.current))},[]);h.useEffect(function(){return fl.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,dl),document.addEventListener("touchmove",l,dl),document.addEventListener("touchstart",u,dl),function(){fl=fl.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,dl),document.removeEventListener("touchmove",l,dl),document.removeEventListener("touchstart",u,dl)}},[]);var p=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(i,{styles:XY(o)}):null,p?h.createElement(rT,{gapMode:"margin"}):null)}const YY=eT(tT,KY);var aT=h.forwardRef(function(e,t){return h.createElement(Ih,St({},e,{ref:t,sideCar:YY}))});aT.classNames=Ih.classNames;const QY=aT;var JY=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},pl=new WeakMap,Tp=new WeakMap,Ap={},Ig=0,sT=function(e){return e&&(e.host||sT(e.parentNode))},eQ=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=sT(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},tQ=function(e,t,n,r){var o=eQ(t,Array.isArray(e)?e:[e]);Ap[n]||(Ap[n]=new WeakMap);var i=Ap[n],a=[],s=new Set,l=new Set(o),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(s.has(f))u(f);else{var p=f.getAttribute(r),m=p!==null&&p!=="false",g=(pl.get(f)||0)+1,w=(i.get(f)||0)+1;pl.set(f,g),i.set(f,w),a.push(f),g===1&&m&&Tp.set(f,!0),w===1&&f.setAttribute(n,"true"),m||f.setAttribute(r,"true")}})};return u(t),s.clear(),Ig++,function(){a.forEach(function(d){var f=pl.get(d)-1,p=i.get(d)-1;pl.set(d,f),i.set(d,p),f||(Tp.has(d)||d.removeAttribute(r),Tp.delete(d)),p||d.removeAttribute(n)}),Ig--,Ig||(pl=new WeakMap,pl=new WeakMap,Tp=new WeakMap,Ap={})}},If=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||JY(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),tQ(r,o,n,"aria-hidden")):function(){return null}};const lT="Dialog",[cT,t6e]=un(lT),[nQ,po]=cT(lT),rQ=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=h.useRef(null),l=h.useRef(null),[c=!1,u]=Nr({prop:r,defaultProp:o,onChange:i});return h.createElement(nQ,{scope:t,triggerRef:s,contentRef:l,contentId:Mo(),titleId:Mo(),descriptionId:Mo(),open:c,onOpenChange:u,onOpenToggle:h.useCallback(()=>u(d=>!d),[u]),modal:a},n)},oQ="DialogTrigger",iQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(oQ,n),i=Le(t,o.triggerRef);return h.createElement(za.button,W({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":g4(o.open)},r,{ref:i,onClick:ce(e.onClick,o.onOpenToggle)}))}),uT="DialogPortal",[aQ,dT]=cT(uT,{forceMount:void 0}),sQ=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=po(uT,t);return h.createElement(aQ,{scope:t,forceMount:n},h.Children.map(r,a=>h.createElement(fo,{present:n||i.open},h.createElement(_Y,{asChild:!0,container:o},a))))},Yv="DialogOverlay",lQ=h.forwardRef((e,t)=>{const n=dT(Yv,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(Yv,e.__scopeDialog);return i.modal?h.createElement(fo,{present:r||i.open},h.createElement(cQ,W({},o,{ref:t}))):null}),cQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(Yv,n);return h.createElement(QY,{as:f4,allowPinchZoom:!0,shards:[o.contentRef]},h.createElement(za.div,W({"data-state":g4(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Wd="DialogContent",uQ=h.forwardRef((e,t)=>{const n=dT(Wd,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(Wd,e.__scopeDialog);return h.createElement(fo,{present:r||i.open},i.modal?h.createElement(dQ,W({},o,{ref:t})):h.createElement(fQ,W({},o,{ref:t})))}),dQ=h.forwardRef((e,t)=>{const n=po(Wd,e.__scopeDialog),r=h.useRef(null),o=Le(t,n.contentRef,r);return h.useEffect(()=>{const i=r.current;if(i)return If(i)},[]),h.createElement(fT,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault())}))}),fQ=h.forwardRef((e,t)=>{const n=po(Wd,e.__scopeDialog),r=h.useRef(!1);return h.createElement(fT,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;((a=n.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),fT=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=po(Wd,n),l=h.useRef(null),c=Le(t,l);return p4(),h.createElement(h.Fragment,null,h.createElement(vY,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(hY,W({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":g4(s.open)},a,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),pQ="DialogTitle",hQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(pQ,n);return h.createElement(za.h2,W({id:o.titleId},r,{ref:t}))}),mQ="DialogDescription",gQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(mQ,n);return h.createElement(za.p,W({id:o.descriptionId},r,{ref:t}))}),vQ="DialogClose",yQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(vQ,n);return h.createElement(za.button,W({type:"button"},r,{ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))}))});function g4(e){return e?"open":"closed"}const bQ=rQ,wQ=iQ,xQ=sQ,SQ=lQ,EQ=uQ,_Q=hQ,CQ=gQ,kQ=yQ,$Q=bt({"0%":{opacity:0},"100%":{opacity:1}}),TQ=H(SQ,{backgroundColor:"$black_05",backdropFilter:"blur(5px)",position:"fixed",inset:0,animation:`${$Q} 500ms cubic-bezier(0.16, 1, 0.3, 1)`,zIndex:"$z-30",opacity:.9}),pT=X.forwardRef((e,t)=>v.jsx(TQ,{...e,...t}));pT.displayName="DialogOverlay";const Ki={Root:H(bQ),Trigger:wQ,Portal:xQ,Overlay:pT,Content:EQ,Close:kQ,Title:H(_Q),Description:H(CQ)};H(_e,{backgroundColor:"$grayscale300",marginLeft:8,marginRight:8,variants:{direction:{horizontal:{width:"80%",height:2},vertical:{width:2,height:"80%"}}}});function hT(e){const t=e+"CollectionProvider",[n,r]=Di(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=yn(m,y.collectionRef);return X.createElement(Pc,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=yn(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(Pc,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const AQ=h.createContext(void 0);function RQ(e){const t=h.useContext(AQ);return e||t||"ltr"}function mT(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Qv="dismissableLayer.update",FQ="dismissableLayer.pointerDownOutside",IQ="dismissableLayer.focusOutside";let y8;const PQ=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),OQ=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(PQ),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=yn(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=jQ(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=DQ(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return mT(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(y8=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),b8(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=y8)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),b8())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(Qv,k),()=>document.removeEventListener(Qv,k)},[]),h.createElement(ar.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,E.onPointerDownCapture)}))});function jQ(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){gT(FQ,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function DQ(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&gT(IQ,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function b8(){const e=new CustomEvent(Qv);document.dispatchEvent(e)}function gT(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d4(o,i):o.dispatchEvent(i)}let Pg=0;function vT(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:w8()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:w8()),Pg++,()=>{Pg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Pg--}},[])}function w8(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Og="focusScope.autoFocusOnMount",jg="focusScope.autoFocusOnUnmount",x8={bubbles:!1,cancelable:!0},MQ=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=tr(o),u=tr(i),d=h.useRef(null),f=yn(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let b=function(E){if(p.paused||!s)return;const C=E.target;s.contains(C)?d.current=C:Wi(d.current,{select:!0})},x=function(E){if(p.paused||!s)return;const C=E.relatedTarget;C!==null&&(s.contains(C)||Wi(d.current,{select:!0}))},S=function(E){if(document.activeElement===document.body)for(const k of E)k.removedNodes.length>0&&Wi(s)};var g=b,w=x,y=S;document.addEventListener("focusin",b),document.addEventListener("focusout",x);const _=new MutationObserver(S);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",x),_.disconnect()}}},[r,s,p.paused]),h.useEffect(()=>{if(s){E8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Og,x8);s.addEventListener(Og,c),s.dispatchEvent(y),y.defaultPrevented||(LQ(HQ(yT(s)),{select:!0}),document.activeElement===g&&Wi(s))}return()=>{s.removeEventListener(Og,c),setTimeout(()=>{const y=new CustomEvent(jg,x8);s.addEventListener(jg,u),s.dispatchEvent(y),y.defaultPrevented||Wi(g??document.body,{select:!0}),s.removeEventListener(jg,u),E8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=NQ(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Wi(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Wi(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ar.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function LQ(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Wi(r,{select:t}),document.activeElement!==n)return}function NQ(e){const t=yT(e),n=S8(t,e),r=S8(t.reverse(),e);return[n,r]}function yT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function S8(e,t){for(const n of e)if(!BQ(n,{upTo:t}))return n}function BQ(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function zQ(e){return e instanceof HTMLInputElement&&"select"in e}function Wi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&zQ(e)&&t&&e.select()}}const E8=UQ();function UQ(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=_8(e,t),e.unshift(t)},remove(t){var n;e=_8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function _8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function HQ(e){return e.filter(t=>t.tagName!=="A")}const VQ=dd["useId".toString()]||(()=>{});let WQ=0;function ZQ(e){const[t,n]=h.useState(VQ());return Ra(()=>{e||n(r=>r??String(WQ++))},[e]),e||(t?`radix-${t}`:"")}function Yc(e){return e.split("-")[1]}function v4(e){return e==="y"?"height":"width"}function fi(e){return e.split("-")[0]}function Ks(e){return["top","bottom"].includes(fi(e))?"x":"y"}function C8(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Ks(t),l=v4(s),c=r[l]/2-o[l]/2,u=s==="x";let d;switch(fi(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(Yc(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}const GQ=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=C8(c,r,l),f=r,p={},m=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s}=t,{element:l,padding:c=0}=$i(e,t)||{};if(l==null)return{};const u=bT(c),d={x:n,y:r},f=Ks(o),p=v4(f),m=await a.getDimensions(l),g=f==="y",w=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=i.reference[p]+i.reference[f]-d[f]-i.floating[p],S=d[f]-i.reference[f],_=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=_?_[b]:0;E&&await(a.isElement==null?void 0:a.isElement(_))||(E=s.floating[b]||i.floating[p]);const C=x/2-S/2,k=E/2-m[p]/2-1,I=Gd(u[w],k),j=Gd(u[y],k),$=I,P=E-m[p]-j,B=E/2-m[p]/2+C,R=Jv($,B,P),M=Yc(o)!=null&&B!=R&&i.reference[p]/2-(B<$?I:j)-m[p]/2<0?B<$?$-B:P-B:0;return{[f]:d[f]-M,data:{[f]:R,centerOffset:B-R+M}}}}),wT=["top","right","bottom","left"];wT.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const XQ={left:"right",right:"left",bottom:"top",top:"bottom"};function S1(e){return e.replace(/left|right|bottom|top/g,t=>XQ[t])}function qQ(e,t,n){n===void 0&&(n=!1);const r=Yc(e),o=Ks(e),i=v4(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S1(a)),{main:a,cross:S1(a)}}const KQ={start:"end",end:"start"};function Dg(e){return e.replace(/start|end/g,t=>KQ[t])}const xT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=$i(e,t),w=fi(r),y=fi(a)===a,b=await(s.isRTL==null?void 0:s.isRTL(l.floating)),x=d||(y||!m?[S1(a)]:function($){const P=S1($);return[Dg($),P,Dg(P)]}(a));d||p==="none"||x.push(...function($,P,B,R){const M=Yc($);let z=function(K,O,N){const L=["left","right"],T=["right","left"],F=["top","bottom"],ae=["bottom","top"];switch(K){case"top":case"bottom":return N?O?T:L:O?L:T;case"left":case"right":return O?F:ae;default:return[]}}(fi($),B==="start",R);return M&&(z=z.map(K=>K+"-"+M),P&&(z=z.concat(z.map(Dg)))),z}(a,m,p,b));const S=[a,...x],_=await Zd(t,g),E=[];let C=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&E.push(_[w]),u){const{main:$,cross:P}=qQ(r,i,b);E.push(_[$],_[P])}if(C=[...C,{placement:r,overflows:E}],!E.every($=>$<=0)){var k,I;const $=(((k=o.flip)==null?void 0:k.index)||0)+1,P=S[$];if(P)return{data:{index:$,overflows:C},reset:{placement:P}};let B=(I=C.filter(R=>R.overflows[0]<=0).sort((R,M)=>R.overflows[1]-M.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(f){case"bestFit":{var j;const R=(j=C.map(M=>[M.placement,M.overflows.filter(z=>z>0).reduce((z,K)=>z+K,0)]).sort((M,z)=>M[1]-z[1])[0])==null?void 0:j[0];R&&(B=R);break}case"initialPlacement":B=a}if(r!==B)return{reset:{placement:B}}}return{}}}};function $8(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T8(e){return wT.some(t=>e[t]>=0)}const ST=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=$i(e,t);switch(r){case"referenceHidden":{const i=$8(await Zd(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:T8(i)}}}case"escaped":{const i=$8(await Zd(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:i,escaped:T8(i)}}}default:return{}}}}},ET=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(i,a){const{placement:s,platform:l,elements:c}=i,u=await(l.isRTL==null?void 0:l.isRTL(c.floating)),d=fi(s),f=Yc(s),p=Ks(s)==="x",m=["left","top"].includes(d)?-1:1,g=u&&p?-1:1,w=$i(a,i);let{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof x=="number"&&(b=f==="end"?-1*x:x),p?{x:b*g,y:y*m}:{x:y*m,y:b*g}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function _T(e){return e==="x"?"y":"x"}const CT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:b}=w;return{x:y,y:b}}},...l}=$i(e,t),c={x:n,y:r},u=await Zd(t,l),d=Ks(fi(o)),f=_T(d);let p=c[d],m=c[f];if(i){const w=d==="y"?"bottom":"right";p=Jv(p+u[d==="y"?"top":"left"],p,p-u[w])}if(a){const w=f==="y"?"bottom":"right";m=Jv(m+u[f==="y"?"top":"left"],m,m-u[w])}const g=s.fn({...t,[d]:p,[f]:m});return{...g,data:{x:g.x-n,y:g.y-r}}}}},kT=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=$i(e,t),u={x:n,y:r},d=Ks(o),f=_T(d);let p=u[d],m=u[f];const g=$i(s,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=d==="y"?"height":"width",S=i.reference[d]-i.floating[x]+w.mainAxis,_=i.reference[d]+i.reference[x]-w.mainAxis;p_&&(p=_)}if(c){var y,b;const x=d==="y"?"width":"height",S=["top","left"].includes(fi(o)),_=i.reference[f]-i.floating[x]+(S&&((y=a.offset)==null?void 0:y[f])||0)+(S?0:w.crossAxis),E=i.reference[f]+i.reference[x]+(S?0:((b=a.offset)==null?void 0:b[f])||0)-(S?w.crossAxis:0);m<_?m=_:m>E&&(m=E)}return{[d]:p,[f]:m}}}},$T=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=$i(e,t),l=await Zd(t,s),c=fi(n),u=Yc(n),d=Ks(n)==="x",{width:f,height:p}=r.floating;let m,g;c==="top"||c==="bottom"?(m=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,m=u==="end"?"top":"bottom");const w=p-l[m],y=f-l[g],b=!t.middlewareData.shift;let x=w,S=y;if(d){const E=f-l.left-l.right;S=u||b?Gd(y,E):E}else{const E=p-l.top-l.bottom;x=u||b?Gd(w,E):E}if(b&&!u){const E=es(l.left,0),C=es(l.right,0),k=es(l.top,0),I=es(l.bottom,0);d?S=f-2*(E!==0||C!==0?E+C:es(l.left,l.right)):x=p-2*(k!==0||I!==0?k+I:es(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:x});const _=await o.getDimensions(i.floating);return f!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function Pr(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ao(e){return Pr(e).getComputedStyle(e)}function TT(e){return e instanceof Pr(e).Node}function Fa(e){return TT(e)?(e.nodeName||"").toLowerCase():"#document"}function uo(e){return e instanceof Pr(e).HTMLElement}function pi(e){return e instanceof Pr(e).Element}function A8(e){return typeof ShadowRoot<"u"&&(e instanceof Pr(e).ShadowRoot||e instanceof ShadowRoot)}function Xd(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ao(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function YQ(e){return["table","td","th"].includes(Fa(e))}function e3(e){const t=y4(),n=ao(e);return n.transform!=="none"||n.perspective!=="none"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function y4(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ph(e){return["html","body","#document"].includes(Fa(e))}const R8=Math.min,ad=Math.max,E1=Math.round,Rp=Math.floor,Bs=e=>({x:e,y:e});function AT(e){const t=ao(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=uo(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=E1(n)!==i||E1(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function b4(e){return pi(e)?e:e.contextElement}function rc(e){const t=b4(e);if(!uo(t))return Bs(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=AT(t);let a=(i?E1(n.width):n.width)/r,s=(i?E1(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const F8=Bs(0);function RT(e,t,n){var r,o;if(t===void 0&&(t=!0),!y4())return F8;const i=e?Pr(e):window;return!n||t&&n!==i?F8:{x:((r=i.visualViewport)==null?void 0:r.offsetLeft)||0,y:((o=i.visualViewport)==null?void 0:o.offsetTop)||0}}function zs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=b4(e);let a=Bs(1);t&&(r?pi(r)&&(a=rc(r)):a=rc(e));const s=RT(i,n,r);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const f=Pr(i),p=r&&pi(r)?Pr(r):r;let m=f.frameElement;for(;m&&r&&p!==f;){const g=rc(m),w=m.getBoundingClientRect(),y=getComputedStyle(m),b=w.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,x=w.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=b,c+=x,m=Pr(m).frameElement}}return x1({width:u,height:d,x:l,y:c})}function hi(e){return((TT(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oh(e){return pi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function FT(e){return zs(hi(e)).left+Oh(e).scrollLeft}function Oc(e){if(Fa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||A8(e)&&e.host||hi(e);return A8(t)?t.host:t}function IT(e){const t=Oc(e);return Ph(t)?e.ownerDocument?e.ownerDocument.body:e.body:uo(t)&&Xd(t)?t:IT(t)}function _1(e,t){var n;t===void 0&&(t=[]);const r=IT(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Pr(r);return o?t.concat(i,i.visualViewport||[],Xd(r)?r:[]):t.concat(r,_1(r))}function I8(e,t,n){let r;if(t==="viewport")r=function(o,i){const a=Pr(o),s=hi(o),l=a.visualViewport;let c=s.clientWidth,u=s.clientHeight,d=0,f=0;if(l){c=l.width,u=l.height;const p=y4();(!p||p&&i==="fixed")&&(d=l.offsetLeft,f=l.offsetTop)}return{width:c,height:u,x:d,y:f}}(e,n);else if(t==="document")r=function(o){const i=hi(o),a=Oh(o),s=o.ownerDocument.body,l=ad(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),c=ad(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let u=-a.scrollLeft+FT(o);const d=-a.scrollTop;return ao(s).direction==="rtl"&&(u+=ad(i.clientWidth,s.clientWidth)-l),{width:l,height:c,x:u,y:d}}(hi(e));else if(pi(t))r=function(o,i){const a=zs(o,!0,i==="fixed"),s=a.top+o.clientTop,l=a.left+o.clientLeft,c=uo(o)?rc(o):Bs(1);return{width:o.clientWidth*c.x,height:o.clientHeight*c.y,x:l*c.x,y:s*c.y}}(t,n);else{const o=RT(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return x1(r)}function PT(e,t){const n=Oc(e);return!(n===t||!pi(n)||Ph(n))&&(ao(n).position==="fixed"||PT(n,t))}function P8(e,t){return uo(e)&&ao(e).position!=="fixed"?t?t(e):e.offsetParent:null}function O8(e,t){const n=Pr(e);if(!uo(e))return n;let r=P8(e,t);for(;r&&YQ(r)&&ao(r).position==="static";)r=P8(r,t);return r&&(Fa(r)==="html"||Fa(r)==="body"&&ao(r).position==="static"&&!e3(r))?n:r||function(o){let i=Oc(o);for(;uo(i)&&!Ph(i);){if(e3(i))return i;i=Oc(i)}return null}(e)||n}function QQ(e,t,n){const r=uo(t),o=hi(t),i=n==="fixed",a=zs(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Bs(0);if(r||!r&&!i)if((Fa(t)!=="body"||Xd(o))&&(s=Oh(t)),uo(t)){const c=zs(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=FT(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}const JQ={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const d=u.get(c);if(d)return d;let f=_1(c).filter(w=>pi(w)&&Fa(w)!=="body"),p=null;const m=ao(c).position==="fixed";let g=m?Oc(c):c;for(;pi(g)&&!Ph(g);){const w=ao(g),y=e3(g);y||w.position!=="fixed"||(p=null),(m?!y&&!p:!y&&w.position==="static"&&p&&["absolute","fixed"].includes(p.position)||Xd(g)&&!y&&PT(c,g))?f=f.filter(b=>b!==g):p=w,g=Oc(g)}return u.set(c,f),f}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce((c,u)=>{const d=I8(t,u,o);return c.top=ad(d.top,c.top),c.right=R8(d.right,c.right),c.bottom=R8(d.bottom,c.bottom),c.left=ad(d.left,c.left),c},I8(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=uo(n),i=hi(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s=Bs(1);const l=Bs(0);if((o||!o&&r!=="fixed")&&((Fa(n)!=="body"||Xd(i))&&(a=Oh(n)),uo(n))){const c=zs(n);s=rc(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:pi,getDimensions:function(e){return AT(e)},getOffsetParent:O8,getDocumentElement:hi,getScale:rc,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||O8,i=this.getDimensions;return{reference:QQ(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ao(e).direction==="rtl"};function OT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=b4(e),u=o||i?[...c?_1(c):[],..._1(t)]:[];u.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=c&&s?function(g,w){let y,b=null;const x=hi(g);function S(){clearTimeout(y),b&&b.disconnect(),b=null}return function _(E,C){E===void 0&&(E=!1),C===void 0&&(C=1),S();const{left:k,top:I,width:j,height:$}=g.getBoundingClientRect();if(E||w(),!j||!$)return;const P=Rp(I),B=Rp(x.clientWidth-(k+j)),R=Rp(x.clientHeight-(I+$)),M=Rp(k);let z=!0;b=new IntersectionObserver(K=>{const O=K[0].intersectionRatio;if(O!==C){if(!z)return _();O===0?y=setTimeout(()=>{_(!1,1e-7)},100):_(!1,O)}z=!1},{rootMargin:-P+"px "+-B+"px "+-R+"px "+-M+"px",threshold:C}),b.observe(g)}(!0),S}(c,n):null;let f,p=null;a&&(p=new ResizeObserver(n),c&&!l&&p.observe(c),p.observe(t));let m=l?zs(e):null;return l&&function g(){const w=zs(e);!m||w.x===m.x&&w.y===m.y&&w.width===m.width&&w.height===m.height||n(),m=w,f=requestAnimationFrame(g)}(),n(),()=>{u.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),d&&d(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const eJ=(e,t,n)=>{const r=new Map,o={platform:JQ,...n},i={...o.platform,_c:r};return GQ(e,t,{...o,platform:i})},jT=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?k8({element:r.current,padding:o}).fn(n):{}:r?k8({element:r,padding:o}).fn(n):{}}}};var x0=typeof document<"u"?h.useLayoutEffect:h.useEffect;function C1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!C1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!C1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function DT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function j8(e,t){const n=DT(e);return Math.round(t*n)/n}function D8(e){const t=h.useRef(e);return x0(()=>{t.current=e}),t}function MT(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=h.useState(r);C1(f,r)||p(r);const[m,g]=h.useState(null),[w,y]=h.useState(null),b=h.useCallback(z=>{z!=E.current&&(E.current=z,g(z))},[g]),x=h.useCallback(z=>{z!==C.current&&(C.current=z,y(z))},[y]),S=i||m,_=a||w,E=h.useRef(null),C=h.useRef(null),k=h.useRef(u),I=D8(l),j=D8(o),$=h.useCallback(()=>{if(!E.current||!C.current)return;const z={placement:t,strategy:n,middleware:f};j.current&&(z.platform=j.current),eJ(E.current,C.current,z).then(K=>{const O={...K,isPositioned:!0};P.current&&!C1(k.current,O)&&(k.current=O,On.flushSync(()=>{d(O)}))})},[f,t,n,j]);x0(()=>{c===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(z=>({...z,isPositioned:!1})))},[c]);const P=h.useRef(!1);x0(()=>(P.current=!0,()=>{P.current=!1}),[]),x0(()=>{if(S&&(E.current=S),_&&(C.current=_),S&&_){if(I.current)return I.current(S,_,$);$()}},[S,_,$,I]);const B=h.useMemo(()=>({reference:E,floating:C,setReference:b,setFloating:x}),[b,x]),R=h.useMemo(()=>({reference:S,floating:_}),[S,_]),M=h.useMemo(()=>{const z={position:n,left:0,top:0};if(!R.floating)return z;const K=j8(R.floating,u.x),O=j8(R.floating,u.y);return s?{...z,transform:"translate("+K+"px, "+O+"px)",...DT(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:K,top:O}},[n,s,R.floating,u.x,u.y]);return h.useMemo(()=>({...u,update:$,refs:B,elements:R,floatingStyles:M}),[u,$,B,R,M])}const LT="Popper",[NT,BT]=Di(LT),[n6e,tJ]=NT(LT),zT="PopperContent",[nJ,r6e]=NT(zT),rJ=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:x="partial",hideWhenDetached:S=!1,updatePositionStrategy:_="optimized",onPlaced:E,...C}=e,k=tJ(zT,u),[I,j]=h.useState(null),$=yn(t,U=>j(U)),[P,B]=h.useState(null),R=u4(P),M=(n=R==null?void 0:R.width)!==null&&n!==void 0?n:0,z=(r=R==null?void 0:R.height)!==null&&r!==void 0?r:0,K=d+(p!=="center"?"-"+p:""),O=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},N=Array.isArray(y)?y:[y],L=N.length>0,T={padding:O,boundary:N.filter(oJ),altBoundary:L},{refs:F,floatingStyles:ae,placement:ie,isPositioned:de,middlewareData:ne}=MT({strategy:"fixed",placement:K,whileElementsMounted:(...U)=>OT(...U,{animationFrame:_==="always"}),elements:{reference:k.anchor},middleware:[ET({mainAxis:f+z,alignmentAxis:m}),w&&CT({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?kT():void 0,...T}),w&&xT({...T}),$T({...T,apply:({elements:U,rects:Z,availableWidth:Y,availableHeight:re})=>{const{width:G,height:se}=Z.reference,He=U.floating.style;He.setProperty("--radix-popper-available-width",`${Y}px`),He.setProperty("--radix-popper-available-height",`${re}px`),He.setProperty("--radix-popper-anchor-width",`${G}px`),He.setProperty("--radix-popper-anchor-height",`${se}px`)}}),P&&jT({element:P,padding:g}),iJ({arrowWidth:M,arrowHeight:z}),S&&ST({strategy:"referenceHidden",...T})]}),[me,ye]=UT(ie),Ae=tr(E);Ra(()=>{de&&(Ae==null||Ae())},[de,Ae]);const Qe=(o=ne.arrow)===null||o===void 0?void 0:o.x,wt=(i=ne.arrow)===null||i===void 0?void 0:i.y,Rt=((a=ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Zt,D]=h.useState();return Ra(()=>{I&&D(window.getComputedStyle(I).zIndex)},[I]),h.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:de?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Zt,["--radix-popper-transform-origin"]:[(s=ne.transformOrigin)===null||s===void 0?void 0:s.x,(l=ne.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},h.createElement(nJ,{scope:u,placedSide:me,onArrowChange:B,arrowX:Qe,arrowY:wt,shouldHideArrow:Rt},h.createElement(ar.div,W({"data-side":me,"data-align":ye},C,{ref:$,style:{...C.style,animation:de?void 0:"none",opacity:(c=ne.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function oJ(e){return e!==null}const iJ=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=UT(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function UT(e){const[t,n="center"]=e.split("-");return[t,n]}const aJ=rJ;function sJ(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const jh=e=>{const{present:t,children:n}=e,r=lJ(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=yn(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};jh.displayName="Presence";function lJ(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[s,l]=sJ(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=Fp(r.current);i.current=s==="mounted"?c:"none"},[s]),Ra(()=>{const c=r.current,u=o.current;if(u!==e){const f=i.current,p=Fp(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ra(()=>{if(t){const c=d=>{const p=Fp(r.current).includes(d.animationName);d.target===t&&p&&On.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(i.current=Fp(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function Fp(e){return(e==null?void 0:e.animationName)||"none"}const Mg="rovingFocusGroup.onEntryFocus",cJ={bubbles:!1,cancelable:!0},w4="RovingFocusGroup",[t3,HT,uJ]=hT(w4),[dJ,VT]=Di(w4,[uJ]),[fJ,pJ]=dJ(w4),hJ=h.forwardRef((e,t)=>h.createElement(t3.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(t3.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(mJ,W({},e,{ref:t}))))),mJ=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=h.useRef(null),f=yn(t,d),p=RQ(i),[m=null,g]=P$({prop:a,defaultProp:s,onChange:l}),[w,y]=h.useState(!1),b=tr(c),x=HT(n),S=h.useRef(!1),[_,E]=h.useState(0);return h.useEffect(()=>{const C=d.current;if(C)return C.addEventListener(Mg,b),()=>C.removeEventListener(Mg,b)},[b]),h.createElement(fJ,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:m,onItemFocus:h.useCallback(C=>g(C),[g]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>E(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>E(C=>C-1),[])},h.createElement(ar.div,W({tabIndex:w||_===0?-1:0,"data-orientation":r},u,{ref:f,style:{outline:"none",...e.style},onMouseDown:Je(e.onMouseDown,()=>{S.current=!0}),onFocus:Je(e.onFocus,C=>{const k=!S.current;if(C.target===C.currentTarget&&k&&!w){const I=new CustomEvent(Mg,cJ);if(C.currentTarget.dispatchEvent(I),!I.defaultPrevented){const j=x().filter(M=>M.focusable),$=j.find(M=>M.active),P=j.find(M=>M.id===m),R=[$,P,...j].filter(Boolean).map(M=>M.ref.current);WT(R)}}S.current=!1}),onBlur:Je(e.onBlur,()=>y(!1))})))}),gJ="RovingFocusGroupItem",vJ=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=ZQ(),l=i||s,c=pJ(gJ,n),u=c.currentTabStopId===l,d=HT(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=c;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(t3.ItemSlot,{scope:n,id:l,focusable:r,active:o},h.createElement(ar.span,W({tabIndex:u?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:Je(e.onMouseDown,m=>{r?c.onItemFocus(l):m.preventDefault()}),onFocus:Je(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:Je(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){c.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=wJ(m,c.orientation,c.dir);if(g!==void 0){m.preventDefault();let y=d().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")y.reverse();else if(g==="prev"||g==="next"){g==="prev"&&y.reverse();const b=y.indexOf(m.currentTarget);y=c.loop?xJ(y,b+1):y.slice(b+1)}setTimeout(()=>WT(y))}})})))}),yJ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bJ(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function wJ(e,t,n){const r=bJ(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return yJ[r]}function WT(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function xJ(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const SJ=hJ,EJ=vJ;var ZT=Q$(),Lg=function(){},Dh=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:Lg,onWheelCapture:Lg,onTouchMoveCapture:Lg}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,b=Ff(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=f,S=Y$([n,t]),_=St(St({},b),o);return h.createElement(h.Fragment,null,u&&h.createElement(x,{sideCar:ZT,removeScrollBar:c,shards:d,noIsolation:p,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),a?h.cloneElement(h.Children.only(s),St(St({},_),{ref:S})):h.createElement(y,St({},_,{className:l,ref:S}),s))});Dh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Dh.classNames={fullWidth:id,zeroRight:od};var n3=!1;if(typeof window<"u")try{var Ip=Object.defineProperty({},"passive",{get:function(){return n3=!0,!0}});window.addEventListener("test",Ip,Ip),window.removeEventListener("test",Ip,Ip)}catch{n3=!1}var hl=n3?{passive:!1}:!1,_J=function(e){return e.tagName==="TEXTAREA"},GT=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!_J(e)&&n[t]==="visible")},CJ=function(e){return GT(e,"overflowY")},kJ=function(e){return GT(e,"overflowX")},M8=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=XT(e,n);if(r){var o=qT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},$J=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},TJ=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},XT=function(e,t){return e==="v"?CJ(t):kJ(t)},qT=function(e,t){return e==="v"?$J(t):TJ(t)},AJ=function(e,t){return e==="h"&&t==="rtl"?-1:1},RJ=function(e,t,n,r,o){var i=AJ(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=qT(e,s),m=p[0],g=p[1],w=p[2],y=g-w-i*m;(m||y)&&XT(e,s)&&(d+=y,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&d===0||!o&&a>d)||!u&&(o&&f===0||!o&&-a>f))&&(c=!0),c},Pp=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},L8=function(e){return[e.deltaX,e.deltaY]},N8=function(e){return e&&"current"in e?e.current:e},FJ=function(e,t){return e[0]===t[0]&&e[1]===t[1]},IJ=function(e){return` +`)},qY=0,fl=[];function KY(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(qY++)[0],i=h.useState(function(){return m4()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=h4([e.lockRef.current],(e.shards||[]).map(v8),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var y=$0(g),b=n.current,x="deltaX"in g?g.deltaX:b[0]-y[0],S="deltaY"in g?g.deltaY:b[1]-y[1],_,E=g.target,C=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&C==="h"&&E.type==="range")return!1;var k=m8(C,E);if(!k)return!0;if(k?_=C:(_=C==="v"?"h":"v",k=m8(C,E)),!k)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=_),!_)return!0;var I=r.current||_;return ZY(I,w,g,I==="h"?x:S,!0)},[]),l=h.useCallback(function(g){var w=g;if(!(!fl.length||fl[fl.length-1]!==i)){var y="deltaY"in w?g8(w):$0(w),b=t.current.filter(function(_){return _.name===w.type&&_.target===w.target&&GY(_.delta,y)})[0];if(b&&b.should){w.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(v8).filter(Boolean).filter(function(_){return _.contains(w.target)}),S=x.length>0?s(w,x[0]):!a.current.noIsolation;S&&w.preventDefault()}}},[]),c=h.useCallback(function(g,w,y,b){var x={name:g,delta:w,target:y,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),u=h.useCallback(function(g){n.current=$0(g),r.current=void 0},[]),d=h.useCallback(function(g){c(g.type,g8(g),g.target,s(g,e.lockRef.current))},[]),f=h.useCallback(function(g){c(g.type,$0(g),g.target,s(g,e.lockRef.current))},[]);h.useEffect(function(){return fl.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,dl),document.addEventListener("touchmove",l,dl),document.addEventListener("touchstart",u,dl),function(){fl=fl.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,dl),document.removeEventListener("touchmove",l,dl),document.removeEventListener("touchstart",u,dl)}},[]);var p=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(i,{styles:XY(o)}):null,p?h.createElement(rT,{gapMode:"margin"}):null)}const YY=eT(tT,KY);var aT=h.forwardRef(function(e,t){return h.createElement(Ih,St({},e,{ref:t,sideCar:YY}))});aT.classNames=Ih.classNames;const QY=aT;var JY=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},pl=new WeakMap,T0=new WeakMap,A0={},Ig=0,sT=function(e){return e&&(e.host||sT(e.parentNode))},eQ=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=sT(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},tQ=function(e,t,n,r){var o=eQ(t,Array.isArray(e)?e:[e]);A0[n]||(A0[n]=new WeakMap);var i=A0[n],a=[],s=new Set,l=new Set(o),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(s.has(f))u(f);else{var p=f.getAttribute(r),m=p!==null&&p!=="false",g=(pl.get(f)||0)+1,w=(i.get(f)||0)+1;pl.set(f,g),i.set(f,w),a.push(f),g===1&&m&&T0.set(f,!0),w===1&&f.setAttribute(n,"true"),m||f.setAttribute(r,"true")}})};return u(t),s.clear(),Ig++,function(){a.forEach(function(d){var f=pl.get(d)-1,p=i.get(d)-1;pl.set(d,f),i.set(d,p),f||(T0.has(d)||d.removeAttribute(r),T0.delete(d)),p||d.removeAttribute(n)}),Ig--,Ig||(pl=new WeakMap,pl=new WeakMap,T0=new WeakMap,A0={})}},If=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||JY(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),tQ(r,o,n,"aria-hidden")):function(){return null}};const lT="Dialog",[cT,t6e]=un(lT),[nQ,po]=cT(lT),rQ=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=h.useRef(null),l=h.useRef(null),[c=!1,u]=Nr({prop:r,defaultProp:o,onChange:i});return h.createElement(nQ,{scope:t,triggerRef:s,contentRef:l,contentId:Mo(),titleId:Mo(),descriptionId:Mo(),open:c,onOpenChange:u,onOpenToggle:h.useCallback(()=>u(d=>!d),[u]),modal:a},n)},oQ="DialogTrigger",iQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(oQ,n),i=Le(t,o.triggerRef);return h.createElement(za.button,W({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":g4(o.open)},r,{ref:i,onClick:ce(e.onClick,o.onOpenToggle)}))}),uT="DialogPortal",[aQ,dT]=cT(uT,{forceMount:void 0}),sQ=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=po(uT,t);return h.createElement(aQ,{scope:t,forceMount:n},h.Children.map(r,a=>h.createElement(fo,{present:n||i.open},h.createElement(_Y,{asChild:!0,container:o},a))))},Yv="DialogOverlay",lQ=h.forwardRef((e,t)=>{const n=dT(Yv,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(Yv,e.__scopeDialog);return i.modal?h.createElement(fo,{present:r||i.open},h.createElement(cQ,W({},o,{ref:t}))):null}),cQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(Yv,n);return h.createElement(QY,{as:f4,allowPinchZoom:!0,shards:[o.contentRef]},h.createElement(za.div,W({"data-state":g4(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Wd="DialogContent",uQ=h.forwardRef((e,t)=>{const n=dT(Wd,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(Wd,e.__scopeDialog);return h.createElement(fo,{present:r||i.open},i.modal?h.createElement(dQ,W({},o,{ref:t})):h.createElement(fQ,W({},o,{ref:t})))}),dQ=h.forwardRef((e,t)=>{const n=po(Wd,e.__scopeDialog),r=h.useRef(null),o=Le(t,n.contentRef,r);return h.useEffect(()=>{const i=r.current;if(i)return If(i)},[]),h.createElement(fT,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault())}))}),fQ=h.forwardRef((e,t)=>{const n=po(Wd,e.__scopeDialog),r=h.useRef(!1);return h.createElement(fT,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;((a=n.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),fT=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=po(Wd,n),l=h.useRef(null),c=Le(t,l);return p4(),h.createElement(h.Fragment,null,h.createElement(vY,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(hY,W({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":g4(s.open)},a,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),pQ="DialogTitle",hQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(pQ,n);return h.createElement(za.h2,W({id:o.titleId},r,{ref:t}))}),mQ="DialogDescription",gQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(mQ,n);return h.createElement(za.p,W({id:o.descriptionId},r,{ref:t}))}),vQ="DialogClose",yQ=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(vQ,n);return h.createElement(za.button,W({type:"button"},r,{ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))}))});function g4(e){return e?"open":"closed"}const bQ=rQ,wQ=iQ,xQ=sQ,SQ=lQ,EQ=uQ,_Q=hQ,CQ=gQ,kQ=yQ,$Q=bt({"0%":{opacity:0},"100%":{opacity:1}}),TQ=H(SQ,{backgroundColor:"$black_05",backdropFilter:"blur(5px)",position:"fixed",inset:0,animation:`${$Q} 500ms cubic-bezier(0.16, 1, 0.3, 1)`,zIndex:"$z-30",opacity:.9}),pT=X.forwardRef((e,t)=>v.jsx(TQ,{...e,...t}));pT.displayName="DialogOverlay";const Ki={Root:H(bQ),Trigger:wQ,Portal:xQ,Overlay:pT,Content:EQ,Close:kQ,Title:H(_Q),Description:H(CQ)};H(_e,{backgroundColor:"$grayscale300",marginLeft:8,marginRight:8,variants:{direction:{horizontal:{width:"80%",height:2},vertical:{width:2,height:"80%"}}}});function hT(e){const t=e+"CollectionProvider",[n,r]=Di(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:m,children:g}=p,w=X.useRef(null),y=X.useRef(new Map).current;return X.createElement(o,{scope:m,itemMap:y,collectionRef:w},g)},s=e+"CollectionSlot",l=X.forwardRef((p,m)=>{const{scope:g,children:w}=p,y=i(s,g),b=yn(m,y.collectionRef);return X.createElement(Pc,{ref:b},w)}),c=e+"CollectionItemSlot",u="data-radix-collection-item",d=X.forwardRef((p,m)=>{const{scope:g,children:w,...y}=p,b=X.useRef(null),x=yn(m,b),S=i(c,g);return X.useEffect(()=>(S.itemMap.set(b,{ref:b,...y}),()=>void S.itemMap.delete(b))),X.createElement(Pc,{[u]:"",ref:x},w)});function f(p){const m=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const y=Array.from(w.querySelectorAll(`[${u}]`));return Array.from(m.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},f,r]}const AQ=h.createContext(void 0);function RQ(e){const t=h.useContext(AQ);return e||t||"ltr"}function mT(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Qv="dismissableLayer.update",FQ="dismissableLayer.pointerDownOutside",IQ="dismissableLayer.focusOutside";let y8;const PQ=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),OQ=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(PQ),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=yn(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=jQ(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=DQ(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return mT(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(y8=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),b8(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=y8)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),b8())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(Qv,k),()=>document.removeEventListener(Qv,k)},[]),h.createElement(ar.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,E.onPointerDownCapture)}))});function jQ(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){gT(FQ,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function DQ(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&gT(IQ,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function b8(){const e=new CustomEvent(Qv);document.dispatchEvent(e)}function gT(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d4(o,i):o.dispatchEvent(i)}let Pg=0;function vT(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:w8()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:w8()),Pg++,()=>{Pg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Pg--}},[])}function w8(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Og="focusScope.autoFocusOnMount",jg="focusScope.autoFocusOnUnmount",x8={bubbles:!1,cancelable:!0},MQ=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=tr(o),u=tr(i),d=h.useRef(null),f=yn(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let b=function(E){if(p.paused||!s)return;const C=E.target;s.contains(C)?d.current=C:Wi(d.current,{select:!0})},x=function(E){if(p.paused||!s)return;const C=E.relatedTarget;C!==null&&(s.contains(C)||Wi(d.current,{select:!0}))},S=function(E){if(document.activeElement===document.body)for(const k of E)k.removedNodes.length>0&&Wi(s)};var g=b,w=x,y=S;document.addEventListener("focusin",b),document.addEventListener("focusout",x);const _=new MutationObserver(S);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",x),_.disconnect()}}},[r,s,p.paused]),h.useEffect(()=>{if(s){E8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Og,x8);s.addEventListener(Og,c),s.dispatchEvent(y),y.defaultPrevented||(LQ(HQ(yT(s)),{select:!0}),document.activeElement===g&&Wi(s))}return()=>{s.removeEventListener(Og,c),setTimeout(()=>{const y=new CustomEvent(jg,x8);s.addEventListener(jg,u),s.dispatchEvent(y),y.defaultPrevented||Wi(g??document.body,{select:!0}),s.removeEventListener(jg,u),E8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=NQ(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Wi(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Wi(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ar.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function LQ(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Wi(r,{select:t}),document.activeElement!==n)return}function NQ(e){const t=yT(e),n=S8(t,e),r=S8(t.reverse(),e);return[n,r]}function yT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function S8(e,t){for(const n of e)if(!BQ(n,{upTo:t}))return n}function BQ(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function zQ(e){return e instanceof HTMLInputElement&&"select"in e}function Wi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&zQ(e)&&t&&e.select()}}const E8=UQ();function UQ(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=_8(e,t),e.unshift(t)},remove(t){var n;e=_8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function _8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function HQ(e){return e.filter(t=>t.tagName!=="A")}const VQ=dd["useId".toString()]||(()=>{});let WQ=0;function ZQ(e){const[t,n]=h.useState(VQ());return Ra(()=>{e||n(r=>r??String(WQ++))},[e]),e||(t?`radix-${t}`:"")}function Yc(e){return e.split("-")[1]}function v4(e){return e==="y"?"height":"width"}function fi(e){return e.split("-")[0]}function Ks(e){return["top","bottom"].includes(fi(e))?"x":"y"}function C8(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Ks(t),l=v4(s),c=r[l]/2-o[l]/2,u=s==="x";let d;switch(fi(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(Yc(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}const GQ=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=C8(c,r,l),f=r,p={},m=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s}=t,{element:l,padding:c=0}=$i(e,t)||{};if(l==null)return{};const u=bT(c),d={x:n,y:r},f=Ks(o),p=v4(f),m=await a.getDimensions(l),g=f==="y",w=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=i.reference[p]+i.reference[f]-d[f]-i.floating[p],S=d[f]-i.reference[f],_=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=_?_[b]:0;E&&await(a.isElement==null?void 0:a.isElement(_))||(E=s.floating[b]||i.floating[p]);const C=x/2-S/2,k=E/2-m[p]/2-1,I=Gd(u[w],k),j=Gd(u[y],k),$=I,P=E-m[p]-j,B=E/2-m[p]/2+C,R=Jv($,B,P),M=Yc(o)!=null&&B!=R&&i.reference[p]/2-(B<$?I:j)-m[p]/2<0?B<$?$-B:P-B:0;return{[f]:d[f]-M,data:{[f]:R,centerOffset:B-R+M}}}}),wT=["top","right","bottom","left"];wT.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const XQ={left:"right",right:"left",bottom:"top",top:"bottom"};function S1(e){return e.replace(/left|right|bottom|top/g,t=>XQ[t])}function qQ(e,t,n){n===void 0&&(n=!1);const r=Yc(e),o=Ks(e),i=v4(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S1(a)),{main:a,cross:S1(a)}}const KQ={start:"end",end:"start"};function Dg(e){return e.replace(/start|end/g,t=>KQ[t])}const xT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=$i(e,t),w=fi(r),y=fi(a)===a,b=await(s.isRTL==null?void 0:s.isRTL(l.floating)),x=d||(y||!m?[S1(a)]:function($){const P=S1($);return[Dg($),P,Dg(P)]}(a));d||p==="none"||x.push(...function($,P,B,R){const M=Yc($);let z=function(K,O,N){const L=["left","right"],T=["right","left"],F=["top","bottom"],ae=["bottom","top"];switch(K){case"top":case"bottom":return N?O?T:L:O?L:T;case"left":case"right":return O?F:ae;default:return[]}}(fi($),B==="start",R);return M&&(z=z.map(K=>K+"-"+M),P&&(z=z.concat(z.map(Dg)))),z}(a,m,p,b));const S=[a,...x],_=await Zd(t,g),E=[];let C=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&E.push(_[w]),u){const{main:$,cross:P}=qQ(r,i,b);E.push(_[$],_[P])}if(C=[...C,{placement:r,overflows:E}],!E.every($=>$<=0)){var k,I;const $=(((k=o.flip)==null?void 0:k.index)||0)+1,P=S[$];if(P)return{data:{index:$,overflows:C},reset:{placement:P}};let B=(I=C.filter(R=>R.overflows[0]<=0).sort((R,M)=>R.overflows[1]-M.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(f){case"bestFit":{var j;const R=(j=C.map(M=>[M.placement,M.overflows.filter(z=>z>0).reduce((z,K)=>z+K,0)]).sort((M,z)=>M[1]-z[1])[0])==null?void 0:j[0];R&&(B=R);break}case"initialPlacement":B=a}if(r!==B)return{reset:{placement:B}}}return{}}}};function $8(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T8(e){return wT.some(t=>e[t]>=0)}const ST=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=$i(e,t);switch(r){case"referenceHidden":{const i=$8(await Zd(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:T8(i)}}}case"escaped":{const i=$8(await Zd(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:i,escaped:T8(i)}}}default:return{}}}}},ET=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(i,a){const{placement:s,platform:l,elements:c}=i,u=await(l.isRTL==null?void 0:l.isRTL(c.floating)),d=fi(s),f=Yc(s),p=Ks(s)==="x",m=["left","top"].includes(d)?-1:1,g=u&&p?-1:1,w=$i(a,i);let{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof x=="number"&&(b=f==="end"?-1*x:x),p?{x:b*g,y:y*m}:{x:y*m,y:b*g}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function _T(e){return e==="x"?"y":"x"}const CT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:b}=w;return{x:y,y:b}}},...l}=$i(e,t),c={x:n,y:r},u=await Zd(t,l),d=Ks(fi(o)),f=_T(d);let p=c[d],m=c[f];if(i){const w=d==="y"?"bottom":"right";p=Jv(p+u[d==="y"?"top":"left"],p,p-u[w])}if(a){const w=f==="y"?"bottom":"right";m=Jv(m+u[f==="y"?"top":"left"],m,m-u[w])}const g=s.fn({...t,[d]:p,[f]:m});return{...g,data:{x:g.x-n,y:g.y-r}}}}},kT=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=$i(e,t),u={x:n,y:r},d=Ks(o),f=_T(d);let p=u[d],m=u[f];const g=$i(s,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=d==="y"?"height":"width",S=i.reference[d]-i.floating[x]+w.mainAxis,_=i.reference[d]+i.reference[x]-w.mainAxis;p_&&(p=_)}if(c){var y,b;const x=d==="y"?"width":"height",S=["top","left"].includes(fi(o)),_=i.reference[f]-i.floating[x]+(S&&((y=a.offset)==null?void 0:y[f])||0)+(S?0:w.crossAxis),E=i.reference[f]+i.reference[x]+(S?0:((b=a.offset)==null?void 0:b[f])||0)-(S?w.crossAxis:0);m<_?m=_:m>E&&(m=E)}return{[d]:p,[f]:m}}}},$T=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=$i(e,t),l=await Zd(t,s),c=fi(n),u=Yc(n),d=Ks(n)==="x",{width:f,height:p}=r.floating;let m,g;c==="top"||c==="bottom"?(m=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,m=u==="end"?"top":"bottom");const w=p-l[m],y=f-l[g],b=!t.middlewareData.shift;let x=w,S=y;if(d){const E=f-l.left-l.right;S=u||b?Gd(y,E):E}else{const E=p-l.top-l.bottom;x=u||b?Gd(w,E):E}if(b&&!u){const E=es(l.left,0),C=es(l.right,0),k=es(l.top,0),I=es(l.bottom,0);d?S=f-2*(E!==0||C!==0?E+C:es(l.left,l.right)):x=p-2*(k!==0||I!==0?k+I:es(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:x});const _=await o.getDimensions(i.floating);return f!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function Pr(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ao(e){return Pr(e).getComputedStyle(e)}function TT(e){return e instanceof Pr(e).Node}function Fa(e){return TT(e)?(e.nodeName||"").toLowerCase():"#document"}function uo(e){return e instanceof Pr(e).HTMLElement}function pi(e){return e instanceof Pr(e).Element}function A8(e){return typeof ShadowRoot<"u"&&(e instanceof Pr(e).ShadowRoot||e instanceof ShadowRoot)}function Xd(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ao(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function YQ(e){return["table","td","th"].includes(Fa(e))}function e3(e){const t=y4(),n=ao(e);return n.transform!=="none"||n.perspective!=="none"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function y4(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ph(e){return["html","body","#document"].includes(Fa(e))}const R8=Math.min,ad=Math.max,E1=Math.round,R0=Math.floor,Bs=e=>({x:e,y:e});function AT(e){const t=ao(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=uo(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=E1(n)!==i||E1(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function b4(e){return pi(e)?e:e.contextElement}function rc(e){const t=b4(e);if(!uo(t))return Bs(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=AT(t);let a=(i?E1(n.width):n.width)/r,s=(i?E1(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const F8=Bs(0);function RT(e,t,n){var r,o;if(t===void 0&&(t=!0),!y4())return F8;const i=e?Pr(e):window;return!n||t&&n!==i?F8:{x:((r=i.visualViewport)==null?void 0:r.offsetLeft)||0,y:((o=i.visualViewport)==null?void 0:o.offsetTop)||0}}function zs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=b4(e);let a=Bs(1);t&&(r?pi(r)&&(a=rc(r)):a=rc(e));const s=RT(i,n,r);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const f=Pr(i),p=r&&pi(r)?Pr(r):r;let m=f.frameElement;for(;m&&r&&p!==f;){const g=rc(m),w=m.getBoundingClientRect(),y=getComputedStyle(m),b=w.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,x=w.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=b,c+=x,m=Pr(m).frameElement}}return x1({width:u,height:d,x:l,y:c})}function hi(e){return((TT(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oh(e){return pi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function FT(e){return zs(hi(e)).left+Oh(e).scrollLeft}function Oc(e){if(Fa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||A8(e)&&e.host||hi(e);return A8(t)?t.host:t}function IT(e){const t=Oc(e);return Ph(t)?e.ownerDocument?e.ownerDocument.body:e.body:uo(t)&&Xd(t)?t:IT(t)}function _1(e,t){var n;t===void 0&&(t=[]);const r=IT(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Pr(r);return o?t.concat(i,i.visualViewport||[],Xd(r)?r:[]):t.concat(r,_1(r))}function I8(e,t,n){let r;if(t==="viewport")r=function(o,i){const a=Pr(o),s=hi(o),l=a.visualViewport;let c=s.clientWidth,u=s.clientHeight,d=0,f=0;if(l){c=l.width,u=l.height;const p=y4();(!p||p&&i==="fixed")&&(d=l.offsetLeft,f=l.offsetTop)}return{width:c,height:u,x:d,y:f}}(e,n);else if(t==="document")r=function(o){const i=hi(o),a=Oh(o),s=o.ownerDocument.body,l=ad(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),c=ad(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let u=-a.scrollLeft+FT(o);const d=-a.scrollTop;return ao(s).direction==="rtl"&&(u+=ad(i.clientWidth,s.clientWidth)-l),{width:l,height:c,x:u,y:d}}(hi(e));else if(pi(t))r=function(o,i){const a=zs(o,!0,i==="fixed"),s=a.top+o.clientTop,l=a.left+o.clientLeft,c=uo(o)?rc(o):Bs(1);return{width:o.clientWidth*c.x,height:o.clientHeight*c.y,x:l*c.x,y:s*c.y}}(t,n);else{const o=RT(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return x1(r)}function PT(e,t){const n=Oc(e);return!(n===t||!pi(n)||Ph(n))&&(ao(n).position==="fixed"||PT(n,t))}function P8(e,t){return uo(e)&&ao(e).position!=="fixed"?t?t(e):e.offsetParent:null}function O8(e,t){const n=Pr(e);if(!uo(e))return n;let r=P8(e,t);for(;r&&YQ(r)&&ao(r).position==="static";)r=P8(r,t);return r&&(Fa(r)==="html"||Fa(r)==="body"&&ao(r).position==="static"&&!e3(r))?n:r||function(o){let i=Oc(o);for(;uo(i)&&!Ph(i);){if(e3(i))return i;i=Oc(i)}return null}(e)||n}function QQ(e,t,n){const r=uo(t),o=hi(t),i=n==="fixed",a=zs(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Bs(0);if(r||!r&&!i)if((Fa(t)!=="body"||Xd(o))&&(s=Oh(t)),uo(t)){const c=zs(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=FT(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}const JQ={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const d=u.get(c);if(d)return d;let f=_1(c).filter(w=>pi(w)&&Fa(w)!=="body"),p=null;const m=ao(c).position==="fixed";let g=m?Oc(c):c;for(;pi(g)&&!Ph(g);){const w=ao(g),y=e3(g);y||w.position!=="fixed"||(p=null),(m?!y&&!p:!y&&w.position==="static"&&p&&["absolute","fixed"].includes(p.position)||Xd(g)&&!y&&PT(c,g))?f=f.filter(b=>b!==g):p=w,g=Oc(g)}return u.set(c,f),f}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce((c,u)=>{const d=I8(t,u,o);return c.top=ad(d.top,c.top),c.right=R8(d.right,c.right),c.bottom=R8(d.bottom,c.bottom),c.left=ad(d.left,c.left),c},I8(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=uo(n),i=hi(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s=Bs(1);const l=Bs(0);if((o||!o&&r!=="fixed")&&((Fa(n)!=="body"||Xd(i))&&(a=Oh(n)),uo(n))){const c=zs(n);s=rc(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:pi,getDimensions:function(e){return AT(e)},getOffsetParent:O8,getDocumentElement:hi,getScale:rc,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||O8,i=this.getDimensions;return{reference:QQ(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ao(e).direction==="rtl"};function OT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=b4(e),u=o||i?[...c?_1(c):[],..._1(t)]:[];u.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=c&&s?function(g,w){let y,b=null;const x=hi(g);function S(){clearTimeout(y),b&&b.disconnect(),b=null}return function _(E,C){E===void 0&&(E=!1),C===void 0&&(C=1),S();const{left:k,top:I,width:j,height:$}=g.getBoundingClientRect();if(E||w(),!j||!$)return;const P=R0(I),B=R0(x.clientWidth-(k+j)),R=R0(x.clientHeight-(I+$)),M=R0(k);let z=!0;b=new IntersectionObserver(K=>{const O=K[0].intersectionRatio;if(O!==C){if(!z)return _();O===0?y=setTimeout(()=>{_(!1,1e-7)},100):_(!1,O)}z=!1},{rootMargin:-P+"px "+-B+"px "+-R+"px "+-M+"px",threshold:C}),b.observe(g)}(!0),S}(c,n):null;let f,p=null;a&&(p=new ResizeObserver(n),c&&!l&&p.observe(c),p.observe(t));let m=l?zs(e):null;return l&&function g(){const w=zs(e);!m||w.x===m.x&&w.y===m.y&&w.width===m.width&&w.height===m.height||n(),m=w,f=requestAnimationFrame(g)}(),n(),()=>{u.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),d&&d(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const eJ=(e,t,n)=>{const r=new Map,o={platform:JQ,...n},i={...o.platform,_c:r};return GQ(e,t,{...o,platform:i})},jT=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?k8({element:r.current,padding:o}).fn(n):{}:r?k8({element:r,padding:o}).fn(n):{}}}};var xp=typeof document<"u"?h.useLayoutEffect:h.useEffect;function C1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!C1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!C1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function DT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function j8(e,t){const n=DT(e);return Math.round(t*n)/n}function D8(e){const t=h.useRef(e);return xp(()=>{t.current=e}),t}function MT(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=h.useState(r);C1(f,r)||p(r);const[m,g]=h.useState(null),[w,y]=h.useState(null),b=h.useCallback(z=>{z!=E.current&&(E.current=z,g(z))},[g]),x=h.useCallback(z=>{z!==C.current&&(C.current=z,y(z))},[y]),S=i||m,_=a||w,E=h.useRef(null),C=h.useRef(null),k=h.useRef(u),I=D8(l),j=D8(o),$=h.useCallback(()=>{if(!E.current||!C.current)return;const z={placement:t,strategy:n,middleware:f};j.current&&(z.platform=j.current),eJ(E.current,C.current,z).then(K=>{const O={...K,isPositioned:!0};P.current&&!C1(k.current,O)&&(k.current=O,On.flushSync(()=>{d(O)}))})},[f,t,n,j]);xp(()=>{c===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(z=>({...z,isPositioned:!1})))},[c]);const P=h.useRef(!1);xp(()=>(P.current=!0,()=>{P.current=!1}),[]),xp(()=>{if(S&&(E.current=S),_&&(C.current=_),S&&_){if(I.current)return I.current(S,_,$);$()}},[S,_,$,I]);const B=h.useMemo(()=>({reference:E,floating:C,setReference:b,setFloating:x}),[b,x]),R=h.useMemo(()=>({reference:S,floating:_}),[S,_]),M=h.useMemo(()=>{const z={position:n,left:0,top:0};if(!R.floating)return z;const K=j8(R.floating,u.x),O=j8(R.floating,u.y);return s?{...z,transform:"translate("+K+"px, "+O+"px)",...DT(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:K,top:O}},[n,s,R.floating,u.x,u.y]);return h.useMemo(()=>({...u,update:$,refs:B,elements:R,floatingStyles:M}),[u,$,B,R,M])}const LT="Popper",[NT,BT]=Di(LT),[n6e,tJ]=NT(LT),zT="PopperContent",[nJ,r6e]=NT(zT),rJ=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:x="partial",hideWhenDetached:S=!1,updatePositionStrategy:_="optimized",onPlaced:E,...C}=e,k=tJ(zT,u),[I,j]=h.useState(null),$=yn(t,U=>j(U)),[P,B]=h.useState(null),R=u4(P),M=(n=R==null?void 0:R.width)!==null&&n!==void 0?n:0,z=(r=R==null?void 0:R.height)!==null&&r!==void 0?r:0,K=d+(p!=="center"?"-"+p:""),O=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},N=Array.isArray(y)?y:[y],L=N.length>0,T={padding:O,boundary:N.filter(oJ),altBoundary:L},{refs:F,floatingStyles:ae,placement:ie,isPositioned:de,middlewareData:ne}=MT({strategy:"fixed",placement:K,whileElementsMounted:(...U)=>OT(...U,{animationFrame:_==="always"}),elements:{reference:k.anchor},middleware:[ET({mainAxis:f+z,alignmentAxis:m}),w&&CT({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?kT():void 0,...T}),w&&xT({...T}),$T({...T,apply:({elements:U,rects:Z,availableWidth:Y,availableHeight:re})=>{const{width:G,height:se}=Z.reference,He=U.floating.style;He.setProperty("--radix-popper-available-width",`${Y}px`),He.setProperty("--radix-popper-available-height",`${re}px`),He.setProperty("--radix-popper-anchor-width",`${G}px`),He.setProperty("--radix-popper-anchor-height",`${se}px`)}}),P&&jT({element:P,padding:g}),iJ({arrowWidth:M,arrowHeight:z}),S&&ST({strategy:"referenceHidden",...T})]}),[me,ye]=UT(ie),Te=tr(E);Ra(()=>{de&&(Te==null||Te())},[de,Te]);const Qe=(o=ne.arrow)===null||o===void 0?void 0:o.x,wt=(i=ne.arrow)===null||i===void 0?void 0:i.y,Rt=((a=ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Zt,D]=h.useState();return Ra(()=>{I&&D(window.getComputedStyle(I).zIndex)},[I]),h.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:de?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Zt,["--radix-popper-transform-origin"]:[(s=ne.transformOrigin)===null||s===void 0?void 0:s.x,(l=ne.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},h.createElement(nJ,{scope:u,placedSide:me,onArrowChange:B,arrowX:Qe,arrowY:wt,shouldHideArrow:Rt},h.createElement(ar.div,W({"data-side":me,"data-align":ye},C,{ref:$,style:{...C.style,animation:de?void 0:"none",opacity:(c=ne.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function oJ(e){return e!==null}const iJ=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=UT(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function UT(e){const[t,n="center"]=e.split("-");return[t,n]}const aJ=rJ;function sJ(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const jh=e=>{const{present:t,children:n}=e,r=lJ(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=yn(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};jh.displayName="Presence";function lJ(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[s,l]=sJ(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=F0(r.current);i.current=s==="mounted"?c:"none"},[s]),Ra(()=>{const c=r.current,u=o.current;if(u!==e){const f=i.current,p=F0(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ra(()=>{if(t){const c=d=>{const p=F0(r.current).includes(d.animationName);d.target===t&&p&&On.flushSync(()=>l("ANIMATION_END"))},u=d=>{d.target===t&&(i.current=F0(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function F0(e){return(e==null?void 0:e.animationName)||"none"}const Mg="rovingFocusGroup.onEntryFocus",cJ={bubbles:!1,cancelable:!0},w4="RovingFocusGroup",[t3,HT,uJ]=hT(w4),[dJ,VT]=Di(w4,[uJ]),[fJ,pJ]=dJ(w4),hJ=h.forwardRef((e,t)=>h.createElement(t3.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(t3.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(mJ,W({},e,{ref:t}))))),mJ=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=h.useRef(null),f=yn(t,d),p=RQ(i),[m=null,g]=P$({prop:a,defaultProp:s,onChange:l}),[w,y]=h.useState(!1),b=tr(c),x=HT(n),S=h.useRef(!1),[_,E]=h.useState(0);return h.useEffect(()=>{const C=d.current;if(C)return C.addEventListener(Mg,b),()=>C.removeEventListener(Mg,b)},[b]),h.createElement(fJ,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:m,onItemFocus:h.useCallback(C=>g(C),[g]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>E(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>E(C=>C-1),[])},h.createElement(ar.div,W({tabIndex:w||_===0?-1:0,"data-orientation":r},u,{ref:f,style:{outline:"none",...e.style},onMouseDown:Je(e.onMouseDown,()=>{S.current=!0}),onFocus:Je(e.onFocus,C=>{const k=!S.current;if(C.target===C.currentTarget&&k&&!w){const I=new CustomEvent(Mg,cJ);if(C.currentTarget.dispatchEvent(I),!I.defaultPrevented){const j=x().filter(M=>M.focusable),$=j.find(M=>M.active),P=j.find(M=>M.id===m),R=[$,P,...j].filter(Boolean).map(M=>M.ref.current);WT(R)}}S.current=!1}),onBlur:Je(e.onBlur,()=>y(!1))})))}),gJ="RovingFocusGroupItem",vJ=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=ZQ(),l=i||s,c=pJ(gJ,n),u=c.currentTabStopId===l,d=HT(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=c;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(t3.ItemSlot,{scope:n,id:l,focusable:r,active:o},h.createElement(ar.span,W({tabIndex:u?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:Je(e.onMouseDown,m=>{r?c.onItemFocus(l):m.preventDefault()}),onFocus:Je(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:Je(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){c.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=wJ(m,c.orientation,c.dir);if(g!==void 0){m.preventDefault();let y=d().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")y.reverse();else if(g==="prev"||g==="next"){g==="prev"&&y.reverse();const b=y.indexOf(m.currentTarget);y=c.loop?xJ(y,b+1):y.slice(b+1)}setTimeout(()=>WT(y))}})})))}),yJ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bJ(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function wJ(e,t,n){const r=bJ(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return yJ[r]}function WT(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function xJ(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const SJ=hJ,EJ=vJ;var ZT=Q$(),Lg=function(){},Dh=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:Lg,onWheelCapture:Lg,onTouchMoveCapture:Lg}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,b=Ff(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=f,S=Y$([n,t]),_=St(St({},b),o);return h.createElement(h.Fragment,null,u&&h.createElement(x,{sideCar:ZT,removeScrollBar:c,shards:d,noIsolation:p,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),a?h.cloneElement(h.Children.only(s),St(St({},_),{ref:S})):h.createElement(y,St({},_,{className:l,ref:S}),s))});Dh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Dh.classNames={fullWidth:id,zeroRight:od};var n3=!1;if(typeof window<"u")try{var I0=Object.defineProperty({},"passive",{get:function(){return n3=!0,!0}});window.addEventListener("test",I0,I0),window.removeEventListener("test",I0,I0)}catch{n3=!1}var hl=n3?{passive:!1}:!1,_J=function(e){return e.tagName==="TEXTAREA"},GT=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!_J(e)&&n[t]==="visible")},CJ=function(e){return GT(e,"overflowY")},kJ=function(e){return GT(e,"overflowX")},M8=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=XT(e,n);if(r){var o=qT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},$J=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},TJ=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},XT=function(e,t){return e==="v"?CJ(t):kJ(t)},qT=function(e,t){return e==="v"?$J(t):TJ(t)},AJ=function(e,t){return e==="h"&&t==="rtl"?-1:1},RJ=function(e,t,n,r,o){var i=AJ(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=qT(e,s),m=p[0],g=p[1],w=p[2],y=g-w-i*m;(m||y)&&XT(e,s)&&(d+=y,f+=m),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&d===0||!o&&a>d)||!u&&(o&&f===0||!o&&-a>f))&&(c=!0),c},P0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},L8=function(e){return[e.deltaX,e.deltaY]},N8=function(e){return e&&"current"in e?e.current:e},FJ=function(e,t){return e[0]===t[0]&&e[1]===t[1]},IJ=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},PJ=0,ml=[];function OJ(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(PJ++)[0],i=h.useState(function(){return m4()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=h4([e.lockRef.current],(e.shards||[]).map(N8),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var y=Pp(g),b=n.current,x="deltaX"in g?g.deltaX:b[0]-y[0],S="deltaY"in g?g.deltaY:b[1]-y[1],_,E=g.target,C=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&C==="h"&&E.type==="range")return!1;var k=M8(C,E);if(!k)return!0;if(k?_=C:(_=C==="v"?"h":"v",k=M8(C,E)),!k)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=_),!_)return!0;var I=r.current||_;return RJ(I,w,g,I==="h"?x:S,!0)},[]),l=h.useCallback(function(g){var w=g;if(!(!ml.length||ml[ml.length-1]!==i)){var y="deltaY"in w?L8(w):Pp(w),b=t.current.filter(function(_){return _.name===w.type&&_.target===w.target&&FJ(_.delta,y)})[0];if(b&&b.should){w.cancelable&&w.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(N8).filter(Boolean).filter(function(_){return _.contains(w.target)}),S=x.length>0?s(w,x[0]):!a.current.noIsolation;S&&w.cancelable&&w.preventDefault()}}},[]),c=h.useCallback(function(g,w,y,b){var x={name:g,delta:w,target:y,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),u=h.useCallback(function(g){n.current=Pp(g),r.current=void 0},[]),d=h.useCallback(function(g){c(g.type,L8(g),g.target,s(g,e.lockRef.current))},[]),f=h.useCallback(function(g){c(g.type,Pp(g),g.target,s(g,e.lockRef.current))},[]);h.useEffect(function(){return ml.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,hl),document.addEventListener("touchmove",l,hl),document.addEventListener("touchstart",u,hl),function(){ml=ml.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,hl),document.removeEventListener("touchmove",l,hl),document.removeEventListener("touchstart",u,hl)}},[]);var p=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(i,{styles:IJ(o)}):null,p?h.createElement(rT,{gapMode:"margin"}):null)}const jJ=eT(ZT,OJ);var KT=h.forwardRef(function(e,t){return h.createElement(Dh,St({},e,{ref:t,sideCar:jJ}))});KT.classNames=Dh.classNames;const x4=KT,DJ=["Enter"," "],MJ=["ArrowDown","PageUp","Home"],YT=["ArrowUp","PageDown","End"],LJ=[...MJ,...YT],Mh="Menu",[r3,NJ,BJ]=hT(Mh),[Ys,QT]=Di(Mh,[BJ,BT,VT]),zJ=BT(),JT=VT(),[o6e,Lh]=Ys(Mh),[i6e,S4]=Ys(Mh),UJ="MenuPortal",[a6e,HJ]=Ys(UJ,{forceMount:void 0}),va="MenuContent",[VJ,eA]=Ys(va),WJ=h.forwardRef((e,t)=>{const n=HJ(va,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Lh(va,e.__scopeMenu),a=S4(va,e.__scopeMenu);return h.createElement(r3.Provider,{scope:e.__scopeMenu},h.createElement(jh,{present:r||i.open},h.createElement(r3.Slot,{scope:e.__scopeMenu},a.modal?h.createElement(ZJ,W({},o,{ref:t})):h.createElement(GJ,W({},o,{ref:t})))))}),ZJ=h.forwardRef((e,t)=>{const n=Lh(va,e.__scopeMenu),r=h.useRef(null),o=yn(t,r);return h.useEffect(()=>{const i=r.current;if(i)return If(i)},[]),h.createElement(tA,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Je(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),GJ=h.forwardRef((e,t)=>{const n=Lh(va,e.__scopeMenu);return h.createElement(tA,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),tA=h.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...g}=e,w=Lh(va,n),y=S4(va,n),b=zJ(n),x=JT(n),S=NJ(n),[_,E]=h.useState(null),C=h.useRef(null),k=yn(t,C,w.onContentChange),I=h.useRef(0),j=h.useRef(""),$=h.useRef(0),P=h.useRef(null),B=h.useRef("right"),R=h.useRef(0),M=m?x4:h.Fragment,z=m?{as:Pc,allowPinchZoom:!0}:void 0,K=N=>{var L,T;const F=j.current+N,ae=S().filter(Ae=>!Ae.disabled),ie=document.activeElement,de=(L=ae.find(Ae=>Ae.ref.current===ie))===null||L===void 0?void 0:L.textValue,ne=ae.map(Ae=>Ae.textValue),me=nee(ne,F,de),ye=(T=ae.find(Ae=>Ae.textValue===me))===null||T===void 0?void 0:T.ref.current;(function Ae(Qe){j.current=Qe,window.clearTimeout(I.current),Qe!==""&&(I.current=window.setTimeout(()=>Ae(""),1e3))})(F),ye&&setTimeout(()=>ye.focus())};h.useEffect(()=>()=>window.clearTimeout(I.current),[]),vT();const O=h.useCallback(N=>{var L,T;return B.current===((L=P.current)===null||L===void 0?void 0:L.side)&&oee(N,(T=P.current)===null||T===void 0?void 0:T.area)},[]);return h.createElement(VJ,{scope:n,searchRef:j,onItemEnter:h.useCallback(N=>{O(N)&&N.preventDefault()},[O]),onItemLeave:h.useCallback(N=>{var L;O(N)||((L=C.current)===null||L===void 0||L.focus(),E(null))},[O]),onTriggerLeave:h.useCallback(N=>{O(N)&&N.preventDefault()},[O]),pointerGraceTimerRef:$,onPointerGraceIntentChange:h.useCallback(N=>{P.current=N},[])},h.createElement(M,z,h.createElement(MQ,{asChild:!0,trapped:o,onMountAutoFocus:Je(i,N=>{var L;N.preventDefault(),(L=C.current)===null||L===void 0||L.focus()}),onUnmountAutoFocus:a},h.createElement(OQ,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p},h.createElement(SJ,W({asChild:!0},x,{dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:_,onCurrentTabStopIdChange:E,onEntryFocus:Je(l,N=>{y.isUsingKeyboardRef.current||N.preventDefault()})}),h.createElement(aJ,W({role:"menu","aria-orientation":"vertical","data-state":JJ(w.open),"data-radix-menu-content":"",dir:y.dir},b,g,{ref:k,style:{outline:"none",...g.style},onKeyDown:Je(g.onKeyDown,N=>{const T=N.target.closest("[data-radix-menu-content]")===N.currentTarget,F=N.ctrlKey||N.altKey||N.metaKey,ae=N.key.length===1;T&&(N.key==="Tab"&&N.preventDefault(),!F&&ae&&K(N.key));const ie=C.current;if(N.target!==ie||!LJ.includes(N.key))return;N.preventDefault();const ne=S().filter(me=>!me.disabled).map(me=>me.ref.current);YT.includes(N.key)&&ne.reverse(),eee(ne)}),onBlur:Je(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(I.current),j.current="")}),onPointerMove:Je(e.onPointerMove,i3(N=>{const L=N.target,T=R.current!==N.clientX;if(N.currentTarget.contains(L)&&T){const F=N.clientX>R.current?"right":"left";B.current=F,R.current=N.clientX}}))})))))))}),o3="MenuItem",B8="menu.itemSelect",XJ=h.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=h.useRef(null),a=S4(o3,e.__scopeMenu),s=eA(o3,e.__scopeMenu),l=yn(t,i),c=h.useRef(!1),u=()=>{const d=i.current;if(!n&&d){const f=new CustomEvent(B8,{bubbles:!0,cancelable:!0});d.addEventListener(B8,p=>r==null?void 0:r(p),{once:!0}),d4(d,f),f.defaultPrevented?c.current=!1:a.onClose()}};return h.createElement(qJ,W({},o,{ref:l,disabled:n,onClick:Je(e.onClick,u),onPointerDown:d=>{var f;(f=e.onPointerDown)===null||f===void 0||f.call(e,d),c.current=!0},onPointerUp:Je(e.onPointerUp,d=>{var f;c.current||(f=d.currentTarget)===null||f===void 0||f.click()}),onKeyDown:Je(e.onKeyDown,d=>{const f=s.searchRef.current!=="";n||f&&d.key===" "||DJ.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),qJ=h.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=eA(o3,n),s=JT(n),l=h.useRef(null),c=yn(t,l),[u,d]=h.useState(!1),[f,p]=h.useState("");return h.useEffect(()=>{const m=l.current;if(m){var g;p(((g=m.textContent)!==null&&g!==void 0?g:"").trim())}},[i.children]),h.createElement(r3.ItemSlot,{scope:n,disabled:r,textValue:o??f},h.createElement(EJ,W({asChild:!0},s,{focusable:!r}),h.createElement(ar.div,W({role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:Je(e.onPointerMove,i3(m=>{r?a.onItemLeave(m):(a.onItemEnter(m),m.defaultPrevented||m.currentTarget.focus())})),onPointerLeave:Je(e.onPointerLeave,i3(m=>a.onItemLeave(m))),onFocus:Je(e.onFocus,()=>d(!0)),onBlur:Je(e.onBlur,()=>d(!1))}))))}),KJ="MenuRadioGroup";Ys(KJ,{value:void 0,onValueChange:()=>{}});const YJ="MenuItemIndicator";Ys(YJ,{checked:!1});const QJ="MenuSub";Ys(QJ);function JJ(e){return e?"open":"closed"}function eee(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function tee(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function nee(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=tee(e,Math.max(i,0));o.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function ree(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;ir!=u>r&&n<(c-s)*(r-l)/(u-l)+s&&(o=!o)}return o}function oee(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return ree(n,t)}function i3(e){return t=>t.pointerType==="mouse"?e(t):void 0}const iee=WJ,aee=XJ,nA="DropdownMenu",[see,s6e]=Di(nA,[QT]),rA=QT(),[l6e,lee]=see(nA),cee="DropdownMenuContent",uee=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=lee(cee,n),i=rA(n),a=h.useRef(!1);return h.createElement(iee,W({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:Je(e.onCloseAutoFocus,s=>{var l;a.current||(l=o.triggerRef.current)===null||l===void 0||l.focus(),a.current=!1,s.preventDefault()}),onInteractOutside:Je(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!o.modal||u)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),dee=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=rA(n);return h.createElement(aee,W({},o,r,{ref:t}))});H(dee,{fontWeight:"$semiBold",color:"$neutral900",cursor:"pointer",padding:"1rem",outline:"none",transition:"color, background-color 0.3s ease-in-out","&:hover":{color:"$blue500",backgroundColor:"$blue100",border:"none"}});const fee=bt({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),pee=bt({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),hee=bt({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),mee=bt({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),gee={minWidth:"22rem",backgroundColor:"$white",padding:"0.8rem",boxShadow:"$card",animationDuration:"1000ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:hee},'&[data-side="right"]':{animationName:mee},'&[data-side="bottom"]':{animationName:fee},'&[data-side="left"]':{animationName:pee}}};H(uee,gee);const z8="./check-20bee90e.svg",E4="./form-error-8394ba6d.svg",a3="./info-e51bf88e.svg";function U8(e,[t,n]){return Math.min(n,Math.max(t,e))}function vee(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const s3="dismissableLayer.update",yee="dismissableLayer.pointerDownOutside",bee="dismissableLayer.focusOutside";let H8;const oA=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nh=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(oA),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=Le(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=xee(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=See(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return vee(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(H8=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),V8(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=H8)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),V8())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(s3,k),()=>document.removeEventListener(s3,k)},[]),h.createElement(Ve.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,E.onPointerDownCapture)}))}),wee=h.forwardRef((e,t)=>{const n=h.useContext(oA),r=h.useRef(null),o=Le(t,r);return h.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),h.createElement(Ve.div,W({},e,{ref:o}))});function xee(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){iA(yee,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function See(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&iA(bee,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function V8(){const e=new CustomEvent(s3);document.dispatchEvent(e)}function iA(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?i4(o,i):o.dispatchEvent(i)}const Eee=Nh,_ee=wee,Ng="focusScope.autoFocusOnMount",Bg="focusScope.autoFocusOnUnmount",W8={bubbles:!1,cancelable:!0},aA=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=Kt(o),u=Kt(i),d=h.useRef(null),f=Le(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let y=function(x){if(p.paused||!s)return;const S=x.target;s.contains(S)?d.current=S:ts(d.current,{select:!0})},b=function(x){p.paused||!s||s.contains(x.relatedTarget)||ts(d.current,{select:!0})};var g=y,w=b;return document.addEventListener("focusin",y),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b)}}},[r,s,p.paused]),h.useEffect(()=>{if(s){G8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Ng,W8);s.addEventListener(Ng,c),s.dispatchEvent(y),y.defaultPrevented||(Cee(Ree(sA(s)),{select:!0}),document.activeElement===g&&ts(s))}return()=>{s.removeEventListener(Ng,c),setTimeout(()=>{const y=new CustomEvent(Bg,W8);s.addEventListener(Bg,u),s.dispatchEvent(y),y.defaultPrevented||ts(g??document.body,{select:!0}),s.removeEventListener(Bg,u),G8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=kee(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&ts(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&ts(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(Ve.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function Cee(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ts(r,{select:t}),document.activeElement!==n)return}function kee(e){const t=sA(e),n=Z8(t,e),r=Z8(t.reverse(),e);return[n,r]}function sA(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Z8(e,t){for(const n of e)if(!$ee(n,{upTo:t}))return n}function $ee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Tee(e){return e instanceof HTMLInputElement&&"select"in e}function ts(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Tee(e)&&t&&e.select()}}const G8=Aee();function Aee(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=X8(e,t),e.unshift(t)},remove(t){var n;e=X8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function X8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ree(e){return e.filter(t=>t.tagName!=="A")}const _4=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(Ve.div,W({},o,{ref:t})),r):null}),Bh=h.forwardRef((e,t)=>h.createElement(Ve.span,W({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Fee=Bh,Iee=[" ","Enter","ArrowUp","ArrowDown"],Pee=[" ","Enter"],zh="Select",[Uh,lA,Oee]=Af(zh),[Pf,c6e]=un(zh,[Oee]),[jee,Qc]=Pf(zh),[Dee,Mee]=Pf(zh),Lee=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:c,name:u,autoComplete:d,disabled:f,required:p}=e,[m,g]=h.useState(null),[w,y]=h.useState(null),[b,x]=h.useState(!1),S=Ah(c),[_=!1,E]=Nr({prop:r,defaultProp:o,onChange:i}),[C,k]=Nr({prop:a,defaultProp:s,onChange:l}),I=h.useRef(null),j=m?!!m.closest("form"):!0,[$,P]=h.useState(new Set),B=Array.from($).map(R=>R.props.value).join(";");return h.createElement(jee,{required:p,scope:t,trigger:m,onTriggerChange:g,valueNode:w,onValueNodeChange:y,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:Mo(),value:C,onValueChange:k,open:_,onOpenChange:E,dir:S,triggerPointerDownPosRef:I,disabled:f},h.createElement(Uh.Provider,{scope:t},h.createElement(Dee,{scope:e.__scopeSelect,onNativeOptionAdd:h.useCallback(R=>{P(M=>new Set(M).add(R))},[]),onNativeOptionRemove:h.useCallback(R=>{P(M=>{const z=new Set(M);return z.delete(R),z})},[])},n)),j?h.createElement(uA,{key:B,"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:C,onChange:R=>k(R.target.value),disabled:f},C===void 0?h.createElement("option",{value:""}):null,Array.from($)):null)},Nee="SelectTrigger",Bee=h.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=Qc(Nee,n),a=i.disabled||r,s=Le(t,i.onTriggerChange),l=lA(n),[c,u,d]=dA(p=>{const m=l().filter(y=>!y.disabled),g=m.find(y=>y.value===i.value),w=fA(m,p,g);w!==void 0&&i.onValueChange(w.value)}),f=()=>{a||(i.onOpenChange(!0),d())};return h.createElement(Ve.button,W({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:s,onClick:ce(o.onClick,p=>{p.currentTarget.focus()}),onPointerDown:ce(o.onPointerDown,p=>{const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(f(),i.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:ce(o.onKeyDown,p=>{const m=c.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&u(p.key),!(m&&p.key===" ")&&Iee.includes(p.key)&&(f(),p.preventDefault())})}))}),zee="SelectValue",Uee=h.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=Qc(zee,n),{onValueNodeHasChildrenChange:c}=l,u=i!==void 0,d=Le(t,l.onValueNodeChange);return jn(()=>{c(u)},[c,u]),h.createElement(Ve.span,W({},s,{ref:d,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),Hee=h.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return h.createElement(Ve.span,W({"aria-hidden":!0},o,{ref:t}),r||"▼")}),Vee=e=>h.createElement(_4,W({asChild:!0},e)),C4="SelectContent",Wee=h.forwardRef((e,t)=>{const n=Qc(C4,e.__scopeSelect),[r,o]=h.useState();return jn(()=>{o(new DocumentFragment)},[]),h.createElement(h.Fragment,null,n.open?h.createElement(Zee,W({},e,{ref:t})):r?On.createPortal(h.createElement(cA,{scope:e.__scopeSelect},h.createElement(Uh.Slot,{scope:e.__scopeSelect},h.createElement("div",null,e.children))),r):null)}),Zi=10,[cA,k4]=Pf(C4),Zee=h.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Qc(C4,n),[a,s]=h.useState(null),[l,c]=h.useState(null),[u,d]=h.useState(null),f=Le(t,L=>c(L)),[p,m]=h.useState(null),[g,w]=h.useState(null),y=lA(n),[b,x]=h.useState(!1),S=h.useRef(!0),_=h.useRef(!1),E=h.useRef(!1);h.useEffect(()=>{if(l)return If(l)},[l]),p4();const[C,k]=h.useState();jn(()=>{l&&k(window.getComputedStyle(l).zIndex)},[l]);const I=h.useCallback(L=>{const[T,...F]=y().map(de=>de.ref.current),[ae]=F.slice(-1),ie=document.activeElement;for(const de of L)if(de===ie||(de==null||de.scrollIntoView({block:"nearest"}),de===T&&u&&(u.scrollTop=0),de===ae&&u&&(u.scrollTop=u.scrollHeight),de==null||de.focus(),document.activeElement!==ie))return},[y,u]),j=h.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&u&&p&&g){const L=i.trigger.getBoundingClientRect(),T=l.getBoundingClientRect(),F=i.valueNode.getBoundingClientRect(),ae=g.getBoundingClientRect();if(i.dir!=="rtl"){const sr=ae.left-T.left,Ln=F.left-sr,Wr=L.left-Ln,V=L.width+Wr,ee=Math.max(V,T.width),be=window.innerWidth-Zi,Ge=U8(Ln,[Zi,be-ee]);a.style.minWidth=V+"px",a.style.left=Ge+"px"}else{const sr=T.right-ae.right,Ln=window.innerWidth-F.right-sr,Wr=window.innerWidth-L.right-Ln,V=L.width+Wr,ee=Math.max(V,T.width),be=window.innerWidth-Zi,Ge=U8(Ln,[Zi,be-ee]);a.style.minWidth=V+"px",a.style.right=Ge+"px"}const ie=y(),de=window.innerHeight-Zi*2,ne=u.scrollHeight,me=window.getComputedStyle(l),ye=parseInt(me.borderTopWidth,10),Ae=parseInt(me.paddingTop,10),Qe=parseInt(me.borderBottomWidth,10),wt=parseInt(me.paddingBottom,10),Rt=ye+Ae+ne+wt+Qe,Zt=Math.min(p.offsetHeight*5,Rt),D=window.getComputedStyle(u),U=parseInt(D.paddingTop,10),Z=parseInt(D.paddingBottom,10),Y=L.top+L.height/2-Zi,re=de-Y,G=p.offsetHeight/2,se=p.offsetTop+G,He=ye+Ae+se,at=Rt-He;if(He<=Y){const sr=p===ie[ie.length-1].ref.current;a.style.bottom="0px";const Ln=l.clientHeight-u.offsetTop-u.offsetHeight,Wr=Math.max(re,G+(sr?Z:0)+Ln+Qe),V=He+Wr;a.style.height=V+"px"}else{const sr=p===ie[0].ref.current;a.style.top="0px";const Wr=Math.max(Y,ye+u.offsetTop+(sr?U:0)+G)+at;a.style.height=Wr+"px",u.scrollTop=He-Y+u.offsetTop}a.style.margin=`${Zi}px 0`,a.style.minHeight=Zt+"px",a.style.maxHeight=de+"px",x(!0),requestAnimationFrame(()=>_.current=!0)}},[y,i.trigger,i.valueNode,a,l,u,p,g,i.dir]);jn(()=>j(),[j]);const $=h.useCallback(()=>I([p,l]),[I,p,l]);h.useEffect(()=>{b&&$()},[b,$]);const P=h.useCallback(L=>{L&&S.current===!0&&(j(),$(),S.current=!1)},[j,$]),{onOpenChange:B,triggerPointerDownPosRef:R}=i;h.useEffect(()=>{if(l){let L={x:0,y:0};const T=ae=>{var ie,de,ne,me;L={x:Math.abs(Math.round(ae.pageX)-((ie=(de=R.current)===null||de===void 0?void 0:de.x)!==null&&ie!==void 0?ie:0)),y:Math.abs(Math.round(ae.pageY)-((ne=(me=R.current)===null||me===void 0?void 0:me.y)!==null&&ne!==void 0?ne:0))}},F=ae=>{L.x<=10&&L.y<=10?ae.preventDefault():l.contains(ae.target)||B(!1),document.removeEventListener("pointermove",T),R.current=null};return R.current!==null&&(document.addEventListener("pointermove",T),document.addEventListener("pointerup",F,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",F,{capture:!0})}}},[l,B,R]),h.useEffect(()=>{const L=()=>B(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[B]);const[M,z]=dA(L=>{const T=y().filter(ie=>!ie.disabled),F=T.find(ie=>ie.ref.current===document.activeElement),ae=fA(T,L,F);ae&&setTimeout(()=>ae.ref.current.focus())}),K=h.useCallback((L,T,F)=>{const ae=!E.current&&!F;(i.value!==void 0&&i.value===T||ae)&&(m(L),ae&&(E.current=!0))},[i.value]),O=h.useCallback(()=>l==null?void 0:l.focus(),[l]),N=h.useCallback((L,T,F)=>{const ae=!E.current&&!F;(i.value!==void 0&&i.value===T||ae)&&w(L)},[i.value]);return h.createElement(cA,{scope:n,contentWrapper:a,content:l,viewport:u,onViewportChange:d,itemRefCallback:K,selectedItem:p,onItemLeave:O,itemTextRefCallback:N,selectedItemText:g,onScrollButtonChange:P,isPositioned:b,shouldExpandOnScrollRef:_,searchRef:M},h.createElement(x4,{as:ki,allowPinchZoom:!0},h.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C}},h.createElement(aA,{asChild:!0,trapped:i.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:ce(r,L=>{var T;(T=i.trigger)===null||T===void 0||T.focus({preventScroll:!0}),L.preventDefault()})},h.createElement(Nh,W({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:L=>L.preventDefault()},o,{ref:f,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:ce(o.onKeyDown,L=>{const T=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!T&&L.key.length===1&&z(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let ae=y().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);if(["ArrowUp","End"].includes(L.key)&&(ae=ae.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const ie=L.target,de=ae.indexOf(ie);ae=ae.slice(de+1)}setTimeout(()=>I(ae)),L.preventDefault()}})}))))))}),Gee="SelectViewport",Xee=h.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=k4(Gee,n),i=Le(t,o.onViewportChange),a=h.useRef(0);return h.createElement(h.Fragment,null,h.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),h.createElement(Uh.Slot,{scope:n},h.createElement(Ve.div,W({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:ce(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:c,shouldExpandOnScrollRef:u}=o;if(u!=null&&u.current&&c){const d=Math.abs(a.current-l.scrollTop);if(d>0){const f=window.innerHeight-Zi*2,p=parseFloat(c.style.minHeight),m=parseFloat(c.style.height),g=Math.max(p,m);if(g0?b:0,c.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),qee="SelectGroup";Pf(qee);const l3="SelectItem",[Kee,Yee]=Pf(l3),Qee=h.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Qc(l3,n),l=k4(l3,n),c=s.value===r,[u,d]=h.useState(i??""),[f,p]=h.useState(!1),m=Le(t,y=>{var b;return(b=l.itemRefCallback)===null||b===void 0?void 0:b.call(l,y,r,o)}),g=Mo(),w=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return h.createElement(Kee,{scope:n,value:r,disabled:o,textId:g,isSelected:c,onItemTextChange:h.useCallback(y=>{d(b=>{var x;return b||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},h.createElement(Uh.ItemSlot,{scope:n,value:r,disabled:o,textValue:u},h.createElement(Ve.div,W({role:"option","aria-labelledby":g,"data-highlighted":f?"":void 0,"aria-selected":c&&f,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:m,onFocus:ce(a.onFocus,()=>p(!0)),onBlur:ce(a.onBlur,()=>p(!1)),onPointerUp:ce(a.onPointerUp,w),onPointerMove:ce(a.onPointerMove,y=>{if(o){var b;(b=l.onItemLeave)===null||b===void 0||b.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var b;(b=l.onItemLeave)===null||b===void 0||b.call(l)}}),onKeyDown:ce(a.onKeyDown,y=>{var b;((b=l.searchRef)===null||b===void 0?void 0:b.current)!==""&&y.key===" "||(Pee.includes(y.key)&&w(),y.key===" "&&y.preventDefault())})}))))}),Op="SelectItemText",Jee=h.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=Qc(Op,n),s=k4(Op,n),l=Yee(Op,n),c=Mee(Op,n),[u,d]=h.useState(null),f=Le(t,y=>d(y),l.onItemTextChange,y=>{var b;return(b=s.itemTextRefCallback)===null||b===void 0?void 0:b.call(s,y,l.value,l.disabled)}),p=u==null?void 0:u.textContent,m=h.useMemo(()=>h.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},p),[l.disabled,l.value,p]),{onNativeOptionAdd:g,onNativeOptionRemove:w}=c;return jn(()=>(g(m),()=>w(m)),[g,w,m]),h.createElement(h.Fragment,null,h.createElement(Ve.span,W({id:l.textId},i,{ref:f})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?On.createPortal(i.children,a.valueNode):null)}),uA=h.forwardRef((e,t)=>{const{value:n,...r}=e,o=h.useRef(null),i=Le(t,o),a=c4(n);return h.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const d=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(d)}},[a,n]),h.createElement(Bh,{asChild:!0},h.createElement("select",W({},r,{ref:i,defaultValue:n})))});uA.displayName="BubbleSelect";function dA(e){const t=Kt(e),n=h.useRef(""),r=h.useRef(0),o=h.useCallback(a=>{const s=n.current+a;t(s),function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=h.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return h.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function fA(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=ete(e,Math.max(i,0));o.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function ete(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const tte=Lee,nte=Bee,rte=Uee,ote=Hee,ite=Vee,ate=Wee,ste=Xee,lte=Qee,cte=Jee,pA=H("div",{position:"relative",display:"flex",alignItems:"center",width:"100%"}),ute=H("svg",{transition:"transform 300ms",variants:{disabled:{true:{svg:{stroke:"$neutral400"}}},direction:{up:{transform:"rotate(-90deg)","[data-state=open] > &, [data-open=true] > &":{transform:"rotate(90deg)"}},down:{transform:"rotate(90deg)","[data-state=open] > &, [data-open=true] > &":{transform:"rotate(-90deg)"}}}},defaultVariants:{direction:"down"}}),hA=h.forwardRef(({width:e=8,...t},n)=>v.jsx(ute,{...n,viewBox:"0 0 8 13",fill:"none",style:{width:e,height:"auto"},...t,children:v.jsx(h$,{})}));hA.displayName="Chevron";const mA={"&::after":{color:"$grayscale300",content:" (default)"}},gA=H("button",{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:"$white",width:"100%",padding:"10px",fontSize:"$small",fontFamily:"sans-serif",border:"1px solid #1b1b1b",borderRadius:"$regular",outline:"none",color:"$neutral900",variants:{disabled:{true:{cursor:"default",color:"$neutral300"}}}}),vA=H("div",{position:"relative",boxSizing:"border-box",color:"$neutral900",padding:"16px 8px",fontFamily:"sans-serif",fontSize:"$small",background:"$white",borderRadius:4,zIndex:"$z-30",boxShadow:"$dropdown",pointerEvents:"all"}),yA=H(ste,{display:"flex",flexDirection:"column",rowGap:8}),dte=H(lte,{padding:"8px",outline:"none",transition:"background color ease 300ms",color:"$neutral900",borderRadius:4,"&:focus":{background:"$blue500",color:"$white"},"&:hover":{background:"$blue100",color:"$blue500",cursor:"pointer"},variants:{isDefault:{true:mA}}}),fte=H(cte,{}),pte=H(_e,{variants:{isDefault:{true:mA},filterByPrefix:{true:{"&::before":{fontSize:"$xsmall",color:"$neutral500",content:"Filter By "}}},groupByPrefix:{true:{"&::before":{fontSize:"$xsmall",color:"$neutral500",content:"Group By "}}}}});function hte({children:e,defaultValue:t,className:n,onValueChange:r,css:o,isDefault:i,filterByPrefix:a,groupByPrefix:s,value:l,dataTestId:c,id:u,disabled:d=!1}){const[f,p]=h.useState("close");return v.jsx(pA,{css:o,className:n,children:v.jsxs(tte,{disabled:d,dir:"ltr",value:l,onValueChange:r,defaultValue:t,onOpenChange:m=>p(m?"open":"close"),children:[v.jsx(nte,{id:u,asChild:!0,"data-state":f,"data-testid":"select__trigger",children:v.jsxs(gA,{disabled:d,children:[v.jsx(pte,{isDefault:i,filterByPrefix:a,groupByPrefix:s,children:v.jsx(rte,{"data-testid":c})}),v.jsx(ote,{asChild:!0,children:v.jsx(hA,{direction:"down",disabled:d})})]})}),v.jsx(ite,{children:v.jsx(ate,{asChild:!0,children:v.jsx(vA,{children:v.jsx(yA,{children:e})})})})]})})}const S0={SelectComponent:hte,Dropdown:vA,SelTrigger:gA,Wrapper:pA,Viewport:yA,Item:dte,ItemText:fte},jp="1.2rem",mte="0.2rem",bA={backgroundColor:"$white",padding:`${mte} ${jp}`,fontSize:"$small",border:"0.5px solid $neutral300",display:"flex",alignItems:"center",borderRadius:"$regular",marginBottom:"0.8rem",[`& ${Th}`]:{border:"none",lineHeight:"1.5rem",padding:0},[`& ${Text}`]:{userSelect:"none",lineHeight:"1.5rem",position:"relative","&::before":{position:"absolute",content:"",width:`calc(100% + ${jp}*2)`,height:"0.1rem",left:`-${jp}`,bottom:`-${jp}`,backgroundColor:"$blue500"}},[`& ${S0.SelTrigger}`]:{userSelect:"none",lineHeight:"1.5rem",position:"relative",backgroundColor:"transparent",border:"none"}},zg={width:"1.6rem",height:"1.6rem",display:"inline-block",content:"",marginRight:"0.75rem"},q8=H(xe,{...bA,marginTop:"0.8rem",padding:0,"&:focus-within":{border:"1px solid $blue500"},[`& ${Th}`]:{lineHeight:"1.7rem",padding:"1rem 1rem",paddingRight:"1.5rem",margin:0,fontSize:"$small",borderRadius:"$regular",border:"none","&:disabled":{color:"$neutral400"},"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},"&[type=number]":{MozAppearance:"textfield"}},variants:{error:{true:{"&:focus-within":{border:"none"},border:"1px solid $red400","&::after":{...zg,background:`url(${E4}) no-repeat 50% 50%`}}},info:{true:{"&:focus-within":{border:"none"},"&::after":{mask:`url(${a3}) no-repeat 50% 50%`,"-webkit-mask":`url(${a3}) no-repeat 50% 50%`,backgroundColor:"$blue500",...zg},border:"1px solid $blue500"}},disabled:{true:{border:"1px solid $grayscale200",color:"$neutral200"}},valid:{true:{position:"relative","&::after":{mask:`url(${z8}) no-repeat 50% 50%`,"-webkit-mask":`url(${z8}) no-repeat 50% 50%`,backgroundColor:"$green200",...zg}}},hidden:{true:{visibility:"hidden"}},loading:{true:{position:"relative",["& .spinner svg"]:{stroke:"$blue500",marginRight:"0.5rem"}}}}}),$4=h.forwardRef((e,t)=>{const{children:n,...r}=e;return e.loading?v.jsx(q8,{ref:t,...r,loading:!0,children:v.jsxs(v.Fragment,{children:[n,v.jsx(Kc,{})]})}):v.jsx(q8,{ref:t,...e})});$4.displayName="FormInput";const gte=H(_e,{...bA,variants:{error:{true:{borderColor:"$red400",svg:{display:"none"},"&::after":{background:`url(${E4}) no-repeat 50% 50%`,width:"1.6rem",height:"1.6rem",display:"inline-block",content:""}}},disabled:{true:{border:"1px solid $neutral300",color:"$neutral300",cursor:"default"}}}}),Co={ready:"ready",readyToCommit:"readyToCommit",committed:"committed",merged:"merged",canceled:"canceled"},vte=H(_e,{borderRadius:"$small",boxShadow:"$card",textAlign:"center",fontWeight:"$bold",color:"white",fontSize:"$xsmall",padding:"0.4rem 1.6rem",transition:"background-color 0.2s ease-in-out",variants:{state:{[Co.ready]:{backgroundColor:"$turquoise650"},[Co.readyToCommit]:{backgroundColor:"$green200"},[Co.committed]:{backgroundColor:"$turquoise500"},[Co.merged]:{backgroundColor:"$blue400"},[Co.canceled]:{backgroundColor:"$red250"}}}}),yte={[Co.ready]:"Ready",[Co.readyToCommit]:"Ready to Commit",[Co.committed]:"Committed",[Co.merged]:"Merged",[Co.canceled]:"Canceled"},bte=X.forwardRef((e,t)=>{const{state:n}=e;return v.jsx(vte,{...e,ref:t,children:yte[n]})});bte.displayName="FixState";const K8=["http","https","mailto","tel"];function wte(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let o=-1;for(;++oo||(o=t.indexOf("#"),o!==-1&&r>o)?t:"javascript:void(0)"}/*! +`)},PJ=0,ml=[];function OJ(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(PJ++)[0],i=h.useState(function(){return m4()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=h4([e.lockRef.current],(e.shards||[]).map(N8),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var y=P0(g),b=n.current,x="deltaX"in g?g.deltaX:b[0]-y[0],S="deltaY"in g?g.deltaY:b[1]-y[1],_,E=g.target,C=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&C==="h"&&E.type==="range")return!1;var k=M8(C,E);if(!k)return!0;if(k?_=C:(_=C==="v"?"h":"v",k=M8(C,E)),!k)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=_),!_)return!0;var I=r.current||_;return RJ(I,w,g,I==="h"?x:S,!0)},[]),l=h.useCallback(function(g){var w=g;if(!(!ml.length||ml[ml.length-1]!==i)){var y="deltaY"in w?L8(w):P0(w),b=t.current.filter(function(_){return _.name===w.type&&_.target===w.target&&FJ(_.delta,y)})[0];if(b&&b.should){w.cancelable&&w.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(N8).filter(Boolean).filter(function(_){return _.contains(w.target)}),S=x.length>0?s(w,x[0]):!a.current.noIsolation;S&&w.cancelable&&w.preventDefault()}}},[]),c=h.useCallback(function(g,w,y,b){var x={name:g,delta:w,target:y,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),u=h.useCallback(function(g){n.current=P0(g),r.current=void 0},[]),d=h.useCallback(function(g){c(g.type,L8(g),g.target,s(g,e.lockRef.current))},[]),f=h.useCallback(function(g){c(g.type,P0(g),g.target,s(g,e.lockRef.current))},[]);h.useEffect(function(){return ml.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,hl),document.addEventListener("touchmove",l,hl),document.addEventListener("touchstart",u,hl),function(){ml=ml.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,hl),document.removeEventListener("touchmove",l,hl),document.removeEventListener("touchstart",u,hl)}},[]);var p=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(i,{styles:IJ(o)}):null,p?h.createElement(rT,{gapMode:"margin"}):null)}const jJ=eT(ZT,OJ);var KT=h.forwardRef(function(e,t){return h.createElement(Dh,St({},e,{ref:t,sideCar:jJ}))});KT.classNames=Dh.classNames;const x4=KT,DJ=["Enter"," "],MJ=["ArrowDown","PageUp","Home"],YT=["ArrowUp","PageDown","End"],LJ=[...MJ,...YT],Mh="Menu",[r3,NJ,BJ]=hT(Mh),[Ys,QT]=Di(Mh,[BJ,BT,VT]),zJ=BT(),JT=VT(),[o6e,Lh]=Ys(Mh),[i6e,S4]=Ys(Mh),UJ="MenuPortal",[a6e,HJ]=Ys(UJ,{forceMount:void 0}),va="MenuContent",[VJ,eA]=Ys(va),WJ=h.forwardRef((e,t)=>{const n=HJ(va,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Lh(va,e.__scopeMenu),a=S4(va,e.__scopeMenu);return h.createElement(r3.Provider,{scope:e.__scopeMenu},h.createElement(jh,{present:r||i.open},h.createElement(r3.Slot,{scope:e.__scopeMenu},a.modal?h.createElement(ZJ,W({},o,{ref:t})):h.createElement(GJ,W({},o,{ref:t})))))}),ZJ=h.forwardRef((e,t)=>{const n=Lh(va,e.__scopeMenu),r=h.useRef(null),o=yn(t,r);return h.useEffect(()=>{const i=r.current;if(i)return If(i)},[]),h.createElement(tA,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Je(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),GJ=h.forwardRef((e,t)=>{const n=Lh(va,e.__scopeMenu);return h.createElement(tA,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),tA=h.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...g}=e,w=Lh(va,n),y=S4(va,n),b=zJ(n),x=JT(n),S=NJ(n),[_,E]=h.useState(null),C=h.useRef(null),k=yn(t,C,w.onContentChange),I=h.useRef(0),j=h.useRef(""),$=h.useRef(0),P=h.useRef(null),B=h.useRef("right"),R=h.useRef(0),M=m?x4:h.Fragment,z=m?{as:Pc,allowPinchZoom:!0}:void 0,K=N=>{var L,T;const F=j.current+N,ae=S().filter(Te=>!Te.disabled),ie=document.activeElement,de=(L=ae.find(Te=>Te.ref.current===ie))===null||L===void 0?void 0:L.textValue,ne=ae.map(Te=>Te.textValue),me=nee(ne,F,de),ye=(T=ae.find(Te=>Te.textValue===me))===null||T===void 0?void 0:T.ref.current;(function Te(Qe){j.current=Qe,window.clearTimeout(I.current),Qe!==""&&(I.current=window.setTimeout(()=>Te(""),1e3))})(F),ye&&setTimeout(()=>ye.focus())};h.useEffect(()=>()=>window.clearTimeout(I.current),[]),vT();const O=h.useCallback(N=>{var L,T;return B.current===((L=P.current)===null||L===void 0?void 0:L.side)&&oee(N,(T=P.current)===null||T===void 0?void 0:T.area)},[]);return h.createElement(VJ,{scope:n,searchRef:j,onItemEnter:h.useCallback(N=>{O(N)&&N.preventDefault()},[O]),onItemLeave:h.useCallback(N=>{var L;O(N)||((L=C.current)===null||L===void 0||L.focus(),E(null))},[O]),onTriggerLeave:h.useCallback(N=>{O(N)&&N.preventDefault()},[O]),pointerGraceTimerRef:$,onPointerGraceIntentChange:h.useCallback(N=>{P.current=N},[])},h.createElement(M,z,h.createElement(MQ,{asChild:!0,trapped:o,onMountAutoFocus:Je(i,N=>{var L;N.preventDefault(),(L=C.current)===null||L===void 0||L.focus()}),onUnmountAutoFocus:a},h.createElement(OQ,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p},h.createElement(SJ,W({asChild:!0},x,{dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:_,onCurrentTabStopIdChange:E,onEntryFocus:Je(l,N=>{y.isUsingKeyboardRef.current||N.preventDefault()})}),h.createElement(aJ,W({role:"menu","aria-orientation":"vertical","data-state":JJ(w.open),"data-radix-menu-content":"",dir:y.dir},b,g,{ref:k,style:{outline:"none",...g.style},onKeyDown:Je(g.onKeyDown,N=>{const T=N.target.closest("[data-radix-menu-content]")===N.currentTarget,F=N.ctrlKey||N.altKey||N.metaKey,ae=N.key.length===1;T&&(N.key==="Tab"&&N.preventDefault(),!F&&ae&&K(N.key));const ie=C.current;if(N.target!==ie||!LJ.includes(N.key))return;N.preventDefault();const ne=S().filter(me=>!me.disabled).map(me=>me.ref.current);YT.includes(N.key)&&ne.reverse(),eee(ne)}),onBlur:Je(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(I.current),j.current="")}),onPointerMove:Je(e.onPointerMove,i3(N=>{const L=N.target,T=R.current!==N.clientX;if(N.currentTarget.contains(L)&&T){const F=N.clientX>R.current?"right":"left";B.current=F,R.current=N.clientX}}))})))))))}),o3="MenuItem",B8="menu.itemSelect",XJ=h.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=h.useRef(null),a=S4(o3,e.__scopeMenu),s=eA(o3,e.__scopeMenu),l=yn(t,i),c=h.useRef(!1),u=()=>{const d=i.current;if(!n&&d){const f=new CustomEvent(B8,{bubbles:!0,cancelable:!0});d.addEventListener(B8,p=>r==null?void 0:r(p),{once:!0}),d4(d,f),f.defaultPrevented?c.current=!1:a.onClose()}};return h.createElement(qJ,W({},o,{ref:l,disabled:n,onClick:Je(e.onClick,u),onPointerDown:d=>{var f;(f=e.onPointerDown)===null||f===void 0||f.call(e,d),c.current=!0},onPointerUp:Je(e.onPointerUp,d=>{var f;c.current||(f=d.currentTarget)===null||f===void 0||f.click()}),onKeyDown:Je(e.onKeyDown,d=>{const f=s.searchRef.current!=="";n||f&&d.key===" "||DJ.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),qJ=h.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=eA(o3,n),s=JT(n),l=h.useRef(null),c=yn(t,l),[u,d]=h.useState(!1),[f,p]=h.useState("");return h.useEffect(()=>{const m=l.current;if(m){var g;p(((g=m.textContent)!==null&&g!==void 0?g:"").trim())}},[i.children]),h.createElement(r3.ItemSlot,{scope:n,disabled:r,textValue:o??f},h.createElement(EJ,W({asChild:!0},s,{focusable:!r}),h.createElement(ar.div,W({role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:Je(e.onPointerMove,i3(m=>{r?a.onItemLeave(m):(a.onItemEnter(m),m.defaultPrevented||m.currentTarget.focus())})),onPointerLeave:Je(e.onPointerLeave,i3(m=>a.onItemLeave(m))),onFocus:Je(e.onFocus,()=>d(!0)),onBlur:Je(e.onBlur,()=>d(!1))}))))}),KJ="MenuRadioGroup";Ys(KJ,{value:void 0,onValueChange:()=>{}});const YJ="MenuItemIndicator";Ys(YJ,{checked:!1});const QJ="MenuSub";Ys(QJ);function JJ(e){return e?"open":"closed"}function eee(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function tee(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function nee(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=tee(e,Math.max(i,0));o.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function ree(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;ir!=u>r&&n<(c-s)*(r-l)/(u-l)+s&&(o=!o)}return o}function oee(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return ree(n,t)}function i3(e){return t=>t.pointerType==="mouse"?e(t):void 0}const iee=WJ,aee=XJ,nA="DropdownMenu",[see,s6e]=Di(nA,[QT]),rA=QT(),[l6e,lee]=see(nA),cee="DropdownMenuContent",uee=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=lee(cee,n),i=rA(n),a=h.useRef(!1);return h.createElement(iee,W({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:Je(e.onCloseAutoFocus,s=>{var l;a.current||(l=o.triggerRef.current)===null||l===void 0||l.focus(),a.current=!1,s.preventDefault()}),onInteractOutside:Je(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!o.modal||u)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),dee=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=rA(n);return h.createElement(aee,W({},o,r,{ref:t}))});H(dee,{fontWeight:"$semiBold",color:"$neutral900",cursor:"pointer",padding:"1rem",outline:"none",transition:"color, background-color 0.3s ease-in-out","&:hover":{color:"$blue500",backgroundColor:"$blue100",border:"none"}});const fee=bt({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),pee=bt({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),hee=bt({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),mee=bt({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),gee={minWidth:"22rem",backgroundColor:"$white",padding:"0.8rem",boxShadow:"$card",animationDuration:"1000ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",willChange:"transform, opacity",'&[data-state="open"]':{'&[data-side="top"]':{animationName:hee},'&[data-side="right"]':{animationName:mee},'&[data-side="bottom"]':{animationName:fee},'&[data-side="left"]':{animationName:pee}}};H(uee,gee);const z8="./check-20bee90e.svg",E4="./form-error-8394ba6d.svg",a3="./info-e51bf88e.svg";function U8(e,[t,n]){return Math.min(n,Math.max(t,e))}function vee(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const s3="dismissableLayer.update",yee="dismissableLayer.pointerDownOutside",bee="dismissableLayer.focusOutside";let H8;const oA=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nh=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(oA),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=Le(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=xee(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=See(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return vee(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(H8=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),V8(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=H8)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),V8())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(s3,k),()=>document.removeEventListener(s3,k)},[]),h.createElement(Ve.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,E.onPointerDownCapture)}))}),wee=h.forwardRef((e,t)=>{const n=h.useContext(oA),r=h.useRef(null),o=Le(t,r);return h.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),h.createElement(Ve.div,W({},e,{ref:o}))});function xee(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){iA(yee,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function See(e,t=globalThis==null?void 0:globalThis.document){const n=Kt(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&iA(bee,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function V8(){const e=new CustomEvent(s3);document.dispatchEvent(e)}function iA(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?i4(o,i):o.dispatchEvent(i)}const Eee=Nh,_ee=wee,Ng="focusScope.autoFocusOnMount",Bg="focusScope.autoFocusOnUnmount",W8={bubbles:!1,cancelable:!0},aA=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=Kt(o),u=Kt(i),d=h.useRef(null),f=Le(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let y=function(x){if(p.paused||!s)return;const S=x.target;s.contains(S)?d.current=S:ts(d.current,{select:!0})},b=function(x){p.paused||!s||s.contains(x.relatedTarget)||ts(d.current,{select:!0})};var g=y,w=b;return document.addEventListener("focusin",y),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b)}}},[r,s,p.paused]),h.useEffect(()=>{if(s){G8.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Ng,W8);s.addEventListener(Ng,c),s.dispatchEvent(y),y.defaultPrevented||(Cee(Ree(sA(s)),{select:!0}),document.activeElement===g&&ts(s))}return()=>{s.removeEventListener(Ng,c),setTimeout(()=>{const y=new CustomEvent(Bg,W8);s.addEventListener(Bg,u),s.dispatchEvent(y),y.defaultPrevented||ts(g??document.body,{select:!0}),s.removeEventListener(Bg,u),G8.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=kee(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&ts(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&ts(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(Ve.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function Cee(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ts(r,{select:t}),document.activeElement!==n)return}function kee(e){const t=sA(e),n=Z8(t,e),r=Z8(t.reverse(),e);return[n,r]}function sA(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Z8(e,t){for(const n of e)if(!$ee(n,{upTo:t}))return n}function $ee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Tee(e){return e instanceof HTMLInputElement&&"select"in e}function ts(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Tee(e)&&t&&e.select()}}const G8=Aee();function Aee(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=X8(e,t),e.unshift(t)},remove(t){var n;e=X8(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function X8(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ree(e){return e.filter(t=>t.tagName!=="A")}const _4=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(Ve.div,W({},o,{ref:t})),r):null}),Bh=h.forwardRef((e,t)=>h.createElement(Ve.span,W({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Fee=Bh,Iee=[" ","Enter","ArrowUp","ArrowDown"],Pee=[" ","Enter"],zh="Select",[Uh,lA,Oee]=Af(zh),[Pf,c6e]=un(zh,[Oee]),[jee,Qc]=Pf(zh),[Dee,Mee]=Pf(zh),Lee=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:c,name:u,autoComplete:d,disabled:f,required:p}=e,[m,g]=h.useState(null),[w,y]=h.useState(null),[b,x]=h.useState(!1),S=Ah(c),[_=!1,E]=Nr({prop:r,defaultProp:o,onChange:i}),[C,k]=Nr({prop:a,defaultProp:s,onChange:l}),I=h.useRef(null),j=m?!!m.closest("form"):!0,[$,P]=h.useState(new Set),B=Array.from($).map(R=>R.props.value).join(";");return h.createElement(jee,{required:p,scope:t,trigger:m,onTriggerChange:g,valueNode:w,onValueNodeChange:y,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:Mo(),value:C,onValueChange:k,open:_,onOpenChange:E,dir:S,triggerPointerDownPosRef:I,disabled:f},h.createElement(Uh.Provider,{scope:t},h.createElement(Dee,{scope:e.__scopeSelect,onNativeOptionAdd:h.useCallback(R=>{P(M=>new Set(M).add(R))},[]),onNativeOptionRemove:h.useCallback(R=>{P(M=>{const z=new Set(M);return z.delete(R),z})},[])},n)),j?h.createElement(uA,{key:B,"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:C,onChange:R=>k(R.target.value),disabled:f},C===void 0?h.createElement("option",{value:""}):null,Array.from($)):null)},Nee="SelectTrigger",Bee=h.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=Qc(Nee,n),a=i.disabled||r,s=Le(t,i.onTriggerChange),l=lA(n),[c,u,d]=dA(p=>{const m=l().filter(y=>!y.disabled),g=m.find(y=>y.value===i.value),w=fA(m,p,g);w!==void 0&&i.onValueChange(w.value)}),f=()=>{a||(i.onOpenChange(!0),d())};return h.createElement(Ve.button,W({type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":i.value===void 0?"":void 0},o,{ref:s,onClick:ce(o.onClick,p=>{p.currentTarget.focus()}),onPointerDown:ce(o.onPointerDown,p=>{const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(f(),i.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:ce(o.onKeyDown,p=>{const m=c.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&u(p.key),!(m&&p.key===" ")&&Iee.includes(p.key)&&(f(),p.preventDefault())})}))}),zee="SelectValue",Uee=h.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=Qc(zee,n),{onValueNodeHasChildrenChange:c}=l,u=i!==void 0,d=Le(t,l.onValueNodeChange);return jn(()=>{c(u)},[c,u]),h.createElement(Ve.span,W({},s,{ref:d,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),Hee=h.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return h.createElement(Ve.span,W({"aria-hidden":!0},o,{ref:t}),r||"▼")}),Vee=e=>h.createElement(_4,W({asChild:!0},e)),C4="SelectContent",Wee=h.forwardRef((e,t)=>{const n=Qc(C4,e.__scopeSelect),[r,o]=h.useState();return jn(()=>{o(new DocumentFragment)},[]),h.createElement(h.Fragment,null,n.open?h.createElement(Zee,W({},e,{ref:t})):r?On.createPortal(h.createElement(cA,{scope:e.__scopeSelect},h.createElement(Uh.Slot,{scope:e.__scopeSelect},h.createElement("div",null,e.children))),r):null)}),Zi=10,[cA,k4]=Pf(C4),Zee=h.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Qc(C4,n),[a,s]=h.useState(null),[l,c]=h.useState(null),[u,d]=h.useState(null),f=Le(t,L=>c(L)),[p,m]=h.useState(null),[g,w]=h.useState(null),y=lA(n),[b,x]=h.useState(!1),S=h.useRef(!0),_=h.useRef(!1),E=h.useRef(!1);h.useEffect(()=>{if(l)return If(l)},[l]),p4();const[C,k]=h.useState();jn(()=>{l&&k(window.getComputedStyle(l).zIndex)},[l]);const I=h.useCallback(L=>{const[T,...F]=y().map(de=>de.ref.current),[ae]=F.slice(-1),ie=document.activeElement;for(const de of L)if(de===ie||(de==null||de.scrollIntoView({block:"nearest"}),de===T&&u&&(u.scrollTop=0),de===ae&&u&&(u.scrollTop=u.scrollHeight),de==null||de.focus(),document.activeElement!==ie))return},[y,u]),j=h.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&u&&p&&g){const L=i.trigger.getBoundingClientRect(),T=l.getBoundingClientRect(),F=i.valueNode.getBoundingClientRect(),ae=g.getBoundingClientRect();if(i.dir!=="rtl"){const sr=ae.left-T.left,Ln=F.left-sr,Wr=L.left-Ln,V=L.width+Wr,ee=Math.max(V,T.width),be=window.innerWidth-Zi,Ge=U8(Ln,[Zi,be-ee]);a.style.minWidth=V+"px",a.style.left=Ge+"px"}else{const sr=T.right-ae.right,Ln=window.innerWidth-F.right-sr,Wr=window.innerWidth-L.right-Ln,V=L.width+Wr,ee=Math.max(V,T.width),be=window.innerWidth-Zi,Ge=U8(Ln,[Zi,be-ee]);a.style.minWidth=V+"px",a.style.right=Ge+"px"}const ie=y(),de=window.innerHeight-Zi*2,ne=u.scrollHeight,me=window.getComputedStyle(l),ye=parseInt(me.borderTopWidth,10),Te=parseInt(me.paddingTop,10),Qe=parseInt(me.borderBottomWidth,10),wt=parseInt(me.paddingBottom,10),Rt=ye+Te+ne+wt+Qe,Zt=Math.min(p.offsetHeight*5,Rt),D=window.getComputedStyle(u),U=parseInt(D.paddingTop,10),Z=parseInt(D.paddingBottom,10),Y=L.top+L.height/2-Zi,re=de-Y,G=p.offsetHeight/2,se=p.offsetTop+G,He=ye+Te+se,at=Rt-He;if(He<=Y){const sr=p===ie[ie.length-1].ref.current;a.style.bottom="0px";const Ln=l.clientHeight-u.offsetTop-u.offsetHeight,Wr=Math.max(re,G+(sr?Z:0)+Ln+Qe),V=He+Wr;a.style.height=V+"px"}else{const sr=p===ie[0].ref.current;a.style.top="0px";const Wr=Math.max(Y,ye+u.offsetTop+(sr?U:0)+G)+at;a.style.height=Wr+"px",u.scrollTop=He-Y+u.offsetTop}a.style.margin=`${Zi}px 0`,a.style.minHeight=Zt+"px",a.style.maxHeight=de+"px",x(!0),requestAnimationFrame(()=>_.current=!0)}},[y,i.trigger,i.valueNode,a,l,u,p,g,i.dir]);jn(()=>j(),[j]);const $=h.useCallback(()=>I([p,l]),[I,p,l]);h.useEffect(()=>{b&&$()},[b,$]);const P=h.useCallback(L=>{L&&S.current===!0&&(j(),$(),S.current=!1)},[j,$]),{onOpenChange:B,triggerPointerDownPosRef:R}=i;h.useEffect(()=>{if(l){let L={x:0,y:0};const T=ae=>{var ie,de,ne,me;L={x:Math.abs(Math.round(ae.pageX)-((ie=(de=R.current)===null||de===void 0?void 0:de.x)!==null&&ie!==void 0?ie:0)),y:Math.abs(Math.round(ae.pageY)-((ne=(me=R.current)===null||me===void 0?void 0:me.y)!==null&&ne!==void 0?ne:0))}},F=ae=>{L.x<=10&&L.y<=10?ae.preventDefault():l.contains(ae.target)||B(!1),document.removeEventListener("pointermove",T),R.current=null};return R.current!==null&&(document.addEventListener("pointermove",T),document.addEventListener("pointerup",F,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",T),document.removeEventListener("pointerup",F,{capture:!0})}}},[l,B,R]),h.useEffect(()=>{const L=()=>B(!1);return window.addEventListener("blur",L),window.addEventListener("resize",L),()=>{window.removeEventListener("blur",L),window.removeEventListener("resize",L)}},[B]);const[M,z]=dA(L=>{const T=y().filter(ie=>!ie.disabled),F=T.find(ie=>ie.ref.current===document.activeElement),ae=fA(T,L,F);ae&&setTimeout(()=>ae.ref.current.focus())}),K=h.useCallback((L,T,F)=>{const ae=!E.current&&!F;(i.value!==void 0&&i.value===T||ae)&&(m(L),ae&&(E.current=!0))},[i.value]),O=h.useCallback(()=>l==null?void 0:l.focus(),[l]),N=h.useCallback((L,T,F)=>{const ae=!E.current&&!F;(i.value!==void 0&&i.value===T||ae)&&w(L)},[i.value]);return h.createElement(cA,{scope:n,contentWrapper:a,content:l,viewport:u,onViewportChange:d,itemRefCallback:K,selectedItem:p,onItemLeave:O,itemTextRefCallback:N,selectedItemText:g,onScrollButtonChange:P,isPositioned:b,shouldExpandOnScrollRef:_,searchRef:M},h.createElement(x4,{as:ki,allowPinchZoom:!0},h.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C}},h.createElement(aA,{asChild:!0,trapped:i.open,onMountAutoFocus:L=>{L.preventDefault()},onUnmountAutoFocus:ce(r,L=>{var T;(T=i.trigger)===null||T===void 0||T.focus({preventScroll:!0}),L.preventDefault()})},h.createElement(Nh,W({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:L=>L.preventDefault()},o,{ref:f,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:L=>L.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:ce(o.onKeyDown,L=>{const T=L.ctrlKey||L.altKey||L.metaKey;if(L.key==="Tab"&&L.preventDefault(),!T&&L.key.length===1&&z(L.key),["ArrowUp","ArrowDown","Home","End"].includes(L.key)){let ae=y().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);if(["ArrowUp","End"].includes(L.key)&&(ae=ae.slice().reverse()),["ArrowUp","ArrowDown"].includes(L.key)){const ie=L.target,de=ae.indexOf(ie);ae=ae.slice(de+1)}setTimeout(()=>I(ae)),L.preventDefault()}})}))))))}),Gee="SelectViewport",Xee=h.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=k4(Gee,n),i=Le(t,o.onViewportChange),a=h.useRef(0);return h.createElement(h.Fragment,null,h.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),h.createElement(Uh.Slot,{scope:n},h.createElement(Ve.div,W({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:ce(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:c,shouldExpandOnScrollRef:u}=o;if(u!=null&&u.current&&c){const d=Math.abs(a.current-l.scrollTop);if(d>0){const f=window.innerHeight-Zi*2,p=parseFloat(c.style.minHeight),m=parseFloat(c.style.height),g=Math.max(p,m);if(g0?b:0,c.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),qee="SelectGroup";Pf(qee);const l3="SelectItem",[Kee,Yee]=Pf(l3),Qee=h.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Qc(l3,n),l=k4(l3,n),c=s.value===r,[u,d]=h.useState(i??""),[f,p]=h.useState(!1),m=Le(t,y=>{var b;return(b=l.itemRefCallback)===null||b===void 0?void 0:b.call(l,y,r,o)}),g=Mo(),w=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return h.createElement(Kee,{scope:n,value:r,disabled:o,textId:g,isSelected:c,onItemTextChange:h.useCallback(y=>{d(b=>{var x;return b||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},h.createElement(Uh.ItemSlot,{scope:n,value:r,disabled:o,textValue:u},h.createElement(Ve.div,W({role:"option","aria-labelledby":g,"data-highlighted":f?"":void 0,"aria-selected":c&&f,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:m,onFocus:ce(a.onFocus,()=>p(!0)),onBlur:ce(a.onBlur,()=>p(!1)),onPointerUp:ce(a.onPointerUp,w),onPointerMove:ce(a.onPointerMove,y=>{if(o){var b;(b=l.onItemLeave)===null||b===void 0||b.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var b;(b=l.onItemLeave)===null||b===void 0||b.call(l)}}),onKeyDown:ce(a.onKeyDown,y=>{var b;((b=l.searchRef)===null||b===void 0?void 0:b.current)!==""&&y.key===" "||(Pee.includes(y.key)&&w(),y.key===" "&&y.preventDefault())})}))))}),O0="SelectItemText",Jee=h.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=Qc(O0,n),s=k4(O0,n),l=Yee(O0,n),c=Mee(O0,n),[u,d]=h.useState(null),f=Le(t,y=>d(y),l.onItemTextChange,y=>{var b;return(b=s.itemTextRefCallback)===null||b===void 0?void 0:b.call(s,y,l.value,l.disabled)}),p=u==null?void 0:u.textContent,m=h.useMemo(()=>h.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},p),[l.disabled,l.value,p]),{onNativeOptionAdd:g,onNativeOptionRemove:w}=c;return jn(()=>(g(m),()=>w(m)),[g,w,m]),h.createElement(h.Fragment,null,h.createElement(Ve.span,W({id:l.textId},i,{ref:f})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?On.createPortal(i.children,a.valueNode):null)}),uA=h.forwardRef((e,t)=>{const{value:n,...r}=e,o=h.useRef(null),i=Le(t,o),a=c4(n);return h.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const d=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(d)}},[a,n]),h.createElement(Bh,{asChild:!0},h.createElement("select",W({},r,{ref:i,defaultValue:n})))});uA.displayName="BubbleSelect";function dA(e){const t=Kt(e),n=h.useRef(""),r=h.useRef(0),o=h.useCallback(a=>{const s=n.current+a;t(s),function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=h.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return h.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function fA(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=ete(e,Math.max(i,0));o.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function ete(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const tte=Lee,nte=Bee,rte=Uee,ote=Hee,ite=Vee,ate=Wee,ste=Xee,lte=Qee,cte=Jee,pA=H("div",{position:"relative",display:"flex",alignItems:"center",width:"100%"}),ute=H("svg",{transition:"transform 300ms",variants:{disabled:{true:{svg:{stroke:"$neutral400"}}},direction:{up:{transform:"rotate(-90deg)","[data-state=open] > &, [data-open=true] > &":{transform:"rotate(90deg)"}},down:{transform:"rotate(90deg)","[data-state=open] > &, [data-open=true] > &":{transform:"rotate(-90deg)"}}}},defaultVariants:{direction:"down"}}),hA=h.forwardRef(({width:e=8,...t},n)=>v.jsx(ute,{...n,viewBox:"0 0 8 13",fill:"none",style:{width:e,height:"auto"},...t,children:v.jsx(h$,{})}));hA.displayName="Chevron";const mA={"&::after":{color:"$grayscale300",content:" (default)"}},gA=H("button",{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:"$white",width:"100%",padding:"10px",fontSize:"$small",fontFamily:"sans-serif",border:"1px solid #1b1b1b",borderRadius:"$regular",outline:"none",color:"$neutral900",variants:{disabled:{true:{cursor:"default",color:"$neutral300"}}}}),vA=H("div",{position:"relative",boxSizing:"border-box",color:"$neutral900",padding:"16px 8px",fontFamily:"sans-serif",fontSize:"$small",background:"$white",borderRadius:4,zIndex:"$z-30",boxShadow:"$dropdown",pointerEvents:"all"}),yA=H(ste,{display:"flex",flexDirection:"column",rowGap:8}),dte=H(lte,{padding:"8px",outline:"none",transition:"background color ease 300ms",color:"$neutral900",borderRadius:4,"&:focus":{background:"$blue500",color:"$white"},"&:hover":{background:"$blue100",color:"$blue500",cursor:"pointer"},variants:{isDefault:{true:mA}}}),fte=H(cte,{}),pte=H(_e,{variants:{isDefault:{true:mA},filterByPrefix:{true:{"&::before":{fontSize:"$xsmall",color:"$neutral500",content:"Filter By "}}},groupByPrefix:{true:{"&::before":{fontSize:"$xsmall",color:"$neutral500",content:"Group By "}}}}});function hte({children:e,defaultValue:t,className:n,onValueChange:r,css:o,isDefault:i,filterByPrefix:a,groupByPrefix:s,value:l,dataTestId:c,id:u,disabled:d=!1}){const[f,p]=h.useState("close");return v.jsx(pA,{css:o,className:n,children:v.jsxs(tte,{disabled:d,dir:"ltr",value:l,onValueChange:r,defaultValue:t,onOpenChange:m=>p(m?"open":"close"),children:[v.jsx(nte,{id:u,asChild:!0,"data-state":f,"data-testid":"select__trigger",children:v.jsxs(gA,{disabled:d,children:[v.jsx(pte,{isDefault:i,filterByPrefix:a,groupByPrefix:s,children:v.jsx(rte,{"data-testid":c})}),v.jsx(ote,{asChild:!0,children:v.jsx(hA,{direction:"down",disabled:d})})]})}),v.jsx(ite,{children:v.jsx(ate,{asChild:!0,children:v.jsx(vA,{children:v.jsx(yA,{children:e})})})})]})})}const Sp={SelectComponent:hte,Dropdown:vA,SelTrigger:gA,Wrapper:pA,Viewport:yA,Item:dte,ItemText:fte},j0="1.2rem",mte="0.2rem",bA={backgroundColor:"$white",padding:`${mte} ${j0}`,fontSize:"$small",border:"0.5px solid $neutral300",display:"flex",alignItems:"center",borderRadius:"$regular",marginBottom:"0.8rem",[`& ${Th}`]:{border:"none",lineHeight:"1.5rem",padding:0},[`& ${Text}`]:{userSelect:"none",lineHeight:"1.5rem",position:"relative","&::before":{position:"absolute",content:"",width:`calc(100% + ${j0}*2)`,height:"0.1rem",left:`-${j0}`,bottom:`-${j0}`,backgroundColor:"$blue500"}},[`& ${Sp.SelTrigger}`]:{userSelect:"none",lineHeight:"1.5rem",position:"relative",backgroundColor:"transparent",border:"none"}},zg={width:"1.6rem",height:"1.6rem",display:"inline-block",content:"",marginRight:"0.75rem"},q8=H(xe,{...bA,marginTop:"0.8rem",padding:0,"&:focus-within":{border:"1px solid $blue500"},[`& ${Th}`]:{lineHeight:"1.7rem",padding:"1rem 1rem",paddingRight:"1.5rem",margin:0,fontSize:"$small",borderRadius:"$regular",border:"none","&:disabled":{color:"$neutral400"},"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},"&[type=number]":{MozAppearance:"textfield"}},variants:{error:{true:{"&:focus-within":{border:"none"},border:"1px solid $red400","&::after":{...zg,background:`url(${E4}) no-repeat 50% 50%`}}},info:{true:{"&:focus-within":{border:"none"},"&::after":{mask:`url(${a3}) no-repeat 50% 50%`,"-webkit-mask":`url(${a3}) no-repeat 50% 50%`,backgroundColor:"$blue500",...zg},border:"1px solid $blue500"}},disabled:{true:{border:"1px solid $grayscale200",color:"$neutral200"}},valid:{true:{position:"relative","&::after":{mask:`url(${z8}) no-repeat 50% 50%`,"-webkit-mask":`url(${z8}) no-repeat 50% 50%`,backgroundColor:"$green200",...zg}}},hidden:{true:{visibility:"hidden"}},loading:{true:{position:"relative",["& .spinner svg"]:{stroke:"$blue500",marginRight:"0.5rem"}}}}}),$4=h.forwardRef((e,t)=>{const{children:n,...r}=e;return e.loading?v.jsx(q8,{ref:t,...r,loading:!0,children:v.jsxs(v.Fragment,{children:[n,v.jsx(Kc,{})]})}):v.jsx(q8,{ref:t,...e})});$4.displayName="FormInput";const gte=H(_e,{...bA,variants:{error:{true:{borderColor:"$red400",svg:{display:"none"},"&::after":{background:`url(${E4}) no-repeat 50% 50%`,width:"1.6rem",height:"1.6rem",display:"inline-block",content:""}}},disabled:{true:{border:"1px solid $neutral300",color:"$neutral300",cursor:"default"}}}}),Co={ready:"ready",readyToCommit:"readyToCommit",committed:"committed",merged:"merged",canceled:"canceled"},vte=H(_e,{borderRadius:"$small",boxShadow:"$card",textAlign:"center",fontWeight:"$bold",color:"white",fontSize:"$xsmall",padding:"0.4rem 1.6rem",transition:"background-color 0.2s ease-in-out",variants:{state:{[Co.ready]:{backgroundColor:"$turquoise650"},[Co.readyToCommit]:{backgroundColor:"$green200"},[Co.committed]:{backgroundColor:"$turquoise500"},[Co.merged]:{backgroundColor:"$blue400"},[Co.canceled]:{backgroundColor:"$red250"}}}}),yte={[Co.ready]:"Ready",[Co.readyToCommit]:"Ready to Commit",[Co.committed]:"Committed",[Co.merged]:"Merged",[Co.canceled]:"Canceled"},bte=X.forwardRef((e,t)=>{const{state:n}=e;return v.jsx(vte,{...e,ref:t,children:yte[n]})});bte.displayName="FixState";const K8=["http","https","mailto","tel"];function wte(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let o=-1;for(;++oo||(o=t.indexOf("#"),o!==-1&&r>o)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var xte=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const wA=xte;function sd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Y8(e.position):"start"in e||"end"in e?Y8(e):"line"in e||"column"in e?c3(e):""}function c3(e){return Q8(e&&e.line)+":"+Q8(e&&e.column)}function Y8(e){return c3(e&&e.start)+"-"+c3(e&&e.end)}function Q8(e){return e&&typeof e=="number"?e:1}class zr extends Error{constructor(t,n,r){const o=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?o[1]=r:(o[0]=r.slice(0,a),o[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(i=n.position):"start"in n||"end"in n?i=n:("line"in n||"column"in n)&&(i.start=n)),this.name=sd(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=o[0],this.ruleId=o[1],this.file,this.actual,this.expected,this.url,this.note}}zr.prototype.file="";zr.prototype.name="";zr.prototype.reason="";zr.prototype.message="";zr.prototype.stack="";zr.prototype.fatal=null;zr.prototype.column=null;zr.prototype.line=null;zr.prototype.source=null;zr.prototype.ruleId=null;zr.prototype.position=null;const yo={basename:Ste,dirname:Ete,extname:_te,join:Cte,sep:"/"};function Ste(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Of(e);let n=0,r=-1,o=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else a<0&&(i=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(r=o):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Ete(e){if(Of(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function _te(e){Of(e);let t=e.length,n=-1,r=0,o=-1,i=0,a;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function Cte(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function $te(e,t){let n="",r=0,o=-1,i=0,a=-1,s,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),o=a,i=0;continue}}else if(n.length>0){n="",r=0,o=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),r=a-o-1;o=a,i=0}else s===46&&i>-1?i++:i=-1}return n}function Of(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Tte={cwd:Ate};function Ate(){return"/"}function u3(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Rte(e){if(typeof e=="string")e=new URL(e);else if(!u3(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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Fte(e)}function Fte(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||E0.call(t,o)},i7=function(t,n){t7&&n.name==="__proto__"?t7(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},a7=function(t,n){if(n==="__proto__")if(E0.call(t,n)){if(n7)return n7(t,n).value}else return;return t[n]},s7=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(o);try{l=e.apply(this,a)}catch(c){const u=c;if(s&&n)throw u;return o(u)}s||(l instanceof Promise?l.then(i,o):l instanceof Error?o(l):i(l))}function o(a,...s){n||(n=!0,t(a,...s))}function i(a){o(null,a)}}const jte=_A().freeze(),EA={}.hasOwnProperty;function _A(){const e=Pte(),t=[];let n={},r,o=-1;return i.data=a,i.Parser=void 0,i.Compiler=void 0,i.freeze=s,i.attachers=t,i.use=l,i.parse=c,i.stringify=u,i.run=d,i.runSync=f,i.process=p,i.processSync=m,i;function i(){const g=_A();let w=-1;for(;++w{if(E||!C||!k)_(E);else{const I=i.stringify(C,k);I==null||(Lte(I)?k.value=I:k.result=I),_(E,k)}});function _(E,C){E||!C?x(E):b?b(C):w(null,C)}}}function m(g){let w;i.freeze(),Wg("processSync",i.Parser),Zg("processSync",i.Compiler);const y=$u(g);return i.process(y,b),u7("processSync","process",w),y;function b(x){w=!0,e7(x)}}}function l7(e,t){return typeof e=="function"&&e.prototype&&(Dte(e.prototype)||t in e.prototype)}function Dte(e){let t;for(t in e)if(EA.call(e,t))return!0;return!1}function Wg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Zg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Gg(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 c7(e){if(!d3(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function u7(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $u(e){return Mte(e)?e:new xA(e)}function Mte(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Lte(e){return typeof e=="string"||wA(e)}function Nte(e,t){const n=(t||{}).includeImageAlt;return CA(e,typeof n=="boolean"?n:!0)}function CA(e,t){return Bte(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&d7(e.children,t))||Array.isArray(e)&&d7(e,t)||""}function d7(e,t){const n=[];let r=-1;for(;++ro?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);i0?(zo(e,e.length,0,t),e):t}const f7={}.hasOwnProperty;function zte(e){const t={};let n=-1;for(;++na))return;const C=t.events.length;let k=C,I,j;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){if(I){j=t.events[k][1].end;break}I=!0}for(y(r),E=C;Ex;){const _=n[S];t.containerState=_[1],_[0].exit.call(t,e)}n.length=x}function b(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Jte(e,t,n){return it(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function m7(e){if(e===null||Or(e)||Gte(e))return 1;if(Xte(e))return 2}function T4(e,t,n){const r=[];let o=-1;for(;++o1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);g7(d,-l),g7(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Tr(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Tr(c,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=Tr(c,T4(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Tr(c,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=Tr(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,zo(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n=4?a(c):n(c)}function a(c){return c===null?l(c):$e(c)?e.attempt(dne,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||$e(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function pne(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):$e(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):it(e,i,"linePrefix",4+1)(a)}function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):$e(a)?o(a):n(a)}}const hne={name:"codeText",tokenize:vne,resolve:mne,previous:gne};function mne(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function RA(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(y){return y===60?(e.enter(r),e.enter(o),e.enter(i),e.consume(y),e.exit(i),f):y===null||y===41||p3(y)?n(y):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(y))}function f(y){return y===62?(e.enter(i),e.consume(y),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(s),f(y)):y===null||y===60||$e(y)?n(y):(e.consume(y),y===92?m:p)}function m(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function g(y){return y===40?++u>c?n(y):(e.consume(y),g):y===41?u--?(e.consume(y),g):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(y)):y===null||Or(y)?u?n(y):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(y)):p3(y)?n(y):(e.consume(y),y===92?w:g)}function w(y){return y===40||y===41||y===92?(e.consume(y),g):g(y)}}function FA(e,t,n,r,o,i){const a=this;let s=0,l;return c;function c(p){return e.enter(r),e.enter(o),e.consume(p),e.exit(o),e.enter(i),u}function u(p){return p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs||s>999?n(p):p===93?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):$e(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||$e(p)||s++>999?(e.exit("chunkString"),u(p)):(e.consume(p),l=l||!Ut(p),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function IA(e,t,n,r,o,i){let a;return s;function s(f){return e.enter(r),e.enter(o),e.consume(f),e.exit(o),a=f===40?41:f,l}function l(f){return f===a?(e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):(e.enter(i),c(f))}function c(f){return f===a?(e.exit(i),l(a)):f===null?n(f):$e(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),it(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===a||f===null||$e(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===a||f===92?(e.consume(f),u):u(f)}}function ld(e,t){let n;return r;function r(o){return $e(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Ut(o)?it(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function oc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _ne={name:"definition",tokenize:kne},Cne={tokenize:$ne,partial:!0};function kne(e,t,n){const r=this;let o;return i;function i(l){return e.enter("definition"),FA.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function a(l){return o=oc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),ld(e,RA(e,e.attempt(Cne,it(e,s,"whitespace"),it(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||$e(l)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(l)):n(l)}}function $ne(e,t,n){return r;function r(a){return Or(a)?ld(e,o)(a):n(a)}function o(a){return a===34||a===39||a===40?IA(e,it(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a):n(a)}function i(a){return a===null||$e(a)?t(a):n(a)}}const Tne={name:"hardBreakEscape",tokenize:Ane};function Ane(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(i),o}function o(i){return $e(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}const Rne={name:"headingAtx",tokenize:Ine,resolve:Fne};function Fne(e,t){let n=e.length-2,r=3,o,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},zo(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])),e}function Ine(e,t,n){const r=this;let o=0;return i;function i(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&o++<6?(e.consume(u),a):u===null||Or(u)?(e.exit("atxHeadingSequence"),r.interrupt?t(u):s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||$e(u)?(e.exit("atxHeading"),t(u)):Ut(u)?it(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||Or(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const Pne=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],b7=["pre","script","style","textarea"],One={name:"htmlFlow",tokenize:Mne,resolveTo:Dne,concrete:!0},jne={tokenize:Lne,partial:!0};function Dne(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function Mne(e,t,n){const r=this;let o,i,a,s,l;return c;function c(F){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(F),u}function u(F){return F===33?(e.consume(F),d):F===47?(e.consume(F),m):F===63?(e.consume(F),o=3,r.interrupt?t:N):ko(F)?(e.consume(F),a=String.fromCharCode(F),i=!0,g):n(F)}function d(F){return F===45?(e.consume(F),o=2,f):F===91?(e.consume(F),o=5,a="CDATA[",s=0,p):ko(F)?(e.consume(F),o=4,r.interrupt?t:N):n(F)}function f(F){return F===45?(e.consume(F),r.interrupt?t:N):n(F)}function p(F){return F===a.charCodeAt(s++)?(e.consume(F),s===a.length?r.interrupt?t:$:p):n(F)}function m(F){return ko(F)?(e.consume(F),a=String.fromCharCode(F),g):n(F)}function g(F){return F===null||F===47||F===62||Or(F)?F!==47&&i&&b7.includes(a.toLowerCase())?(o=1,r.interrupt?t(F):$(F)):Pne.includes(a.toLowerCase())?(o=6,F===47?(e.consume(F),w):r.interrupt?t(F):$(F)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):i?b(F):y(F)):F===45||hr(F)?(e.consume(F),a+=String.fromCharCode(F),g):n(F)}function w(F){return F===62?(e.consume(F),r.interrupt?t:$):n(F)}function y(F){return Ut(F)?(e.consume(F),y):I(F)}function b(F){return F===47?(e.consume(F),I):F===58||F===95||ko(F)?(e.consume(F),x):Ut(F)?(e.consume(F),b):I(F)}function x(F){return F===45||F===46||F===58||F===95||hr(F)?(e.consume(F),x):S(F)}function S(F){return F===61?(e.consume(F),_):Ut(F)?(e.consume(F),S):b(F)}function _(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),l=F,E):Ut(F)?(e.consume(F),_):(l=null,C(F))}function E(F){return F===null||$e(F)?n(F):F===l?(e.consume(F),k):(e.consume(F),E)}function C(F){return F===null||F===34||F===39||F===60||F===61||F===62||F===96||Or(F)?S(F):(e.consume(F),C)}function k(F){return F===47||F===62||Ut(F)?b(F):n(F)}function I(F){return F===62?(e.consume(F),j):n(F)}function j(F){return Ut(F)?(e.consume(F),j):F===null||$e(F)?$(F):n(F)}function $(F){return F===45&&o===2?(e.consume(F),M):F===60&&o===1?(e.consume(F),z):F===62&&o===4?(e.consume(F),L):F===63&&o===3?(e.consume(F),N):F===93&&o===5?(e.consume(F),O):$e(F)&&(o===6||o===7)?e.check(jne,L,P)(F):F===null||$e(F)?P(F):(e.consume(F),$)}function P(F){return e.exit("htmlFlowData"),B(F)}function B(F){return F===null?T(F):$e(F)?e.attempt({tokenize:R,partial:!0},B,T)(F):(e.enter("htmlFlowData"),$(F))}function R(F,ae,ie){return de;function de(me){return F.enter("lineEnding"),F.consume(me),F.exit("lineEnding"),ne}function ne(me){return r.parser.lazy[r.now().line]?ie(me):ae(me)}}function M(F){return F===45?(e.consume(F),N):$(F)}function z(F){return F===47?(e.consume(F),a="",K):$(F)}function K(F){return F===62&&b7.includes(a.toLowerCase())?(e.consume(F),L):ko(F)&&a.length<8?(e.consume(F),a+=String.fromCharCode(F),K):$(F)}function O(F){return F===93?(e.consume(F),N):$(F)}function N(F){return F===62?(e.consume(F),L):F===45&&o===2?(e.consume(F),N):$(F)}function L(F){return F===null||$e(F)?(e.exit("htmlFlowData"),T(F)):(e.consume(F),L)}function T(F){return e.exit("htmlFlow"),t(F)}}function Lne(e,t,n){return r;function r(o){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),e.attempt(Hh,t,n)}}const Nne={name:"htmlText",tokenize:Bne};function Bne(e,t,n){const r=this;let o,i,a,s;return l;function l(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),c}function c(T){return T===33?(e.consume(T),u):T===47?(e.consume(T),C):T===63?(e.consume(T),_):ko(T)?(e.consume(T),j):n(T)}function u(T){return T===45?(e.consume(T),d):T===91?(e.consume(T),i="CDATA[",a=0,w):ko(T)?(e.consume(T),S):n(T)}function d(T){return T===45?(e.consume(T),f):n(T)}function f(T){return T===null||T===62?n(T):T===45?(e.consume(T),p):m(T)}function p(T){return T===null||T===62?n(T):m(T)}function m(T){return T===null?n(T):T===45?(e.consume(T),g):$e(T)?(s=m,O(T)):(e.consume(T),m)}function g(T){return T===45?(e.consume(T),L):m(T)}function w(T){return T===i.charCodeAt(a++)?(e.consume(T),a===i.length?y:w):n(T)}function y(T){return T===null?n(T):T===93?(e.consume(T),b):$e(T)?(s=y,O(T)):(e.consume(T),y)}function b(T){return T===93?(e.consume(T),x):y(T)}function x(T){return T===62?L(T):T===93?(e.consume(T),x):y(T)}function S(T){return T===null||T===62?L(T):$e(T)?(s=S,O(T)):(e.consume(T),S)}function _(T){return T===null?n(T):T===63?(e.consume(T),E):$e(T)?(s=_,O(T)):(e.consume(T),_)}function E(T){return T===62?L(T):_(T)}function C(T){return ko(T)?(e.consume(T),k):n(T)}function k(T){return T===45||hr(T)?(e.consume(T),k):I(T)}function I(T){return $e(T)?(s=I,O(T)):Ut(T)?(e.consume(T),I):L(T)}function j(T){return T===45||hr(T)?(e.consume(T),j):T===47||T===62||Or(T)?$(T):n(T)}function $(T){return T===47?(e.consume(T),L):T===58||T===95||ko(T)?(e.consume(T),P):$e(T)?(s=$,O(T)):Ut(T)?(e.consume(T),$):L(T)}function P(T){return T===45||T===46||T===58||T===95||hr(T)?(e.consume(T),P):B(T)}function B(T){return T===61?(e.consume(T),R):$e(T)?(s=B,O(T)):Ut(T)?(e.consume(T),B):$(T)}function R(T){return T===null||T===60||T===61||T===62||T===96?n(T):T===34||T===39?(e.consume(T),o=T,M):$e(T)?(s=R,O(T)):Ut(T)?(e.consume(T),R):(e.consume(T),o=void 0,K)}function M(T){return T===o?(e.consume(T),z):T===null?n(T):$e(T)?(s=M,O(T)):(e.consume(T),M)}function z(T){return T===62||T===47||Or(T)?$(T):n(T)}function K(T){return T===null||T===34||T===39||T===60||T===61||T===96?n(T):T===62||Or(T)?$(T):(e.consume(T),K)}function O(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),it(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function N(T){return e.enter("htmlTextData"),s(T)}function L(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),t):n(T)}}const R4={name:"labelEnd",tokenize:Zne,resolveTo:Wne,resolveAll:Vne},zne={tokenize:Gne},Une={tokenize:Xne},Hne={tokenize:qne};function Vne(e){let t=-1,n;for(;++t-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i))),a}function bre(e,t){let n=-1;const r=[];let o;for(;++ne.length){for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else a<0&&(i=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(r=o):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Ete(e){if(Of(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function _te(e){Of(e);let t=e.length,n=-1,r=0,o=-1,i=0,a;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function Cte(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function $te(e,t){let n="",r=0,o=-1,i=0,a=-1,s,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),o=a,i=0;continue}}else if(n.length>0){n="",r=0,o=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),r=a-o-1;o=a,i=0}else s===46&&i>-1?i++:i=-1}return n}function Of(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Tte={cwd:Ate};function Ate(){return"/"}function u3(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Rte(e){if(typeof e=="string")e=new URL(e);else if(!u3(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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Fte(e)}function Fte(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||Ep.call(t,o)},i7=function(t,n){t7&&n.name==="__proto__"?t7(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},a7=function(t,n){if(n==="__proto__")if(Ep.call(t,n)){if(n7)return n7(t,n).value}else return;return t[n]},s7=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(o);try{l=e.apply(this,a)}catch(c){const u=c;if(s&&n)throw u;return o(u)}s||(l instanceof Promise?l.then(i,o):l instanceof Error?o(l):i(l))}function o(a,...s){n||(n=!0,t(a,...s))}function i(a){o(null,a)}}const jte=_A().freeze(),EA={}.hasOwnProperty;function _A(){const e=Pte(),t=[];let n={},r,o=-1;return i.data=a,i.Parser=void 0,i.Compiler=void 0,i.freeze=s,i.attachers=t,i.use=l,i.parse=c,i.stringify=u,i.run=d,i.runSync=f,i.process=p,i.processSync=m,i;function i(){const g=_A();let w=-1;for(;++w{if(E||!C||!k)_(E);else{const I=i.stringify(C,k);I==null||(Lte(I)?k.value=I:k.result=I),_(E,k)}});function _(E,C){E||!C?x(E):b?b(C):w(null,C)}}}function m(g){let w;i.freeze(),Wg("processSync",i.Parser),Zg("processSync",i.Compiler);const y=$u(g);return i.process(y,b),u7("processSync","process",w),y;function b(x){w=!0,e7(x)}}}function l7(e,t){return typeof e=="function"&&e.prototype&&(Dte(e.prototype)||t in e.prototype)}function Dte(e){let t;for(t in e)if(EA.call(e,t))return!0;return!1}function Wg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Zg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Gg(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 c7(e){if(!d3(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function u7(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $u(e){return Mte(e)?e:new xA(e)}function Mte(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Lte(e){return typeof e=="string"||wA(e)}function Nte(e,t){const n=(t||{}).includeImageAlt;return CA(e,typeof n=="boolean"?n:!0)}function CA(e,t){return Bte(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&d7(e.children,t))||Array.isArray(e)&&d7(e,t)||""}function d7(e,t){const n=[];let r=-1;for(;++ro?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);i0?(zo(e,e.length,0,t),e):t}const f7={}.hasOwnProperty;function zte(e){const t={};let n=-1;for(;++na))return;const C=t.events.length;let k=C,I,j;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){if(I){j=t.events[k][1].end;break}I=!0}for(y(r),E=C;Ex;){const _=n[S];t.containerState=_[1],_[0].exit.call(t,e)}n.length=x}function b(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Jte(e,t,n){return it(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function m7(e){if(e===null||Or(e)||Gte(e))return 1;if(Xte(e))return 2}function T4(e,t,n){const r=[];let o=-1;for(;++o1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);g7(d,-l),g7(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Tr(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Tr(c,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=Tr(c,T4(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Tr(c,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=Tr(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,zo(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n=4?a(c):n(c)}function a(c){return c===null?l(c):ke(c)?e.attempt(dne,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||ke(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function pne(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):ke(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):it(e,i,"linePrefix",4+1)(a)}function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):ke(a)?o(a):n(a)}}const hne={name:"codeText",tokenize:vne,resolve:mne,previous:gne};function mne(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function RA(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(y){return y===60?(e.enter(r),e.enter(o),e.enter(i),e.consume(y),e.exit(i),f):y===null||y===41||p3(y)?n(y):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(y))}function f(y){return y===62?(e.enter(i),e.consume(y),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(s),f(y)):y===null||y===60||ke(y)?n(y):(e.consume(y),y===92?m:p)}function m(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function g(y){return y===40?++u>c?n(y):(e.consume(y),g):y===41?u--?(e.consume(y),g):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(y)):y===null||Or(y)?u?n(y):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(y)):p3(y)?n(y):(e.consume(y),y===92?w:g)}function w(y){return y===40||y===41||y===92?(e.consume(y),g):g(y)}}function FA(e,t,n,r,o,i){const a=this;let s=0,l;return c;function c(p){return e.enter(r),e.enter(o),e.consume(p),e.exit(o),e.enter(i),u}function u(p){return p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs||s>999?n(p):p===93?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):ke(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||ke(p)||s++>999?(e.exit("chunkString"),u(p)):(e.consume(p),l=l||!Ut(p),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function IA(e,t,n,r,o,i){let a;return s;function s(f){return e.enter(r),e.enter(o),e.consume(f),e.exit(o),a=f===40?41:f,l}function l(f){return f===a?(e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):(e.enter(i),c(f))}function c(f){return f===a?(e.exit(i),l(a)):f===null?n(f):ke(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),it(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===a||f===null||ke(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===a||f===92?(e.consume(f),u):u(f)}}function ld(e,t){let n;return r;function r(o){return ke(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Ut(o)?it(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function oc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _ne={name:"definition",tokenize:kne},Cne={tokenize:$ne,partial:!0};function kne(e,t,n){const r=this;let o;return i;function i(l){return e.enter("definition"),FA.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function a(l){return o=oc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),ld(e,RA(e,e.attempt(Cne,it(e,s,"whitespace"),it(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||ke(l)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(l)):n(l)}}function $ne(e,t,n){return r;function r(a){return Or(a)?ld(e,o)(a):n(a)}function o(a){return a===34||a===39||a===40?IA(e,it(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a):n(a)}function i(a){return a===null||ke(a)?t(a):n(a)}}const Tne={name:"hardBreakEscape",tokenize:Ane};function Ane(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(i),o}function o(i){return ke(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}const Rne={name:"headingAtx",tokenize:Ine,resolve:Fne};function Fne(e,t){let n=e.length-2,r=3,o,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},zo(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])),e}function Ine(e,t,n){const r=this;let o=0;return i;function i(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&o++<6?(e.consume(u),a):u===null||Or(u)?(e.exit("atxHeadingSequence"),r.interrupt?t(u):s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||ke(u)?(e.exit("atxHeading"),t(u)):Ut(u)?it(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||Or(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const Pne=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],b7=["pre","script","style","textarea"],One={name:"htmlFlow",tokenize:Mne,resolveTo:Dne,concrete:!0},jne={tokenize:Lne,partial:!0};function Dne(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function Mne(e,t,n){const r=this;let o,i,a,s,l;return c;function c(F){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(F),u}function u(F){return F===33?(e.consume(F),d):F===47?(e.consume(F),m):F===63?(e.consume(F),o=3,r.interrupt?t:N):ko(F)?(e.consume(F),a=String.fromCharCode(F),i=!0,g):n(F)}function d(F){return F===45?(e.consume(F),o=2,f):F===91?(e.consume(F),o=5,a="CDATA[",s=0,p):ko(F)?(e.consume(F),o=4,r.interrupt?t:N):n(F)}function f(F){return F===45?(e.consume(F),r.interrupt?t:N):n(F)}function p(F){return F===a.charCodeAt(s++)?(e.consume(F),s===a.length?r.interrupt?t:$:p):n(F)}function m(F){return ko(F)?(e.consume(F),a=String.fromCharCode(F),g):n(F)}function g(F){return F===null||F===47||F===62||Or(F)?F!==47&&i&&b7.includes(a.toLowerCase())?(o=1,r.interrupt?t(F):$(F)):Pne.includes(a.toLowerCase())?(o=6,F===47?(e.consume(F),w):r.interrupt?t(F):$(F)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):i?b(F):y(F)):F===45||hr(F)?(e.consume(F),a+=String.fromCharCode(F),g):n(F)}function w(F){return F===62?(e.consume(F),r.interrupt?t:$):n(F)}function y(F){return Ut(F)?(e.consume(F),y):I(F)}function b(F){return F===47?(e.consume(F),I):F===58||F===95||ko(F)?(e.consume(F),x):Ut(F)?(e.consume(F),b):I(F)}function x(F){return F===45||F===46||F===58||F===95||hr(F)?(e.consume(F),x):S(F)}function S(F){return F===61?(e.consume(F),_):Ut(F)?(e.consume(F),S):b(F)}function _(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),l=F,E):Ut(F)?(e.consume(F),_):(l=null,C(F))}function E(F){return F===null||ke(F)?n(F):F===l?(e.consume(F),k):(e.consume(F),E)}function C(F){return F===null||F===34||F===39||F===60||F===61||F===62||F===96||Or(F)?S(F):(e.consume(F),C)}function k(F){return F===47||F===62||Ut(F)?b(F):n(F)}function I(F){return F===62?(e.consume(F),j):n(F)}function j(F){return Ut(F)?(e.consume(F),j):F===null||ke(F)?$(F):n(F)}function $(F){return F===45&&o===2?(e.consume(F),M):F===60&&o===1?(e.consume(F),z):F===62&&o===4?(e.consume(F),L):F===63&&o===3?(e.consume(F),N):F===93&&o===5?(e.consume(F),O):ke(F)&&(o===6||o===7)?e.check(jne,L,P)(F):F===null||ke(F)?P(F):(e.consume(F),$)}function P(F){return e.exit("htmlFlowData"),B(F)}function B(F){return F===null?T(F):ke(F)?e.attempt({tokenize:R,partial:!0},B,T)(F):(e.enter("htmlFlowData"),$(F))}function R(F,ae,ie){return de;function de(me){return F.enter("lineEnding"),F.consume(me),F.exit("lineEnding"),ne}function ne(me){return r.parser.lazy[r.now().line]?ie(me):ae(me)}}function M(F){return F===45?(e.consume(F),N):$(F)}function z(F){return F===47?(e.consume(F),a="",K):$(F)}function K(F){return F===62&&b7.includes(a.toLowerCase())?(e.consume(F),L):ko(F)&&a.length<8?(e.consume(F),a+=String.fromCharCode(F),K):$(F)}function O(F){return F===93?(e.consume(F),N):$(F)}function N(F){return F===62?(e.consume(F),L):F===45&&o===2?(e.consume(F),N):$(F)}function L(F){return F===null||ke(F)?(e.exit("htmlFlowData"),T(F)):(e.consume(F),L)}function T(F){return e.exit("htmlFlow"),t(F)}}function Lne(e,t,n){return r;function r(o){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),e.attempt(Hh,t,n)}}const Nne={name:"htmlText",tokenize:Bne};function Bne(e,t,n){const r=this;let o,i,a,s;return l;function l(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),c}function c(T){return T===33?(e.consume(T),u):T===47?(e.consume(T),C):T===63?(e.consume(T),_):ko(T)?(e.consume(T),j):n(T)}function u(T){return T===45?(e.consume(T),d):T===91?(e.consume(T),i="CDATA[",a=0,w):ko(T)?(e.consume(T),S):n(T)}function d(T){return T===45?(e.consume(T),f):n(T)}function f(T){return T===null||T===62?n(T):T===45?(e.consume(T),p):m(T)}function p(T){return T===null||T===62?n(T):m(T)}function m(T){return T===null?n(T):T===45?(e.consume(T),g):ke(T)?(s=m,O(T)):(e.consume(T),m)}function g(T){return T===45?(e.consume(T),L):m(T)}function w(T){return T===i.charCodeAt(a++)?(e.consume(T),a===i.length?y:w):n(T)}function y(T){return T===null?n(T):T===93?(e.consume(T),b):ke(T)?(s=y,O(T)):(e.consume(T),y)}function b(T){return T===93?(e.consume(T),x):y(T)}function x(T){return T===62?L(T):T===93?(e.consume(T),x):y(T)}function S(T){return T===null||T===62?L(T):ke(T)?(s=S,O(T)):(e.consume(T),S)}function _(T){return T===null?n(T):T===63?(e.consume(T),E):ke(T)?(s=_,O(T)):(e.consume(T),_)}function E(T){return T===62?L(T):_(T)}function C(T){return ko(T)?(e.consume(T),k):n(T)}function k(T){return T===45||hr(T)?(e.consume(T),k):I(T)}function I(T){return ke(T)?(s=I,O(T)):Ut(T)?(e.consume(T),I):L(T)}function j(T){return T===45||hr(T)?(e.consume(T),j):T===47||T===62||Or(T)?$(T):n(T)}function $(T){return T===47?(e.consume(T),L):T===58||T===95||ko(T)?(e.consume(T),P):ke(T)?(s=$,O(T)):Ut(T)?(e.consume(T),$):L(T)}function P(T){return T===45||T===46||T===58||T===95||hr(T)?(e.consume(T),P):B(T)}function B(T){return T===61?(e.consume(T),R):ke(T)?(s=B,O(T)):Ut(T)?(e.consume(T),B):$(T)}function R(T){return T===null||T===60||T===61||T===62||T===96?n(T):T===34||T===39?(e.consume(T),o=T,M):ke(T)?(s=R,O(T)):Ut(T)?(e.consume(T),R):(e.consume(T),o=void 0,K)}function M(T){return T===o?(e.consume(T),z):T===null?n(T):ke(T)?(s=M,O(T)):(e.consume(T),M)}function z(T){return T===62||T===47||Or(T)?$(T):n(T)}function K(T){return T===null||T===34||T===39||T===60||T===61||T===96?n(T):T===62||Or(T)?$(T):(e.consume(T),K)}function O(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),it(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function N(T){return e.enter("htmlTextData"),s(T)}function L(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),t):n(T)}}const R4={name:"labelEnd",tokenize:Zne,resolveTo:Wne,resolveAll:Vne},zne={tokenize:Gne},Une={tokenize:Xne},Hne={tokenize:qne};function Vne(e){let t=-1,n;for(;++t-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i))),a}function bre(e,t){let n=-1;const r=[];let o;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const Pre=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ore(e){return e.replace(Pre,jre)}function jre(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return jA(n.slice(i?2:1),i?16:10)}return A4(n)||e}const DA={}.hasOwnProperty,Dre=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Mre(n)(Ire(Rre(n).document().write(Fre()(e,t,!0))))};function Mre(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(se),autolinkProtocol:$,autolinkEmail:$,atxHeading:s(Z),blockQuote:s(wt),characterEscape:$,characterReference:$,codeFenced:s(Rt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Rt,l),codeText:s(Zt,l),codeTextData:$,data:$,codeFlowValue:$,definition:s(D),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(U),hardBreakEscape:s(Y),hardBreakTrailing:s(Y),htmlFlow:s(re,l),htmlFlowData:$,htmlText:s(re,l),htmlTextData:$,image:s(G),label:l,link:s(se),listItem:s(at),listItemValue:m,listOrdered:s(He,p),listUnordered:s(He),paragraph:s(Qf),reference:de,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(Z),strong:s(sr),thematicBreak:s(Wr)},exit:{atxHeading:u(),atxHeadingSequence:C,autolink:u(),autolinkEmail:Qe,autolinkProtocol:Ae,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ye,codeFenced:u(b),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:w,codeFlowValue:P,codeIndented:u(x),codeText:u(K),codeTextData:P,data:P,definition:u(),definitionDestinationString:E,definitionLabelString:S,definitionTitleString:_,emphasis:u(),hardBreakEscape:u(R),hardBreakTrailing:u(R),htmlFlow:u(M),htmlFlowData:P,htmlText:u(z),htmlTextData:P,image:u(N),label:T,labelText:L,lineEnding:B,link:u(O),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ne,resourceDestinationString:F,resourceTitleString:ae,resource:ie,setextHeading:u(j),setextHeadingLineSequence:I,setextHeadingText:k,strong:u(),thematicBreak:u()}};MA(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(V){let ee={type:"root",children:[]};const be={stack:[ee],tokenStack:[],config:t,enter:c,exit:d,buffer:l,resume:f,setData:i,getData:a},Ge=[];let ot=-1;for(;++ot0){const Zr=be.tokenStack[be.tokenStack.length-1];(Zr[1]||S7).call(be,void 0,Zr[0])}for(ee.position={start:zi(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:zi(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},ot=-1;++ot{const r=this.data("settings");return Dre(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Bre(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)}function zre(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(i)}o=i===-2,r.push(a)}return r.join("")}const wre={[42]:Bn,[43]:Bn,[45]:Bn,[48]:Bn,[49]:Bn,[50]:Bn,[51]:Bn,[52]:Bn,[53]:Bn,[54]:Bn,[55]:Bn,[56]:Bn,[57]:Bn,[62]:kA},xre={[91]:_ne},Sre={[-2]:Xg,[-1]:Xg,[32]:Xg},Ere={[35]:Rne,[42]:_p,[45]:[w7,_p],[60]:One,[61]:w7,[95]:_p,[96]:y7,[126]:y7},_re={[38]:TA,[92]:$A},Cre={[-5]:qg,[-4]:qg,[-3]:qg,[33]:Kne,[38]:TA,[42]:h3,[60]:[nne,Nne],[91]:Qne,[92]:[Tne,$A],[93]:R4,[95]:h3,[96]:hne},kre={null:[h3,pre]},$re={null:[42,95]},Tre={null:[]},Are=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:$re,contentInitial:xre,disable:Tre,document:wre,flow:Ere,flowInitial:Sre,insideSpan:kre,string:_re,text:Cre},Symbol.toStringTag,{value:"Module"}));function Rre(e={}){const t=zte([Are].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(qte),document:r(Yte),flow:r(dre),string:r(hre),text:r(mre)};return n;function r(o){return i;function i(a){return vre(n,o,a)}}}const x7=/[\0\t\n\r]/g;function Fre(){let e=1,t="",n=!0,r;return o;function o(i,a,s){const l=[];let c,u,d,f,p;for(i=t+i.toString(a),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const Pre=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ore(e){return e.replace(Pre,jre)}function jre(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return jA(n.slice(i?2:1),i?16:10)}return A4(n)||e}const DA={}.hasOwnProperty,Dre=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Mre(n)(Ire(Rre(n).document().write(Fre()(e,t,!0))))};function Mre(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(se),autolinkProtocol:$,autolinkEmail:$,atxHeading:s(Z),blockQuote:s(wt),characterEscape:$,characterReference:$,codeFenced:s(Rt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Rt,l),codeText:s(Zt,l),codeTextData:$,data:$,codeFlowValue:$,definition:s(D),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(U),hardBreakEscape:s(Y),hardBreakTrailing:s(Y),htmlFlow:s(re,l),htmlFlowData:$,htmlText:s(re,l),htmlTextData:$,image:s(G),label:l,link:s(se),listItem:s(at),listItemValue:m,listOrdered:s(He,p),listUnordered:s(He),paragraph:s(Qf),reference:de,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(Z),strong:s(sr),thematicBreak:s(Wr)},exit:{atxHeading:u(),atxHeadingSequence:C,autolink:u(),autolinkEmail:Qe,autolinkProtocol:Te,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ye,codeFenced:u(b),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:w,codeFlowValue:P,codeIndented:u(x),codeText:u(K),codeTextData:P,data:P,definition:u(),definitionDestinationString:E,definitionLabelString:S,definitionTitleString:_,emphasis:u(),hardBreakEscape:u(R),hardBreakTrailing:u(R),htmlFlow:u(M),htmlFlowData:P,htmlText:u(z),htmlTextData:P,image:u(N),label:T,labelText:L,lineEnding:B,link:u(O),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ne,resourceDestinationString:F,resourceTitleString:ae,resource:ie,setextHeading:u(j),setextHeadingLineSequence:I,setextHeadingText:k,strong:u(),thematicBreak:u()}};MA(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(V){let ee={type:"root",children:[]};const be={stack:[ee],tokenStack:[],config:t,enter:c,exit:d,buffer:l,resume:f,setData:i,getData:a},Ge=[];let ot=-1;for(;++ot0){const Zr=be.tokenStack[be.tokenStack.length-1];(Zr[1]||S7).call(be,void 0,Zr[0])}for(ee.position={start:zi(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:zi(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},ot=-1;++ot{const r=this.data("settings");return Dre(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Bre(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)}function zre(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` `}]}function Ure(e,t){const n=t.value?t.value+` `:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,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}function Hre(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vre(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jc(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(a=String.fromCharCode(i,s),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function LA(e,t){const n=String(t.identifier).toUpperCase(),r=Jc(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;o===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function Wre(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},LA(e,{type:"footnoteReference",identifier:o,position:t.position})}function Zre(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gre(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function NA(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function Xre(e,t){const n=e.definition(t.identifier);if(!n)return NA(e,t);const r={src:Jc(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}function qre(e,t){const n={src:Jc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Kre(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)}function Yre(e,t){const n=e.definition(t.identifier);if(!n)return NA(e,t);const r={href:Jc(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Qre(e,t){const n={href:Jc(t.url)};t.title!==null&&t.title!==void 0&&(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)}function Jre(e,t,n){const r=e.all(t),o=n?eoe(n):BA(t),i={},a=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s1}function toe(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o-1?r.offset:null}}}function aoe(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),o.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=F4(t.children[1]),l=I4(t.children[t.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),o.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function soe(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(C7(t.slice(o),o>0,!1)),i.join("")}function C7(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===E7||i===_7;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===E7||i===_7;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function uoe(e,t){const n={type:"text",value:coe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function doe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const foe={blockquote:Bre,break:zre,code:Ure,delete:Hre,emphasis:Vre,footnoteReference:LA,footnote:Wre,heading:Zre,html:Gre,imageReference:Xre,image:qre,inlineCode:Kre,linkReference:Yre,link:Qre,listItem:Jre,list:toe,paragraph:noe,root:roe,strong:ooe,table:aoe,tableCell:loe,tableRow:soe,text:uoe,thematicBreak:doe,toml:Dp,yaml:Dp,definition:Dp,footnoteDefinition:Dp};function Dp(){return null}const UA=function(e){if(e==null)return goe;if(typeof e=="string")return moe(e);if(typeof e=="object")return Array.isArray(e)?poe(e):hoe(e);if(typeof e=="function")return Vh(e);throw new Error("Expected function, string, or object as test")};function poe(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let f=[],p,m,g;if((!t||o(s,l,c[c.length-1]||null))&&(f=woe(n(s,c)),f[0]===k7))return f;if(s.children&&f[0]!==yoe)for(m=(r?s.children.length:-1)+i,g=c.concat(s);m>-1&&m{const o=T7(r.identifier);o&&!$7.call(t,o)&&(t[o]=r)}),n;function n(r){const o=T7(r);return o&&$7.call(t,o)?t[o]:null}}function T7(e){return String(e||"").toUpperCase()}const k1={}.hasOwnProperty;function Eoe(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...foe,...n.handlers},a.definition=Soe(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=_oe,a.applyData=Coe,a.one=s,a.all=l,a.wrap=$oe,a.augment=i,P4(e,"footnoteDefinition",c=>{const u=String(c.identifier).toUpperCase();k1.call(o,u)||(o[u]=c)}),a;function i(c,u){if(c&&"data"in c&&c.data){const d=c.data;d.hName&&(u.type!=="element"&&(u={type:"element",tagName:"",properties:{},children:[]}),u.tagName=d.hName),u.type==="element"&&d.hProperties&&(u.properties={...u.properties,...d.hProperties}),"children"in u&&u.children&&d.hChildren&&(u.children=d.hChildren)}if(c){const d="type"in c?c:{position:c};xoe(d)||(u.position={start:F4(d),end:I4(d)})}return u}function a(c,u,d,f){return Array.isArray(d)&&(f=d,d={}),i(c,{type:"element",tagName:u,properties:d||{},children:f||[]})}function s(c,u){return HA(a,c,u)}function l(c){return O4(a,c)}}function _oe(e,t){e.position&&(t.position=ioe(e))}function Coe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function HA(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return k1.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:O4(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):koe(e,t)}function O4(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o1}function toe(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o-1?r.offset:null}}}function aoe(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),o.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=F4(t.children[1]),l=I4(t.children[t.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),o.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function soe(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(C7(t.slice(o),o>0,!1)),i.join("")}function C7(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===E7||i===_7;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===E7||i===_7;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function uoe(e,t){const n={type:"text",value:coe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function doe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const foe={blockquote:Bre,break:zre,code:Ure,delete:Hre,emphasis:Vre,footnoteReference:LA,footnote:Wre,heading:Zre,html:Gre,imageReference:Xre,image:qre,inlineCode:Kre,linkReference:Yre,link:Qre,listItem:Jre,list:toe,paragraph:noe,root:roe,strong:ooe,table:aoe,tableCell:loe,tableRow:soe,text:uoe,thematicBreak:doe,toml:D0,yaml:D0,definition:D0,footnoteDefinition:D0};function D0(){return null}const UA=function(e){if(e==null)return goe;if(typeof e=="string")return moe(e);if(typeof e=="object")return Array.isArray(e)?poe(e):hoe(e);if(typeof e=="function")return Vh(e);throw new Error("Expected function, string, or object as test")};function poe(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let f=[],p,m,g;if((!t||o(s,l,c[c.length-1]||null))&&(f=woe(n(s,c)),f[0]===k7))return f;if(s.children&&f[0]!==yoe)for(m=(r?s.children.length:-1)+i,g=c.concat(s);m>-1&&m{const o=T7(r.identifier);o&&!$7.call(t,o)&&(t[o]=r)}),n;function n(r){const o=T7(r);return o&&$7.call(t,o)?t[o]:null}}function T7(e){return String(e||"").toUpperCase()}const k1={}.hasOwnProperty;function Eoe(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...foe,...n.handlers},a.definition=Soe(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=_oe,a.applyData=Coe,a.one=s,a.all=l,a.wrap=$oe,a.augment=i,P4(e,"footnoteDefinition",c=>{const u=String(c.identifier).toUpperCase();k1.call(o,u)||(o[u]=c)}),a;function i(c,u){if(c&&"data"in c&&c.data){const d=c.data;d.hName&&(u.type!=="element"&&(u={type:"element",tagName:"",properties:{},children:[]}),u.tagName=d.hName),u.type==="element"&&d.hProperties&&(u.properties={...u.properties,...d.hProperties}),"children"in u&&u.children&&d.hChildren&&(u.children=d.hChildren)}if(c){const d="type"in c?c:{position:c};xoe(d)||(u.position={start:F4(d),end:I4(d)})}return u}function a(c,u,d,f){return Array.isArray(d)&&(f=d,d={}),i(c,{type:"element",tagName:u,properties:d||{},children:f||[]})}function s(c,u){return HA(a,c,u)}function l(c){return O4(a,c)}}function _oe(e,t){e.position&&(t.position=ioe(e))}function Coe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function HA(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return k1.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:O4(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):koe(e,t)}function O4(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o0&&n.push({type:"text",value:` `}),n}function Toe(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&d.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(d)}const c=o[o.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const d=c.children[c.children.length-1];d&&d.type==="text"?d.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` `}]}}function VA(e,t){const n=Eoe(e,t),r=n.one(e,null),o=Toe(n);return o&&r.children.push({type:"text",value:` -`},o),Array.isArray(r)?{type:"root",children:r}:r}const Aoe=function(e,t){return e&&"run"in e?Foe(e,t):Ioe(e||t)},Roe=Aoe;function Foe(e,t){return(n,r,o)=>{e.run(VA(n,t),r,i=>{o(i)})}}function Ioe(e){return t=>VA(t,e)}var ke={},Poe={get exports(){return ke},set exports(e){ke=e}},Ooe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",joe=Ooe,Doe=joe;function WA(){}function ZA(){}ZA.resetWarningCache=WA;var Moe=function(){function e(r,o,i,a,s,l){if(l!==Doe){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ZA,resetWarningCache:WA};return n.PropTypes=n,n};Poe.exports=Moe();let jf=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};jf.prototype.property={};jf.prototype.normal={};jf.prototype.space=null;function GA(e,t){const n={},r={};let o=-1;for(;++o4&&n.slice(0,4)==="data"&&Uoe.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(R7,Zoe);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!R7.test(i)){let a=i.replace(Hoe,Woe);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=j4}return new o(r,t)}function Woe(e){return"-"+e.toLowerCase()}function Zoe(e){return e.charAt(1).toUpperCase()}const F7={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"},Goe=GA([KA,qA,JA,eR,Boe],"html"),Xoe=GA([KA,qA,JA,eR,zoe],"svg");function qoe(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{P4(t,"element",(n,r,o)=>{const i=o;let a;if(e.allowedElements?a=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(n.tagName)),!a&&e.allowElement&&typeof r=="number"&&(a=!e.allowElement(n,r,i)),a&&typeof r=="number")return e.unwrapDisallowed&&n.children?i.children.splice(r,1,...n.children):i.children.splice(r,1),r})}}var v3={},Koe={get exports(){return v3},set exports(e){v3=e}},nt={};/** +`},o),Array.isArray(r)?{type:"root",children:r}:r}const Aoe=function(e,t){return e&&"run"in e?Foe(e,t):Ioe(e||t)},Roe=Aoe;function Foe(e,t){return(n,r,o)=>{e.run(VA(n,t),r,i=>{o(i)})}}function Ioe(e){return t=>VA(t,e)}var Ce={},Poe={get exports(){return Ce},set exports(e){Ce=e}},Ooe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",joe=Ooe,Doe=joe;function WA(){}function ZA(){}ZA.resetWarningCache=WA;var Moe=function(){function e(r,o,i,a,s,l){if(l!==Doe){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ZA,resetWarningCache:WA};return n.PropTypes=n,n};Poe.exports=Moe();let jf=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};jf.prototype.property={};jf.prototype.normal={};jf.prototype.space=null;function GA(e,t){const n={},r={};let o=-1;for(;++o4&&n.slice(0,4)==="data"&&Uoe.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(R7,Zoe);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!R7.test(i)){let a=i.replace(Hoe,Woe);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=j4}return new o(r,t)}function Woe(e){return"-"+e.toLowerCase()}function Zoe(e){return e.charAt(1).toUpperCase()}const F7={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"},Goe=GA([KA,qA,JA,eR,Boe],"html"),Xoe=GA([KA,qA,JA,eR,zoe],"svg");function qoe(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{P4(t,"element",(n,r,o)=>{const i=o;let a;if(e.allowedElements?a=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(n.tagName)),!a&&e.allowElement&&typeof r=="number"&&(a=!e.allowElement(n,r,i)),a&&typeof r=="number")return e.unwrapDisallowed&&n.children?i.children.splice(r,1,...n.children):i.children.splice(r,1),r})}}var v3={},Koe={get exports(){return v3},set exports(e){v3=e}},nt={};/** * @license React * react-is.production.min.js * @@ -115,12 +115,12 @@ Defaulting to \`${zv}\`.`}function s$(e){return QW.includes(e)}const eZ=a$,tZ={w * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var D4=Symbol.for("react.element"),M4=Symbol.for("react.portal"),Wh=Symbol.for("react.fragment"),Zh=Symbol.for("react.strict_mode"),Gh=Symbol.for("react.profiler"),Xh=Symbol.for("react.provider"),qh=Symbol.for("react.context"),Yoe=Symbol.for("react.server_context"),Kh=Symbol.for("react.forward_ref"),Yh=Symbol.for("react.suspense"),Qh=Symbol.for("react.suspense_list"),Jh=Symbol.for("react.memo"),em=Symbol.for("react.lazy"),Qoe=Symbol.for("react.offscreen"),tR;tR=Symbol.for("react.module.reference");function Hr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case D4:switch(e=e.type,e){case Wh:case Gh:case Zh:case Yh:case Qh:return e;default:switch(e=e&&e.$$typeof,e){case Yoe:case qh:case Kh:case em:case Jh:case Xh:return e;default:return t}}case M4:return t}}}nt.ContextConsumer=qh;nt.ContextProvider=Xh;nt.Element=D4;nt.ForwardRef=Kh;nt.Fragment=Wh;nt.Lazy=em;nt.Memo=Jh;nt.Portal=M4;nt.Profiler=Gh;nt.StrictMode=Zh;nt.Suspense=Yh;nt.SuspenseList=Qh;nt.isAsyncMode=function(){return!1};nt.isConcurrentMode=function(){return!1};nt.isContextConsumer=function(e){return Hr(e)===qh};nt.isContextProvider=function(e){return Hr(e)===Xh};nt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===D4};nt.isForwardRef=function(e){return Hr(e)===Kh};nt.isFragment=function(e){return Hr(e)===Wh};nt.isLazy=function(e){return Hr(e)===em};nt.isMemo=function(e){return Hr(e)===Jh};nt.isPortal=function(e){return Hr(e)===M4};nt.isProfiler=function(e){return Hr(e)===Gh};nt.isStrictMode=function(e){return Hr(e)===Zh};nt.isSuspense=function(e){return Hr(e)===Yh};nt.isSuspenseList=function(e){return Hr(e)===Qh};nt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wh||e===Gh||e===Zh||e===Yh||e===Qh||e===Qoe||typeof e=="object"&&e!==null&&(e.$$typeof===em||e.$$typeof===Jh||e.$$typeof===Xh||e.$$typeof===qh||e.$$typeof===Kh||e.$$typeof===tR||e.getModuleId!==void 0)};nt.typeOf=Hr;(function(e){e.exports=nt})(Koe);const Joe=Fy(v3);function eie(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function tie(e){return e.join(" ").trim()}function nie(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var $1={},rie={get exports(){return $1},set exports(e){$1=e}},I7=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,oie=/\n/g,iie=/^\s*/,aie=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,sie=/^:\s*/,lie=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cie=/^[;\s]*/,uie=/^\s+|\s+$/g,die=` -`,P7="/",O7="*",as="",fie="comment",pie="declaration",hie=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(m){var g=m.match(oie);g&&(n+=g.length);var w=m.lastIndexOf(die);r=~w?m.length-w:r+m.length}function i(){var m={line:n,column:r};return function(g){return g.position=new a(m),c(),g}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(m){var g=new Error(t.source+":"+n+":"+r+": "+m);if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(m){var g=m.exec(e);if(g){var w=g[0];return o(w),e=e.slice(w.length),g}}function c(){l(iie)}function u(m){var g;for(m=m||[];g=d();)g!==!1&&m.push(g);return m}function d(){var m=i();if(!(P7!=e.charAt(0)||O7!=e.charAt(1))){for(var g=2;as!=e.charAt(g)&&(O7!=e.charAt(g)||P7!=e.charAt(g+1));)++g;if(g+=2,as===e.charAt(g-1))return s("End of comment missing");var w=e.slice(2,g-2);return r+=2,o(w),e=e.slice(g),r+=2,m({type:fie,comment:w})}}function f(){var m=i(),g=l(aie);if(g){if(d(),!l(sie))return s("property missing ':'");var w=l(lie),y=m({type:pie,property:j7(g[0].replace(I7,as)),value:w?j7(w[0].replace(I7,as)):as});return l(cie),y}}function p(){var m=[];u(m);for(var g;g=f();)g!==!1&&(m.push(g),u(m));return m}return c(),p()};function j7(e){return e?e.replace(uie,as):as}var mie=hie;function nR(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,o=mie(e),i=typeof t=="function",a,s,l=0,c=o.length;l0?X.createElement(p,l,d):X.createElement(p,l)}function bie(e){let t=-1;for(;++t for more info)`),delete Mp[i]}const t=jte().use(Nre).use(e.remarkPlugins||[]).use(Roe,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(qoe,e),n=new xA;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let o=X.createElement(X.Fragment,{},rR({options:e,schema:Goe,listDepth:0},r));return e.className&&(o=X.createElement("div",{className:e.className},o)),o}oR.propTypes={children:ke.string,className:ke.string,allowElement:ke.func,allowedElements:ke.arrayOf(ke.string),disallowedElements:ke.arrayOf(ke.string),unwrapDisallowed:ke.bool,remarkPlugins:ke.arrayOf(ke.oneOfType([ke.object,ke.func,ke.arrayOf(ke.oneOfType([ke.bool,ke.string,ke.object,ke.func,ke.arrayOf(ke.any)]))])),rehypePlugins:ke.arrayOf(ke.oneOfType([ke.object,ke.func,ke.arrayOf(ke.oneOfType([ke.bool,ke.string,ke.object,ke.func,ke.arrayOf(ke.any)]))])),sourcePos:ke.bool,rawSourcePos:ke.bool,skipHtml:ke.bool,includeElementIndex:ke.bool,transformLinkUri:ke.oneOfType([ke.func,ke.bool]),linkTarget:ke.oneOfType([ke.func,ke.string]),transformImageUri:ke.func,components:ke.object};const Cie=H(_e,{"& .mobb-markdown":{ul:{paddingLeft:"1rem"}},"& code":{backgroundColor:"$neutral300"}}),Df=X.forwardRef(({children:e,...t},n)=>v.jsx(Cie,{...t,ref:n,children:v.jsx(oR,{linkTarget:"_blank",className:"mobb-markdown",children:e})}));Df.displayName="Markdown";const kie="./approve-e38fd813.svg",Qg=e=>({content:"",display:"inline-block",mask:`url(${e}) no-repeat 50% 50%`,"-webkit-mask":`url(${e}) no-repeat 50% 50%`,width:"1.6rem",height:"1.6rem",marginRight:"0.75rem"});H(cn,{color:"$red400",fontSize:"$xsmall",display:"flex",alignItems:"center",visibility:"hidden",height:"1.6rem",variants:{visible:{true:{visibility:"visible"}},type:{error:{"&::before":{...Qg(E4),backgroundColor:"$red400"}},warning:{color:"$orange200",visibility:"visible","&::before":{...Qg(a3),backgroundColor:"$orange200"}},success:{color:"$green200",position:"relative","&::before":{...Qg(kie),backgroundColor:"$green200"}}}}});H(xe,{gap:"0.4rem",padding:"1rem",color:"$neutral500",alignItems:"center",[`${cn}`]:{fontSize:"$small",whiteSpace:"nowrap"},"& svg path, & svg circle ":{stroke:"$neutral500"}});H(_e,{display:"flex",alignItems:"center",fontWeight:"$bold",fontSize:"$medium"});H(_e,{margin:0,fontSize:"$small",color:"inherit"});H(_e,{display:"flex",flexDirection:"column",padding:"1.2rem",color:"$green500",backgroundColor:"$green100",variants:{success:{true:{color:"$green500",backgroundColor:"$green100"}},warning:{true:{color:"$orange200",backgroundColor:"$orange100"}}}});const b3="dismissableLayer.update",$ie="dismissableLayer.pointerDownOutside",Tie="dismissableLayer.focusOutside";let M7;const Aie=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rie=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(Aie),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=yn(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=Fie(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=Iie(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return mT(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(M7=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),L7(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=M7)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),L7())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(b3,k),()=>document.removeEventListener(b3,k)},[]),h.createElement(ar.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,E.onPointerDownCapture)}))});function Fie(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){iR($ie,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Iie(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&iR(Tie,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function L7(){const e=new CustomEvent(b3);document.dispatchEvent(e)}function iR(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d4(o,i):o.dispatchEvent(i)}const Jg="focusScope.autoFocusOnMount",e2="focusScope.autoFocusOnUnmount",N7={bubbles:!1,cancelable:!0},Pie=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=tr(o),u=tr(i),d=h.useRef(null),f=yn(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let b=function(E){if(p.paused||!s)return;const C=E.target;s.contains(C)?d.current=C:Gi(d.current,{select:!0})},x=function(E){if(p.paused||!s)return;const C=E.relatedTarget;C!==null&&(s.contains(C)||Gi(d.current,{select:!0}))},S=function(E){const C=document.activeElement;for(const k of E)k.removedNodes.length>0&&(s!=null&&s.contains(C)||Gi(s))};var g=b,w=x,y=S;document.addEventListener("focusin",b),document.addEventListener("focusout",x);const _=new MutationObserver(S);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",x),_.disconnect()}}},[r,s,p.paused]),h.useEffect(()=>{if(s){z7.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Jg,N7);s.addEventListener(Jg,c),s.dispatchEvent(y),y.defaultPrevented||(Oie(Nie(aR(s)),{select:!0}),document.activeElement===g&&Gi(s))}return()=>{s.removeEventListener(Jg,c),setTimeout(()=>{const y=new CustomEvent(e2,N7);s.addEventListener(e2,u),s.dispatchEvent(y),y.defaultPrevented||Gi(g??document.body,{select:!0}),s.removeEventListener(e2,u),z7.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=jie(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Gi(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Gi(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ar.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function Oie(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Gi(r,{select:t}),document.activeElement!==n)return}function jie(e){const t=aR(e),n=B7(t,e),r=B7(t.reverse(),e);return[n,r]}function aR(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function B7(e,t){for(const n of e)if(!Die(n,{upTo:t}))return n}function Die(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Mie(e){return e instanceof HTMLInputElement&&"select"in e}function Gi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Mie(e)&&t&&e.select()}}const z7=Lie();function Lie(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=U7(e,t),e.unshift(t)},remove(t){var n;e=U7(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function U7(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Nie(e){return e.filter(t=>t.tagName!=="A")}const sR="Popper",[lR,cR]=Di(sR),[p6e,Bie]=lR(sR),uR="PopperContent",[zie,h6e]=lR(uR),Uie=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:_,...E}=e,C=Bie(uR,u),[k,I]=h.useState(null),j=yn(t,D=>I(D)),[$,P]=h.useState(null),B=u4($),R=(n=B==null?void 0:B.width)!==null&&n!==void 0?n:0,M=(r=B==null?void 0:B.height)!==null&&r!==void 0?r:0,z=d+(p!=="center"?"-"+p:""),K=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},O=Array.isArray(w)?w:[w],N=O.length>0,L={padding:K,boundary:O.filter(Hie),altBoundary:N},{refs:T,floatingStyles:F,placement:ae,isPositioned:ie,middlewareData:de}=MT({strategy:"fixed",placement:z,whileElementsMounted:OT,elements:{reference:C.anchor},middleware:[ET({mainAxis:f+M,alignmentAxis:m}),S&&CT({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?kT():void 0,...L}),S&&xT({...L}),$T({...L,apply:({elements:D,rects:U,availableWidth:Z,availableHeight:Y})=>{const{width:re,height:G}=U.reference,se=D.floating.style;se.setProperty("--radix-popper-available-width",`${Z}px`),se.setProperty("--radix-popper-available-height",`${Y}px`),se.setProperty("--radix-popper-anchor-width",`${re}px`),se.setProperty("--radix-popper-anchor-height",`${G}px`)}}),$&&jT({element:$,padding:g}),Vie({arrowWidth:R,arrowHeight:M}),x&&ST({strategy:"referenceHidden"})]}),[ne,me]=dR(ae),ye=tr(_);Ra(()=>{ie&&(ye==null||ye())},[ie,ye]);const Ae=(o=de.arrow)===null||o===void 0?void 0:o.x,Qe=(i=de.arrow)===null||i===void 0?void 0:i.y,wt=((a=de.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Rt,Zt]=h.useState();return Ra(()=>{k&&Zt(window.getComputedStyle(k).zIndex)},[k]),h.createElement("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:ie?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Rt,["--radix-popper-transform-origin"]:[(s=de.transformOrigin)===null||s===void 0?void 0:s.x,(l=de.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},h.createElement(zie,{scope:u,placedSide:ne,onArrowChange:P,arrowX:Ae,arrowY:Qe,shouldHideArrow:wt},h.createElement(ar.div,W({"data-side":ne,"data-align":me},E,{ref:j,style:{...E.style,animation:ie?void 0:"none",opacity:(c=de.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function Hie(e){return e!==null}const Vie=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=dR(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function dR(e){const[t,n="center"]=e.split("-");return[t,n]}const Wie=Uie,Zie=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(ar.div,W({},o,{ref:t})),r):null}),fR="Popover",[pR,m6e]=Di(fR,[cR]),Gie=cR(),[g6e,Mf]=pR(fR),hR="PopoverPortal",[Xie,qie]=pR(hR,{forceMount:void 0}),Kie=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Mf(hR,t);return h.createElement(Xie,{scope:t,forceMount:n},h.createElement(jh,{present:n||i.open},h.createElement(Zie,{asChild:!0,container:o},r)))},qd="PopoverContent",Yie=h.forwardRef((e,t)=>{const n=qie(qd,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Mf(qd,e.__scopePopover);return h.createElement(jh,{present:r||i.open},i.modal?h.createElement(Qie,W({},o,{ref:t})):h.createElement(Jie,W({},o,{ref:t})))}),Qie=h.forwardRef((e,t)=>{const n=Mf(qd,e.__scopePopover),r=h.useRef(null),o=yn(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return If(a)},[]),h.createElement(x4,{as:Pc,allowPinchZoom:!0},h.createElement(mR,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,c=s.button===2||l;i.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:Je(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jie=h.forwardRef((e,t)=>{const n=Mf(qd,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(mR,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),mR=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=Mf(qd,n),p=Gie(n);return vT(),h.createElement(Pie,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Rie,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1)},h.createElement(Wie,W({"data-state":eae(f.open),role:"dialog",id:f.contentId},p,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function eae(e){return e?"open":"closed"}const tae=Kie,gR=Yie,nae=h.forwardRef(({align:e="center",sideOffset:t=4,...n},r)=>v.jsx(tae,{children:v.jsx(rae,{ref:r,align:e,sideOffset:t,...n})}));nae.displayName=gR.displayName;const rae=H(gR,{zIndex:"$z-50"}),vR="Progress",tm=100,[oae,v6e]=Di(vR),[iae,aae]=oae(vR),yR=h.forwardRef((e,t)=>{const{__scopeProgress:n,value:r,max:o,getValueLabel:i=cae,...a}=e,s=w3(o)?o:tm,l=wR(r,s)?r:null,c=T1(l)?i(l,s):void 0;return h.createElement(iae,{scope:n,value:l,max:s},h.createElement(ar.div,W({"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":T1(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":bR(l,s),"data-value":l??void 0,"data-max":s},a,{ref:t})))});yR.propTypes={max(e,t,n){const r=e[t],o=String(r);return r&&!w3(r)?new Error(uae(o,n)):null},value(e,t,n){const r=e[t],o=String(r),i=w3(e.max)?e.max:tm;return r!=null&&!wR(r,i)?new Error(dae(o,n)):null}};const sae="ProgressIndicator",lae=h.forwardRef((e,t)=>{var n;const{__scopeProgress:r,...o}=e,i=aae(sae,r);return h.createElement(ar.div,W({"data-state":bR(i.value,i.max),"data-value":(n=i.value)!==null&&n!==void 0?n:void 0,"data-max":i.max},o,{ref:t}))});function cae(e,t){return`${Math.round(e/t*100)}%`}function bR(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function T1(e){return typeof e=="number"}function w3(e){return T1(e)&&!isNaN(e)&&e>0}function wR(e,t){return T1(e)&&!isNaN(e)&&e<=t&&e>=0}function uae(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${tm}\`.`}function dae(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be: +`,P7="/",O7="*",as="",fie="comment",pie="declaration",hie=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(m){var g=m.match(oie);g&&(n+=g.length);var w=m.lastIndexOf(die);r=~w?m.length-w:r+m.length}function i(){var m={line:n,column:r};return function(g){return g.position=new a(m),c(),g}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(m){var g=new Error(t.source+":"+n+":"+r+": "+m);if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(m){var g=m.exec(e);if(g){var w=g[0];return o(w),e=e.slice(w.length),g}}function c(){l(iie)}function u(m){var g;for(m=m||[];g=d();)g!==!1&&m.push(g);return m}function d(){var m=i();if(!(P7!=e.charAt(0)||O7!=e.charAt(1))){for(var g=2;as!=e.charAt(g)&&(O7!=e.charAt(g)||P7!=e.charAt(g+1));)++g;if(g+=2,as===e.charAt(g-1))return s("End of comment missing");var w=e.slice(2,g-2);return r+=2,o(w),e=e.slice(g),r+=2,m({type:fie,comment:w})}}function f(){var m=i(),g=l(aie);if(g){if(d(),!l(sie))return s("property missing ':'");var w=l(lie),y=m({type:pie,property:j7(g[0].replace(I7,as)),value:w?j7(w[0].replace(I7,as)):as});return l(cie),y}}function p(){var m=[];u(m);for(var g;g=f();)g!==!1&&(m.push(g),u(m));return m}return c(),p()};function j7(e){return e?e.replace(uie,as):as}var mie=hie;function nR(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,o=mie(e),i=typeof t=="function",a,s,l=0,c=o.length;l0?X.createElement(p,l,d):X.createElement(p,l)}function bie(e){let t=-1;for(;++t for more info)`),delete M0[i]}const t=jte().use(Nre).use(e.remarkPlugins||[]).use(Roe,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(qoe,e),n=new xA;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let o=X.createElement(X.Fragment,{},rR({options:e,schema:Goe,listDepth:0},r));return e.className&&(o=X.createElement("div",{className:e.className},o)),o}oR.propTypes={children:Ce.string,className:Ce.string,allowElement:Ce.func,allowedElements:Ce.arrayOf(Ce.string),disallowedElements:Ce.arrayOf(Ce.string),unwrapDisallowed:Ce.bool,remarkPlugins:Ce.arrayOf(Ce.oneOfType([Ce.object,Ce.func,Ce.arrayOf(Ce.oneOfType([Ce.bool,Ce.string,Ce.object,Ce.func,Ce.arrayOf(Ce.any)]))])),rehypePlugins:Ce.arrayOf(Ce.oneOfType([Ce.object,Ce.func,Ce.arrayOf(Ce.oneOfType([Ce.bool,Ce.string,Ce.object,Ce.func,Ce.arrayOf(Ce.any)]))])),sourcePos:Ce.bool,rawSourcePos:Ce.bool,skipHtml:Ce.bool,includeElementIndex:Ce.bool,transformLinkUri:Ce.oneOfType([Ce.func,Ce.bool]),linkTarget:Ce.oneOfType([Ce.func,Ce.string]),transformImageUri:Ce.func,components:Ce.object};const Cie=H(_e,{"& .mobb-markdown":{ul:{paddingLeft:"1rem"}},"& code":{backgroundColor:"$neutral300"}}),Df=X.forwardRef(({children:e,...t},n)=>v.jsx(Cie,{...t,ref:n,children:v.jsx(oR,{linkTarget:"_blank",className:"mobb-markdown",children:e})}));Df.displayName="Markdown";const kie="./approve-e38fd813.svg",Qg=e=>({content:"",display:"inline-block",mask:`url(${e}) no-repeat 50% 50%`,"-webkit-mask":`url(${e}) no-repeat 50% 50%`,width:"1.6rem",height:"1.6rem",marginRight:"0.75rem"});H(cn,{color:"$red400",fontSize:"$xsmall",display:"flex",alignItems:"center",visibility:"hidden",height:"1.6rem",variants:{visible:{true:{visibility:"visible"}},type:{error:{"&::before":{...Qg(E4),backgroundColor:"$red400"}},warning:{color:"$orange200",visibility:"visible","&::before":{...Qg(a3),backgroundColor:"$orange200"}},success:{color:"$green200",position:"relative","&::before":{...Qg(kie),backgroundColor:"$green200"}}}}});H(xe,{gap:"0.4rem",padding:"1rem",color:"$neutral500",alignItems:"center",[`${cn}`]:{fontSize:"$small",whiteSpace:"nowrap"},"& svg path, & svg circle ":{stroke:"$neutral500"}});H(_e,{display:"flex",alignItems:"center",fontWeight:"$bold",fontSize:"$medium"});H(_e,{margin:0,fontSize:"$small",color:"inherit"});H(_e,{display:"flex",flexDirection:"column",padding:"1.2rem",color:"$green500",backgroundColor:"$green100",variants:{success:{true:{color:"$green500",backgroundColor:"$green100"}},warning:{true:{color:"$orange200",backgroundColor:"$orange100"}}}});const b3="dismissableLayer.update",$ie="dismissableLayer.pointerDownOutside",Tie="dismissableLayer.focusOutside";let M7;const Aie=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rie=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=h.useContext(Aie),[d,f]=h.useState(null),p=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),g=yn(t,k=>f(k)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(y),x=d?w.indexOf(d):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=b,E=Fie(k=>{const I=k.target,j=[...u.branches].some($=>$.contains(I));!_||j||(i==null||i(k),s==null||s(k),k.defaultPrevented||l==null||l())},p),C=Iie(k=>{const I=k.target;[...u.branches].some($=>$.contains(I))||(a==null||a(k),s==null||s(k),k.defaultPrevented||l==null||l())},p);return mT(k=>{x===u.layers.size-1&&(o==null||o(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},p),h.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(M7=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),L7(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=M7)}},[d,p,r,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),L7())},[d,u]),h.useEffect(()=>{const k=()=>m({});return document.addEventListener(b3,k),()=>document.removeEventListener(b3,k)},[]),h.createElement(ar.div,W({},c,{ref:g,style:{pointerEvents:S?_?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,E.onPointerDownCapture)}))});function Fie(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){iR($ie,n,c,{discrete:!0})};var l=u;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Iie(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&iR(Tie,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function L7(){const e=new CustomEvent(b3);document.dispatchEvent(e)}function iR(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d4(o,i):o.dispatchEvent(i)}const Jg="focusScope.autoFocusOnMount",e2="focusScope.autoFocusOnUnmount",N7={bubbles:!1,cancelable:!0},Pie=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=tr(o),u=tr(i),d=h.useRef(null),f=yn(t,g=>l(g)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let b=function(E){if(p.paused||!s)return;const C=E.target;s.contains(C)?d.current=C:Gi(d.current,{select:!0})},x=function(E){if(p.paused||!s)return;const C=E.relatedTarget;C!==null&&(s.contains(C)||Gi(d.current,{select:!0}))},S=function(E){const C=document.activeElement;for(const k of E)k.removedNodes.length>0&&(s!=null&&s.contains(C)||Gi(s))};var g=b,w=x,y=S;document.addEventListener("focusin",b),document.addEventListener("focusout",x);const _=new MutationObserver(S);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",x),_.disconnect()}}},[r,s,p.paused]),h.useEffect(()=>{if(s){z7.add(p);const g=document.activeElement;if(!s.contains(g)){const y=new CustomEvent(Jg,N7);s.addEventListener(Jg,c),s.dispatchEvent(y),y.defaultPrevented||(Oie(Nie(aR(s)),{select:!0}),document.activeElement===g&&Gi(s))}return()=>{s.removeEventListener(Jg,c),setTimeout(()=>{const y=new CustomEvent(e2,N7);s.addEventListener(e2,u),s.dispatchEvent(y),y.defaultPrevented||Gi(g??document.body,{select:!0}),s.removeEventListener(e2,u),z7.remove(p)},0)}}},[s,c,u,p]);const m=h.useCallback(g=>{if(!n&&!r||p.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,S]=jie(b);x&&S?!g.shiftKey&&y===S?(g.preventDefault(),n&&Gi(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),n&&Gi(S,{select:!0})):y===b&&g.preventDefault()}},[n,r,p.paused]);return h.createElement(ar.div,W({tabIndex:-1},a,{ref:f,onKeyDown:m}))});function Oie(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Gi(r,{select:t}),document.activeElement!==n)return}function jie(e){const t=aR(e),n=B7(t,e),r=B7(t.reverse(),e);return[n,r]}function aR(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function B7(e,t){for(const n of e)if(!Die(n,{upTo:t}))return n}function Die(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Mie(e){return e instanceof HTMLInputElement&&"select"in e}function Gi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Mie(e)&&t&&e.select()}}const z7=Lie();function Lie(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=U7(e,t),e.unshift(t)},remove(t){var n;e=U7(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function U7(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Nie(e){return e.filter(t=>t.tagName!=="A")}const sR="Popper",[lR,cR]=Di(sR),[p6e,Bie]=lR(sR),uR="PopperContent",[zie,h6e]=lR(uR),Uie=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,onPlaced:_,...E}=e,C=Bie(uR,u),[k,I]=h.useState(null),j=yn(t,D=>I(D)),[$,P]=h.useState(null),B=u4($),R=(n=B==null?void 0:B.width)!==null&&n!==void 0?n:0,M=(r=B==null?void 0:B.height)!==null&&r!==void 0?r:0,z=d+(p!=="center"?"-"+p:""),K=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},O=Array.isArray(w)?w:[w],N=O.length>0,L={padding:K,boundary:O.filter(Hie),altBoundary:N},{refs:T,floatingStyles:F,placement:ae,isPositioned:ie,middlewareData:de}=MT({strategy:"fixed",placement:z,whileElementsMounted:OT,elements:{reference:C.anchor},middleware:[ET({mainAxis:f+M,alignmentAxis:m}),S&&CT({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?kT():void 0,...L}),S&&xT({...L}),$T({...L,apply:({elements:D,rects:U,availableWidth:Z,availableHeight:Y})=>{const{width:re,height:G}=U.reference,se=D.floating.style;se.setProperty("--radix-popper-available-width",`${Z}px`),se.setProperty("--radix-popper-available-height",`${Y}px`),se.setProperty("--radix-popper-anchor-width",`${re}px`),se.setProperty("--radix-popper-anchor-height",`${G}px`)}}),$&&jT({element:$,padding:g}),Vie({arrowWidth:R,arrowHeight:M}),x&&ST({strategy:"referenceHidden"})]}),[ne,me]=dR(ae),ye=tr(_);Ra(()=>{ie&&(ye==null||ye())},[ie,ye]);const Te=(o=de.arrow)===null||o===void 0?void 0:o.x,Qe=(i=de.arrow)===null||i===void 0?void 0:i.y,wt=((a=de.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Rt,Zt]=h.useState();return Ra(()=>{k&&Zt(window.getComputedStyle(k).zIndex)},[k]),h.createElement("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:ie?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Rt,["--radix-popper-transform-origin"]:[(s=de.transformOrigin)===null||s===void 0?void 0:s.x,(l=de.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},h.createElement(zie,{scope:u,placedSide:ne,onArrowChange:P,arrowX:Te,arrowY:Qe,shouldHideArrow:wt},h.createElement(ar.div,W({"data-side":ne,"data-align":me},E,{ref:j,style:{...E.style,animation:ie?void 0:"none",opacity:(c=de.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function Hie(e){return e!==null}const Vie=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=dR(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function dR(e){const[t,n="center"]=e.split("-");return[t,n]}const Wie=Uie,Zie=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?r4.createPortal(h.createElement(ar.div,W({},o,{ref:t})),r):null}),fR="Popover",[pR,m6e]=Di(fR,[cR]),Gie=cR(),[g6e,Mf]=pR(fR),hR="PopoverPortal",[Xie,qie]=pR(hR,{forceMount:void 0}),Kie=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Mf(hR,t);return h.createElement(Xie,{scope:t,forceMount:n},h.createElement(jh,{present:n||i.open},h.createElement(Zie,{asChild:!0,container:o},r)))},qd="PopoverContent",Yie=h.forwardRef((e,t)=>{const n=qie(qd,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Mf(qd,e.__scopePopover);return h.createElement(jh,{present:r||i.open},i.modal?h.createElement(Qie,W({},o,{ref:t})):h.createElement(Jie,W({},o,{ref:t})))}),Qie=h.forwardRef((e,t)=>{const n=Mf(qd,e.__scopePopover),r=h.useRef(null),o=yn(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return If(a)},[]),h.createElement(x4,{as:Pc,allowPinchZoom:!0},h.createElement(mR,W({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,c=s.button===2||l;i.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:Je(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Jie=h.forwardRef((e,t)=>{const n=Mf(qd,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(mR,W({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),mR=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=Mf(qd,n),p=Gie(n);return vT(),h.createElement(Pie,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Rie,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1)},h.createElement(Wie,W({"data-state":eae(f.open),role:"dialog",id:f.contentId},p,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function eae(e){return e?"open":"closed"}const tae=Kie,gR=Yie,nae=h.forwardRef(({align:e="center",sideOffset:t=4,...n},r)=>v.jsx(tae,{children:v.jsx(rae,{ref:r,align:e,sideOffset:t,...n})}));nae.displayName=gR.displayName;const rae=H(gR,{zIndex:"$z-50"}),vR="Progress",tm=100,[oae,v6e]=Di(vR),[iae,aae]=oae(vR),yR=h.forwardRef((e,t)=>{const{__scopeProgress:n,value:r,max:o,getValueLabel:i=cae,...a}=e,s=w3(o)?o:tm,l=wR(r,s)?r:null,c=T1(l)?i(l,s):void 0;return h.createElement(iae,{scope:n,value:l,max:s},h.createElement(ar.div,W({"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":T1(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":bR(l,s),"data-value":l??void 0,"data-max":s},a,{ref:t})))});yR.propTypes={max(e,t,n){const r=e[t],o=String(r);return r&&!w3(r)?new Error(uae(o,n)):null},value(e,t,n){const r=e[t],o=String(r),i=w3(e.max)?e.max:tm;return r!=null&&!wR(r,i)?new Error(dae(o,n)):null}};const sae="ProgressIndicator",lae=h.forwardRef((e,t)=>{var n;const{__scopeProgress:r,...o}=e,i=aae(sae,r);return h.createElement(ar.div,W({"data-state":bR(i.value,i.max),"data-value":(n=i.value)!==null&&n!==void 0?n:void 0,"data-max":i.max},o,{ref:t}))});function cae(e,t){return`${Math.round(e/t*100)}%`}function bR(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function T1(e){return typeof e=="number"}function w3(e){return T1(e)&&!isNaN(e)&&e>0}function wR(e,t){return T1(e)&&!isNaN(e)&&e<=t&&e>=0}function uae(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${tm}\`.`}function dae(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be: - a positive number - less than the value passed to \`max\` (or ${tm} if no \`max\` prop is set) - \`null\` if the progress is indeterminate. -Defaulting to \`null\`.`}const fae=yR,pae=lae;H(fae,{border:"0.1rem solid $neutral400",overflow:"hidden",borderRadius:"$regular",width:"100%",height:"0.4rem",padding:"0 0.1rem",transform:"translateZ(0)"});H(pae,{width:"100%",height:"0.2rem",backgroundColor:"$blue500",borderRadius:"$regular",transition:"transform 660ms cubic-bezier(0.65, 0, 0.35, 1)"});H(_e,{width:"150px",height:"150px",overflow:"hidden",position:"absolute","&::before,&::after":{position:"absolute",zIndex:"-1",content:"",display:"block"},"& span":{position:"absolute",display:"block",width:"25.5rem",padding:"0.5rem 0",backgroundColor:"$blue200",boxShadow:"$card",color:"$blue500",textAlign:"center"},variants:{topRight:{true:{top:"-10px",right:"-10px","&::before,&::after":{borderTopColor:"transparent",borderRightColor:"transparent"},"&::before":{top:"0",left:"0"},"&::after":{bottom:"0",right:"0"},"& span":{left:"-25px",top:"30px",transform:"rotate(45deg)"}}}}});H(xe,{flexDirection:"column",width:"1rem",marginLeft:"1rem",".sort-icon":{path:{stroke:"$neutral500"},"&.active":{path:{stroke:"black"}}}});H("tr");const xR="ToastProvider",[L4,hae,mae]=Af("Toast"),[SR,y6e]=un("Toast",[mae]),[gae,nm]=SR(xR),vae=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,l]=h.useState(null),[c,u]=h.useState(0),d=h.useRef(!1),f=h.useRef(!1);return h.createElement(L4.Provider,{scope:t},h.createElement(gae,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:c,viewport:s,onViewportChange:l,onToastAdd:h.useCallback(()=>u(p=>p+1),[]),onToastRemove:h.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f},a))};vae.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${xR}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const yae="ToastViewport",bae=["F8"],x3="toast.viewportPause",S3="toast.viewportResume",wae=h.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=bae,label:o="Notifications ({hotkey})",...i}=e,a=nm(yae,n),s=hae(n),l=h.useRef(null),c=h.useRef(null),u=h.useRef(null),d=h.useRef(null),f=Le(t,d,a.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=a.toastCount>0;h.useEffect(()=>{const w=y=>{var b;r.every(S=>y[S]||y.code===S)&&((b=d.current)===null||b===void 0||b.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),h.useEffect(()=>{const w=l.current,y=d.current;if(m&&w&&y){const b=()=>{if(!a.isClosePausedRef.current){const E=new CustomEvent(x3);y.dispatchEvent(E),a.isClosePausedRef.current=!0}},x=()=>{if(a.isClosePausedRef.current){const E=new CustomEvent(S3);y.dispatchEvent(E),a.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&x()},_=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",b),w.addEventListener("focusout",S),w.addEventListener("pointermove",b),w.addEventListener("pointerleave",_),window.addEventListener("blur",b),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",b),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",b),w.removeEventListener("pointerleave",_),window.removeEventListener("blur",b),window.removeEventListener("focus",x)}}},[m,a.isClosePausedRef]);const g=h.useCallback(({tabbingDirection:w})=>{const b=s().map(x=>{const S=x.ref.current,_=[S,...Dae(S)];return w==="forwards"?_:_.reverse()});return(w==="forwards"?b.reverse():b).flat()},[s]);return h.useEffect(()=>{const w=d.current;if(w){const y=b=>{const x=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!x){const k=document.activeElement,I=b.shiftKey;if(b.target===w&&I){var _;(_=c.current)===null||_===void 0||_.focus();return}const P=g({tabbingDirection:I?"backwards":"forwards"}),B=P.findIndex(R=>R===k);if(t2(P.slice(B+1)))b.preventDefault();else{var E,C;I?(E=c.current)===null||E===void 0||E.focus():(C=u.current)===null||C===void 0||C.focus()}}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[s,g]),h.createElement(_ee,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:m?void 0:"none"}},m&&h.createElement(H7,{ref:c,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});t2(w)}}),h.createElement(L4.Slot,{scope:n},h.createElement(Ve.ol,W({tabIndex:-1},i,{ref:f}))),m&&h.createElement(H7,{ref:u,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});t2(w)}}))}),xae="ToastFocusProxy",H7=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=nm(xae,n);return h.createElement(Bh,W({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const l=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(l))&&r()}}))}),rm="Toast",Sae="toast.swipeStart",Eae="toast.swipeMove",_ae="toast.swipeCancel",Cae="toast.swipeEnd",kae=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,l]=Nr({prop:r,defaultProp:o,onChange:i});return h.createElement(fo,{present:n||s},h.createElement(ER,W({open:s},a,{ref:t,onClose:()=>l(!1),onPause:Kt(e.onPause),onResume:Kt(e.onResume),onSwipeStart:ce(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ce(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ce(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ce(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})))}),[$ae,Tae]=SR(rm,{onClose(){}}),ER=h.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...m}=e,g=nm(rm,n),[w,y]=h.useState(null),b=Le(t,R=>y(R)),x=h.useRef(null),S=h.useRef(null),_=o||g.duration,E=h.useRef(0),C=h.useRef(_),k=h.useRef(0),{onToastAdd:I,onToastRemove:j}=g,$=Kt(()=>{var R;(w==null?void 0:w.contains(document.activeElement))&&((R=g.viewport)===null||R===void 0||R.focus()),a()}),P=h.useCallback(R=>{!R||R===1/0||(window.clearTimeout(k.current),E.current=new Date().getTime(),k.current=window.setTimeout($,R))},[$]);h.useEffect(()=>{const R=g.viewport;if(R){const M=()=>{P(C.current),c==null||c()},z=()=>{const K=new Date().getTime()-E.current;C.current=C.current-K,window.clearTimeout(k.current),l==null||l()};return R.addEventListener(x3,z),R.addEventListener(S3,M),()=>{R.removeEventListener(x3,z),R.removeEventListener(S3,M)}}},[g.viewport,_,l,c,P]),h.useEffect(()=>{i&&!g.isClosePausedRef.current&&P(_)},[i,_,g.isClosePausedRef,P]),h.useEffect(()=>(I(),()=>j()),[I,j]);const B=h.useMemo(()=>w?kR(w):null,[w]);return g.viewport?h.createElement(h.Fragment,null,B&&h.createElement(Aae,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},B),h.createElement($ae,{scope:n,onClose:$},On.createPortal(h.createElement(L4.ItemSlot,{scope:n},h.createElement(Eee,{asChild:!0,onEscapeKeyDown:ce(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||$(),g.isFocusedToastEscapeKeyDownRef.current=!1})},h.createElement(Ve.li,W({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection},m,{ref:b,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ce(e.onKeyDown,R=>{R.key==="Escape"&&(s==null||s(R.nativeEvent),R.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ce(e.onPointerDown,R=>{R.button===0&&(x.current={x:R.clientX,y:R.clientY})}),onPointerMove:ce(e.onPointerMove,R=>{if(!x.current)return;const M=R.clientX-x.current.x,z=R.clientY-x.current.y,K=!!S.current,O=["left","right"].includes(g.swipeDirection),N=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,L=O?N(0,M):0,T=O?0:N(0,z),F=R.pointerType==="touch"?10:2,ae={x:L,y:T},ie={originalEvent:R,delta:ae};K?(S.current=ae,Lp(Eae,d,ie,{discrete:!1})):V7(ae,g.swipeDirection,F)?(S.current=ae,Lp(Sae,u,ie,{discrete:!1}),R.target.setPointerCapture(R.pointerId)):(Math.abs(M)>F||Math.abs(z)>F)&&(x.current=null)}),onPointerUp:ce(e.onPointerUp,R=>{const M=S.current;if(R.target.releasePointerCapture(R.pointerId),S.current=null,x.current=null,M){const z=R.currentTarget,K={originalEvent:R,delta:M};V7(M,g.swipeDirection,g.swipeThreshold)?Lp(Cae,p,K,{discrete:!0}):Lp(_ae,f,K,{discrete:!0}),z.addEventListener("click",O=>O.preventDefault(),{once:!0})}})})))),g.viewport))):null});ER.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${rm}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const Aae=e=>{const{__scopeToast:t,children:n,...r}=e,o=nm(rm,t),[i,a]=h.useState(!1),[s,l]=h.useState(!1);return Oae(()=>a(!0)),h.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),s?null:h.createElement(_4,{asChild:!0},h.createElement(Bh,r,i&&h.createElement(h.Fragment,null,o.label," ",n)))},Rae=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.createElement(Ve.div,W({},r,{ref:t}))}),Fae="ToastAction",Iae=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?h.createElement(CR,{altText:n,asChild:!0},h.createElement(_R,W({},r,{ref:t}))):null});Iae.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Fae}\``)}};const Pae="ToastClose",_R=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Tae(Pae,n);return h.createElement(CR,{asChild:!0},h.createElement(Ve.button,W({type:"button"},r,{ref:t,onClick:ce(e.onClick,o.onClose)})))}),CR=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return h.createElement(Ve.div,W({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function kR(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),jae(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...kR(r))}}),t}function Lp(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?i4(o,i):o.dispatchEvent(i)}const V7=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function Oae(e=()=>{}){const t=Kt(e);jn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function jae(e){return e.nodeType===e.ELEMENT_NODE}function Dae(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function t2(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const Mae=wae,Lae=kae,Nae=Rae,Bae=_R;H(Mae,{position:"fixed",top:0,right:0,display:"flex",flexDirection:"column",padding:"2.5rem",gap:"1rem",width:"50rem",maxWidth:"100vw",margin:0,listStyle:"none",zIndex:"$z-40",outline:"none"});const zae=bt({"0%":{opacity:1},"100%":{opacity:0}}),Uae=bt({from:{transform:"translateX(calc(100% + 2.5rem))"},to:{transform:"translateX(0)"}}),Hae=bt({from:{transform:"translateX(var(--radix-toast-swipe-end-x))"},to:{transform:"translateX(calc(100% + 2.5rem))"}});H(_e,{width:"0.6rem",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular"});H(xe,{flex:1,display:"block",backgroundColor:"$white",padding:"1.5rem",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular"});H(Lae,{display:"flex",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular",boxShadow:"hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",'&[data-state="open"]':{animation:`${Uae} 150ms cubic-bezier(0.16, 1, 0.3, 1)`},'&[data-state="closed"]':{animation:`${zae} 100ms ease-in`},'&[data-swipe="move"]':{transform:"translateX(var(--radix-toast-swipe-move-x))"},'&[data-swipe="cancel"]':{transform:"translateX(0)",transition:"transform 200ms ease-out"},'&[data-swipe="end"]':{animation:`${Hae} 100ms ease-out`},variants:{color:{success:{border:"1px solid $green800",".title":{".txt-title":{color:"$green800"}},".indicator":{backgroundColor:"$green800"}},error:{border:"1px solid $red500",".title":{".txt-title":{color:"$red500"}},".indicator":{backgroundColor:"$red500"},".description":{color:"$red500"},".close":{color:"$red500"}},info:{border:"1px solid $blue500",".title":{".txt-title":{color:"$blue500"}},".indicator":{backgroundColor:"$blue500"}}}}});H(Nae,{display:"flex",alignItems:"center",gap:"0.5rem",gridArea:"title",marginBottom:"0.5rem",fontWeight:"$bold",fontSize:"$medium"});H(_e,{margin:0,color:"$neutral900",fontSize:"$small",lineHeight:1.3});H(Bae,{fontSize:"$large",background:"transparent",marginBottom:"1rem"});function tu(e){return e.split("-")[0]}function om(e){return e.split("-")[1]}function nu(e){return["top","bottom"].includes(tu(e))?"x":"y"}function N4(e){return e==="y"?"height":"width"}function W7(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=nu(t),l=N4(s),c=r[l]/2-o[l]/2,u=s==="x";let d;switch(tu(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(om(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}const Vae=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=W7(l,r,s),d=r,f={},p=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const c=$R(r),u={x:o,y:i},d=nu(a),f=om(a),p=N4(d),m=await l.getDimensions(n),g=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=s.reference[p]+s.reference[d]-u[d]-s.floating[p],b=u[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let S=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;S===0&&(S=s.floating[p]);const _=y/2-b/2,E=c[g],C=S-m[p]-c[w],k=S/2-m[p]/2+_,I=E3(E,k,C),j=(f==="start"?c[g]:c[w])>0&&k!==I&&s.reference[p]<=s.floating[p];return{[d]:u[d]-(j?kGae[t])}function Xae(e,t,n){n===void 0&&(n=!1);const r=om(e),o=nu(e),i=N4(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=I1(a)),{main:a,cross:I1(a)}}const qae={start:"end",end:"start"};function Z7(e){return e.replace(/start|end/g,t=>qae[t])}const TR=["top","right","bottom","left"];TR.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const AR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...m}=e,g=tu(r),w=d||(g===a||!p?[I1(a)]:function(k){const I=I1(k);return[Z7(k),I,Z7(I)]}(a)),y=[a,...w],b=await R1(t,m),x=[];let S=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&x.push(b[g]),u){const{main:k,cross:I}=Xae(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(b[k],b[I])}if(S=[...S,{placement:r,overflows:x}],!x.every(k=>k<=0)){var _,E;const k=((_=(E=o.flip)==null?void 0:E.index)!=null?_:0)+1,I=y[k];if(I)return{data:{index:k,overflows:S},reset:{placement:I}};let j="bottom";switch(f){case"bestFit":{var C;const $=(C=S.map(P=>[P,P.overflows.filter(B=>B>0).reduce((B,R)=>B+R,0)]).sort((P,B)=>P[1]-B[1])[0])==null?void 0:C[0].placement;$&&(j=$);break}case"initialPlacement":j=a}if(r!==j)return{reset:{placement:j}}}return{}}}};function G7(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function X7(e){return TR.some(t=>e[t]>=0)}const RR=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=G7(await R1(r,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:X7(i)}}}case"escaped":{const i=G7(await R1(r,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:i,escaped:X7(i)}}}default:return{}}}}},FR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(i,a){const{placement:s,platform:l,elements:c}=i,u=await(l.isRTL==null?void 0:l.isRTL(c.floating)),d=tu(s),f=om(s),p=nu(s)==="x",m=["left","top"].includes(d)?-1:1,g=u&&p?-1:1,w=typeof a=="function"?a(i):a;let{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof x=="number"&&(b=f==="end"?-1*x:x),p?{x:b*g,y:y*m}:{x:y*m,y:b*g}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function IR(e){return e==="x"?"y":"x"}const PR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:b}=w;return{x:y,y:b}}},...l}=e,c={x:n,y:r},u=await R1(t,l),d=nu(tu(o)),f=IR(d);let p=c[d],m=c[f];if(i){const w=d==="y"?"bottom":"right";p=E3(p+u[d==="y"?"top":"left"],p,p-u[w])}if(a){const w=f==="y"?"bottom":"right";m=E3(m+u[f==="y"?"top":"left"],m,m-u[w])}const g=s.fn({...t,[d]:p,[f]:m});return{...g,data:{x:g.x-n,y:g.y-r}}}}},OR=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=e,u={x:n,y:r},d=nu(o),f=IR(d);let p=u[d],m=u[f];const g=typeof s=="function"?s({...i,placement:o}):s,w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const _=d==="y"?"height":"width",E=i.reference[d]-i.floating[_]+w.mainAxis,C=i.reference[d]+i.reference[_]-w.mainAxis;pC&&(p=C)}if(c){var y,b,x,S;const _=d==="y"?"width":"height",E=["top","left"].includes(tu(o)),C=i.reference[f]-i.floating[_]+(E&&(y=(b=a.offset)==null?void 0:b[f])!=null?y:0)+(E?0:w.crossAxis),k=i.reference[f]+i.reference[_]+(E?0:(x=(S=a.offset)==null?void 0:S[f])!=null?x:0)-(E?w.crossAxis:0);mk&&(m=k)}return{[d]:p,[f]:m}}}};function jR(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Mi(e){if(e==null)return window;if(!jR(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lf(e){return Mi(e).getComputedStyle(e)}function mi(e){return jR(e)?"":e?(e.nodeName||"").toLowerCase():""}function DR(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Uo(e){return e instanceof Mi(e).HTMLElement}function Ia(e){return e instanceof Mi(e).Element}function B4(e){return typeof ShadowRoot>"u"?!1:e instanceof Mi(e).ShadowRoot||e instanceof ShadowRoot}function im(e){const{overflow:t,overflowX:n,overflowY:r}=Lf(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Kae(e){return["table","td","th"].includes(mi(e))}function q7(e){const t=/firefox/i.test(DR()),n=Lf(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function MR(){return!/^((?!chrome|android).)*safari/i.test(DR())}const K7=Math.min,cd=Math.max,P1=Math.round;function gi(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&Uo(e)&&(l=e.offsetWidth>0&&P1(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&P1(s.height)/e.offsetHeight||1);const u=Ia(e)?Mi(e):window,d=!MR()&&n,f=(s.left+(d&&(r=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,p=(s.top+(d&&(i=(a=u.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/c,m=s.width/l,g=s.height/c;return{width:m,height:g,top:p,right:f+m,bottom:p+g,left:f,x:f,y:p}}function ya(e){return(t=e,(t instanceof Mi(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function am(e){return Ia(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function LR(e){return gi(ya(e)).left+am(e).scrollLeft}function Yae(e,t,n){const r=Uo(t),o=ya(t),i=gi(e,r&&function(l){const c=gi(l);return P1(c.width)!==l.offsetWidth||P1(c.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((mi(t)!=="body"||im(o))&&(a=am(t)),Uo(t)){const l=gi(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=LR(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function NR(e){return mi(e)==="html"?e:e.assignedSlot||e.parentNode||(B4(e)?e.host:null)||ya(e)}function Y7(e){return Uo(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function _3(e){const t=Mi(e);let n=Y7(e);for(;n&&Kae(n)&&getComputedStyle(n).position==="static";)n=Y7(n);return n&&(mi(n)==="html"||mi(n)==="body"&&getComputedStyle(n).position==="static"&&!q7(n))?t:n||function(r){let o=NR(r);for(B4(o)&&(o=o.host);Uo(o)&&!["html","body"].includes(mi(o));){if(q7(o))return o;o=o.parentNode}return null}(e)||t}function Q7(e){if(Uo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=gi(e);return{width:t.width,height:t.height}}function BR(e){const t=NR(e);return["html","body","#document"].includes(mi(t))?e.ownerDocument.body:Uo(t)&&im(t)?t:BR(t)}function O1(e,t){var n;t===void 0&&(t=[]);const r=BR(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Mi(r),a=o?[i].concat(i.visualViewport||[],im(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(O1(a))}function J7(e,t,n){return t==="viewport"?A1(function(r,o){const i=Mi(r),a=ya(r),s=i.visualViewport;let l=a.clientWidth,c=a.clientHeight,u=0,d=0;if(s){l=s.width,c=s.height;const f=MR();(f||!f&&o==="fixed")&&(u=s.offsetLeft,d=s.offsetTop)}return{width:l,height:c,x:u,y:d}}(e,n)):Ia(t)?function(r,o){const i=gi(r,!1,o==="fixed"),a=i.top+r.clientTop,s=i.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):A1(function(r){var o;const i=ya(r),a=am(r),s=(o=r.ownerDocument)==null?void 0:o.body,l=cd(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=cd(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-a.scrollLeft+LR(r);const d=-a.scrollTop;return Lf(s||i).direction==="rtl"&&(u+=cd(i.clientWidth,s?s.clientWidth:0)-l),{width:l,height:c,x:u,y:d}}(ya(e)))}function Qae(e){const t=O1(e),n=["absolute","fixed"].includes(Lf(e).position)&&Uo(e)?_3(e):e;return Ia(n)?t.filter(r=>Ia(r)&&function(o,i){const a=i.getRootNode==null?void 0:i.getRootNode();if(o.contains(i))return!0;if(a&&B4(a)){let s=i;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&mi(r)!=="body"):[]}const Jae={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Qae(t):[].concat(n),r],a=i[0],s=i.reduce((l,c)=>{const u=J7(t,c,o);return l.top=cd(u.top,l.top),l.right=K7(u.right,l.right),l.bottom=K7(u.bottom,l.bottom),l.left=cd(u.left,l.left),l},J7(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Uo(n),i=ya(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((mi(n)!=="body"||im(i))&&(a=am(n)),Uo(n))){const l=gi(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ia,getDimensions:Q7,getOffsetParent:_3,getDocumentElement:ya,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Yae(t,_3(n),r),floating:{...Q7(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Lf(e).direction==="rtl"};function zR(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,c=i&&!s,u=l||c?[...Ia(e)?O1(e):[],...O1(t)]:[];u.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),c&&m.addEventListener("resize",n)});let d,f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),Ia(e)&&!s&&f.observe(e),f.observe(t)}let p=s?gi(e):null;return s&&function m(){const g=gi(e);!p||g.x===p.x&&g.y===p.y&&g.width===p.width&&g.height===p.height||n(),p=g,d=requestAnimationFrame(m)}(),n(),()=>{var m;u.forEach(g=>{l&&g.removeEventListener("scroll",n),c&&g.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(d)}}const UR=(e,t,n)=>Vae(e,t,{platform:Jae,...n});var C3=typeof document<"u"?h.useLayoutEffect:h.useEffect;function k3(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!k3(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!k3(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ese(e){const t=h.useRef(e);return C3(()=>{t.current=e}),t}function tse(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=h.useRef(null),a=h.useRef(null),s=ese(o),l=h.useRef(null),[c,u]=h.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,f]=h.useState(t);k3(d==null?void 0:d.map(x=>{let{options:S}=x;return S}),t==null?void 0:t.map(x=>{let{options:S}=x;return S}))||f(t);const p=h.useCallback(()=>{!i.current||!a.current||UR(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{m.current&&On.flushSync(()=>{u(x)})})},[d,n,r]);C3(()=>{m.current&&p()},[p]);const m=h.useRef(!1);C3(()=>(m.current=!0,()=>{m.current=!1}),[]);const g=h.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,p);l.current=x}else p()},[p,s]),w=h.useCallback(x=>{i.current=x,g()},[g]),y=h.useCallback(x=>{a.current=x,g()},[g]),b=h.useMemo(()=>({reference:i,floating:a}),[]);return h.useMemo(()=>({...c,update:p,refs:b,reference:w,floating:y}),[c,p,b,w,y])}const nse=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?F1({element:t.current,padding:n}).fn(o):{}:t?F1({element:t,padding:n}).fn(o):{}}}},rse=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return h.createElement(Ve.svg,W({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),ose=rse,HR="Popper",[z4,VR]=un(HR),[ise,WR]=z4(HR),ase=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(ise,{scope:t,anchor:r,onAnchorChange:o},n)},sse="PopperAnchor",lse=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=WR(sse,n),a=h.useRef(null),s=Le(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(Ve.div,W({},o,{ref:s}))}),j1="PopperContent",[cse,use]=z4(j1),[dse,fse]=z4(j1,{hasParent:!1,positionUpdateFns:new Set}),pse=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,..._}=e,E=WR(j1,u),[C,k]=h.useState(null),I=Le(t,se=>k(se)),[j,$]=h.useState(null),P=Rh(j),B=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,R=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,M=d+(p!=="center"?"-"+p:""),z=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},K=Array.isArray(w)?w:[w],O=K.length>0,N={padding:z,boundary:K.filter(yse),altBoundary:O},{reference:L,floating:T,strategy:F,x:ae,y:ie,placement:de,middlewareData:ne,update:me}=tse({strategy:"fixed",placement:M,whileElementsMounted:zR,middleware:[FR({mainAxis:f+R,alignmentAxis:m}),S?PR({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?OR():void 0,...N}):void 0,j?nse({element:j,padding:g}):void 0,S?AR({...N}):void 0,bse({arrowWidth:B,arrowHeight:R}),x?RR({strategy:"referenceHidden"}):void 0].filter(vse)});jn(()=>{L(E.anchor)},[L,E.anchor]);const ye=ae!==null&&ie!==null,[Ae,Qe]=ZR(de),wt=(o=ne.arrow)===null||o===void 0?void 0:o.x,Rt=(i=ne.arrow)===null||i===void 0?void 0:i.y,Zt=((a=ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[D,U]=h.useState();jn(()=>{C&&U(window.getComputedStyle(C).zIndex)},[C]);const{hasParent:Z,positionUpdateFns:Y}=fse(j1,u),re=!Z;h.useLayoutEffect(()=>{if(!re)return Y.add(me),()=>{Y.delete(me)}},[re,Y,me]),h.useLayoutEffect(()=>{re&&ye&&Array.from(Y).reverse().forEach(se=>requestAnimationFrame(se))},[re,ye,Y]);const G={"data-side":Ae,"data-align":Qe,..._,ref:I,style:{..._.style,animation:ye?void 0:"none",opacity:(s=ne.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return h.createElement("div",{ref:T,"data-radix-popper-content-wrapper":"",style:{position:F,left:0,top:0,transform:ye?`translate3d(${Math.round(ae)}px, ${Math.round(ie)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:D,["--radix-popper-transform-origin"]:[(l=ne.transformOrigin)===null||l===void 0?void 0:l.x,(c=ne.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")}},h.createElement(cse,{scope:u,placedSide:Ae,onArrowChange:$,arrowX:wt,arrowY:Rt,shouldHideArrow:Zt},re?h.createElement(dse,{scope:u,hasParent:!0,positionUpdateFns:Y},h.createElement(Ve.div,G)):h.createElement(Ve.div,G)))}),hse="PopperArrow",mse={top:"bottom",right:"left",bottom:"top",left:"right"},gse=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=use(hse,r),a=mse[i.placedSide];return h.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},h.createElement(ose,W({},o,{ref:n,style:{...o.style,display:"block"}})))});function vse(e){return e!==void 0}function yse(e){return e!==null}const bse=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=ZR(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function ZR(e){const[t,n="center"]=e.split("-");return[t,n]}const wse=ase,xse=lse,Sse=pse,Ese=gse,[sm,b6e]=un("Tooltip",[VR]),lm=VR(),_se="TooltipProvider",Cse=700,$3="tooltip.open",[kse,U4]=sm(_se),$se=e=>{const{__scopeTooltip:t,delayDuration:n=Cse,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=h.useState(!0),l=h.useRef(!1),c=h.useRef(0);return h.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),h.createElement(kse,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:h.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:h.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},i)},H4="Tooltip",[Tse,Nf]=sm(H4),Ase=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,l=U4(H4,e.__scopeTooltip),c=lm(t),[u,d]=h.useState(null),f=Mo(),p=h.useRef(0),m=a??l.disableHoverableContent,g=s??l.delayDuration,w=h.useRef(!1),[y=!1,b]=Nr({prop:r,defaultProp:o,onChange:C=>{C?(l.onOpen(),document.dispatchEvent(new CustomEvent($3))):l.onClose(),i==null||i(C)}}),x=h.useMemo(()=>y?w.current?"delayed-open":"instant-open":"closed",[y]),S=h.useCallback(()=>{window.clearTimeout(p.current),w.current=!1,b(!0)},[b]),_=h.useCallback(()=>{window.clearTimeout(p.current),b(!1)},[b]),E=h.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{w.current=!0,b(!0)},g)},[g,b]);return h.useEffect(()=>()=>window.clearTimeout(p.current),[]),h.createElement(wse,c,h.createElement(Tse,{scope:t,contentId:f,open:y,stateAttribute:x,trigger:u,onTriggerChange:d,onTriggerEnter:h.useCallback(()=>{l.isOpenDelayed?E():S()},[l.isOpenDelayed,E,S]),onTriggerLeave:h.useCallback(()=>{m?_():window.clearTimeout(p.current)},[_,m]),onOpen:S,onClose:_,disableHoverableContent:m},n))},ex="TooltipTrigger",Rse=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Nf(ex,n),i=U4(ex,n),a=lm(n),s=h.useRef(null),l=Le(t,s,o.onTriggerChange),c=h.useRef(!1),u=h.useRef(!1),d=h.useCallback(()=>c.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.createElement(xse,W({asChild:!0},a),h.createElement(Ve.button,W({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:ce(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ce(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})))}),GR="TooltipPortal",[Fse,Ise]=sm(GR,{forceMount:void 0}),Pse=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=Nf(GR,t);return h.createElement(Fse,{scope:t,forceMount:n},h.createElement(fo,{present:n||i.open},h.createElement(_4,{asChild:!0,container:o},r)))},Kd="TooltipContent",Ose=h.forwardRef((e,t)=>{const n=Ise(Kd,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=Nf(Kd,e.__scopeTooltip);return h.createElement(fo,{present:r||a.open},a.disableHoverableContent?h.createElement(XR,W({side:o},i,{ref:t})):h.createElement(jse,W({side:o},i,{ref:t})))}),jse=h.forwardRef((e,t)=>{const n=Nf(Kd,e.__scopeTooltip),r=U4(Kd,e.__scopeTooltip),o=h.useRef(null),i=Le(t,o),[a,s]=h.useState(null),{trigger:l,onClose:c}=n,u=o.current,{onPointerInTransitChange:d}=r,f=h.useCallback(()=>{s(null),d(!1)},[d]),p=h.useCallback((m,g)=>{const w=m.currentTarget,y={x:m.clientX,y:m.clientY},b=Bse(y,w.getBoundingClientRect()),x=b==="right"||b==="bottom"?-5:5,_=b==="right"||b==="left"?{x:m.clientX+x,y:m.clientY}:{x:m.clientX,y:m.clientY+x},E=zse(g.getBoundingClientRect()),C=Hse([_,...E]);s(C),d(!0)},[d]);return h.useEffect(()=>()=>f(),[f]),h.useEffect(()=>{if(l&&u){const m=w=>p(w,u),g=w=>p(w,l);return l.addEventListener("pointerleave",m),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",m),u.removeEventListener("pointerleave",g)}}},[l,u,p,f]),h.useEffect(()=>{if(a){const m=g=>{const w=g.target,y={x:g.clientX,y:g.clientY},b=(l==null?void 0:l.contains(w))||(u==null?void 0:u.contains(w)),x=!Use(y,a);b?f():x&&(f(),c())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[l,u,a,c,f]),h.createElement(XR,W({},e,{ref:i}))}),[Dse,Mse]=sm(H4,{isInside:!1}),XR=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=Nf(Kd,n),c=lm(n),{onClose:u}=l;return h.useEffect(()=>(document.addEventListener($3,u),()=>document.removeEventListener($3,u)),[u]),h.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),h.createElement(Nh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:u},h.createElement(Sse,W({"data-state":l.stateAttribute},c,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),h.createElement(i$,null,r),h.createElement(Dse,{scope:n,isInside:!0},h.createElement(Fee,{id:l.contentId,role:"tooltip"},o||r))))}),Lse="TooltipArrow",Nse=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=lm(n);return Mse(Lse,n).isInside?null:h.createElement(Ese,W({},o,r,{ref:t}))});function Bse(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:return null}}function zse(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Use(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;ir!=u>r&&n<(c-s)*(r-l)/(u-l)+s&&(o=!o)}return o}function Hse(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),Vse(t)}function Vse(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const Wse=$se,Zse=Ase,Gse=Rse,Xse=Pse,qse=Ose,Kse=Nse,Yse=bt({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),Qse=bt({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),Jse=bt({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),ele=bt({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),tle=H(qse,{maxWidth:"100rem",border:"1px solid $neutral300",wordWrap:"break-word",borderRadius:4,padding:"10px 15px",fontSize:"$xxsmall",color:"$black",backgroundColor:"$neutral100",boxShadow:"$tooltip",userSelect:"none",animationDuration:"400ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",zIndex:"$z-40",willChange:"transform, opacity",'&[data-state="delayed-open"]':{'&[data-side="top"]':{animationName:Jse},'&[data-side="right"]':{animationName:ele},'&[data-side="bottom"]':{animationName:Yse},'&[data-side="left"]':{animationName:Qse}}}),nle=H(Kse,{fill:"transparent"}),gl={Provider:Wse,Root:Zse,Trigger:Gse,Portal:Xse,Content:tle,Arrow:nle},rle={height:"100%",display:"flex",flexDirection:"column"},ole=({children:e,css:t})=>(zH(),v.jsx(_e,{css:{...rle,...t},children:e})),ile={...iZ,position:"fixed",height:"9.2rem",padding:"0 1.2rem",width:"calc(100% - 7rem)",top:"5rem",left:"6rem",alignItems:"center",backdropFilter:"blur(5px)",boxShadow:"0px 1.28446px 25.6891px rgba(31, 41, 90, 0.12)",backgroundColor:"$white_05",borderRadius:"$regular",zIndex:"$z-10"},ale=({children:e,css:t})=>v.jsx(xe,{css:{...ile,...t},children:e});/*! ***************************************************************************** +Defaulting to \`null\`.`}const fae=yR,pae=lae;H(fae,{border:"0.1rem solid $neutral400",overflow:"hidden",borderRadius:"$regular",width:"100%",height:"0.4rem",padding:"0 0.1rem",transform:"translateZ(0)"});H(pae,{width:"100%",height:"0.2rem",backgroundColor:"$blue500",borderRadius:"$regular",transition:"transform 660ms cubic-bezier(0.65, 0, 0.35, 1)"});H(_e,{width:"150px",height:"150px",overflow:"hidden",position:"absolute","&::before,&::after":{position:"absolute",zIndex:"-1",content:"",display:"block"},"& span":{position:"absolute",display:"block",width:"25.5rem",padding:"0.5rem 0",backgroundColor:"$blue200",boxShadow:"$card",color:"$blue500",textAlign:"center"},variants:{topRight:{true:{top:"-10px",right:"-10px","&::before,&::after":{borderTopColor:"transparent",borderRightColor:"transparent"},"&::before":{top:"0",left:"0"},"&::after":{bottom:"0",right:"0"},"& span":{left:"-25px",top:"30px",transform:"rotate(45deg)"}}}}});H(xe,{flexDirection:"column",width:"1rem",marginLeft:"1rem",".sort-icon":{path:{stroke:"$neutral500"},"&.active":{path:{stroke:"black"}}}});H("tr");const xR="ToastProvider",[L4,hae,mae]=Af("Toast"),[SR,y6e]=un("Toast",[mae]),[gae,nm]=SR(xR),vae=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,l]=h.useState(null),[c,u]=h.useState(0),d=h.useRef(!1),f=h.useRef(!1);return h.createElement(L4.Provider,{scope:t},h.createElement(gae,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:c,viewport:s,onViewportChange:l,onToastAdd:h.useCallback(()=>u(p=>p+1),[]),onToastRemove:h.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f},a))};vae.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t=`Invalid prop \`label\` supplied to \`${xR}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};const yae="ToastViewport",bae=["F8"],x3="toast.viewportPause",S3="toast.viewportResume",wae=h.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=bae,label:o="Notifications ({hotkey})",...i}=e,a=nm(yae,n),s=hae(n),l=h.useRef(null),c=h.useRef(null),u=h.useRef(null),d=h.useRef(null),f=Le(t,d,a.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=a.toastCount>0;h.useEffect(()=>{const w=y=>{var b;r.every(S=>y[S]||y.code===S)&&((b=d.current)===null||b===void 0||b.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),h.useEffect(()=>{const w=l.current,y=d.current;if(m&&w&&y){const b=()=>{if(!a.isClosePausedRef.current){const E=new CustomEvent(x3);y.dispatchEvent(E),a.isClosePausedRef.current=!0}},x=()=>{if(a.isClosePausedRef.current){const E=new CustomEvent(S3);y.dispatchEvent(E),a.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&x()},_=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",b),w.addEventListener("focusout",S),w.addEventListener("pointermove",b),w.addEventListener("pointerleave",_),window.addEventListener("blur",b),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",b),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",b),w.removeEventListener("pointerleave",_),window.removeEventListener("blur",b),window.removeEventListener("focus",x)}}},[m,a.isClosePausedRef]);const g=h.useCallback(({tabbingDirection:w})=>{const b=s().map(x=>{const S=x.ref.current,_=[S,...Dae(S)];return w==="forwards"?_:_.reverse()});return(w==="forwards"?b.reverse():b).flat()},[s]);return h.useEffect(()=>{const w=d.current;if(w){const y=b=>{const x=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!x){const k=document.activeElement,I=b.shiftKey;if(b.target===w&&I){var _;(_=c.current)===null||_===void 0||_.focus();return}const P=g({tabbingDirection:I?"backwards":"forwards"}),B=P.findIndex(R=>R===k);if(t2(P.slice(B+1)))b.preventDefault();else{var E,C;I?(E=c.current)===null||E===void 0||E.focus():(C=u.current)===null||C===void 0||C.focus()}}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[s,g]),h.createElement(_ee,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:m?void 0:"none"}},m&&h.createElement(H7,{ref:c,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});t2(w)}}),h.createElement(L4.Slot,{scope:n},h.createElement(Ve.ol,W({tabIndex:-1},i,{ref:f}))),m&&h.createElement(H7,{ref:u,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});t2(w)}}))}),xae="ToastFocusProxy",H7=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=nm(xae,n);return h.createElement(Bh,W({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var s;const l=a.relatedTarget;!((s=i.viewport)!==null&&s!==void 0&&s.contains(l))&&r()}}))}),rm="Toast",Sae="toast.swipeStart",Eae="toast.swipeMove",_ae="toast.swipeCancel",Cae="toast.swipeEnd",kae=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s=!0,l]=Nr({prop:r,defaultProp:o,onChange:i});return h.createElement(fo,{present:n||s},h.createElement(ER,W({open:s},a,{ref:t,onClose:()=>l(!1),onPause:Kt(e.onPause),onResume:Kt(e.onResume),onSwipeStart:ce(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ce(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ce(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ce(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})))}),[$ae,Tae]=SR(rm,{onClose(){}}),ER=h.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...m}=e,g=nm(rm,n),[w,y]=h.useState(null),b=Le(t,R=>y(R)),x=h.useRef(null),S=h.useRef(null),_=o||g.duration,E=h.useRef(0),C=h.useRef(_),k=h.useRef(0),{onToastAdd:I,onToastRemove:j}=g,$=Kt(()=>{var R;(w==null?void 0:w.contains(document.activeElement))&&((R=g.viewport)===null||R===void 0||R.focus()),a()}),P=h.useCallback(R=>{!R||R===1/0||(window.clearTimeout(k.current),E.current=new Date().getTime(),k.current=window.setTimeout($,R))},[$]);h.useEffect(()=>{const R=g.viewport;if(R){const M=()=>{P(C.current),c==null||c()},z=()=>{const K=new Date().getTime()-E.current;C.current=C.current-K,window.clearTimeout(k.current),l==null||l()};return R.addEventListener(x3,z),R.addEventListener(S3,M),()=>{R.removeEventListener(x3,z),R.removeEventListener(S3,M)}}},[g.viewport,_,l,c,P]),h.useEffect(()=>{i&&!g.isClosePausedRef.current&&P(_)},[i,_,g.isClosePausedRef,P]),h.useEffect(()=>(I(),()=>j()),[I,j]);const B=h.useMemo(()=>w?kR(w):null,[w]);return g.viewport?h.createElement(h.Fragment,null,B&&h.createElement(Aae,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0},B),h.createElement($ae,{scope:n,onClose:$},On.createPortal(h.createElement(L4.ItemSlot,{scope:n},h.createElement(Eee,{asChild:!0,onEscapeKeyDown:ce(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||$(),g.isFocusedToastEscapeKeyDownRef.current=!1})},h.createElement(Ve.li,W({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection},m,{ref:b,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ce(e.onKeyDown,R=>{R.key==="Escape"&&(s==null||s(R.nativeEvent),R.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ce(e.onPointerDown,R=>{R.button===0&&(x.current={x:R.clientX,y:R.clientY})}),onPointerMove:ce(e.onPointerMove,R=>{if(!x.current)return;const M=R.clientX-x.current.x,z=R.clientY-x.current.y,K=!!S.current,O=["left","right"].includes(g.swipeDirection),N=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,L=O?N(0,M):0,T=O?0:N(0,z),F=R.pointerType==="touch"?10:2,ae={x:L,y:T},ie={originalEvent:R,delta:ae};K?(S.current=ae,L0(Eae,d,ie,{discrete:!1})):V7(ae,g.swipeDirection,F)?(S.current=ae,L0(Sae,u,ie,{discrete:!1}),R.target.setPointerCapture(R.pointerId)):(Math.abs(M)>F||Math.abs(z)>F)&&(x.current=null)}),onPointerUp:ce(e.onPointerUp,R=>{const M=S.current;if(R.target.releasePointerCapture(R.pointerId),S.current=null,x.current=null,M){const z=R.currentTarget,K={originalEvent:R,delta:M};V7(M,g.swipeDirection,g.swipeThreshold)?L0(Cae,p,K,{discrete:!0}):L0(_ae,f,K,{discrete:!0}),z.addEventListener("click",O=>O.preventDefault(),{once:!0})}})})))),g.viewport))):null});ER.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t=`Invalid prop \`type\` supplied to \`${rm}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};const Aae=e=>{const{__scopeToast:t,children:n,...r}=e,o=nm(rm,t),[i,a]=h.useState(!1),[s,l]=h.useState(!1);return Oae(()=>a(!0)),h.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),s?null:h.createElement(_4,{asChild:!0},h.createElement(Bh,r,i&&h.createElement(h.Fragment,null,o.label," ",n)))},Rae=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.createElement(Ve.div,W({},r,{ref:t}))}),Fae="ToastAction",Iae=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n?h.createElement(CR,{altText:n,asChild:!0},h.createElement(_R,W({},r,{ref:t}))):null});Iae.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Fae}\``)}};const Pae="ToastClose",_R=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Tae(Pae,n);return h.createElement(CR,{asChild:!0},h.createElement(Ve.button,W({type:"button"},r,{ref:t,onClick:ce(e.onClick,o.onClose)})))}),CR=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return h.createElement(Ve.div,W({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0},o,{ref:t}))});function kR(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),jae(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...kR(r))}}),t}function L0(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?i4(o,i):o.dispatchEvent(i)}const V7=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function Oae(e=()=>{}){const t=Kt(e);jn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function jae(e){return e.nodeType===e.ELEMENT_NODE}function Dae(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function t2(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}const Mae=wae,Lae=kae,Nae=Rae,Bae=_R;H(Mae,{position:"fixed",top:0,right:0,display:"flex",flexDirection:"column",padding:"2.5rem",gap:"1rem",width:"50rem",maxWidth:"100vw",margin:0,listStyle:"none",zIndex:"$z-40",outline:"none"});const zae=bt({"0%":{opacity:1},"100%":{opacity:0}}),Uae=bt({from:{transform:"translateX(calc(100% + 2.5rem))"},to:{transform:"translateX(0)"}}),Hae=bt({from:{transform:"translateX(var(--radix-toast-swipe-end-x))"},to:{transform:"translateX(calc(100% + 2.5rem))"}});H(_e,{width:"0.6rem",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular"});H(xe,{flex:1,display:"block",backgroundColor:"$white",padding:"1.5rem",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular"});H(Lae,{display:"flex",borderTopRightRadius:"$regular",borderBottomRightRadius:"$regular",boxShadow:"hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",'&[data-state="open"]':{animation:`${Uae} 150ms cubic-bezier(0.16, 1, 0.3, 1)`},'&[data-state="closed"]':{animation:`${zae} 100ms ease-in`},'&[data-swipe="move"]':{transform:"translateX(var(--radix-toast-swipe-move-x))"},'&[data-swipe="cancel"]':{transform:"translateX(0)",transition:"transform 200ms ease-out"},'&[data-swipe="end"]':{animation:`${Hae} 100ms ease-out`},variants:{color:{success:{border:"1px solid $green800",".title":{".txt-title":{color:"$green800"}},".indicator":{backgroundColor:"$green800"}},error:{border:"1px solid $red500",".title":{".txt-title":{color:"$red500"}},".indicator":{backgroundColor:"$red500"},".description":{color:"$red500"},".close":{color:"$red500"}},info:{border:"1px solid $blue500",".title":{".txt-title":{color:"$blue500"}},".indicator":{backgroundColor:"$blue500"}}}}});H(Nae,{display:"flex",alignItems:"center",gap:"0.5rem",gridArea:"title",marginBottom:"0.5rem",fontWeight:"$bold",fontSize:"$medium"});H(_e,{margin:0,color:"$neutral900",fontSize:"$small",lineHeight:1.3});H(Bae,{fontSize:"$large",background:"transparent",marginBottom:"1rem"});function tu(e){return e.split("-")[0]}function om(e){return e.split("-")[1]}function nu(e){return["top","bottom"].includes(tu(e))?"x":"y"}function N4(e){return e==="y"?"height":"width"}function W7(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=nu(t),l=N4(s),c=r[l]/2-o[l]/2,u=s==="x";let d;switch(tu(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(om(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}const Vae=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=W7(l,r,s),d=r,f={},p=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const c=$R(r),u={x:o,y:i},d=nu(a),f=om(a),p=N4(d),m=await l.getDimensions(n),g=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=s.reference[p]+s.reference[d]-u[d]-s.floating[p],b=u[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let S=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;S===0&&(S=s.floating[p]);const _=y/2-b/2,E=c[g],C=S-m[p]-c[w],k=S/2-m[p]/2+_,I=E3(E,k,C),j=(f==="start"?c[g]:c[w])>0&&k!==I&&s.reference[p]<=s.floating[p];return{[d]:u[d]-(j?kGae[t])}function Xae(e,t,n){n===void 0&&(n=!1);const r=om(e),o=nu(e),i=N4(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=I1(a)),{main:a,cross:I1(a)}}const qae={start:"end",end:"start"};function Z7(e){return e.replace(/start|end/g,t=>qae[t])}const TR=["top","right","bottom","left"];TR.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const AR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...m}=e,g=tu(r),w=d||(g===a||!p?[I1(a)]:function(k){const I=I1(k);return[Z7(k),I,Z7(I)]}(a)),y=[a,...w],b=await R1(t,m),x=[];let S=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&x.push(b[g]),u){const{main:k,cross:I}=Xae(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(b[k],b[I])}if(S=[...S,{placement:r,overflows:x}],!x.every(k=>k<=0)){var _,E;const k=((_=(E=o.flip)==null?void 0:E.index)!=null?_:0)+1,I=y[k];if(I)return{data:{index:k,overflows:S},reset:{placement:I}};let j="bottom";switch(f){case"bestFit":{var C;const $=(C=S.map(P=>[P,P.overflows.filter(B=>B>0).reduce((B,R)=>B+R,0)]).sort((P,B)=>P[1]-B[1])[0])==null?void 0:C[0].placement;$&&(j=$);break}case"initialPlacement":j=a}if(r!==j)return{reset:{placement:j}}}return{}}}};function G7(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function X7(e){return TR.some(t=>e[t]>=0)}const RR=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=G7(await R1(r,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:X7(i)}}}case"escaped":{const i=G7(await R1(r,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:i,escaped:X7(i)}}}default:return{}}}}},FR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(i,a){const{placement:s,platform:l,elements:c}=i,u=await(l.isRTL==null?void 0:l.isRTL(c.floating)),d=tu(s),f=om(s),p=nu(s)==="x",m=["left","top"].includes(d)?-1:1,g=u&&p?-1:1,w=typeof a=="function"?a(i):a;let{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof x=="number"&&(b=f==="end"?-1*x:x),p?{x:b*g,y:y*m}:{x:y*m,y:b*g}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function IR(e){return e==="x"?"y":"x"}const PR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:b}=w;return{x:y,y:b}}},...l}=e,c={x:n,y:r},u=await R1(t,l),d=nu(tu(o)),f=IR(d);let p=c[d],m=c[f];if(i){const w=d==="y"?"bottom":"right";p=E3(p+u[d==="y"?"top":"left"],p,p-u[w])}if(a){const w=f==="y"?"bottom":"right";m=E3(m+u[f==="y"?"top":"left"],m,m-u[w])}const g=s.fn({...t,[d]:p,[f]:m});return{...g,data:{x:g.x-n,y:g.y-r}}}}},OR=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=e,u={x:n,y:r},d=nu(o),f=IR(d);let p=u[d],m=u[f];const g=typeof s=="function"?s({...i,placement:o}):s,w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const _=d==="y"?"height":"width",E=i.reference[d]-i.floating[_]+w.mainAxis,C=i.reference[d]+i.reference[_]-w.mainAxis;pC&&(p=C)}if(c){var y,b,x,S;const _=d==="y"?"width":"height",E=["top","left"].includes(tu(o)),C=i.reference[f]-i.floating[_]+(E&&(y=(b=a.offset)==null?void 0:b[f])!=null?y:0)+(E?0:w.crossAxis),k=i.reference[f]+i.reference[_]+(E?0:(x=(S=a.offset)==null?void 0:S[f])!=null?x:0)-(E?w.crossAxis:0);mk&&(m=k)}return{[d]:p,[f]:m}}}};function jR(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Mi(e){if(e==null)return window;if(!jR(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lf(e){return Mi(e).getComputedStyle(e)}function mi(e){return jR(e)?"":e?(e.nodeName||"").toLowerCase():""}function DR(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Uo(e){return e instanceof Mi(e).HTMLElement}function Ia(e){return e instanceof Mi(e).Element}function B4(e){return typeof ShadowRoot>"u"?!1:e instanceof Mi(e).ShadowRoot||e instanceof ShadowRoot}function im(e){const{overflow:t,overflowX:n,overflowY:r}=Lf(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Kae(e){return["table","td","th"].includes(mi(e))}function q7(e){const t=/firefox/i.test(DR()),n=Lf(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function MR(){return!/^((?!chrome|android).)*safari/i.test(DR())}const K7=Math.min,cd=Math.max,P1=Math.round;function gi(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&Uo(e)&&(l=e.offsetWidth>0&&P1(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&P1(s.height)/e.offsetHeight||1);const u=Ia(e)?Mi(e):window,d=!MR()&&n,f=(s.left+(d&&(r=(o=u.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,p=(s.top+(d&&(i=(a=u.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/c,m=s.width/l,g=s.height/c;return{width:m,height:g,top:p,right:f+m,bottom:p+g,left:f,x:f,y:p}}function ya(e){return(t=e,(t instanceof Mi(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function am(e){return Ia(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function LR(e){return gi(ya(e)).left+am(e).scrollLeft}function Yae(e,t,n){const r=Uo(t),o=ya(t),i=gi(e,r&&function(l){const c=gi(l);return P1(c.width)!==l.offsetWidth||P1(c.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((mi(t)!=="body"||im(o))&&(a=am(t)),Uo(t)){const l=gi(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=LR(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function NR(e){return mi(e)==="html"?e:e.assignedSlot||e.parentNode||(B4(e)?e.host:null)||ya(e)}function Y7(e){return Uo(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function _3(e){const t=Mi(e);let n=Y7(e);for(;n&&Kae(n)&&getComputedStyle(n).position==="static";)n=Y7(n);return n&&(mi(n)==="html"||mi(n)==="body"&&getComputedStyle(n).position==="static"&&!q7(n))?t:n||function(r){let o=NR(r);for(B4(o)&&(o=o.host);Uo(o)&&!["html","body"].includes(mi(o));){if(q7(o))return o;o=o.parentNode}return null}(e)||t}function Q7(e){if(Uo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=gi(e);return{width:t.width,height:t.height}}function BR(e){const t=NR(e);return["html","body","#document"].includes(mi(t))?e.ownerDocument.body:Uo(t)&&im(t)?t:BR(t)}function O1(e,t){var n;t===void 0&&(t=[]);const r=BR(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Mi(r),a=o?[i].concat(i.visualViewport||[],im(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(O1(a))}function J7(e,t,n){return t==="viewport"?A1(function(r,o){const i=Mi(r),a=ya(r),s=i.visualViewport;let l=a.clientWidth,c=a.clientHeight,u=0,d=0;if(s){l=s.width,c=s.height;const f=MR();(f||!f&&o==="fixed")&&(u=s.offsetLeft,d=s.offsetTop)}return{width:l,height:c,x:u,y:d}}(e,n)):Ia(t)?function(r,o){const i=gi(r,!1,o==="fixed"),a=i.top+r.clientTop,s=i.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):A1(function(r){var o;const i=ya(r),a=am(r),s=(o=r.ownerDocument)==null?void 0:o.body,l=cd(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=cd(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-a.scrollLeft+LR(r);const d=-a.scrollTop;return Lf(s||i).direction==="rtl"&&(u+=cd(i.clientWidth,s?s.clientWidth:0)-l),{width:l,height:c,x:u,y:d}}(ya(e)))}function Qae(e){const t=O1(e),n=["absolute","fixed"].includes(Lf(e).position)&&Uo(e)?_3(e):e;return Ia(n)?t.filter(r=>Ia(r)&&function(o,i){const a=i.getRootNode==null?void 0:i.getRootNode();if(o.contains(i))return!0;if(a&&B4(a)){let s=i;do{if(s&&o===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&mi(r)!=="body"):[]}const Jae={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Qae(t):[].concat(n),r],a=i[0],s=i.reduce((l,c)=>{const u=J7(t,c,o);return l.top=cd(u.top,l.top),l.right=K7(u.right,l.right),l.bottom=K7(u.bottom,l.bottom),l.left=cd(u.left,l.left),l},J7(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Uo(n),i=ya(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((mi(n)!=="body"||im(i))&&(a=am(n)),Uo(n))){const l=gi(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ia,getDimensions:Q7,getOffsetParent:_3,getDocumentElement:ya,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Yae(t,_3(n),r),floating:{...Q7(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Lf(e).direction==="rtl"};function zR(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,c=i&&!s,u=l||c?[...Ia(e)?O1(e):[],...O1(t)]:[];u.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),c&&m.addEventListener("resize",n)});let d,f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),Ia(e)&&!s&&f.observe(e),f.observe(t)}let p=s?gi(e):null;return s&&function m(){const g=gi(e);!p||g.x===p.x&&g.y===p.y&&g.width===p.width&&g.height===p.height||n(),p=g,d=requestAnimationFrame(m)}(),n(),()=>{var m;u.forEach(g=>{l&&g.removeEventListener("scroll",n),c&&g.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(d)}}const UR=(e,t,n)=>Vae(e,t,{platform:Jae,...n});var C3=typeof document<"u"?h.useLayoutEffect:h.useEffect;function k3(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!k3(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!k3(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ese(e){const t=h.useRef(e);return C3(()=>{t.current=e}),t}function tse(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=h.useRef(null),a=h.useRef(null),s=ese(o),l=h.useRef(null),[c,u]=h.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,f]=h.useState(t);k3(d==null?void 0:d.map(x=>{let{options:S}=x;return S}),t==null?void 0:t.map(x=>{let{options:S}=x;return S}))||f(t);const p=h.useCallback(()=>{!i.current||!a.current||UR(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{m.current&&On.flushSync(()=>{u(x)})})},[d,n,r]);C3(()=>{m.current&&p()},[p]);const m=h.useRef(!1);C3(()=>(m.current=!0,()=>{m.current=!1}),[]);const g=h.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,p);l.current=x}else p()},[p,s]),w=h.useCallback(x=>{i.current=x,g()},[g]),y=h.useCallback(x=>{a.current=x,g()},[g]),b=h.useMemo(()=>({reference:i,floating:a}),[]);return h.useMemo(()=>({...c,update:p,refs:b,reference:w,floating:y}),[c,p,b,w,y])}const nse=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?F1({element:t.current,padding:n}).fn(o):{}:t?F1({element:t,padding:n}).fn(o):{}}}},rse=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return h.createElement(Ve.svg,W({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),ose=rse,HR="Popper",[z4,VR]=un(HR),[ise,WR]=z4(HR),ase=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(ise,{scope:t,anchor:r,onAnchorChange:o},n)},sse="PopperAnchor",lse=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=WR(sse,n),a=h.useRef(null),s=Le(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(Ve.div,W({},o,{ref:s}))}),j1="PopperContent",[cse,use]=z4(j1),[dse,fse]=z4(j1,{hasParent:!1,positionUpdateFns:new Set}),pse=h.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:f=0,align:p="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:x=!1,avoidCollisions:S=!0,..._}=e,E=WR(j1,u),[C,k]=h.useState(null),I=Le(t,se=>k(se)),[j,$]=h.useState(null),P=Rh(j),B=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,R=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,M=d+(p!=="center"?"-"+p:""),z=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},K=Array.isArray(w)?w:[w],O=K.length>0,N={padding:z,boundary:K.filter(yse),altBoundary:O},{reference:L,floating:T,strategy:F,x:ae,y:ie,placement:de,middlewareData:ne,update:me}=tse({strategy:"fixed",placement:M,whileElementsMounted:zR,middleware:[FR({mainAxis:f+R,alignmentAxis:m}),S?PR({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?OR():void 0,...N}):void 0,j?nse({element:j,padding:g}):void 0,S?AR({...N}):void 0,bse({arrowWidth:B,arrowHeight:R}),x?RR({strategy:"referenceHidden"}):void 0].filter(vse)});jn(()=>{L(E.anchor)},[L,E.anchor]);const ye=ae!==null&&ie!==null,[Te,Qe]=ZR(de),wt=(o=ne.arrow)===null||o===void 0?void 0:o.x,Rt=(i=ne.arrow)===null||i===void 0?void 0:i.y,Zt=((a=ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[D,U]=h.useState();jn(()=>{C&&U(window.getComputedStyle(C).zIndex)},[C]);const{hasParent:Z,positionUpdateFns:Y}=fse(j1,u),re=!Z;h.useLayoutEffect(()=>{if(!re)return Y.add(me),()=>{Y.delete(me)}},[re,Y,me]),h.useLayoutEffect(()=>{re&&ye&&Array.from(Y).reverse().forEach(se=>requestAnimationFrame(se))},[re,ye,Y]);const G={"data-side":Te,"data-align":Qe,..._,ref:I,style:{..._.style,animation:ye?void 0:"none",opacity:(s=ne.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return h.createElement("div",{ref:T,"data-radix-popper-content-wrapper":"",style:{position:F,left:0,top:0,transform:ye?`translate3d(${Math.round(ae)}px, ${Math.round(ie)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:D,["--radix-popper-transform-origin"]:[(l=ne.transformOrigin)===null||l===void 0?void 0:l.x,(c=ne.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")}},h.createElement(cse,{scope:u,placedSide:Te,onArrowChange:$,arrowX:wt,arrowY:Rt,shouldHideArrow:Zt},re?h.createElement(dse,{scope:u,hasParent:!0,positionUpdateFns:Y},h.createElement(Ve.div,G)):h.createElement(Ve.div,G)))}),hse="PopperArrow",mse={top:"bottom",right:"left",bottom:"top",left:"right"},gse=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=use(hse,r),a=mse[i.placedSide];return h.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},h.createElement(ose,W({},o,{ref:n,style:{...o.style,display:"block"}})))});function vse(e){return e!==void 0}function yse(e){return e!==null}const bse=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[m,g]=ZR(s),w={start:"0%",center:"50%",end:"100%"}[g],y=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,b=((i=(a=c.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",S="";return m==="bottom"?(x=d?w:`${y}px`,S=`${-p}px`):m==="top"?(x=d?w:`${y}px`,S=`${l.floating.height+p}px`):m==="right"?(x=`${-p}px`,S=d?w:`${b}px`):m==="left"&&(x=`${l.floating.width+p}px`,S=d?w:`${b}px`),{data:{x,y:S}}}});function ZR(e){const[t,n="center"]=e.split("-");return[t,n]}const wse=ase,xse=lse,Sse=pse,Ese=gse,[sm,b6e]=un("Tooltip",[VR]),lm=VR(),_se="TooltipProvider",Cse=700,$3="tooltip.open",[kse,U4]=sm(_se),$se=e=>{const{__scopeTooltip:t,delayDuration:n=Cse,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=h.useState(!0),l=h.useRef(!1),c=h.useRef(0);return h.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),h.createElement(kse,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:h.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:h.useCallback(u=>{l.current=u},[]),disableHoverableContent:o},i)},H4="Tooltip",[Tse,Nf]=sm(H4),Ase=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,l=U4(H4,e.__scopeTooltip),c=lm(t),[u,d]=h.useState(null),f=Mo(),p=h.useRef(0),m=a??l.disableHoverableContent,g=s??l.delayDuration,w=h.useRef(!1),[y=!1,b]=Nr({prop:r,defaultProp:o,onChange:C=>{C?(l.onOpen(),document.dispatchEvent(new CustomEvent($3))):l.onClose(),i==null||i(C)}}),x=h.useMemo(()=>y?w.current?"delayed-open":"instant-open":"closed",[y]),S=h.useCallback(()=>{window.clearTimeout(p.current),w.current=!1,b(!0)},[b]),_=h.useCallback(()=>{window.clearTimeout(p.current),b(!1)},[b]),E=h.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{w.current=!0,b(!0)},g)},[g,b]);return h.useEffect(()=>()=>window.clearTimeout(p.current),[]),h.createElement(wse,c,h.createElement(Tse,{scope:t,contentId:f,open:y,stateAttribute:x,trigger:u,onTriggerChange:d,onTriggerEnter:h.useCallback(()=>{l.isOpenDelayed?E():S()},[l.isOpenDelayed,E,S]),onTriggerLeave:h.useCallback(()=>{m?_():window.clearTimeout(p.current)},[_,m]),onOpen:S,onClose:_,disableHoverableContent:m},n))},ex="TooltipTrigger",Rse=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Nf(ex,n),i=U4(ex,n),a=lm(n),s=h.useRef(null),l=Le(t,s,o.onTriggerChange),c=h.useRef(!1),u=h.useRef(!1),d=h.useCallback(()=>c.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.createElement(xse,W({asChild:!0},a),h.createElement(Ve.button,W({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:ce(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ce(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})))}),GR="TooltipPortal",[Fse,Ise]=sm(GR,{forceMount:void 0}),Pse=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=Nf(GR,t);return h.createElement(Fse,{scope:t,forceMount:n},h.createElement(fo,{present:n||i.open},h.createElement(_4,{asChild:!0,container:o},r)))},Kd="TooltipContent",Ose=h.forwardRef((e,t)=>{const n=Ise(Kd,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=Nf(Kd,e.__scopeTooltip);return h.createElement(fo,{present:r||a.open},a.disableHoverableContent?h.createElement(XR,W({side:o},i,{ref:t})):h.createElement(jse,W({side:o},i,{ref:t})))}),jse=h.forwardRef((e,t)=>{const n=Nf(Kd,e.__scopeTooltip),r=U4(Kd,e.__scopeTooltip),o=h.useRef(null),i=Le(t,o),[a,s]=h.useState(null),{trigger:l,onClose:c}=n,u=o.current,{onPointerInTransitChange:d}=r,f=h.useCallback(()=>{s(null),d(!1)},[d]),p=h.useCallback((m,g)=>{const w=m.currentTarget,y={x:m.clientX,y:m.clientY},b=Bse(y,w.getBoundingClientRect()),x=b==="right"||b==="bottom"?-5:5,_=b==="right"||b==="left"?{x:m.clientX+x,y:m.clientY}:{x:m.clientX,y:m.clientY+x},E=zse(g.getBoundingClientRect()),C=Hse([_,...E]);s(C),d(!0)},[d]);return h.useEffect(()=>()=>f(),[f]),h.useEffect(()=>{if(l&&u){const m=w=>p(w,u),g=w=>p(w,l);return l.addEventListener("pointerleave",m),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",m),u.removeEventListener("pointerleave",g)}}},[l,u,p,f]),h.useEffect(()=>{if(a){const m=g=>{const w=g.target,y={x:g.clientX,y:g.clientY},b=(l==null?void 0:l.contains(w))||(u==null?void 0:u.contains(w)),x=!Use(y,a);b?f():x&&(f(),c())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[l,u,a,c,f]),h.createElement(XR,W({},e,{ref:i}))}),[Dse,Mse]=sm(H4,{isInside:!1}),XR=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=Nf(Kd,n),c=lm(n),{onClose:u}=l;return h.useEffect(()=>(document.addEventListener($3,u),()=>document.removeEventListener($3,u)),[u]),h.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),h.createElement(Nh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:u},h.createElement(Sse,W({"data-state":l.stateAttribute},c,s,{ref:t,style:{...s.style,["--radix-tooltip-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}),h.createElement(i$,null,r),h.createElement(Dse,{scope:n,isInside:!0},h.createElement(Fee,{id:l.contentId,role:"tooltip"},o||r))))}),Lse="TooltipArrow",Nse=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=lm(n);return Mse(Lse,n).isInside?null:h.createElement(Ese,W({},o,r,{ref:t}))});function Bse(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:return null}}function zse(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Use(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;ir!=u>r&&n<(c-s)*(r-l)/(u-l)+s&&(o=!o)}return o}function Hse(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),Vse(t)}function Vse(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const Wse=$se,Zse=Ase,Gse=Rse,Xse=Pse,qse=Ose,Kse=Nse,Yse=bt({"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),Qse=bt({"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),Jse=bt({"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}}),ele=bt({"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}}),tle=H(qse,{maxWidth:"100rem",border:"1px solid $neutral300",wordWrap:"break-word",borderRadius:4,padding:"10px 15px",fontSize:"$xxsmall",color:"$black",backgroundColor:"$neutral100",boxShadow:"$tooltip",userSelect:"none",animationDuration:"400ms",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",zIndex:"$z-40",willChange:"transform, opacity",'&[data-state="delayed-open"]':{'&[data-side="top"]':{animationName:Jse},'&[data-side="right"]':{animationName:ele},'&[data-side="bottom"]':{animationName:Yse},'&[data-side="left"]':{animationName:Qse}}}),nle=H(Kse,{fill:"transparent"}),gl={Provider:Wse,Root:Zse,Trigger:Gse,Portal:Xse,Content:tle,Arrow:nle},rle={height:"100%",display:"flex",flexDirection:"column"},ole=({children:e,css:t})=>(zH(),v.jsx(_e,{css:{...rle,...t},children:e})),ile={...iZ,position:"fixed",height:"9.2rem",padding:"0 1.2rem",width:"calc(100% - 7rem)",top:"5rem",left:"6rem",alignItems:"center",backdropFilter:"blur(5px)",boxShadow:"0px 1.28446px 25.6891px rgba(31, 41, 90, 0.12)",backgroundColor:"$white_05",borderRadius:"$regular",zIndex:"$z-10"},ale=({children:e,css:t})=>v.jsx(xe,{css:{...ile,...t},children:e});/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -133,7 +133,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var T3=function(e,t){return T3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},T3(e,t)};function sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");T3(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var D1=function(){return D1=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&Ui[0]<4?1:+(Ui[0]+Ui[1])),!C0&&r2&&(!(Ui=r2.match(/Edge\/(\d+)/))||Ui[1]>=74)&&(Ui=r2.match(/Chrome\/(\d+)/))&&(C0=+Ui[1]);var M1=C0,Ar=!!Object.getOwnPropertySymbols&&!vt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&M1&&M1<41}),Z4=Ar&&!Symbol.sham&&typeof Symbol.iterator=="symbol",gle=Object,jc=Z4?function(e){return typeof e=="symbol"}:function(e){var t=ho("Symbol");return yt(t)&&Hs(t.prototype,gle(e))},vle=String,ou=function(e){try{return vle(e)}catch{return"Object"}},yle=TypeError,G4=function(e){if(yt(e))return e;throw yle(ou(e)+" is not a function")},L1=function(e,t){var n=e[t];return n==null?void 0:G4(n)},ble=TypeError,wle=Object.defineProperty,X4=function(e,t){try{wle(je,e,{value:t,configurable:!0,writable:!0})}catch{je[e]=t}return t},ba=je["__core-js_shared__"]||X4("__core-js_shared__",{}),Ha=ru(function(e){(e.exports=function(t,n){return ba[t]||(ba[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.24.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),xle=Object,iu=function(e){return xle(zf(e))},Sle=Be({}.hasOwnProperty),Se=Object.hasOwn||function(e,t){return Sle(iu(e),t)},Ele=0,_le=Math.random(),Cle=Be(1 .toString),Dc=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Cle(++Ele+_le,36)},Tu=Ha("wks"),ks=je.Symbol,sx=ks&&ks.for,kle=Z4?ks:ks&&ks.withoutSetter||Dc,Nt=function(e){if(!Se(Tu,e)||!Ar&&typeof Tu[e]!="string"){var t="Symbol."+e;Ar&&Se(ks,e)?Tu[e]=ks[e]:Tu[e]=Z4&&sx?sx(t):kle(t)}return Tu[e]},$le=TypeError,Tle=Nt("toPrimitive"),Ale=function(e,t){if(!$t(e)||jc(e))return e;var n,r=L1(e,Tle);if(r){if(t===void 0&&(t="default"),n=Tn(r,e,t),!$t(n)||jc(n))return n;throw $le("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&yt(a=o.toString)&&!$t(s=Tn(a,o))||yt(a=o.valueOf)&&!$t(s=Tn(a,o))||i!=="string"&&yt(a=o.toString)&&!$t(s=Tn(a,o)))return s;throw ble("Can't convert object to primitive value")}(e,t)},Vs=function(e){var t=Ale(e,"string");return jc(t)?t:t+""},F3=je.document,Rle=$t(F3)&&$t(F3.createElement),YR=function(e){return Rle?F3.createElement(e):{}},QR=!et&&!vt(function(){return Object.defineProperty(YR("div"),"a",{get:function(){return 7}}).a!=7}),lx=Object.getOwnPropertyDescriptor,Uf={f:et?lx:function(e,t){if(e=Zo(e),t=Vs(t),QR)try{return lx(e,t)}catch{}if(Se(e,t))return Us(!Tn(W4.f,e,t),e[t])}},JR=et&&vt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Fle=String,Ile=TypeError,en=function(e){if($t(e))return e;throw Ile(Fle(e)+" is not an object")},Ple=TypeError,o2=Object.defineProperty,Ole=Object.getOwnPropertyDescriptor,bn={f:et?JR?function(e,t,n){if(en(e),t=Vs(t),en(n),typeof e=="function"&&t==="prototype"&&"value"in n&&"writable"in n&&!n.writable){var r=Ole(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return o2(e,t,n)}:o2:function(e,t,n){if(en(e),t=Vs(t),en(n),QR)try{return o2(e,t,n)}catch{}if("get"in n||"set"in n)throw Ple("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},cm=et?function(e,t,n){return bn.f(e,t,Us(1,n))}:function(e,t,n){return e[t]=n,e},eF=Function.prototype,jle=et&&Object.getOwnPropertyDescriptor,i2=Se(eF,"name"),q4={EXISTS:i2,PROPER:i2&&function(){}.name==="something",CONFIGURABLE:i2&&(!et||et&&jle(eF,"name").configurable)},Dle=Be(Function.toString);yt(ba.inspectSource)||(ba.inspectSource=function(e){return Dle(e)});var N1,ud,B1,K4=ba.inspectSource,cx=je.WeakMap,Mle=yt(cx)&&/native code/.test(K4(cx)),ux=Ha("keys"),um=function(e){return ux[e]||(ux[e]=Dc(e))},au={},I3=je.TypeError,Lle=je.WeakMap;if(Mle||ba.state){var Ga=ba.state||(ba.state=new Lle),Nle=Be(Ga.get),dx=Be(Ga.has),Ble=Be(Ga.set);N1=function(e,t){if(dx(Ga,e))throw new I3("Object already initialized");return t.facade=e,Ble(Ga,e,t),t},ud=function(e){return Nle(Ga,e)||{}},B1=function(e){return dx(Ga,e)}}else{var vl=um("state");au[vl]=!0,N1=function(e,t){if(Se(e,vl))throw new I3("Object already initialized");return t.facade=e,cm(e,vl,t),t},ud=function(e){return Se(e,vl)?e[vl]:{}},B1=function(e){return Se(e,vl)}}var Br={set:N1,get:ud,has:B1,enforce:function(e){return B1(e)?ud(e):N1(e,{})},getterFor:function(e){return function(t){var n;if(!$t(t)||(n=ud(t)).type!==e)throw I3("Incompatible receiver, "+e+" required");return n}}},zle=ru(function(e){var t=q4.CONFIGURABLE,n=Br.enforce,r=Br.get,o=Object.defineProperty,i=et&&!vt(function(){return o(function(){},"length",{value:8}).length!==8}),a=String(String).split("String"),s=e.exports=function(l,c,u){String(c).slice(0,7)==="Symbol("&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),u&&u.getter&&(c="get "+c),u&&u.setter&&(c="set "+c),(!Se(l,"name")||t&&l.name!==c)&&(et?o(l,"name",{value:c,configurable:!0}):l.name=c),i&&u&&Se(u,"arity")&&l.length!==u.arity&&o(l,"length",{value:u.arity});try{u&&Se(u,"constructor")&&u.constructor?et&&o(l,"prototype",{writable:!1}):l.prototype&&(l.prototype=void 0)}catch{}var d=n(l);return Se(d,"source")||(d.source=a.join(typeof c=="string"?c:"")),l};Function.prototype.toString=s(function(){return yt(this)&&r(this).source||K4(this)},"toString")}),Fn=function(e,t,n,r){r||(r={});var o=r.enumerable,i=r.name!==void 0?r.name:t;if(yt(n)&&zle(n,i,r),r.global)o?e[t]=n:X4(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch{}o?e[t]=n:bn.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Ule=Math.ceil,Hle=Math.floor,Vle=Math.trunc||function(e){var t=+e;return(t>0?Hle:Ule)(t)},Y4=function(e){var t=+e;return t!=t||t===0?0:Vle(t)},Wle=Math.max,Zle=Math.min,P3=function(e,t){var n=Y4(e);return n<0?Wle(n+t,0):Zle(n,t)},Gle=Math.min,tF=function(e){return e>0?Gle(Y4(e),9007199254740991):0},su=function(e){return tF(e.length)},fx=function(e){return function(t,n,r){var o,i=Zo(t),a=su(i),s=P3(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},nF={includes:fx(!0),indexOf:fx(!1)},Xle=nF.indexOf,px=Be([].push),rF=function(e,t){var n,r=Zo(e),o=0,i=[];for(n in r)!Se(au,n)&&Se(r,n)&&px(i,n);for(;t.length>o;)Se(r,n=t[o++])&&(~Xle(i,n)||px(i,n));return i},z1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qle=z1.concat("length","prototype"),Yd={f:Object.getOwnPropertyNames||function(e){return rF(e,qle)}},dm={f:Object.getOwnPropertySymbols},Kle=Be([].concat),Yle=ho("Reflect","ownKeys")||function(e){var t=Yd.f(en(e)),n=dm.f;return n?Kle(t,n(e)):t},oF=function(e,t,n){for(var r=Yle(t),o=bn.f,i=Uf.f,a=0;a1?arguments[1]:void 0,t.length)),r=Ti(e);return hx?hx(t,r,n):fce(t,n,n+r.length)===r}});var J4=function(e,t){return Be(je[e].prototype[t])};J4("String","startsWith");var U1=Array.isArray||function(e){return vi(e)=="Array"},mce=TypeError,mx=function(e){if(e>9007199254740991)throw mce("Maximum allowed index exceeded");return e},Qd=function(e,t,n){var r=Vs(t);r in e?bn.f(e,r,Us(0,n)):e[r]=n},cF=function(){},gce=[],uF=ho("Reflect","construct"),e5=/^\s*(?:class|function)\b/,vce=Be(e5.exec),yce=!e5.exec(cF),Au=function(e){if(!yt(e))return!1;try{return uF(cF,gce,e),!0}catch{return!1}},dF=function(e){if(!yt(e))return!1;switch(el(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yce||!!vce(e5,K4(e))}catch{return!0}};dF.sham=!0;var gx,t5=!uF||vt(function(){var e;return Au(Au.call)||!Au(Object)||!Au(function(){e=!0})||e})?dF:Au,bce=Nt("species"),vx=Array,fF=function(e,t){return new(function(n){var r;return U1(n)&&(r=n.constructor,(t5(r)&&(r===vx||U1(r.prototype))||$t(r)&&(r=r[bce])===null)&&(r=void 0)),r===void 0?vx:r}(e))(t===0?0:t)},wce=Nt("species"),pF=Nt("isConcatSpreadable"),xce=M1>=51||!vt(function(){var e=[];return e[pF]=!1,e.concat()[0]!==e}),Sce=(gx="concat",M1>=51||!vt(function(){var e=[];return(e.constructor={})[wce]=function(){return{foo:1}},e[gx](Boolean).foo!==1})),Ece=function(e){if(!$t(e))return!1;var t=e[pF];return t!==void 0?!!t:U1(e)};tn({target:"Array",proto:!0,arity:1,forced:!xce||!Sce},{concat:function(e){var t,n,r,o,i,a=iu(this),s=fF(a,0),l=0;for(t=-1,r=arguments.length;ta;)bn.f(e,n=o[a++],r[n]);return e},hF={f:Cce},kce=ho("document","documentElement"),mF=um("IE_PROTO"),s2=function(){},gF=function(e){return" +