2025-01-15 16:26:28 +00:00
var Aue = Object . defineProperty ; var z4 = t => { throw TypeError ( t ) } ; var Rue = ( t , e , n ) => e in t ? Aue ( t , e , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : n } ) : t [ e ] = n ; var Te = ( t , e , n ) => Rue ( t , typeof e != "symbol" ? e + "" : e , n ) , uT = ( t , e , n ) => e . has ( t ) || z4 ( "Cannot " + n ) ; var R = ( t , e , n ) => ( uT ( t , e , "read from private field" ) , n ? n . call ( t ) : e . get ( t ) ) , B = ( t , e , n ) => e . has ( t ) ? z4 ( "Cannot add the same private member more than once" ) : e instanceof WeakSet ? e . add ( t ) : e . set ( t , n ) , $ = ( t , e , n , r ) => ( uT ( t , e , "write to private field" ) , r ? r . call ( t , n ) : e . set ( t , n ) , n ) , z = ( t , e , n ) => ( uT ( t , e , "access private method" ) , n ) ; var Rs = ( t , e , n , r ) => ( { set _ ( s ) { $ ( t , e , s , n ) } , get _ ( ) { return R ( t , e , r ) } } ) ; function g6 ( 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 o of i . addedNodes ) o . tagName === "LINK" && o . rel === "modulepreload" && r ( o ) } ) . 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 pr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { } ; function Cu ( t ) { return t && t . _ _esModule && Object . prototype . hasOwnProperty . call ( t , "default" ) ? t . default : t } function Nue ( 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 v6 = { exports : { } } , jA = { } , y6 = { exports : { } } , zt = { } ; / * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /var l_=Symbol.for("react.element"),Pue=Symbol.for("react.portal"),Tue=Symbol.for("react.fragment"),kue=Symbol.for("react.strict_mode"),Due=Symbol.for("react.profiler"),Mue=Symbol.for("react.provider"),Oue=Symbol.for("react.context"),Iue=Symbol.for("react.forward_ref"),jue=Symbol.for("react.suspense"),Lue=Symbol.for("react.memo"),$ue=Symbol.for("react.lazy"),B4=Symbol.iterator;function Fue(t){return t===null||typeof t!="object"?null:(t=B4&&t[B4]||t["@@iterator"],typeof t=="function"?t:null)}var b6={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x6=Object.assign,w6={};function dy(t,e,n){this.props=t,this.context=e,this.refs=w6,this.updater=n||b6}dy.prototype.isReactComponent={};dy.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")};dy.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function _6(){}_6.prototype=dy.prototype;function lj(t,e,n){this.props=t,this.context=e,this.refs=w6,this.updater=n||b6}var cj=lj.prototype=new _6;cj.constructor=lj;x6(cj,dy.prototype);cj.isPureReactComponent=!0;var U4=Array.isArray,S6=Object.prototype.hasOwnProperty,uj={current:null},C6={key:!0,ref:!0,__self:!0,__source:!0};function E6(t,e,n){var r,s={},i=null,o=null;if(e!=null)for(r in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(i=""+e.key),e)S6.call(e,r)&&!C6.hasOwnProperty(r)&&(s[r]=e[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:l_,type:t,key:i,ref:o,props:s,_owner:uj.current}}function zue(t,e){return{$$typeof:l_,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function dj(t){return typeof t=="object"&&t!==null&&t.$$typeof===l_}function Bue(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/ [ = : ] / g , function ( n ) { return e [ n ] } ) } var H4 = /\/+/g ; function dT ( t , e ) { return typeof t == "object" && t !== null && t . key != null ? Bue ( "" + t . key ) : e . toString ( 36 ) } function G1 ( t , e , n , r , s ) { var i = typeof t ; ( i === "undefined" || i === "boolean" ) && ( t = null ) ; var o = ! 1 ; if ( t === null ) o = ! 0 ; else switch ( i ) { case "string" : case "number" : o = ! 0 ; break ; case "object" : switch ( t . $$typeof ) { case l _ : case Pue : o = ! 0 } } if ( o ) return o = t , s = s ( o ) , t = r === "" ? "." + dT ( o , 0 ) : r , U4 ( s ) ? ( n = "" , t != null && ( n = t . replace ( H4 , "$&/" ) + "/" ) , G1 ( s , e , n , "" , function ( u ) { return u } ) ) : s != null && ( dj ( s ) && ( s = zue ( s , n + ( ! s . key || o && o . key === s . key ? "" : ( "" + s . key ) . replace ( H4 , "$&/" ) + "/" ) + t ) ) , e . push ( s ) ) , 1 ; if ( o = 0 , r = r === "" ? "." : r + ":" , U4 ( t ) ) for ( var a = 0 ; a < t . length ; a ++ ) { i = t [ a ] ; var c = r + dT ( i , a ) ; o += G1 ( i , e , n , c , s ) } else if ( c = Fue ( t ) , typeof c == "function" ) for ( t = c . call ( t ) , a = 0 ; ! ( i = t . next ( ) ) . done ; ) i = i . value , c = r + dT ( i , a ++ ) , o += G1 ( 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 o } function GS ( t , e , n ) { if ( t == null ) return t ; var r = [ ] , s = 0 ; return G1 ( t , r , "" , "" , function ( i ) { return e . call ( n , i , s ++ ) } ) , r } function Uue ( 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 ci = { current : null } , K1 = { transition : null } , Hue = { ReactCurrentDispatcher : ci , ReactCurrentBatchConfig : K1 , ReactCurrentOwner : uj } ; function A6 ( ) { throw Error ( "act(...) is not supported in production builds of React." ) } zt . Children = { map : GS , forEach : function ( t , e , n ) { GS ( t , function ( ) { e . apply ( this , arguments ) } , n ) } , count : function ( t ) { var e = 0 ; return GS ( t , function ( ) { e ++ } ) , e } , toArray : function ( t ) { return GS ( t , function ( e ) { return e } ) || [ ] } , only : function ( t ) { if ( ! dj ( t ) ) throw Error ( " React . Children . only expect
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /var Vue=S,que=Symbol.for("react.element"),Wue=Symbol.for("react.fragment"),Gue=Object.prototype.hasOwnProperty,Kue=Vue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Yue={key:!0,ref:!0,__self:!0,__source:!0};function R6(t,e,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(o=e.ref);for(r in e)Gue.call(e,r)&&!Yue.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:que,type:t,key:i,ref:o,props:s,_owner:Kue.current}}jA.Fragment=Wue;jA.jsx=R6;jA.jsxs=R6;v6.exports=jA;var b=v6.exports,wD={},N6={exports:{}},Ao={},P6={exports:{}},T6={};/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* / ( f u n c t i o n ( t ) { f u n c t i o n e ( U , Q ) { v a r n e = U . l e n g t h ; U . p u s h ( Q ) ; e : f o r ( ; 0 < n e ; ) { v a r X = n e - 1 > > > 1 , G = U [ X ] ; i f ( 0 < s ( G , Q ) ) U [ X ] = Q , U [ n e ] = G , n e = X ; e l s e b r e a k e } } f u n c t i o n n ( U ) { r e t u r n U . l e n g t h = = = 0 ? n u l l : U [ 0 ] } f u n c t i o n r ( U ) { i f ( U . l e n g t h = = = 0 ) r e t u r n n u l l ; v a r Q = U [ 0 ] , n e = U . p o p ( ) ; i f ( n e ! = = Q ) { U [ 0 ] = n e ; e : f o r ( v a r X = 0 , G = U . l e n g t h , Y = G > > > 1 ; X < Y ; ) { v a r Z = 2 * ( X + 1 ) - 1 , h e = U [ Z ] , f e = Z + 1 , c e = U [ f e ] ; i f ( 0 > s ( h e , n e ) ) f e < G & & 0 > s ( c e , h e ) ? ( U [ X ] = c e , U [ f e ] = n e , X = f e ) : ( U [ X ] = h e , U [ Z ] = n e , X = Z ) ; e l s e i f ( f e < G & & 0 > s ( c e , n e ) ) U [ X ] = c e , U [ f e ] = n e , X = f e ; e l s e b r e a k e } } r e t u r n Q } f u n c t i o n s ( U , Q ) { v a r n e = U . s o r t I n d e x - Q . s o r t I n d e x ; r e t u r n n e ! = = 0 ? n e : U . i d - Q . i d } i f ( t y p e o f p e r f o r m a n c e = = " o b j e c t " & & t y p e o f p e r f o r m a n c e . n o w = = " f u n c t i o n " ) { v a r i = p e r f o r m a n c e ; t . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n i . n o w ( ) } } e l s e { v a r o = D a t e , a = o . n o w ( ) ; t . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n o . n o w ( ) - a } } v a r c = [ ] , u = [ ] , f = 1 , l = n u l l , d = 3 , p = ! 1 , h = ! 1 , m = ! 1 , y = t y p e o f s e t T i m e o u t = = " f u n c t i o n " ? s e t T i m e o u t : n u l l , g = t y p e o f c l e a r T i m e o u t = = " f u n c t i o n " ? c l e a r T i m e o u t : n u l l , v = t y p e o f s e t I m m e d i a t e < " u " ? s e t I m m e d i a t e : n u l l ; t y p e o f n a v i g a t o r < " u " & & n a v i g a t o r . s c h e d u l i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g . b i n d ( n a v i g a t o r . s c h e d u l i n g ) ; f u n c t i o n x ( U ) { f o r ( v a r Q = n ( u ) ; Q ! = = n u l l ; ) { i f ( Q . c a l l b a c k = = = n u l l ) r ( u ) ; e l s e i f ( Q . s t a r t T i m e < = U ) r ( u ) , Q . s o r t I n d e x = Q . e x p i r a t i o n T i m e , e ( c , Q ) ; e l s e b r e a k ; Q = n ( u ) } } f u n c t i o n _ ( U ) { i f ( m = ! 1 , x ( U ) , ! h ) i f ( n ( c ) ! = = n u l l ) h = ! 0 , K ( A ) ; e l s e { v a r Q = n ( u ) ; Q ! = = n u l l & & V ( _ , Q . s t a r t T i m e - U ) } } f u n c t i o n A ( U , Q ) { h = ! 1 , m & & ( m = ! 1 , g ( E ) , E = - 1 ) , p = ! 0 ; v a r n e = d ; t r y { f o r ( x ( Q ) , l = n ( c ) ; l ! = = n u l l & & ( ! ( l . e x p i r a t i o n T i m e > Q ) | | U & & ! M ( ) ) ; ) { v a r X = l . c a l l b a c k ; i f ( t y p e o f X = = " f u n c t i o n " ) { l . c a l l b a c k = n u l l , d = l . p r i o r i t y L e v e l ; v a r G = X ( l . e x p i r a t i o n T i m e < = Q ) ; Q = t . u n s t a b l e _ n o w ( ) , t y p e o f G = = " f u n c t i o n " ? l . c a l l b a c k = G : l = = = n ( c ) & & r ( c ) , x ( Q ) } e l s e r ( c ) ; l = n ( c ) } i f ( l ! = = n u l l ) v a r Y = ! 0 ; e l s e { v a r Z = n ( u ) ; Z ! = = n u l l & & V ( _ , Z . s t a r t T i m e - Q ) , Y = ! 1 } r e t u r n Y } f i n a l l y { l = n u l l , d = n e , p = ! 1 } } v a r N = ! 1 , T = n u l l , E = - 1 , P = 5 , k = - 1 ; f u n c t i o n M ( ) { r e t u r n ! ( t . u n s t a b l e _ n o w ( ) - k < P ) } f u n c t i o n I ( ) { i f ( T ! = = n u l l ) { v a r U = t . u n s t a b l e _ n o w ( ) ; k = U ; v a r Q = ! 0 ; t r y { Q = T ( ! 0 , U ) } f i n a l l y { Q ? j ( ) : ( N = ! 1 , T = n u l l ) } } e l s e N = ! 1 } v a r j ; i f ( t y p e o f v = = " f u n c t i o n " ) j = f u n c t i o n ( ) { v ( I ) } ; e l s e i f ( t y p e o f M e s s a g e C h a n n e l < " u " ) { v a r L = n e w M e s s a g e C h a n n e l , H = L . p o r t 2 ; L . p o r t 1 . o n m e s s a g e = I , j = f u n c t i o n ( ) { H . p o s t M e s s a g e ( n u l l ) } } e l s e j = f u n c t i o n ( ) { y ( I , 0 ) } ; f u n c t i o n K ( U ) { T = U , N | | ( N = ! 0 , j ( ) ) } f u n c t i o n V ( U , Q ) { E = y ( f u n c t i o n ( ) { U ( t . u n s t a b l e _ n o w ( ) ) } , Q ) } t . u n s t a b l e _ I d l e P r i o r i t y = 5 , t . u n s t a b l e _ I m m e d i a t e P r i o r i t y = 1 , t . u n s t a b l e _ L o w P r i o r i t y = 4 , t . u n s t a b l e _ N o r m a l P r i o r i t y = 3 , t . u n s t a b l e _ P r o f i l i n g = n u l l , t . u n s t a b l e _ U s e r B l o c k i n g P r i o r i t y = 2 , t . u n s t a b l e _ c a n c e l C a l l b a c k = f u n c t i o n ( U ) { U . c a l l b a c k = n u l l } , t . u n s t a b l e _ c o n t i n u e E x e c u t i o n = f u n c t i o n ( ) { h | | p | | ( h = ! 0 , K ( A ) ) } , t . u n s t a b l e _ f o r c e F r a m e R a t e = f u n c t i o n ( U ) { 0 > U | | 1 2 5 < U ? c o n s o l e . e r r o r ( " f o r c e F r a m e R a t e t a k e s a p o s i t i v e i n t b e t w e e n 0 a n d 1 2 5 , f o r c i n g f r a m e r a t e s h i g h e r t h a n 1 2 5 f p s i s n o t s u p p o r t e d " ) : P = 0 < U ? M a t h . f l o o r ( 1 e 3 / U ) : 5 } , t . u n s t a b l e _ g e t C u r r e n t P r i o r i t y L e v e l = f u n c t i o n ( ) { r e t u r n d } , t . u n s t a b l e _ g e t F i r s t C a l l b a c k N o d e = f u n c t i o n ( ) { r e t u r n n ( c ) } , t . u n s t a b l e _ n e x t = f u n c t i o n ( U ) { s w i t c h ( d ) { c a s e 1 : c a s e 2 : c a s e 3 : v a r Q = 3 ; b r e a k ; d e f a u l t : Q = d } v a r n e = d ; d = Q ; t r y { r e t u r n U ( ) } f i n a l l y { d = n e } } , t . u n s t a b l e _ p a u s e E x e c u t i o n = f u n c t i o n ( ) { } , t . u n s t a b l e _ r e q u e s t P a i n t = f u n c t i o n ( ) { } , t . u n s t a b l e _ r u n W i t h P r i o r i t y = f u n c t i o n ( U , Q ) { s w i t c h ( U ) { c a s e 1 : c a s e 2 : c a s e 3 : c a s e 4 : c a s e 5 : b r e a k ; d e f a u l t : U = 3 } v a r n e = d ; d = U ; t r y { r e t u r n Q ( ) } f i n a l l y { d = n e } } , t . u n s t a b l e _ s c h e d u l e C a l l b a c k = f u n c t i o n ( U , Q , n e ) { v a r X = t . u n s t a b l e _ n o w ( ) ; s w i t c h ( t y p e o f n e = = " o b j e c t " & & n e ! = = n u l l ? ( n e = n e . d e l a y , n e = t y p e o f n e = = " n u m b e r " & & 0 < n e ? X + n e : X ) : n e = X , U ) { c a s e 1 : v a r G = - 1 ; b r e a k ; c a s e 2 : G = 2 5 0 ; b r e a k ; c a s e 5 : G = 1 0 7 3 7 4 1 8 2 3 ; b r e a k ; c a s e 4 : G = 1 e 4 ; b r e a k ; d e f a u l t : G = 5 e 3 } r e t u r n G = n e + G , U = { i d : f + + , c a l l b a c k : Q , p r i o r i t y L e v e l : U , s t a r t T i m e : n e , e x p i r a t i o n T i m e : G , s o r t I n d e x : - 1 } , n e > X ? ( U . s o r t I n d e x = n e , e ( u , U ) , n ( c ) = = = n u l l & & U = = = n ( u ) & & ( m ? ( g ( E ) , E = - 1 ) : m = ! 0 , V ( _ , n e - X ) ) ) : ( U . s o r t I n d e x = G , e ( c , U ) , h | | p | | ( h = ! 0 , K ( A ) ) ) , U } , t . u n s t a b l e _ s h o u l d Y i e l d = M , t . u n s t a b l e _ w r a p C a l l b a c k = f u n c t i o n ( U ) { v a r Q = d ; r e t u r n f u n c t i o n ( ) { v a r n e = d ; d = Q ; t r y { r e t u r n U . a p p l y ( t h i s , a r g u m e n t s ) } f i n a l l y { d = n e } } } } ) ( T 6 ) ; P 6 . e x p o r t s = T 6 ; v a r X u e = P 6 . e x p o r t s ; / * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /var Que=S,So=Xue;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 k6=new Set,$0={};function Bp(t,e){Fv(t,e),Fv(t+" Capture ",e)}function Fv(t,e){for($0[t]=e,t=0;t<e.length;t++)k6.add(e[t])}var mu=!(typeof window>" u "||typeof window.document>" u "||typeof window.document.createElement>" u "),_D=Object.prototype.hasOwnProperty,Zue=/^[: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]*$/,V4={},q4={};function Jue(t){return _D.call(q4,t)?!0:_D.call(V4,t)?!1:Zue.test(t)?q4[t]=!0:(V4[t]=!0,!1)}function ede(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 tde(t,e,n,r){if(e===null||typeof e>" u "||ede(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 ui(t,e,n,r,s,i,o){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=o}var Ss={};" children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style ".split(" ").forEach(function(t){Ss[t]=new ui(t,0,!1,t,null,!1,!1)});[[" acceptCharset "," accept - charset "],[" className "," class "],[" htmlFor "," for "],[" httpEquiv "," http - equiv "]].forEach(function(t){var e=t[0];Ss[e]=new ui(e,1,!1,t[1],null,!1,!1)});[" contentEditable "," draggable "," spellCheck "," value "].forEach(function(t){Ss[t]=new ui(t,2,!1,t.toLowerCase(),null,!1,!1)});[" autoReverse "," externalResourcesRequired "," focusable "," preserveAlpha "].forEach(function(t){Ss[t]=new ui(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){Ss[t]=new ui(t,3,!1,t.toLowerCase(),null,!1,!1)});[" checked "," multiple "," muted "," selected "].forEach(function(t){Ss[t]=new ui(t,3,!0,t,null,!1,!1)});[" capture "," download "].forEach(function(t){Ss[t]=new ui(t,4,!1,t,null,!1,!1)});[" cols "," rows "," size "," span "].forEach(function(t){Ss[t]=new ui(t,6,!1,t,null,!1,!1)});[" rowSpan "," start "].forEach(function(t){Ss[t]=new ui(t,5,!1,t.toLowerCase(),null,!1,!1)});var fj=/[\-:]([a-z])/g;function hj(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
` +fT+t}var hT=!1;function pT(t,e){if(!t||hT)return"";hT=!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( `
2024-11-14 19:08:59 +00:00
` ),i=r.stack.split( `
` ),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var c= `
2025-01-15 16:26:28 +00:00
` +s[o].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=o&&0<=a);break}}}finally{hT=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Bb(t):""}function nde(t){switch(t.tag){case 5:return Bb(t.type);case 16:return Bb("Lazy");case 13:return Bb("Suspense");case 19:return Bb("SuspenseList");case 0:case 2:case 15:return t=pT(t.type,!1),t;case 11:return t=pT(t.type.render,!1),t;case 1:return t=pT(t.type,!0),t;default:return""}}function AD(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 Wm:return"Fragment";case qm:return"Portal";case SD:return"Profiler";case mj:return"StrictMode";case CD:return"Suspense";case ED:return"SuspenseList"}if(typeof t=="object")switch(t. $ $ typeof){case M6:return(t.displayName||"Context")+".Consumer";case D6:return(t._context.displayName||"Context")+".Provider";case gj:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case vj:return e=t.displayName||null,e!==null?e:AD(t.type)||"Memo";case td:e=t._payload,t=t._init;try{return AD(t(e))}catch{}}return null}function rde(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 AD(e);case 8:return e===mj?"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 nf(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function I6(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function sde(t){var e=I6(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(o){r=""+o,i.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function YS(t){t._valueTracker||(t._valueTracker=sde(t))}function j6(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=I6(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function WC(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 RD(t,e){var n=e.checked;return sr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function G4(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=nf(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 L6(t,e){e=e.checked,e!=null&&pj(t,"checked",e,!1)}function ND(t,e){L6(t,e);var n=nf(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")?PD(t,e.type,n):e.hasOwnProperty("defaultValue")&&PD(t,e.type,nf(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function K4(t,e,n){if(e.hasOwnProperty(
` ).replace(pfe,"")}function r1(t,e,n){if(e=vz(e),vz(t)!==e&&n)throw Error(ke(425))}function eE(){}var HD=null,VD=null;function qD(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 WD=typeof setTimeout=="function"?setTimeout:void 0,mfe=typeof clearTimeout=="function"?clearTimeout:void 0,yz=typeof Promise=="function"?Promise:void 0,gfe=typeof queueMicrotask=="function"?queueMicrotask:typeof yz<"u"?function(t){return yz.resolve(null).then(t).catch(vfe)}:WD;function vfe(t){setTimeout(function(){throw t})}function RT(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),H0(e);return}r--}else n!==" $ "&&n!==" $ ?"&&n!==" $ !"||r++;n=s}while(n);H0(e)}function Xd(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 bz(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 hy=Math.random().toString(36).slice(2),Dl="__reactFiber $ "+hy,K0="__reactProps $ "+hy,gu="__reactContainer $ "+hy,GD="__reactEvents $ "+hy,yfe="__reactListeners $ "+hy,bfe="__reactHandles $ "+hy;function eh(t){var e=t[Dl];if(e)return e;for(var n=t.parentNode;n;){if(e=n[gu]||n[Dl]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=bz(t);t!==null;){if(n=t[Dl])return n;t=bz(t)}return e}t=n,n=t.parentNode}return null}function f_(t){return t=t[Dl]||t[gu],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Xm(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(ke(33))}function BA(t){return t[K0]||null}var KD=[],Qm=-1;function gf(t){return{current:t}}function Gn(t){0>Qm||(t.current=KD[Qm],KD[Qm]=null,Qm--)}function zn(t,e){Qm++,KD[Qm]=t.current,t.current=e}var rf={},Bs=gf(rf),ji=gf(!1),vp=rf;function zv(t,e){var n=t.type.contextTypes;if(!n)return rf;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 Li(t){return t=t.childContextTypes,t!=null}function tE(){Gn(ji),Gn(Bs)}function xz(t,e,n){if(Bs.current!==rf)throw Error(ke(168));zn(Bs,e),zn(ji,n)}function EV(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,rde(t)||"Unknown",s));return sr({},n,r)}function nE(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||rf,vp=Bs.current,zn(Bs,t),zn(ji,ji.current),!0}function wz(t,e,n){var r=t.stateNode;if(!r)throw Error(ke(169));n?(t=EV(t,e,vp),r.__reactInternalMemoizedMergedChildContext=t,Gn(ji),Gn(Bs),zn(Bs,t)):Gn(ji),zn(ji,n)}var Rc=null,UA=!1,NT=!1;function AV(t){Rc===null?Rc=[t]:Rc.push(t)}function xfe(t){UA=!0,AV(t)}function vf(){if(!NT&&Rc!==null){NT=!0;var t=0,e=xn;try{var n=Rc;for(xn=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}Rc=null,UA=!1}catch(s){throw Rc!==null&&(Rc=Rc.slice(t+1)),Q6(bj,vf),s}finally{xn=e,NT=!1}}return null}var Zm=[],Jm=0,rE=null,sE=0,Xo=[],Qo=0,yp=null,ru=1,su="";function Vf(t,e){Zm[Jm++]=sE,Zm[Jm++]=rE,rE=t,sE=e}function RV(t,e,n){Xo[Qo++]=ru,Xo[Qo++]=su,Xo[Qo++]=yp,yp=t;var r=ru;t=su;var s=32-Ha(r)-1;r&=~(1<<s),n+=1;var i=32-Ha(e)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,ru=1<<32-Ha(e)+s|n<<s|r,su=i+t}else ru=1<<i|n<<s|r,su=t}function Nj(t){t.return!==null&&(Vf(t,1),RV(t,1,0))}function Pj(t){for(;t===rE;)rE=Zm[--Jm],Zm[Jm]=null,sE=Zm[--Jm],Zm[Jm]=null;for(;t===yp;)yp=Xo[--Qo],Xo[Qo]=null,su=Xo[--Qo],Xo[Qo]=null,ru=Xo[--Qo],Xo[Qo]=null}var xo=null,bo=null,Qn=!1,za=null;function NV(t,e){var n=na(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return
2024-11-14 19:08:59 +00:00
Error generating stack : ` +i.message+ `
2025-01-15 16:50:18 +00:00
` +i.stack}return{value:t,source:e,stack:s,digest:null}}function MT(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function eM(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var Pfe=typeof WeakMap=="function"?WeakMap:Map;function t8(t,e,n){n=ou(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){fE||(fE=!0,uM=r),eM(t,e)},n}function n8(t,e,n){n=ou(-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(){eM(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){eM(t,e),typeof r!="function"&&(Zd===null?Zd=new Set([this]):Zd.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),n}function kz(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new Pfe;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=Hfe.bind(null,t,e,n),e.then(t,t))}function Dz(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 Mz(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=ou(-1,1),e.tag=2,Qd(n,e,1))),n.lanes|=1),t)}var Tfe=Eu.ReactCurrentOwner,ki=!1;function ei(t,e,n,r){e.child=t===null?kV(e,null,n,r):Uv(e,t.child,n,r)}function Oz(t,e,n,r,s){n=n.render;var i=e.ref;return hg(e,s),r=zj(t,e,n,r,i,s),n=Bj(),t!==null&&!ki?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,yu(t,e,s)):(Qn&&n&&Nj(e),e.flags|=1,ei(t,e,r,s),e.child)}function Iz(t,e,n,r,s){if(t===null){var i=n.type;return typeof i=="function"&&!Qj(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,r8(t,e,i,r,s)):(t=sC(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 o=i.memoizedProps;if(n=n.compare,n=n!==null?n:q0,n(o,r)&&t.ref===e.ref)return yu(t,e,s)}return e.flags|=1,t=ef(i,r),t.ref=e.ref,t.return=e,e.child=t}function r8(t,e,n,r,s){if(t!==null){var i=t.memoizedProps;if(q0(i,r)&&t.ref===e.ref)if(ki=!1,e.pendingProps=r=i,(t.lanes&s)!==0)t.flags&131072&&(ki=!0);else return e.lanes=t.lanes,yu(t,e,s)}return tM(t,e,n,r,s)}function s8(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},zn(ng,po),po|=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,zn(ng,po),po|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,zn(ng,po),po|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,zn(ng,po),po|=r;return ei(t,e,s,n),e.child}function i8(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function tM(t,e,n,r,s){var i=Li(n)?vp:Bs.current;return i=zv(e,i),hg(e,s),n=zj(t,e,n,r,i,s),r=Bj(),t!==null&&!ki?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,yu(t,e,s)):(Qn&&r&&Nj(e),e.flags|=1,ei(t,e,n,s),e.child)}function jz(t,e,n,r,s){if(Li(n)){var i=!0;nE(e)}else i=!1;if(hg(e,s),e.stateNode===null)tC(t,e),e8(e,n,r),JD(e,n,r,s),r=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=aa(u):(u=Li(n)?vp:Bs.current,u=zv(e,u));var f=n.getDerivedStateFromProps,l=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";l||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||c!==u)&&Tz(e,o,r,u),nd=!1;var d=e.memoizedState;o.state=d,aE(e,r,o,s),c=e.memoizedState,a!==r||d!==c||ji.current||nd?(typeof f=="function"&&(ZD(e,n,f,r),c=e.memoizedState),(a=nd||Pz(e,n,a,r,d,c,u))?(l||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeo
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Ape=t=>t.replace(/ ( [ a - z0 - 9 ] ) ( [ A - Z ] ) / g , "$1-$2" ) . toLowerCase ( ) , lq = ( ... t ) => t . filter ( ( e , n , r ) => ! ! e && r . indexOf ( e ) === n ) . join ( " " ) ; / * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /var Rpe={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 " } ; / * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* / c o n s t N p e = S . f o r w a r d R e f ( ( { c o l o r : t = " c u r r e n t C o l o r " , s i z e : e = 2 4 , s t r o k e W i d t h : n = 2 , a b s o l u t e S t r o k e W i d t h : r , c l a s s N a m e : s = " " , c h i l d r e n : i , i c o n N o d e : o , . . . a } , c ) = > S . c r e a t e E l e m e n t ( " s v g " , { r e f : c , . . . R p e , w i d t h : e , h e i g h t : e , s t r o k e : t , s t r o k e W i d t h : r ? N u m b e r ( n ) * 2 4 / N u m b e r ( e ) : n , c l a s s N a m e : l q ( " l u c i d e " , s ) , . . . a } , [ . . . o . m a p ( ( [ u , f ] ) = > S . c r e a t e E l e m e n t ( u , f ) ) , . . . A r r a y . i s A r r a y ( i ) ? i : [ i ] ] ) ) ; / * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const _t=(t,e)=>{const n=S.forwardRef(({className:r,...s},i)=>S.createElement(Npe,{ref:i,iconNode:e,className:lq(`lucide-${Ape(t)}`,r),...s}));return n.displayName=`${t}`,n};/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const cq=_t("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Ppe=_t("ArrowDownUp",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const rB=_t("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const sB=_t("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Tpe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const m_=_t("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const my=_t("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const rR=_t("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const gy=_t("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const uq=_t("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const kpe=_t("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Dpe=_t("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const dq=_t("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const fq=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Mpe=_t("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Ope=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Ipe=_t("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const sR=_t("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const jpe=_t("CopyPlus",[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const pL=_t("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const hq=_t("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Lpe=_t("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const pq=_t("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const $pe=_t("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Fpe=_t("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const mq=_t("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const zpe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Bpe=_t("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Upe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Hpe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Vpe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const qpe=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const mL=_t("PackagePlus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const gL=_t("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const gq=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Wpe=_t("Scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const vL=_t("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Gpe=_t("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Kpe=_t("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Ype=_t("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"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const vq=_t("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const yq=_t("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/ * *
2024-11-14 19:08:59 +00:00
* @ 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 .
2025-01-15 16:26:28 +00:00
* /const Gv=_t("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function bq(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=bq(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function vy(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=bq(t))&&(r&&(r+=" "),r+=e);return r}const yL="-",Xpe=t=>{const e=Zpe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{const a=o.split(yL);return a[0]===""&&a.length!==1&&a.shift(),xq(a,e)||Qpe(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},xq=(t,e)=>{var o;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),s=r?xq(t.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const i=t.join(yL);return(o=e.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},iB=/ ^ \ [ ( . + ) \ ] $ / , Qpe = t => { if ( iB . test ( t ) ) { const e = iB . exec ( t ) [ 1 ] , n = e == null ? void 0 : e . substring ( 0 , e . indexOf ( ":" ) ) ; if ( n ) return "arbitrary.." + n } } , Zpe = t => { const { theme : e , prefix : n } = t , r = { nextPart : new Map , validators : [ ] } ; return eme ( Object . entries ( t . classGroups ) , n ) . forEach ( ( [ i , o ] ) => { NM ( o , r , i , e ) } ) , r } , NM = ( t , e , n , r ) => { t . forEach ( s => { if ( typeof s == "string" ) { const i = s === "" ? e : oB ( e , s ) ; i . classGroupId = n ; return } if ( typeof s == "function" ) { if ( Jpe ( s ) ) { NM ( s ( r ) , e , n , r ) ; return } e . validators . push ( { validator : s , classGroupId : n } ) ; return } Object . entries ( s ) . forEach ( ( [ i , o ] ) => { NM ( o , oB ( e , i ) , n , r ) } ) } ) } , oB = ( t , e ) => { let n = t ; return e . split ( yL ) . forEach ( r => { n . nextPart . has ( r ) || n . nextPart . set ( r , { nextPart : new Map , validators : [ ] } ) , n = n . nextPart . get ( r ) } ) , n } , Jpe = t => t . isThemeGetter , eme = ( 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 ( ( [ o , a ] ) => [ e + o , a ] ) ) : i ) ; return [ n , s ] } ) : t , tme = t => { if ( t < 1 ) return { get : ( ) => { } , set : ( ) => { } } ; let e = 0 , n = new Map , r = new Map ; const s = ( i , o ) => { n . set ( i , o ) , e ++ , e > t && ( e = 0 , r = n , n = new Map ) } ; return { get ( i ) { let o = n . get ( i ) ; if ( o !== void 0 ) return o ; if ( ( o = r . get ( i ) ) !== void 0 ) return s ( i , o ) , o } , set ( i , o ) { n . has ( i ) ? n . set ( i , o ) : s ( i , o ) } } } , wq = "!" , nme = t => { const { separator : e , experimentalParseClassName : n } = t , r = e . length === 1 , s = e [ 0 ] , i = e . length , o = a => { const c = [ ] ; let u = 0 , f = 0 , l ; for ( let y = 0 ; y < a . length ; y ++ ) { let g = a [ y ] ; if ( u === 0 ) { if ( g === s && ( r || a . slice ( y , y + i ) === e ) ) { c . push ( a . slice ( f , y ) ) , f = y + i ; continue } if ( g === "/" ) { l = y ; continue } } g === "[" ? u ++ : g === "]" && u -- } const d = c . length === 0 ? a : a . substring ( f ) , p = d . startsWith ( wq ) , h = p ? d . substring ( 1 ) : d , m = l && l > f ? l - f : void 0 ; return { modifiers : c , hasImportantModifier : p , baseClassName : h , maybePostfixModifierPosition : m } } ; return n ? a => n ( { className : a , parseClassName : o } ) : o } , rme = 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 } , sme = t => ( { cache : tme ( t . cacheSize ) , parseClassName : nme ( t ) , ... Xpe ( t ) } ) , ime = /\s+/ , ome = ( t , e ) => { const { parseClassName : n , getClassGroupId : r , getConflictingClassGroupIds : s } = e , i = [ ] , o = t . trim ( ) . split ( ime ) ; let a = "" ; for ( let c = o . length - 1 ; c >= 0 ; c -= 1 ) { const u = o [ c ] , { modifiers : f , hasImportantModifier : l , baseClassName : d , maybePostfixModifierPosition : p } = n ( u ) ; let h = ! ! p , m = r ( h ? d . substring ( 0 , p ) : d ) ; if ( ! m ) { if ( ! h ) { a = u + ( a . length > 0 ? " " + a : a ) ; continue } if ( m = r ( d ) , ! m ) { a = u + ( a . length > 0 ? " " + a : a ) ; continue } h = ! 1 } const y = rme ( f ) . join ( ":" ) , g = l ? y + wq : y , v = g + m ; if ( i . includes ( v ) ) continue ; i . push ( v ) ; const x = s ( m , h ) ; for ( let _ = 0 ; _ < x . length ; ++ _ ) { const A = x [ _ ] ; i . push ( g + A ) } a = u + ( a . length > 0 ? " " + a : a ) } return a } ; function ame ( ) { let t = 0 , e , n , r = "" ; for ( ; t < arguments . length ; ) ( e = arguments [ t ++ ] ) && ( n = _q ( e ) ) && ( r && ( r += " " ) , r += n ) ; return r } const _q = t => { if ( typeof t == "string" ) return t ; let e , n = "" ; for ( let r = 0 ; r < t . length ; r ++ ) t [ r ] && ( e = _q ( t [ r ] ) ) && ( n && ( n += " " ) , n += e ) ; return n } ; function lme ( t , ... e ) { let n , r , s , i = o ; function o ( c ) { const u = e . reduce ( ( f , l ) => l ( f ) , t ( ) ) ; return n = sme ( u ) , r = n . cache . get , s = n . cache . set , i = a , a ( c ) } function a ( c ) { const u = r ( c ) ; if ( u ) return u ; const f = ome ( c , n ) ; return s ( c , f ) , f } return function ( ) { return i ( ame . apply ( null , arguments ) ) } } const Hn = t => { const e = n => n [ t ] || [ ] ; return e . isThemeGetter = ! 0 , e } , Sq = / ^ \ [ ( ? : ( [
. ` .concat(Xme, ` {
2024-11-14 19:08:59 +00:00
overflow : hidden ` ).concat(r, ` ;
padding - right : ` ).concat(a,"px ").concat(r, ` ;
}
2025-01-15 16:26:28 +00:00
body [ ` ).concat(vg, ` ] {
2024-11-14 19:08:59 +00:00
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(o, ` px ;
margin - left : 0 ;
margin - top : 0 ;
margin - right : ` ).concat(a,"px ").concat(r, ` ;
` ),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""), `
}
2025-01-15 16:26:28 +00:00
. ` ).concat(S0, ` {
2024-11-14 19:08:59 +00:00
right : ` ).concat(a,"px ").concat(r, ` ;
}
2025-01-15 16:26:28 +00:00
. ` ).concat(C0, ` {
2024-11-14 19:08:59 +00:00
margin - right : ` ).concat(a,"px ").concat(r, ` ;
}
2025-01-15 16:26:28 +00:00
. ` ).concat(S0," .").concat(S0, ` {
2024-11-14 19:08:59 +00:00
right : 0 ` ).concat(r, ` ;
}
2025-01-15 16:26:28 +00:00
. ` ).concat(C0," .").concat(C0, ` {
2024-11-14 19:08:59 +00:00
margin - right : 0 ` ).concat(r, ` ;
}
2025-01-15 16:26:28 +00:00
body [ ` ).concat(vg, ` ] {
` ).concat(Qme,": ").concat(a, ` px ;
2024-11-14 19:08:59 +00:00
}
2025-01-15 16:26:28 +00:00
` )},vB=function(){var t=parseInt(document.body.getAttribute(vg)||"0",10);return isFinite(t)?t:0},hge=function(){S.useEffect(function(){return document.body.setAttribute(vg,(vB()+1).toString()),function(){var t=vB()-1;t<=0?document.body.removeAttribute(vg):document.body.setAttribute(vg,t.toString())}},[])},jq=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;hge();var i=S.useMemo(function(){return uge(s)},[s]);return S.createElement(dge,{styles:fge(i,!e,s,n?"":"!important")})},TM=!1;if(typeof window<"u")try{var f1=Object.defineProperty({},"passive",{get:function(){return TM=!0,!0}});window.addEventListener("test",f1,f1),window.removeEventListener("test",f1,f1)}catch{TM=!1}var _m=TM?{passive:!1}:!1,pge=function(t){return t.tagName==="TEXTAREA"},Lq=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!pge(t)&&n[e]==="visible")},mge=function(t){return Lq(t,"overflowY")},gge=function(t){return Lq(t,"overflowX")},yB=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s= $ q(t,r);if(s){var i=Fq(t,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},vge=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},yge=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]}, $ q=function(t,e){return t==="v"?mge(e):gge(e)},Fq=function(t,e){return t==="v"?vge(e):yge(e)},bge=function(t,e){return t==="h"&&e==="rtl"?-1:1},xge=function(t,e,n,r,s){var i=bge(t,window.getComputedStyle(e).direction),o=i*r,a=n.target,c=e.contains(a),u=!1,f=o>0,l=0,d=0;do{var p=Fq(t,a),h=p[0],m=p[1],y=p[2],g=m-y-i*h;(h||g)&& $ q(t,a)&&(l+=g,d+=h),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(e.contains(a)||e===a));return(f&&(Math.abs(l)<1||!s)||!f&&(Math.abs(d)<1||!s))&&(u=!0),u},h1=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},bB=function(t){return[t.deltaX,t.deltaY]},xB=function(t){return t&&"current"in t?t.current:t},wge=function(t,e){return t[0]===e[0]&&t[1]===e[1]},_ge=function(t){return `
2024-11-14 19:08:59 +00:00
. block - interactivity - ` .concat(t, ` { pointer - events : none ; }
. allow - interactivity - ` ).concat(t, ` { pointer - events : all ; }
2025-01-15 16:26:28 +00:00
` )},Sge=0,Sm=[];function Cge(t){var e=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),s=S.useState(Sge++)[0],i=S.useState(SL)[0],o=S.useRef(t);S.useEffect(function(){o.current=t},[t]),S.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var m=Tq([t.lockRef.current],(t.shards||[]).map(xB),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var a=S.useCallback(function(m,y){if("touches"in m&&m.touches.length===2)return!o.current.allowPinchZoom;var g=h1(m),v=n.current,x="deltaX"in m?m.deltaX:v[0]-g[0],_="deltaY"in m?m.deltaY:v[1]-g[1],A,N=m.target,T=Math.abs(x)>Math.abs(_)?"h":"v";if("touches"in m&&T==="h"&&N.type==="range")return!1;var E=yB(T,N);if(!E)return!0;if(E?A=T:(A=T==="v"?"h":"v",E=yB(T,N)),!E)return!1;if(!r.current&&"changedTouches"in m&&(x||_)&&(r.current=A),!A)return!0;var P=r.current||A;return xge(P,y,m,P==="h"?x:_,!0)},[]),c=S.useCallback(function(m){var y=m;if(!(!Sm.length||Sm[Sm.length-1]!==i)){var g="deltaY"in y?bB(y):h1(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&wge(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var x=(o.current.shards||[]).map(xB).filter(Boolean).filter(function(A){return A.contains(y.target)}),_=x.length>0?a(y,x[0]):!o.current.noIsolation;_&&y.cancelable&&y.preventDefault()}}},[]),u=S.useCallback(function(m,y,g,v){var x={name:m,delta:y,target:g,should:v,shadowParent:Ege(g)};e.current.push(x),setTimeout(function(){e.current=e.current.filter(function(_){return _!==x})},1)},[]),f=S.useCallback(function(m){n.current=h1(m),r.current=void 0},[]),l=S.useCallback(function(m){u(m.type,bB(m),m.target,a(m,t.lockRef.current))},[]),d=S.useCallback(function(m){u(m.type,h1(m),m.target,a(m,t.lockRef.current))},[]);S.useEffect(function(){return Sm.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,_m),document.addEventListener("touchmove",c,_m),document.addEventListener("touchstart",f,_m),function(){Sm=Sm.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,_m),document.removeEventListener("touchmove",c,_m),document.removeEventListener("touchstart",f,_m)}},[]);var p=t.removeScrollBar,h=t.inert;return S.createElement(S.Fragment,null,h?S.createElement(i,{styles:_ge(s)}):null,p?S.createElement(jq,{gapMode:t.gapMode}):null)}function Ege(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const Age=Oq(Iq,Cge);var v_=S.forwardRef(function(t,e){return S.createElement(oR,Ls({},t,{ref:e,sideCar:Age}))});v_.classNames=oR.classNames;var Rge=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Cm=new WeakMap,p1=new WeakMap,m1={},qT=0,zq=function(t){return t&&(t.host||zq(t.parentNode))},Nge=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=zq(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})},Pge=function(t,e,n,r){var s=Nge(e,Array.isArray(t)?t:[t]);m1[n]||(m1[n]=new WeakMap);var i=m1[n],o=[],a=new Set,c=new Set(s),u=function(l){!l||a.has(l)||(a.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(a.has(d))f(d);else try{var p=d.getAttribute(r),h=p!==null&&p!=="false",m=(Cm.get(d)||0)+1,y=(i.get(d)||0)+1;Cm.set(d,m),i.set(d,y),o.push(d),m===1&&h&&p1.set(d,!0),y===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",d,g)}})};return f(e),a.clear(),qT++,function(){o.forEach(function(l){var d=Cm.get(l)-1,p=i.get(l)-1;Cm.set(l,d),i.set(l,p),d||(p1.has(l)||l.removeAttribute(r),p1.delete(l)),p||l.removeAttribute
2024-11-14 19:08:59 +00:00
If you want to hide the \ ` ${ e . titleName } \` , you can wrap it with our VisuallyHidden component.
2025-01-15 16:50:18 +00:00
For more information , see https : //radix-ui.com/primitives/docs/components/${e.docsSlug}`;return S.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},Lge="DialogDescriptionWarning",$ge=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${nW(Lge).contentName}}.`;return S.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},aR=Hq,lR=qq,cR=Gq,xy=Kq,wy=Yq,_y=Qq,Sy=RL,Cy=eW,rW="AlertDialog",[Fge,FUe]=In(rW,[Uq]),Pu=Uq(),sW=t=>{const{__scopeAlertDialog:e,...n}=t,r=Pu(e);return b.jsx(aR,{...r,...n,modal:!0})};sW.displayName=rW;var zge="AlertDialogTrigger",iW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Pu(n);return b.jsx(lR,{...s,...r,ref:e})});iW.displayName=zge;var Bge="AlertDialogPortal",oW=t=>{const{__scopeAlertDialog:e,...n}=t,r=Pu(e);return b.jsx(cR,{...r,...n})};oW.displayName=Bge;var Uge="AlertDialogOverlay",aW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Pu(n);return b.jsx(xy,{...s,...r,ref:e})});aW.displayName=Uge;var yg="AlertDialogContent",[Hge,Vge]=Fge(yg),lW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,children:r,...s}=t,i=Pu(n),o=S.useRef(null),a=et(e,o),c=S.useRef(null);return b.jsx(Ige,{contentName:yg,titleName:cW,docsSlug:"alert-dialog",children:b.jsx(Hge,{scope:n,cancelRef:c,children:b.jsxs(wy,{role:"alertdialog",...i,...s,ref:a,onOpenAutoFocus:ye(s.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=c.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[b.jsx(oL,{children:r}),b.jsx(Wge,{contentRef:o})]})})})});lW.displayName=yg;var cW="AlertDialogTitle",uW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Pu(n);return b.jsx(_y,{...s,...r,ref:e})});uW.displayName=cW;var dW="AlertDialogDescription",fW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Pu(n);return b.jsx(Sy,{...s,...r,ref:e})});fW.displayName=dW;var qge="AlertDialogAction",hW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Pu(n);return b.jsx(Cy,{...s,...r,ref:e})});hW.displayName=qge;var pW="AlertDialogCancel",mW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,{cancelRef:s}=Vge(pW,n),i=Pu(n),o=et(e,s);return b.jsx(Cy,{...i,...r,ref:o})});mW.displayName=pW;var Wge=({contentRef:t})=>{const e=`\`${yg}\` requires a description for the component to be accessible for screen reader users.
2024-11-14 19:08:59 +00:00
2025-01-15 16:26:28 +00:00
You can add a description to the \ ` ${ yg } \` by passing a \` ${ dW } \` component as a child, which also benefits sighted users by adding visible context to the dialog.
2024-11-14 19:08:59 +00:00
2025-01-15 16:26:28 +00:00
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 \` ${ yg } \` . 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.
2024-11-14 19:08:59 +00:00
2025-01-15 16:50:18 +00:00
For more information , see https : //radix-ui.com/primitives/docs/components/alert-dialog`;return S.useEffect(()=>{var r;document.getElementById((r=t.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},Gge=sW,Kge=iW,Yge=oW,gW=aW,vW=lW,yW=hW,bW=mW,xW=uW,wW=fW;const rx=di("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"}}),qe=S.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...s},i)=>{const o=r?Ya:"button";return b.jsx(o,{className:ie(rx({variant:e,size:n,className:t})),ref:i,...s})});qe.displayName="Button";const PL=Gge,Xge=Kge,Qge=Yge,_W=S.forwardRef(({className:t,...e},n)=>b.jsx(gW,{className:ie("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}));_W.displayName=gW.displayName;const uR=S.forwardRef(({className:t,...e},n)=>b.jsxs(Qge,{children:[b.jsx(_W,{}),b.jsx(vW,{ref:n,className:ie("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})]}));uR.displayName=vW.displayName;const dR=({className:t,...e})=>b.jsx("div",{className:ie("flex flex-col space-y-2 text-center sm:text-left",t),...e});dR.displayName="AlertDialogHeader";const fR=({className:t,...e})=>b.jsx("div",{className:ie("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});fR.displayName="AlertDialogFooter";const hR=S.forwardRef(({className:t,...e},n)=>b.jsx(xW,{ref:n,className:ie("text-lg font-semibold",t),...e}));hR.displayName=xW.displayName;const pR=S.forwardRef(({className:t,...e},n)=>b.jsx(wW,{ref:n,className:ie("text-sm text-muted-foreground",t),...e}));pR.displayName=wW.displayName;const mR=S.forwardRef(({className:t,...e},n)=>b.jsx(yW,{ref:n,className:ie(rx(),t),...e}));mR.displayName=yW.displayName;const gR=S.forwardRef(({className:t,...e},n)=>b.jsx(bW,{ref:n,className:ie(rx({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));gR.displayName=bW.displayName;const Zge=({textAreaRef:t,triggerAutoSize:e,maxHeight:n=Number.MAX_SAFE_INTEGER,minHeight:r=0})=>{const[s,i]=S.useState(!0);S.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 a=t.scrollHeight;a>n?t.style.height=`${n}px`:t.style.height=`${a+2}px`}},[t,e,s,n,r])},SW=S.forwardRef(({maxHeight:t=Number.MAX_SAFE_INTEGER,minHeight:e=52,className:n,onChange:r,value:s,...i},o)=>{const a=S.useRef(null),[c,u]=S.useState("");return Zge({textAreaRef:a.current,triggerAutoSize:c,maxHeight:t,minHeight:e}),S.useImperativeHandle(o,()=>({textArea:a.current,focus:()=>{var f;return(f=a.current)==null?void 0:f.focus()},maxHeight:t,minHeight:e})),S.useEffect(()=>{(s||i!=null&&i.defaultValue)&&u(s)},[s||(i==null?void 0:i.defaultValue)]),b.jsx("textarea",{...i,value:s,ref:a,className:ie("flex w-full rounded-md border
2024-11-14 19:08:59 +00:00
* 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 .
2025-01-15 16:26:28 +00:00
* /var os=typeof Symbol=="function"&&Symbol.for,WL=os?Symbol.for("react.element"):60103,GL=os?Symbol.for("react.portal"):60106,SR=os?Symbol.for("react.fragment"):60107,CR=os?Symbol.for("react.strict_mode"):60108,ER=os?Symbol.for("react.profiler"):60114,AR=os?Symbol.for("react.provider"):60109,RR=os?Symbol.for("react.context"):60110,KL=os?Symbol.for("react.async_mode"):60111,NR=os?Symbol.for("react.concurrent_mode"):60111,PR=os?Symbol.for("react.forward_ref"):60112,TR=os?Symbol.for("react.suspense"):60113,Zwe=os?Symbol.for("react.suspense_list"):60120,kR=os?Symbol.for("react.memo"):60115,DR=os?Symbol.for("react.lazy"):60116,Jwe=os?Symbol.for("react.block"):60121,e_e=os?Symbol.for("react.fundamental"):60117,t_e=os?Symbol.for("react.responder"):60118,n_e=os?Symbol.for("react.scope"):60119;function No(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case WL:switch(t=t.type,t){case KL:case NR:case SR:case ER:case CR:case TR:return t;default:switch(t=t&&t.$$typeof,t){case RR:case PR:case DR:case kR:case AR:return t;default:return e}}case GL:return e}}}function sG(t){return No(t)===NR}wn.AsyncMode=KL;wn.ConcurrentMode=NR;wn.ContextConsumer=RR;wn.ContextProvider=AR;wn.Element=WL;wn.ForwardRef=PR;wn.Fragment=SR;wn.Lazy=DR;wn.Memo=kR;wn.Portal=GL;wn.Profiler=ER;wn.StrictMode=CR;wn.Suspense=TR;wn.isAsyncMode=function(t){return sG(t)||No(t)===KL};wn.isConcurrentMode=sG;wn.isContextConsumer=function(t){return No(t)===RR};wn.isContextProvider=function(t){return No(t)===AR};wn.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===WL};wn.isForwardRef=function(t){return No(t)===PR};wn.isFragment=function(t){return No(t)===SR};wn.isLazy=function(t){return No(t)===DR};wn.isMemo=function(t){return No(t)===kR};wn.isPortal=function(t){return No(t)===GL};wn.isProfiler=function(t){return No(t)===ER};wn.isStrictMode=function(t){return No(t)===CR};wn.isSuspense=function(t){return No(t)===TR};wn.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===SR||t===NR||t===ER||t===CR||t===TR||t===Zwe||typeof t=="object"&&t!==null&&(t.$$typeof===DR||t.$$typeof===kR||t.$$typeof===AR||t.$$typeof===RR||t.$$typeof===PR||t.$$typeof===e_e||t.$$typeof===t_e||t.$$typeof===n_e||t.$$typeof===Jwe)};wn.typeOf=No;rG.exports=wn;var $B=rG.exports,g1=function(e){return Qwe(e)&&e.indexOf("%")===e.length-1},r_e=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},ek=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]},s_e=bR,i_e=function(){return s_e.Date.now()},o_e=i_e,a_e=/ \ s / ; function l _e ( t ) { for ( var e = t . length ; e -- && a _e . test ( t . charAt ( e ) ) ; ) ; return e } var c _e = l _e , u _e = c _e , d _e = /^\s+/ ; function f _e ( t ) { return t && t . slice ( 0 , u _e ( t ) + 1 ) . replace ( d _e , "" ) } var h _e = f _e , p _e = h _e , FB = S _ , m _e = C0e , zB = NaN , g _e = /^[-+]0x[0-9a-f]+$/i , v _e = /^0b[01]+$/i , y _e = /^0o[0-7]+$/i , b _e = parseInt ; function x _e ( t ) { if ( typeof t == "number" ) return t ; if ( m _e ( t ) ) return zB ; if ( FB ( t ) ) { var e = typeof t . valueOf == "function" ? t . valueOf ( ) : t ; t = FB ( e ) ? e + "" : e } if ( typeof t != "string" ) return t === 0 ? t : + t ; t = p _e ( t ) ; var n = v _e . test ( t ) ; return n || y _e . test ( t ) ? b _e ( t . slice ( 2 ) , n ? 2 : 8 ) : g _e . test ( t ) ? zB : + t } var w _e = x _e , _ _e = S _ , tk = o _e , BB = w _e , S _e = "Expected a function" , C _e = Math . max , E _e = Math . min ; function A _e ( t , e , n ) { var r , s , i , o , a , c , u = 0 , f = ! 1 , l = ! 1 , d = ! 0 ; if ( typeof t != "function" ) throw new TypeError ( S _e ) ; e = BB ( e ) || 0 , _ _e ( n ) && ( f = ! ! n . leading , l = "maxWait" in n , i = l ? C _e ( BB ( n . maxWait ) || 0 , e ) : i , d = "trailing" in n ? ! ! n . trailing : d ) ; function p ( N ) { var T = r , E = s ; return r = s = void 0 , u = N , o = t . apply ( E , T ) , o } function h ( N ) { return u = N , a = setTimeout ( g , e ) , f ? p ( N ) : o } function m ( N ) { var T = N - c , E = N - u , P = e - T ; return l ? E _e ( P , i - E ) : P } function y ( N ) { var T = N - c , E = N - u ; return c === void 0 || T >= e || T < 0 || l && E >= i } function g ( ) { var N = tk ( ) ; if ( y ( N ) ) return v ( N ) ; a = setTimeout ( g , m ( N ) ) } function v ( N ) { return a = void 0 , d && r ? p ( N ) : ( r = s = void 0 , o ) } function x ( ) { a !== void 0 && clearTimeout ( a ) , u = 0 , r = c = s = a = void 0 } function _ ( ) { return a === void 0 ? o : v ( tk ( ) ) } function A ( ) { var N = tk ( ) , T = y ( N ) ; if ( r = arguments , s = this , c = N , T ) { if ( a === void 0 ) return h ( c ) ; if ( l ) return clearTimeout ( a ) , a = setTimeout ( g , e ) , p ( c ) } return a === void 0 && ( a = setTimeout ( g , e ) ) ,
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function F_e(t,e){if(t){if(typeof t=="string")return HB(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 HB(t,e)}}function HB(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 z_e(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,s,i,o,a=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw s}}return a}}function B_e(t){if(Array.isArray(t))return t}var U_e=S.forwardRef(function(t,e){var n=t.aspect,r=t.initialDimension,s=r===void 0?{width:-1,height:-1}:r,i=t.width,o=i===void 0?"100%":i,a=t.height,c=a===void 0?"100%":a,u=t.minWidth,f=u===void 0?0:u,l=t.minHeight,d=t.maxHeight,p=t.children,h=t.debounce,m=h===void 0?0:h,y=t.id,g=t.className,v=t.onResize,x=t.style,_=x===void 0?{}:x,A=S.useRef(null),N=S.useRef();N.current=v,S.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 T=S.useState({containerWidth:s.width,containerHeight:s.height}),E=L_e(T,2),P=E[0],k=E[1],M=S.useCallback(function(j,L){k(function(H){var K=Math.round(j),V=Math.round(L);return H.containerWidth===K&&H.containerHeight===V?H:{containerWidth:K,containerHeight:V}})},[]);S.useEffect(function(){var j=function(Q){var ne,X=Q[0].contentRect,G=X.width,Y=X.height;M(G,Y),(ne=N.current)===null||ne===void 0||ne.call(N,G,Y)};m>0&&(j=M_e(j,m,{trailing:!0,leading:!1}));var L=new ResizeObserver(j),H=A.current.getBoundingClientRect(),K=H.width,V=H.height;return M(K,V),L.observe(A.current),function(){L.disconnect()}},[M,m]);var I=S.useMemo(function(){var j=P.containerWidth,L=P.containerHeight;if(j<0||L<0)return null;ek(g1(o)||g1(c), ` The width ( % s ) and height ( % s ) are both fixed numbers ,
maybe you don ' t need to use a ResponsiveContainer . ` ,o,c),ek(!n||n>0,"The aspect(%s) must be greater than zero.",n);var H=g1(o)?j:o,K=g1(c)?L:c;n&&n>0&&(H?K=H/n:K&&(H=K*n),d&&K>d&&(K=d)),ek(H>0||K>0, ` The width ( % s ) and height ( % s ) of chart should be greater than 0 ,
2024-11-14 19:08:59 +00:00
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
2025-01-15 16:26:28 +00:00
height and width . ` ,H,K,o,c,f,l,n);var V=!Array.isArray(p)&& $ B.isElement(p)&&r_e(p.type).endsWith("Chart");return oe.Children.map(p,function(U){return $ B.isElement(U)?S.cloneElement(U,v1({width:H,height:K},V?{style:v1({height:"100%",width:"100%",maxHeight:K,maxWidth:H},U.props.style)}:{})):U})},[n,p,c,d,l,f,P,o]);return oe.createElement("div",{id:y?"".concat(y):void 0,className:vy("recharts-responsive-container",g),style:v1(v1({},_),{},{width:o,height:c,minWidth:f,minHeight:l,maxHeight:d}),ref:A},I)}),H_e="Invariant failed";function Mn(t,e){if(!t)throw new Error(H_e)}const V_e={light:"",dark:".dark"},iG=S.createContext(null);function oG(){const t=S.useContext(iG);if(!t)throw new Error("useChart must be used within a <ChartContainer />");return t}const q_e=S.forwardRef(({id:t,className:e,children:n,config:r,...s},i)=>{const o=S.useId(),a= ` chart - $ { t || o . replace ( /:/g , "" ) } ` ;return b.jsx(iG.Provider,{value:{config:r},children:b.jsxs("div",{"data-chart":a,ref:i,className:ie("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:[b.jsx(W_e,{id:a,config:r}),b.jsx(U_e,{children:n})]})})});q_e.displayName="Chart";const W_e=({id:t,config:e})=>{const n=Object.entries(e).filter(([r,s])=>s.theme||s.color);return n.length?b.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(V_e).map(([r,s])=> `
2024-11-14 19:08:59 +00:00
$ { s } [ data - chart = $ { t } ] {
$ { n . map ( ( [ i , o ] ) => { var c ; const a = ( ( c = o . theme ) == null ? void 0 : c [ r ] ) || o . color ; return a ? ` --color- ${ i } : ${ a } ; ` : null } ) . join ( `
` )}
}
` ).join( `
2025-01-15 16:50:18 +00:00
` )}}):null},G_e=S.forwardRef(({active:t,payload:e,className:n,indicator:r="dot",hideLabel:s=!1,hideIndicator:i=!1,label:o,labelFormatter:a,labelClassName:c,formatter:u,color:f,nameKey:l,labelKey:d},p)=>{const{config:h}=oG(),m=S.useMemo(()=>{var A;if(s||!(e!=null&&e.length))return null;const[g]=e,v= ` $ { d || g . dataKey || g . name || "value" } ` ,x=MM(h,g,v),_=!d&&typeof o=="string"?((A=h[o])==null?void 0:A.label)||o:x==null?void 0:x.label;return a?b.jsx("div",{className:ie("font-medium",c),children:a(_,e)}):_?b.jsx("div",{className:ie("font-medium",c),children:_}):null},[o,a,e,s,c,h,d]);if(!t||!(e!=null&&e.length))return null;const y=e.length===1&&r!=="dot";return b.jsxs("div",{ref:p,className:ie("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:m,b.jsx("div",{className:"grid gap-1.5",children:e.map((g,v)=>{const x= ` $ { l || g . name || g . dataKey || "value" } ` ,_=MM(h,g,x),A=f||g.payload.fill||g.color;return b.jsx("div",{className:ie("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):b.jsxs(b.Fragment,{children:[_!=null&&_.icon?b.jsx(_.icon,{}):!i&&b.jsx("div",{className:ie("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}}),b.jsxs("div",{className:ie("flex flex-1 justify-between leading-none",y?"items-end":"items-center"),children:[b.jsxs("div",{className:"grid gap-1.5",children:[y?m:null,b.jsx("span",{className:"text-muted-foreground",children:(_==null?void 0:_.label)||g.name})]}),g.value&&b.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:g.value.toLocaleString()})]})]})},g.dataKey)})})]})});G_e.displayName="ChartTooltip";const K_e=S.forwardRef(({className:t,hideIcon:e=!1,payload:n,verticalAlign:r="bottom",nameKey:s},i)=>{const{config:o}=oG();return n!=null&&n.length?b.jsx("div",{ref:i,className:ie("flex items-center justify-center gap-4",r==="top"?"pb-3":"pt-3",t),children:n.map(a=>{const c= ` $ { s || a . dataKey || "value" } ` ,u=MM(o,a,c);return b.jsxs("div",{className:ie("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[u!=null&&u.icon&&!e?b.jsx(u.icon,{}):b.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),u==null?void 0:u.label]},a.value)})}):null});K_e.displayName="ChartLegend";function MM(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 Ny(t){const e=S.useRef({value:t,previous:t});return S.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function C_(t){const[e,n]=S.useState(void 0);return ir(()=>{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 o,a;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,a=u.blockSize}else o=t.offsetWidth,a=t.offsetHeight;n({width:o,height:a})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var YL="Checkbox",[Y_e,BUe]=In(YL),[X_e,Q_e]=Y_e(YL),aG=S.forwardRef((t,e)=>{const{__scopeCheckbox:n,name:r,checked:s,defaultChecked:i,required:o,disabled:a,value:c="on",onCheckedChange:u,...f}=t,[l,d]=S.useState(null),p=et(e,x=>d(x)),h=S.useRef(!1),m=l?!!l.closest("form"):!0,[y=!1,g]=mr({prop:s,defaultProp:i,onChange:u}),v=S.useRef(y);return S.useEffect(()=>{const x=l==null?void 0:l.form;if(x){const _=()=>g(v.current);return x.addEventListener("reset",_),()=>x.removeEventListener("reset",_)}},[l,g]),b.jsxs(X_e,{scope:n,state:y,disabled:a,children:[b.jsx(De.bu
2024-11-14 19:08:59 +00:00
. block - interactivity - ` .concat(t, ` { pointer - events : none ; }
. allow - interactivity - ` ).concat(t, ` { pointer - events : all ; }
2025-01-15 16:50:18 +00:00
` )},KSe=0,Rm=[];function YSe(t){var e=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),s=S.useState(KSe++)[0],i=S.useState(function(){return SL()})[0],o=S.useRef(t);S.useEffect(function(){o.current=t},[t]),S.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var m=Tq([t.lockRef.current],(t.shards||[]).map(t5),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var a=S.useCallback(function(m,y){if("touches"in m&&m.touches.length===2)return!o.current.allowPinchZoom;var g=x1(m),v=n.current,x="deltaX"in m?m.deltaX:v[0]-g[0],_="deltaY"in m?m.deltaY:v[1]-g[1],A,N=m.target,T=Math.abs(x)>Math.abs(_)?"h":"v";if("touches"in m&&T==="h"&&N.type==="range")return!1;var E=JB(T,N);if(!E)return!0;if(E?A=T:(A=T==="v"?"h":"v",E=JB(T,N)),!E)return!1;if(!r.current&&"changedTouches"in m&&(x||_)&&(r.current=A),!A)return!0;var P=r.current||A;return qSe(P,y,m,P==="h"?x:_,!0)},[]),c=S.useCallback(function(m){var y=m;if(!(!Rm.length||Rm[Rm.length-1]!==i)){var g="deltaY"in y?e5(y):x1(y),v=e.current.filter(function(A){return A.name===y.type&&A.target===y.target&&WSe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var x=(o.current.shards||[]).map(t5).filter(Boolean).filter(function(A){return A.contains(y.target)}),_=x.length>0?a(y,x[0]):!o.current.noIsolation;_&&y.cancelable&&y.preventDefault()}}},[]),u=S.useCallback(function(m,y,g,v){var x={name:m,delta:y,target:g,should:v};e.current.push(x),setTimeout(function(){e.current=e.current.filter(function(_){return _!==x})},1)},[]),f=S.useCallback(function(m){n.current=x1(m),r.current=void 0},[]),l=S.useCallback(function(m){u(m.type,e5(m),m.target,a(m,t.lockRef.current))},[]),d=S.useCallback(function(m){u(m.type,x1(m),m.target,a(m,t.lockRef.current))},[]);S.useEffect(function(){return Rm.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Am),document.addEventListener("touchmove",c,Am),document.addEventListener("touchstart",f,Am),function(){Rm=Rm.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Am),document.removeEventListener("touchmove",c,Am),document.removeEventListener("touchstart",f,Am)}},[]);var p=t.removeScrollBar,h=t.inert;return S.createElement(S.Fragment,null,h?S.createElement(i,{styles:GSe(s)}):null,p?S.createElement(jq,{gapMode:"margin"}):null)}const XSe=Oq(gG,YSe);var xG=S.forwardRef(function(t,e){return S.createElement(OR,Ls({},t,{ref:e,sideCar:XSe}))});xG.classNames=OR.classNames;const wG="Dialog",[_G,UUe]=uSe(wG),[QSe,Vp]=_G(wG),ZSe=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=t,a=S.useRef(null),c=S.useRef(null),[u=!1,f]=pSe({prop:r,defaultProp:s,onChange:i});return S.createElement(QSe,{scope:e,triggerRef:a,contentRef:c,contentId:sk(),titleId:sk(),descriptionId:sk(),open:u,onOpenChange:f,onOpenToggle:S.useCallback(()=>f(l=>!l),[f]),modal:o},n)},SG="DialogPortal",[JSe,CG]=_G(SG,{forceMount:void 0}),e1e=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,i=Vp(SG,e);return S.createElement(JSe,{scope:e,forceMount:n},S.Children.map(r,o=>S.createElement(MR,{present:n||i.open},S.createElement(ISe,{asChild:!0,container:s},o))))},FM="DialogOverlay",t1e=S.forwardRef((t,e)=>{const n=CG(FM,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,i=Vp(FM,t.__scopeDialog);return i.modal?S.createElement(MR,{present:r||i.open},S.createElement(n1e,li({},s,{ref:e}))):null}),n1e=S.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Vp(FM,n);return S.createElement(xG,{as:XL,allowPinchZoom:!0,shards:[s.contentRef]},S.createElement(da.div,li({"data-state":AG(s.open)},r,{ref:e,style:{pointerEvents:"auto",...r.style}})))}),ax="DialogContent",r1e=S.forwardRef((t,e)=>{const n=CG(ax,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,i=Vp(ax,t.__scopeDialog);re
2024-11-14 19:08:59 +00:00
- a positive number
2025-01-15 16:26:28 +00:00
- less than the value passed to \ ` max \` (or ${ Z2 } if no \` max \` prop is set)
2024-11-14 19:08:59 +00:00
- \ ` null \` or \` undefined \` if the progress is indeterminate.
2025-01-15 16:50:18 +00:00
Defaulting to \ ` null \` . ` } var NY = CY , GNe = AY ; const J2 = S . forwardRef ( ( { className : t , value : e , ... n } , r ) => b . jsx ( NY , { ref : r , className : ie ( "relative h-4 w-full overflow-hidden rounded-full bg-secondary" , t ) , ... n , children : b . jsx ( GNe , { className : "h-full w-full flex-1 bg-primary transition-all" , style : { transform : ` translateX(- ${ 100 - ( e || 0 ) } %) ` } } ) } ) ) ; J2 . displayName = NY . displayName ; var e$ = "Radio" , [ KNe , PY ] = In ( e$ ) , [ YNe , XNe ] = KNe ( e$ ) , TY = S . forwardRef ( ( t , e ) => { const { _ _scopeRadio : n , name : r , checked : s = ! 1 , required : i , disabled : o , value : a = "on" , onCheck : c , ... u } = t , [ f , l ] = S . useState ( null ) , d = et ( e , m => l ( m ) ) , p = S . useRef ( ! 1 ) , h = f ? ! ! f . closest ( "form" ) : ! 0 ; return b . jsxs ( YNe , { scope : n , checked : s , disabled : o , children : [ b . jsx ( De . button , { type : "button" , role : "radio" , "aria-checked" : s , "data-state" : MY ( s ) , "data-disabled" : o ? "" : void 0 , disabled : o , value : a , ... u , ref : d , onClick : ye ( t . onClick , m => { s || c == null || c ( ) , h && ( p . current = m . isPropagationStopped ( ) , p . current || m . stopPropagation ( ) ) } ) } ) , h && b . jsx ( QNe , { control : f , bubbles : ! p . current , name : r , value : a , checked : s , required : i , disabled : o , style : { transform : "translateX(-100%)" } } ) ] } ) } ) ; TY . displayName = e$ ; var kY = "RadioIndicator" , DY = S . forwardRef ( ( t , e ) => { const { _ _scopeRadio : n , forceMount : r , ... s } = t , i = XNe ( kY , n ) ; return b . jsx ( Kn , { present : r || i . checked , children : b . jsx ( De . span , { "data-state" : MY ( i . checked ) , "data-disabled" : i . disabled ? "" : void 0 , ... s , ref : e } ) } ) } ) ; DY . displayName = kY ; var QNe = t => { const { control : e , checked : n , bubbles : r = ! 0 , ... s } = t , i = S . useRef ( null ) , o = Ny ( n ) , a = C _ ( e ) ; return S . useEffect ( ( ) => { const c = i . current , u = window . HTMLInputElement . prototype , l = Object . getOwnPropertyDescriptor ( u , "checked" ) . set ; if ( o !== n && l ) { const d = new Event ( "click" , { bubbles : r } ) ; l . call ( c , n ) , c . dispatchEvent ( d ) } } , [ o , n , r ] ) , b . jsx ( "input" , { type : "radio" , "aria-hidden" : ! 0 , defaultChecked : n , ... s , tabIndex : - 1 , ref : i , style : { ... t . style , ... a , position : "absolute" , pointerEvents : "none" , opacity : 0 , margin : 0 } } ) } ; function MY ( t ) { return t ? "checked" : "unchecked" } var ZNe = [ "ArrowUp" , "ArrowDown" , "ArrowLeft" , "ArrowRight" ] , t$ = "RadioGroup" , [ JNe , tHe ] = In ( t$ , [ Jl , PY ] ) , OY = Jl ( ) , IY = PY ( ) , [ ePe , tPe ] = JNe ( t$ ) , jY = S . forwardRef ( ( t , e ) => { const { _ _scopeRadioGroup : n , name : r , defaultValue : s , value : i , required : o = ! 1 , disabled : a = ! 1 , orientation : c , dir : u , loop : f = ! 0 , onValueChange : l , ... d } = t , p = OY ( n ) , h = tl ( u ) , [ m , y ] = mr ( { prop : i , defaultProp : s , onChange : l } ) ; return b . jsx ( ePe , { scope : n , name : r , required : o , disabled : a , value : m , onValueChange : y , children : b . jsx ( k _ , { asChild : ! 0 , ... p , orientation : c , dir : h , loop : f , children : b . jsx ( De . div , { role : "radiogroup" , "aria-required" : o , "aria-orientation" : c , "data-disabled" : a ? "" : void 0 , dir : h , ... d , ref : e } ) } ) } ) } ) ; jY . displayName = t$ ; var LY = "RadioGroupItem" , $Y = S . forwardRef ( ( t , e ) => { const { _ _scopeRadioGroup : n , disabled : r , ... s } = t , i = tPe ( LY , n ) , o = i . disabled || r , a = OY ( n ) , c = IY ( n ) , u = S . useRef ( null ) , f = et ( e , u ) , l = i . value === s . value , d = S . useRef ( ! 1 ) ; return S . useEffect ( ( ) => { const p = m => { ZNe . includes ( m . key ) && ( d . current = ! 0 ) } , h = ( ) => d . current = ! 1 ; return document . addEventListener ( "keydown" , p ) , document . addEventListener ( "keyup" , h ) , ( ) => { document . removeEventListener ( "keydown" , p ) , document . removeEventListener ( "keyup" , h ) } } , [ ] ) , b . jsx ( D _ , { asChild : ! 0 , ... a , focusable : ! o , active : l , children : b . jsx ( TY , { disabled : o , required : i . required , checked : l , ... c , ... s , name : i . name , ref : f , onCheck : ( ) => i . onValueChange ( s . value ) , onKeyDown : ye ( p => { p . key === "Enter" && p . preventDefault ( ) } ) , onFocus : ye ( s . onFocus , ( ) => { var p ; d . current && ( ( p = u . current ) == null || p . click ( ) ) } ) } ) } ) } ) ; $Y . displayName = LY ; var nPe = "RadioGroupIndicator" , FY = S . forwardRef ( ( t , e ) => { const { _ _scopeRadioGroup : n , ... r } = t , s = IY ( n ) ; return b . jsx ( DY , { ... s , ... r , ref : e } ) } ) ; FY . displayName = nPe ; var zY = jY , BY = $Y , rPe = FY ; const sPe = S . forwardRef ( ( { className : t , ... e } , n ) => b . jsx ( zY , { className : ie ( "grid gap-2" , t ) , ... e , ref : n } ) ) ; sPe . displayName = zY . displayName ; const iPe = S . forwardRef ( ( { className : t , ... e } , n ) => b . jsx ( BY , { ref : n , className : ie ( "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 : b . jsx ( rPe , { className : "flex items-center justify-center" , children : b . jsx ( sR , { className : "h-2.5 w-2.5 fill-current text-current" } ) } ) } ) ) ; iPe . displayName = BY
2024-11-14 19:08:59 +00:00
* @ remix - run / router v1 . 19.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
2025-01-15 16:50:18 +00:00
* /function tr(){return tr=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},tr.apply(this,arguments)}var Nr;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Nr||(Nr={}));const q5="popstate";function nDe(t){t===void 0&&(t={});function e(r,s){let{pathname:i,search:o,hash:a}=r.location;return vx("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:kp(s)}return sDe(e,n,null,t)}function Ot(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function sy(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function rDe(){return Math.random().toString(36).substr(2,8)}function W5(t,e){return{usr:t.state,key:t.key,idx:e}}function vx(t,e,n,r){return n===void 0&&(n=null),tr({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?_f(e):e,{state:n,key:e&&e.key||r||rDe()})}function kp(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 _f(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 sDe(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Nr.Pop,c=null,u=f();u==null&&(u=0,o.replaceState(tr({},o.state,{idx:u})," "));function f(){return(o.state||{idx:null}).idx}function l(){a=Nr.Pop;let y=f(),g=y==null?null:y-u;u=y,c&&c({action:a,location:m.location,delta:g})}function d(y,g){a=Nr.Push;let v=vx(m.location,y,g);u=f()+1;let x=W5(v,u),_=m.createHref(v);try{o.pushState(x," ",_)}catch(A){if(A instanceof DOMException&&A.name===" DataCloneError ")throw A;s.location.assign(_)}i&&c&&c({action:a,location:m.location,delta:1})}function p(y,g){a=Nr.Replace;let v=vx(m.location,y,g);u=f();let x=W5(v,u),_=m.createHref(v);o.replaceState(x," ",_),i&&c&&c({action:a,location:m.location,delta:0})}function h(y){let g=s.location.origin!==" null "?s.location.origin:s.location.href,v=typeof y==" string "?y:kp(y);return v=v.replace(/ $/," % 20 "),Ot(g," No window . location . ( origin | href ) available to create URL for href : "+v),new URL(v,g)}let m={get action(){return a},get location(){return t(s,o)},listen(y){if(c)throw new Error(" A history only accepts one active listener ");return s.addEventListener(q5,l),c=y,()=>{s.removeEventListener(q5,l),c=null}},createHref(y){return e(s,y)},createURL:h,encodeLocation(y){let g=h(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:p,go(y){return o.go(y)}};return m}var An;(function(t){t.data=" data ",t.deferred=" deferred ",t.redirect=" redirect ",t.error=" error "})(An||(An={}));const iDe=new Set([" lazy "," caseSensitive "," path "," id "," index "," children "]);function oDe(t){return t.index===!0}function yx(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((s,i)=>{let o=[...n,String(i)],a=typeof s.id==" string "?s.id:o.join(" - ");if(Ot(s.index!==!0||!s.children," Cannot specify children on an index route "),Ot(!r[a],'Found a route id collision on id " '+a+`". Route id' s must be globally unique within Data Router usages ` ),oDe(s)){let c=tr({},s,e(s),{id:a});return r[a]=c,c}else{let c=tr({},s,e(s),{id:a,children:void 0});return r[a]=c,s.children&&(c.children=yx(s.children,e,o,r)),c}})}function Qf(t,e,n){return n===void 0&&(n="/"),fC(t,e,n,!1)}function fC(t,e,n,r){let s=typeof e=="string"?_f(e):e,i=lf(s.pathname||"/",n);if(i==null)return null;let o=LZ(t);lDe(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let u=bDe(i);a=vDe(o[c],u,r)}return a}function aDe(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 LZ(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("
` },""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!Fa(o))return s();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return s()}}}Ot(typeof FormData=="function","FormData is not available in this environment");let c,u;if(r.formData)c=bO(r.formData),u=r.formData;else if(r.body instanceof FormData)c=bO(r.body),u=r.body;else if(r.body instanceof URLSearchParams)c=r.body,u=eU(c);else if(r.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(r.body),u=eU(c)}catch{return s()}let f={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Fa(f.formMethod))return{path:n,submission:f};let l=_f(n);return e&&l.search&&E $ (l.search)&&c.append("index",""),l.search="?"+c,{path:kp(l),submission:f}}function ODe(t,e){let n=t;if(e){let r=t.findIndex(s=>s.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function X5(t,e,n,r,s,i,o,a,c,u,f,l,d,p,h,m){let y=m?go(m[1])?m[1].error:m[1].data:void 0,g=t.createURL(e.location),v=t.createURL(s),x=m&&go(m[1])?m[0]:void 0,_=x?ODe(n,x):n,A=m?m[1].statusCode:void 0,N=o&&A&&A>=400,T=_.filter((P,k)=>{let{route:M}=P;if(M.lazy)return!0;if(M.loader==null)return!1;if(i)return typeof M.loader!="function"||M.loader.hydrate?!0:e.loaderData[M.id]===void 0&&(!e.errors||e.errors[M.id]===void 0);if(IDe(e.loaderData,e.matches[k],P)||c.some(L=>L===P.route.id))return!0;let I=e.matches[k],j=P;return Q5(P,tr({currentUrl:g,currentParams:I.params,nextUrl:v,nextParams:j.params},r,{actionResult:y,actionStatus:A,defaultShouldRevalidate:N?!1:a||g.pathname+g.search===v.pathname+v.search||g.search!==v.search||UZ(I,j)}))}),E=[];return l.forEach((P,k)=>{if(i||!n.some(H=>H.route.id===P.routeId)||f.has(k))return;let M=Qf(p,P.path,h);if(!M){E.push({key:k,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let I=e.fetchers.get(k),j=Xb(M,P.path),L=!1;d.has(k)?L=!1:u.has(k)?(u.delete(k),L=!0):I&&I.state!=="idle"&&I.data===void 0?L=a:L=Q5(j,tr({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,actionStatus:A,defaultShouldRevalidate:N?!1:a})),L&&E.push({key:k,routeId:P.routeId,path:P.path,matches:M,match:j,controller:new AbortController})}),[T,E]}function IDe(t,e,n){let r=!e||n.route.id!==e.route.id,s=t[n.route.id]===void 0;return r||s}function UZ(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function Q5(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}async function jDe(t,e,n,r,s,i,o,a){let c=[e,...n.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=t({path:e,matches:n,patch:(f,l)=>{a.aborted||HZ(f,l,r,s,i)}}),o.set(c,u)),u&&VDe(u)&&await u}finally{o.delete(c)}}function HZ(t,e,n,r,s){if(t){var i;let o=r[t];Ot(o,"No route found to patch children into: routeId = "+t);let a=yx(e,s,[t,"patch",String(((i=o.children)==null?void 0:i.length)||"0")],r);o.children?o.children.push(...a):o.children=a}else{let o=yx(e,s,["patch",String(n.length||"0")],r);n.push(...o)}}async function Z5(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let s=n[t.id];Ot(s,"No route found in manifest");let i={};for(let o in r){let c=s[o]!==void 0&&o!=="hasErrorBoundary";sy(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!iDe.has(o)&&(i[o]=r[o])}Object.assign(s,i),Object.assign(s,tr({},e(s),{lazy:void 0}))}function LDe(t){return Promise.all(t.matches.map(e=>e.resolve()))}async function $ De(t,e,n,r,s,i,o,a){let c=r.reduce((l,d)=>l.add(d.route.id),new Set),u=new Set,f=await t({matches:s.map(l=>{let d=c.has(l.route.id)
` +o):s&&n&&r?c="You made a "+s+' request to "'+n+'" but '+('did not provide a ` loader ` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):t===403?(a="Forbidden",c='Route "'+r+'" does not match URL "'+n+'"'):t===404?(a="Not Found",c='No route matches URL "'+n+'"'):t===405&&(a="Method Not Allowed",s&&n&&r?c="You made a "+s.toUpperCase()+' request to "'+n+'" but '+('did not provide an ` action ` for route "'+r+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new VE(t||500,a,new Error(c),!0)}function iU(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(oh(n))return{result:n,idx:e}}}function VZ(t){let e=typeof t=="string"?_f(t):t;return kp(tr({},e,{hash:""}))}function HDe(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function VDe(t){return typeof t=="object"&&t!=null&&"then"in t}function qDe(t){return qZ(t.result)&&NDe.has(t.result.status)}function ih(t){return t.type===An.deferred}function go(t){return t.type===An.error}function oh(t){return(t&&t.type)===An.redirect}function oU(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function WDe(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function qZ(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function GDe(t){return RDe.has(t.toLowerCase())}function Fa(t){return EDe.has(t.toLowerCase())}async function aU(t,e,n,r,s,i){for(let o=0;o<n.length;o++){let a=n[o],c=e[o];if(!c)continue;let u=t.find(l=>l.route.id===c.route.id),f=u!=null&&!UZ(u,c)&&(i&&i[c.route.id])!==void 0;if(ih(a)&&(s||f)){let l=r[o];Ot(l,"Expected an AbortSignal for revalidating fetcher deferred result"),await WZ(a,l,s).then(d=>{d&&(n[o]=d||n[o])})}}}async function WZ(t,e,n){if(n===void 0&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:An.data,data:t.deferredData.unwrappedData}}catch(s){return{type:An.error,error:s}}return{type:An.data,data:t.deferredData.data}}}function E $ (t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Xb(t,e){let n=typeof e=="string"?_f(e).search:e.search;if(t[t.length-1].route.index&&E $ (n||""))return t[t.length-1];let r=FZ(t);return r[r.length-1]}function lU(t){let{formMethod:e,formAction:n,formEncType:r,text:s,formData:i,json:o}=t;if(!(!e||!n||!r)){if(s!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:s};if(i!=null)return{formMethod:e,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function Ok(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function KDe(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Pb(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function YDe(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Qu(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function XDe(t,e){try{let n=t.sessionStorage.getItem(BZ);if(n){let
2024-11-14 19:08:59 +00:00
* React Router v6 . 26.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
2025-01-15 16:50:18 +00:00
* /function iy(){return iy=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},iy.apply(this,arguments)}const yN=S.createContext(null),GZ=S.createContext(null),Sf=S.createContext(null),A$=S.createContext(null),rc=S.createContext({outlet:null,matches:[],isDataRoute:!1}),KZ=S.createContext(null);function ZDe(t,e){let{relative:n}=e===void 0?{}:e;zy()||Ot(!1);let{basename:r,navigator:s}=S.useContext(Sf),{hash:i,pathname:o,search:a}=XZ(t,{relative:n}),c=o;return r!=="/ "&&(c=o===" / "?r:lu([r,o])),s.createHref({pathname:c,search:a,hash:i})}function zy(){return S.useContext(A$)!=null}function Cf(){return zy()||Ot(!1),S.useContext(A$).location}function YZ(t){S.useContext(Sf).static||S.useLayoutEffect(t)}function Us(){let{isDataRoute:t}=S.useContext(rc);return t?hMe():JDe()}function JDe(){zy()||Ot(!1);let t=S.useContext(yN),{basename:e,future:n,navigator:r}=S.useContext(Sf),{matches:s}=S.useContext(rc),{pathname:i}=Cf(),o=JSON.stringify(mN(s,n.v7_relativeSplatPath)),a=S.useRef(!1);return YZ(()=>{a.current=!0}),S.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u==" number "){r.go(u);return}let l=gN(u,JSON.parse(o),i,f.relative===" path ");t==null&&e!==" / "&&(l.pathname=l.pathname===" / "?e:lu([e,l.pathname])),(f.replace?r.replace:r.push)(l,f.state,f)},[e,r,o,i,t])}const eMe=S.createContext(null);function tMe(t){let e=S.useContext(rc).outlet;return e&&S.createElement(eMe.Provider,{value:t},e)}function nMe(){let{matches:t}=S.useContext(rc),e=t[t.length-1];return e?e.params:{}}function XZ(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=S.useContext(Sf),{matches:s}=S.useContext(rc),{pathname:i}=Cf(),o=JSON.stringify(mN(s,r.v7_relativeSplatPath));return S.useMemo(()=>gN(t,JSON.parse(o),i,n===" path "),[t,o,i,n])}function rMe(t,e,n,r){zy()||Ot(!1);let{navigator:s}=S.useContext(Sf),{matches:i}=S.useContext(rc),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:" / ";o&&o.route;let u=Cf(),f;f=u;let l=f.pathname||" / ",d=l;if(c!==" / "){let m=c.replace(/^\//," ").split(" / ");d=" / "+l.replace(/^\//," ").split(" / ").slice(m.length).join(" / ")}let p=Qf(t,{pathname:d});return lMe(p&&p.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:lu([c,s.encodeLocation?s.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase===" / "?c:lu([c,s.encodeLocation?s.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),i,n,r)}function sMe(){let t=uMe(),e=vN(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:" 0.5 rem ",backgroundColor:" rgba ( 200 , 200 , 200 , 0.5 ) "};return S.createElement(S.Fragment,null,S.createElement(" h2 ",null," Unexpected Application Error ! "),S.createElement(" h3 ",{style:{fontStyle:" italic "}},e),n?S.createElement(" pre ",{style:s},n):null,null)}const iMe=S.createElement(sMe,null);class oMe extends S.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 ? S . createElement ( rc . Provider , { value : this . props . routeContext } , S . createElement ( KZ . Provider , { value : this . state . error , children : this . props . component } ) ) : this . props . children } } function aMe ( t ) { let { routeContext : e , match : n , children : r } = t , s = S . useContext ( yN ) ; return s && s . static && s . staticContext && ( n . route . errorElement || n . route . ErrorBoundary ) && ( s . staticContext . _deepestRenderedBoundaryId = n . route . id ) , S . createElement ( rc . Provider , { value : e } , r ) } function lMe ( t , e , n , r ) { var s ; if ( e === void 0 && ( e = [ ] ) , n === void 0 && ( n = null ) , r === void 0 && ( r = null ) , t == null )
2024-11-14 19:08:59 +00:00
* React Router DOM v6 . 26.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
2025-01-15 16:50:18 +00:00
* / f u n c t i o n x x ( ) { r e t u r n x x = O b j e c t . a s s i g n ? O b j e c t . a s s i g n . b i n d ( ) : f u n c t i o n ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = a r g u m e n t s [ e ] ; f o r ( v a r r i n n ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( n , r ) & & ( t [ r ] = n [ r ] ) } r e t u r n t } , x x . a p p l y ( t h i s , a r g u m e n t s ) } f u n c t i o n v M e ( t , e ) { i f ( t = = n u l l ) r e t u r n { } ; v a r n = { } , r = O b j e c t . k e y s ( t ) , s , i ; f o r ( i = 0 ; i < r . l e n g t h ; i + + ) s = r [ i ] , ! ( e . i n d e x O f ( s ) > = 0 ) & & ( n [ s ] = t [ s ] ) ; r e t u r n n } f u n c t i o n y M e ( t ) { r e t u r n ! ! ( t . m e t a K e y | | t . a l t K e y | | t . c t r l K e y | | t . s h i f t K e y ) } f u n c t i o n b M e ( t , e ) { r e t u r n t . b u t t o n = = = 0 & & ( ! e | | e = = = " _ s e l f " ) & & ! y M e ( t ) } f u n c t i o n x O ( t ) { r e t u r n t = = = v o i d 0 & & ( t = " " ) , n e w U R L S e a r c h P a r a m s ( t y p e o f t = = " s t r i n g " | | A r r a y . i s A r r a y ( t ) | | t i n s t a n c e o f U R L S e a r c h P a r a m s ? t : O b j e c t . k e y s ( t ) . r e d u c e ( ( e , n ) = > { l e t r = t [ n ] ; r e t u r n e . c o n c a t ( A r r a y . i s A r r a y ( r ) ? r . m a p ( s = > [ n , s ] ) : [ [ n , r ] ] ) } , [ ] ) ) } f u n c t i o n x M e ( t , e ) { l e t n = x O ( t ) ; r e t u r n e & & e . f o r E a c h ( ( r , s ) = > { n . h a s ( s ) | | e . g e t A l l ( s ) . f o r E a c h ( i = > { n . a p p e n d ( s , i ) } ) } ) , n } c o n s t w M e = [ " o n C l i c k " , " r e l a t i v e " , " r e l o a d D o c u m e n t " , " r e p l a c e " , " s t a t e " , " t a r g e t " , " t o " , " p r e v e n t S c r o l l R e s e t " , " u n s t a b l e _ v i e w T r a n s i t i o n " ] , _ M e = " 6 " ; t r y { w i n d o w . _ _ r e a c t R o u t e r V e r s i o n = _ M e } c a t c h { } f u n c t i o n S M e ( t , e ) { r e t u r n D D e ( { b a s e n a m e : e = = n u l l ? v o i d 0 : e . b a s e n a m e , f u t u r e : x x ( { } , e = = n u l l ? v o i d 0 : e . f u t u r e , { v 7 _ p r e p e n d B a s e n a m e : ! 0 } ) , h i s t o r y : n D e ( { w i n d o w : e = = n u l l ? v o i d 0 : e . w i n d o w } ) , h y d r a t i o n D a t a : ( e = = n u l l ? v o i d 0 : e . h y d r a t i o n D a t a ) | | C M e ( ) , r o u t e s : t , m a p R o u t e P r o p e r t i e s : g M e , u n s t a b l e _ d a t a S t r a t e g y : e = = n u l l ? v o i d 0 : e . u n s t a b l e _ d a t a S t r a t e g y , u n s t a b l e _ p a t c h R o u t e s O n M i s s : e = = n u l l ? v o i d 0 : e . u n s t a b l e _ p a t c h R o u t e s O n M i s s , w i n d o w : e = = n u l l ? v o i d 0 : e . w i n d o w } ) . i n i t i a l i z e ( ) } f u n c t i o n C M e ( ) { v a r t ; l e t e = ( t = w i n d o w ) = = n u l l ? v o i d 0 : t . _ _ s t a t i c R o u t e r H y d r a t i o n D a t a ; r e t u r n e & & e . e r r o r s & & ( e = x x ( { } , e , { e r r o r s : E M e ( e . e r r o r s ) } ) ) , e } f u n c t i o n E M e ( t ) { i f ( ! t ) r e t u r n n u l l ; l e t e = O b j e c t . e n t r i e s ( t ) , n = { } ; f o r ( l e t [ r , s ] o f e ) i f ( s & & s . _ _ t y p e = = = " R o u t e E r r o r R e s p o n s e " ) n [ r ] = n e w V E ( s . s t a t u s , s . s t a t u s T e x t , s . d a t a , s . i n t e r n a l = = = ! 0 ) ; e l s e i f ( s & & s . _ _ t y p e = = = " E r r o r " ) { i f ( s . _ _ s u b T y p e ) { l e t i = w i n d o w [ s . _ _ s u b T y p e ] ; i f ( t y p e o f i = = " f u n c t i o n " ) t r y { l e t o = n e w i ( s . m e s s a g e ) ; o . s t a c k = " " , n [ r ] = o } c a t c h { } } i f ( n [ r ] = = n u l l ) { l e t i = n e w E r r o r ( s . m e s s a g e ) ; i . s t a c k = " " , n [ r ] = i } } e l s e n [ r ] = s ; r e t u r n n } c o n s t A M e = S . c r e a t e C o n t e x t ( { i s T r a n s i t i o n i n g : ! 1 } ) , R M e = S . c r e a t e C o n t e x t ( n e w M a p ) , N M e = " s t a r t T r a n s i t i o n " , u U = c _ [ N M e ] , P M e = " f l u s h S y n c " , d U = e h e [ P M e ] ; f u n c t i o n T M e ( t ) { u U ? u U ( t ) : t ( ) } f u n c t i o n T b ( t ) { d U ? d U ( t ) : t ( ) } c l a s s k M e { c o n s t r u c t o r ( ) { t h i s . s t a t u s = " p e n d i n g " , t h i s . p r o m i s e = n e w P r o m i s e ( ( e , n ) = > { t h i s . r e s o l v e = r = > { t h i s . s t a t u s = = = " p e n d i n g " & & ( t h i s . s t a t u s = " r e s o l v e d " , e ( r ) ) } , t h i s . r e j e c t = r = > { t h i s . s t a t u s = = = " p e n d i n g " & & ( t h i s . s t a t u s = " r e j e c t e d " , n ( r ) ) } } ) } } f u n c t i o n D M e ( t ) { l e t { f a l l b a c k E l e m e n t : e , r o u t e r : n , f u t u r e : r } = t , [ s , i ] = S . u s e S t a t e ( n . s t a t e ) , [ o , a ] = S . u s e S t a t e ( ) , [ c , u ] = S . u s e S t a t e ( { i s T r a n s i t i o n i n g : ! 1 } ) , [ f , l ] = S . u s e S t a t e ( ) , [ d , p ] = S . u s e S t a t e ( ) , [ h , m ] = S . u s e S t a t e ( ) , y = S . u s e R e f ( n e w M a p ) , { v 7 _ s t a r t T r a n s i t i o n : g } = r | | { } , v = S . u s e C a l l b a c k ( E = > { g ? T M e ( E ) : E ( ) } , [ g ] ) , x = S . u s e C a l l b a c k ( ( E , P ) = > { l e t { d e l e t e d F e t c h e r s : k , u n s t a b l e _ f l u s h S y n c : M , u n s t a b l e _ v i e w T r a n s i t i o n O p t s : I } = P ; k . f o r E a c h ( L = > y . c u r r e n t . d e l e t e ( L ) ) , E . f e t c h e r s . f o r E a c h ( ( L , H ) = > { L . d a t a ! = = v o i d 0 & & y . c u r r e n t . s e t ( H , L . d a t a ) } ) ; l e t j = n . w i n d o w = = n u l l | | n . w i n d o w . d o c u m e n t = = n u l l | | t y p e o f n . w i n d o w . d o c u m e n t . s t a r t V i e w T r a n s i t i o n ! = " f u n c t i o n " ; i f ( ! I | | j ) { M ? T b ( ( ) = > i ( E ) ) : v ( ( ) = > i ( E ) ) ; r e t u r n } i f ( M ) { T b ( ( ) = > { d & & ( f & & f . r e s o l v e ( ) , d . s k i p T r a n s i t i o n ( ) ) , u ( { i s T r a n s i t i o n i n g : ! 0 , f l u s h S y n c : ! 0 , c u r r e n t L o c a t i o n : I . c u r r e n t L o c a t i o n , n e x t L o c a t i o n : I . n e x t L o c a t i o n } ) } ) ; l e t L = n . w i n d o w . d o c u m e n t . s t a r t V i e w T r a n s i t i o n ( ( ) = > { T b ( ( ) = > i ( E ) ) } ) ; L . f i n i s h e d . f i n a l l y ( ( ) = > { T b ( ( ) = > { l ( v o i d 0 ) , p ( v o i d 0 ) , a ( v o i d 0 ) , u ( { i s T r a n s i t i o n i n g : ! 1 } ) } ) } ) , T b ( ( ) = > p ( L ) ) ; r e t u r n } d ? ( f & & f . r e s o l v e ( ) , d . s k i p T r a n s i t i o n ( ) , m ( { s t a t e : E , c u r r e n t L o c a t i o n : I . c u r r e n t L o c a t i o n , n e x t L o c a t i o n : I . n e x t L o c a t i o n } ) ) : ( a ( E ) , u ( { i s T r a n s i t i o n i n g : ! 0 , f l u s h S y n c : ! 1 , c u r r e n t L o c a t i o n : I . c u r r e n t L o c a t i o n , n e x t L o c a t i o n : I . n e x t L o c a t i o n } ) ) } , [ n . w i n d o w , d , f , y , v ] ) ; S . u s e L a y o u t E f f e c t ( ( ) = > n . s u b s c r i b e ( x ) , [ n , x ] ) , S . u s e E f f e c t ( ( ) = > { c . i s T r a n s i t i o n i n g & & ! c . f l u s h S y n c & & l ( n e w k M e ) } , [ c ] ) , S . u s e E f f e c t ( ( ) = > { i f ( f & & o & & n . w i n d o w ) { l e t E = o , P = f . p r o m i s e , k = n . w i n d o w . d o c u m e n t . s t a r t V i e w T r a n s i t i o n ( a s y n c ( ) = > { v ( ( ) = > i ( E ) ) , a w a i t P } ) ; k . f i n i s h e d . f i n a l l y ( ( ) = > { l ( v o i d 0 ) , p ( v o i d 0 ) , a ( v o i d 0 ) , u ( { i s T r a n s i t i o n i n g : ! 1 } ) } ) , p ( k ) } } , [ v , o , f , n . w i n d o w ] ) , S . u s e E f f e c t ( ( ) = > { f & & o & & s . l o c a t i o n . k e y = = = o . l o c a t i o n . k e y & & f . r e s o l v e ( ) } , [ f , d , s . l o c a t i o n , o ] ) , S . u s e E f f e c t ( (
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var SOe={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=CU(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(o){i=i.lessThan(o)?i:o}),i},maximum:function(e){var n=CU(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(o){i=i.greaterThan(o)?i:o}),i}};function oJ(t){return!isNaN(parseInt(t))&&isFinite(t)}function COe(t){return oJ(t)&&t<=100&&t>=0}function EOe(t){return t.length>0&&t.every(function(e){return e>=0})&&t.some(function(e){return e>0})}function AU(t){return t%2===0}function RU(t){return oJ(t)&&!Number.isInteger(t)}function AOe(){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 Db(t){return Math.abs(t)%1===.5}function ROe(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),NOe(s,e.headers),s.send()})}function NOe(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 Qb(t){return typeof t>"u"}function aJ(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".",n={};return Object.entries(t).forEach(function(r){if(T0(r[1])==="object"){var s=aJ(r[1]);Object.entries(s).forEach(function(i){n[r[0]+e+i[0]]=i[1]})}else n[r[0]]=r[1]}),n}function POe(t){return!!t&&(T0(t)==="object"||typeof t=="function")&&typeof t.then=="function"}function lJ(){var t=function(r,s){var i=function(c){return Math.pow(10,AOe(c))},o=Math.max(i(r),i(s));return Math.round(r*o)*Math.round(s*o)/(o*o)},e={HALF_ODD:function(r){var s=Math.round(r);return Db(r)&&AU(s)?s-1:s},HALF_EVEN:function(r){var s=Math.round(r);return Db(r)?AU(s)?s:s-1:s},HALF_UP:function(r){return Math.round(r)},HALF_DOWN:function(r){return Db(r)?Math.floor(r):Math.round(r)},HALF_TOWARDS_ZERO:function(r){return Db(r)?Math.sign(r)*Math.floor(Math.abs(r)):Math.round(r)},HALF_AWAY_FROM_ZERO:function(r){return Db(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 RU(r)||RU(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 TOe=lJ();function kOe(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!Qb(r)}):[]},getMinimumFractionDigits:function(){var r=function(i){return i==="."};return Qb(this.getMatches().find(r))?0:this.getMatches()[TOe.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 Qb(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!Qb(this.getMatches().find(function(r){return r===","}))}}}function DOe(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 o in i)s=s.replace("{{".concat(o,"}}"),i[o]);return s},n=function(s,i){return ROe(e(t.endpoint,{from:s,to:i}),{headers:t.headers})};return{getExchangeRate:function(s,i){return(POe(t.endpoint)?t.endpoint:n(s,i)).then(function(o){return aJ(o)[e(t.propertyPath,{from:s,to:i})]})}}}function _x(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2
2024-11-14 19:08:59 +00:00
* @ 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
2025-01-15 16:26:28 +00:00
* /YE.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 . ",o=" Expected a function ",a=" Invalid ` variable ` option passed into ` _.template ` ",c=" _ _lodash _hash _undefined _ _ ",u=500,f=" _ _lodash _placeholder _ _ ",l=1,d=2,p=4,h=1,m=2,y=1,g=2,v=4,x=8,_=16,A=32,N=64,T=128,E=256,P=512,k=30,M=" ... ",I=800,j=16,L=1,H=2,K=3,V=1/0,U=9007199254740991,Q=17976931348623157e292,ne=NaN,X=4294967295,G=X-1,Y=X>>>1,Z=[[" ary ",T],[" bind ",y],[" bindKey ",g],[" curry ",x],[" curryRight ",_],[" flip ",P],[" partial ",A],[" partialRight ",N],[" rearg ",E]],he=" [ object Arguments ] ",fe=" [ object Array ] ",ce=" [ object AsyncFunction ] ",xe=" [ object Boolean ] ",Ne=" [ object Date ] ",pe=" [ object DOMException ] ",Le=" [ object Error ] ",Me=" [ object Function ] ",Oe=" [ object GeneratorFunction ] ",Fe=" [ object Map ] ",ot=" [ object Number ] ",nt=" [ object Null ] ",At=" [ object Object ] ",ee=" [ object Promise ] ",de=" [ object Proxy ] ",me=" [ object RegExp ] ",Re=" [ object Set ] ",Pe=" [ object String ] ",Ee=" [ object Symbol ] ",Ve=" [ object Undefined ] ",tt=" [ object WeakMap ] ",qt=" [ object WeakSet ] ",gt=" [ object ArrayBuffer ] ",kt=" [ object DataView ] ",an=" [ object Float32Array ] ",gr=" [ object Float64Array ] ",_n=" [ object Int8Array ] ",pi=" [ object Int16Array ] ",or=" [ object Int32Array ] ",mi=" [ object Uint8Array ] ",$e=" [ object Uint8ClampedArray ] ",Xe=" [ object Uint16Array ] ",ht=" [ object Uint32Array ] ",Ze=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,Pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,St=/&(?:amp|lt|gt|quot|#39);/g,Wt=/[&<>" ']/g,Zt=RegExp(St.source),ar=RegExp(Wt.source),Pn=/<%-([\s\S]+?)%>/g,Cr=/<%([\s\S]+?)%>/g,Dr=/<%=([\s\S]+?)%>/g,Wi=/\.|\[(?:[^[\]]*|(["' ] ) ( ? : ( ? ! \ 1 ) [ ^ \ \ ] | \ \ . ) * ? \ 1 ) \ ] / , Yr = /^\w*$/ , sc = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g , pa = /[\\^$.*+?()[\]{}|]/g , re = RegExp ( pa . source ) , ae = /^\s+/ , ge = /\s/ , _e = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/ , ze = /\{\n\/\* \[wrapped with (.+)\] \*/ , Ke = /,? & / , ut = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g , je = /[()=,{}\[\]\/\s]/ , xt = /\\(\\)?/g , rt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g , st = /\w*$/ , ln = /^[-+]0x[0-9a-f]+$/i , tn = /^0b[01]+$/i , hn = /^\[object .+?Constructor\]$/ , Jt = /^0o[0-7]+$/i , Mr = /^(?:0|[1-9]\d*)$/ , lr = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g , sl = /($^)/ , il = /['\n\r\u2028\u2029\\]/g , ma = "\\ud800-\\udfff" , ku = "\\u0300-\\u036f" , Du = "\\ufe20-\\ufe2f" , Po = "\\u20d0-\\u20ff" , Nf = ku + Du + Po , Pf = "\\u2700-\\u27bf" , Tf = "a-z\\xdf-\\xf6\\xf8-\\xff" , Ct = "\\xac\\xb1\\xd7\\xf7" , Yn = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf" , Hs = "\\u2000-\\u206f" , jn = " \\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" , To = "A-Z\\xc0-\\xd6\\xd8-\\xde" , Yy = "\\ufe0e\\ufe0f" , oS = Ct + Yn + Hs + jn , eP = "['’ ]" , Are = "[" + ma + "]" , wF = "[" + oS + "]" , aS = "[" + Nf + "]" , _F = "\\d+" , Rre = "[" + Pf + "]" , SF = "[" + Tf + "]" , CF = "[^" + ma + oS + _F + Pf + Tf + To + "]" , tP = "\\ud83c[\\udffb-\\udfff]" , Nre = "(?:" + aS + "|" + tP + ")" , EF = "[^" + ma + "]" , nP = "(?:\\ud83c[\\udde6-\\uddff]){2}" , rP = "[\\ud800-\\udbff][\\udc00-\\udfff]" , am = "[" + To + "]" , AF = "\\u200d" , RF = "(?:" + SF + "|" + CF + ")" , Pre = "(?:" + am + "|" + CF + ")" , NF = "(?:" + eP + "(?:d|ll|m|re|s|t|ve))?" , PF = "(?:" + eP + "(?:D|LL|M|RE|S|T|VE))?" , TF = Nre + "?" , kF = "[" + Yy + "]?" , Tre = "(?:" + AF + "(?:" + [ EF , nP , rP ] . join ( "|" ) + ")" + kF + TF + ")*" , kre = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])" , Dre = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])" , DF = kF + TF + Tre , Mre = "(?:" + [ Rre , nP , rP ] . join ( "|" ) + ")" + DF , Ore = "(?:" + [ EF + aS + "?" , aS , nP , rP , Are ] . join ( "|" ) + ")" , Ire = RegExp ( eP , "g" ) , jre = RegExp ( aS , "g" ) , sP = RegExp ( tP + "(?=" + tP + ")|" + Ore + DF , "g" ) , Lre = RegExp ( [ am + "?" + SF + "+" + NF + "(?=" + [ wF , am , "$" ] . join ( "|" ) + ")" , Pre + "+" + PF + "(?=" + [ wF , am + RF , "$" ] . join ( "|" ) + ")" , am + "?" + RF + "+" + NF , am + "+" + PF , Dre , kre , _F , Mre ] . join ( "|" ) , "g" ) , $re = RegExp ( "[" + AF + ma + Nf + Yy + "]" ) , Fre = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ , zre = [ "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
2024-11-14 19:08:59 +00:00
/* [wrapped with `+C+`] */
2025-01-15 16:26:28 +00:00
` )}function soe(w){return wt(w)||Ff(w)||!!(t3&&w&&w[t3])}function uc(w,C){var D=typeof w;return C=C??U,!!C&&(D=="number"||D!="symbol"&&Mr.test(w))&&w>-1&&w%1==0&&w<C}function qs(w,C,D){if(!Zn(D))return!1;var O=typeof C;return(O=="number"?vi(D)&&uc(C,D.length):O=="string"&&C in D)?ya(D[C],w):!1}function qP(w,C){if(wt(w))return!1;var D=typeof w;return D=="number"||D=="symbol"||D=="boolean"||w==null||Xi(w)?!0:Yr.test(w)||!Wi.test(w)||C!=null&&w in Tn(C)}function ioe(w){var C=typeof w;return C=="string"||C=="number"||C=="symbol"||C=="boolean"?w!=="__proto__":w===null}function WP(w){var C=jS(w),D=q[C];if(typeof D!="function"||!(C in Bt.prototype))return!1;if(w===D)return!0;var O=UP(D);return!!O&&w===O[0]}function ooe(w){return!!QF&&QF in w}var aoe=fS?dc:cT;function lb(w){var C=w&&w.constructor,D=typeof C=="function"&&C.prototype||fm;return w===D}function Q3(w){return w===w&&!Zn(w)}function Z3(w,C){return function(D){return D==null?!1:D[w]===C&&(C!==n||w in Tn(D))}}function loe(w){var C=US(w,function(O){return D.size===u&&D.clear(),O}),D=C.cache;return C}function coe(w,C){var D=w[1],O=C[1],F=D|O,W=F<(y|g|T),J=O==T&&D==x||O==T&&D==E&&w[7].length<=C[8]||O==(T|E)&&C[7].length<=C[8]&&D==x;if(!(W||J))return w;O&y&&(w[2]=C[2],F|=D&y?0:v);var se=C[3];if(se){var ue=w[3];w[3]=ue?O3(ue,se,C[4]):se,w[4]=ue?Iu(w[3],f):C[4]}return se=C[5],se&&(ue=w[5],w[5]=ue?I3(ue,se,C[6]):se,w[6]=ue?Iu(w[5],f):C[6]),se=C[7],se&&(w[7]=se),O&T&&(w[8]=w[8]==null?C[8]:Es(w[8],C[8])),w[9]==null&&(w[9]=C[9]),w[0]=C[0],w[1]=F,w}function uoe(w){var C=[];if(w!=null)for(var D in Tn(w))C.push(D);return C}function doe(w){return pS.call(w)}function J3(w,C,D){return C=Ir(C===n?w.length-1:C,0),function(){for(var O=arguments,F=-1,W=Ir(O.length-C,0),J=ve(W);++F<W;)J[F]=O[C+F];F=-1;for(var se=ve(C+1);++F<C;)se[F]=O[F];return se[C]=D(J),Gi(w,this,se)}}function e4(w,C){return C.length<2?w:jf(w,jo(C,0,-1))}function foe(w,C){for(var D=w.length,O=Es(C.length,D),F=gi(w);O--;){var W=C[O];w[O]=uc(W,D)?F[W]:n}return w}function GP(w,C){if(!(C==="constructor"&&typeof w[C]=="function")&&C!="__proto__")return w[C]}var t4=r4(C3),cb=Rse||function(w,C){return as.setTimeout(w,C)},KP=r4(Iie);function n4(w,C,D){var O=C+"";return KP(w,roe(O,hoe(eoe(O),D)))}function r4(w){var C=0,D=0;return function(){var O=kse(),F=j-(O-D);if(D=O,F>0){if(++C>=I)return arguments[0]}else C=0;return w.apply(n,arguments)}}function $ S(w,C){var D=-1,O=w.length,F=O-1;for(C=C===n?O:C;++D<C;){var W=TP(D,F),J=w[W];w[W]=w[D],w[D]=J}return w.length=C,w}var s4=loe(function(w){var C=[];return w.charCodeAt(0)===46&&C.push(""),w.replace(sc,function(D,O,F,W){C.push(F?W.replace(xt," $ 1"):O||D)}),C});function ll(w){if(typeof w=="string"||Xi(w))return w;var C=w+"";return C=="0"&&1/w==-V?"-0":C}function $ f(w){if(w!=null){try{return hS.call(w)}catch{}try{return w+""}catch{}}return""}function hoe(w,C){return Do(Z,function(D){var O="_."+D[0];C&D[1]&&!lS(w,O)&&w.push(O)}),w.sort()}function i4(w){if(w instanceof Bt)return w.clone();var C=new Oo(w.__wrapped__,w.__chain__);return C.__actions__=gi(w.__actions__),C.__index__=w.__index__,C.__values__=w.__values__,C}function poe(w,C,D){(D?qs(w,C,D):C===n)?C=1:C=Ir(Rt(C),0);var O=w==null?0:w.length;if(!O||C<1)return[];for(var F=0,W=0,J=ve(xS(O/C));F<O;)J[W++]=jo(w,F,F+=C);return J}function moe(w){for(var C=-1,D=w==null?0:w.length,O=0,F=[];++C<D;){var W=w[C];W&&(F[O++]=W)}return F}function goe(){var w=arguments.length;if(!w)return[];for(var C=ve(w-1),D=arguments[0],O=w;O--;)C[O-1]=arguments[O];return Ou(wt(D)?gi(D):[D],ls(C,1))}var voe=Dt(function(w,C){return vr(w)?rb(w,ls(C,1,vr,!0)):[]}),yoe=Dt(function(w,C){var D=Lo(C);return vr(D)&&(D=n),vr(w)?rb(w,ls(C,1,vr,!0),at(D,2)):[]}),boe=Dt(function(w,C){var D=Lo(C);return vr(D)&&(D=n),vr(w)?rb(w,ls(C,1,vr,!0),n,D):[]});function xoe(w,C,D){var O=w==null?0:w.length;return O?(C=D||C===n?1:Rt(C),jo(w,C<0?0:C,O)):[]}function woe(w,C,D){var O=w==null?0:w.length;return O?(C=D||C===n?1:Rt(C),C=O-C,jo(w,0,C<0?0:C)):[]}function _oe(w,C){return w&&w.length?TS(w,at(C,3),!0,!0):[]}function Soe(w,C){return w&&w.length?TS(w,at(C,3),!0):[]}function Coe(w,C,D,O)
` ;w.replace(Be,function(ft,Lt,Ut,Qi,Ws,Zi){return Ut||(Ut=Qi),Ae+=w.slice(Se,Zi).replace(il,ase),Lt&&(se=!0,Ae+= ` ' +
2024-11-14 19:08:59 +00:00
_ _e ( ` +Lt+ ` ) +
2024-12-16 17:05:33 +00:00
'`),Ws&&(ue=!0,Ae+=`' ;
` +Ws+ ` ;
2024-11-14 19:08:59 +00:00
_ _p += '`),Ut&&(Ae+=`' +
( ( _ _t = ( ` +Ut+ ` ) ) == null ? '' : _ _t ) +
2024-12-16 17:05:33 +00:00
'`),Se=Zi+ft.length,ft}),Ae+=`' ;
2024-11-14 19:08:59 +00:00
` ;var dt=pn.call(C,"variable")&&C.variable;if(!dt)Ae= ` with ( obj ) {
` +Ae+ `
}
2025-01-15 16:26:28 +00:00
` ;else if(je.test(dt))throw new bt(a);Ae=(ue?Ae.replace(Ze,""):Ae).replace(yt," $ 1").replace(Pt," $ 1;"),Ae="function("+(dt||"obj")+ ` ) {
2024-11-14 19:08:59 +00:00
` +(dt?"": ` obj || ( obj = { } ) ;
` )+"var __t, __p = ''"+(se?", __e = _.escape":"")+(ue? ` , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
` : ` ;
` )+Ae+ ` return _ _p
2025-01-15 16:26:28 +00:00
} ` ;var Tt=L4(function(){return nn(W,Qe+"return "+Ae).apply(n,J)});if(Tt.source=Ae,JP(Tt))throw Tt;return Tt}function Mce(w){return cn(w).toLowerCase()}function Oce(w){return cn(w).toUpperCase()}function Ice(w,C,D){if(w=cn(w),w&&(D||C===n))return WF(w);if(!w||!(C=Yi(C)))return w;var O=ga(w),F=ga(C),W=GF(O,F),J=KF(O,F)+1;return zu(O,W,J).join("")}function jce(w,C,D){if(w=cn(w),w&&(D||C===n))return w.slice(0,XF(w)+1);if(!w||!(C=Yi(C)))return w;var O=ga(w),F=KF(O,ga(C))+1;return zu(O,0,F).join("")}function Lce(w,C,D){if(w=cn(w),w&&(D||C===n))return w.replace(ae,"");if(!w||!(C=Yi(C)))return w;var O=ga(w),F=GF(O,ga(C));return zu(O,F).join("")}function $ ce(w,C){var D=k,O=M;if(Zn(C)){var F="separator"in C?C.separator:F;D="length"in C?Rt(C.length):D,O="omission"in C?Yi(C.omission):O}w=cn(w);var W=w.length;if(cm(w)){var J=ga(w);W=J.length}if(D>=W)return w;var se=D-um(O);if(se<1)return O;var ue=J?zu(J,0,se).join(""):w.slice(0,se);if(F===n)return ue+O;if(J&&(se+=ue.length-se),eT(F)){if(w.slice(se).search(F)){var Se,Ce=ue;for(F.global||(F=gP(F.source,cn(st.exec(F))+"g")),F.lastIndex=0;Se=F.exec(Ce);)var Ae=Se.index;ue=ue.slice(0,Ae===n?se:Ae)}}else if(w.indexOf(Yi(F),se)!=se){var Be=ue.lastIndexOf(F);Be>-1&&(ue=ue.slice(0,Be))}return ue+O}function Fce(w){return w=cn(w),w&&Zt.test(w)?w.replace(St,pse):w}var zce=vm(function(w,C,D){return w+(D?" ":"")+C.toUpperCase()}),rT= $ 3("toUpperCase");function j4(w,C,D){return w=cn(w),C=D?n:C,C===n?cse(w)?vse(w):ese(w):w.match(C)||[]}var L4=Dt(function(w,C){try{return Gi(w,n,C)}catch(D){return JP(D)?D:new bt(D)}}),Bce=cc(function(w,C){return Do(C,function(D){D=ll(D),ac(w,D,QP(w[D],w))}),w});function Uce(w){var C=w==null?0:w.length,D=at();return w=C?Xn(w,function(O){if(typeof O[1]!="function")throw new Mo(o);return[D(O[0]),O[1]]}):[],Dt(function(O){for(var F=-1;++F<C;){var W=w[F];if(Gi(W[0],this,O))return Gi(W[1],this,O)}})}function Hce(w){return pie(Io(w,l))}function sT(w){return function(){return w}}function Vce(w,C){return w==null||w!==w?C:w}var qce=z3(),Wce=z3(!0);function bi(w){return w}function iT(w){return g3(typeof w=="function"?w:Io(w,l))}function Gce(w){return y3(Io(w,l))}function Kce(w,C){return b3(w,Io(C,l))}var Yce=Dt(function(w,C){return function(D){return sb(D,w,C)}}),Xce=Dt(function(w,C){return function(D){return sb(w,D,C)}});function oT(w,C,D){var O=Xr(C),F=RS(C,O);D==null&&!(Zn(C)&&(F.length||!O.length))&&(D=C,C=w,w=this,F=RS(C,Xr(C)));var W=!(Zn(D)&&"chain"in D)||!!D.chain,J=dc(w);return Do(F,function(se){var ue=C[se];w[se]=ue,J&&(w.prototype[se]=function(){var Se=this.__chain__;if(W||Se){var Ce=w(this.__wrapped__),Ae=Ce.__actions__=gi(this.__actions__);return Ae.push({func:ue,args:arguments,thisArg:w}),Ce.__chain__=Se,Ce}return ue.apply(w,Ou([this.value()],arguments))})}),w}function Qce(){return as._===this&&(as._=Sse),this}function aT(){}function Zce(w){return w=Rt(w),Dt(function(C){return x3(C,w)})}var Jce= $ P(Xn),eue= $ P(BF),tue= $ P(cP);function $ 4(w){return qP(w)?uP(ll(w)):kie(w)}function nue(w){return function(C){return w==null?n:jf(w,C)}}var rue=U3(),sue=U3(!0);function lT(){return[]}function cT(){return!1}function iue(){return{}}function oue(){return""}function aue(){return!0}function lue(w,C){if(w=Rt(w),w<1||w>U)return[];var D=X,O=Es(w,X);C=at(C),w-=X;for(var F=hP(O,C);++D<w;)C(D);return F}function cue(w){return wt(w)?Xn(w,ll):Xi(w)?[w]:gi(s4(cn(w)))}function uue(w){var C=++wse;return cn(w)+C}var due=MS(function(w,C){return w+C},0),fue=FP("ceil"),hue=MS(function(w,C){return w/C},1),pue=FP("floor");function mue(w){return w&&w.length?AS(w,bi,CP):n}function gue(w,C){return w&&w.length?AS(w,at(C,2),CP):n}function vue(w){return VF(w,bi)}function yue(w,C){return VF(w,at(C,2))}function bue(w){return w&&w.length?AS(w,bi,NP):n}function xue(w,C){return w&&w.length?AS(w,at(C,2),NP):n}var wue=MS(function(w,C){return w*C},1),_ue=FP("round"),Sue=MS(function(w,C){return w-C},0);function Cue(w){return w&&w.length?fP(w,bi):0}function Eue(w,C){return w&&w.length?fP(w,at(C,2)):0}return q.after=Gae,q.ary=m4,q.assign=Ole,q.assignIn=P4,q.assignInWith=WS,q.assignWith=Ile,q.at=jle,q.before=g4,q.bi
2024-11-14 19:08:59 +00:00
* table - core
*
* Copyright ( c ) TanStack
*
* 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
2025-01-15 16:26:28 +00:00
* / f u n c t i o n W d ( t , e ) { r e t u r n t y p e o f t = = " f u n c t i o n " ? t ( e ) : t } f u n c t i o n E o ( t , e ) { r e t u r n n = > { e . s e t S t a t e ( r = > ( { . . . r , [ t ] : W d ( n , r [ t ] ) } ) ) } } f u n c t i o n w N ( t ) { r e t u r n t i n s t a n c e o f F u n c t i o n } f u n c t i o n q O e ( t ) { r e t u r n A r r a y . i s A r r a y ( t ) & & t . e v e r y ( e = > t y p e o f e = = " n u m b e r " ) } f u n c t i o n W O e ( t , e ) { c o n s t n = [ ] , r = s = > { s . f o r E a c h ( i = > { n . p u s h ( i ) ; c o n s t o = e ( i ) ; o ! = n u l l & & o . l e n g t h & & r ( o ) } ) } ; r e t u r n r ( t ) , n } f u n c t i o n l t ( t , e , n ) { l e t r = [ ] , s ; r e t u r n i = > { l e t o ; n . k e y & & n . d e b u g & & ( o = D a t e . n o w ( ) ) ; c o n s t a = t ( i ) ; i f ( ! ( a . l e n g t h ! = = r . l e n g t h | | a . s o m e ( ( f , l ) = > r [ l ] ! = = f ) ) ) r e t u r n s ; r = a ; l e t u ; i f ( n . k e y & & n . d e b u g & & ( u = D a t e . n o w ( ) ) , s = e ( . . . a ) , n = = n u l l | | n . o n C h a n g e = = n u l l | | n . o n C h a n g e ( s ) , n . k e y & & n . d e b u g & & n ! = n u l l & & n . d e b u g ( ) ) { c o n s t f = M a t h . r o u n d ( ( D a t e . n o w ( ) - o ) * 1 0 0 ) / 1 0 0 , l = M a t h . r o u n d ( ( D a t e . n o w ( ) - u ) * 1 0 0 ) / 1 0 0 , d = l / 1 6 , p = ( h , m ) = > { f o r ( h = S t r i n g ( h ) ; h . l e n g t h < m ; ) h = " " + h ; r e t u r n h } ; c o n s o l e . i n f o ( ` % c ⏱ $ { p ( l , 5 ) } / $ { p ( f , 5 ) } m s ` , `
2024-11-14 19:08:59 +00:00
font - size : . 6 rem ;
font - weight : bold ;
2025-01-15 16:50:18 +00:00
color : hsl ( $ { Math . max ( 0 , Math . min ( 120 - 120 * d , 120 ) ) } deg 100 % 31 % ) ; ` ,n==null?void 0:n.key)}return s}}function ct(t,e,n,r){return{debug:()=>{var s;return(s=t==null?void 0:t.debugAll)!=null?s:t[e]},key:!1,onChange:r}}function GOe(t,e,n,r){const s=()=>{var o;return(o=i.getValue())!=null?o:t.options.renderFallbackValue},i={id: ` $ { e . id } _$ { n . id } ` ,row:e,column:n,getValue:()=>e.getValue(r),renderValue:s,getContext:lt(()=>[t,n,e,i],(o,a,c,u)=>({table:o,column:a,row:c,cell:u,getValue:u.getValue,renderValue:u.renderValue}),ct(t.options,"debugCells"))};return t._features.forEach(o=>{o.createCell==null||o.createCell(i,n,e,t)},{}),i}function KOe(t,e,n,r){var s,i;const a={...t._getDefaultColumnDef(),...e},c=a.accessorKey;let u=(s=(i=a.id)!=null?i:c?typeof String.prototype.replaceAll=="function"?c.replaceAll(".","_"):c.replace(/ \. /g,"_"):void 0)!=null?s:typeof a.header=="string"?a.header:void 0,f;if(a.accessorFn?f=a.accessorFn:c&&(c.includes(".")?f=d=>{let p=d;for(const m of c.split(".")){var h;p=(h=p)==null?void 0:h[m]}return p}:f=d=>d[a.accessorKey]),!u)throw new Error;let l={id: ` $ { String ( u ) } ` ,accessorFn:f,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:lt(()=>[!0],()=>{var d;return[l,...(d=l.columns)==null?void 0:d.flatMap(p=>p.getFlatColumns())]},ct(t.options,"debugColumns")),getLeafColumns:lt(()=>[t._getOrderColumnsFn()],d=>{var p;if((p=l.columns)!=null&&p.length){let h=l.columns.flatMap(m=>m.getLeafColumns());return d(h)}return[l]},ct(t.options,"debugColumns"))};for(const d of t._features)d.createColumn==null||d.createColumn(l,t);return l}const Ts="debugHeaders";function NU(t,e,n){var r;let i={id:(r=n.id)!=null?r:e.id,column:e,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const o=[],a=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(a),o.push(c)};return a(i),o},getContext:()=>({table:t,header:i,column:e})};return t._features.forEach(o=>{o.createHeader==null||o.createHeader(i,t)}),i}const YOe={createTable:t=>{t.getHeaderGroups=lt(()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,n,r,s)=>{var i,o;const a=(i=r==null?void 0:r.map(l=>n.find(d=>d.id===l)).filter(Boolean))!=null?i:[],c=(o=s==null?void 0:s.map(l=>n.find(d=>d.id===l)).filter(Boolean))!=null?o:[],u=n.filter(l=>!(r!=null&&r.includes(l.id))&&!(s!=null&&s.includes(l.id)));return M1(e,[...a,...u,...c],t)},ct(t.options,Ts)),t.getCenterHeaderGroups=lt(()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,n,r,s)=>(n=n.filter(i=>!(r!=null&&r.includes(i.id))&&!(s!=null&&s.includes(i.id))),M1(e,n,t,"center")),ct(t.options,Ts)),t.getLeftHeaderGroups=lt(()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left],(e,n,r)=>{var s;const i=(s=r==null?void 0:r.map(o=>n.find(a=>a.id===o)).filter(Boolean))!=null?s:[];return M1(e,i,t,"left")},ct(t.options,Ts)),t.getRightHeaderGroups=lt(()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.right],(e,n,r)=>{var s;const i=(s=r==null?void 0:r.map(o=>n.find(a=>a.id===o)).filter(Boolean))!=null?s:[];return M1(e,i,t,"right")},ct(t.options,Ts)),t.getFooterGroups=lt(()=>[t.getHeaderGroups()],e=>[...e].reverse(),ct(t.options,Ts)),t.getLeftFooterGroups=lt(()=>[t.getLeftHeaderGroups()],e=>[...e].reverse(),ct(t.options,Ts)),t.getCenterFooterGroups=lt(()=>[t.getCenterHeaderGroups()],e=>[...e].reverse(),ct(t.options,Ts)),t.getRightFooterGroups=lt(()=>[t.getRightHeaderGroups()],e=>[...e].reverse(),ct(t.options,Ts)),t.getFlatHeaders=lt(()=>[t.getHeaderGroups()],e=>e.map(n=>n.headers).flat(),ct(t.options,Ts)),t.getLeftFlatHeaders=lt(()=>[t.getLeftHeaderGroups()],e=>e.map(n=>n.headers).flat(),ct(t.options,Ts)),t.getCenterFlatHeaders=lt(()=>[t.getCenterHeaderGroups()],e=>e.map(n=>n.headers).flat(),ct(t.options,Ts)),t.getRightFlatHeaders=lt(()=>[t.getRightHeaderGroups()],e=>e.map(n=>n.headers).flat(),ct(t.options,Ts)),t.getCenterLeafHeaders=lt(()=>[t.getCen
2024-11-14 19:08:59 +00:00
* react - table
*
* Copyright ( c ) TanStack
*
* 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
2025-01-15 16:50:18 +00:00
* / f u n c t i o n f d ( t , e ) { r e t u r n t ? I I e ( t ) ? S . c r e a t e E l e m e n t ( t , e ) : t : n u l l } f u n c t i o n I I e ( t ) { r e t u r n j I e ( t ) | | t y p e o f t = = " f u n c t i o n " | | L I e ( t ) } f u n c t i o n j I e ( t ) { r e t u r n t y p e o f t = = " f u n c t i o n " & & ( ( ) = > { c o n s t e = O b j e c t . g e t P r o t o t y p e O f ( t ) ; r e t u r n e . p r o t o t y p e & & e . p r o t o t y p e . i s R e a c t C o m p o n e n t } ) ( ) } f u n c t i o n L I e ( t ) { r e t u r n t y p e o f t = = " o b j e c t " & & t y p e o f t . $ $ t y p e o f = = " s y m b o l " & & [ " r e a c t . m e m o " , " r e a c t . f o r w a r d _ r e f " ] . i n c l u d e s ( t . $ $ t y p e o f . d e s c r i p t i o n ) } f u n c t i o n R J ( t ) { c o n s t e = { s t a t e : { } , o n S t a t e C h a n g e : ( ) = > { } , r e n d e r F a l l b a c k V a l u e : n u l l , . . . t } , [ n ] = S . u s e S t a t e ( ( ) = > ( { c u r r e n t : N I e ( e ) } ) ) , [ r , s ] = S . u s e S t a t e ( ( ) = > n . c u r r e n t . i n i t i a l S t a t e ) ; r e t u r n n . c u r r e n t . s e t O p t i o n s ( i = > ( { . . . i , . . . t , s t a t e : { . . . r , . . . t . s t a t e } , o n S t a t e C h a n g e : o = > { s ( o ) , t . o n S t a t e C h a n g e = = n u l l | | t . o n S t a t e C h a n g e ( o ) } } ) ) , n . c u r r e n t } c o n s t M p = o e . f o r w a r d R e f ( ( { c l a s s N a m e : t , . . . e } , n ) = > b . j s x ( " d i v " , { r e f : n , c l a s s N a m e : i e ( " f l e x i t e m s - c e n t e r g a p - 2 " , t ) , . . . e } ) ) ; M p . d i s p l a y N a m e = " B u t t o n G r o u p " ; c o n s t N J = ( { l a b e l : t = " C a n c e l a r " , . . . e } ) = > b . j s x ( q e , { t y p e : " b u t t o n " , v a r i a n t : " s e c o n d a r y " , . . . e , c h i l d r e n : t } ) ; N J . d i s p l a y N a m e = " C a n c e l B u t t o n " ; c o n s t $ I e = ( { b u t t o n T e x t : t , t i t l e : e = " " , c o n t e n t : n , c l a s s N a m e : r = " " } ) = > b . j s x ( " d i v " , { c l a s s N a m e : ` f l e x i t e m s - b a s e l i n e j u s t i f y - c e n t e r m r - 4 f o n t - m e d i u m $ { r } ` , c h i l d r e n : b . j s x s ( P y , { c h i l d r e n : [ b . j s x ( J L , { a s C h i l d : ! 0 , c h i l d r e n : b . j s x s ( q e , { v a r i a n t : " l i n k " , c l a s s N a m e : " i n l i n e - f l e x i t e m s - c e n t e r f o n t - m e d i u m g r o u p " , c h i l d r e n : [ b . j s x ( " s p a n " , { c l a s s N a m e : " u n d e r l i n e - o f f s e t - 4 g r o u p - h o v e r : u n d e r l i n e " , c h i l d r e n : t } ) , b . j s x ( f q , { c l a s s N a m e : " w - 4 h - 4 m l - 1 t e x t - m u t e d - f o r e g r o u n d " } ) ] } ) } ) , b . j s x s ( q p , { c l a s s N a m e : " s m : m a x - w - [ 4 2 5 p x ] " , c h i l d r e n : [ b . j s x ( W p , { c h i l d r e n : b . j s x ( K p , { c h i l d r e n : e } ) } ) , b . j s x s ( J R , { c l a s s N a m e : " g r i d g a p - 4 p y - 2 " , c h i l d r e n : [ n , b . j s x ( G p , { c h i l d r e n : b . j s x ( _ E , { a s C h i l d : ! 0 , c h i l d r e n : b . j s x ( q e , { t y p e : " b u t t o n " , c h i l d r e n : t e ( " c o m m o n . c l o s e " ) } ) } ) } ) ] } ) ] } ) ] } ) } ) , F I e = d i ( " " , { v a r i a n t s : { s i z e : { d e f a u l t : " w - 4 h - 4 " , s m : " h - 3 . 5 w - 3 . 5 " , l g : " h - 6 w - 6 " , i c o n : " w - 7 h - 7 " } } , d e f a u l t V a r i a n t s : { s i z e : " d e f a u l t " } } ) , P J = o e . f o r w a r d R e f ( ( { c l a s s N a m e : t , l a b e l : e , s i z e : n , i c o n : r , c h i l d r e n : s , . . . i } , o ) = > { c o n s t a = ! ! r ; r e t u r n b . j s x s ( q e , { r e f : o , s i z e : n , c l a s s N a m e : i e ( a ? " g a p - 1 " : " " , t ) , . . . i , c h i l d r e n : [ a & & b . j s x ( r , { c l a s s N a m e : i e ( F I e ( { s i z e : n } ) ) } ) , b . j s x ( b . F r a g m e n t , { c h i l d r e n : e | | s } ) ] } ) } ) ; P J . d i s p l a y N a m e = " C u s t o m B u t t o n " ; c o n s t _ N = ( { l a b e l : t = " E n v i a r " , . . . e } ) = > b . j s x ( P J , { t y p e : " s u b m i t " , l a b e l : t , v a r i a n t : " d e f a u l t " , . . . e } ) ; _ N . d i s p l a y N a m e = " S u b m i t B u t t o n " ; f u n c t i o n z I e ( t ) { l e t r = 0 ; f o r ( l e t f = 0 ; f < t . l e n g t h ; f + + ) r = t . c h a r C o d e A t ( f ) + ( ( r < < 5 ) - r ) ; l e t s = " # " ; f o r ( l e t f = 0 ; f < 3 ; f + + ) { c o n s t l = r > > f * 8 & 2 5 5 ; s + = ( " 0 0 " + l . t o S t r i n g ( 1 6 ) ) . s u b s t r ( - 2 ) } c o n s t i = p a r s e I n t ( s . s u b s t r ( 1 , 2 ) , 1 6 ) , o = p a r s e I n t ( s . s u b s t r ( 3 , 2 ) , 1 6 ) , a = p a r s e I n t ( s . s u b s t r ( 5 , 2 ) , 1 6 ) , c = ` # $ { ( i * . 7 | 0 ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } $ { ( o * . 7 | 0 ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } $ { ( a * . 7 | 0 ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } ` , u = ` # $ { M a t h . m i n ( 2 5 5 , M a t h . f l o o r ( i + ( 2 5 5 - i ) * . 7 ) ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } $ { M a t h . m i n ( 2 5 5 , M a t h . f l o o r ( o + ( 2 5 5 - o ) * . 7 ) ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } $ { M a t h . m i n ( 2 5 5 , M a t h . f l o o r ( a + ( 2 5 5 - a ) * . 7 ) ) . t o S t r i n g ( 1 6 ) . p a d S t a r t ( 2 , " 0 " ) } ` ; r e t u r n [ c , u ] } c o n s t T J = ( { l a b e l : t , c l a s s N a m e : e } ) = > { c o n s t [ n , r ] = z I e ( t ) ; r e t u r n b . j s x ( v R , { c l a s s N a m e : e , s t y l e : e ? { } : { b a c k g r o u n d C o l o r : r , c o l o r : n } , c h i l d r e n : t } ) } , B I e = d i ( " p - 6 " , { v a r i a n t s : { v a r i a n t : { f u l l : " w - f u l l " , b o x e d : " c o n t a i n e r m a x - w - 3 x l l g : m a x - w - 5 x l m x - a u t o " } } , d e f a u l t V a r i a n t s : { v a r i a n t : " f u l l " } } ) , k J = ( { c l a s s N a m e : t , a s : e = " a r t i c l e " , v a r i a n t : n , . . . r } ) = > b . j s x ( e , { c l a s s N a m e : i e ( B I e ( { v a r i a n t : n , c l a s s N a m e : t } ) ) , . . . r } ) ; k J . d i s p l a y N a m e = " C o n t a i n e r " ; c o n s t j $ = ( ) = > { c o n s t t = U s ( ) ; r e t u r n b . j s x s ( q e , { v a r i a n t : " o u t l i n e " , s i z e : " i c o n " , c l a s s N a m e : " h - 7 w - 7 " , o n C l i c k : ( ) = > t ( - 1 ) , c h i l d r e n : [ b . j s x ( r R , { c l a s s N a m e : " w - 4 h - 4 " } ) , b . j s x ( " s p a n " , { c l a s s N a m e : " s r - o n l y " , c h i l d r e n : t e ( " c o m m o n . b a c k " ) } ) ] } ) } ; f u n c t i o n D J ( { t a b l e : t , h e a d e r : e , c l a s s N a m e : n } ) { r e t u r n e . c o l u m n . g e t C a n S o r t ( ) ? b . j s x ( " d i v " , { c l a s s N a m e : i e ( " f l e x i t e m s - c e n t e r s p a c e - x - 2 " , n ) , c h i l d r e n : b . j s x s ( j _ , { c h i l d r e n : [ b . j s x ( L _ , { a s C h i l d : ! 0 , c h i l d r e n : b . j s x s ( q e , { " a r i a - l a b e l " : e . c o l u m n . g e t I s S o r t e d ( ) = = = " d e s c " ? t e ( " c o m m o n . s o r t _ d e s c _ d e s c r i p t i o n " ) : e . c o l u m n . g e t I s S o r t e d ( ) = = = " a s c " ? t e ( " c o m m o n . s o r t _ a s c _ d e s c r i p t i o n " ) : t e ( " s o r t _ n o n e _ d e s c r i p t i o n " ) , s i z e : " s m " , v a r i a n t : " g h o s t " , c l a s s N a m e : " - m l - 3 h - 8 d a t a - [ s t a t e = o p e n ] : b g - a c c e n t f o n t - b o l d t e x t - m u t e d - f o r e g r o u n d " , c h i l d r e n : [ f d ( e . c o l u m n . c o l u m n D e f . h e a d e r , e . g e t C o n t e x t ( ) ) , e . c o l u m n . g e t I s S o r t e d ( ) = = = " d e s c " ? b . j s x ( r B , { c l a s s N a m e : " w - 4 h - 4 m l - 2 " , " a r i a - h i d d e n " : " t r u e " } ) : e . c o l u m
2024-11-14 19:08:59 +00:00
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 .
2025-01-15 16:50:18 +00:00
` },nje={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 rje(t){let{announcements:e=nje,container:n,hiddenTextDescribedById:r,screenReaderInstructions:s=tje}=t;const{announce:i,announcement:o}=ZIe(),a=K_("DndLiveRegion"),[c,u]=S.useState(!1);if(S.useEffect(()=>{u(!0)},[]),JIe(S.useMemo(()=>({onDragStart(l){let{active:d}=l;i(e.onDragStart({active:d}))},onDragMove(l){let{active:d,over:p}=l;e.onDragMove&&i(e.onDragMove({active:d,over:p}))},onDragOver(l){let{active:d,over:p}=l;i(e.onDragOver({active:d,over:p}))},onDragEnd(l){let{active:d,over:p}=l;i(e.onDragEnd({active:d,over:p}))},onDragCancel(l){let{active:d,over:p}=l;i(e.onDragCancel({active:d,over:p}))}}),[i,e])),!c)return null;const f=oe.createElement(oe.Fragment,null,oe.createElement(XIe,{id:r,value:s.draggable}),oe.createElement(QIe,{id:a,announcement:o}));return n?ss.createPortal(f,n):f}var Vr;(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"})(Vr||(Vr={}));function eA(){}function j1(t,e){return S.useMemo(()=>({sensor:t,options:e??{}}),[t,e])}function sje(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return S.useMemo(()=>[...e].filter(r=>r!=null),[...e])}const el=Object.freeze({x:0,y:0});function ije(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function oje(t,e){const n=JE(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 aje(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return n-r}function lje(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return r-n}function cje(t,e){if(!t||t.length===0)return null;const[n]=t;return n[e]}function kU(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 uje=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=kU(e,e.left,e.top),i=[];for(const o of r){const{id:a}=o,c=n.get(a);if(c){const u=ije(kU(c),s);i.push({id:a,data:{droppableContainer:o,value:u}})}}return i.sort(aje)};function dje(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),o=s-r,a=i-n;if(r<s&&n<i){const c=e.width*e.height,u=t.width*t.height,f=o*a,l=f/(c+u-f);return Number(l.toFixed(4))}return 0}const fje=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=[];for(const i of r){const{id:o}=i,a=n.get(o);if(a){const c=dje(a,e);c>0&&s.push({id:o,data:{droppableContainer:i,value:c}})}}return s.sort(lje)};function hje(t,e,n){return{...t,scaleX:e&&n?e.width/n.width:1,scaleY:e&&n?e.height/n.height:1}}function jJ(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:el}function pje(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((o,a)=>({...o,top:o.top+t*a.y,bottom:o.bottom+t*a.y,left:o.left+t*a.x,right:o.right+t*a.x}),{...n})}}const mje=pje(1);function LJ(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 gje(t,e,n){const r=LJ(e);if(!r)return t;const{scaleX:s,scaleY:i,x:o,y:a}=r,c=t.left-o-(1-s)*parseFloat(n),u=t.top-a-(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 t0(t,e){try{const{protocol:n}=e?new URL(t,e):new URL(t);return n==="http:"||n==="https:"}catch{return!1}}function zi(t){t.preventDefault()}function Aee(t){console.log("Deprecated API usage: "+t)}let JU;class Ree{static toDateObject(e){if(!e||typeof e!="string")return null;JU||(JU=new RegExp("^D:( \\ d{4})( \\ d{2})?( \\ d{2})?( \\ d{2})?( \\ d{2})?( \\ d{2})?([Z|+|-])?( \\ d{2})?'?( \\ d{2})?'?"));const n=JU.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 o=parseInt(n[4],10);o=o>=0&&o<=23?o:0;let a=parseInt(n[5],10);a=a>=0&&a<=59?a: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==="-"?(o+=f,a+=l):u==="+"&&(o-=f,a-=l),new Date(Date.UTC(r,s,i,o,a,c))}}function i $ e(t,{scale:e=1,rotation:n=0}){const{width:r,height:s}=t.attributes.style,i=[0,0,parseInt(r),parseInt(s)];return new X_({viewBox:i,scale:e,rotation:n})}function tF(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):(jt( ` Not a valid color format : "${t}" ` ),[0,0,0])}function o $ e(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,tF(r))}e.remove()}function er(t){const{a:e,b:n,c:r,d:s,e:i,f:o}=t.getTransform();return[e,n,r,s,i,o]}function yc(t){const{a:e,b:n,c:r,d:s,e:i,f:o}=t.getTransform().invertSelf();return[e,n,r,s,i,o]}function Op(t,e,n=!1,r=!0){if(e instanceof X_){const{pageWidth:s,pageHeight:i}=e.rawDims,{style:o}=t,a=Oi.isCSSRoundSupported,c= ` var ( -- scale - factor ) * $ { s } px ` ,u= ` var ( -- scale - factor ) * $ { i } px ` ,f=a? ` round ( $ { c } , 1 px ) ` : ` calc ( $ { c } ) ` ,l=a? ` round ( $ { u } , 1 px ) ` : ` calc ( $ { u } ) ` ;!n||e.rotation%180===0?(o.width=f,o.height=l):(o.width=l,o.height=f)}r&&t.setAttribute("data-main-rotation",e.rotation)}var yh,bh,io,xh,yA,Nee,oi,Pee,Tee,xC,kee,HO;const bA=class bA{constructor(e){B(this,oi);B(this,yh,null);B(this,bh,null);B(this,io);B(this,xh,null); $ (this,io,e)}render(){const e= $ (this,yh,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar");const n=R(this,io)._uiManager._signal;e.addEventListener("contextmenu",zi,{signal:n}),e.addEventListener("pointerdown",z(bA,yA,Nee),{signal:n});const r= $ (this,xh,document.createElement("div"));r.className="buttons",e.append(r);const s=R(this,io).toolbarPosition;if(s){const{style:i}=e,o=R(this,io)._uiManager.direction==="ltr"?1-s[0]:s[0];i.insetInlineEnd= ` $ { 100 * o } % ` ,i.top= ` calc ( $ { 100 * s [ 1 ] } % + var ( -- editor - toolbar - vert - offset ) ) ` }return z(this,oi,kee).call(this),e}hide(){var e;R(this,yh).classList.add("hidden"),(e=R(this,bh))==null||e.hideDropdown()}show(){R(this,yh).classList.remove("hidden")}addAltTextButton(e){z(this,oi,xC).call(this,e),R(this,xh).prepend(e,R(this,oi,HO))}addColorPicker(e){ $ (this,bh,e);const n=e.renderButton();z(this,oi,xC).call(this,n),R(this,xh).prepend(n,R(this,oi,HO))}remove(){var e;R(this,yh).remove(),(e=R(this,bh))==null||e.destroy(), $ (this,bh,null)}};yh=new WeakMap,bh=new WeakMap,io=new WeakMap,xh=new WeakMap,yA=new WeakSet,Nee=function(e){e.stopPropagation()},oi=new WeakSet,Pee=function(e){R(this,io)._focusEventsAllowed=!1,e.preventDefault(),e.stopPropagation()},Tee=function(e){R(this,io)._focusEventsAllowed=!0,e.preventDefault(),e.stopPropagation()},xC=function(e){const n=R(this,io)._uiManager._signal;e.addEventListener("focusin",z(this,oi,Pee).bind(this),{capture:!0,signal:n}),e.addEventListener("focusout",z(this,oi,Tee).bind(this),{capture:!0,signal:n}),e.addEventListener("contextmenu",zi,{signal:n})},kee=function(){const e=document.createElement("button");e.className="delete",e.tabIndex=0,e.setAttribute("data-l10n-id", ` pdfjs - editor - remove - $ { R ( this , io ) . editorType } - button ` ),z(this,oi,xC).call(this,e),e.addEventListener("click",n=>{R(
2025-01-15 16:26:28 +00:00
` ))||null;u&&this.data.comb&&(u=u.replaceAll(/ \s +/g,""));const f={userValue:a,formattedValue:u,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=u??a,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",u??a),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),jp.add(r),r.setAttribute("data-element-id",n),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=J_,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 p=this.data.defaultFieldValue??"";r.value=f.userValue=p,f.formattedValue=null});let l=d=>{const{formattedValue:p}=f;p!=null&&(d.target.value=p),d.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",p=>{var m;if(f.focused)return;const{target:h}=p;f.userValue&&(h.value=f.userValue),f.lastCommittedValue=h.value,f.commitKey=1,(m=this.data.actions)!=null&&m.Focus||(f.focused=!0)}),r.addEventListener("updatefromsandbox",p=>{this.showElementAndHideCanvas(p.target);const h={value(m){f.userValue=m.detail.value??"",e.setValue(n,{value:f.userValue.toString()}),m.target.value=f.userValue},formattedValue(m){const{formattedValue:y}=m.detail;f.formattedValue=y,y!=null&&m.target!==document.activeElement&&(m.target.value=y),e.setValue(n,{formattedValue:y})},selRange(m){m.target.setSelectionRange(...m.detail.selRange)},charLimit:m=>{var x;const{charLimit:y}=m.detail,{target:g}=m;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}),(x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:1,selStart:g.selectionStart,selEnd:g.selectionEnd}}))}};this._dispatchEventFromSandbox(h,p)}),r.addEventListener("keydown",p=>{var y;f.commitKey=1;let h=-1;if(p.key==="Escape"?h=0:p.key==="Enter"&&!this.data.multiLine?h=2:p.key==="Tab"&&(f.commitKey=3),h===-1)return;const{value:m}=p.target;f.lastCommittedValue!==m&&(f.lastCommittedValue=m,f.userValue=m,(y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:m,willCommit:!0,commitKey:h,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}}))});const d=l;l=null,r.addEventListener("blur",p=>{var m,y;if(!f.focused||!p.relatedTarget)return;(m=this.data.actions)!=null&&m.Blur||(f.focused=!1);const{value:h}=p.target;f.userValue=h,f.lastCommittedValue!==h&&((y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:h,willCommit:!0,commitKey:f.commitKey,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}})),d(p)}),(i=this.data.actions)!=null&&i.Keystroke&&r.addEventListener("beforeinput",p=>{var A;f.lastCommittedValue=null;const{data:h,target:m}=p,{value:y,selectionStart:g,selectionEnd:v}=m;let x=g,_=v;switch(p.inputType){case"deleteWordBackward":{const N=y.substring(0,g).match(/ \w *[^ \w ]* $ /);N&&(x-=N[0].length);break}case"deleteWordForward":{const N=y.substring(g).match(/^[^ \w ]* \w */);N&&(_+=N[0].length);break}case"deleteContentBackward":g===v&&(x-=1);break;case"deleteContentForward":g===v&&(_+=1);break}p.preventDefault(),(A=this.linkService.eventBus)==null||A.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:y,change:h||"",willCommit:!1,selStart:x,selEnd:_}})}),this._setEventListeners(r,f,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],p=>p.target.value)}if(l&&r.addEventListener("blur",l),this.data.comb){const p=(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},Cte=function(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||(e.key==="Enter"||e.key==="Escape"&&R(this,Uc))&&z(this,Nn,PC).call(this)},Ete=function(){if(R(this,Hc)!==null)return;const{page:{view:e},viewport:{rawDims:{pageWidth:n,pageHeight:r,pageX:s,pageY:i}}}=R(this,_w);let o=!!R(this,bv),a=o?R(this,bv):R(this,Sw);for(const h of R(this,ww))if(!a||Je.intersect(h.data.rect,a)!==null){a=h.data.rect,o=!0;break}const c=Je.normalizeRect([a[0],e[3]-a[1]+e[1],a[2],e[3]-a[3]+e[1]]),f=o?a[2]-a[0]+5:0,l=c[0]+f,d=c[1]; $ (this,Hc,[100*(l-s)/n,100*(d-i)/r]);const{style:p}=R(this,fr);p.left= ` $ { R ( this , Hc ) [ 0 ] } % ` ,p.top= ` $ { R ( this , Hc ) [ 1 ] } % ` },PC=function(){ $ (this,Uc,!R(this,Uc)),R(this,Uc)?(z(this,Nn,TC).call(this),R(this,fr).addEventListener("click",R(this,yv)),R(this,fr).addEventListener("keydown",R(this,vv))):(z(this,Nn,xI).call(this),R(this,fr).removeEventListener("click",R(this,yv)),R(this,fr).removeEventListener("keydown",R(this,vv)))},TC=function(){R(this,ka)||this.render(),this.isVisible?R(this,Uc)&&R(this,fr).classList.add("focused"):(z(this,Nn,Ete).call(this),R(this,fr).hidden=!1,R(this,fr).style.zIndex=parseInt(R(this,fr).style.zIndex)+1e3)},xI=function(){R(this,fr).classList.remove("focused"),!(R(this,Uc)||!this.isVisible)&&(R(this,fr).hidden=!0,R(this,fr).style.zIndex=parseInt(R(this,fr).style.zIndex)-1e3)};class Ate extends Sr{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=Gt.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 Ew;class RFe extends Sr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});B(this,Ew,null)}render(){this.container.classList.add("lineAnnotation");const n=this.data,{width:r,height:s}=du(n.rect),i=this.svgFactory.create(r,s,!0),o= $ (this,Ew,this.svgFactory.createElement("svg:line"));return o.setAttribute("x1",n.rect[2]-n.lineCoordinates[0]),o.setAttribute("y1",n.rect[3]-n.lineCoordinates[1]),o.setAttribute("x2",n.rect[2]-n.lineCoordinates[2]),o.setAttribute("y2",n.rect[3]-n.lineCoordinates[3]),o.setAttribute("stroke-width",n.borderStyle.width||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 R(this,Ew)}addHighlightArea(){this.container.classList.add("highlightArea")}}Ew=new WeakMap;var Aw;class NFe extends Sr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});B(this,Aw,null)}render(){this.container.classList.add("squareAnnotation");const n=this.data,{width:r,height:s}=du(n.rect),i=this.svgFactory.create(r,s,!0),o=n.borderStyle.width,a= $ (this,Aw,this.svgFactory.createElement("svg:rect"));return a.setAttribute("x",o/2),a.setAttribute("y",o/2),a.setAttribute("width",r-o),a.setAttribute("height",s-o),a.setAttribute("stroke-width",o||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 R(this,Aw)}addHighlightArea(){this.container.classList.add("highlightArea")}}Aw=new WeakMap;var Rw;class PFe extends Sr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});B(this,Rw,null)}render(){this.container.classList.add("circleAnnotation");const n=this.data,{width:r,height:s}=du(n.rect),i=this.svgFactory.create(r,s,!0),o=n.borderStyle.width,a= $ (this,Rw,this.svgFactory.createElement("svg:ellipse"));return a.setAttribute("cx",r/2),a.setAttribute("cy",s/2),a.setAttribute("rx",r/2-o/2),a.s
2024-11-14 19:08:59 +00:00
` );if(!i)return;const o=window.getSelection();if(!o.rangeCount)return;this.editorDiv.normalize(),o.deleteFromDocument();const a=o.getRangeAt(0);if(!i.includes( `
2025-01-15 16:26:28 +00:00
` )){a.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),o.collapseToStart();return}const{startContainer:c,startOffset:u}=a,f=[],l=[];if(c.nodeType===Node.TEXT_NODE){const g=c.parentElement;if(l.push(c.nodeValue.slice(u).replaceAll(V1,"")),g!==this.editorDiv){let v=f;for(const x of this.editorDiv.childNodes){if(x===g){v=l;continue}v.push(z(m= $ n,pu,DC).call(m,x))}}f.push(c.nodeValue.slice(0,u).replaceAll(V1,""))}else if(c===this.editorDiv){let g=f,v=0;for(const x of this.editorDiv.childNodes)v++===u&&(g=l),g.push(z(y= $ n,pu,DC).call(y,x))} $ (this,lo, ` $ { f . join ( `
2024-11-14 19:08:59 +00:00
` )} ${ i } ${ l . join ( `
2025-01-15 16:26:28 +00:00
` )} ` ) , z ( this , Tr , MC ) . call ( this ) ; const d = new Range ; let p = 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 ( p <= v ) { d . setStart ( g , p ) , d . setEnd ( g , p ) ; break } p -= v } o . removeAllRanges ( ) , o . addRange ( d ) } get contentDiv ( ) { return this . editorDiv } static deserialize ( n , r , s ) { var a ; let i = null ; if ( n instanceof Ate ) { const { data : { defaultAppearanceData : { fontSize : c , fontColor : u } , rect : f , rotation : l , id : d } , textContent : p , textPosition : h , parent : { page : { pageNumber : m } } } = n ; if ( ! p || p . length === 0 ) return null ; i = n = { annotationType : Gt . FREETEXT , color : Array . from ( u ) , fontSize : c , value : p . join ( `
` ),position:h,pageIndex:m-1,rect:f.slice(0),rotation:l,id:d,deleted:!1}}const o=super.deserialize(n,r,s);return $ (o,co,n.fontSize), $ (o,Da,Je.makeHexColor(...n.color)), $ (o,lo,z(a= $ n,pu,CI).call(a,n.value)),o.annotationElementId=n.id||null, $ (o,wv,i),o}serialize(n=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const r= $ n._internalPadding*this.parentScale,s=this.getRect(r,r),i=yn._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:R(this,Da)),o={annotationType:Gt.FREETEXT,color:i,fontSize:R(this,co),value:z(this,Tr,Ote).call(this),pageIndex:this.pageIndex,rect:s,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return n?o:this.annotationElementId&&!z(this,Tr,Ite).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(n){const r=super.renderAnnotationElement(n);if(this.deleted)return r;const{style:s}=r;s.fontSize= ` calc ( $ { R ( this , co ) } px * var ( -- scale - factor ) ) ` ,s.color=R(this,Da),r.replaceChildren();for(const o of R(this,lo).split( `
` )){const a=document.createElement("div");a.append(o?document.createTextNode(o):document.createElement("br")),r.append(a)}const i= $ n._internalPadding*this.parentScale;return n.updateEdited({rect:this.getRect(i,i),popupContent:R(this,lo)}),r}resetAnnotationElement(n){super.resetAnnotationElement(n),n.resetEdited()}};Mw=new WeakMap,Ow=new WeakMap,Iw=new WeakMap,jw=new WeakMap,Lw=new WeakMap,Da=new WeakMap,lo=new WeakMap, $ w=new WeakMap,co=new WeakMap,wv=new WeakMap,Tr=new WeakSet,kte=function(n){const r=i=>{this.editorDiv.style.fontSize= ` calc ( $ { i } px * var ( -- scale - factor ) ) ` ,this.translate(0,-(i-R(this,co))*this.parentScale), $ (this,co,i),z(this,Tr,kC).call(this)},s=R(this,co);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:vt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},Dte=function(n){const r=i=>{ $ (this,Da,this.editorDiv.style.color=i)},s=R(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:vt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Mte=function(){var r;const n=[];this.editorDiv.normalize();for(const s of this.editorDiv.childNodes)n.push(z(r= $ n,pu,DC).call(r,s));return n.join( `
` )},kC=function(){const[n,r]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:i,div:o}=this,a=o.style.display,c=o.classList.contains("hidden");o.classList.remove("hidden"),o.style.display="hidden",i.div.append(this.div),s=o.getBoundingClientRect(),o.remove(),o.style.display=a,o.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()},pu=new WeakSet,DC=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(V1,"")},MC=function(){if(this.editorDiv.replaceChildren(),!!R(this,lo))for(const n of R(this,lo).split( `
` )){const r=document.createElement("div");r.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(r)}},Ote=function(){return R(this,lo).replaceAll(" "," ")},CI=function(n){return n.replaceAll(" "," ")},Ite=function(n){const{value:r,fontSize:s,color:i,pageIndex:o}=R(this,wv);return this._hasBeenMoved||n.value!==r||n.fontSize!==s||n.color.some((a,c)=>a!==i[c])||n.pageIndex!==o},B( $ n,pu),Te( $ n,"_freeTextDefaultContent",""),Te( $ n,"_internalPadding",0),Te( $ n,"_defaultColor",null),Te( $ n,"_defaultFontSize",10),Te( $ n,"_type","freetext"),Te( $ n,"_editorType",Gt.FREETEXT);let SI= $ n;var Fw,Od,Ma,ai,jte,OC,Lte, $ te,AI;class EI{constructor(e,n=0,r=0,s=!0){B(this,ai);B(this,Fw);B(this,Od,[]);B(this,Ma,[]);let i=1/0,o=-1/0,a=1/0,c=-1/0;const f=10**-4;for(const{x:g,y:v,width:x,height:_}of e){const A=Math.floor((g-n)/f)*f,N=Math.ceil((g+x+n)/f)*f,T=Math.floor((v-n)/f)*f,E=Math.ceil((v+_+n)/f)*f,P=[A,T,E,!0],k=[N,T,E,!1];R(this,Od).push(P,k),i=Math.min(i,A),o=Math.max(o,N),a=Math.min(a,T),c=Math.max(c,E)}const l=o-i+2*r,d=c-a+2*r,p=i-r,h=a-r,m=R(this,Od).at(s?-1:-2),y=[m[0],m[2]];for(const g of R(this,Od)){const[v,x,_]=g;g[0]=(v-p)/l,g[1]=(x-h)/d,g[2]=(_-h)/d} $ (this,Fw,{x:p,y:h,width:l,height:d,lastPoint:y})}getOutlines(){R(this,Od).sort((n,r)=>n[0]-r[0]||n[1]-r[1]||n[2]-r[2]);const e=[];for(const n of R(this,Od))n[3]?(e.push(...z(this,ai,AI).call(this,n)),z(this,ai,Lte).call(this,n)):(z(this,ai, $ te).call(this,n),e.push(...z(this,ai,AI).call(this,n)));return z(this,ai,jte).call(this,e)}}Fw=new WeakMap,Od=new WeakMap,Ma=new WeakMap,ai=new WeakSet,jte=function(e){const n=[],r=new Set;for(const o of e){const[a,c,u]=o;n.push([a,c,o],[a,u,o])}n.sort((o,a)=>o[1]-a[1]||o[0]-a[0]);for(let o=0,a=n.length;o<a;o+=2){const c=n[o][2],u=n[o+1][2];c.push(u),u.push(c),r.add(c),r.add(u)}const s=[];let i;for(;r.size>0;){const o=r.values().next().value;let[a,c,u,f,l]=o;r.delete(o);let d=a,p=c;for(i=[a,u],s.push(i);;){let h;if(r.has(f))h=f;else if(r.has(l))h=l;else break;r.delete(h),[a,c,u,f,l]=h,d!==a&&(i.push(d,p,a,p===c?c:u),d=a),p=p===c?u:c}i.push(d,p)}return new $ Fe(s,R(this,Fw))},OC=function(e){const n=R(this,Ma);let r=0,s=n.length-1;for(;r<=s;){const i=r+s>>1,o=n[i][0];if(o===e)return i;o<e?r=i+1:s=i-1}return s+1},Lte=function([,e,n]){const r=z(this,ai,OC).call(this,e);R(this,Ma).splice(r,0,[e,n])}, $ te=function([,e,n]){const r=z(this,ai,OC).call(this,e);for(let s=r;s<R(this,Ma).length;s++){const[i,o]=R(this,Ma)[s];if(i!==e)break;if(i===e&&o===n){R(this,Ma).splice(s,1);return}}for(let s=r-1;s>=0;s--){const[i,o]=R(this,Ma)[s];if(i!==e)break;if(i===e&&o===n){R(this,Ma).splice(s,1);return}}},AI=function(e){const[n,r,s]=e,i=[[n,r,s]],o=z(this,ai,OC).call(this,s);for(let a=0;a<o;a++){const[c,u]=R(this,Ma)[a];for(let f=0,l=i.length;f<l;f++){const[,d,p]=i[f];if(!(u<=d||p<=c)){if(d>=c){if(p>u)i[f][1]=u;else{if(l===1)return[];i.splice(f,1),f--,l--}continue}i[f][2]=c,p>u&&i.push([n,u,p])}}}return i};class Fte{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 NI}}var zw,_v;class $ Fe extends Fte{constructor(n,r){super();B(this,zw);B(this,_v); $ (this,_v,n), $ (this,zw,r)}toSVGPath(){const n=[];for(const r of R(this,_v)){let[s,i]=r;n.push( ` M$ { s } $ { i } ` );for(let o=2;o<r.length;o+=2){const a=r[o],c=r[o+1];a===s?(n.push( ` V$ { c } ` ),i=c):c===i&&(n.push( ` H$ { a } ` ),s=a)}n.push("Z")}return n.join(" ")}serialize([n,r,s,i],o){const a=[],c=s-n,u=i-r;for(const f of R(this,_v)){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;a.push(l)}return a}get box(){return R(this,zw)}}zw=new WeakMap,_v=new WeakMap;var Cl,qc,Sv,Cv,El,Vt,Yh,Xh,Bw,Uw,Ev,Av,Id,Hw,MA,OA,Vw,RI;const Ec=class Ec{constructor({x:e,y:n},r,s,i,o,a=0){B(this,Vw);B(this,Cl);B(this,qc,[]);B(this,Sv);B(this,Cv);B(this,El,[]);B(this,Vt,new Float64Array(18));B(this,Yh);B(this,Xh);B(this,Bw);B(this,Uw);B(this,Ev);B(this,Av);B(this,Id,[]); $ (this,
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function mze(t,e){if(t){if(typeof t=="string")return IH(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 IH(t,e)}}function IH(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 gze(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,o,a;try{for(n=n.call(t);!(s=(o=n.next()).done)&&(r.push(o.value),!(e&&r.length===e));s=!0);}catch(c){i=!0,a=c}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function vze(t){if(Array.isArray(t))return t}var jH=(0,dze.getSecurePrefix)(),yze=function(){var e={};if(typeof window<"u")for(var n=new uze.default,r=0,s=Object.entries(localStorage);r<s.length;r++){var i=hze(s[r],2),o=i[0],a=i[1];if(o.startsWith(jH)){var c=o.replace(jH,"")[0],u=o.replace(/[.][bjns][.]/,"."),f=n.decrypt(a),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},bze=yze;KN.default=bze;Object.defineProperty(oF,"__esModule",{value:!0});var Go=oF.default=void 0,xze=Fne(tS),wze=Fne(KN),_ze=Ul;function Fne(t){return t&&t.__esModule?t:{default:t}}function Sze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cze(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 Eze(t,e,n){return e&&Cze(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Aze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hA(t){"@babel/helpers - typeof";return hA=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},hA(t)}var HC=(0,_ze.getSecurePrefix)(),Rze=function(e){return hA(e)==="object"?"j":typeof e=="boolean"?"b":typeof e=="number"?"n":"s"},LH=function(e,n){var r=Rze(n);return HC+"".concat(r,".")+e},Nze=function(){function t(){Sze(this,t),Aze(this,"_localStorageItems",{}),this._localStorageItems=(0,wze.default)()}return Eze(t,[{key:"setItem",value:function(n,r){if(r==null)this.removeItem(n);else{var s=hA(r)==="object"?JSON.stringify(r):r+"",i=LH(n,r),o=HC+n;n!=null&&(this._localStorageItems[o]=r);var a=new xze.default;localStorage.setItem(i,a.encrypt(s))}}},{key:"getItem",value:function(n){var r,s=HC+n;return(r=this._localStorageItems[s])!==null&&r!==void 0?r:null}},{key:"removeItem",value:function(n){var r=HC+n,s=this._localStorageItems[r],i=LH(n,s);this._localStorageItems[r]!==void 0&&delete this._localStorageItems[r],localStorage.removeItem(i)}},{key:"clear",value:function(){this._localStorageItems={},localStorage.clear()}}]),t}(),Pze=new Nze,Tze=Pze;Go=oF.default=Tze;const kze={theme:"system",setTheme:()=>null},Dze=S.createContext(kze);function Mze({children:t,defaultTheme:e="system",storageKey:n="vite-ui-theme",...r}){const[s,i]=S.useState(()=>Go.getItem(n)||e);S.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(c);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{Go.setItem(n,a),i(a)}};return b.jsx(Dze.Provider,{...r,value:o,children:t})}const zne=S.createContext(null),Oze=()=>{const t=S.useContext(zne);if(t===null)throw new Error("useWarnAboutChange must be used within a UnsavedWarnProvider");return t},lF=({isDirty:t=!1,title:e=te("hooks.use_unsaved_changes_notifier.title"),subtitle:n=te("hooks.use_unsaved_changes_notifier.subtitle"),confirmText:r=te("hooks.use_unsaved_changes
Hanging rods : CHROME / BLACK \ r
Glass drawer fronts : STRAIGHT / "U" - FLOAT BRONZE C - 424 \ r
Drawer handle : xxxxx / Drawers : 4 DE 180 MM . \ r
Shoe rack door : YES / NO / Profile finish : BLACK LACQUER / SILVER MATTE \ r
Shoe cabinet door glass finish : FLOAT BRONZE C - 424 \ r
2025-01-15 16:50:18 +00:00
Composed of : ` },{id:2000000084,code:"CAP_FRE_ARM_ABATIBLE_EN",title:"CHARACTERISTICS OF THE FRONT OF THE HINGED WARDROBE",body: ` Size of opening : 2275 x1390 mm . \ r
2025-01-15 16:26:28 +00:00
Model : ARGO / Finish : LACQUER / Colour : TO BE DETERMINED \ r
Door thickness : 22 or 19 mm \ r
Door finish : SMOOTH \ r
Handle : KNOB TO BE DETERMINED \ r
Hardware finish : CHROME OR ANTHRACITE \ r
Perimetral doorposts : VISIBLE , REMETED OR COMBI TO BE DETERMINED . \ r
Number of doors : 2 \ r
2025-01-15 16:50:18 +00:00
Composed of : ` },{id:2000000089,code:"CAP_FRE_ARM_CORREDERA_EN",title:"Size of opening: 2440x5180mm. ",body: ` Model : PANORAMIC P . O . / Finish : LACQUER / Colour : WHITE \ r
2025-01-15 16:26:28 +00:00
No . of listers : NO LISTELS / Panels finish : LACQUERED PANEL \ r
Handle : \ r
Perimeter frame : \ r
Nº of doors : \ r
INCORPORATED HYDRAULIC BRAKE ( not available in lower doors of 650 mm . ) OR INCORPORATED MAGNETIC BRAKE . \ r
2025-01-15 16:50:18 +00:00
Composed of : ` },{id:2000000092,code:"CAP_INT_ARM_FORRADO_EN",title:"Finish: MELAMINE / colour: TO BE DETERMINED",body: ` Thickness block : 19 mm / Thickness complements : 19 mm . \ r
2025-01-15 16:26:28 +00:00
Hanging rods : CHROME / BLACK \ r
Glass drawer fronts : STRAIGHT / "U" - FLOAT BRONZE C - 424 \ r
Drawer handle : xxxxx / Drawers : 4 DE 180 MM . \ r
2025-01-15 16:50:18 +00:00
Composed of : ` },{id:2000000109,code:"CAP_INT_EST_CRISTAL_EN",title:"Frames finish: BLACK ANODIZED",body: ` Side frame panel finish : BRONZE FLOAT BRONZE GLASS C - 424 \ r
2025-01-15 16:26:28 +00:00
Rear panel finish : BRONZE FLOAT GLASS C - 424 \ r
Complements finish : MELAMIN / Colour : DENBER OAK M - 242 \ r
Thickness of accessories : 25 mm . \ r
Hanging bars : BLACK \ r
Glass drawer fronts : STRAIGHT / "U" - FLOAT BRONZE C - 424 \ r
Drawer handle : xxxxx / Drawers : 4 DE 180 MM . \ r
2025-01-15 16:50:18 +00:00
Composed of : ` },{id:2000000095,code:"CAP_SEP_AMBIENTES_EN",title:"CHARACTERISTICS SEPARATION OF ROOMS",body: ` Size of opening : 2450 x3000 mm . \ r
2025-01-15 16:26:28 +00:00
Model : LYN / Finish : ANODISED / Colour : BLACK \ r
No . of crosspieces : 2 HORIZONTAL CROSSBARS \ r
Panel finish : TRANSPARENT TEMPLARED \ r
Handle : DOUBLE PER DOOR \ r
Brake : DOUBLE PER DOOR ( OPENING AND CLOSING ) \ r
Guide : VISTA ( DOUBLE EMBELLECEDOR ) \ r
2025-01-15 16:50:18 +00:00
Number of panels : 2 SLIDING + 2 FIXED ` }],es:[{id:54,code:"CAP_CLA_SEMI_SUSPENDIDO_ES",title:"Acabado: MELAMINA / color: A DETERMINAR",body: ` Espesor bloque : 25 mm . / Espesor complementos : 25 mm . \ r
2025-01-15 16:26:28 +00:00
Barras de colgar : CROMO / NEGRA / BRONCE \ r
Frentes cristal cajones : RECTO / “ U ” – FLOAT BRONCE C - 424 \ r
Tirador cajones : FRENTE BAJO / Cajones : 4 DE 180 MM . A DETERMINAR \ r
Baldas deslizantes : X DE 145 MM . A DETERMINAR \ r
2025-01-15 16:50:18 +00:00
Compuesto por : ` },{id:52,code:"CAP_FRE_ARM_ABATIBLE_ES",title:"CARACTERISTICAS FRENTE DE ARMARIO",body: ` Medida de hueco : 2275 x1390 mm . \ r
2025-01-15 16:26:28 +00:00
Modelo : ARGO / Acabado : LACADO / Color : A DETERMINAR \ r
Grosor hoja : 22 o 19 mm \ r
Acabado de hojas : LISAS \ r
Tirador : UÑERO A DETERMINAR \ r
Acabado herrajes : CROMADO O ANTRACITA \ r
Jambas perimetrales : VISTAS , REMETIDAS O COMBI A DETERMINAR . \ r
Nº de hojas : 2 \ r
2025-01-15 16:50:18 +00:00
Compuesto por : ` },{id:51,code:"CAP_FRE_ARM_CORREDERA_ES",title:"CARACTERISTICAS FRENTE DE ARMARIO",body: ` Medida de Hueco : 2440 x5180mm . \ r
2025-01-15 16:26:28 +00:00
Modelo : PANORAMIC P . O . / Acabado : LACADO / Color : BLANCO \ r
Nº de lístelos : SIN LISTELOS / Acabado paneles : PANEL LACADO \ r
Tirador : \ r
Cerco perimetral : \ r
Nº de hojas : \ r
FRENO HIDRAULICO INCORPORADO O FRENO MAGNETICO INCORPORADO \ r
2025-01-15 16:50:18 +00:00
Compuesto por : ` },{id:53,code:"CAP_INT_ARM_FORRADO_ES",title:"CARACTERISTICAS INTERIOR DE ARMARIO",body: ` Acabado : MELAMINA / color : A DETERMINAR \ r
2025-01-15 16:26:28 +00:00
Espesor bloque : 19 mm . / Espesor complementos : 19 mm . \ r
Barras de colgar : CROMO / NEGRA / BRONCE \ r
Frentes cristal cajones : RECTO / “ U ” – FLOAT BRONCE C - 424 \ r
Tirador cajones : FRENTE BAJO / Cajones : 4 DE 180 MM . A DETERMINAR \ r
Baldas deslizantes : X DE 145 MM . A DETERMINAR \ r
2025-01-15 16:50:18 +00:00
Compuesto por : ` },{id:2000000108,code:"CAP_INT_EST_CRISTAL_ES",title:"Acabado bastidores: ANODIZADO NEGRO",body: ` Acabado panel bastidores laterales : CRISTAL TEMPLADO FLOAT BRONCE C - 424 \ r
2025-01-15 16:26:28 +00:00
Acabado trasera : CRISTAL TEMPLADO FLOAT BRONCE C - 424 \ r
Acabado complementos : MELAMINA / Color : ROBLE DENBER M - 242 \ r
Espesor complementos : 25 mm . \ r
Barras de colgar : NEGRA \ r
Frentes cristal cajones : RECTO / “ U ” – FLOAT BRONCE C - 424 \ r
Tirador cajones : xxxxx / Cajones : 4 DE 180 MM . \ r
2025-01-15 16:50:18 +00:00
Compuesto por : ` },{id:50,code:"CAP_SEP_AMBIENTES_ES",title:"CARACTERISTICAS SEPARACIÓN DE AMBIENTES",body: ` Medida de Hueco : 2450 x3000 mm . \ r
2025-01-15 16:26:28 +00:00
Modelo : LYN / Acabado : ANODIZADO / Color : NEGRO \ r
Nº de travesaños : 2 TRAVESAÑOS HORIZONTALES \ r
Acabado paneles : TRANSPARENTE TEMPLADO \ r
Tirador : DOBLE POR PUERTA \ r
Freno : DOBLE POR PUERTA ( APERTURA Y CIERRE ) \ r
Guía : VISTA ( DOBLE EMBELLECEDOR ) \ r
2025-01-15 16:50:18 +00:00
Nº de hojas : 2 CORREDERAS + 2 FIJOS ` }]},FH=({onSelect:t})=>{const{i18n:e}=K $ (),[n]=S.useState(e.language),[r]=S.useState(dBe[n.toLowerCase()]);return b.jsx(JR,{className:"h-96",children:b.jsx("div",{className:"flex flex-col gap-2 p-4 pt-0",children:r.sort((s,i)=>s.title.localeCompare(i.title)).map((s,i)=>b.jsx("button",{className:"flex flex-col items-start gap-2 p-3 text-sm text-left transition-all border rounded-lg hover:bg-accent",onClick:()=>t&&t(s,1),children:b.jsxs("div",{className:"flex flex-col w-full gap-1",children:[b.jsx("div",{className:"flex items-center",children:b.jsx("div",{className:"flex items-center gap-2",children:b.jsx("div",{className:"font-semibold",children:s.title})})}),b.jsx("div",{className:"text-xs line-clamp-2 text-muted-foreground",children:b.jsx("p",{dangerouslySetInnerHTML:{__html:s.body.substring(0,300).replace( ` \ r
` ,"<br>")}})})]})},s.id))})})},fBe=({isOpen:t,onOpenChange:e,onSelect:n})=>Dne("(min-width: 768px)")?b.jsx(Py,{modal:!0,open:t,onOpenChange:e,children:b.jsxs(qp,{className:"w-full max-w-full md:w-9/12 lg:w-10/12",children:[b.jsxs(Wp,{children:[b.jsx(Kp,{children:te("quotes.blocks_picker_dialog.title")}),b.jsx(R_,{children:te("quotes.blocks_picker_dialog.description")})]}),b.jsx(FH,{onSelect:n}),b.jsx(Gp,{children:b.jsx(qe,{type:"submit",onClick:()=>e(!1),children:te("common.close")})})]})}):b.jsx(T2,{open:t,onOpenChange:e,children:b.jsxs(k2,{children:[b.jsxs(D2,{className:"text-left",children:[b.jsx(O2,{children:te("quotes.blocks_picker_dialog.title")}),b.jsx(I2,{children:te("quotes.blocks_picker_dialog.description")})]}),b.jsx(FH,{onSelect:n}),b.jsx(M2,{className:"pt-2",children:b.jsx(aK,{asChild:!0,children:b.jsx(qe,{variant:"outline",children:te("common.close")})})})]})}),hBe=({isOpen:t,onOpenChange:e,onSelect:n})=>Dne("(min-width: 768px)")?b.jsx(Py,{modal:!0,open:t,onOpenChange:e,children:b.jsxs(qp,{className:"w-full max-w-full md:w-9/12 lg:w-10/12",children:[b.jsxs(Wp,{children:[b.jsx(Kp,{children:te("quotes.catalog_picker_dialog.title")}),b.jsx(R_,{children:te("quotes.catalog_picker_dialog.description")})]}),b.jsx(oy,{syncWithLocation:!1,initialPageSize:5,children:b.jsx(ej,{onSelect:n})}),b.jsx(Gp,{children:b.jsx(qe,{type:"submit",onClick:()=>e(!1),children:te("common.close")})})]})}):b.jsx(T2,{open:t,onOpenChange:e,children:b.jsxs(k2,{children:[b.jsxs(D2,{className:"text-left",children:[b.jsx(O2,{children:te("quotes.catalog_picker_dialog.title")}),b.jsx(I2,{children:te("quotes.catalog_picker_dialog.description")})]}),b.jsx(oy,{syncWithLocation:!1,initialPageSize:5,children:b.jsx(ej,{onSelect:n})}),b.jsx(M2,{className:"pt-2",children:b.jsx(aK,{asChild:!0,children:b.jsx(qe,{variant:"outline",children:te("common.close")})})})]})}),pBe=({currency:t,language:e,defaultValues:n})=>{const{toast:r}=nc(),{control:s,register:i}=Vi(),[o]=S.useState("dialog"),[a,c]=S.useState(!1),[u,f]=S.useState(!1),{fields:l,...d}=YAe({control:s,name:"items"}),p=Qze([{id:"description",accessorKey:"description",header:te("quotes.form_fields.items.description.label"),cell:({row:{index:_,original:A}})=>b.jsx(Ua,{readOnly:A==null?void 0:A.id_article,autoSize:!0,...i( ` items . $ { _ } . description ` )}),size:500},{id:"quantity",accessorKey:"quantity",header:()=>b.jsx("div",{className:"text-right",children:te("quotes.form_fields.items.quantity.label")}),cell:({row:{index:_}})=>b.jsx(XLe,{scale:0,className:"text-right",...i( ` items . $ { _ } . quantity ` )})},{id:"unit_price",accessorKey:"unit_price",header:()=>b.jsx("div",{className:"text-right",children:te("quotes.form_fields.items.unit_price.label")}),cell:({row:{index:_}})=>b.jsx(mC,{currency:t,language:e,scale:2,className:"text-right",...i( ` items . $ { _ } . unit _price ` )})},{id:"subtotal_price",accessorKey:"subtotal_price",header:()=>b.jsx("div",{className:"text-right",children:te("quotes.form_fields.items.subtotal_price.label")}),cell:({row:{index:_}})=>b.jsx(mC,{currency:t,language:e,scale:2,readOnly:!0,className:"text-right",...i( ` items . $ { _ } . subtotal _price ` )})},{id:"discount",accessorKey:"discount",header:()=>b.jsx("div",{className:"text-right",children:te("quotes.form_fields.items.discount.label")}),cell:({row:{index:_}})=>b.jsx(rA,{scale:2,className:"text-right",...i( ` items . $ { _ } . discount ` )})},{id:"total_price",accessorKey:"total_price",header:()=>b.jsx("div",{className:"text-right",children:te("quotes.form_fields.items.total_price.label")}),cell:({row:{index:_}})=>b.jsx(mC,{variant:"ghost",currency:t,language:e,scale:2,readOnly:!0,className:"font-semibold text-right",...i( ` items . $ { _ } . total _price ` )})}],{enableDragHandleColumn:!1,enableSelectionColumn:!0,enableActionsColumn:!0,rowActionFn:_=>{const{table:A,row:N}=_;return[{label:te("common.duplicate_row"),icon:b.jsx(pL,{className:"w-4 h-4 mr-2"}),onClick:()=>{var T;return(T=A.options.meta)==null?void 0:T.duplicateItems(N.index)}},{label:te("common.insert_row_above"),icon:b.jsx(uq,{className:"w-4 h-4 mr-2"}),onClick:()=>{var T;return(T=A.options.meta)==null?void 0:T
$ { _ . body } ` }),r({title:te("quotes.blocks_picker_dialog.toast_article_added"),description:_.title})},[d]),[y,g]=S.useState(!1),v=[265,440,655],x=4;return o==="dialog"?b.jsxs("div",{className:"relative",children:[b.jsx( $ H,{actions:{...d,pickCatalogArticle:()=>c(!0),pickBlock:()=>f(!0)},columns:p,data:l,defaultValues:n}),b.jsx(hBe,{onSelect:h,isOpen:a,onOpenChange:c}),b.jsx(fBe,{onSelect:m,isOpen:u,onOpenChange:f})]}):b.jsxs(jPe,{direction:"horizontal",autoSaveId:"uecko.quotes.details_layout",className:"items-stretch h-full",children:[b.jsx(z5,{defaultSize:v[0],collapsedSize:x,collapsible:!0,minSize:50,maxSize:90,onCollapse:()=>{g(!0)},onExpand:()=>{g(!1)},className:ie(y&&"min-w-[50px] transition-all duration-300 ease-in-out"),children:b.jsx( $ H,{actions:d,columns:p,data:l,defaultValues:n})}),b.jsx(LPe,{withHandle:!0,className:"mx-3"}),b.jsx(z5,{defaultSize:v[1],minSize:10,children:b.jsx(oy,{syncWithLocation:!1,children:b.jsx(ej,{onSelect:h})})})]})},mBe=()=>{const{register:t,formState:e}=Vi();return b.jsxs("div",{className:"grid gap-6 md:grid-cols-6",children:[b.jsxs(nA,{className:"md:col-span-6",title:te("quotes.create.form_groups.general.title"),description:te("quotes.create.form_groups.general.desc"),children:[b.jsxs("div",{className:"grid grid-cols-6 gap-6",children:[b.jsx(ah,{required:!0,className:"col-span-2",label:te("quotes.form_fields.customer_reference.label"),description:te("quotes.form_fields.customer_reference.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.customer_reference.placeholder"),...t("customer_reference")}),b.jsx(lee,{required:!0,label:te("quotes.form_fields.date.label"),description:te("quotes.form_fields.date.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.date.placeholder"),...t("date",{required:!0})}),b.jsx(ah,{label:te("quotes.form_fields.validity.label"),description:te("quotes.form_fields.validity.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.validity.placeholder"),...t("validity",{required:!1})}),b.jsx(Ua,{className:"col-span-2",label:te("quotes.form_fields.payment_method.label"),description:te("quotes.form_fields.payment_method.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.payment_method.placeholder"),...t("payment_method",{required:!1})})]}),b.jsxs("div",{className:"grid grid-cols-6 gap-6",children:[b.jsx(Ua,{className:"col-span-3",required:!0,label:te("quotes.form_fields.customer_information.label"),description:te("quotes.form_fields.customer_information.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.customer_information.placeholder"),...t("customer_information",{required:!0}),errors:e.errors}),b.jsx(Ua,{className:"col-span-3",label:te("quotes.form_fields.notes.label"),description:te("quotes.form_fields.notes.desc"),disabled:e.disabled,placeholder:te("quotes.form_fields.notes.placeholder"),...t("notes",{required:!1})})]})]}),b.jsx(nA,{className:"hidden md:col-span-2",title:te("quotes.create.form_groups.status.title"),description:te("quotes.create.form_groups.status.desc"),children:b.jsxs("div",{className:"grid gap-6",children:[b.jsxs("div",{className:"grid gap-3",children:[b.jsx(Qp,{htmlFor:"status",children:"Status"}),b.jsxs(d $ ,{children:[b.jsx(rN,{id:"status","aria-label":"Select status",children:b.jsx(f $ ,{placeholder:"Select status"})}),b.jsxs(sN,{children:[b.jsx(Sg,{value:"draft",children:"Draft"}),b.jsx(Sg,{value:"published",children:"Active"}),b.jsx(Sg,{value:"archived",children:"Archived"})]})]})]}),b.jsx(ah,{required:!0,label:te("quotes.form_fields.lang_code.label"),description:te("quotes.form_fields.lang_code.desc"),placeholder:te("quotes.form_fields.lang_code.placeholder"),...t("lang_code",{required:!0})}),b.jsx(ah,{required:!0,label:te("quotes.form_fields.currency_code.label"),description:te("quotes.form_fields.currency_code.desc"),placeholder:te("quotes.form_fields.currency_code.placeholder"),...t("currency_code",{required:!0})})]})})]})},Xne=({id:t,onSentTo:e,disabled:n})=>{const r=()=>{e(t)};return b.jsxs(PL,{children:[b.jsx(Xge,{asChild:!0,disabled:n,children:b.jsxs(qe,{variant:"ghost",className:"h-10 g
` ).map((Q,ne)=>b.jsxs("span",{className:ne===0?"font-medium":"hidden text-sm text-muted-foreground md:inline",children:[Q,b.jsx("br",{})]},ne))}),size:500}],V=[{id:"row-actions",header:()=>null,cell:({row:{original:U}})=>{const Q=(U==null?void 0:U.status)==="accepted"&&!(U!=null&&U.date_sent),ne=(U==null?void 0:U.status)==="accepted"&&!!(U!=null&&U.date_sent),X=(U==null?void 0:U.status)==="archived";return b.jsxs("div",{className:"flex gap-1",children:[b.jsxs(Mp,{className:"gap-0",children:[b.jsxs(bs,{children:[b.jsx(xs,{asChild:!0,children:b.jsxs(qe,{variant:"ghost",size:"icon",disabled:ne,onClick:G=>{G.preventDefault(),k(U)},children:[b.jsx(vq,{className:"w-4 h-4"}),b.jsx("span",{className:"sr-only",children:"Editar"})]})}),b.jsx(rs,{children:b.jsx("p",{children:"Editar"})})]}),b.jsxs(bs,{children:[b.jsx(xs,{asChild:!0,children:b.jsxs(qe,{variant:"ghost",size:"icon",onClick:G=>{G.preventDefault(),M(U.id)},children:[b.jsx(pL,{className:"w-4 h-4"}),b.jsx("span",{className:"sr-only",children:"Duplicar"})]})}),b.jsx(rs,{children:b.jsx("p",{children:"Duplicar"})})]}),b.jsxs(bs,{children:[b.jsx(xs,{asChild:!0,children:b.jsxs(qe,{variant:"ghost",size:"icon",onClick:()=>{N(U.id,m(U))},children:[b.jsx(hq,{className:"w-4 h-4"}),b.jsx("span",{className:"sr-only",children:"Descargar"})]})}),b.jsx(rs,{children:b.jsx("p",{children:"Descargar"})})]}),b.jsxs(bs,{children:[b.jsx(xs,{asChild:!0,children:b.jsxs(qe,{variant:"ghost",size:"icon",disabled:X||ne,onClick:G=>{G.preventDefault(),I(U.id)},children:[b.jsx(cq,{className:"w-4 h-4"}),b.jsx("span",{className:"sr-only",children:"Archivar"})]})}),b.jsx(rs,{children:b.jsx("p",{children:"Archivar"})})]})]}),b.jsx(Mp,{children:b.jsx(Xne,{id:U.id,onSentTo:()=>null,disabled:ne||!Q})})]})}}];return e?K:[...K,...V]},[e]),{table:H}=qN({data:(v==null?void 0:v.items)??[],columns:L,pageCount:(v==null?void 0:v.total_pages)??-1});return S.useEffect(()=>{H&&v&&(v==null?void 0:v.total_pages)>0&&f(H.getRowModel().rows[0])},[v,H]),_?b.jsx(Ef,{subtitle:A.message}):x?b.jsxs("div",{className:"grid items-start flex-1 gap-4 sm:py-0 md:gap-8 lg:grid-cols-3 xl:grid-cols-3",children:[b.jsx(xr,{className:"grid items-start gap-4 auto-rows-max md:gap-8 lg:col-span-2",children:b.jsx(wr,{children:b.jsx(PN,{columnCount:6,searchableColumnCount:1,filterableColumnCount:2,shrinkZero:!0})})}),b.jsx("div",{})]}):(v==null?void 0:v.total_items)===0&&!c?b.jsx(xr,{children:b.jsx(wr,{children:b.jsx(TN,{subtitle:"Empieza creando alguna cotización",buttonText:te("quotes.create.title"),onButtonClick:()=>n("add",{relative:"path"})})})}):b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"flex flex-col items-stretch flex-1 gap-4 xl:flex-row",children:[b.jsx("div",{id:s,className:"flex items-stretch flex-1",children:b.jsx(SN,{table:H,paginationOptions:{visible:!0},className:"grid items-start flex-1 gap-4 auto-rows-max md:gap-8 lg:col-span-2",onRowClick:E,activeRowIndex:u==null?void 0:u.index,children:b.jsx(Wne,{table:H})})}),e&&b.jsx("div",{id:i,className:"flex items-stretch ",children:b.jsx(yBe,{quoteId:u==null?void 0:u.original.id})})]}),b.jsx(Kne,{...T,onFinishDownload:P})]})},xBe=()=>{const t=Us(),e=nBe(),{toast:n}=nc(),[r,s]=S.useState("general"),[i,o]=S.useState(cu.createDefaultCode().object),[a,c]=S.useState(P0.createDefaultCode().object),{useOne:u,useUpdate:f}=rS(),{data:l,status:d,error:p}=u(e),h=S.useMemo(()=>({date:"",reference:"",customer_reference:"",customer_information:"",lang_code:"",currency_code:"",payment_method:"",notes:"",validity:"",subtotal_price:{amount:void 0,scale:2,currency_code:(l==null?void 0:l.currency_code)??i.code},discount:{amount:void 0,scale:0},discount_price:{amount:void 0,scale:2,currency_code:(l==null?void 0:l.currency_code)??i.code},before_tax_price:{amount:void 0,scale:2,currency_code:(l==null?void 0:l.currency_code)??i.code},tax:{amount:void 0,scale:0},tax_price:{amount:void 0,scale:2,currency_code:(l==null?void 0:l.currency_code)??i.code},total_price:{amount:void 0,scale:2,currency_code:(l==null?void 0:l.currency_code)??i.code},items:[{id_article:"",description:"",quantity:{amount:null,sc
` ).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||e[n]&&M5e[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},qH=Symbol("internals");function $ b(t){return t&&String(t).trim().toLowerCase()}function qC(t){return t===!1||t==null?t:be.isArray(t)?t.map(qC):String(t)}function I5e(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 j5e=t=>/^[-_a-zA-Z0-9^ ` | ~ , ! # $ % & ' * + . ] + $ / . test ( t . trim ( ) ) ; function yD ( t , e , n , r , s ) { if ( be . isFunction ( r ) ) return r . call ( this , e , n ) ; if ( s && ( e = n ) , ! ! be . isString ( e ) ) { if ( be . isString ( r ) ) return e . indexOf ( r ) !== - 1 ; if ( be . isRegExp ( r ) ) return r . test ( e ) } } function L5e ( t ) { return t . trim ( ) . toLowerCase ( ) . replace ( /([a-z\d])(\w*)/g , ( e , n , r ) => n . toUpperCase ( ) + r ) } function $5e ( t , e ) { const n = be . toCamelCase ( " " + e ) ; [ "get" , "set" , "has" ] . forEach ( r => { Object . defineProperty ( t , r + n , { value : function ( s , i , o ) { return this [ r ] . call ( this , e , s , i , o ) } , configurable : ! 0 } ) } ) } class Bi { constructor ( e ) { e && this . set ( e ) } set ( e , n , r ) { const s = this ; function i ( a , c , u ) { const f = $b ( c ) ; if ( ! f ) throw new Error ( "header name must be a non-empty string" ) ; const l = be . findKey ( s , f ) ; ( ! l || s [ l ] === void 0 || u === ! 0 || u === void 0 && s [ l ] !== ! 1 ) && ( s [ l || c ] = qC ( a ) ) } const o = ( a , c ) => be . forEach ( a , ( u , f ) => i ( u , f , c ) ) ; if ( be . isPlainObject ( e ) || e instanceof this . constructor ) o ( e , n ) ; else if ( be . isString ( e ) && ( e = e . trim ( ) ) && ! j5e ( e ) ) o ( O5e ( e ) , n ) ; else if ( be . isHeaders ( e ) ) for ( const [ a , c ] of e . entries ( ) ) i ( c , a , r ) ; else e != null && i ( n , e , r ) ; return this } get ( e , n ) { if ( e = $b ( e ) , e ) { const r = be . findKey ( this , e ) ; if ( r ) { const s = this [ r ] ; if ( ! n ) return s ; if ( n === ! 0 ) return I5e ( s ) ; if ( be . isFunction ( n ) ) return n . call ( this , s , r ) ; if ( be . isRegExp ( n ) ) return n . exec ( s ) ; throw new TypeError ( "parser must be boolean|regexp|function" ) } } } has ( e , n ) { if ( e = $b ( e ) , e ) { const r = be . findKey ( this , e ) ; return ! ! ( r && this [ r ] !== void 0 && ( ! n || yD ( this , this [ r ] , r , n ) ) ) } return ! 1 } delete ( e , n ) { const r = this ; let s = ! 1 ; function i ( o ) { if ( o = $b ( o ) , o ) { const a = be . findKey ( r , o ) ; a && ( ! n || yD ( r , r [ a ] , a , n ) ) && ( delete r [ a ] , s = ! 0 ) } } return be . 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 || yD ( this , this [ i ] , i , e , ! 0 ) ) && ( delete this [ i ] , s = ! 0 ) } return s } normalize ( e ) { const n = this , r = { } ; return be . forEach ( this , ( s , i ) => { const o = be . findKey ( r , i ) ; if ( o ) { n [ o ] = qC ( s ) , delete n [ i ] ; return } const a = e ? L5e ( i ) : String ( i ) . trim ( ) ; a !== i && delete n [ i ] , n [ a ] = qC ( s ) , r [ a ] = ! 0 } ) , this } concat ( ... e ) { return this . constructor . concat ( this , ... e ) } toJSON ( e ) { const n = Object . create ( null ) ; return be . forEach ( this , ( r , s ) => { r != null && r !== ! 1 && ( n [ s ] = e && be . 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[qH]=this[qH]={accessors:{}}).accessors,s=this.prototype;function i(o){const a= $ b(o);r[a]||( $ 5e(s,o),r[a]=!0)}return be.isArray(e)?e.forEach(i):i(e),this}}Bi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(Bi.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});be.freezeMethods(Bi);function bD(t,e){const n=this||iS,r=e||n,s=Bi.from(r.headers);let i=r.data;return be.forEach(t,function(a){i=a.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function hre(t){return!!(t&&t.__CANCEL__)}function Ky(t,e,n){Et.call(this,t??"canceled",Et.ERR_CANCELED,e,n),this.name="CanceledError"}be.inherits(Ky,Et,{__CANCEL__:!0});function pre(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Et("Request failed with status code "+n.status,[Et.ERR_BAD_REQUEST,Et.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function F5e(t){const e=/^([-+ \w ]{1,25})(:? \/ \/ |:)/.exec(t);return e&&e[1]||""}function z5e(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,o;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),f=r[i];o||(o=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-o<e)return;const p=f&&u-f;return p?Math.round(d*1e3/p):void 0}}function B5e(t,e){let n=0,r=1e3/e,s,i;const o=(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?o(u,f):(s=u,i||(i=setTimeout(()=>{i=null,o(s)},r-l)))},()=>s&&o(s)]}const pA=(t,e,n=3)=>{let r=0;const s=z5e(50,250);return B5e(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,c=o-r,u=s(c),f=o<=a;r=o;const l={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&f?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(l)},n)},WH=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},GH=t=>(...e)=>be.asap(()=>t(...e)),U5e=Ga.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/: $ /,""):"",host:n.host,search:n.search?n.search.replace(/^ \? /,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){const a=be.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),H5e=Ga.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const o=[t+"="+encodeURIComponent(e)];be.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),be.isString(r)&&o.push("path="+r),be.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.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 V5e(t){return/^([a-z][a-z \d + \- .]*:)? \/ \/ /i.test(t)}function q5e(t,e){return e?t.replace(/ \/ ? \/ $ /,"")+"/"+e.replace(/^ \/ +/,""):t}function mre(t,e){return t&&!V5e(e)?q5e(t,e):e}const KH=t=>t instanceof Bi?{...t}:t;function $ p(t,e){e=e||{};const n={};function r(u,f,l){return be.isPlainObject(u)&&be.isPlainObject(f)?be.merge.call({caseless:l},u,f):be.isPlainObject(f)?be.merge({},f):be.isArray(f)?f.slice():f}function s(u,f,l){if(be.isUndefined(f)){if(!be.isUndefined(u))return r(void 0,u,l)}else return r(u,f,l)}function i(u,f){if(!be.isUndefined(f))return r(void 0,f)}function o(u,f){if(be.isUndefined(f)){if(!be.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function a(u,f,l){if(l in e)return r(u,f);if(l in t)r
2025-01-15 16:26:28 +00:00
` +i.map(QH).join( `
2025-01-15 16:50:18 +00:00
` ):" "+QH(i[0]):"as no adapter specified";throw new Et("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:ij};function xD(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ky(null,t)}function ZH(t){return xD(t),t.headers=Bi.from(t.headers),t.data=bD.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),bre.getAdapter(t.adapter||iS.adapter)(t).then(function(r){return xD(t),r.data=bD.call(t,t.transformResponse,r),r.headers=Bi.from(r.headers),r},function(r){return hre(r)||(xD(t),r&&r.response&&(r.response.data=bD.call(t,t.transformResponse,r.response),r.response.headers=Bi.from(r.response.headers))),Promise.reject(r)})}const xre="1.7.3",mF={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{mF[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const JH={};mF.transitional=function(e,n,r){function s(i,o){return"[Axios v"+xre+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(e===!1)throw new Et(s(o," has been removed"+(n?" in "+n:"")),Et.ERR_DEPRECATED);return n&&!JH[o]&&(JH[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};function nUe(t,e,n){if(typeof t!="object")throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],o=e[i];if(o){const a=t[i],c=a===void 0||o(a,i,t);if(c!==!0)throw new Et("option "+i+" must be "+c,Et.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Et("Unknown option "+i,Et.ERR_BAD_OPTION)}}const oj={assertOptions:nUe,validators:mF},Gu=oj.validators;class gp{constructor(e){this.defaults=e,this.interceptors={request:new VH,response:new VH}}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= $ p(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&oj.assertOptions(r,{silentJSONParsing:Gu.transitional(Gu.boolean),forcedJSONParsing:Gu.transitional(Gu.boolean),clarifyTimeoutError:Gu.transitional(Gu.boolean)},!1),s!=null&&(be.isFunction(s)?n.paramsSerializer={serialize:s}:oj.assertOptions(s,{encode:Gu.function,serialize:Gu.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&be.merge(i.common,i[n.method]);i&&be.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Bi.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(c=c&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let f,l=0,d;if(!c){const h=[ZH.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),d=h.length,f=Promise.resolve(n);l<d;)f=f.then(h[l++],h[l++]);return f}d=a.length;let p=n;for(l=0;l<d;){const h=a[l++],m=a[l++];try{p=h(p)}catch(y){m.call(this,y);break}}try{f=ZH.call(this,p)}catch(h){return Promise.reject(h)}for(l=0,d=u.length;l<d;)f=f.then(u[l++],u[l++]);return f}getUri(e){e= $ p(this.defaults,e);const n=mre(e.baseURL,e.url);return ure(n,e.params,e.paramsSerializer)}}be.forEach(["delete","get","head","options"],function(e){gp.prototype[e]=function(n,r){return this.request( $ p(r||{},{method:e,url:n,data:(r||{}).data}))}});be.forEach(["post","put","patch"],function(e){function n(r){return function(i,o,a){return this.request( $ p(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}gp.prototype[e]=n(),gp.prototype[e+"Form"]=n(!0)});class gF{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 o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,a){r.reason||(r.reason=new Ky(i,o,a),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)}static source(){let e;return{token:new gF(function(s){e=s}),cancel:e}}}function rUe(t){return function(n){return t.apply(null,n)}}function sUe(t){return be.isObject(t)&&t.isAxiosError===!0}const aj={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,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(aj).forEach(([t,e])=>{aj[e]=t});function wre(t){const e=new gp(t),n=Zne(gp.prototype.request,e);return be
2025-01-15 16:26:28 +00:00
If you continue , you will lose the changes . ` ,confirm_text:"Continue",cancel_text:"Cancel"}},main_menu:{home:"Home",settings:"Settings",dealers:"Dealers",catalog:"Catalog",quotes:"Quotes",orders:"Orders",search_placeholder:"Type here for search quotes and articles",user:{user_menu:"User menu",my_account:"My account",profile:"Profile",settings:"Settings",support:"Support",logout:"Logout"},logout_dialog:{title:"Confirm",description:"Are you sure you want to log out?",confirm_label:"Log out",cancel_label:"Cancel"}},login_page:{title:"Partner intranet",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",columns:{description:"Description",points:"Points",retail_price:"Retail price",quantity:"quantity"}}},quotes:{list:{title:"Quotes",subtitle:"",tabs_title:"Status",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:"Imp. total",actions:{edit:"Edit quote",sent_to:"Send to Uecko"}},resume:{title:"Quote",download_quote:"Download quote",tabs:{resume:"Resume",preview:"Preview"},quote_information:"Quote Information",customer_information:"Customer Information",payment_information:"Payment Information",price_information:"Quote totals"}},create:{title:"New quote",tabs:{general:"General data",items:"Quote items",preview:"Quote preview",documents:"Documents",history:"History"},form_groups:{general:{title:"General Data",desc:"General data and quote customer"},status:{title:"Status",desc:"Quote status"},items:{title:"Quote Items",desc:"Quote detail lines. Use the catalog to make it easier to fill in the content."},documents:{title:"Attached Documents",desc:"Attach documents such as photos, drawings, sketches, etc. to your quotation."},history:{title:"History",desc:"Quote history"}},edit:{title:"Quote"}},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",value_label:"Elapsed time in seconds {{elapsed}}"},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 complete your quote, you can default text blocks.",toast_article_added:"Text block added:"},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."},accepted:{title:"Accepted",description:"The customer has approved the quote."},rejected:{title:"Rejected",description:"The customer has not accepted the quotation."},archived:{title:"Archived",description:"The quote is archived."}},submit_button:"Change status",toast_status_changed:"Quote status changed to: {{newStatus}}"},status:{draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},form_fields:{date:{label:"Date",desc:"Quote's date",placeholder:""},reference:{label:"Reference",desc:"Quote reference",placeholder:""},status:{label:"Status",desc:"Quote status",placeholder:""},lang_code:{lab
2024-11-14 19:08:59 +00:00
Street and number
2025-01-15 16:50:18 +00:00
zip code and city or state ... ` },payment_method:{label:"Payment method",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 price",placeholder:"",desc:"Percentage discount price"},before_tax_price:{label:"Before tax price",placeholder:"",desc:"Before tax price"},tax:{label:"Tax (%)",placeholder:"",desc:"Percentage Tax"},tax_value:{label:"Tax ({{value}}%)",placeholder:"",desc:"Percentage Tax"},tax_price:{label:"Tax price",placeholder:"",desc:"Percentage tax price"},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:"Dto (%)",placeholder:"",desc:"Percentage discount"},total_price:{label:"Total price",placeholder:"",desc:"Total price with percentage discount"}}}},settings:{edit:{title:"Settings",subtitle:"",tabs:{profile:"Profile settings",quotes:"Quote settings",legal:"Legal settings"}},form_fields:{image:{label:"Logotype",placeholder:"",desc:""},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_legal_terms:{label:"Legal terms",placeholder:"",desc:"Legal information to be included at the end of your 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"}}}},DUe={translation:kUe},MUe={common:{required:"obligatorio",cancel:"Cancelar",no:"No",yes:"Sí",save:"Guardar",save_close:"Guardar y Cerrar",accept:"Aceptar",discard:"Descartar",hide:"Ocultar",back:"Volver",upload:"Cargar",continue:"Continuar",close:"Cerrar",more:"More",add:"Añadir",sort_asc:"Asc",sort_asc_description:"En order ascendente. Click para ordenar descendentemente.",sort_desc:"Desc",sort_desc_description:"En orden descendente. Click para ordenar ascendentemente.",sort_none_description:"Sin orden. Click para ordenar ascendentemente.",rows_selected:"{{count}} fila(s) seleccionadas.",rows_selected_of_total:"{{count}} de {{total}} fila(s) seleccionadas.",rows_per_page:"Filas por página",num_page_of_total:"Página {{count}} de {{total}}",go_to_first_page:"Ir a la primera página",go_to_prev_page:"Ir a la página anterior",go_to_next_page:"Ir a la página siguiente",go_to_last_page:"Ir a la última página",error:"Error",actions:"Acciones",open_menu:"Abrir el menú",duplicate_row:"Duplicar",duplicate_selected_rows:"Duplicar",duplicate_selected_rows_tooltip:"Duplica las fila(s) seleccionadas(s)",append_empty_row:"Añadir fila",append_empty_row_tooltip:"Añadir una fila vacía",append_article:"Añadir artículo",append_article_tooltip:"Elegir un artículo del catálogo y añadirlo",append_block:"Añadir bloque de texto",append_block_tooltip:"Elegir un bloque de texto y añadirlo",remove_row:"Eliminar",remove_selected_rows:"Eliminar",remove_selected_rows_tooltip:"Elimina las fila(s) seleccionadas(s)",reset_selected_rows:"Quitar selection",reset_selected_rows_tooltip:"Dejar de seleccionar la(s) fila(s)",insert_row_above:"Insertar fila encima",insert_row_below:"Insertar fila debajo",pick_date:"Elige una fecha",required_field:"Este campo es obligatorio",unsaved_changes_prompt:"Los últimos cambios no se h
2025-01-15 16:26:28 +00:00
Si continúa , perderá los cambios . ` ,confirm_text:"Continuar",cancel_text:"No continuar"}},main_menu:{home:"Inicio",settings:"Ajustes",dealers:"Distribuidores",catalog:"Catálogo",quotes:"Cotizaciones",orders:"Pedidos",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",columns:{description:"Descripción",points:"Puntos",retail_price:"PVP",quantity:"Cantidad"}}},quotes:{list:{title:"Cotizaciones",subtitle:"",tabs_title:"Estados",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",actions:{edit:"Editar",sent_to:"Enviar a Uecko"}},resume:{title:"Cotización",download_quote:"Descargar",tabs:{resume:"Resumen",preview:"Previsualización"},quote_information:"Información",customer_information:"Cliente",payment_information:"Pago",price_information:"Importes"}},create:{title:"Nueva cotización",tabs:{general:"Datos generales",items:"Contenido",preview:"Vista previa",documents:"Documentos",history:"Historial"},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"},items:{title:"Contenido de la cotización",desc:"Líneas de detalle de la cotización. Ayúdese del catálogo para rellenar más fácilmente el contenido."},documents:{title:"Documentos",desc:"Añada adjuntar con su cotización documentos como fotos, planos, croquis, etc."},history:{title:"Historial",desc:"Historial de la cotización"}},edit:{title:"Cotización"}},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",value_label:"Elapsed time in seconds {{elapsed}}"},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.",submit_button:"Enviar",toast_status_changed:"Cotización enviada a Uecko"},quote_status_editor:{trigger_button:"Cambiar el estado",title:"Cambiar el estado de la cotización",status:{draft:{title:"Borrador",description:"La cotización está en fase inicial de creación."},ready:{title:"Preparado",description:"La cotización está completo y listo para ser entregado al cliente."},delivered:{title:"Entregado",description:"La cotización ha sido enviado al cliente y se espera su respuesta."},accepted:{title:"Aceptado",description:"
2024-11-14 19:08:59 +00:00
Calle y número
2025-01-15 16:50:18 +00:00
Código postal y ciudad ... ` },payment_method:{label:"Forma de pago",placeholder:"placeholder",desc:"desc"},notes:{label:"Notas",placeholder:"",desc:"desc"},validity:{label:"Validez de la cotización",placeholder:"",desc:"desc"},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:"IVA (%)",placeholder:"",desc:"Porcentaje de IVA"},tax_value:{label:"IVA ({{value}}%)",placeholder:"",desc:"Porcentaje de IVA"},tax_price:{label:"Imp. descuento",placeholder:"",desc:"Importe del descuento"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},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",subtitle:"",tabs:{profile:"Ajustes de perfil",quotes:"Ajustes legales",legal:"Ajustes para cotizaciones"}},form_fields:{logo:{label:"Logotipo",placeholder:"",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:"IVA por defecto (%)",placeholder:"",desc:"Porcentaje de IVA por defecto en las cotizaciones"},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"}}},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."},form_fields:{}}},OUe={translation:MUe};Cs.use(Ere).use(_2e).init({detection:{order:["navigator"]},debug:!1,fallbackLng:"es",interpolation:{escapeValue:!1},resources:{ca:TUe,en:DUe,es:OUe}});function IUe(){const t=new vhe({defaultOptions:{queries:{retry:!1,staleTime:1e4}}});return b.jsx(A2e,{i18n:Cs,children:b.jsx(_he,{client:t,children:b.jsx(BOe,{dataSource:dUe("https://presupuestos.uecko.com:13001/api/v1"),children:b.jsx(the,{authActions:uUe("https://presupuestos.uecko.com:13001/api/v1"),children:b.jsxs(Mze,{defaultTheme:"light",storageKey:"vite-ui-theme",children:[b.jsx(jZ,{delayDuration:0,children:b.jsx(Bne,{children:b.jsx(S.Suspense,{fallback:b.jsx(Xl,{}),children:b.jsx(kBe,{})})})}),b.jsx(mZ,{}),b.jsx(w4e,{}),b.jsx(Ize,{initialIsOpen:!1})]})})})})})}wD.createRoot(document.getElementById("uecko")).render(b.jsx(oe.StrictMode,{children:b.jsx(IUe,{})}));