327 lines
1.7 MiB
JavaScript
327 lines
1.7 MiB
JavaScript
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DfxjigQf.js","assets/index-DtTssDoC.css"])))=>i.map(i=>d[i]);
|
|||
|
|
var Ele=Object.defineProperty;var Pj=t=>{throw TypeError(t)};var Cle=(t,e,n)=>e in t?Ele(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var He=(t,e,n)=>Cle(t,typeof e!="symbol"?e+"":e,n),EP=(t,e,n)=>e.has(t)||Pj("Cannot "+n);var C=(t,e,n)=>(EP(t,e,"read from private field"),n?n.call(t):e.get(t)),z=(t,e,n)=>e.has(t)?Pj("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),$=(t,e,n,r)=>(EP(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),B=(t,e,n)=>(EP(t,e,"access private method"),n);var bs=(t,e,n,r)=>({set _(s){$(t,e,s,n)},get _(){return C(t,e,r)}});function mH(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)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(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Od(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ale(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}var gH={exports:{}},yC={},vH={exports:{}},Lt={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Y0=Symbol.for("react.element"),Rle=Symbol.for("react.portal"),Ple=Symbol.for("react.fragment"),Tle=Symbol.for("react.strict_mode"),kle=Symbol.for("react.profiler"),Dle=Symbol.for("react.provider"),Nle=Symbol.for("react.context"),Mle=Symbol.for("react.forward_ref"),Ole=Symbol.for("react.suspense"),Lle=Symbol.for("react.memo"),Ile=Symbol.for("react.lazy"),Tj=Symbol.iterator;function $le(t){return t===null||typeof t!="object"?null:(t=Tj&&t[Tj]||t["@@iterator"],typeof t=="function"?t:null)}var yH={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bH=Object.assign,wH={};function yv(t,e,n){this.props=t,this.context=e,this.refs=wH,this.updater=n||yH}yv.prototype.isReactComponent={};yv.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};yv.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function _H(){}_H.prototype=yv.prototype;function lO(t,e,n){this.props=t,this.context=e,this.refs=wH,this.updater=n||yH}var cO=lO.prototype=new _H;cO.constructor=lO;bH(cO,yv.prototype);cO.isPureReactComponent=!0;var kj=Array.isArray,xH=Object.prototype.hasOwnProperty,uO={current:null},SH={key:!0,ref:!0,__self:!0,__source:!0};function EH(t,e,n){var r,s={},i=null,a=null;if(e!=null)for(r in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(i=""+e.key),e)xH.call(e,r)&&!SH.hasOwnProperty(r)&&(s[r]=e[r]);var o=arguments.length-2;if(o===1)s.children=n;else if(1<o){for(var c=Array(o),u=0;u<o;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(r in o=t.defaultProps,o)s[r]===void 0&&(s[r]=o[r]);return{$$typeof:Y0,type:t,key:i,ref:a,props:s,_owner:uO.current}}function Fle(t,e){return{$$typeof:Y0,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function dO(t){return typeof t=="object"&&t!==null&&t.$$typeof===Y0}function jle(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Dj=/\/+/g;function CP(t,e){return typeof t=="object"&&t!==null&&t.key!=null?jle(""+t.key):e.toString(36)}function TS(t,e,n,r,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Y0:case Rle:a=!0}}if(a)return a=t,s=s(a),t=r===""?"."+CP(a,0):r,kj(s)?(n="",t!=null&&(n=t.replace(Dj,"$&/")+"/"),TS(s,e,n,"",function(u){return u})):s!=null&&(dO(s)&&(s=Fle(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(Dj,"$&/")+"/")+t)),e.push(s)),1;if(a=0,r=r===""?".":r+":",kj(t))for(var o=0;o<t.length;o++){i=t[o];var c=r+CP(i,o);a+=TS(i,e,n,c,s)}else if(c=$le(t),typeof c=="function")for(t=c.call(t),o=0;!(i=t.next()).done;)i=i.value,c=r+CP(i,o++),a+=TS(i,e,n,c,s);else if(i==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function Mx(t,e,n){if(t==null)return t;var r=[],s=0;return TS(t,r,"","",function(i){return e.call(n,i,s++)}),r}function zle(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Zs={current:null},kS={transition:null},Ble={ReactCurrentDispatcher:Zs,ReactCurrentBatchConfig:kS,ReactCurrentOwner:uO};function CH(){throw Error("act(...) is not supported in production builds of React.")}Lt.Children={map:Mx,forEach:function(t,e,n){Mx(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Mx(t,function(){e++}),e},toArray:function(t){return Mx(t,function(e){return e})||[]},only:function(t){if(!dO(t))throw Error("React.Children.only expect
|
|||
|
|
* @license React
|
|||
|
|
* react-jsx-runtime.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Ule=_,Hle=Symbol.for("react.element"),Wle=Symbol.for("react.fragment"),Vle=Object.prototype.hasOwnProperty,qle=Ule.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Gle={key:!0,ref:!0,__self:!0,__source:!0};function AH(t,e,n){var r,s={},i=null,a=null;n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)Vle.call(e,r)&&!Gle.hasOwnProperty(r)&&(s[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)s[r]===void 0&&(s[r]=e[r]);return{$$typeof:Hle,type:t,key:i,ref:a,props:s,_owner:qle.current}}yC.Fragment=Wle;yC.jsx=AH;yC.jsxs=AH;gH.exports=yC;var P=gH.exports,Ek={},RH={exports:{}},co={},PH={exports:{}},TH={};/**
|
|||
|
|
* @license React
|
|||
|
|
* scheduler.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/(function(t){function e(H,ee){var re=H.length;H.push(ee);e:for(;0<re;){var X=re-1>>>1,G=H[X];if(0<s(G,ee))H[X]=ee,H[re]=G,re=X;else break e}}function n(H){return H.length===0?null:H[0]}function r(H){if(H.length===0)return null;var ee=H[0],re=H.pop();if(re!==ee){H[0]=re;e:for(var X=0,G=H.length,K=G>>>1;X<K;){var J=2*(X+1)-1,ue=H[J],de=J+1,ie=H[de];if(0>s(ue,re))de<G&&0>s(ie,ue)?(H[X]=ie,H[de]=re,X=de):(H[X]=ue,H[J]=re,X=J);else if(de<G&&0>s(ie,re))H[X]=ie,H[de]=re,X=de;else break e}}return ee}function s(H,ee){var re=H.sortIndex-ee.sortIndex;return re!==0?re:H.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var a=Date,o=a.now();t.unstable_now=function(){return a.now()-o}}var c=[],u=[],f=1,l=null,d=3,m=!1,p=!1,h=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(H){for(var ee=n(u);ee!==null;){if(ee.callback===null)r(u);else if(ee.startTime<=H)r(u),ee.sortIndex=ee.expirationTime,e(c,ee);else break;ee=n(u)}}function x(H){if(h=!1,w(H),!p)if(n(c)!==null)p=!0,Y(A);else{var ee=n(u);ee!==null&&W(x,ee.startTime-H)}}function A(H,ee){p=!1,h&&(h=!1,g(E),E=-1),m=!0;var re=d;try{for(w(ee),l=n(c);l!==null&&(!(l.expirationTime>ee)||H&&!M());){var X=l.callback;if(typeof X=="function"){l.callback=null,d=l.priorityLevel;var G=X(l.expirationTime<=ee);ee=t.unstable_now(),typeof G=="function"?l.callback=G:l===n(c)&&r(c),w(ee)}else r(c);l=n(c)}if(l!==null)var K=!0;else{var J=n(u);J!==null&&W(x,J.startTime-ee),K=!1}return K}finally{l=null,d=re,m=!1}}var k=!1,R=null,E=-1,T=5,D=-1;function M(){return!(t.unstable_now()-D<T)}function L(){if(R!==null){var H=t.unstable_now();D=H;var ee=!0;try{ee=R(!0,H)}finally{ee?I():(k=!1,R=null)}}else k=!1}var I;if(typeof v=="function")I=function(){v(L)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,U=F.port2;F.port1.onmessage=L,I=function(){U.postMessage(null)}}else I=function(){y(L,0)};function Y(H){R=H,k||(k=!0,I())}function W(H,ee){E=y(function(){H(t.unstable_now())},ee)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_continueExecution=function(){p||m||(p=!0,Y(A))},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(H){switch(d){case 1:case 2:case 3:var ee=3;break;default:ee=d}var re=d;d=ee;try{return H()}finally{d=re}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var re=d;d=H;try{return ee()}finally{d=re}},t.unstable_scheduleCallback=function(H,ee,re){var X=t.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?X+re:X):re=X,H){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=re+G,H={id:f++,callback:ee,priorityLevel:H,startTime:re,expirationTime:G,sortIndex:-1},re>X?(H.sortIndex=re,e(u,H),n(c)===null&&H===n(u)&&(h?(g(E),E=-1):h=!0,W(x,re-X))):(H.sortIndex=G,e(c,H),p||m||(p=!0,Y(A))),H},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(H){var ee=d;return function(){var re=d;d=ee;try{return H.apply(this,arguments)}finally{d=re}}}})(TH);PH.exports=TH;var Kle=PH.exports;/**
|
|||
|
|
* @license React
|
|||
|
|
* react-dom.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Yle=_,ao=Kle;function ke(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var kH=new Set,Ab={};function dp(t,e){tv(t,e),tv(t+"Capture",e)}function tv(t,e){for(Ab[t]=e,t=0;t<e.length;t++)kH.add(e[t])}var Bc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ck=Object.prototype.hasOwnProperty,Xle=/^[: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]*$/,Nj={},Mj={};function Qle(t){return Ck.call(Mj,t)?!0:Ck.call(Nj,t)?!1:Xle.test(t)?Mj[t]=!0:(Nj[t]=!0,!1)}function Jle(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function Zle(t,e,n,r){if(e===null||typeof e>"u"||Jle(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function ei(t,e,n,r,s,i,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var hs={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){hs[t]=new ei(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];hs[e]=new ei(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){hs[t]=new ei(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){hs[t]=new ei(t,2,!1,t,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(t){hs[t]=new ei(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){hs[t]=new ei(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){hs[t]=new ei(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){hs[t]=new ei(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){hs[t]=new ei(t,5,!1,t.toLowerCase(),null,!1,!1)});var fO=/[\-:]([a-z])/g;function hO(t){return t[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 ver
|
|||
|
|
`+AP+t}var RP=!1;function PP(t,e){if(!t||RP)return"";RP=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var r=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){r=u}t.call(e.prototype)}else{try{throw Error()}catch(u){r=u}t()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
|
|||
|
|
`),i=r.stack.split(`
|
|||
|
|
`),a=s.length-1,o=i.length-1;1<=a&&0<=o&&s[a]!==i[o];)o--;for(;1<=a&&0<=o;a--,o--)if(s[a]!==i[o]){if(a!==1||o!==1)do if(a--,o--,0>o||s[a]!==i[o]){var c=`
|
|||
|
|
`+s[a].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=a&&0<=o);break}}}finally{RP=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?My(t):""}function ece(t){switch(t.tag){case 5:return My(t.type);case 16:return My("Lazy");case 13:return My("Suspense");case 19:return My("SuspenseList");case 0:case 2:case 15:return t=PP(t.type,!1),t;case 11:return t=PP(t.type.render,!1),t;case 1:return t=PP(t.type,!0),t;default:return""}}function Tk(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case fm:return"Fragment";case dm:return"Portal";case Ak:return"Profiler";case mO:return"StrictMode";case Rk:return"Suspense";case Pk:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case NH:return(t.displayName||"Context")+".Consumer";case DH:return(t._context.displayName||"Context")+".Provider";case gO:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case vO:return e=t.displayName||null,e!==null?e:Tk(t.type)||"Memo";case Au:e=t._payload,t=t._init;try{return Tk(t(e))}catch{}}return null}function tce(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tk(e);case 8:return e===mO?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Ed(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function OH(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function nce(t){var e=OH(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Lx(t){t._valueTracker||(t._valueTracker=nce(t))}function LH(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=OH(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function RE(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function kk(t,e){var n=e.checked;return rr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Lj(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Ed(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function IH(t,e){e=e.checked,e!=null&&pO(t,"checked",e,!1)}function Dk(t,e){IH(t,e);var n=Ed(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Nk(t,e.type,n):e.hasOwnProperty("defaultValue")&&Nk(t,e.type,Ed(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Ij(t,e,n){if(e.hasOwnProperty(
|
|||
|
|
`).replace(fue,"")}function Hx(t,e,n){if(e=i3(e),i3(t)!==e&&n)throw Error(ke(425))}function LE(){}var qk=null,Gk=null;function Kk(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Yk=typeof setTimeout=="function"?setTimeout:void 0,hue=typeof clearTimeout=="function"?clearTimeout:void 0,o3=typeof Promise=="function"?Promise:void 0,pue=typeof queueMicrotask=="function"?queueMicrotask:typeof o3<"u"?function(t){return o3.resolve(null).then(t).catch(mue)}:Yk;function mue(t){setTimeout(function(){throw t})}function BP(t,e){var n=e,r=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){t.removeChild(s),Db(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Db(e)}function vd(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function a3(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var wv=Math.random().toString(36).slice(2),fl="__reactFiber$"+wv,Ib="__reactProps$"+wv,Uc="__reactContainer$"+wv,Xk="__reactEvents$"+wv,gue="__reactListeners$"+wv,vue="__reactHandles$"+wv;function xf(t){var e=t[fl];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Uc]||n[fl]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=a3(t);t!==null;){if(n=t[fl])return n;t=a3(t)}return e}t=n,n=t.parentNode}return null}function Z0(t){return t=t[fl]||t[Uc],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function gm(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(ke(33))}function SC(t){return t[Ib]||null}var Qk=[],vm=-1;function Id(t){return{current:t}}function Un(t){0>vm||(t.current=Qk[vm],Qk[vm]=null,vm--)}function On(t,e){vm++,Qk[vm]=t.current,t.current=e}var Cd={},Os=Id(Cd),xi=Id(!1),jh=Cd;function nv(t,e){var n=t.type.contextTypes;if(!n)return Cd;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=s),s}function Si(t){return t=t.childContextTypes,t!=null}function IE(){Un(xi),Un(Os)}function l3(t,e,n){if(Os.current!==Cd)throw Error(ke(168));On(Os,e),On(xi,n)}function E5(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in e))throw Error(ke(108,tce(t)||"Unknown",s));return rr({},n,r)}function $E(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Cd,jh=Os.current,On(Os,t),On(xi,xi.current),!0}function c3(t,e,n){var r=t.stateNode;if(!r)throw Error(ke(169));n?(t=E5(t,e,jh),r.__reactInternalMemoizedMergedChildContext=t,Un(xi),Un(Os),On(Os,t)):Un(xi),On(xi,n)}var tc=null,EC=!1,UP=!1;function C5(t){tc===null?tc=[t]:tc.push(t)}function yue(t){EC=!0,C5(t)}function $d(){if(!UP&&tc!==null){UP=!0;var t=0,e=mn;try{var n=tc;for(mn=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}tc=null,EC=!1}catch(s){throw tc!==null&&(tc=tc.slice(t+1)),XH(bO,$d),s}finally{mn=e,UP=!1}}return null}var ym=[],bm=0,FE=null,jE=0,ko=[],Do=0,zh=null,Dc=1,Nc="";function df(t,e){ym[bm++]=jE,ym[bm++]=FE,FE=t,jE=e}function A5(t,e,n){ko[Do++]=Dc,ko[Do++]=Nc,ko[Do++]=zh,zh=t;var r=Dc;t=Nc;var s=32-xa(r)-1;r&=~(1<<s),n+=1;var i=32-xa(e)+s;if(30<i){var a=s-s%5;i=(r&(1<<a)-1).toString(32),r>>=a,s-=a,Dc=1<<32-xa(e)+s|n<<s|r,Nc=i+t}else Dc=1<<i|n<<s|r,Nc=t}function PO(t){t.return!==null&&(df(t,1),A5(t,1,0))}function TO(t){for(;t===FE;)FE=ym[--bm],ym[bm]=null,jE=ym[--bm],ym[bm]=null;for(;t===zh;)zh=ko[--Do],ko[Do]=null,Nc=ko[--Do],ko[Do]=null,Dc=ko[--Do],ko[Do]=null}var so=null,ro=null,Kn=!1,ba=null;function R5(t,e){var n=Lo(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return
|
|||
|
|
Error generating stack: `+i.message+`
|
|||
|
|
`+i.stack}return{value:t,source:e,stack:s,digest:null}}function GP(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function rD(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var Rue=typeof WeakMap=="function"?WeakMap:Map;function eW(t,e,n){n=Mc(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){GE||(GE=!0,hD=r),rD(t,e)},n}function tW(t,e,n){n=Mc(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var s=e.value;n.payload=function(){return r(s)},n.callback=function(){rD(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){rD(t,e),typeof r!="function"&&(bd===null?bd=new Set([this]):bd.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),n}function b3(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new Rue;var s=new Set;r.set(e,s)}else s=r.get(e),s===void 0&&(s=new Set,r.set(e,s));s.has(n)||(s.add(n),t=Bue.bind(null,t,e,n),e.then(t,t))}function w3(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function _3(t,e,n,r,s){return t.mode&1?(t.flags|=65536,t.lanes=s,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=Mc(-1,1),e.tag=2,yd(n,e,1))),n.lanes|=1),t)}var Pue=Yc.ReactCurrentOwner,vi=!1;function Vs(t,e,n,r){e.child=t===null?k5(e,null,n,r):sv(e,t.child,n,r)}function x3(t,e,n,r,s){n=n.render;var i=e.ref;return Dm(e,s),r=zO(t,e,n,r,i,s),n=BO(),t!==null&&!vi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Wc(t,e,s)):(Kn&&n&&PO(e),e.flags|=1,Vs(t,e,r,s),e.child)}function S3(t,e,n,r,s){if(t===null){var i=n.type;return typeof i=="function"&&!QO(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,nW(t,e,i,r,s)):(t=zS(n.type,null,r,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&s)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Mb,n(a,r)&&t.ref===e.ref)return Wc(t,e,s)}return e.flags|=1,t=_d(i,r),t.ref=e.ref,t.return=e,e.child=t}function nW(t,e,n,r,s){if(t!==null){var i=t.memoizedProps;if(Mb(i,r)&&t.ref===e.ref)if(vi=!1,e.pendingProps=r=i,(t.lanes&s)!==0)t.flags&131072&&(vi=!0);else return e.lanes=t.lanes,Wc(t,e,s)}return sD(t,e,n,r,s)}function rW(t,e,n){var r=e.pendingProps,s=r.children,i=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},On(xm,Qi),Qi|=n;else{if(!(n&1073741824))return t=i!==null?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,On(xm,Qi),Qi|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,On(xm,Qi),Qi|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,On(xm,Qi),Qi|=r;return Vs(t,e,s,n),e.child}function sW(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function sD(t,e,n,r,s){var i=Si(n)?jh:Os.current;return i=nv(e,i),Dm(e,s),n=zO(t,e,n,r,i,s),r=BO(),t!==null&&!vi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Wc(t,e,s)):(Kn&&r&&PO(e),e.flags|=1,Vs(t,e,n,s),e.child)}function E3(t,e,n,r,s){if(Si(n)){var i=!0;$E(e)}else i=!1;if(Dm(e,s),e.stateNode===null)$S(t,e),Z5(e,n,r),nD(e,n,r,s),r=!0;else if(t===null){var a=e.stateNode,o=e.memoizedProps;a.props=o;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=zo(u):(u=Si(n)?jh:Os.current,u=nv(e,u));var f=n.getDerivedStateFromProps,l=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";l||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(o!==r||c!==u)&&y3(e,a,r,u),Ru=!1;var d=e.memoizedState;a.state=d,UE(e,r,a,s),c=e.memoizedState,o!==r||d!==c||xi.current||Ru?(typeof f=="function"&&(tD(e,n,f,r),c=e.memoizedState),(o=Ru||v3(e,n,o,r,d,c,u))?(l||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeo
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Sfe=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uV=(...t)=>t.filter((e,n,r)=>!!e&&r.indexOf(e)===n).join(" ");/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Efe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Cfe=_.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:a,...o},c)=>_.createElement("svg",{ref:c,...Efe,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:uV("lucide",s),...o},[...a.map(([u,f])=>_.createElement(u,f)),...Array.isArray(i)?i:[i]]));/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const es=(t,e)=>{const n=_.forwardRef(({className:r,...s},i)=>_.createElement(Cfe,{ref:i,iconNode:e,className:uV(`lucide-${Sfe(t)}`,r),...s}));return n.displayName=`${t}`,n};/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Afe=es("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const r_=es("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const IC=es("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const pL=es("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const s_=es("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Rfe=es("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Pfe=es("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Tfe=es("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const $C=es("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const kfe=es("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Dfe=es("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Nfe=es("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Mfe=es("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Ofe=es("Package2",[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Lfe=es("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Ife=es("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const $fe=es("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|||
|
|
* @license lucide-react v0.427.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const mL=es("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function dV(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=dV(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function hp(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=dV(t))&&(r&&(r+=" "),r+=e);return r}const gL="-",Ffe=t=>{const e=zfe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const o=a.split(gL);return o[0]===""&&o.length!==1&&o.shift(),fV(o,e)||jfe(a)},getConflictingClassGroupIds:(a,o)=>{const c=n[a]||[];return o&&r[a]?[...c,...r[a]]:c}}},fV=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),s=r?fV(t.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const i=t.join(gL);return(a=e.validators.find(({validator:o})=>o(i)))==null?void 0:a.classGroupId},G3=/^\[(.+)\]$/,jfe=t=>{if(G3.test(t)){const e=G3.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},zfe=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return Ufe(Object.entries(t.classGroups),n).forEach(([i,a])=>{MD(a,r,i,e)}),r},MD=(t,e,n,r)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?e:K3(e,s);i.classGroupId=n;return}if(typeof s=="function"){if(Bfe(s)){MD(s(r),e,n,r);return}e.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,a])=>{MD(a,K3(e,i),n,r)})})},K3=(t,e)=>{let n=t;return e.split(gL).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Bfe=t=>t.isThemeGetter,Ufe=(t,e)=>e?t.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,o])=>[e+a,o])):i);return[n,s]}):t,Hfe=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const s=(i,a)=>{n.set(i,a),e++,e>t&&(e=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return s(i,a),a},set(i,a){n.has(i)?n.set(i,a):s(i,a)}}},hV="!",Wfe=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,s=e[0],i=e.length,a=o=>{const c=[];let u=0,f=0,l;for(let y=0;y<o.length;y++){let g=o[y];if(u===0){if(g===s&&(r||o.slice(y,y+i)===e)){c.push(o.slice(f,y)),f=y+i;continue}if(g==="/"){l=y;continue}}g==="["?u++:g==="]"&&u--}const d=c.length===0?o:o.substring(f),m=d.startsWith(hV),p=m?d.substring(1):d,h=l&&l>f?l-f:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:h}};return n?o=>n({className:o,parseClassName:a}):a},Vfe=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},qfe=t=>({cache:Hfe(t.cacheSize),parseClassName:Wfe(t),...Ffe(t)}),Gfe=/\s+/,Kfe=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=e,i=[],a=t.trim().split(Gfe);let o="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:f,hasImportantModifier:l,baseClassName:d,maybePostfixModifierPosition:m}=n(u);let p=!!m,h=r(p?d.substring(0,m):d);if(!h){if(!p){o=u+(o.length>0?" "+o:o);continue}if(h=r(d),!h){o=u+(o.length>0?" "+o:o);continue}p=!1}const y=Vfe(f).join(":"),g=l?y+hV:y,v=g+h;if(i.includes(v))continue;i.push(v);const w=s(h,p);for(let x=0;x<w.length;++x){const A=w[x];i.push(g+A)}o=u+(o.length>0?" "+o:o)}return o};function Yfe(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=pV(e))&&(r&&(r+=" "),r+=n);return r}const pV=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=pV(t[r]))&&(n&&(n+=" "),n+=e);return n};function Xfe(t,...e){let n,r,s,i=a;function a(c){const u=e.reduce((f,l)=>l(f),t());return n=qfe(u),r=n.cache.get,s=n.cache.set,i=o,o(c)}function o(c){const u=r(c);if(u)return u;const f=Kfe(c,n);return s(c,f),f}return function(){return i(Yfe.apply(null,arguments))}}const Fn=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},mV=/^\[(?:([
|
|||
|
|
.`.concat(jhe,` {
|
|||
|
|
overflow: hidden `).concat(r,`;
|
|||
|
|
padding-right: `).concat(o,"px ").concat(r,`;
|
|||
|
|
}
|
|||
|
|
body[`).concat($m,`] {
|
|||
|
|
overflow: hidden `).concat(r,`;
|
|||
|
|
overscroll-behavior: contain;
|
|||
|
|
`).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|||
|
|
padding-left: `.concat(s,`px;
|
|||
|
|
padding-top: `).concat(i,`px;
|
|||
|
|
padding-right: `).concat(a,`px;
|
|||
|
|
margin-left:0;
|
|||
|
|
margin-top:0;
|
|||
|
|
margin-right: `).concat(o,"px ").concat(r,`;
|
|||
|
|
`),n==="padding"&&"padding-right: ".concat(o,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.`).concat(Lm,` {
|
|||
|
|
right: `).concat(o,"px ").concat(r,`;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.`).concat(Im,` {
|
|||
|
|
margin-right: `).concat(o,"px ").concat(r,`;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.`).concat(Lm," .").concat(Lm,` {
|
|||
|
|
right: 0 `).concat(r,`;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.`).concat(Im," .").concat(Im,` {
|
|||
|
|
margin-right: 0 `).concat(r,`;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
body[`).concat($m,`] {
|
|||
|
|
`).concat(zhe,": ").concat(o,`px;
|
|||
|
|
}
|
|||
|
|
`)},iz=function(){var t=parseInt(document.body.getAttribute($m)||"0",10);return isFinite(t)?t:0},npe=function(){_.useEffect(function(){return document.body.setAttribute($m,(iz()+1).toString()),function(){var t=iz()-1;t<=0?document.body.removeAttribute($m):document.body.setAttribute($m,t.toString())}},[])},_L=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;npe();var i=_.useMemo(function(){return Zhe(s)},[s]);return _.createElement(epe,{styles:tpe(i,!e,s,n?"":"!important")})},LD=!1;if(typeof window<"u")try{var Jx=Object.defineProperty({},"passive",{get:function(){return LD=!0,!0}});window.addEventListener("test",Jx,Jx),window.removeEventListener("test",Jx,Jx)}catch{LD=!1}var $p=LD?{passive:!1}:!1,rpe=function(t){return t.tagName==="TEXTAREA"},EV=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!rpe(t)&&n[e]==="visible")},spe=function(t){return EV(t,"overflowY")},ipe=function(t){return EV(t,"overflowX")},oz=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=CV(t,r);if(s){var i=AV(t,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ope=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},ape=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},CV=function(t,e){return t==="v"?spe(e):ipe(e)},AV=function(t,e){return t==="v"?ope(e):ape(e)},lpe=function(t,e){return t==="h"&&e==="rtl"?-1:1},cpe=function(t,e,n,r,s){var i=lpe(t,window.getComputedStyle(e).direction),a=i*r,o=n.target,c=e.contains(o),u=!1,f=a>0,l=0,d=0;do{var m=AV(t,o),p=m[0],h=m[1],y=m[2],g=h-y-i*p;(p||g)&&CV(t,o)&&(l+=g,d+=p),o instanceof ShadowRoot?o=o.host:o=o.parentNode}while(!c&&o!==document.body||c&&(e.contains(o)||e===o));return(f&&Math.abs(l)<1||!f&&Math.abs(d)<1)&&(u=!0),u},Zx=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},az=function(t){return[t.deltaX,t.deltaY]},lz=function(t){return t&&"current"in t?t.current:t},upe=function(t,e){return t[0]===e[0]&&t[1]===e[1]},dpe=function(t){return`
|
|||
|
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|||
|
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|||
|
|
`)},fpe=0,Fp=[];function hpe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(fpe++)[0],i=_.useState(BC)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=vL([t.lockRef.current],(t.shards||[]).map(lz),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var g=Zx(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=oz(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=oz(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return cpe(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!Fp.length||Fp[Fp.length-1]!==i)){var g="deltaY"in y?az(y):Zx(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&upe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(lz).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:ppe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=Zx(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,az(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,Zx(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return Fp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,$p),document.addEventListener("touchmove",c,$p),document.addEventListener("touchstart",f,$p),function(){Fp=Fp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,$p),document.removeEventListener("touchmove",c,$p),document.removeEventListener("touchstart",f,$p)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:dpe(s)}):null,m?_.createElement(_L,{gapMode:t.gapMode}):null)}function ppe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const mpe=wL(SV,hpe);var o_=_.forwardRef(function(t,e){return _.createElement(zC,fr({},t,{ref:e,sideCar:mpe}))});o_.classNames=zC.classNames;var gpe=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},jp=new WeakMap,eS=new WeakMap,tS={},iT=0,RV=function(t){return t&&(t.host||RV(t.parentNode))},vpe=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=RV(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},ype=function(t,e,n,r){var s=vpe(e,Array.isArray(t)?t:[t]);tS[n]||(tS[n]=new WeakMap);var i=tS[n],a=[],o=new Set,c=new Set(s),u=function(l){!l||o.has(l)||(o.add(l),u(l.parentNode))};s.forEach(u);var f=function(l){!l||c.has(l)||Array.prototype.forEach.call(l.children,function(d){if(o.has(d))f(d);else try{var m=d.getAttribute(r),p=m!==null&&m!=="false",h=(jp.get(d)||0)+1,y=(i.get(d)||0)+1;jp.set(d,h),i.set(d,y),a.push(d),h===1&&p&&eS.set(d,!0),y===1&&d.setAttribute(n,"true"),p||d.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",d,g)}})};return f(e),o.clear(),iT++,function(){a.forEach(function(l){var d=jp.get(l)-1,m=i.get(l)-1;jp.set(l,d),i.set(l,m),d||(eS.has(l)||l.removeAttribute(r),eS.delete(l)),m||l.removeAttribute(n)
|
|||
|
|
|
|||
|
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|||
|
|
|
|||
|
|
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},Ape="DialogDescriptionWarning",Rpe=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${WV(Ape).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},AL=kV,RL=NV,PL=OV,a_=LV,l_=IV,c_=FV,u_=zV,d_=UV,VV="AlertDialog",[Ppe,PHe]=Tn(VV,[TV]),Zc=TV(),qV=t=>{const{__scopeAlertDialog:e,...n}=t,r=Zc(e);return P.jsx(AL,{...r,...n,modal:!0})};qV.displayName=VV;var Tpe="AlertDialogTrigger",GV=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Zc(n);return P.jsx(RL,{...s,...r,ref:e})});GV.displayName=Tpe;var kpe="AlertDialogPortal",KV=t=>{const{__scopeAlertDialog:e,...n}=t,r=Zc(e);return P.jsx(PL,{...r,...n})};KV.displayName=kpe;var Dpe="AlertDialogOverlay",YV=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Zc(n);return P.jsx(a_,{...s,...r,ref:e})});YV.displayName=Dpe;var Fm="AlertDialogContent",[Npe,Mpe]=Ppe(Fm),XV=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,children:r,...s}=t,i=Zc(n),a=_.useRef(null),o=tt(e,a),c=_.useRef(null);return P.jsx(Epe,{contentName:Fm,titleName:QV,docsSlug:"alert-dialog",children:P.jsx(Npe,{scope:n,cancelRef:c,children:P.jsxs(l_,{role:"alertdialog",...i,...s,ref:o,onOpenAutoFocus:me(s.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=c.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[P.jsx(oL,{children:r}),P.jsx(Lpe,{contentRef:a})]})})})});XV.displayName=Fm;var QV="AlertDialogTitle",JV=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Zc(n);return P.jsx(c_,{...s,...r,ref:e})});JV.displayName=QV;var ZV="AlertDialogDescription",e6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Zc(n);return P.jsx(u_,{...s,...r,ref:e})});e6.displayName=ZV;var Ope="AlertDialogAction",t6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Zc(n);return P.jsx(d_,{...s,...r,ref:e})});t6.displayName=Ope;var n6="AlertDialogCancel",r6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,{cancelRef:s}=Mpe(n6,n),i=Zc(n),a=tt(e,s);return P.jsx(d_,{...i,...r,ref:a})});r6.displayName=n6;var Lpe=({contentRef:t})=>{const e=`\`${Fm}\` requires a description for the component to be accessible for screen reader users.
|
|||
|
|
|
|||
|
|
You can add a description to the \`${Fm}\` by passing a \`${ZV}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|||
|
|
|
|||
|
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Fm}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|||
|
|
|
|||
|
|
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return _.useEffect(()=>{var r;document.getElementById((r=t.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},Ipe=qV,$pe=GV,Fpe=KV,s6=YV,i6=XV,o6=t6,a6=r6,l6=JV,c6=e6;const Vb=Ho("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ci=_.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...s},i)=>{const a=r?Ra:"button";return P.jsx(a,{className:ce(Vb({variant:e,size:n,className:t})),ref:i,...s})});Ci.displayName="Button";const u6=Ipe,THe=$pe,jpe=Fpe,d6=_.forwardRef(({className:t,...e},n)=>P.jsx(s6,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:n}));d6.displayName=s6.displayName;const TL=_.forwardRef(({className:t,...e},n)=>P.jsxs(jpe,{children:[P.jsx(d6,{}),P.jsx(i6,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...e})]}));TL.displayName=i6.displayName;const kL=({className:t,...e})=>P.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",t),...e});kL.displayName="AlertDialogHeader";const DL=({className:t,...e})=>P.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});DL.displayName="AlertDialogFooter";const NL=_.forwardRef(({className:t,...e},n)=>P.jsx(l6,{ref:n,className:ce("text-lg font-semibold",t),...e}));NL.displayName=l6.displayName;const ML=_.forwardRef(({className:t,...e},n)=>P.jsx(c6,{ref:n,className:ce("text-sm text-muted-foreground",t),...e}));ML.displayName=c6.displayName;const OL=_.forwardRef(({className:t,...e},n)=>P.jsx(o6,{ref:n,className:ce(Vb(),t),...e}));OL.displayName=o6.displayName;const LL=_.forwardRef(({className:t,...e},n)=>P.jsx(a6,{ref:n,className:ce(Vb({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));LL.displayName=a6.displayName;const zpe=({textAreaRef:t,triggerAutoSize:e,maxHeight:n=Number.MAX_SAFE_INTEGER,minHeight:r=0})=>{const[s,i]=_.useState(!0);_.useEffect(()=>{if(t){s&&(t.style.minHeight=`${r+2}px`,n>r&&(t.style.maxHeight=`${n}px`),i(!1)),t.style.height=`${r+2}px`;const o=t.scrollHeight;o>n?t.style.height=`${n}px`:t.style.height=`${o+2}px`}},[t,e,s,n,r])},f6=_.forwardRef(({maxHeight:t=Number.MAX_SAFE_INTEGER,minHeight:e=52,className:n,onChange:r,value:s,...i},a)=>{const o=_.useRef(null),[c,u]=_.useState("");return zpe({textAreaRef:o.current,triggerAutoSize:c,maxHeight:t,minHeight:e}),_.useImperativeHandle(a,()=>({textArea:o.current,focus:()=>{var f;return(f=o.current)==null?void 0:f.focus()},maxHeight:t,minHeight:e})),_.useEffect(()=>{(s||i!=null&&i.defaultValue)&&u(s)},[s||(i==null?void 0:i.defaultValue)]),P.jsx("textarea",{...i,value:s,ref:o,className:ce("flex w-full rounded-md border
|
|||
|
|
* @license React
|
|||
|
|
* react-is.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var ZL=Symbol.for("react.element"),eI=Symbol.for("react.portal"),YC=Symbol.for("react.fragment"),XC=Symbol.for("react.strict_mode"),QC=Symbol.for("react.profiler"),JC=Symbol.for("react.provider"),ZC=Symbol.for("react.context"),G_e=Symbol.for("react.server_context"),eA=Symbol.for("react.forward_ref"),tA=Symbol.for("react.suspense"),nA=Symbol.for("react.suspense_list"),rA=Symbol.for("react.memo"),sA=Symbol.for("react.lazy"),K_e=Symbol.for("react.offscreen"),Z6;Z6=Symbol.for("react.module.reference");function Wo(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case ZL:switch(t=t.type,t){case YC:case QC:case XC:case tA:case nA:return t;default:switch(t=t&&t.$$typeof,t){case G_e:case ZC:case eA:case sA:case rA:case JC:return t;default:return e}}case eI:return e}}}Sn.ContextConsumer=ZC;Sn.ContextProvider=JC;Sn.Element=ZL;Sn.ForwardRef=eA;Sn.Fragment=YC;Sn.Lazy=sA;Sn.Memo=rA;Sn.Portal=eI;Sn.Profiler=QC;Sn.StrictMode=XC;Sn.Suspense=tA;Sn.SuspenseList=nA;Sn.isAsyncMode=function(){return!1};Sn.isConcurrentMode=function(){return!1};Sn.isContextConsumer=function(t){return Wo(t)===ZC};Sn.isContextProvider=function(t){return Wo(t)===JC};Sn.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===ZL};Sn.isForwardRef=function(t){return Wo(t)===eA};Sn.isFragment=function(t){return Wo(t)===YC};Sn.isLazy=function(t){return Wo(t)===sA};Sn.isMemo=function(t){return Wo(t)===rA};Sn.isPortal=function(t){return Wo(t)===eI};Sn.isProfiler=function(t){return Wo(t)===QC};Sn.isStrictMode=function(t){return Wo(t)===XC};Sn.isSuspense=function(t){return Wo(t)===tA};Sn.isSuspenseList=function(t){return Wo(t)===nA};Sn.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===YC||t===QC||t===XC||t===tA||t===nA||t===K_e||typeof t=="object"&&t!==null&&(t.$$typeof===sA||t.$$typeof===rA||t.$$typeof===JC||t.$$typeof===ZC||t.$$typeof===eA||t.$$typeof===Z6||t.getModuleId!==void 0)};Sn.typeOf=Wo;var rS=function(e){return q_e(e)&&e.indexOf("%")===e.length-1},Y_e=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},mT=function(e,n){for(var r=arguments.length,s=new Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i]},X_e=VC,Q_e=function(){return X_e.Date.now()},J_e=Q_e,Z_e=/\s/;function exe(t){for(var e=t.length;e--&&Z_e.test(t.charAt(e)););return e}var txe=exe,nxe=txe,rxe=/^\s+/;function sxe(t){return t&&t.slice(0,nxe(t)+1).replace(rxe,"")}var ixe=sxe,oxe=ixe,$z=g_,axe=bwe,Fz=NaN,lxe=/^[-+]0x[0-9a-f]+$/i,cxe=/^0b[01]+$/i,uxe=/^0o[0-7]+$/i,dxe=parseInt;function fxe(t){if(typeof t=="number")return t;if(axe(t))return Fz;if($z(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=$z(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=oxe(t);var n=cxe.test(t);return n||uxe.test(t)?dxe(t.slice(2),n?2:8):lxe.test(t)?Fz:+t}var hxe=fxe,pxe=g_,gT=J_e,jz=hxe,mxe="Expected a function",gxe=Math.max,vxe=Math.min;function yxe(t,e,n){var r,s,i,a,o,c,u=0,f=!1,l=!1,d=!0;if(typeof t!="function")throw new TypeError(mxe);e=jz(e)||0,pxe(n)&&(f=!!n.leading,l="maxWait"in n,i=l?gxe(jz(n.maxWait)||0,e):i,d="trailing"in n?!!n.trailing:d);function m(k){var R=r,E=s;return r=s=void 0,u=k,a=t.apply(E,R),a}function p(k){return u=k,o=setTimeout(g,e),f?m(k):a}function h(k){var R=k-c,E=k-u,T=e-R;return l?vxe(T,i-E):T}function y(k){var R=k-c,E=k-u;return c===void 0||R>=e||R<0||l&&E>=i}function g(){var k=gT();if(y(k))return v(k);o=setTimeout(g,h(k))}function v(k){return o=void 0,d&&r?m(k):(r=s=void 0,a)}function w(){o!==void 0&&clearTimeout(o),u=0,r=c=s=o=void 0}function x(){return o===void 0?a:v(gT())}function A(){var k=gT(),R=y(k);if(r=arguments,s=this,c=k,R){if(o===void 0)return p(c);if(l)return clearTimeout(o),o=setTimeout(g,e),m(c)}return o===void 0&&(o=setTimeout(g,e)),a}return A.cancel=w,A.flush=x,A}var bxe=yxe,wxe=bxe,_xe=g_,xxe="Expected a function";function Sxe(t,e,n){var r=!0,s=!0;if(typeof t!="function")throw new TypeError(xxe);return _xe(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),wxe(t,e,{leading:r,maxWait:e,trailing:s})}var Exe=Sxe;const Cxe=Od(Exe);function Kb(t){"@babel/helpers
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dxe(t,e){if(t){if(typeof t=="string")return Bz(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bz(t,e)}}function Bz(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Nxe(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,s,i,a,o=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(c=(r=i.call(n)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw s}}return o}}function Mxe(t){if(Array.isArray(t))return t}var Oxe=_.forwardRef(function(t,e){var n=t.aspect,r=t.initialDimension,s=r===void 0?{width:-1,height:-1}:r,i=t.width,a=i===void 0?"100%":i,o=t.height,c=o===void 0?"100%":o,u=t.minWidth,f=u===void 0?0:u,l=t.minHeight,d=t.maxHeight,m=t.children,p=t.debounce,h=p===void 0?0:p,y=t.id,g=t.className,v=t.onResize,w=t.style,x=w===void 0?{}:w,A=_.useRef(null),k=_.useRef();k.current=v,_.useImperativeHandle(e,function(){return Object.defineProperty(A.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),A.current},configurable:!0})});var R=_.useState({containerWidth:s.width,containerHeight:s.height}),E=Txe(R,2),T=E[0],D=E[1],M=_.useCallback(function(I,F){D(function(U){var Y=Math.round(I),W=Math.round(F);return U.containerWidth===Y&&U.containerHeight===W?U:{containerWidth:Y,containerHeight:W}})},[]);_.useEffect(function(){var I=function(ee){var re,X=ee[0].contentRect,G=X.width,K=X.height;M(G,K),(re=k.current)===null||re===void 0||re.call(k,G,K)};h>0&&(I=Cxe(I,h,{trailing:!0,leading:!1}));var F=new ResizeObserver(I),U=A.current.getBoundingClientRect(),Y=U.width,W=U.height;return M(Y,W),F.observe(A.current),function(){F.disconnect()}},[M,h]);var L=_.useMemo(function(){var I=T.containerWidth,F=T.containerHeight;if(I<0||F<0)return null;mT(rS(a)||rS(c),`The width(%s) and height(%s) are both fixed numbers,
|
|||
|
|
maybe you don't need to use a ResponsiveContainer.`,a,c),mT(!n||n>0,"The aspect(%s) must be greater than zero.",n);var U=rS(a)?I:a,Y=rS(c)?F:c;n&&n>0&&(U?Y=U/n:Y&&(U=Y*n),d&&Y>d&&(Y=d)),mT(U>0||Y>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|||
|
|
please check the style of container, or the props width(%s) and height(%s),
|
|||
|
|
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|||
|
|
height and width.`,U,Y,a,c,f,l,n);var W=!Array.isArray(m)&&Y_e(m.type).endsWith("Chart");return se.Children.map(m,function(H){return se.isValidElement(H)?_.cloneElement(H,sS({width:U,height:Y},W?{style:sS({height:"100%",width:"100%",maxHeight:Y,maxWidth:U},H.props.style)}:{})):H})},[n,m,c,d,l,f,T,a]);return se.createElement("div",{id:y?"".concat(y):void 0,className:hp("recharts-responsive-container",g),style:sS(sS({},x),{},{width:a,height:c,minWidth:f,minHeight:l,maxHeight:d}),ref:A},L)}),Lxe="Invariant failed";function Rn(t,e){if(!t)throw new Error(Lxe)}const Ixe={light:"",dark:".dark"},e8=_.createContext(null);function t8(){const t=_.useContext(e8);if(!t)throw new Error("useChart must be used within a <ChartContainer />");return t}const $xe=_.forwardRef(({id:t,className:e,children:n,config:r,...s},i)=>{const a=_.useId(),o=`chart-${t||a.replace(/:/g,"")}`;return P.jsx(e8.Provider,{value:{config:r},children:P.jsxs("div",{"data-chart":o,ref:i,className:ce("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",e),...s,children:[P.jsx(Fxe,{id:o,config:r}),P.jsx(Oxe,{children:n})]})})});$xe.displayName="Chart";const Fxe=({id:t,config:e})=>{const n=Object.entries(e).filter(([r,s])=>s.theme||s.color);return n.length?P.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Ixe).map(([r,s])=>`
|
|||
|
|
${s} [data-chart=${t}] {
|
|||
|
|
${n.map(([i,a])=>{var c;const o=((c=a.theme)==null?void 0:c[r])||a.color;return o?` --color-${i}: ${o};`:null}).join(`
|
|||
|
|
`)}
|
|||
|
|
}
|
|||
|
|
`).join(`
|
|||
|
|
`)}}):null},jxe=_.forwardRef(({active:t,payload:e,className:n,indicator:r="dot",hideLabel:s=!1,hideIndicator:i=!1,label:a,labelFormatter:o,labelClassName:c,formatter:u,color:f,nameKey:l,labelKey:d},m)=>{const{config:p}=t8(),h=_.useMemo(()=>{var A;if(s||!(e!=null&&e.length))return null;const[g]=e,v=`${d||g.dataKey||g.name||"value"}`,w=jD(p,g,v),x=!d&&typeof a=="string"?((A=p[a])==null?void 0:A.label)||a:w==null?void 0:w.label;return o?P.jsx("div",{className:ce("font-medium",c),children:o(x,e)}):x?P.jsx("div",{className:ce("font-medium",c),children:x}):null},[a,o,e,s,c,p,d]);if(!t||!(e!=null&&e.length))return null;const y=e.length===1&&r!=="dot";return P.jsxs("div",{ref:m,className:ce("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",n),children:[y?null:h,P.jsx("div",{className:"grid gap-1.5",children:e.map((g,v)=>{const w=`${l||g.name||g.dataKey||"value"}`,x=jD(p,g,w),A=f||g.payload.fill||g.color;return P.jsx("div",{className:ce("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",r==="dot"&&"items-center"),children:u&&(g==null?void 0:g.value)!==void 0&&g.name?u(g.value,g.name,g,v,g.payload):P.jsxs(P.Fragment,{children:[x!=null&&x.icon?P.jsx(x.icon,{}):!i&&P.jsx("div",{className:ce("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":r==="dot","w-1":r==="line","w-0 border-[1.5px] border-dashed bg-transparent":r==="dashed","my-0.5":y&&r==="dashed"}),style:{"--color-bg":A,"--color-border":A}}),P.jsxs("div",{className:ce("flex flex-1 justify-between leading-none",y?"items-end":"items-center"),children:[P.jsxs("div",{className:"grid gap-1.5",children:[y?h:null,P.jsx("span",{className:"text-muted-foreground",children:(x==null?void 0:x.label)||g.name})]}),g.value&&P.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:g.value.toLocaleString()})]})]})},g.dataKey)})})]})});jxe.displayName="ChartTooltip";const zxe=_.forwardRef(({className:t,hideIcon:e=!1,payload:n,verticalAlign:r="bottom",nameKey:s},i)=>{const{config:a}=t8();return n!=null&&n.length?P.jsx("div",{ref:i,className:ce("flex items-center justify-center gap-4",r==="top"?"pb-3":"pt-3",t),children:n.map(o=>{const c=`${s||o.dataKey||"value"}`,u=jD(a,o,c);return P.jsxs("div",{className:ce("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[u!=null&&u.icon&&!e?P.jsx(u.icon,{}):P.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:o.color}}),u==null?void 0:u.label]},o.value)})}):null});zxe.displayName="ChartLegend";function jD(t,e,n){if(typeof e!="object"||e===null)return;const r="payload"in e&&typeof e.payload=="object"&&e.payload!==null?e.payload:void 0;let s=n;return n in e&&typeof e[n]=="string"?s=e[n]:r&&n in r&&typeof r[n]=="string"&&(s=r[n]),s in t?t[s]:t[n]}function Pv(t){const e=_.useRef({value:t,previous:t});return _.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function v_(t){const[e,n]=_.useState(void 0);return Ln(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let a,o;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,o=u.blockSize}else a=t.offsetWidth,o=t.offsetHeight;n({width:a,height:o})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var tI="Checkbox",[Bxe,DHe]=Tn(tI),[Uxe,Hxe]=Bxe(tI),n8=_.forwardRef((t,e)=>{const{__scopeCheckbox:n,name:r,checked:s,defaultChecked:i,required:a,disabled:o,value:c="on",onCheckedChange:u,...f}=t,[l,d]=_.useState(null),m=tt(e,w=>d(w)),p=_.useRef(!1),h=l?!!l.closest("form"):!0,[y=!1,g]=sr({prop:s,defaultProp:i,onChange:u}),v=_.useRef(y);return _.useEffect(()=>{const w=l==null?void 0:l.form;if(w){const x=()=>g(v.current);return w.addEventListener("reset",x),()=>w.removeEventListener("reset",x)}},[l,g]),P.jsxs(Uxe,{scope:n,state:y,disabled:o,children:[P.jsx(De.bu
|
|||
|
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|||
|
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|||
|
|
`)},WSe=0,Wp=[];function VSe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(WSe++)[0],i=_.useState(BC)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=vL([t.lockRef.current],(t.shards||[]).map(eB),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!a.current.allowPinchZoom;var g=aS(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=Jz(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=Jz(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return BSe(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!Wp.length||Wp[Wp.length-1]!==i)){var g="deltaY"in y?Zz(y):aS(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&USe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(eB).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:qSe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=aS(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,Zz(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,aS(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return Wp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Hp),document.addEventListener("touchmove",c,Hp),document.addEventListener("touchstart",f,Hp),function(){Wp=Wp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Hp),document.removeEventListener("touchmove",c,Hp),document.removeEventListener("touchstart",f,Hp)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:HSe(s)}):null,m?_.createElement(_L,{gapMode:t.gapMode}):null)}function qSe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const GSe=wL(p8,VSe);var y8=_.forwardRef(function(t,e){return _.createElement(oA,fr({},t,{ref:e,sideCar:GSe}))});y8.classNames=oA.classNames;var rI="Dialog",[b8,NHe]=rSe(rI),[KSe,La]=b8(rI),w8=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:a=!0}=t,o=_.useRef(null),c=_.useRef(null),[u=!1,f]=aSe({prop:r,defaultProp:s,onChange:i});return P.jsx(KSe,{scope:e,triggerRef:o,contentRef:c,contentId:Oc(),titleId:Oc(),descriptionId:Oc(),open:u,onOpenChange:f,onOpenToggle:_.useCallback(()=>f(l=>!l),[f]),modal:a,children:n})};w8.displayName=rI;var _8="DialogTrigger",YSe=_.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=La(_8,n),i=mp(e,s.triggerRef);return P.jsx(ms.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":oI(s.open),...r,ref:i,onClick:xd(t.onClick,s.onOpenToggle)})});YSe.displayName=_8;var sI="DialogPortal",[XSe,x8]=b8(sI,{forceMount:void 0}),S8=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,i=La(sI,e);return P.jsx(XSe,{scope:e,forceMount:n,children:_.Children.map(r,a=>P.jsx(iA,{present:n||i.open,children:P.jsx(h8,{asChild:!0,container:s,children:a})}))})};S8.displayName=sI;var l1="DialogOverlay",E8=_.forwardRef((t,e)=>{const n=x8(l1,t.__scopeDialog),{forceMount:r=n.forceMount
|
|||
|
|
|
|||
|
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|||
|
|
|
|||
|
|
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},sEe="DialogDescriptionWarning",iEe=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${k8(sEe).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},oEe=w8,aEe=S8,lEe=E8,cEe=C8,by='[cmdk-group=""]',ST='[cmdk-group-items=""]',uEe='[cmdk-group-heading=""]',D8='[cmdk-item=""]',tB=`${D8}:not([aria-disabled="true"])`,WD="cmdk-item-select",tm="data-value",dEe=(t,e,n)=>tSe(t,e,n),N8=_.createContext(void 0),y_=()=>_.useContext(N8),M8=_.createContext(void 0),aI=()=>_.useContext(M8),O8=_.createContext(void 0),L8=_.forwardRef((t,e)=>{let n=nm(()=>{var G,K;return{search:"",value:(K=(G=t.value)!=null?G:t.defaultValue)!=null?K:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=nm(()=>new Set),s=nm(()=>new Map),i=nm(()=>new Map),a=nm(()=>new Set),o=I8(t),{label:c,children:u,value:f,onValueChange:l,filter:d,shouldFilter:m,loop:p,disablePointerSelection:h=!1,vimBindings:y=!0,...g}=t,v=Oc(),w=Oc(),x=Oc(),A=_.useRef(null),k=xEe();Qh(()=>{if(f!==void 0){let G=f.trim();n.current.value=G,R.emit()}},[f]),Qh(()=>{k(6,I)},[]);let R=_.useMemo(()=>({subscribe:G=>(a.current.add(G),()=>a.current.delete(G)),snapshot:()=>n.current,setState:(G,K,J)=>{var ue,de,ie,be;if(!Object.is(n.current[G],K)){if(n.current[G]=K,G==="search")L(),D(),k(1,M);else if(G==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Ae=document.getElementById(x);Ae?Ae.focus():(ue=document.getElementById(v))==null||ue.focus()}if(k(7,()=>{var Ae;n.current.selectedItemId=(Ae=F())==null?void 0:Ae.id,R.emit()}),J||k(5,I),((de=o.current)==null?void 0:de.value)!==void 0){let Ae=K??"";(be=(ie=o.current).onValueChange)==null||be.call(ie,Ae);return}}R.emit()}},emit:()=>{a.current.forEach(G=>G())}}),[]),E=_.useMemo(()=>({value:(G,K,J)=>{var ue;K!==((ue=i.current.get(G))==null?void 0:ue.value)&&(i.current.set(G,{value:K,keywords:J}),n.current.filtered.items.set(G,T(K,J)),k(2,()=>{D(),R.emit()}))},item:(G,K)=>(r.current.add(G),K&&(s.current.has(K)?s.current.get(K).add(G):s.current.set(K,new Set([G]))),k(3,()=>{L(),D(),n.current.value||M(),R.emit()}),()=>{i.current.delete(G),r.current.delete(G),n.current.filtered.items.delete(G);let J=F();k(4,()=>{L(),(J==null?void 0:J.getAttribute("id"))===G&&M(),R.emit()})}),group:G=>(s.current.has(G)||s.current.set(G,new Set),()=>{i.current.delete(G),s.current.delete(G)}),filter:()=>o.current.shouldFilter,label:c||t["aria-label"],getDisablePointerSelection:()=>o.current.disablePointerSelection,listId:v,inputId:x,labelId:w,listInnerRef:A}),[]);function T(G,K){var J,ue;let de=(ue=(J=o.current)==null?void 0:J.filter)!=null?ue:dEe;return G?de(G,n.current.search,K):0}function D(){if(!n.current.search||o.current.shouldFilter===!1)return;let G=n.current.filtered.items,K=[];n.current.filtered.groups.forEach(ue=>{let de=s.current.get(ue),ie=0;de.forEach(be=>{let Ae=G.get(be);ie=Math.max(Ae,ie)}),K.push([ue,ie])});let J=A.current;U().sort((ue,de)=>{var ie,be;let Ae=ue.getAttribute("id"),_e=de.getAttribute("id");return((ie=G.get(_e))!=null?ie:0)-((be=G.get(Ae))!=null?be:0)}).forEach(ue=>{let de=ue.closest(ST);de?de.appendChild(ue.parentElement===de?ue:ue.closest(`${ST} > *`)):J.appendChild(ue.parentElement===J?ue:ue.closest(`${ST} > *`))}),K.sort((ue,de)=>de[1]-ue[1]).forEach(ue=>{var de;let ie=(de=A.current)==null?void 0:de.querySelector(`${by}[${tm}="${encodeURIComponent(ue[0])}"]`);ie==null||ie.parentElement.appendChild(ie)})}function M(){let G=U().find(J=>J.getAttribute("aria-disabled")!=="true"),K=G==null?void 0:G.getAttribute(tm);R.setState("value",K||void 0)}function L(){var G,K,J,ue;if(!n.current.search||o.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.grou
|
|||
|
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|||
|
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|||
|
|
`)},MAe=0,qp=[];function OAe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(MAe++)[0],i=_.useState(BC)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=vL([t.lockRef.current],(t.shards||[]).map(xB),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!a.current.allowPinchZoom;var g=fS(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=wB(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=wB(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return kAe(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!qp.length||qp[qp.length-1]!==i)){var g="deltaY"in y?_B(y):fS(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&DAe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(xB).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:LAe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=fS(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,_B(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,fS(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return qp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Vp),document.addEventListener("touchmove",c,Vp),document.addEventListener("touchstart",f,Vp),function(){qp=qp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Vp),document.removeEventListener("touchmove",c,Vp),document.removeEventListener("touchstart",f,Vp)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:NAe(s)}):null,m?_.createElement(_L,{gapMode:t.gapMode}):null)}function LAe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const IAe=wL(fG,OAe);var gG=_.forwardRef(function(t,e){return _.createElement(mA,fr({},t,{ref:e,sideCar:IAe}))});gG.classNames=mA.classNames;var FI="Dialog",[vG,FHe]=QCe(FI),[$Ae,Ia]=vG(FI),yG=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:a=!0}=t,o=_.useRef(null),c=_.useRef(null),[u=!1,f]=sr({prop:r,defaultProp:s,onChange:i});return P.jsx($Ae,{scope:e,triggerRef:o,contentRef:c,contentId:Vr(),titleId:Vr(),descriptionId:Vr(),open:u,onOpenChange:f,onOpenToggle:_.useCallback(()=>f(l=>!l),[f]),modal:a,children:n})};yG.displayName=FI;var bG="DialogTrigger",FAe=_.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Ia(bG,n),i=yp(e,s.triggerRef);return P.jsx(tu.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":BI(s.open),...r,ref:i,onClick:Sd(t.onClick,s.onOpenToggle)})});FAe.displayName=bG;var jI="DialogPortal",[jAe,wG]=vG(jI,{forceMount:void 0}),_G=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,i=Ia(jI,e);return P.jsx(jAe,{scope:e,forceMount:n,children:_.Children.map(r,a=>P.jsx(pA,{present:n||i.open,children:P.jsx(dG,{asChild:!0,container:s,children:a})}))})};_G.displayName=jI;var m1="DialogOverlay",xG=_.forwardRef((t,e)=>{const n=wG(m1,t.__scopeDialog),{forceMount:r=n.forceMount,
|
|||
|
|
|
|||
|
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|||
|
|
|
|||
|
|
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},WAe="DialogDescriptionWarning",VAe=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${DG(WAe).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},qAe=yG,GAe=_G,KAe=xG,YAe=SG,XAe=CG,QAe=RG,JAe=TG;function ZAe(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const NG=se.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),R_=()=>{const t=se.useContext(NG);if(!t)throw new Error("useDrawerContext must be used within a Drawer.Root");return t};ZAe(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opaci
|
|||
|
|
[data-state=closed]
|
|||
|
|
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,100%,0)}}@keyframes slideFromTop{from{transform:translate3d(0,-100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,-100%,0)}}@keyframes slideFromLeft{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(-100%,0,0)}}@keyframes slideFromRight{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(100%,0,0)}}`);const eRe=24,tRe=typeof window<"u"?_.useLayoutEffect:_.useEffect;function SB(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}function nRe(){return UI(/^Mac/)}function rRe(){return UI(/^iPhone/)}function EB(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function sRe(){return UI(/^iPad/)||nRe()&&navigator.maxTouchPoints>1}function MG(){return rRe()||sRe()}function UI(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):void 0}const kT=typeof document<"u"&&window.visualViewport;function CB(t){let e=window.getComputedStyle(t);return/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY)}function OG(t){for(CB(t)&&(t=t.parentElement);t&&!CB(t);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const iRe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let hS=0,DT;function oRe(t={}){let{isDisabled:e}=t;tRe(()=>{if(!e)return hS++,hS===1&&MG()&&(DT=aRe()),()=>{hS--,hS===0&&(DT==null||DT())}},[e])}function aRe(){let t,e=0,n=l=>{t=OG(l.target),!(t===document.documentElement&&t===document.body)&&(e=l.changedTouches[0].pageY)},r=l=>{if(!t||t===document.documentElement||t===document.body){l.preventDefault();return}let d=l.changedTouches[0].pageY,m=t.scrollTop,p=t.scrollHeight-t.clientHeight;p!==0&&((m<=0&&d>e||m>=p&&d<e)&&l.preventDefault(),e=d)},s=l=>{let d=l.target;JD(d)&&d!==document.activeElement&&(l.preventDefault(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""}))},i=l=>{let d=l.target;JD(d)&&(d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",kT&&(kT.height<window.innerHeight?requestAnimationFrame(()=>{AB(d)}):kT.addEventListener("resize",()=>AB(d),{once:!0}))}))},a=()=>{window.scrollTo(0,0)},o=window.pageXOffset,c=window.pageYOffset,u=SB(lRe(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let f=SB(wy(document,"touchstart",n,{passive:!1,capture:!0}),wy(document,"touchmove",r,{passive:!1,capture:!0}),wy(document,"touchend",s,{passive:!1,capture:!0}),wy(document,"focus",i,!0),wy(window,"scroll",a));return()=>{u(),f(),window.scrollTo(o,c)}}function lRe(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}function wy(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}function AB(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=OG(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,s=t.getBoundingClientRect().top,i=t.getBoundingClientRect().bottom;const a=n.getBoundingClientRect().bottom+eRe;i>a&&(n.scrollTo
|
|||
|
|
- a positive number
|
|||
|
|
- less than the value passed to \`max\` (or ${o$} if no \`max\` prop is set)
|
|||
|
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|||
|
|
|
|||
|
|
Defaulting to \`null\`.`}var a9=r9,_ke=i9;const xke=_.forwardRef(({className:t,value:e,...n},r)=>P.jsx(a9,{ref:r,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...n,children:P.jsx(_ke,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));xke.displayName=a9.displayName;var a$="Radio",[Ske,l9]=Tn(a$),[Eke,Cke]=Ske(a$),c9=_.forwardRef((t,e)=>{const{__scopeRadio:n,name:r,checked:s=!1,required:i,disabled:a,value:o="on",onCheck:c,...u}=t,[f,l]=_.useState(null),d=tt(e,h=>l(h)),m=_.useRef(!1),p=f?!!f.closest("form"):!0;return P.jsxs(Eke,{scope:n,checked:s,disabled:a,children:[P.jsx(De.button,{type:"button",role:"radio","aria-checked":s,"data-state":f9(s),"data-disabled":a?"":void 0,disabled:a,value:o,...u,ref:d,onClick:me(t.onClick,h=>{s||c==null||c(),p&&(m.current=h.isPropagationStopped(),m.current||h.stopPropagation())})}),p&&P.jsx(Ake,{control:f,bubbles:!m.current,name:r,value:o,checked:s,required:i,disabled:a,style:{transform:"translateX(-100%)"}})]})});c9.displayName=a$;var u9="RadioIndicator",d9=_.forwardRef((t,e)=>{const{__scopeRadio:n,forceMount:r,...s}=t,i=Cke(u9,n);return P.jsx(Hn,{present:r||i.checked,children:P.jsx(De.span,{"data-state":f9(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:e})})});d9.displayName=u9;var Ake=t=>{const{control:e,checked:n,bubbles:r=!0,...s}=t,i=_.useRef(null),a=Pv(n),o=v_(e);return _.useEffect(()=>{const c=i.current,u=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&l){const d=new Event("click",{bubbles:r});l.call(c,n),c.dispatchEvent(d)}},[a,n,r]),P.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:i,style:{...t.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function f9(t){return t?"checked":"unchecked"}var Rke=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],l$="RadioGroup",[Pke,QHe]=Tn(l$,[Pl,l9]),h9=Pl(),p9=l9(),[Tke,kke]=Pke(l$),m9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,name:r,defaultValue:s,value:i,required:a=!1,disabled:o=!1,orientation:c,dir:u,loop:f=!0,onValueChange:l,...d}=t,m=h9(n),p=Ma(u),[h,y]=sr({prop:i,defaultProp:s,onChange:l});return P.jsx(Tke,{scope:n,name:r,required:a,disabled:o,value:h,onValueChange:y,children:P.jsx(x_,{asChild:!0,...m,orientation:c,dir:p,loop:f,children:P.jsx(De.div,{role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":o?"":void 0,dir:p,...d,ref:e})})})});m9.displayName=l$;var g9="RadioGroupItem",v9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,disabled:r,...s}=t,i=kke(g9,n),a=i.disabled||r,o=h9(n),c=p9(n),u=_.useRef(null),f=tt(e,u),l=i.value===s.value,d=_.useRef(!1);return _.useEffect(()=>{const m=h=>{Rke.includes(h.key)&&(d.current=!0)},p=()=>d.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",p),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",p)}},[]),P.jsx(S_,{asChild:!0,...o,focusable:!a,active:l,children:P.jsx(c9,{disabled:a,required:i.required,checked:l,...c,...s,name:i.name,ref:f,onCheck:()=>i.onValueChange(s.value),onKeyDown:me(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:me(s.onFocus,()=>{var m;d.current&&((m=u.current)==null||m.click())})})})});v9.displayName=g9;var Dke="RadioGroupIndicator",y9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,...r}=t,s=p9(n);return P.jsx(d9,{...s,...r,ref:e})});y9.displayName=Dke;var b9=m9,w9=v9,Nke=y9;const Mke=_.forwardRef(({className:t,...e},n)=>P.jsx(b9,{className:ce("grid gap-2",t),...e,ref:n}));Mke.displayName=b9.displayName;const Oke=_.forwardRef(({className:t,...e},n)=>P.jsx(w9,{ref:n,className:ce("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:P.jsx(Nke,{className:"flex items-center justify-center",children:P.jsx($C,{className:"h-2.5 w-2.5 fill-current text-current"})})}));Oke.displayName=
|
|||
|
|
* @remix-run/router v1.23.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function Gn(){return Gn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Gn.apply(this,arguments)}var Er;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Er||(Er={}));const r4="popstate";function XMe(t){t===void 0&&(t={});function e(r,s){let{pathname:i,search:a,hash:o}=r.location;return rw("",{pathname:i,search:a,hash:o},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:np(s)}return JMe(e,n,null,t)}function Nt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function mv(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function QMe(){return Math.random().toString(36).substr(2,8)}function s4(t,e){return{usr:t.state,key:t.key,idx:e}}function rw(t,e,n,r){return n===void 0&&(n=null),Gn({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Hd(e):e,{state:n,key:e&&e.key||r||QMe()})}function np(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Hd(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function JMe(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,a=s.history,o=Er.Pop,c=null,u=f();u==null&&(u=0,a.replaceState(Gn({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function l(){o=Er.Pop;let y=f(),g=y==null?null:y-u;u=y,c&&c({action:o,location:h.location,delta:g})}function d(y,g){o=Er.Push;let v=rw(h.location,y,g);u=f()+1;let w=s4(v,u),x=h.createHref(v);try{a.pushState(w,"",x)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;s.location.assign(x)}i&&c&&c({action:o,location:h.location,delta:1})}function m(y,g){o=Er.Replace;let v=rw(h.location,y,g);u=f();let w=s4(v,u),x=h.createHref(v);a.replaceState(w,"",x),i&&c&&c({action:o,location:h.location,delta:0})}function p(y){let g=s.location.origin!=="null"?s.location.origin:s.location.href,v=typeof y=="string"?y:np(y);return v=v.replace(/ $/,"%20"),Nt(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let h={get action(){return o},get location(){return t(s,a)},listen(y){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(r4,l),c=y,()=>{s.removeEventListener(r4,l),c=null}},createHref(y){return e(s,y)},createURL:p,encodeLocation(y){let g=p(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:m,go(y){return a.go(y)}};return h}var hn;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(hn||(hn={}));const ZMe=new Set(["lazy","caseSensitive","path","id","index","children"]);function eOe(t){return t.index===!0}function k1(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((s,i)=>{let a=[...n,String(i)],o=typeof s.id=="string"?s.id:a.join("-");if(Nt(s.index!==!0||!s.children,"Cannot specify children on an index route"),Nt(!r[o],'Found a route id collision on id "'+o+`". Route id's must be globally unique within Data Router usages`),eOe(s)){let c=Gn({},s,e(s),{id:o});return r[o]=c,c}else{let c=Gn({},s,e(s),{id:o,children:void 0});return r[o]=c,s.children&&(c.children=k1(s.children,e,a,r)),c}})}function vf(t,e,n){return n===void 0&&(n="/"),KS(t,e,n,!1)}function KS(t,e,n,r){let s=typeof e=="string"?Hd(e):e,i=kd(s.pathname||"/",n);if(i==null)return null;let a=uQ(t);nOe(a);let o=null;for(let c=0;o==null&&c<a.length;++c){let u=hOe(i);o=dOe(a[c],u,r)}return o}function tOe(t,e){let{route:n,pathname:r,params:s}=t;return{id:n.id,pathname:r,params:s,data:e[n.id],handle:n.handle}}function uQ(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,a,o)=>{let c={relativePath:o===void 0?i.path||"":o,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("
|
|||
|
|
`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!ya(a))return s();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return s()}}}Nt(typeof FormData=="function","FormData is not available in this environment");let c,u;if(r.formData)c=kN(r.formData),u=r.formData;else if(r.body instanceof FormData)c=kN(r.body),u=r.body;else if(r.body instanceof URLSearchParams)c=r.body,u=h4(c);else if(r.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(r.body),u=h4(c)}catch{return s()}let f={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ya(f.formMethod))return{path:n,submission:f};let l=Hd(n);return e&&l.search&&k$(l.search)&&c.append("index",""),l.search="?"+c,{path:np(l),submission:f}}function l4(t,e,n){n===void 0&&(n=!1);let r=t.findIndex(s=>s.route.id===e);return r>=0?t.slice(0,n?r+1:r):t}function c4(t,e,n,r,s,i,a,o,c,u,f,l,d,m,p,h){let y=h?eo(h[1])?h[1].error:h[1].data:void 0,g=t.createURL(e.location),v=t.createURL(s),w=n;i&&e.errors?w=l4(n,Object.keys(e.errors)[0],!0):h&&eo(h[1])&&(w=l4(n,h[0]));let x=h?h[1].statusCode:void 0,A=a&&x&&x>=400,k=w.filter((E,T)=>{let{route:D}=E;if(D.lazy)return!0;if(D.loader==null)return!1;if(i)return TN(D,e.loaderData,e.errors);if(POe(e.loaderData,e.matches[T],E)||c.some(I=>I===E.route.id))return!0;let M=e.matches[T],L=E;return u4(E,Gn({currentUrl:g,currentParams:M.params,nextUrl:v,nextParams:L.params},r,{actionResult:y,actionStatus:x,defaultShouldRevalidate:A?!1:o||g.pathname+g.search===v.pathname+v.search||g.search!==v.search||mQ(M,L)}))}),R=[];return l.forEach((E,T)=>{if(i||!n.some(F=>F.route.id===E.routeId)||f.has(T))return;let D=vf(m,E.path,p);if(!D){R.push({key:T,routeId:E.routeId,path:E.path,matches:null,match:null,controller:null});return}let M=e.fetchers.get(T),L=Uy(D,E.path),I=!1;d.has(T)?I=!1:u.has(T)?(u.delete(T),I=!0):M&&M.state!=="idle"&&M.data===void 0?I=o:I=u4(L,Gn({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,actionStatus:x,defaultShouldRevalidate:A?!1:o})),I&&R.push({key:T,routeId:E.routeId,path:E.path,matches:D,match:L,controller:new AbortController})}),[k,R]}function TN(t,e,n){if(t.lazy)return!0;if(!t.loader)return!1;let r=e!=null&&e[t.id]!==void 0,s=n!=null&&n[t.id]!==void 0;return!r&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!r&&!s}function POe(t,e,n){let r=!e||n.route.id!==e.route.id,s=t[n.route.id]===void 0;return r||s}function mQ(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function u4(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}function d4(t,e,n,r,s){var i;let a;if(t){let u=r[t];Nt(u,"No route found to patch children into: routeId = "+t),u.children||(u.children=[]),a=u.children}else a=n;let o=e.filter(u=>!a.some(f=>gQ(u,f))),c=k1(o,s,[t||"_","patch",String(((i=a)==null?void 0:i.length)||"0")],r);a.push(...c)}function gQ(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children.every((n,r)=>{var s;return(s=e.children)==null?void 0:s.some(i=>gQ(n,i))}):!1}async function TOe(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let s=n[t.id];Nt(s,"No route found in manifest");let i={};for(let a in r){let c=s[a]!==void 0&&a!=="hasErrorBoundary";mv(!c,'Route "'+s.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!c&&!ZMe.has(a)&&(i[a]=r[a])}Object.assign(s,i),Object.assign(s,Gn({},e(s),{lazy:
|
|||
|
|
* React Router v6.30.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function gv(){return gv=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},gv.apply(this,arguments)}const FA=_.createContext(null),bQ=_.createContext(null),Wd=_.createContext(null),D$=_.createContext(null),Dl=_.createContext({outlet:null,matches:[],isDataRoute:!1}),wQ=_.createContext(null);function qOe(t,e){let{relative:n}=e===void 0?{}:e;$v()||Nt(!1);let{basename:r,navigator:s}=_.useContext(Wd),{hash:i,pathname:a,search:o}=xQ(t,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Lc([r,a])),s.createHref({pathname:c,search:o,hash:i})}function $v(){return _.useContext(D$)!=null}function Vd(){return $v()||Nt(!1),_.useContext(D$).location}function _Q(t){_.useContext(Wd).static||_.useLayoutEffect(t)}function Fv(){let{isDataRoute:t}=_.useContext(Dl);return t?iLe():GOe()}function GOe(){$v()||Nt(!1);let t=_.useContext(FA),{basename:e,future:n,navigator:r}=_.useContext(Wd),{matches:s}=_.useContext(Dl),{pathname:i}=Vd(),a=JSON.stringify(IA(s,n.v7_relativeSplatPath)),o=_.useRef(!1);return _Q(()=>{o.current=!0}),_.useCallback(function(u,f){if(f===void 0&&(f={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let l=$A(u,JSON.parse(a),i,f.relative==="path");t==null&&e!=="/"&&(l.pathname=l.pathname==="/"?e:Lc([e,l.pathname])),(f.replace?r.replace:r.push)(l,f.state,f)},[e,r,a,i,t])}const KOe=_.createContext(null);function YOe(t){let e=_.useContext(Dl).outlet;return e&&_.createElement(KOe.Provider,{value:t},e)}function f5e(){let{matches:t}=_.useContext(Dl),e=t[t.length-1];return e?e.params:{}}function xQ(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=_.useContext(Wd),{matches:s}=_.useContext(Dl),{pathname:i}=Vd(),a=JSON.stringify(IA(s,r.v7_relativeSplatPath));return _.useMemo(()=>$A(t,JSON.parse(a),i,n==="path"),[t,a,i,n])}function XOe(t,e,n,r){$v()||Nt(!1);let{navigator:s,static:i}=_.useContext(Wd),{matches:a}=_.useContext(Dl),o=a[a.length-1],c=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let f=Vd(),l;l=f;let d=l.pathname||"/",m=d;if(u!=="/"){let y=u.replace(/^\//,"").split("/");m="/"+d.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=!i&&n&&n.matches&&n.matches.length>0?n.matches:vf(t,{pathname:m});return tLe(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},c,y.params),pathname:Lc([u,s.encodeLocation?s.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:Lc([u,s.encodeLocation?s.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r)}function QOe(){let t=rLe(),e=sw(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},e),n?_.createElement("pre",{style:s},n):null,null)}const JOe=_.createElement(QOe,null);class ZOe extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?_.createElement(Dl.Provider,{value:this.props.routeContext},_.createElement(wQ.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function eLe(t){let{routeContext:e,match:n,children:r}=t,s=_.useContext(FA);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(Dl.Provider,{value:e},r)}function tLe(t,e,n,r){var s;if(e===void 0&&(
|
|||
|
|
* React Router DOM v6.30.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function iw(){return iw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},iw.apply(this,arguments)}function uLe(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,i;for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&(n[s]=t[s]);return n}function dLe(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function fLe(t,e){return t.button===0&&(!e||e==="_self")&&!dLe(t)}function DN(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function hLe(t,e){let n=DN(t);return e&&e.forEach((r,s)=>{n.has(s)||e.getAll(s).forEach(i=>{n.append(s,i)})}),n}const pLe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],mLe="6";try{window.__reactRouterVersion=mLe}catch{}function gLe(t,e){return AOe({basename:e==null?void 0:e.basename,future:iw({},e==null?void 0:e.future,{v7_prependBasename:!0}),history:XMe({window:e==null?void 0:e.window}),hydrationData:(e==null?void 0:e.hydrationData)||vLe(),routes:t,mapRouteProperties:cLe,dataStrategy:e==null?void 0:e.dataStrategy,patchRoutesOnNavigation:e==null?void 0:e.patchRoutesOnNavigation,window:e==null?void 0:e.window}).initialize()}function vLe(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=iw({},e,{errors:yLe(e.errors)})),e}function yLe(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,s]of e)if(s&&s.__type==="RouteErrorResponse")n[r]=new D1(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let a=new i(s.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(s.message);i.stack="",n[r]=i}}else n[r]=s;return n}const bLe=_.createContext({isTransitioning:!1}),wLe=_.createContext(new Map),_Le="startTransition",_4=X0[_Le],xLe="flushSync",x4=Jue[xLe];function SLe(t){_4?_4(t):t()}function Ay(t){x4?x4(t):t()}class ELe{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function CLe(t){let{fallbackElement:e,router:n,future:r}=t,[s,i]=_.useState(n.state),[a,o]=_.useState(),[c,u]=_.useState({isTransitioning:!1}),[f,l]=_.useState(),[d,m]=_.useState(),[p,h]=_.useState(),y=_.useRef(new Map),{v7_startTransition:g}=r||{},v=_.useCallback(E=>{g?SLe(E):E()},[g]),w=_.useCallback((E,T)=>{let{deletedFetchers:D,flushSync:M,viewTransitionOpts:L}=T;E.fetchers.forEach((F,U)=>{F.data!==void 0&&y.current.set(U,F.data)}),D.forEach(F=>y.current.delete(F));let I=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!L||I){M?Ay(()=>i(E)):v(()=>i(E));return}if(M){Ay(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let F=n.window.document.startViewTransition(()=>{Ay(()=>i(E))});F.finished.finally(()=>{Ay(()=>{l(void 0),m(void 0),o(void 0),u({isTransitioning:!1})})}),Ay(()=>m(F));return}d?(f&&f.resolve(),d.skipTransition(),h({state:E,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(o(E),u({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[n.window,d,f,y,v]);_.useLayoutEffect(()=>n.subscribe(w),[n,w]),_.useEffect(()=>{c.isTransitioning&&!c.flushSync&&l(new ELe)},[c]),_.useEffect(()=>{if(f&&a&&n.window){let E=a,T=f.promise,D=n.window.document.startViewTransition(async()=>{v(()=>i(E)),await T});D.finished.finally(()=>{l(void 0),m(void 0),o(void 0),u({isTransitioning:!1})}),m(D)}},[v,a,f,n.window]),_.useEffect(()=>{f&&a&&s.location.key===a.location.key&&f.resolve()},[f,d,s.location,a]),_.useEffect(()=>{!c.isTransitioning&&p&&(o(p.state),u({isTransit
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ULe={normalizePrecision:function(e){var n=e.reduce(function(r,s){return Math.max(r.getPrecision(),s.getPrecision())});return e.map(function(r){return r.getPrecision()!==n?r.convertPrecision(n):r})},minimum:function(e){var n=C4(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(a){i=i.lessThan(a)?i:a}),i},maximum:function(e){var n=C4(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(a){i=i.greaterThan(a)?i:a}),i}};function OQ(t){return!isNaN(parseInt(t))&&isFinite(t)}function HLe(t){return OQ(t)&&t<=100&&t>=0}function WLe(t){return t.length>0&&t.every(function(e){return e>=0})&&t.some(function(e){return e>0})}function R4(t){return t%2===0}function P4(t){return OQ(t)&&!Number.isInteger(t)}function VLe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=t.toString();if(e.indexOf("e-")>0)return parseInt(e.split("e-")[1]);var n=e.split(".")[1];return n?n.length:0}function Ry(t){return Math.abs(t)%1===.5}function qLe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(n,r){var s=Object.assign(new XMLHttpRequest,{onreadystatechange:function(){s.readyState===4&&(s.status>=200&&s.status<400?n(JSON.parse(s.responseText)):r(new Error(s.statusText)))},onerror:function(){r(new Error("Network error"))}});s.open("GET",t,!0),GLe(s,e.headers),s.send()})}function GLe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in e)t.setRequestHeader(n,e[n]);return t}function Hy(t){return typeof t>"u"}function LQ(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".",n={};return Object.entries(t).forEach(function(r){if(yb(r[1])==="object"){var s=LQ(r[1]);Object.entries(s).forEach(function(i){n[r[0]+e+i[0]]=i[1]})}else n[r[0]]=r[1]}),n}function KLe(t){return!!t&&(yb(t)==="object"||typeof t=="function")&&typeof t.then=="function"}function IQ(){var t=function(r,s){var i=function(c){return Math.pow(10,VLe(c))},a=Math.max(i(r),i(s));return Math.round(r*a)*Math.round(s*a)/(a*a)},e={HALF_ODD:function(r){var s=Math.round(r);return Ry(r)&&R4(s)?s-1:s},HALF_EVEN:function(r){var s=Math.round(r);return Ry(r)?R4(s)?s:s-1:s},HALF_UP:function(r){return Math.round(r)},HALF_DOWN:function(r){return Ry(r)?Math.floor(r):Math.round(r)},HALF_TOWARDS_ZERO:function(r){return Ry(r)?Math.sign(r)*Math.floor(Math.abs(r)):Math.round(r)},HALF_AWAY_FROM_ZERO:function(r){return Ry(r)?Math.sign(r)*Math.ceil(Math.abs(r)):Math.round(r)},DOWN:function(r){return Math.floor(r)}};return{add:function(r,s){return r+s},subtract:function(r,s){return r-s},multiply:function(r,s){return P4(r)||P4(s)?t(r,s):r*s},divide:function(r,s){return r/s},modulo:function(r,s){return r%s},round:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"HALF_EVEN";return e[s](r)}}}var YLe=IQ();function XLe(t){var e=/^(?:(\$|USD)?0(?:(,)0)?(\.)?(0+)?|0(?:(,)0)?(\.)?(0+)?\s?(dollar)?)$/gm.exec(t);return{getMatches:function(){return e!==null?e.slice(1).filter(function(r){return!Hy(r)}):[]},getMinimumFractionDigits:function(){var r=function(i){return i==="."};return Hy(this.getMatches().find(r))?0:this.getMatches()[YLe.add(this.getMatches().findIndex(r),1)].split("").length},getCurrencyDisplay:function(){var r={USD:"code",dollar:"name",$:"symbol"};return r[this.getMatches().find(function(s){return s==="USD"||s==="dollar"||s==="$"})]},getStyle:function(){return Hy(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!Hy(this.getMatches().find(function(r){return r===","}))}}}function QLe(t){var e=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0;for(var a in i)s=s.replace("{{".concat(a,"}}"),i[a]);return s},n=function(s,i){return qLe(e(t.endpoint,{from:s,to:i}),{headers:t.headers})};return{getExchangeRate:function(s,i){return(KLe(t.endpoint)?t.endpoint:n(s,i)).then(function(a){return LQ(a)[e(t.propertyPath,{from:s,to:i})]})}}}function aw(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2
|
|||
|
|
* @license
|
|||
|
|
* Lodash <https://lodash.com/>
|
|||
|
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|||
|
|
* Released under MIT license <https://lodash.com/license>
|
|||
|
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|||
|
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|||
|
|
*/M1.exports;(function(t,e){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",l=1,d=2,m=4,p=1,h=2,y=1,g=2,v=4,w=8,x=16,A=32,k=64,R=128,E=256,T=512,D=30,M="...",L=800,I=16,F=1,U=2,Y=3,W=1/0,H=9007199254740991,ee=17976931348623157e292,re=NaN,X=4294967295,G=X-1,K=X>>>1,J=[["ary",R],["bind",y],["bindKey",g],["curry",w],["curryRight",x],["flip",T],["partial",A],["partialRight",k],["rearg",E]],ue="[object Arguments]",de="[object Array]",ie="[object AsyncFunction]",be="[object Boolean]",Ae="[object Date]",_e="[object DOMException]",Oe="[object Error]",Ne="[object Function]",ye="[object GeneratorFunction]",$e="[object Map]",ut="[object Number]",Qe="[object Null]",yt="[object Object]",En="[object Promise]",Xt="[object Proxy]",gn="[object RegExp]",Qt="[object Set]",Z="[object String]",fe="[object Symbol]",ge="[object Undefined]",Pe="[object WeakMap]",Me="[object WeakSet]",xe="[object ArrayBuffer]",Te="[object DataView]",Ye="[object Float32Array]",Pt="[object Float64Array]",wt="[object Int8Array]",Ls="[object Int16Array]",Yn="[object Int32Array]",gs="[object Uint8Array]",Ht="[object Uint8ClampedArray]",an="[object Uint16Array]",vn="[object Uint32Array]",Be=/\b__p \+= '';/g,it=/\b(__p \+=) '' \+/g,ot=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,nt=/[&<>"']/g,Wt=RegExp(Et.source),At=RegExp(nt.source),yn=/<%-([\s\S]+?)%>/g,ln=/<%([\s\S]+?)%>/g,cn=/<%=([\s\S]+?)%>/g,kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hr=/^\w*$/,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(te.source),he=/^\s+/,Ce=/\s/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ge=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[()=,{}\[\]\/\s]/,Ve=/\\(\\)?/g,Ze=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,It=/^[-+]0x[0-9a-f]+$/i,Tr=/^0b[01]+$/i,bn=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,Wn=/^(?:0|[1-9]\d*)$/,nu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fa=/($^)/,Go=/['\n\r\u2028\u2029\\]/g,Is="\\ud800-\\udfff",Wv="\\u0300-\\u036f",Kd="\\ufe20-\\ufe2f",Nl="\\u20d0-\\u20ff",Yd=Wv+Kd+Nl,Xd="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",Vn="\\xac\\xb1\\xd7\\xf7",ru="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qd="\\u2000-\\u206f",ir=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ml="A-Z\\xc0-\\xd6\\xd8-\\xde",Vv="\\ufe0e\\ufe0f",q_=Vn+ru+Qd+ir,pR="['’]",Ete="["+Is+"]",c2="["+q_+"]",G_="["+Yd+"]",u2="\\d+",Cte="["+Xd+"]",d2="["+Ft+"]",f2="[^"+Is+q_+u2+Xd+Ft+Ml+"]",mR="\\ud83c[\\udffb-\\udfff]",Ate="(?:"+G_+"|"+mR+")",h2="[^"+Is+"]",gR="(?:\\ud83c[\\udde6-\\uddff]){2}",vR="[\\ud800-\\udbff][\\udc00-\\udfff]",xp="["+Ml+"]",p2="\\u200d",m2="(?:"+d2+"|"+f2+")",Rte="(?:"+xp+"|"+f2+")",g2="(?:"+pR+"(?:d|ll|m|re|s|t|ve))?",v2="(?:"+pR+"(?:D|LL|M|RE|S|T|VE))?",y2=Ate+"?",b2="["+Vv+"]?",Pte="(?:"+p2+"(?:"+[h2,gR,vR].join("|")+")"+b2+y2+")*",Tte="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",kte="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",w2=b2+y2+Pte,Dte="(?:"+[Cte,gR,vR].join("|")+")"+w2,Nte="(?:"+[h2+G_+"?",G_,gR,vR,Ete].join("|")+")",Mte=RegExp(pR,"g"),Ote=RegExp(G_,"g"),yR=RegExp(mR+"(?="+mR+")|"+Nte+w2,"g"),Lte=RegExp([xp+"?"+d2+"+"+g2+"(?="+[c2,xp,"$"].join("|")+")",Rte+"+"+v2+"(?="+[c2,xp+m2,"$"].join("|")+")",xp+"?"+m2+"+"+g2,xp+"+"+v2,kte,Tte,u2,Dte].join("|"),"g"),Ite=RegExp("["+p2+Is+Yd+Vv+"]"),$te=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fte=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","se
|
|||
|
|
/* [wrapped with `+S+`] */
|
|||
|
|
`)}function nse(b){return bt(b)||af(b)||!!(H2&&b&&b[H2])}function jl(b,S){var N=typeof b;return S=S??H,!!S&&(N=="number"||N!="symbol"&&Wn.test(b))&&b>-1&&b%1==0&&b<S}function Fs(b,S,N){if(!Xn(N))return!1;var O=typeof S;return(O=="number"?si(N)&&jl(S,N.length):O=="string"&&S in N)?Xo(N[S],b):!1}function iP(b,S){if(bt(b))return!1;var N=typeof b;return N=="number"||N=="symbol"||N=="boolean"||b==null||Li(b)?!0:hr.test(b)||!kn.test(b)||S!=null&&b in Cn(S)}function rse(b){var S=typeof b;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?b!=="__proto__":b===null}function oP(b){var S=xx(b),N=V[S];if(typeof N!="function"||!(S in $t.prototype))return!1;if(b===N)return!0;var O=nP(N);return!!O&&b===O[0]}function sse(b){return!!j2&&j2 in b}var ise=J_?zl:SP;function sy(b){var S=b&&b.constructor,N=typeof S=="function"&&S.prototype||Rp;return b===N}function jF(b){return b===b&&!Xn(b)}function zF(b,S){return function(N){return N==null?!1:N[b]===S&&(S!==n||b in Cn(N))}}function ose(b){var S=Px(b,function(O){return N.size===u&&N.clear(),O}),N=S.cache;return S}function ase(b,S){var N=b[1],O=S[1],j=N|O,q=j<(y|g|R),Q=O==R&&N==w||O==R&&N==E&&b[7].length<=S[8]||O==(R|E)&&S[7].length<=S[8]&&N==w;if(!(q||Q))return b;O&y&&(b[2]=S[2],j|=N&y?0:v);var ne=S[3];if(ne){var le=b[3];b[3]=le?xF(le,ne,S[4]):ne,b[4]=le?ou(b[3],f):S[4]}return ne=S[5],ne&&(le=b[5],b[5]=le?SF(le,ne,S[6]):ne,b[6]=le?ou(b[5],f):S[6]),ne=S[7],ne&&(b[7]=ne),O&R&&(b[8]=b[8]==null?S[8]:vs(b[8],S[8])),b[9]==null&&(b[9]=S[9]),b[0]=S[0],b[1]=j,b}function lse(b){var S=[];if(b!=null)for(var N in Cn(b))S.push(N);return S}function cse(b){return ex.call(b)}function BF(b,S,N){return S=Dr(S===n?b.length-1:S,0),function(){for(var O=arguments,j=-1,q=Dr(O.length-S,0),Q=pe(q);++j<q;)Q[j]=O[S+j];j=-1;for(var ne=pe(S+1);++j<S;)ne[j]=O[j];return ne[S]=N(Q),Ni(b,this,ne)}}function UF(b,S){return S.length<2?b:rf(b,vo(S,0,-1))}function use(b,S){for(var N=b.length,O=vs(S.length,N),j=ri(b);O--;){var q=S[O];b[O]=jl(q,N)?j[q]:n}return b}function aP(b,S){if(!(S==="constructor"&&typeof b[S]=="function")&&S!="__proto__")return b[S]}var HF=VF(fF),iy=Cne||function(b,S){return ts.setTimeout(b,S)},lP=VF(Mre);function WF(b,S,N){var O=S+"";return lP(b,tse(O,dse(Jre(O),N)))}function VF(b){var S=0,N=0;return function(){var O=Tne(),j=I-(O-N);if(N=O,j>0){if(++S>=L)return arguments[0]}else S=0;return b.apply(n,arguments)}}function Ex(b,S){var N=-1,O=b.length,j=O-1;for(S=S===n?O:S;++N<S;){var q=WR(N,j),Q=b[q];b[q]=b[N],b[N]=Q}return b.length=S,b}var qF=ose(function(b){var S=[];return b.charCodeAt(0)===46&&S.push(""),b.replace(Dn,function(N,O,j,q){S.push(j?q.replace(Ve,"$1"):O||N)}),S});function Ba(b){if(typeof b=="string"||Li(b))return b;var S=b+"";return S=="0"&&1/b==-1/0?"-0":S}function of(b){if(b!=null){try{return Z_.call(b)}catch{}try{return b+""}catch{}}return""}function dse(b,S){return ho(J,function(N){var O="_."+N[0];S&N[1]&&!K_(b,O)&&b.push(O)}),b.sort()}function GF(b){if(b instanceof $t)return b.clone();var S=new mo(b.__wrapped__,b.__chain__);return S.__actions__=ri(b.__actions__),S.__index__=b.__index__,S.__values__=b.__values__,S}function fse(b,S,N){(N?Fs(b,S,N):S===n)?S=1:S=Dr(xt(S),0);var O=b==null?0:b.length;if(!O||S<1)return[];for(var j=0,q=0,Q=pe(ox(O/S));j<O;)Q[q++]=vo(b,j,j+=S);return Q}function hse(b){for(var S=-1,N=b==null?0:b.length,O=0,j=[];++S<N;){var q=b[S];q&&(j[O++]=q)}return j}function pse(){var b=arguments.length;if(!b)return[];for(var S=pe(b-1),N=arguments[0],O=b;O--;)S[O-1]=arguments[O];return iu(bt(N)?ri(N):[N],ns(S,1))}var mse=Rt(function(b,S){return pr(b)?Zv(b,ns(S,1,pr,!0)):[]}),gse=Rt(function(b,S){var N=yo(S);return pr(N)&&(N=n),pr(b)?Zv(b,ns(S,1,pr,!0),at(N,2)):[]}),vse=Rt(function(b,S){var N=yo(S);return pr(N)&&(N=n),pr(b)?Zv(b,ns(S,1,pr,!0),n,N):[]});function yse(b,S,N){var O=b==null?0:b.length;return O?(S=N||S===n?1:xt(S),vo(b,S<0?0:S,O)):[]}function bse(b,S,N){var O=b==null?0:b.length;return O?(S=N||S===n?1:xt(S),S=O-S,vo(b,0,S<0?0:S)):[]}function wse(b,S){return b&&b.length?gx(b,at(S,3),!0,!0):[]}function _se(b,S){return b&&b.length?gx(b,at(S,3),!0):[]}function xse(b,S,N,
|
|||
|
|
`;b.replace(Fe,function(ct,Dt,jt,Ii,js,$i){return jt||(jt=Ii),Re+=b.slice(Se,$i).replace(Go,ine),Dt&&(ne=!0,Re+=`' +
|
|||
|
|
__e(`+Dt+`) +
|
|||
|
|
'`),js&&(le=!0,Re+=`';
|
|||
|
|
`+js+`;
|
|||
|
|
__p += '`),jt&&(Re+=`' +
|
|||
|
|
((__t = (`+jt+`)) == null ? '' : __t) +
|
|||
|
|
'`),Se=$i+ct.length,ct}),Re+=`';
|
|||
|
|
`;var lt=un.call(S,"variable")&&S.variable;if(!lt)Re=`with (obj) {
|
|||
|
|
`+Re+`
|
|||
|
|
}
|
|||
|
|
`;else if(Xe.test(lt))throw new vt(o);Re=(le?Re.replace(Be,""):Re).replace(it,"$1").replace(ot,"$1;"),Re="function("+(lt||"obj")+`) {
|
|||
|
|
`+(lt?"":`obj || (obj = {});
|
|||
|
|
`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(le?`, __j = Array.prototype.join;
|
|||
|
|
function print() { __p += __j.call(arguments, '') }
|
|||
|
|
`:`;
|
|||
|
|
`)+Re+`return __p
|
|||
|
|
}`;var Ct=Cj(function(){return tn(q,Je+"return "+Re).apply(n,Q)});if(Ct.source=Re,hP(Ct))throw Ct;return Ct}function Dae(b){return sn(b).toLowerCase()}function Nae(b){return sn(b).toUpperCase()}function Mae(b,S,N){if(b=sn(b),b&&(N||S===n))return O2(b);if(!b||!(S=Oi(S)))return b;var O=Ko(b),j=Ko(S),q=L2(O,j),Q=I2(O,j)+1;return du(O,q,Q).join("")}function Oae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.slice(0,F2(b)+1);if(!b||!(S=Oi(S)))return b;var O=Ko(b),j=I2(O,Ko(S))+1;return du(O,0,j).join("")}function Lae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.replace(he,"");if(!b||!(S=Oi(S)))return b;var O=Ko(b),j=L2(O,Ko(S));return du(O,j).join("")}function Iae(b,S){var N=D,O=M;if(Xn(S)){var j="separator"in S?S.separator:j;N="length"in S?xt(S.length):N,O="omission"in S?Oi(S.omission):O}b=sn(b);var q=b.length;if(Ep(b)){var Q=Ko(b);q=Q.length}if(N>=q)return b;var ne=N-Cp(O);if(ne<1)return O;var le=Q?du(Q,0,ne).join(""):b.slice(0,ne);if(j===n)return le+O;if(Q&&(ne+=le.length-ne),pP(j)){if(b.slice(ne).search(j)){var Se,Ee=le;for(j.global||(j=kR(j.source,sn(gt.exec(j))+"g")),j.lastIndex=0;Se=j.exec(Ee);)var Re=Se.index;le=le.slice(0,Re===n?ne:Re)}}else if(b.indexOf(Oi(j),ne)!=ne){var Fe=le.lastIndexOf(j);Fe>-1&&(le=le.slice(0,Fe))}return le+O}function $ae(b){return b=sn(b),b&&Wt.test(b)?b.replace(Et,fne):b}var Fae=Np(function(b,S,N){return b+(N?" ":"")+S.toUpperCase()}),vP=AF("toUpperCase");function Ej(b,S,N){return b=sn(b),S=N?n:S,S===n?ane(b)?mne(b):Jte(b):b.match(S)||[]}var Cj=Rt(function(b,S){try{return Ni(b,n,S)}catch(N){return hP(N)?N:new vt(N)}}),jae=Fl(function(b,S){return ho(S,function(N){N=Ba(N),Il(b,N,dP(b[N],b))}),b});function zae(b){var S=b==null?0:b.length,N=at();return b=S?qn(b,function(O){if(typeof O[1]!="function")throw new po(a);return[N(O[0]),O[1]]}):[],Rt(function(O){for(var j=-1;++j<S;){var q=b[j];if(Ni(q[0],this,O))return Ni(q[1],this,O)}})}function Bae(b){return fre(go(b,l))}function yP(b){return function(){return b}}function Uae(b,S){return b==null||b!==b?S:b}var Hae=PF(),Wae=PF(!0);function oi(b){return b}function bP(b){return sF(typeof b=="function"?b:go(b,l))}function Vae(b){return oF(go(b,l))}function qae(b,S){return aF(b,go(S,l))}var Gae=Rt(function(b,S){return function(N){return ey(N,b,S)}}),Kae=Rt(function(b,S){return function(N){return ey(b,N,S)}});function wP(b,S,N){var O=qr(S),j=hx(S,O);N==null&&!(Xn(S)&&(j.length||!O.length))&&(N=S,S=b,b=this,j=hx(S,qr(S)));var q=!(Xn(N)&&"chain"in N)||!!N.chain,Q=zl(b);return ho(j,function(ne){var le=S[ne];b[ne]=le,Q&&(b.prototype[ne]=function(){var Se=this.__chain__;if(q||Se){var Ee=b(this.__wrapped__),Re=Ee.__actions__=ri(this.__actions__);return Re.push({func:le,args:arguments,thisArg:b}),Ee.__chain__=Se,Ee}return le.apply(b,iu([this.value()],arguments))})}),b}function Yae(){return ts._===this&&(ts._=_ne),this}function _P(){}function Xae(b){return b=xt(b),Rt(function(S){return lF(S,b)})}var Qae=JR(qn),Jae=JR(T2),Zae=JR(SR);function Aj(b){return iP(b)?ER(Ba(b)):Tre(b)}function ele(b){return function(S){return b==null?n:rf(b,S)}}var tle=kF(),nle=kF(!0);function xP(){return[]}function SP(){return!1}function rle(){return{}}function sle(){return""}function ile(){return!0}function ole(b,S){if(b=xt(b),b<1||b>H)return[];var N=X,O=vs(b,X);S=at(S),b-=X;for(var j=RR(O,S);++N<b;)S(N);return j}function ale(b){return bt(b)?qn(b,Ba):Li(b)?[b]:ri(qF(sn(b)))}function lle(b){var S=++bne;return sn(b)+S}var cle=bx(function(b,S){return b+S},0),ule=ZR("ceil"),dle=bx(function(b,S){return b/S},1),fle=ZR("floor");function hle(b){return b&&b.length?fx(b,oi,FR):n}function ple(b,S){return b&&b.length?fx(b,at(S,2),FR):n}function mle(b){return N2(b,oi)}function gle(b,S){return N2(b,at(S,2))}function vle(b){return b&&b.length?fx(b,oi,UR):n}function yle(b,S){return b&&b.length?fx(b,at(S,2),UR):n}var ble=bx(function(b,S){return b*S},1),wle=ZR("round"),_le=bx(function(b,S){return b-S},0);function xle(b){return b&&b.length?AR(b,oi):0}function Sle(b,S){return b&&b.length?AR(b,at(S,2)):0}return V.after=Vie,V.ary=rj,V.assign=Noe,V.assignIn=vj,V.assignInWith=Nx,V.assignWith=Moe,V.at=Ooe,V.before=sj,V.bi
|
|||
|
|
To pick up a draggable item, press the space bar.
|
|||
|
|
While dragging, use the arrow keys to move the item.
|
|||
|
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|||
|
|
`},AIe={onDragStart(t){let{active:e}=t;return"Picked up draggable item "+e.id+"."},onDragOver(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was moved over droppable area "+n.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was dropped over droppable area "+n.id:"Draggable item "+e.id+" was dropped."},onDragCancel(t){let{active:e}=t;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function RIe(t){let{announcements:e=AIe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:s=CIe}=t;const{announce:i,announcement:a}=xIe(),o=L_("DndLiveRegion"),[c,u]=_.useState(!1);if(_.useEffect(()=>{u(!0)},[]),SIe(_.useMemo(()=>({onDragStart(l){let{active:d}=l;i(e.onDragStart({active:d}))},onDragMove(l){let{active:d,over:m}=l;e.onDragMove&&i(e.onDragMove({active:d,over:m}))},onDragOver(l){let{active:d,over:m}=l;i(e.onDragOver({active:d,over:m}))},onDragEnd(l){let{active:d,over:m}=l;i(e.onDragEnd({active:d,over:m}))},onDragCancel(l){let{active:d,over:m}=l;i(e.onDragCancel({active:d,over:m}))}}),[i,e])),!c)return null;const f=se.createElement(se.Fragment,null,se.createElement(wIe,{id:r,value:s.draggable}),se.createElement(_Ie,{id:o,announcement:a}));return n?Ns.createPortal(f,n):f}var Br;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(Br||(Br={}));function j1(){}function R5e(t,e){return _.useMemo(()=>({sensor:t,options:e??{}}),[t,e])}function P5e(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return _.useMemo(()=>[...e].filter(r=>r!=null),[...e])}const Na=Object.freeze({x:0,y:0});function PIe(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function TIe(t,e){const n=F1(t);if(!n)return"0 0";const r={x:(n.x-e.left)/e.width*100,y:(n.y-e.top)/e.height*100};return r.x+"% "+r.y+"%"}function kIe(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return n-r}function DIe(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return r-n}function NIe(t,e){if(!t||t.length===0)return null;const[n]=t;return n[e]}function k4(t,e,n){return e===void 0&&(e=t.left),n===void 0&&(n=t.top),{x:e+t.width*.5,y:n+t.height*.5}}const T5e=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=k4(e,e.left,e.top),i=[];for(const a of r){const{id:o}=a,c=n.get(o);if(c){const u=PIe(k4(c),s);i.push({id:o,data:{droppableContainer:a,value:u}})}}return i.sort(kIe)};function MIe(t,e){const n=Math.max(e.top,t.top),r=Math.max(e.left,t.left),s=Math.min(e.left+e.width,t.left+t.width),i=Math.min(e.top+e.height,t.top+t.height),a=s-r,o=i-n;if(r<s&&n<i){const c=e.width*e.height,u=t.width*t.height,f=a*o,l=f/(c+u-f);return Number(l.toFixed(4))}return 0}const OIe=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=[];for(const i of r){const{id:a}=i,o=n.get(a);if(o){const c=MIe(o,e);c>0&&s.push({id:a,data:{droppableContainer:i,value:c}})}}return s.sort(DIe)};function LIe(t,e,n){return{...t,scaleX:e&&n?e.width/n.width:1,scaleY:e&&n?e.height/n.height:1}}function WQ(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:Na}function IIe(t){return function(n){for(var r=arguments.length,s=new Array(r>1?r-1:0),i=1;i<r;i++)s[i-1]=arguments[i];return s.reduce((a,o)=>({...a,top:a.top+t*o.y,bottom:a.bottom+t*o.y,left:a.left+t*o.x,right:a.right+t*o.x}),{...n})}}const $Ie=IIe(1);function VQ(t){if(t.startsWith("matrix3d(")){const e=t.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(t.startsWith("matrix(")){const e=t.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function FIe(t,e,n){const r=VQ(e);if(!r)return t;const{scaleX:s,scaleY:i,x:a,y:o}=r,c=t.left-a-(1-s)*parseFloat(n),u=t.top-o-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),f=s?t.width/s:t.width,l=i?t.height/i:t.height;return{width:f,height:l,top:u,right:c+f,bottom:u+l,left:c
|
|||
|
|
`);return e.join("")}}function Gy(t,e){try{const{protocol:n}=e?new URL(t,e):new URL(t);return n==="http:"||n==="https:"}catch{return!1}}function Ri(t){t.preventDefault()}function LJ(t){console.log("Deprecated API usage: "+t)}let nU;class IJ{static toDateObject(e){if(!e||typeof e!="string")return null;nU||(nU=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const n=nU.exec(e);if(!n)return null;const r=parseInt(n[1],10);let s=parseInt(n[2],10);s=s>=1&&s<=12?s-1:0;let i=parseInt(n[3],10);i=i>=1&&i<=31?i:1;let a=parseInt(n[4],10);a=a>=0&&a<=23?a:0;let o=parseInt(n[5],10);o=o>=0&&o<=59?o:0;let c=parseInt(n[6],10);c=c>=0&&c<=59?c:0;const u=n[7]||"Z";let f=parseInt(n[8],10);f=f>=0&&f<=23?f:0;let l=parseInt(n[9],10)||0;return l=l>=0&&l<=59?l:0,u==="-"?(a+=f,o+=l):u==="+"&&(a-=f,o-=l),new Date(Date.UTC(r,s,i,a,o,c))}}function TFe(t,{scale:e=1,rotation:n=0}){const{width:r,height:s}=t.attributes.style,i=[0,0,parseInt(r),parseInt(s)];return new $_({viewBox:i,scale:e,rotation:n})}function Y$(t){if(t.startsWith("#")){const e=parseInt(t.slice(1),16);return[(e&16711680)>>16,(e&65280)>>8,e&255]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map(e=>parseInt(e)):t.startsWith("rgba(")?t.slice(5,-1).split(",").map(e=>parseInt(e)).slice(0,3):(kt(`Not a valid color format: "${t}"`),[0,0,0])}function kFe(t){const e=document.createElement("span");e.style.visibility="hidden",document.body.append(e);for(const n of t.keys()){e.style.color=n;const r=window.getComputedStyle(e).color;t.set(n,Y$(r))}e.remove()}function Jn(t){const{a:e,b:n,c:r,d:s,e:i,f:a}=t.getTransform();return[e,n,r,s,i,a]}function Gl(t){const{a:e,b:n,c:r,d:s,e:i,f:a}=t.getTransform().invertSelf();return[e,n,r,s,i,a]}function sp(t,e,n=!1,r=!0){if(e instanceof $_){const{pageWidth:s,pageHeight:i}=e.rawDims,{style:a}=t,o=wi.isCSSRoundSupported,c=`var(--scale-factor) * ${s}px`,u=`var(--scale-factor) * ${i}px`,f=o?`round(${c}, 1px)`:`calc(${c})`,l=o?`round(${u}, 1px)`:`calc(${u})`;!n||e.rotation%180===0?(a.width=f,a.height=l):(a.width=l,a.height=f)}r&&t.setAttribute("data-main-rotation",e.rotation)}var zf,Bf,Hi,Uf,eC,$J,Qs,FJ,jJ,eE,zJ,qN;const tC=class tC{constructor(e){z(this,Qs);z(this,zf,null);z(this,Bf,null);z(this,Hi);z(this,Uf,null);$(this,Hi,e)}render(){const e=$(this,zf,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar");const n=C(this,Hi)._uiManager._signal;e.addEventListener("contextmenu",Ri,{signal:n}),e.addEventListener("pointerdown",B(tC,eC,$J),{signal:n});const r=$(this,Uf,document.createElement("div"));r.className="buttons",e.append(r);const s=C(this,Hi).toolbarPosition;if(s){const{style:i}=e,a=C(this,Hi)._uiManager.direction==="ltr"?1-s[0]:s[0];i.insetInlineEnd=`${100*a}%`,i.top=`calc(${100*s[1]}% + var(--editor-toolbar-vert-offset))`}return B(this,Qs,zJ).call(this),e}hide(){var e;C(this,zf).classList.add("hidden"),(e=C(this,Bf))==null||e.hideDropdown()}show(){C(this,zf).classList.remove("hidden")}addAltTextButton(e){B(this,Qs,eE).call(this,e),C(this,Uf).prepend(e,C(this,Qs,qN))}addColorPicker(e){$(this,Bf,e);const n=e.renderButton();B(this,Qs,eE).call(this,n),C(this,Uf).prepend(n,C(this,Qs,qN))}remove(){var e;C(this,zf).remove(),(e=C(this,Bf))==null||e.destroy(),$(this,Bf,null)}};zf=new WeakMap,Bf=new WeakMap,Hi=new WeakMap,Uf=new WeakMap,eC=new WeakSet,$J=function(e){e.stopPropagation()},Qs=new WeakSet,FJ=function(e){C(this,Hi)._focusEventsAllowed=!1,e.preventDefault(),e.stopPropagation()},jJ=function(e){C(this,Hi)._focusEventsAllowed=!0,e.preventDefault(),e.stopPropagation()},eE=function(e){const n=C(this,Hi)._uiManager._signal;e.addEventListener("focusin",B(this,Qs,FJ).bind(this),{capture:!0,signal:n}),e.addEventListener("focusout",B(this,Qs,jJ).bind(this),{capture:!0,signal:n}),e.addEventListener("contextmenu",Ri,{signal:n})},zJ=function(){const e=document.createElement("button");e.className="delete",e.tabIndex=0,e.setAttribute("data-l10n-id",`pdfjs-editor-remove-${C(this,Hi).editorType}-button`),B(this,Qs,eE).call(this,e),e.addEventListener("click",n=>{C(this,Hi)._uiMa
|
|||
|
|
`))||null;u&&this.data.comb&&(u=u.replaceAll(/\s+/g,""));const f={userValue:o,formattedValue:u,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=u??o,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",u??o),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),op.add(r),r.setAttribute("data-element-id",n),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=z_,this._setRequired(r,this.data.required),c&&(r.maxLength=c),r.addEventListener("input",d=>{e.setValue(n,{value:d.target.value}),this.setPropertyOnSiblings(r,"value",d.target.value,"value"),f.formattedValue=null}),r.addEventListener("resetform",d=>{const m=this.data.defaultFieldValue??"";r.value=f.userValue=m,f.formattedValue=null});let l=d=>{const{formattedValue:m}=f;m!=null&&(d.target.value=m),d.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",m=>{var h;if(f.focused)return;const{target:p}=m;f.userValue&&(p.value=f.userValue),f.lastCommittedValue=p.value,f.commitKey=1,(h=this.data.actions)!=null&&h.Focus||(f.focused=!0)}),r.addEventListener("updatefromsandbox",m=>{this.showElementAndHideCanvas(m.target);const p={value(h){f.userValue=h.detail.value??"",e.setValue(n,{value:f.userValue.toString()}),h.target.value=f.userValue},formattedValue(h){const{formattedValue:y}=h.detail;f.formattedValue=y,y!=null&&h.target!==document.activeElement&&(h.target.value=y),e.setValue(n,{formattedValue:y})},selRange(h){h.target.setSelectionRange(...h.detail.selRange)},charLimit:h=>{var w;const{charLimit:y}=h.detail,{target:g}=h;if(y===0){g.removeAttribute("maxLength");return}g.setAttribute("maxLength",y);let v=f.userValue;!v||v.length<=y||(v=v.slice(0,y),g.value=f.userValue=v,e.setValue(n,{value:v}),(w=this.linkService.eventBus)==null||w.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:1,selStart:g.selectionStart,selEnd:g.selectionEnd}}))}};this._dispatchEventFromSandbox(p,m)}),r.addEventListener("keydown",m=>{var y;f.commitKey=1;let p=-1;if(m.key==="Escape"?p=0:m.key==="Enter"&&!this.data.multiLine?p=2:m.key==="Tab"&&(f.commitKey=3),p===-1)return;const{value:h}=m.target;f.lastCommittedValue!==h&&(f.lastCommittedValue=h,f.userValue=h,(y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:h,willCommit:!0,commitKey:p,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}}))});const d=l;l=null,r.addEventListener("blur",m=>{var h,y;if(!f.focused||!m.relatedTarget)return;(h=this.data.actions)!=null&&h.Blur||(f.focused=!1);const{value:p}=m.target;f.userValue=p,f.lastCommittedValue!==p&&((y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:p,willCommit:!0,commitKey:f.commitKey,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}})),d(m)}),(i=this.data.actions)!=null&&i.Keystroke&&r.addEventListener("beforeinput",m=>{var A;f.lastCommittedValue=null;const{data:p,target:h}=m,{value:y,selectionStart:g,selectionEnd:v}=h;let w=g,x=v;switch(m.inputType){case"deleteWordBackward":{const k=y.substring(0,g).match(/\w*[^\w]*$/);k&&(w-=k[0].length);break}case"deleteWordForward":{const k=y.substring(g).match(/^[^\w]*\w*/);k&&(x+=k[0].length);break}case"deleteContentBackward":g===v&&(w-=1);break;case"deleteContentForward":g===v&&(x+=1);break}m.preventDefault(),(A=this.linkService.eventBus)==null||A.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:y,change:p||"",willCommit:!1,selStart:w,selEnd:x}})}),this._setEventListeners(r,f,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],m=>m.target.value)}if(l&&r.addEventListener("blur",l),this.data.comb){const m=(this.data.rect[2]-this.data.rect[0])/c;r.classList.add("comb"),r.style.letterSpacing=`
|
|||
|
|
`))n.push({name:"span",value:i,attributes:s});return r},MZ=function(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||(e.key==="Enter"||e.key==="Escape"&&C(this,yc))&&B(this,xn,cE).call(this)},OZ=function(){if(C(this,bc)!==null)return;const{page:{view:e},viewport:{rawDims:{pageWidth:n,pageHeight:r,pageX:s,pageY:i}}}=C(this,c0);let a=!!C(this,Lg),o=a?C(this,Lg):C(this,u0);for(const p of C(this,l0))if(!o||et.intersect(p.data.rect,o)!==null){o=p.data.rect,a=!0;break}const c=et.normalizeRect([o[0],e[3]-o[1]+e[1],o[2],e[3]-o[3]+e[1]]),f=a?o[2]-o[0]+5:0,l=c[0]+f,d=c[1];$(this,bc,[100*(l-s)/n,100*(d-i)/r]);const{style:m}=C(this,cr);m.left=`${C(this,bc)[0]}%`,m.top=`${C(this,bc)[1]}%`},cE=function(){$(this,yc,!C(this,yc)),C(this,yc)?(B(this,xn,uE).call(this),C(this,cr).addEventListener("click",C(this,Og)),C(this,cr).addEventListener("keydown",C(this,Mg))):(B(this,xn,SM).call(this),C(this,cr).removeEventListener("click",C(this,Og)),C(this,cr).removeEventListener("keydown",C(this,Mg)))},uE=function(){C(this,ua)||this.render(),this.isVisible?C(this,yc)&&C(this,cr).classList.add("focused"):(B(this,xn,OZ).call(this),C(this,cr).hidden=!1,C(this,cr).style.zIndex=parseInt(C(this,cr).style.zIndex)+1e3)},SM=function(){C(this,cr).classList.remove("focused"),!(C(this,yc)||!this.isVisible)&&(C(this,cr).hidden=!0,C(this,cr).style.zIndex=parseInt(C(this,cr).style.zIndex)-1e3)};class LZ extends wr{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=Vt.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const e=document.createElement("div");e.classList.add("annotationTextContent"),e.setAttribute("role","comment");for(const n of this.textContent){const r=document.createElement("span");r.textContent=n,e.append(r)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}get _isEditable(){return this.data.hasOwnCanvas}}var f0;class Qje extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,f0,null)}render(){this.container.classList.add("lineAnnotation");const n=this.data,{width:r,height:s}=$c(n.rect),i=this.svgFactory.create(r,s,!0),a=$(this,f0,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",n.rect[2]-n.lineCoordinates[0]),a.setAttribute("y1",n.rect[3]-n.lineCoordinates[1]),a.setAttribute("x2",n.rect[2]-n.lineCoordinates[2]),a.setAttribute("y2",n.rect[3]-n.lineCoordinates[3]),a.setAttribute("stroke-width",n.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!n.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return C(this,f0)}addHighlightArea(){this.container.classList.add("highlightArea")}}f0=new WeakMap;var h0;class Jje extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,h0,null)}render(){this.container.classList.add("squareAnnotation");const n=this.data,{width:r,height:s}=$c(n.rect),i=this.svgFactory.create(r,s,!0),a=n.borderStyle.width,o=$(this,h0,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",r-a),o.setAttribute("height",s-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!n.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return C(this,h0)}addHighlightArea(){this.container.classList.add("highlightArea")}}h0=new WeakMap;var p0;class Zje extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,p0,null)}render(){this.container.classList.add("circleAnnotation");const n=this.data,{width:r,height:s}=$c(n.rect),i=this.svgFactory.create(r,s,!0),a=n.borderStyle.width,o=$(this,p0,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",r/2),o.setAttribute("cy",s/2),o.setAttribute("rx",r/2-a/2),o.setAt
|
|||
|
|
`);if(!i)return;const a=window.getSelection();if(!a.rangeCount)return;this.editorDiv.normalize(),a.deleteFromDocument();const o=a.getRangeAt(0);if(!i.includes(`
|
|||
|
|
`)){o.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),a.collapseToStart();return}const{startContainer:c,startOffset:u}=o,f=[],l=[];if(c.nodeType===Node.TEXT_NODE){const g=c.parentElement;if(l.push(c.nodeValue.slice(u).replaceAll(RS,"")),g!==this.editorDiv){let v=f;for(const w of this.editorDiv.childNodes){if(w===g){v=l;continue}v.push(B(h=Mn,zc,fE).call(h,w))}}f.push(c.nodeValue.slice(0,u).replaceAll(RS,""))}else if(c===this.editorDiv){let g=f,v=0;for(const w of this.editorDiv.childNodes)v++===u&&(g=l),g.push(B(y=Mn,zc,fE).call(y,w))}$(this,qi,`${f.join(`
|
|||
|
|
`)}${i}${l.join(`
|
|||
|
|
`)}`),B(this,Pr,hE).call(this);const d=new Range;let m=f.reduce((g,v)=>g+v.length,0);for(const{firstChild:g}of this.editorDiv.childNodes)if(g.nodeType===Node.TEXT_NODE){const v=g.nodeValue.length;if(m<=v){d.setStart(g,m),d.setEnd(g,m);break}m-=v}a.removeAllRanges(),a.addRange(d)}get contentDiv(){return this.editorDiv}static deserialize(n,r,s){var o;let i=null;if(n instanceof LZ){const{data:{defaultAppearanceData:{fontSize:c,fontColor:u},rect:f,rotation:l,id:d},textContent:m,textPosition:p,parent:{page:{pageNumber:h}}}=n;if(!m||m.length===0)return null;i=n={annotationType:Vt.FREETEXT,color:Array.from(u),fontSize:c,value:m.join(`
|
|||
|
|
`),position:p,pageIndex:h-1,rect:f.slice(0),rotation:l,id:d,deleted:!1}}const a=super.deserialize(n,r,s);return $(a,Gi,n.fontSize),$(a,da,et.makeHexColor(...n.color)),$(a,qi,B(o=Mn,zc,RM).call(o,n.value)),a.annotationElementId=n.id||null,$(a,$g,i),a}serialize(n=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const r=Mn._internalPadding*this.parentScale,s=this.getRect(r,r),i=pn._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:C(this,da)),a={annotationType:Vt.FREETEXT,color:i,fontSize:C(this,Gi),value:B(this,Pr,HZ).call(this),pageIndex:this.pageIndex,rect:s,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return n?a:this.annotationElementId&&!B(this,Pr,WZ).call(this,a)?null:(a.id=this.annotationElementId,a)}renderAnnotationElement(n){const r=super.renderAnnotationElement(n);if(this.deleted)return r;const{style:s}=r;s.fontSize=`calc(${C(this,Gi)}px * var(--scale-factor))`,s.color=C(this,da),r.replaceChildren();for(const a of C(this,qi).split(`
|
|||
|
|
`)){const o=document.createElement("div");o.append(a?document.createTextNode(a):document.createElement("br")),r.append(o)}const i=Mn._internalPadding*this.parentScale;return n.updateEdited({rect:this.getRect(i,i),popupContent:C(this,qi)}),r}resetAnnotationElement(n){super.resetAnnotationElement(n),n.resetEdited()}};w0=new WeakMap,_0=new WeakMap,x0=new WeakMap,S0=new WeakMap,E0=new WeakMap,da=new WeakMap,qi=new WeakMap,C0=new WeakMap,Gi=new WeakMap,$g=new WeakMap,Pr=new WeakSet,zZ=function(n){const r=i=>{this.editorDiv.style.fontSize=`calc(${i}px * var(--scale-factor))`,this.translate(0,-(i-C(this,Gi))*this.parentScale),$(this,Gi,i),B(this,Pr,dE).call(this)},s=C(this,Gi);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:pt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},BZ=function(n){const r=i=>{$(this,da,this.editorDiv.style.color=i)},s=C(this,da);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:pt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},UZ=function(){var r;const n=[];this.editorDiv.normalize();for(const s of this.editorDiv.childNodes)n.push(B(r=Mn,zc,fE).call(r,s));return n.join(`
|
|||
|
|
`)},dE=function(){const[n,r]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:i,div:a}=this,o=a.style.display,c=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",i.div.append(this.div),s=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.classList.toggle("hidden",c)}this.rotation%180===this.parentRotation%180?(this.width=s.width/n,this.height=s.height/r):(this.width=s.height/n,this.height=s.width/r),this.fixAndSetPosition()},zc=new WeakSet,fE=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(RS,"")},hE=function(){if(this.editorDiv.replaceChildren(),!!C(this,qi))for(const n of C(this,qi).split(`
|
|||
|
|
`)){const r=document.createElement("div");r.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(r)}},HZ=function(){return C(this,qi).replaceAll(" "," ")},RM=function(n){return n.replaceAll(" "," ")},WZ=function(n){const{value:r,fontSize:s,color:i,pageIndex:a}=C(this,$g);return this._hasBeenMoved||n.value!==r||n.fontSize!==s||n.color.some((o,c)=>o!==i[c])||n.pageIndex!==a},z(Mn,zc),He(Mn,"_freeTextDefaultContent",""),He(Mn,"_internalPadding",0),He(Mn,"_defaultColor",null),He(Mn,"_defaultFontSize",10),He(Mn,"_type","freetext"),He(Mn,"_editorType",Vt.FREETEXT);let AM=Mn;var A0,nd,fa,Js,VZ,pE,qZ,GZ,TM;class PM{constructor(e,n=0,r=0,s=!0){z(this,Js);z(this,A0);z(this,nd,[]);z(this,fa,[]);let i=1/0,a=-1/0,o=1/0,c=-1/0;const u=10**-4;for(const{x:y,y:g,width:v,height:w}of e){const x=Math.floor((y-n)/u)*u,A=Math.ceil((y+v+n)/u)*u,k=Math.floor((g-n)/u)*u,R=Math.ceil((g+w+n)/u)*u,E=[x,k,R,!0],T=[A,k,R,!1];C(this,nd).push(E,T),i=Math.min(i,x),a=Math.max(a,A),o=Math.min(o,k),c=Math.max(c,R)}const f=a-i+2*r,l=c-o+2*r,d=i-r,m=o-r,p=C(this,nd).at(s?-1:-2),h=[p[0],p[2]];for(const y of C(this,nd)){const[g,v,w]=y;y[0]=(g-d)/f,y[1]=(v-m)/l,y[2]=(w-m)/l}$(this,A0,{x:d,y:m,width:f,height:l,lastPoint:h})}getOutlines(){C(this,nd).sort((n,r)=>n[0]-r[0]||n[1]-r[1]||n[2]-r[2]);const e=[];for(const n of C(this,nd))n[3]?(e.push(...B(this,Js,TM).call(this,n)),B(this,Js,qZ).call(this,n)):(B(this,Js,GZ).call(this,n),e.push(...B(this,Js,TM).call(this,n)));return B(this,Js,VZ).call(this,e)}}A0=new WeakMap,nd=new WeakMap,fa=new WeakMap,Js=new WeakSet,VZ=function(e){const n=[],r=new Set;for(const a of e){const[o,c,u]=a;n.push([o,c,a],[o,u,a])}n.sort((a,o)=>a[1]-o[1]||a[0]-o[0]);for(let a=0,o=n.length;a<o;a+=2){const c=n[a][2],u=n[a+1][2];c.push(u),u.push(c),r.add(c),r.add(u)}const s=[];let i;for(;r.size>0;){const a=r.values().next().value;let[o,c,u,f,l]=a;r.delete(a);let d=o,m=c;for(i=[o,u],s.push(i);;){let p;if(r.has(f))p=f;else if(r.has(l))p=l;else break;r.delete(p),[o,c,u,f,l]=p,d!==o&&(i.push(d,m,o,m===c?c:u),d=o),m=m===c?u:c}i.push(d,m)}return new l3e(s,C(this,A0))},pE=function(e){const n=C(this,fa);let r=0,s=n.length-1;for(;r<=s;){const i=r+s>>1,a=n[i][0];if(a===e)return i;a<e?r=i+1:s=i-1}return s+1},qZ=function([,e,n]){const r=B(this,Js,pE).call(this,e);C(this,fa).splice(r,0,[e,n])},GZ=function([,e,n]){const r=B(this,Js,pE).call(this,e);for(let s=r;s<C(this,fa).length;s++){const[i,a]=C(this,fa)[s];if(i!==e)break;if(i===e&&a===n){C(this,fa).splice(s,1);return}}for(let s=r-1;s>=0;s--){const[i,a]=C(this,fa)[s];if(i!==e)break;if(i===e&&a===n){C(this,fa).splice(s,1);return}}},TM=function(e){const[n,r,s]=e,i=[[n,r,s]],a=B(this,Js,pE).call(this,s);for(let o=0;o<a;o++){const[c,u]=C(this,fa)[o];for(let f=0,l=i.length;f<l;f++){const[,d,m]=i[f];if(!(u<=d||m<=c)){if(d>=c){if(m>u)i[f][1]=u;else{if(l===1)return[];i.splice(f,1),f--,l--}continue}i[f][2]=c,m>u&&i.push([n,u,m])}}}return i};class KZ{toSVGPath(){throw new Error("Abstract method `toSVGPath` must be implemented.")}get box(){throw new Error("Abstract getter `box` must be implemented.")}serialize(e,n){throw new Error("Abstract method `serialize` must be implemented.")}get free(){return this instanceof DM}}var R0,Fg;class l3e extends KZ{constructor(n,r){super();z(this,R0);z(this,Fg);$(this,Fg,n),$(this,R0,r)}toSVGPath(){const n=[];for(const r of C(this,Fg)){let[s,i]=r;n.push(`M${s} ${i}`);for(let a=2;a<r.length;a+=2){const o=r[a],c=r[a+1];o===s?(n.push(`V${c}`),i=c):c===i&&(n.push(`H${o}`),s=o)}n.push("Z")}return n.join(" ")}serialize([n,r,s,i],a){const o=[],c=s-n,u=i-r;for(const f of C(this,Fg)){const l=new Array(f.length);for(let d=0;d<f.length;d+=2)l[d]=n+f[d]*c,l[d+1]=i-f[d+1]*u;o.push(l)}return o}get box(){return C(this,R0)}}R0=new WeakMap,Fg=new WeakMap;var sl,_c,jg,zg,il,Bt,vh,yh,P0,T0,Bg,Ug,rd,k0,mC,gC,D0,kM;const Zl=class Zl{constructor({x:e,y:n},r,s,i,a,o=0){z(this,D0);z(this,sl);z(this,_c,[]);z(this,jg);z(this,zg);z(this,il,[]);z(this,Bt,new Float64Array(18));z(this,vh);z(this,yh);z(this,P0);z(this,T0);z(this,Bg);z(this,Ug);z(this,rd,[]);$(this,sl,r),$(this,
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LBe(t,e){if(t){if(typeof t=="string")return $U(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $U(t,e)}}function $U(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function IBe(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,a,o;try{for(n=n.call(t);!(s=(a=n.next()).done)&&(r.push(a.value),!(e&&r.length===e));s=!0);}catch(c){i=!0,o=c}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw o}}return r}}function $Be(t){if(Array.isArray(t))return t}var FU=(0,DBe.getSecurePrefix)(),FBe=function(){var e={};if(typeof window<"u")for(var n=new kBe.default,r=0,s=Object.entries(localStorage);r<s.length;r++){var i=MBe(s[r],2),a=i[0],o=i[1];if(a.startsWith(FU)){var c=a.replace(FU,"")[0],u=a.replace(/[.][bjns][.]/,"."),f=n.decrypt(o),l=null;if(f!=null)switch(c){case"b":l=f==="true";break;case"j":try{l=JSON.parse(f)}catch{l=null}break;case"n":try{l=Number(f)}catch{l=null}break;default:l=f}e[u]=l}}return e},jBe=FBe;aR.default=jBe;Object.defineProperty(e2,"__esModule",{value:!0});var Po=e2.default=void 0,zBe=qee(U_),BBe=qee(aR),UBe=bl;function qee(t){return t&&t.__esModule?t:{default:t}}function HBe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function WBe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function VBe(t,e,n){return e&&WBe(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qBe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Y1(t){"@babel/helpers - typeof";return Y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y1(t)}var SE=(0,UBe.getSecurePrefix)(),GBe=function(e){return Y1(e)==="object"?"j":typeof e=="boolean"?"b":typeof e=="number"?"n":"s"},jU=function(e,n){var r=GBe(n);return SE+"".concat(r,".")+e},KBe=function(){function t(){HBe(this,t),qBe(this,"_localStorageItems",{}),this._localStorageItems=(0,BBe.default)()}return VBe(t,[{key:"setItem",value:function(n,r){if(r==null)this.removeItem(n);else{var s=Y1(r)==="object"?JSON.stringify(r):r+"",i=jU(n,r),a=SE+n;n!=null&&(this._localStorageItems[a]=r);var o=new zBe.default;localStorage.setItem(i,o.encrypt(s))}}},{key:"getItem",value:function(n){var r,s=SE+n;return(r=this._localStorageItems[s])!==null&&r!==void 0?r:null}},{key:"removeItem",value:function(n){var r=SE+n,s=this._localStorageItems[r],i=jU(n,s);this._localStorageItems[r]!==void 0&&delete this._localStorageItems[r],localStorage.removeItem(i)}},{key:"clear",value:function(){this._localStorageItems={},localStorage.clear()}}]),t}(),YBe=new KBe,XBe=YBe;Po=e2.default=XBe;const QBe={theme:"system",setTheme:()=>null},JBe=_.createContext(QBe);function ZBe({children:t,defaultTheme:e="system",storageKey:n="vite-ui-theme",...r}){const[s,i]=_.useState(()=>Po.getItem(n)||e);_.useEffect(()=>{const o=window.document.documentElement;if(o.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";o.classList.add(c);return}o.classList.add(s)},[s]);const a={theme:s,setTheme:o=>{Po.setItem(n,o),i(o)}};return P.jsx(JBe.Provider,{...r,value:a,children:t})}const e4e=_.createContext(null),Gee=({children:t})=>{const[e,n]=_.useState(null),[r,s]=_.useState(!1),i=_.useCallback(u=>{n(u),s(!0)},[s,n]),a=()=>{var u;(u=e==null?void 0:e.onConfirm)==null||u.call(e),s(!1)},o=()=>{var u;(u=e==null?void 0:e.onCancel)==null||u.call(e),s(!1)},c=_.useMemo(()=>({show:i}),[i]);return P.jsxs(e4e.Provider,{value:c,ch
|
|||
|
|
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&gUe[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},WU=Symbol("internals");function Ny(t){return t&&String(t).trim().toLowerCase()}function CE(t){return t===!1||t==null?t:ve.isArray(t)?t.map(CE):String(t)}function yUe(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const bUe=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function _k(t,e,n,r,s){if(ve.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!ve.isString(e)){if(ve.isString(r))return e.indexOf(r)!==-1;if(ve.isRegExp(r))return r.test(e)}}function wUe(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function _Ue(t,e){const n=ve.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}let Pi=class{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(o,c,u){const f=Ny(c);if(!f)throw new Error("header name must be a non-empty string");const l=ve.findKey(s,f);(!l||s[l]===void 0||u===!0||u===void 0&&s[l]!==!1)&&(s[l||c]=CE(o))}const a=(o,c)=>ve.forEach(o,(u,f)=>i(u,f,c));if(ve.isPlainObject(e)||e instanceof this.constructor)a(e,n);else if(ve.isString(e)&&(e=e.trim())&&!bUe(e))a(vUe(e),n);else if(ve.isHeaders(e))for(const[o,c]of e.entries())i(c,o,r);else e!=null&&i(n,e,r);return this}get(e,n){if(e=Ny(e),e){const r=ve.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return yUe(s);if(ve.isFunction(n))return n.call(this,s,r);if(ve.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ny(e),e){const r=ve.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||_k(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=Ny(a),a){const o=ve.findKey(r,a);o&&(!n||_k(r,r[o],o,n))&&(delete r[o],s=!0)}}return ve.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||_k(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return ve.forEach(this,(s,i)=>{const a=ve.findKey(r,i);if(a){n[a]=CE(s),delete n[i];return}const o=e?wUe(i):String(i).trim();o!==i&&delete n[i],n[o]=CE(s),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return ve.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&ve.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
|||
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[WU]=this[WU]={accessors:{}}).accessors,s=this.prototype;function i(a){const o=Ny(a);r[o]||(_Ue(s,a),r[o]=!0)}return ve.isArray(e)?e.forEach(i):i(e),this}};Pi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ve.reduceDescriptors(Pi.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});ve.freezeMethods(Pi);function xk(t,e){const n=this||V_,r=e||n,s=Pi.from(r.headers);let i=r.data;return ve.forEach(t,function(o){i=o.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function lte(t){return!!(t&&t.__CANCEL__)}function Hv(t,e,n){_t.call(this,t??"canceled",_t.ERR_CANCELED,e,n),this.name="CanceledError"}ve.inherits(Hv,_t,{__CANCEL__:!0});function cte(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new _t("Request failed with status code "+n.status,[_t.ERR_BAD_REQUEST,_t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function xUe(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function SUe(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),f=r[i];a||(a=u),n[s]=c,r[s]=u;let l=i,d=0;for(;l!==s;)d+=n[l++],l=l%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),u-a<e)return;const m=f&&u-f;return m?Math.round(d*1e3/m):void 0}}function EUe(t,e){let n=0,r=1e3/e,s,i;const a=(u,f=Date.now())=>{n=f,s=null,i&&(clearTimeout(i),i=null),t.apply(null,u)};return[(...u)=>{const f=Date.now(),l=f-n;l>=r?a(u,f):(s=u,i||(i=setTimeout(()=>{i=null,a(s)},r-l)))},()=>s&&a(s)]}const X1=(t,e,n=3)=>{let r=0;const s=SUe(50,250);return EUe(i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,c=a-r,u=s(c),f=a<=o;r=a;const l={loaded:a,total:o,progress:o?a/o:void 0,bytes:c,rate:u||void 0,estimated:u&&o&&f?(o-a)/u:void 0,event:i,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(l)},n)},VU=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},qU=t=>(...e)=>ve.asap(()=>t(...e)),CUe=Ds.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Ds.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Ds.origin),Ds.navigator&&/(msie|trident)/i.test(Ds.navigator.userAgent)):()=>!0,AUe=Ds.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];ve.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ve.isString(r)&&a.push("path="+r),ve.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function RUe(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function PUe(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ute(t,e,n){let r=!RUe(e);return t&&(r||n==!1)?PUe(t,e):e}const GU=t=>t instanceof Pi?{...t}:t;function lp(t,e){e=e||{};const n={};function r(u,f,l,d){return ve.isPlainObject(u)&&ve.isPlainObject(f)?ve.merge.call({caseless:d},u,f):ve.isPlainObject(f)?ve.merge({},f):ve.isArray(f)?f.slice():f}function s(u,f,l,d){if(ve.isUndefined(f)){if(!ve.isUndefined(u))return r(void 0,u,l,d)}else return r(u,f,l,d)}function i(u,f){if(!ve.isUndefined(f))return r(void 0,f)}function a(u,f){if(ve.isUndefined(f)){if(!ve.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function o(u,f,l){if(l in e)return r(u,f);if(l in t)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPa
|
|||
|
|
`+i.map(XU).join(`
|
|||
|
|
`):" "+XU(i[0]):"as no adapter specified";throw new _t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:oO};function Sk(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Hv(null,t)}function QU(t){return Sk(t),t.headers=Pi.from(t.headers),t.data=xk.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),pte.getAdapter(t.adapter||V_.adapter)(t).then(function(r){return Sk(t),r.data=xk.call(t,t.transformResponse,r),r.headers=Pi.from(r.headers),r},function(r){return lte(r)||(Sk(t),r&&r.response&&(r.response.data=xk.call(t,t.transformResponse,r.response),r.response.headers=Pi.from(r.response.headers))),Promise.reject(r)})}const mte="1.8.4",hR={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{hR[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const JU={};hR.transitional=function(e,n,r){function s(i,a){return"[Axios v"+mte+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,o)=>{if(e===!1)throw new _t(s(a," has been removed"+(n?" in "+n:"")),_t.ERR_DEPRECATED);return n&&!JU[a]&&(JU[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,o):!0}};hR.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function BUe(t,e,n){if(typeof t!="object")throw new _t("options must be an object",_t.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const o=t[i],c=o===void 0||a(o,i,t);if(c!==!0)throw new _t("option "+i+" must be "+c,_t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new _t("Unknown option "+i,_t.ERR_BAD_OPTION)}}const AE={assertOptions:BUe,validators:hR},Wa=AE.validators;let Fh=class{constructor(e){this.defaults=e,this.interceptors={request:new HU,response:new HU}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|||
|
|
`+i):r.stack=i}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=lp(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&AE.assertOptions(r,{silentJSONParsing:Wa.transitional(Wa.boolean),forcedJSONParsing:Wa.transitional(Wa.boolean),clarifyTimeoutError:Wa.transitional(Wa.boolean)},!1),s!=null&&(ve.isFunction(s)?n.paramsSerializer={serialize:s}:AE.assertOptions(s,{encode:Wa.function,serialize:Wa.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),AE.assertOptions(n,{baseUrl:Wa.spelling("baseURL"),withXsrfToken:Wa.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ve.merge(i.common,i[n.method]);i&&ve.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Pi.concat(a,i);const o=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,o.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!c){const p=[QU.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,u),d=p.length,f=Promise.resolve(n);l<d;)f=f.then(p[l++],p[l++]);return f}d=o.length;let m=n;for(l=0;l<d;){const p=o[l++],h=o[l++];try{m=p(m)}catch(y){h.call(this,y);break}}try{f=QU.call(this,m)}catch(p){return Promise.reject(p)}for(l=0,d=u.length;l<d;)f=f.then(u[l++],u[l++]);return f}getUri(e){e=lp(this.defaults,e);const n=ute(e.baseURL,e.url,e.allowAbsoluteUrls);return ite(n,e.params,e.paramsSerializer)}};ve.forEach(["delete","get","head","options"],function(e){Fh.prototype[e]=function(n,r){return this.request(lp(r||{},{method:e,url:n,data:(r||{}).data}))}});ve.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,o){return this.request(lp(o||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Fh.prototype[e]=n(),Fh.prototype[e+"Form"]=n(!0)});let UUe=class gte{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(o=>{r.subscribe(o),i=o}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,o){r.reason||(r.reason=new Hv(i,a,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new gte(function(s){e=s}),cancel:e}}};function HUe(t){return function(n){return t.apply(null,n)}}function WUe(t){return ve.isObject(t)&&t.isAxiosError===!0}const aO={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHe
|
|||
|
|
If you continue, you will lose the changes.`,confirm_text:"Continue",cancel_text:"Cancel"}},main_menu:{toggle_navigation:"Toggle navigation menu",settings:"Settings",catalog:"Catalog",quotes:"Quotes",search_placeholder:"Search products, quotes, etc.",user:{user_menu:"User menu",my_account:"My account",profile:"Profile",settings:"Settings",support:"Support",logout:"Logout"},logout_dialog:{title:"Log out",description:"Are you sure you want to log out?",confirm_label:"Log out",cancel_label:"Cancel"}},login_page:{title:"Quoting tool for distributors",description:"Enter your email address and password to login",email_label:"Email",email_placeholder:"myemail@sample.com",password_label:"Password",forgotten_password:"Forgot your password?",become_dealer:"Do you want to become a Uecko partner?",contact_us:"Contact us",login:"Log in"},dashboard:{welcome:"Welcome"},catalog:{list:{title:"Catalog of articles",empty_state:{subtitle:"Start by loading catalog items"},columns:{description:"Description",points:"Points",retail_price:"Retail price",quantity:"Quantity"}}},quotes:{list:{title:"Quotes",subtitle:"",tabs_title:"Statuses",select_status:"Select status",preview_aria:"Show quote preview",empty_state:{subtitle:"Start by creating a quote"},status_help:{title:"Quote status help",intro:"A quote status indicates its current position in the business process.",possible:"The possible statuses are:",outro:"Use these statuses to track quotes efficiently and improve your sales process. The Archived status helps keep history without interfering with active quotes."},tabs:{all:"All",draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},columns:{date:"Date",date_sent:"Sent to Uecko",reference:"Reference",status:"Status",customer_reference:"Customer Ref.",customer_information:"Customer",total_price:"Total amount"},resume:{title:"Quote",tabs:{resume:"Summary",preview:"Preview"},quote_information:"Quote Information",customer_information:"Customer Information",price_information:"Quote totals",select_quote:"Select a quote"}},notifications:{created:"Quote created",saved:"Quote saved",saving:"Saving quote"},pdf_generation:{title:"Generating PDF",error:"Error generating PDF",progress:"Progress: {{percentage}}%",elapsed:"Elapsed time: {{elapsed}} seconds",remaining:"Estimated time remaining: {{estimatedTime}} seconds",cancel:"Cancel generation"},create:{title:"New quote",form_groups:{general:{title:"General Data",desc:"General information and the quote's customer"},status:{title:"Status",desc:"Quote status"},documents:{title:"Attached Documents",desc:"Attach documents such as photos, drawings, sketches, etc. to your quotation.",images:"Images"}}},edit:{title:"Quote",buttons:{save_quote:"Save quote"}},duplicate_action:{toast_success:"Quote duplicated"},downloading_dialog:{title:"Downloading quote",description:"Please wait while your quotation is generated and downloaded in PDF format...",progress:{label:"Download is in {{status}}",status_in_progress:"in progress",status_stopped:"stopped"},cancel_button:"Cancel the download",toast_success:"Quote downloaded"},catalog_picker_dialog:{title:"Select catalog items",description:"To complete your quote, you can add items from the catalog.",toast_article_added:"Catalog item added:"},blocks_picker_dialog:{title:"Select a text block",description:"To help complete your quote, you can add predefined text blocks from this list.",toast_article_added:"Text block added:"},quote_sent_to_editor:{trigger_button:"Send to Uecko",title:"Send quote to Uecko",description:"Do you want to send this quote to Uecko? This action cannot be undone.",toast_status_changed:"Quote sent to Uecko"},quote_status_editor:{trigger_button:"Change quote status",title:"Change quote status",status:{draft:{title:"Draft",description:"The quote is in the initial stages of creation."},ready:{title:"Ready",description:"The quote is completed and ready to be delivered to the customer."},delivered:{title:"Delivered",description:"The quote has been sent to the client and a response is awaited."},accepte
|
|||
|
|
Street and number
|
|||
|
|
zip code and city or state...`},payment_method:{label:"Payment method",placeholder:"placeholder",desc:"Method of payment for this quote"},notes:{label:"Notes",placeholder:"",desc:"Quote's notes"},validity:{label:"Validity time",placeholder:"",desc:"Quote's validity time"},subtotal_price:{label:"Subtotal",placeholder:"",desc:"Quote subtotal"},discount:{label:"Discount (%)",placeholder:"",desc:"Percentage discount"},discount_value:{label:"Discount ({{value}}%)",placeholder:"",desc:"Percentage discount"},discount_price:{label:"Discount amount",placeholder:"",desc:"Discount amount"},before_tax_price:{label:"Taxable amount",placeholder:"",desc:"Taxable amount"},tax:{label:"Tax (%)",placeholder:"",desc:"Percentage Tax"},tax_value:{label:"{{label}} ({{value}}%)",placeholder:"",desc:"Percentage Tax"},tax_price:{label:"Tax amount",placeholder:"",desc:"Tax amount"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},items:{quantity:{label:"Quantity",placeholder:"",desc:""},description:{label:"Description",placeholder:"",desc:""},unit_price:{label:"Unit price",placeholder:"",desc:"Item unit price"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Discount (%)",placeholder:"",desc:"Percentage discount"},total_price:{label:"Total price",placeholder:"",desc:"Total price with percentage discount"}}}},settings:{edit:{title:"Settings",tabs:{profile:"Profile settings",quotes:"Quote settings",legal:"Legal settings"}},form_fields:{language:{label:"Language",placeholder:"Select a language",desc:"Preferred language for the interface",options:{es:"Spanish",en:"English",fr:"French"}},logo:{label:"Logo",desc:"This logo will appear in PDF-exported proposals",requirements:"JPG or PNG files are allowed. The logo dimensions must be 200x100 pixels or proportional.",upload:"Upload logo",invalid_format:"Only JPG or PNG files are allowed",invalid_dimensions:"The logo dimensions must be 200x100 pixels or proportional."},contact_information:{label:"Your contact information",placeholder:"",desc:"Your contact information as a dealer that will appear on the quotes given to your customers."},default_tax:{label:"Default tax (%)",placeholder:"",desc:"Default tax rate for your quotes"},default_tax_label:{placeholder:"% VAT",desc:"Name or label shown alongside the tax"},default_show_line_discount_column:{label:"Show discount column by default",desc:"New quotes will initially show the discount column in their lines. You can change this option later for each quote."},default_legal_terms:{label:"Legal terms",placeholder:"",desc:"Legal text to include in all new quotes"},default_payment_method:{label:"Payment method",placeholder:"",desc:"Default payment method to be used for new quotes"},default_notes:{label:"Notes",placeholder:"",desc:"Default notes to be used for new quotes"},default_quote_validity:{label:"Quote validity",placeholder:"",desc:"Default validity time to be used for new quotes"}},notifications:{saved:"Settings saved",saving:"Saving settings"}},support:{modal:{title:"Send an issue",subtitle:"Use this form to report any problem you encountered while using the application. Our development team will review your issue and try to resolve it.",open:"Open support window",placeholder:"Describe the issue here...",submit:"Send issue",validation:{empty:"Write something before sending",min:"The text is too short. It must contain at least 10 characters",max:"The text is too long.",required:"A description is required"},notifications:{sent_title:"Issue sent",sent_description:"The issue was sent successfully",error_title:"Sending error",error_description:"The issue could not be sent. Please try again."},cancel_confirmation:{title:"Are you sure you want to cancel?",description:"You have entered text in the description field. Closing the window will discard your unsaved changes.",back:"Return to form",confirm:"Yes, close"}},form_fields:{}}},yHe={translation:vHe},bHe={common:{required:"obligatorio",cancel:"Cancelar",no:"No",yes:"Sí",save:"Guardar",save_close:"Guardar y Cerrar",discard:"Descartar",hide:"Ocultar",back:"Volver
|
|||
|
|
Si continúa, perderá los cambios.`,confirm_text:"Continuar",cancel_text:"No continuar"}},main_menu:{toggle_navigation:"Alternar el menú de navegación",settings:"Ajustes",catalog:"Catálogo",quotes:"Cotizaciones",search_placeholder:"Buscar productos, cotizaciones, etc...",user:{user_menu:"Menú del usuario",my_account:"Mi cuenta",profile:"Perfil",settings:"Ajustes",support:"Soporte",logout:"Salir"},logout_dialog:{title:"Salir de la cuenta",description:"¿Desea salir de su cuenta?",confirm_label:"Salir",cancel_label:"Cancelar"}},login_page:{title:"Presupuestador para distribuidores",description:"Introduzca su dirección de correo electrónico y contraseña para acceder",email_label:"Email",email_placeholder:"micorreo@ejemplo.com",password_label:"Contraseña",forgotten_password:"¿Has olvidado tu contraseña?",become_dealer:"¿Quieres ser distribuidor de Uecko?",contact_us:"Contacta con nosotros",login:"Entrar"},dashboard:{welcome:"Bienvenido"},catalog:{list:{title:"Catálogo de artículos",empty_state:{subtitle:"Empieza cargando los artículos del catálogo"},columns:{description:"Descripción",points:"Puntos",retail_price:"PVP",quantity:"Cantidad"}}},quotes:{list:{title:"Cotizaciones",subtitle:"",tabs_title:"Estados",select_status:"Seleccionar estado",preview_aria:"Mostrar vista previa de la cotización",empty_state:{subtitle:"Empieza creando alguna cotización"},status_help:{title:"Ayuda sobre el estado de las cotizaciones",intro:"El estado de una cotización indica su posición actual en el proceso de negocio.",possible:"Los estados posibles son:",outro:"Utiliza estos estados para hacer un seguimiento eficiente de tus cotizaciones y optimizar tu proceso de ventas. El estado Archivado ayuda a conservar el historial sin interferir con las cotizaciones activas."},tabs:{all:"Todas",draft:"Borradores",ready:"Preparados",delivered:"Entregado",accepted:"Aceptados",rejected:"Rechazados",archived:"Archivados"},columns:{date:"Fecha",date_sent:"Enviado a Uecko",reference:"Referencia",status:"Estado",customer_reference:"Ref. cliente",customer_information:"Cliente",total_price:"Imp. total"},resume:{title:"Cotización",tabs:{resume:"Resumen",preview:"Previsualización"},quote_information:"Información",customer_information:"Cliente",price_information:"Importes",select_quote:"Selecciona una cotización"}},notifications:{created:"Cotización creada",saved:"Cotización guardada",saving:"Guardando cotización"},pdf_generation:{title:"Generando PDF",error:"Error al generar el PDF",progress:"Progreso: {{percentage}}%",elapsed:"Tiempo transcurrido: {{elapsed}} segundos",remaining:"Tiempo estimado restante: {{estimatedTime}} segundos",cancel:"Cancelar generación"},create:{title:"Nueva cotización",form_groups:{general:{title:"Datos generales",desc:"Datos generales y cliente al que va la cotización"},status:{title:"Estado",desc:"Estado de la cotización"},documents:{title:"Documentos",desc:"Añada adjuntar con su cotización documentos como fotos, planos, croquis, etc.",images:"Imágenes"}}},edit:{title:"Cotización",buttons:{save_quote:"Guardar cotización"}},duplicate_action:{toast_success:"Cotización duplicada"},downloading_dialog:{title:"Descargando cotización",description:"Espere mientras se genera la cotización y se descarga en formato PDF...",progress:{label:"La descarga está {{status}}",status_in_progress:"en marcha",status_stopped:"parada"},cancel_button:"Cancelar la descarga",toast_success:"Cotización descargada"},catalog_picker_dialog:{title:"Seleccionar artículos del catálogo",description:"Para rellenar su cotización, puede añadir artículos del catálogo.",toast_article_added:"Artículo del catálogo añadido:"},blocks_picker_dialog:{title:"Selecctionar bloques de texto",description:"Para ayudar a rellenar la cotización, puede añadir bloques de texto predefinidos de esta lista.",toast_article_added:"Bloque de texto añadido:"},quote_sent_to_editor:{trigger_button:"Enviar a Uecko",title:"Enviar la cotización a Uecko",description:"¿Desea enviar esta cotización a Uecko? Esta acción no se puede deshacer.",toast_
|
|||
|
|
Calle y número
|
|||
|
|
Código postal y ciudad...`},payment_method:{label:"Forma de pago",placeholder:"placeholder",desc:"Forma de pago que se utilizará en esta cotización"},notes:{label:"Notas",placeholder:"",desc:"Notas a incluir en la cotización"},validity:{label:"Validez de la cotización",placeholder:"",desc:"Validez de la cotización"},subtotal_price:{label:"Importe neto",placeholder:"",desc:""},discount:{label:"Descuento (%)",placeholder:"",desc:"Porcentaje de descuento"},discount_value:{label:"Descuento ({{value}}%)",placeholder:"",desc:"Porcentaje de descuento"},discount_price:{label:"Imp. descuento",placeholder:"",desc:"Importe del descuento"},before_tax_price:{label:"Base imponible",placeholder:"",desc:""},tax:{label:"Impuesto (%)",placeholder:"",desc:"Porcentaje de impuesto"},tax_value:{label:"{{label}} ({{value}}%)",placeholder:"",desc:"Porcentaje de impuesto"},tax_price:{label:"Imp. impuesto",placeholder:"",desc:"Importe del impuesto"},total_price:{label:"Imp. total",placeholder:"",desc:"Importe total"},items:{quantity:{label:"Cantidad",placeholder:"",desc:""},description:{label:"Descripción",placeholder:"",desc:""},unit_price:{label:"Imp. unitario",placeholder:"",desc:"Importe unitario del artículo"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Dto (%)",placeholder:"",desc:"Porcentaje de descuento"},total_price:{label:"Imp. total",placeholder:"",desc:"Importe total con el descuento ya aplicado"}}}},settings:{edit:{title:"Ajustes",tabs:{profile:"Ajustes de perfil",quotes:"Ajustes para cotizaciones",legal:"Ajustes legales"}},form_fields:{language:{label:"Idioma",placeholder:"Selecciona un idioma",desc:"Idioma preferido para la interfaz",options:{es:"Español",en:"Inglés",fr:"Francés"}},logo:{label:"Logotipo",desc:"Este logotipo aparecerá en las propuestas exportadas en PDF",requirements:"Se permiten ficheros JPG o PNG. Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales.",upload:"Subir logotipo",invalid_format:"Sólo se permiten ficheros JPG o PNG",invalid_dimensions:"Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales."},contact_information:{label:"Información de contacto",placeholder:"",desc:"Esta información de contacto aparecerá en las cotizaciones que entregue a sus clientes."},default_tax:{label:"Impuesto por defecto (%)",placeholder:"",desc:"Porcentaje de impuesto por defecto en las cotizaciones"},default_tax_label:{placeholder:"% IVA",desc:"Nombre o etiqueta que se mostrará junto al impuesto"},default_show_line_discount_column:{label:"Mostrar columna descuento por defecto",desc:"Los nuevos presupuestos mostrarán inicialmente la columna de descuento en las líneas. Podrás cambiar esta opción posteriormente en cada presupuesto."},default_legal_terms:{label:"Cláusulas legales",placeholder:"",desc:"Texto de texto legal que desee incluir en todas las cotizaciones nuevas"},default_payment_method:{label:"Forma de pago",placeholder:"",desc:"Texto para la forma de pago que se utilizará en las cotizaciones nuevas"},default_notes:{label:"Notas",placeholder:"",desc:"Notas a incluir en todas las cotizaciones nuevas"},default_quote_validity:{label:"Validez por defecto",placeholder:"",desc:"Texto para indicar el tiempo de validez de la cotización"}},notifications:{saved:"Ajustes guardados",saving:"Guardando ajustes"}},support:{modal:{title:"Enviar una incidencia",subtitle:"Utiliza este formulario para informar sobre cualquier problema que hayas encontrado mientras usabas la aplicación. Nuestro equipo de desarrollo revisará tu incidencia y tratará de resolverla.",open:"Abrir ventana de soporte",placeholder:"Describe la incidencia aquí...",submit:"Enviar incidencia",validation:{empty:"Debe escribir algo antes de enviar",min:"El texto es demasiado corto. Debe tener al menos 10 caracteres",max:"El texto es demasiado largo.",required:"La descripción es requerida"},notifications:{sent_title:"Incidencia enviada",sent_description:"La incidencia se ha enviado correctamente",error_title:"Error en el envío",error_description:"No se ha podido env
|
|||
|
|
Si vous continuez, vous les perdrez.`,confirm_text:"Continuer",cancel_text:"Ne pas continuer"}},main_menu:{toggle_navigation:"Basculer le menu de navigation",settings:"Paramètres",catalog:"Catalogue",quotes:"Devis",search_placeholder:"Rechercher des produits, devis, etc.",user:{user_menu:"Menu utilisateur",my_account:"Mon compte",profile:"Profil",settings:"Paramètres",support:"Assistance",logout:"Se déconnecter"},logout_dialog:{title:"Se déconnecter",description:"Voulez-vous vous déconnecter ?",confirm_label:"Se déconnecter",cancel_label:"Annuler"}},login_page:{title:"Outil de devis pour distributeurs",description:"Saisissez votre adresse e-mail et votre mot de passe pour accéder",email_label:"E-mail",email_placeholder:"monemail@exemple.com",password_label:"Mot de passe",forgotten_password:"Mot de passe oublié ?",become_dealer:"Vous souhaitez devenir distributeur Uecko ?",contact_us:"Contactez-nous",login:"Se connecter"},dashboard:{welcome:"Bienvenue"},catalog:{list:{title:"Catalogue d’articles",empty_state:{subtitle:"Commencez par charger les articles du catalogue"},columns:{description:"Description",points:"Points",retail_price:"Prix public",quantity:"Quantité"}}},quotes:{list:{title:"Devis",subtitle:"",tabs_title:"États",select_status:"Sélectionner un état",preview_aria:"Afficher l’aperçu du devis",empty_state:{subtitle:"Commencez par créer un devis"},tabs:{all:"Tous",draft:"Brouillons",ready:"Prêts",delivered:"Livrés",accepted:"Acceptés",rejected:"Refusés",archived:"Archivés"},columns:{date:"Date",date_sent:"Envoyé à Uecko",reference:"Référence",status:"État",customer_reference:"Réf. client",customer_information:"Client",total_price:"Montant total"},resume:{title:"Devis",tabs:{resume:"Résumé",preview:"Aperçu"},quote_information:"Informations",customer_information:"Client",price_information:"Montants",select_quote:"Sélectionnez un devis"}},notifications:{created:"Devis créé",saved:"Devis enregistré",saving:"Enregistrement du devis"},pdf_generation:{title:"Génération du PDF",error:"Erreur lors de la génération du PDF",progress:"Progression : {{percentage}}%",elapsed:"Temps écoulé : {{elapsed}} secondes",remaining:"Temps restant estimé : {{estimatedTime}} secondes",cancel:"Annuler la génération"},create:{title:"Nouveau devis",form_groups:{general:{title:"Données générales",desc:"Données générales et client auquel le devis est destiné"},status:{title:"État",desc:"État du devis"},documents:{title:"Documents",desc:"Ajoutez à votre devis des documents tels que photos, plans, croquis, etc.",images:"Images"}}},edit:{title:"Devis",buttons:{save_quote:"Enregistrer le devis"}},duplicate_action:{toast_success:"Devis dupliqué"},downloading_dialog:{title:"Téléchargement du devis",description:"Veuillez patienter pendant la génération et le téléchargement du devis au format PDF…",progress:{label:"Le téléchargement est {{status}}",status_in_progress:"en cours",status_stopped:"arrêté"},cancel_button:"Annuler le téléchargement",toast_success:"Devis téléchargé"},catalog_picker_dialog:{title:"Sélectionner des articles du catalogue",description:"Pour compléter votre devis, vous pouvez ajouter des articles du catalogue.",toast_article_added:"Article du catalogue ajouté :"},blocks_picker_dialog:{title:"Sélectionner des blocs de texte",description:"Pour vous aider à compléter le devis, vous pouvez ajouter des blocs de texte prédéfinis de cette liste.",toast_article_added:"Bloc de texte ajouté :"},quote_sent_to_editor:{trigger_button:"Envoyer à Uecko",title:"Envoyer le devis à Uecko",description:"Voulez-vous envoyer ce devis à Uecko ? Cette action est irréversible.",toast_status_changed:"Devis envoyé à Uecko"},status:{draft:"Brouillon",ready:"Prêt",delivered:"Livré",accepted:"Accepté",rejected:"Refusé",archived:"Archivé"},form_fields:{date:{label:"Date",desc:"Date de ce devis",placeholder:""},reference:{label:"Référence",desc:"Référence de ce devis",placeholder:""},lang_code:{label:"Langue du document",desc:"Langue utilisée pour générer le devi
|
|||
|
|
Rue et numéro
|
|||
|
|
Code postal et ville…`},payment_method:{label:"Mode de paiement",placeholder:"",desc:"Mode de paiement utilisé pour ce devis"},notes:{label:"Notes",placeholder:"",desc:"Notes à inclure dans le devis"},validity:{label:"Validité du devis",placeholder:"",desc:"Validité de ce devis"},subtotal_price:{label:"Montant net",placeholder:"",desc:""},discount:{label:"Remise (%)",placeholder:"",desc:"Pourcentage de remise"},discount_price:{label:"Montant de la remise",placeholder:"",desc:"Montant de la remise"},before_tax_price:{label:"Base imposable",placeholder:"",desc:""},tax:{label:"Taxe (%)",placeholder:"",desc:"Pourcentage de taxe"},tax_price:{label:"Montant de la taxe",placeholder:"",desc:"Montant de la taxe"},total_price:{label:"Montant total",placeholder:"",desc:"Montant total"},items:{quantity:{label:"Quantité",placeholder:"",desc:""},description:{label:"Description",placeholder:"",desc:""},unit_price:{label:"Prix unitaire",placeholder:"",desc:"Prix unitaire de l’article"},subtotal_price:{label:"Sous-total",placeholder:"",desc:""},discount:{label:"Remise (%)",placeholder:"",desc:"Pourcentage de remise"},total_price:{label:"Montant total",placeholder:"",desc:"Montant total après application de la remise"}}}},settings:{edit:{title:"Paramètres",tabs:{profile:"Paramètres du profil",quotes:"Paramètres des devis",legal:"Paramètres juridiques"}},form_fields:{language:{label:"Langue",placeholder:"Sélectionnez une langue",desc:"Langue préférée de l’interface",options:{es:"Espagnol",en:"Anglais",fr:"Français"}},logo:{label:"Logo",desc:"Ce logo apparaîtra dans les propositions exportées au format PDF",requirements:"Les fichiers JPG ou PNG sont acceptés.",upload:"Téléverser le logo",invalid_format:"Seuls les fichiers JPG ou PNG sont acceptés",invalid_dimensions:"Les dimensions du logo sont invalides."},contact_information:{label:"Informations de contact",placeholder:"",desc:"Ces coordonnées apparaîtront dans les devis remis à vos clients."},default_tax:{label:"Taxe par défaut (%)",placeholder:"",desc:"Pourcentage de taxe par défaut dans les devis"},default_tax_label:{placeholder:"% TVA",desc:"Libellé affiché à côté de la taxe"},default_show_line_discount_column:{label:"Afficher la colonne de remise par défaut",desc:"Les nouveaux devis afficheront initialement la colonne de remise."},default_legal_terms:{label:"Clauses juridiques",placeholder:"",desc:"Texte juridique à inclure dans les nouveaux devis"},default_payment_method:{label:"Mode de paiement",placeholder:"",desc:"Texte utilisé dans les nouveaux devis"},default_notes:{label:"Notes",placeholder:"",desc:"Notes à inclure dans les nouveaux devis"},default_quote_validity:{label:"Validité par défaut",placeholder:"",desc:"Durée de validité du devis"}},notifications:{saved:"Paramètres enregistrés",saving:"Enregistrement des paramètres"}},support:{modal:{title:"Envoyer une incidence",subtitle:"Utilisez ce formulaire pour signaler un problème rencontré pendant l’utilisation de l’application.",open:"Ouvrir la fenêtre d’assistance",placeholder:"Décrivez l’incidence ici…",submit:"Envoyer l’incidence",validation:{empty:"Vous devez écrire quelque chose avant d’envoyer",min:"Le texte est trop court.",max:"Le texte est trop long.",required:"La description est obligatoire"},notifications:{sent_title:"Incident envoyé",sent_description:"L’incident a été envoyé correctement",error_title:"Erreur d’envoi",error_description:"L’incident n’a pas pu être envoyé. Veuillez réessayer."},cancel_confirmation:{title:"Voulez-vous annuler ?",description:"Vous perdrez les modifications non enregistrées.",back:"Retour au formulaire",confirm:"Oui, fermer"}},form_fields:{}}},xHe={translation:_He};ps.use(Ste).use(L2e).init({detection:{order:["navigator"]},debug:!1,fallbackLng:"es",interpolation:{escapeValue:!1},resources:{ca:gHe,en:yHe,es:wHe,fr:xHe}});function SHe(){const t=new mde({defaultOptions:{queries:{retry:!1,staleTime:1e4}}});return P.jsx(j2e,{i18n:ps,children:P.jsx(wde,{client:t,children:P.jsx(rIe,{dataSource:QUe("https://pres
|