@@ -1,60 +1,60 @@
function D1 ( e , t ) { for ( var r = 0 ; r < t . length ; r ++ ) { const a = t [ r ] ; if ( typeof a != "string" && ! Array . isArray ( a ) ) { for ( const o in a ) if ( o !== "default" && ! ( o in e ) ) { const s = Object . getOwnPropertyDescriptor ( a , o ) ; s && Object . defineProperty ( e , o , s . get ? s : { enumerable : ! 0 , get : ( ) => a [ o ] } ) } } } return Object . freeze ( Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) ) } ( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const o of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) a ( o ) ; new MutationObserver ( o => { for ( const s of o ) if ( s . type === "childList" ) for ( const u of s . addedNodes ) u . tagName === "LINK" && u . rel === "modulepreload" && a ( u ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function r ( o ) { const s = { } ; return o . integrity && ( s . integrity = o . integrity ) , o . referrerPolicy && ( s . referrerPolicy = o . referrerPolicy ) , o . crossOrigin === "use-credentials" ? s . credentials = "include" : o . crossOrigin === "anonymous" ? s . credentials = "omit" : s . credentials = "same-origin" , s } function a ( o ) { if ( o . ep ) return ; o . ep = ! 0 ; const s = r ( o ) ; fetch ( o . href , s ) } } ) ( ) ; function Xu ( e ) { return e && e . _ _esModule && Object . prototype . hasOwnProperty . call ( e , "default" ) ? e . default : e } var rf = { exports : { } } , al = { } ; var CT ; function M1 ( ) { if ( CT ) return al ; CT = 1 ; var e = Symbol . for ( "react.transitional.element" ) , t = Symbol . for ( "react.fragment" ) ; function r ( a , o , s ) { var u = null ; if ( s !== void 0 && ( u = "" + s ) , o . key !== void 0 && ( u = "" + o . key ) , "key" in o ) { s = { } ; for ( var d in o ) d !== "key" && ( s [ d ] = o [ d ] ) } else s = o ; return o = s . ref , { $$typeof : e , type : a , key : u , ref : o !== void 0 ? o : null , props : s } } return al . Fragment = t , al . jsx = r , al . jsxs = r , al } var OT ; function j1 ( ) { return OT || ( OT = 1 , rf . exports = M1 ( ) ) , rf . exports } var g = j1 ( ) , af = { exports : { } } , Ne = { } ; var IT ; function U1 ( ) { if ( IT ) return Ne ; IT = 1 ; var e = Symbol . for ( "react.transitional.element" ) , t = Symbol . for ( "react.portal" ) , r = Symbol . for ( "react.fragment" ) , a = Symbol . for ( "react.strict_mode" ) , o = Symbol . for ( "react.profiler" ) , s = Symbol . for ( "react.consumer" ) , u = Symbol . for ( "react.context" ) , d = Symbol . for ( "react.forward_ref" ) , p = Symbol . for ( "react.suspense" ) , f = Symbol . for ( "react.memo" ) , h = Symbol . for ( "react.lazy" ) , b = Symbol . for ( "react.activity" ) , v = Symbol . iterator ; function E ( j ) { return j === null || typeof j != "object" ? null : ( j = v && j [ v ] || j [ "@@iterator" ] , typeof j == "function" ? j : null ) } var w = { isMounted : function ( ) { return ! 1 } , enqueueForceUpdate : function ( ) { } , enqueueReplaceState : function ( ) { } , enqueueSetState : function ( ) { } } , T = Object . assign , k = { } ; function A ( j , Q , I ) { this . props = j , this . context = Q , this . refs = k , this . updater = I || w } A . prototype . isReactComponent = { } , A . prototype . setState = function ( j , Q ) { if ( typeof j != "object" && typeof j != "function" && j != null ) throw Error ( "takes an object of state variables to update or a function which returns an object of state variables." ) ; this . updater . enqueueSetState ( this , j , Q , "setState" ) } , A . prototype . forceUpdate = function ( j ) { this . updater . enqueueForceUpdate ( this , j , "forceUpdate" ) } ; function _ ( ) { } _ . prototype = A . prototype ; function R ( j , Q , I ) { this . props = j , this . context = Q , this . refs = k , this . updater = I || w } var L = R . prototype = new _ ; L . constructor = R , T ( L , A . prototype ) , L . isPureReactComponent = ! 0 ; var z = Array . isArray ; function D ( ) { } var U = { H : null , A : null , T : null , S : null } , P = Object . prototype . hasOwnProperty ; function X ( j , Q , I ) { var ue = I . ref ; return { $$typeof : e , type : j , key : Q , ref : ue !== void 0 ? ue : null , props : I } } function M ( j , Q ) { return X ( j . type , Q , j . props ) } function H ( j ) { return typeof j == "object" && j !== null && j . $$typeof === e } function W ( j ) { var Q = { "=" : "=0" , ":" : "=2" } ; return "$" + j . replace ( /[=:]/g , function ( I ) { return Q [ I ] } ) } var re = /\/+/g ; function ee ( j , Q ) { return typeof j == "object" && j !== null && j . key != null ? W ( "" + j . key ) : Q . toString ( 36 ) } function Z ( j ) { switch ( j . status ) { case "fulfilled" : return j . value ; case "rejected" : throw j . reason ; default : switch ( typeof j . status == "string" ? j . then ( D , D ) : ( j . status = "pending" , j . then ( function ( Q ) { j . status === "pending" && ( j . status = "fulfilled" , j . value = Q ) } , function ( Q ) { j . status === "pending" && ( j . status = "rejected" , j . reason = Q ) } ) ) , j . status ) { case "fulfilled" : return j . value ; case "rejected" : throw j . reason } } throw j } function B ( j , Q , I , ue , fe ) { var de = typeof j ; ( de === "undefined" || de === "boolean" ) && ( j = null ) ; var le = ! 1 ; if ( j === null ) le = ! 0 ; else switch ( de ) { case "bigint" : case "string" : case "number" : le = ! 0 ; break ; case "object" : switch ( j . $$typeof ) { case e : case t : le = ! 0 ; break ; case h : return le = j . _init , B ( le ( j . _payload ) , Q , I , ue , fe ) } } if ( le ) return fe = fe ( j ) , le = ue === "" ? "." + ee ( j , 0 ) : ue , z ( fe ) ? ( I = "" , le != null && ( I = le . replace ( re , "$&/" ) + "/" ) , B ( fe , Q , I , "" , function ( Re ) { return Re } ) ) : fe != null && ( H ( fe ) && ( fe = M ( fe , I + ( fe . key == null || j && j . key === fe . key ? "" : ( "" + fe . key ) . replace ( re , "$&/" ) + "/" ) + le ) ) , Q . push ( fe ) ) , 1 ; le = 0 ; var we = ue === "" ? "." : ue + ":" ; if ( z ( j ) ) for ( var me = 0 ; me < j . length ; me ++ ) ue = j [ me ] , de = we + ee ( ue , me ) , le += B ( ue , Q , I , de , fe ) ; else if ( me = E ( j ) , typeof me == "function" ) for ( j = me . call ( j ) , me = 0 ; ! ( ue = j . next ( ) ) . done ; ) ue = ue . value , de = we + ee ( ue , me ++ ) , le += B ( ue , Q , I , de , fe ) ; else if ( de === "object" ) { if ( typeof j . then == "function" ) return B ( Z ( j ) , Q , I , ue , fe ) ; throw Q = String ( j ) , Error ( "Objects are not valid as a React child (found: " + ( Q === "[object Object]" ? "object with keys {" + Object . keys ( j ) . join ( ", " ) + "}" : Q ) + " ) . If you meant to render a collection of children , use an Line truncated
function M1 ( e , t ) { for ( var r = 0 ; r < t . length ; r ++ ) { const a = t [ r ] ; if ( typeof a != "string" && ! Array . isArray ( a ) ) { for ( const o in a ) if ( o !== "default" && ! ( o in e ) ) { const s = Object . getOwnPropertyDescriptor ( a , o ) ; s && Object . defineProperty ( e , o , s . get ? s : { enumerable : ! 0 , get : ( ) => a [ o ] } ) } } } return Object . freeze ( Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) ) } ( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const o of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) a ( o ) ; new MutationObserver ( o => { for ( const s of o ) if ( s . type === "childList" ) for ( const u of s . addedNodes ) u . tagName === "LINK" && u . rel === "modulepreload" && a ( u ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function r ( o ) { const s = { } ; return o . integrity && ( s . integrity = o . integrity ) , o . referrerPolicy && ( s . referrerPolicy = o . referrerPolicy ) , o . crossOrigin === "use-credentials" ? s . credentials = "include" : o . crossOrigin === "anonymous" ? s . credentials = "omit" : s . credentials = "same-origin" , s } function a ( o ) { if ( o . ep ) return ; o . ep = ! 0 ; const s = r ( o ) ; fetch ( o . href , s ) } } ) ( ) ; function Zu ( e ) { return e && e . _ _esModule && Object . prototype . hasOwnProperty . call ( e , "default" ) ? e . default : e } var af = { exports : { } } , al = { } ; var OT ; function j1 ( ) { if ( OT ) return al ; OT = 1 ; var e = Symbol . for ( "react.transitional.element" ) , t = Symbol . for ( "react.fragment" ) ; function r ( a , o , s ) { var u = null ; if ( s !== void 0 && ( u = "" + s ) , o . key !== void 0 && ( u = "" + o . key ) , "key" in o ) { s = { } ; for ( var d in o ) d !== "key" && ( s [ d ] = o [ d ] ) } else s = o ; return o = s . ref , { $$typeof : e , type : a , key : u , ref : o !== void 0 ? o : null , props : s } } return al . Fragment = t , al . jsx = r , al . jsxs = r , al } var IT ; function U1 ( ) { return IT || ( IT = 1 , af . exports = j1 ( ) ) , af . exports } var g = U1 ( ) , of = { exports : { } } , Ne = { } ; var LT ; function F1 ( ) { if ( LT ) return Ne ; LT = 1 ; var e = Symbol . for ( "react.transitional.element" ) , t = Symbol . for ( "react.portal" ) , r = Symbol . for ( "react.fragment" ) , a = Symbol . for ( "react.strict_mode" ) , o = Symbol . for ( "react.profiler" ) , s = Symbol . for ( "react.consumer" ) , u = Symbol . for ( "react.context" ) , d = Symbol . for ( "react.forward_ref" ) , p = Symbol . for ( "react.suspense" ) , f = Symbol . for ( "react.memo" ) , h = Symbol . for ( "react.lazy" ) , b = Symbol . for ( "react.activity" ) , v = Symbol . iterator ; function E ( j ) { return j === null || typeof j != "object" ? null : ( j = v && j [ v ] || j [ "@@iterator" ] , typeof j == "function" ? j : null ) } var w = { isMounted : function ( ) { return ! 1 } , enqueueForceUpdate : function ( ) { } , enqueueReplaceState : function ( ) { } , enqueueSetState : function ( ) { } } , T = Object . assign , k = { } ; function A ( j , Q , I ) { this . props = j , this . context = Q , this . refs = k , this . updater = I || w } A . prototype . isReactComponent = { } , A . prototype . setState = function ( j , Q ) { if ( typeof j != "object" && typeof j != "function" && j != null ) throw Error ( "takes an object of state variables to update or a function which returns an object of state variables." ) ; this . updater . enqueueSetState ( this , j , Q , "setState" ) } , A . prototype . forceUpdate = function ( j ) { this . updater . enqueueForceUpdate ( this , j , "forceUpdate" ) } ; function _ ( ) { } _ . prototype = A . prototype ; function R ( j , Q , I ) { this . props = j , this . context = Q , this . refs = k , this . updater = I || w } var L = R . prototype = new _ ; L . constructor = R , T ( L , A . prototype ) , L . isPureReactComponent = ! 0 ; var F = Array . isArray ; function D ( ) { } var P = { H : null , A : null , T : null , S : null } , z = Object . prototype . hasOwnProperty ; function W ( j , Q , I ) { var ue = I . ref ; return { $$typeof : e , type : j , key : Q , ref : ue !== void 0 ? ue : null , props : I } } function M ( j , Q ) { return W ( j . type , Q , j . props ) } function H ( j ) { return typeof j == "object" && j !== null && j . $$typeof === e } function X ( j ) { var Q = { "=" : "=0" , ":" : "=2" } ; return "$" + j . replace ( /[=:]/g , function ( I ) { return Q [ I ] } ) } var ee = /\/+/g ; function te ( j , Q ) { return typeof j == "object" && j !== null && j . key != null ? X ( "" + j . key ) : Q . toString ( 36 ) } function Z ( j ) { switch ( j . status ) { case "fulfilled" : return j . value ; case "rejected" : throw j . reason ; default : switch ( typeof j . status == "string" ? j . then ( D , D ) : ( j . status = "pending" , j . then ( function ( Q ) { j . status === "pending" && ( j . status = "fulfilled" , j . value = Q ) } , function ( Q ) { j . status === "pending" && ( j . status = "rejected" , j . reason = Q ) } ) ) , j . status ) { case "fulfilled" : return j . value ; case "rejected" : throw j . reason } } throw j } function B ( j , Q , I , ue , fe ) { var de = typeof j ; ( de === "undefined" || de === "boolean" ) && ( j = null ) ; var le = ! 1 ; if ( j === null ) le = ! 0 ; else switch ( de ) { case "bigint" : case "string" : case "number" : le = ! 0 ; break ; case "object" : switch ( j . $$typeof ) { case e : case t : le = ! 0 ; break ; case h : return le = j . _init , B ( le ( j . _payload ) , Q , I , ue , fe ) } } if ( le ) return fe = fe ( j ) , le = ue === "" ? "." + te ( j , 0 ) : ue , F ( fe ) ? ( I = "" , le != null && ( I = le . replace ( ee , "$&/" ) + "/" ) , B ( fe , Q , I , "" , function ( Re ) { return Re } ) ) : fe != null && ( H ( fe ) && ( fe = M ( fe , I + ( fe . key == null || j && j . key === fe . key ? "" : ( "" + fe . key ) . replace ( ee , "$&/" ) + "/" ) + le ) ) , Q . push ( fe ) ) , 1 ; le = 0 ; var we = ue === "" ? "." : ue + ":" ; if ( F ( j ) ) for ( var me = 0 ; me < j . length ; me ++ ) ue = j [ me ] , de = we + te ( ue , me ) , le += B ( ue , Q , I , de , fe ) ; else if ( me = E ( j ) , typeof me == "function" ) for ( j = me . call ( j ) , me = 0 ; ! ( ue = j . next ( ) ) . done ; ) ue = ue . value , de = we + te ( ue , me ++ ) , le += B ( ue , Q , I , de , fe ) ; else if ( de === "object" ) { if ( typeof j . then == "function" ) return B ( Z ( j ) , Q , I , ue , fe ) ; throw Q = String ( j ) , Error ( "Objects are not valid as a React child (found: " + ( Q === "[object Object]" ? "object with keys {" + Object . keys ( j ) . join ( ", " ) + "}" : Q ) + " ) . If you meant to render a collection of children , use an Line truncated
at ` )?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return `
` +qe+n+dt}var qn=!1;function Yn(n,i){if(!n||qn)return"";qn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(J){var K=J}Reflect.construct(n,[],oe)}else{try{oe.call()}catch(J){K=J}n.call(oe.prototype)}}else{try{throw Error()}catch(J){K=J}(oe=n())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(J){if(J&&K&&typeof J.stack=="string")return[J.stack,K.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=c.DetermineComponentFrameRoot(),x=y[0],N=y[1];if(x&&N){var F =x.split( `
` +qe+n+dt}var qn=!1;function Yn(n,i){if(!n||qn)return"";qn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(J){var K=J}Reflect.construct(n,[],oe)}else{try{oe.call()}catch(J){K=J}n.call(oe.prototype)}}else{try{throw Error()}catch(J){K=J}(oe=n())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(J){if(J&&K&&typeof J.stack=="string")return[J.stack,K.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=c.DetermineComponentFrameRoot(),x=y[0],N=y[1];if(x&&N){var U =x.split( `
` ),q=N.split( `
` );for(m=c=0;c<F .length&&!F [c].includes("DetermineComponentFrameRoot");)c++;for(;m<q.length&&!q[m].includes("DetermineComponentFrameRoot");)m++;if(c===F .length||m===q.length)for(c=F .length-1,m=q.length-1;1<=c&&0<=m&&F [c]!==q[m];)m--;for(;1<=c&&0<=m;c--,m--)if(F [c]!==q[m]){if(c!==1||m!==1)do if(c--,m--,0>m||F [c]!==q[m]){var n e= `
` +F [c].replace(" at new "," at ");return n.displayName&&n e.includes("<anonymous>")&&(n e=n e.replace("<anonymous>",n.displayName)),n e}while(1<=c&&0<=m);break}}}finally{qn=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?st(l):""}function Cr(n,i){switch(n.tag){case 26:case 27:case 5:return st(n.type);case 16:return st("Lazy");case 13:return n.child!==i&&i!==null?st("Suspense Fallback"):st("Suspense");case 19:return st("SuspenseList");case 0:case 15:return Yn(n.type,!1);case 11:return Yn(n.type.render,!1);case 1:return Yn(n.type,!0);case 31:return st("Activity");default:return""}}function ql(n){try{var i="",l=null;do i+=Cr(n,l),l=n,n=n.return;while(n);return i}catch(c){return `
` );for(m=c=0;c<U .length&&!U [c].includes("DetermineComponentFrameRoot");)c++;for(;m<q.length&&!q[m].includes("DetermineComponentFrameRoot");)m++;if(c===U .length||m===q.length)for(c=U .length-1,m=q.length-1;1<=c&&0<=m&&U [c]!==q[m];)m--;for(;1<=c&&0<=m;c--,m--)if(U [c]!==q[m]){if(c!==1||m!==1)do if(c--,m--,0>m||U [c]!==q[m]){var r e= `
` +U [c].replace(" at new "," at ");return n.displayName&&r e.includes("<anonymous>")&&(r e=r e.replace("<anonymous>",n.displayName)),r e}while(1<=c&&0<=m);break}}}finally{qn=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?st(l):""}function Cr(n,i){switch(n.tag){case 26:case 27:case 5:return st(n.type);case 16:return st("Lazy");case 13:return n.child!==i&&i!==null?st("Suspense Fallback"):st("Suspense");case 19:return st("SuspenseList");case 0:case 15:return Yn(n.type,!1);case 11:return Yn(n.type.render,!1);case 1:return Yn(n.type,!0);case 31:return st("Activity");default:return""}}function ql(n){try{var i="",l=null;do i+=Cr(n,l),l=n,n=n.return;while(n);return i}catch(c){return `
Error generating stack : ` +c.message+ `
` +c.stack}}var Ya=Object.prototype.hasOwnProperty,Wa=e.unstable_scheduleCallback,po=e.unstable_cancelCallback, $ c=e.unstable_shouldYield,Gc=e.unstable_requestPaint,zt=e.unstable_now,Hc=e.unstable_getCurrentPriorityLevel,ae=e.unstable_ImmediatePriority,pe=e.unstable_UserBlockingPriority,ke=e.unstable_NormalPriority,Me=e.unstable_LowPriority,We=e.unstable_IdlePriority,nn=e.log,or=e.unstable_setDisableYieldValue,Pt=null,vt=null;function Vt(n){if(typeof nn=="function"&&or(n),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(Pt,n)}catch{}}var tt=Math.clz32?Math.clz32:vO,Or=Math.log,On=Math.LN2;function vO(n){return n>>>=0,n===0?32:31-(Or(n)/On|0)|0}var Yl=256,Wl=262144,Kl=4194304;function ma(n){var i=n&42;if(i!==0)return i;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Xl(n,i,l){var c=n.pendingLanes;if(c===0)return 0;var m=0,y=n.suspendedLanes,x=n.pingedLanes;n=n.warmLanes;var N=c&134217727;return N!==0?(c=N&~y,c!==0?m=ma(c):(x&=N,x!==0?m=ma(x):l||(l=N&~n,l!==0&&(m=ma(l))))):(N=c&~y,N!==0?m=ma(N):x!==0?m=ma(x):l||(l=c&~n,l!==0&&(m=ma(l)))),m===0?0:i!==0&&i!==m&&(i&y)===0&&(y=m&-m,l=i&-i,y>=l||y===32&&(l&4194048)!==0)?i:m}function fo(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function SO(n,i){switch(n){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dv(){var n=Kl;return Kl<<=1,(Kl&62914560)===0&&(Kl=4194304),n}function Vc(n){for(var i=[],l=0;31>l;l++)i.push(n);return i}function go(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function xO(n,i,l,c,m,y){var x=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var N=n.entanglements,F=n.expirationTimes,q=n.hiddenUpdates;for(l=x&~l;0<l;){var ne=31-tt(l),oe=1<<ne;N[ne]=0,F[ne]=-1;var K=q[ne];if(K!==null)for(q[ne]=null,ne=0;ne<K.length;ne++){var J=K[ne];J!==null&&(J.lane&=-536870913)}l&=~oe}c!==0&&Mv(n,c,0),y!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=y&~(x&~i))}function Mv(n,i,l){n.pendingLanes|=i,n.suspendedLanes&=~i;var c=31-tt(i);n.entangledLanes|=i,n.entanglements[c]=n.entanglements[c]|1073741824|l&261930}function jv(n,i){var l=n.entangledLanes|=i;for(n=n.entanglements;l;){var c=31-tt(l),m=1<<c;m&i|n[c]&i&&(n[c]|=i),l&=~m}}function Uv(n,i){var l=i&-i;return l=(l&42)!==0?1:qc(l),(l&(n.suspendedLanes|i))!==0?0:l}function qc(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Yc(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Fv(){var n=Y.p;return n!==0?n:(n=window.event,n===void 0?32:wT(n.type))}function Bv(n,i){var l=Y.p;try{return Y.p=n,i()}finally{Y.p=l}}var Ir=Math.random().toString(36).slice(2),kt="__reactFiber $ "+Ir,qt="__reactProps $ "+Ir,Ka="__reactContainer $ "+Ir,Wc="__reactEvents $ "+Ir,wO="__reactListeners $ "+Ir,TO="__reactHandles $ "+Ir,zv="__reactResources $ "+Ir,mo="__reactMarker $ "+Ir;function Kc(n){delete n[kt],delete n[qt],delete n[Wc],delete n[wO],delete n[TO]}function Xa(n){var i=n[kt];if(i)return i;for(var l=n.parentNode;l;){if(i=l[Ka]||l[kt]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(n=lT(n);n!==null;){if(l=n[kt])return l;n=lT(n)}return i}n=l,l=n.parentNode}return null}function Za(n){if(n=n[kt]||n[Ka]){var i=n.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return n}return null}function ho(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(a(33))}function Qa(n){var i=n[zv];return i||(i=n[zv]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function wt(n){n[mo]=!0}var Pv=new Set, $ v={};function ha(n,i){Ja(n,i),Ja(n+"Capture",i)}function Ja(n,i){for( $ v[n]=i,n=0;n<i.length;n++)Pv.add(i[n])}var AO=RegExp("^[:A-Z_a-z \\ u00C0- \\ u00D6 \\ u00D8- \\ u00F6 \\ u00F8- \\ u02FF \\ u0370- \\ u037D \\ u037F- \\ u1FFF \\ u200C- \\ u200D \
Line truncated
` ).replace(n1,"")}function Zw(n,i){return i=Xw(i),Xw(n)===i}function Je(n,i,l,c,m,y){switch(l){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||ti(n,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&ti(n,""+c);break;case"className":Ql(n,"class",c);break;case"tabIndex":Ql(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Ql(n,l,c);break;case"style":Zv(n,c,y);break;case"data":if(i!=="object"){Ql(n,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||l!=="href")){n.removeAttribute(l);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=es(""+c),n.setAttribute(l,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you \\ 're trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(l==="formAction"?(i!=="input"&&Je(n,i,"name",m.name,m,null),Je(n,i,"formEncType",m.formEncType,m,null),Je(n,i,"formMethod",m.formMethod,m,null),Je(n,i,"formTarget",m.formTarget,m,null)):(Je(n,i,"encType",m.encType,m,null),Je(n,i,"method",m.method,m,null),Je(n,i,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=es(""+c),n.setAttribute(l,c);break;case"onClick":c!=null&&(n.onclick=sr);break;case"onScroll":c!=null&&Ue("scroll",n);break;case"onScrollEnd":c!=null&&Ue("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}l=es(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""+c):n.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":c===!0?n.setAttribute(l,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,c):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(l,c):n.removeAttribute(l);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(l):n.setAttribute(l,c);break;case"popover":Ue("beforetoggle",n),Ue("toggle",n),Zl(n,"popover",c);break;case"xlinkActuate":lr(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":lr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":lr(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":lr(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":lr(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":lr(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":lr(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":lr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":lr(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Zl(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=CO.get(l)||l,Zl(n,l,c))}}function Bp(n,i,l,c,m,y){switch(l){case"style":Zv(n,c,y);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"children":typeof c=="string"?ti(n,c):(typeof c=="number"||typeof c=="bigint")&&ti(n,""+c);break;case"onScroll":c!=null&&Ue("scroll",n);break;case"onScrollEnd":c!=null&&Ue("scrollend",n);break;case"onClick":c!=null&&(n.onclick=sr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
` ,f="/",h="*",b="",v="comment",E="declaration";function w(k,A){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];A=A||{};var _=1,R=1;function L(ee){var Z=ee.match(t);Z&&(_+=Z.length);var B=ee.lastIndexOf(p);R=~B?ee.length-B:R+ee.length}function z(){var ee={line:_,column:R};return function(Z){return Z.position=new D(ee),X(),Z}}function D(ee){this.start=ee,this.end={line:_,column:R},this.source=A.source}D.prototype.content=k;function U(ee){var Z=new Error(A.source+":"+_+":"+R+": "+ee);if(Z.reason=ee,Z.filename=A.source,Z.line=_,Z.column=R,Z.source=k,!A.silent)throw Z}function P(ee){var Z=ee.exec(k);if(Z){var B=Z[0];return L(B),k=k.slice(B.length),Z}}function X(){P(r)}function M(ee){var Z;for(ee=ee||[];Z=H();)Z!==!1&&ee.push(Z);return ee}function H(){var ee=z();if(!(f!=k.charAt(0)||h!=k.charAt(1))){for(var Z=2;b!=k.charAt(Z)&&(h!=k.charAt(Z)||f!=k.charAt(Z+1));)++Z;if(Z+=2,b===k.charAt(Z-1))return U("End of comment missing");var B=k.slice(2,Z-2);return R+=2,L(B),k=k.slice(Z),R+=2,ee({type:v,comment:B})}}function W(){var ee=z(),Z=P(a);if(Z){if(H(),!P(o))return U("property missing ':'");var B=P(s),Y=ee({type:E,property:T(Z[0].replace(e,b)),value:B?T(B[0].replace(e,b)):b});return P(u),Y}}function re(){var ee=[];M(ee);for(var Z;Z=W();)Z!==!1&&(ee.push(Z),M(ee));return ee}return X(),re()}function T(k){return k?k.replace(d,b):b}return pf=w,pf}var rA;function GD(){if(rA)return Li;rA=1;var e=Li&&Li.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=r;const t=e( $ D());function r(a,o){let s=null;if(!a||typeof a!="string")return s;const u=(0,t.default)(a),d=typeof o=="function";return u.forEach(p=>{if(p.type!=="declaration")return;const{property:f,value:h}=p;d?o(f,h,p):h&&(s=s||{},s[f]=h)}),s}return Li}var ll={},aA;function HD(){if(aA)return ll;aA=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+ $ /,t=/-([a-z])/g,r=/^[^-]+ $ /,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(f){return!f||r.test(f)||e.test(f)},u=function(f,h){return h.toUpperCase()},d=function(f,h){return"".concat(h,"-")},p=function(f,h){return h===void 0&&(h={}),s(f)?f:(f=f.toLowerCase(),h.reactCompat?f=f.replace(o,d):f=f.replace(a,d),f.replace(t,u))};return ll.camelCase=p,ll}var sl,iA;function VD(){if(iA)return sl;iA=1;var e=sl&&sl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e(GD()),r=HD();function a(o,s){var u={};return!o||typeof o!="string"||(0,t.default)(o,function(d,p){d&&p&&(u[(0,r.camelCase)(d,s)]=p)}),u}return a.default=a,sl=a,sl}var qD=VD();const YD=Xu(qD),L_=D_("end"),Dg=D_("start");function D_(e){return t;function t(r){const a=r&&r.position&&r.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function WD(e){const t=Dg(e),r=L_(e);if(t&&r)return{start:t,end:r}}function gl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?oA(e.position):"start"in e||"end"in e?oA(e):"line"in e||"column"in e?qf(e):""}function qf(e){return lA(e&&e.line)+":"+lA(e&&e.column)}function oA(e){return qf(e&&e.start)+"-"+qf(e&&e.end)}function lA(e){return e&&typeof e=="number"?e:1}class Ut extends Error{constructor(t,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let o="",s={},u=!1;if(r&&("line"in r&&"column"in r?s={place:r}:"start"in r&&"end"in r?s={place:r}:"type"in r?s={ancestors:[r],place:r.position}:s={...r}),typeof t=="string"?o=t:!s.cause&&t&&(u=!0,o=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof a=="string"){const p=a.indexOf(":");p===-1?s.ruleId=a:(s.source=a.slice(0,p),s.ruleId=a.slice(p+1))}if(!s.place&&s.ancestors&&s.ancestors){const p=s.ancestors[s.ancestors.length-1];p&&(s.place=p.position)}const d=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=d?d.line:void 0,this.name=gl(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=u&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ut.prototype.file="";Ut.prototype.name="";Ut.prototype.reason="";Ut.prototype.message="";Ut.prototype.stack="";Ut.prototype.column=void 0;Ut.prototype.line=void 0;Ut.prototype.ancestors=void 0;Ut.prototype.cause=void 0;Ut.prototype.fatal=void 0;Ut.prototype.place=void 0;Ut.prototype.ruleId=void 0;Ut.prototype.source=void 0;const Mg={}.hasOwnProperty,KD=new Map,XD=/[A-Z]/g,ZD=new Set(["table","tbody","thead","tfoot","tr"]),QD=new Set(["td","th"]),M_="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function JD(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected ` Fragment ` in options");const r=t.filePath||void 0;let a;i
Line truncated
` +c.stack}}var Ya=Object.prototype.hasOwnProperty,Wa=e.unstable_scheduleCallback,po=e.unstable_cancelCallback,Gc=e.unstable_shouldYield,Hc=e.unstable_requestPaint,zt=e.unstable_now,Vc=e.unstable_getCurrentPriorityLevel,ae=e.unstable_ImmediatePriority,pe=e.unstable_UserBlockingPriority,ke=e.unstable_NormalPriority,Me=e.unstable_LowPriority,We=e.unstable_IdlePriority,nn=e.log,or=e.unstable_setDisableYieldValue,Pt=null,vt=null;function Vt(n){if(typeof nn=="function"&&or(n),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(Pt,n)}catch{}}var tt=Math.clz32?Math.clz32:SO,Or=Math.log,In=Math.LN2;function SO(n){return n>>>=0,n===0?32:31-(Or(n)/In|0)|0}var Yl=256,Wl=262144,Kl=4194304;function ma(n){var i=n&42;if(i!==0)return i;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Xl(n,i,l){var c=n.pendingLanes;if(c===0)return 0;var m=0,y=n.suspendedLanes,x=n.pingedLanes;n=n.warmLanes;var N=c&134217727;return N!==0?(c=N&~y,c!==0?m=ma(c):(x&=N,x!==0?m=ma(x):l||(l=N&~n,l!==0&&(m=ma(l))))):(N=c&~y,N!==0?m=ma(N):x!==0?m=ma(x):l||(l=c&~n,l!==0&&(m=ma(l)))),m===0?0:i!==0&&i!==m&&(i&y)===0&&(y=m&-m,l=i&-i,y>=l||y===32&&(l&4194048)!==0)?i:m}function fo(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function xO(n,i){switch(n){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Mv(){var n=Kl;return Kl<<=1,(Kl&62914560)===0&&(Kl=4194304),n}function qc(n){for(var i=[],l=0;31>l;l++)i.push(n);return i}function go(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function wO(n,i,l,c,m,y){var x=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var N=n.entanglements,U=n.expirationTimes,q=n.hiddenUpdates;for(l=x&~l;0<l;){var re=31-tt(l),oe=1<<re;N[re]=0,U[re]=-1;var K=q[re];if(K!==null)for(q[re]=null,re=0;re<K.length;re++){var J=K[re];J!==null&&(J.lane&=-536870913)}l&=~oe}c!==0&&jv(n,c,0),y!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=y&~(x&~i))}function jv(n,i,l){n.pendingLanes|=i,n.suspendedLanes&=~i;var c=31-tt(i);n.entangledLanes|=i,n.entanglements[c]=n.entanglements[c]|1073741824|l&261930}function Uv(n,i){var l=n.entangledLanes|=i;for(n=n.entanglements;l;){var c=31-tt(l),m=1<<c;m&i|n[c]&i&&(n[c]|=i),l&=~m}}function Fv(n,i){var l=i&-i;return l=(l&42)!==0?1:Yc(l),(l&(n.suspendedLanes|i))!==0?0:l}function Yc(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Wc(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Bv(){var n=Y.p;return n!==0?n:(n=window.event,n===void 0?32:TT(n.type))}function zv(n,i){var l=Y.p;try{return Y.p=n,i()}finally{Y.p=l}}var Ir=Math.random().toString(36).slice(2),kt="__reactFiber $ "+Ir,qt="__reactProps $ "+Ir,Ka="__reactContainer $ "+Ir,Kc="__reactEvents $ "+Ir,TO="__reactListeners $ "+Ir,AO="__reactHandles $ "+Ir,Pv="__reactResources $ "+Ir,mo="__reactMarker $ "+Ir;function Xc(n){delete n[kt],delete n[qt],delete n[Kc],delete n[TO],delete n[AO]}function Xa(n){var i=n[kt];if(i)return i;for(var l=n.parentNode;l;){if(i=l[Ka]||l[kt]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(n=sT(n);n!==null;){if(l=n[kt])return l;n=sT(n)}return i}n=l,l=n.parentNode}return null}function Za(n){if(n=n[kt]||n[Ka]){var i=n.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return n}return null}function ho(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(a(33))}function Qa(n){var i=n[Pv];return i||(i=n[Pv]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function wt(n){n[mo]=!0}var $ v=new Set,Gv={};function ha(n,i){Ja(n,i),Ja(n+"Capture",i)}function Ja(n,i){for(Gv[n]=i,n=0;n<i.length;n++) $ v.add(i[n])}var kO=RegExp("^[:A-Z_a-z \\ u00C0- \\ u00D6 \\ u00D8- \\ u00F6 \\ u00F8- \\ u02FF \\ u0370- \\ u037D \\ u037F- \\ u1FFF \\ u200C- \\ u200D \
Line truncated
` ).replace(r1,"")}function Qw(n,i){return i=Zw(i),Zw(n)===i}function Je(n,i,l,c,m,y){switch(l){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||ti(n,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&ti(n,""+c);break;case"className":Ql(n,"class",c);break;case"tabIndex":Ql(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Ql(n,l,c);break;case"style":Qv(n,c,y);break;case"data":if(i!=="object"){Ql(n,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||l!=="href")){n.removeAttribute(l);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=es(""+c),n.setAttribute(l,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you \\ 're trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(l==="formAction"?(i!=="input"&&Je(n,i,"name",m.name,m,null),Je(n,i,"formEncType",m.formEncType,m,null),Je(n,i,"formMethod",m.formMethod,m,null),Je(n,i,"formTarget",m.formTarget,m,null)):(Je(n,i,"encType",m.encType,m,null),Je(n,i,"method",m.method,m,null),Je(n,i,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=es(""+c),n.setAttribute(l,c);break;case"onClick":c!=null&&(n.onclick=sr);break;case"onScroll":c!=null&&Ue("scroll",n);break;case"onScrollEnd":c!=null&&Ue("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}l=es(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""+c):n.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":c===!0?n.setAttribute(l,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,c):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(l,c):n.removeAttribute(l);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(l):n.setAttribute(l,c);break;case"popover":Ue("beforetoggle",n),Ue("toggle",n),Zl(n,"popover",c);break;case"xlinkActuate":lr(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":lr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":lr(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":lr(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":lr(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":lr(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":lr(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":lr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":lr(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Zl(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=OO.get(l)||l,Zl(n,l,c))}}function zp(n,i,l,c,m,y){switch(l){case"style":Qv(n,c,y);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"children":typeof c=="string"?ti(n,c):(typeof c=="number"||typeof c=="bigint")&&ti(n,""+c);break;case"onScroll":c!=null&&Ue("scroll",n);break;case"onScrollEnd":c!=null&&Ue("scrollend",n);break;case"onClick":c!=null&&(n.onclick=sr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
` ,f="/",h="*",b="",v="comment",E="declaration";function w(k,A){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];A=A||{};var _=1,R=1;function L(te){var Z=te.match(t);Z&&(_+=Z.length);var B=te.lastIndexOf(p);R=~B?te.length-B:R+te.length}function F(){var te={line:_,column:R};return function(Z){return Z.position=new D(te),W(),Z}}function D(te){this.start=te,this.end={line:_,column:R},this.source=A.source}D.prototype.content=k;function P(te){var Z=new Error(A.source+":"+_+":"+R+": "+te);if(Z.reason=te,Z.filename=A.source,Z.line=_,Z.column=R,Z.source=k,!A.silent)throw Z}function z(te){var Z=te.exec(k);if(Z){var B=Z[0];return L(B),k=k.slice(B.length),Z}}function W(){z(r)}function M(te){var Z;for(te=te||[];Z=H();)Z!==!1&&te.push(Z);return te}function H(){var te=F();if(!(f!=k.charAt(0)||h!=k.charAt(1))){for(var Z=2;b!=k.charAt(Z)&&(h!=k.charAt(Z)||f!=k.charAt(Z+1));)++Z;if(Z+=2,b===k.charAt(Z-1))return P("End of comment missing");var B=k.slice(2,Z-2);return R+=2,L(B),k=k.slice(Z),R+=2,te({type:v,comment:B})}}function X(){var te=F(),Z=z(a);if(Z){if(H(),!z(o))return P("property missing ':'");var B=z(s),Y=te({type:E,property:T(Z[0].replace(e,b)),value:B?T(B[0].replace(e,b)):b});return z(u),Y}}function ee(){var te=[];M(te);for(var Z;Z=X();)Z!==!1&&(te.push(Z),M(te));return te}return W(),ee()}function T(k){return k?k.replace(d,b):b}return ff=w,ff}var aA;function HD(){if(aA)return Li;aA=1;var e=Li&&Li.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Li,"__esModule",{value:!0}),Li.default=r;const t=e(GD());function r(a,o){let s=null;if(!a||typeof a!="string")return s;const u=(0,t.default)(a),d=typeof o=="function";return u.forEach(p=>{if(p.type!=="declaration")return;const{property:f,value:h}=p;d?o(f,h,p):h&&(s=s||{},s[f]=h)}),s}return Li}var ll={},iA;function VD(){if(iA)return ll;iA=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+ $ /,t=/-([a-z])/g,r=/^[^-]+ $ /,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(f){return!f||r.test(f)||e.test(f)},u=function(f,h){return h.toUpperCase()},d=function(f,h){return"".concat(h,"-")},p=function(f,h){return h===void 0&&(h={}),s(f)?f:(f=f.toLowerCase(),h.reactCompat?f=f.replace(o,d):f=f.replace(a,d),f.replace(t,u))};return ll.camelCase=p,ll}var sl,oA;function qD(){if(oA)return sl;oA=1;var e=sl&&sl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e(HD()),r=VD();function a(o,s){var u={};return!o||typeof o!="string"||(0,t.default)(o,function(d,p){d&&p&&(u[(0,r.camelCase)(d,s)]=p)}),u}return a.default=a,sl=a,sl}var YD=qD();const WD=Zu(YD),D_=M_("end"),Dg=M_("start");function M_(e){return t;function t(r){const a=r&&r.position&&r.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function KD(e){const t=Dg(e),r=D_(e);if(t&&r)return{start:t,end:r}}function gl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?lA(e.position):"start"in e||"end"in e?lA(e):"line"in e||"column"in e?Yf(e):""}function Yf(e){return sA(e&&e.line)+":"+sA(e&&e.column)}function lA(e){return Yf(e&&e.start)+"-"+Yf(e&&e.end)}function sA(e){return e&&typeof e=="number"?e:1}class Ut extends Error{constructor(t,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let o="",s={},u=!1;if(r&&("line"in r&&"column"in r?s={place:r}:"start"in r&&"end"in r?s={place:r}:"type"in r?s={ancestors:[r],place:r.position}:s={...r}),typeof t=="string"?o=t:!s.cause&&t&&(u=!0,o=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof a=="string"){const p=a.indexOf(":");p===-1?s.ruleId=a:(s.source=a.slice(0,p),s.ruleId=a.slice(p+1))}if(!s.place&&s.ancestors&&s.ancestors){const p=s.ancestors[s.ancestors.length-1];p&&(s.place=p.position)}const d=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=d?d.line:void 0,this.name=gl(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=u&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ut.prototype.file="";Ut.prototype.name="";Ut.prototype.reason="";Ut.prototype.message="";Ut.prototype.stack="";Ut.prototype.column=void 0;Ut.prototype.line=void 0;Ut.prototype.ancestors=void 0;Ut.prototype.cause=void 0;Ut.prototype.fatal=void 0;Ut.prototype.place=void 0;Ut.prototype.ruleId=void 0;Ut.prototype.source=void 0;const Mg={}.hasOwnProperty,XD=new Map,ZD=/[A-Z]/g,QD=new Set(["table","tbody","thead","tfoot","tr"]),JD=new Set(["td","th"]),j_="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected ` Fragment ` in options");const r=t.filePath||void 0;let a;i
Line truncated
` ;break}case-3:{u= ` \ r
` ;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&o)continue;u=" ";break}default:u=String.fromCharCode(s)}o=s===-2,a.push(u)}return a.join("")}function lj(e){const a={constructs:z_([rj,...(e||{}).extensions||[]]),content:o(xM),defined:[],document:o(TM),flow:o( $ 2),lazy:{},string:o(V2),text:o(q2)};return a;function o(s){return u;function u(d){return aj(a,s,d)}}}function sj(e){for(;!V_(e););return e}const bA=/[ \0 \t \n \r ]/g;function uj(){let e=1,t="",r=!0,a;return o;function o(s,u,d){const p=[];let f,h,b,v,E;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),b=0,t="",r&&(s.charCodeAt(0)===65279&&b++,r=void 0);b<s.length;){if(bA.lastIndex=b,f=bA.exec(s),v=f&&f.index!==void 0?f.index:s.length,E=s.charCodeAt(v),!f){t=s.slice(b);break}if(E===10&&b===v&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),b<v&&(p.push(s.slice(b,v)),e+=v-b),E){case 0:{p.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,p.push(-2);e++<h;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:a=!0,e=1}b=v+1}return d&&(a&&p.push(-5),t&&p.push(t),p.push(null)),p}}const cj=/ \\ ([!-/:-@[- ` { - ~ ] ) | & ( # ( ? : \ d { 1 , 7 } | x [ \ da - f ] { 1 , 6 } ) | [ \ da - z ] { 1 , 31 } ) ; / g i ; f u n c t i o n d j ( e ) { r e t u r n e . r e p l a c e ( c j , p j ) } f u n c t i o n p j ( e , t , r ) { i f ( t ) r e t u r n t ; i f ( r . c h a r C o d e A t ( 0 ) = = = 3 5 ) { c o n s t o = r . c h a r C o d e A t ( 1 ) , s = o = = = 1 2 0 | | o = = = 8 8 ; r e t u r n P _ ( r . s l i c e ( s ? 2 : 1 ) , s ? 1 6 : 1 0 ) } r e t u r n x l ( r ) | | e } c o n s t Z _ = { } . h a s O w n P r o p e r t y ; f u n c t i o n f j ( e , t , r ) { r e t u r n t & & t y p e o f t = = " o b j e c t " & & ( r = t , t = v o i d 0 ) , g j ( r ) ( s j ( l j ( r ) . d o c u m e n t ( ) . w r i t e ( u j ( ) ( e , t , ! 0 ) ) ) ) } f u n c t i o n g j ( e ) { c o n s t t = { t r a n s f o r m s : [ ] , c a n C o n t a i n E o l s : [ " e m p h a s i s " , " f r a g m e n t " , " h e a d i n g " , " p a r a g r a p h " , " s t r o n g " ] , e n t e r : { a u t o l i n k : s ( Y a ) , a u t o l i n k P r o t o c o l : X , a u t o l i n k E m a i l : X , a t x H e a d i n g : s ( q n ) , b l o c k Q u o t e : s ( R e ) , c h a r a c t e r E s c a p e : X , c h a r a c t e r R e f e r e n c e : X , c o d e F e n c e d : s ( O e ) , c o d e F e n c e d F e n c e I n f o : u , c o d e F e n c e d F e n c e M e t a : u , c o d e I n d e n t e d : s ( O e , u ) , c o d e T e x t : s ( q e , u ) , c o d e T e x t D a t a : X , d a t a : X , c o d e F l o w V a l u e : X , d e f i n i t i o n : s ( d t ) , d e f i n i t i o n D e s t i n a t i o n S t r i n g : u , d e f i n i t i o n L a b e l S t r i n g : u , d e f i n i t i o n T i t l e S t r i n g : u , e m p h a s i s : s ( s t ) , h a r d B r e a k E s c a p e : s ( Y n ) , h a r d B r e a k T r a i l i n g : s ( Y n ) , h t m l F l o w : s ( C r , u ) , h t m l F l o w D a t a : X , h t m l T e x t : s ( C r , u ) , h t m l T e x t D a t a : X , i m a g e : s ( q l ) , l a b e l : u , l i n k : s ( Y a ) , l i s t I t e m : s ( p o ) , l i s t I t e m V a l u e : v , l i s t O r d e r e d : s ( W a , b ) , l i s t U n o r d e r e d : s ( W a ) , p a r a g r a p h : s ( $ c ) , r e f e r e n c e : I , r e f e r e n c e S t r i n g : u , r e s o u r c e D e s t i n a t i o n S t r i n g : u , r e s o u r c e T i t l e S t r i n g : u , s e t e x t H e a d i n g : s ( q n ) , s t r o n g : s ( G c ) , t h e m a t i c B r e a k : s ( H c ) } , e x i t : { a t x H e a d i n g : p ( ) , a t x H e a d i n g S e q u e n c e : z , a u t o l i n k : p ( ) , a u t o l i n k E m a i l : m e , a u t o l i n k P r o t o c o l : w e , b l o c k Q u o t e : p ( ) , c h a r a c t e r E s c a p e V a l u e : M , c h a r a c t e r R e f e r e n c e M a r k e r H e x a d e c i m a l : f e , c h a r a c t e r R e f e r e n c e M a r k e r N u m e r i c : f e , c h a r a c t e r R e f e r e n c e V a l u e : d e , c h a r a c t e r R e f e r e n c e : l e , c o d e F e n c e d : p ( k ) , c o d e F e n c e d F e n c e : T , c o d e F e n c e d F e n c e I n f o : E , c o d e F e n c e d F e n c e M e t a : w , c o d e F l o w V a l u e : M , c o d e I n d e n t e d : p ( A ) , c o d e T e x t : p ( Z ) , c o d e T e x t D a t a : M , d a t a : M , d e f i n i t i o n : p ( ) , d e f i n i t i o n D e s t i n a t i o n S t r i n g : L , d e f i n i t i o n L a b e l S t r i n g : _ , d e f i n i t i o n T i t l e S t r i n g : R , e m p h a s i s : p ( ) , h a r d B r e a k E s c a p e : p ( W ) , h a r d B r e a k T r a i l i n g : p ( W ) , h t m l F l o w : p ( r e ) , h t m l F l o w D a t a : M , h t m l T e x t : p ( e e ) , h t m l T e x t D a t a : M , i m a g e : p ( Y ) , l a b e l : c e , l a b e l T e x t : t e , l i n e E n d i n g : H , l i n k : p ( B ) , l i s t I t e m : p ( ) , l i s t O r d e r e d : p ( ) , l i s t U n o r d e r e d : p ( ) , p a r a g r a p h : p ( ) , r e f e r e n c e S t r i n g : u e , r e s o u r c e D e s t i n a t i o n S t r i n g : C , r e s o u r c e T i t l e S t r i n g : j , r e s o u r c e : Q , s e t e x t H e a d i n g : p ( P ) , s e t e x t H e a d i n g L i n e S e q u e n c e : U , s e t e x t H e a d i n g T e x t : D , s t r o n g : p ( ) , t h e m a t i c B r e a k : p ( ) } } ; Q _ ( t , ( e | | { } ) . m d a s t E x t e n s i o n s | | [ ] ) ; c o n s t r = { } ; r e t u r n a ; f u n c t i o n a ( a e ) { l e t p e = { t y p e : " r o o t " , c h i l d r e n : [ ] } ; c o n s t k e = { s t a c k : [ p e ] , t o k e n S t a c k : [ ] , c o n f i g : t , e n t e r : d , e x i t : f , b u f f e r : u , r e s u m e : h , d a t a : r } , M e = [ ] ; l e t W e = - 1 ; f o r ( ; + + W e < a e . l e n g t h ; ) i f ( a e [ W e ] [ 1 ] . t y p e = = = " l i s t O r d e r e d " | | a e [ W e ] [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " ) i f ( a e [ W e ] [ 0 ] = = = " e n t e r " ) M e . p u s h ( W e ) ; e l s e { c o n s t n n = M e . p o p ( ) ; W e = o ( a e , n n , W e ) } f o r ( W e = - 1 ; + + W e < a e . l e n g t h ; ) { c o n s t n n = t [ a e [ W e ] [ 0 ] ] ; Z _ . c a l l ( n n , a e [ W e ] [ 1 ] . t y p e ) & & n n [ a e [ W e ] [ 1 ] . t y p e ] . c a l l ( O b j e c t . a s s i g n ( { s l i c e S e r i a l i z e : a e [ W e ] [ 2 ] . s l i c e S e r i a l i z e } , k e ) , a e [ W e ] [ 1 ] ) } i f ( k e . t o k e n S t a c k . l e n g t h > 0 ) { c o n s t n n = k e . t o k e n S t a c k [ k e . t o k e n S t a c k . l e n g t h - 1 ] ; ( n n [ 1 ] | | y A ) . c a l l ( k e , v o i d 0 , n n [ 0 ] ) } f o r ( p e . p o s i t i o n = { s t a r t : a a ( a e . l e n g t h > 0 ? a e [ 0 ] [ 1 ] . s t a r t : { l i n e : 1 , c o l u m n : 1 , o f f s e t : 0 } ) , e n d : a a ( a e . l e n g t h > 0 ? a e [ a e . l e n g t h - 2 ] [ 1 ] . e n d : { l i n e : 1 , c o l u m n : 1 , o f f s e t : 0 } ) } , W e = - 1 ; + + W e < t . t r a n s f o r m s . l e n g t h ; ) p e = t . t r a n s f o r m s [ W e ] ( p e ) | | p e ; r e t u r n p e } f u n c t i o n o ( a e , p e , k e ) { l e t M e = p e - 1 , W e = - 1 , n n = ! 1 , o r , P t , v t , V t ; f o r ( ; + + M e < = k e ; ) { c o n s t t t = a e [ M e ] ; s w i t c h ( t t [ 1 ] . t y p e ) { c a s e " l i s t U n o r d e r e d " : c a s e " l i s t O r d e r e d " : c a s e " b l o c k Q u o t e " : { t t [ 0 ] = = = " e n t e r " ? W e + + : W e - - , V t = v o i d 0 ; b r e a k } c a s e " l i n e E n d i n g B l a n k " : { t t [ 0 ] = = = " e n t e r " & & ( o r & & ! V t & & ! W e & & ! v t & & ( v t = M e ) , V t = v o i d 0 ) ; b r e a k } c a s e " l i n e P r e f i x " : c a s e " l i s t I t e m V a l u e " : c a s e " l i s t I t e m M a r k e r " : c a s e " l i s t I t e m P r e f i x " : c a s e " l i s t I t e m P r e f i x W h i t e s p a c e " : b r e a k ; d e f a u l t : V t = v o i d 0 } i f ( ! W e & & t t [ 0 ] = = = " e n t e r " & & t t [ 1 ] . t y p e = = = " l i s t I t e m P r e f i x " | | W e = = = - 1 & & t t [ 0 ] = = = " e x i t " & & ( t t [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " | | t t [ 1 ] . t y p e = = = " l i s t O r d e r e d " ) ) { i f ( o r ) { l e t O r = M e ; f o r ( P t = v o i d 0 ; O r - - ; ) { c o n s t O n = a e [ O r ] ; i f ( O n [ 1 ] . t y p e = = = " l i n e E n d i n g " | | O n [ 1 ] . t y p e = = = " l i n e E n d i n g B l a n k " ) { i f ( O n [ 0 ] = = = " e x i t " ) c o n t i n u e ; P t & & ( a e [ P t ] [ 1 ] . t y p e = " l i n e E n d i n g B l a n k " , n n = ! 0 ) , O n [ 1 ] . t y p e = " l i n e E n d i n g " , P t = O r } e l s e i f ( ! ( O n [ 1 ] . t y p e = = = " l i n e P r e f i x " | | O n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x " | | O n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x W h i t e s Line truncated
` }]}function E j(e,t){const r=t.value?t.value+ `
` :"",a={},o=t.lang?t.lang.split(/ \s +/):[];o.length>0&&(a.className=["language-"+o[0]]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function v j(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function S j(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x j(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),o=Ji(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let u,d=e.footnoteCounts.get(a);d===void 0?(d=0,e.footnoteOrder.push(a),u=e.footnoteOrder.length):u=s+1,d+=1,e.footnoteCounts.set(a,d);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,p);const f={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(t,f),e.applyData(t,f)}function w j(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function T j(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function J_ (e,t){const r=t.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const o=e.all(t),s=o[0];s&&s.type==="text"?s.value="["+s.value:o.unshift({type:"text",value:"["});const u=o[o.length-1];return u&&u.type==="text"?u.value+=a:o.push({type:"text",value:a}),o}function A j(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return J_ (e,t);const o={src:Ji(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,s),e.applyData(t,s)}function k j(e,t){const r={src:Ji(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)}function _ j(e,t){const r={type:"text",value:t.value.replace(/ \r ? \n | \r /g," ")};e.patch(t,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,a),e.applyData(t,a)}function N j(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return J_ (e,t);const o={href:Ji(a.url||"")};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function R j(e,t){const r={href:Ji(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function C j(e,t,r){const a=e.all(t),o=r?O j(r):e N(t),s={},u=[];if(typeof t.checked=="boolean"){const h=a[0];let b;h&&h.type==="element"&&h.tagName==="p"?b=h:(b={type:"element",tagName:"p",properties:{},children:[]},a.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const h=a[d];(o||d!==0||h.type!=="element"||h.tagName!=="p")&&u.push({type:"text",value: `
` ;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&o)continue;u=" ";break}default:u=String.fromCharCode(s)}o=s===-2,a.push(u)}return a.join("")}function sj(e){const a={constructs:P_([aj,...(e||{}).extensions||[]]),content:o(wM),defined:[],document:o(AM),flow:o(G2),lazy:{},string:o(q2),text:o(Y2)};return a;function o(s){return u;function u(d){return ij(a,s,d)}}}function uj(e){for(;!q_(e););return e}const yA=/[ \0 \t \n \r ]/g;function cj(){let e=1,t="",r=!0,a;return o;function o(s,u,d){const p=[];let f,h,b,v,E;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),b=0,t="",r&&(s.charCodeAt(0)===65279&&b++,r=void 0);b<s.length;){if(yA.lastIndex=b,f=yA.exec(s),v=f&&f.index!==void 0?f.index:s.length,E=s.charCodeAt(v),!f){t=s.slice(b);break}if(E===10&&b===v&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),b<v&&(p.push(s.slice(b,v)),e+=v-b),E){case 0:{p.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,p.push(-2);e++<h;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:a=!0,e=1}b=v+1}return d&&(a&&p.push(-5),t&&p.push(t),p.push(null)),p}}const dj=/ \\ ([!-/:-@[- ` { - ~ ] ) | & ( # ( ? : \ d { 1 , 7 } | x [ \ da - f ] { 1 , 6 } ) | [ \ da - z ] { 1 , 31 } ) ; / g i ; f u n c t i o n p j ( e ) { r e t u r n e . r e p l a c e ( d j , f j ) } f u n c t i o n f j ( e , t , r ) { i f ( t ) r e t u r n t ; i f ( r . c h a r C o d e A t ( 0 ) = = = 3 5 ) { c o n s t o = r . c h a r C o d e A t ( 1 ) , s = o = = = 1 2 0 | | o = = = 8 8 ; r e t u r n $ _ ( r . s l i c e ( s ? 2 : 1 ) , s ? 1 6 : 1 0 ) } r e t u r n x l ( r ) | | e } c o n s t Q _ = { } . h a s O w n P r o p e r t y ; f u n c t i o n g j ( e , t , r ) { r e t u r n t & & t y p e o f t = = " o b j e c t " & & ( r = t , t = v o i d 0 ) , m j ( r ) ( u j ( s j ( r ) . d o c u m e n t ( ) . w r i t e ( c j ( ) ( e , t , ! 0 ) ) ) ) } f u n c t i o n m j ( e ) { c o n s t t = { t r a n s f o r m s : [ ] , c a n C o n t a i n E o l s : [ " e m p h a s i s " , " f r a g m e n t " , " h e a d i n g " , " p a r a g r a p h " , " s t r o n g " ] , e n t e r : { a u t o l i n k : s ( Y a ) , a u t o l i n k P r o t o c o l : W , a u t o l i n k E m a i l : W , a t x H e a d i n g : s ( q n ) , b l o c k Q u o t e : s ( R e ) , c h a r a c t e r E s c a p e : W , c h a r a c t e r R e f e r e n c e : W , c o d e F e n c e d : s ( O e ) , c o d e F e n c e d F e n c e I n f o : u , c o d e F e n c e d F e n c e M e t a : u , c o d e I n d e n t e d : s ( O e , u ) , c o d e T e x t : s ( q e , u ) , c o d e T e x t D a t a : W , d a t a : W , c o d e F l o w V a l u e : W , d e f i n i t i o n : s ( d t ) , d e f i n i t i o n D e s t i n a t i o n S t r i n g : u , d e f i n i t i o n L a b e l S t r i n g : u , d e f i n i t i o n T i t l e S t r i n g : u , e m p h a s i s : s ( s t ) , h a r d B r e a k E s c a p e : s ( Y n ) , h a r d B r e a k T r a i l i n g : s ( Y n ) , h t m l F l o w : s ( C r , u ) , h t m l F l o w D a t a : W , h t m l T e x t : s ( C r , u ) , h t m l T e x t D a t a : W , i m a g e : s ( q l ) , l a b e l : u , l i n k : s ( Y a ) , l i s t I t e m : s ( p o ) , l i s t I t e m V a l u e : v , l i s t O r d e r e d : s ( W a , b ) , l i s t U n o r d e r e d : s ( W a ) , p a r a g r a p h : s ( G c ) , r e f e r e n c e : I , r e f e r e n c e S t r i n g : u , r e s o u r c e D e s t i n a t i o n S t r i n g : u , r e s o u r c e T i t l e S t r i n g : u , s e t e x t H e a d i n g : s ( q n ) , s t r o n g : s ( H c ) , t h e m a t i c B r e a k : s ( V c ) } , e x i t : { a t x H e a d i n g : p ( ) , a t x H e a d i n g S e q u e n c e : F , a u t o l i n k : p ( ) , a u t o l i n k E m a i l : m e , a u t o l i n k P r o t o c o l : w e , b l o c k Q u o t e : p ( ) , c h a r a c t e r E s c a p e V a l u e : M , c h a r a c t e r R e f e r e n c e M a r k e r H e x a d e c i m a l : f e , c h a r a c t e r R e f e r e n c e M a r k e r N u m e r i c : f e , c h a r a c t e r R e f e r e n c e V a l u e : d e , c h a r a c t e r R e f e r e n c e : l e , c o d e F e n c e d : p ( k ) , c o d e F e n c e d F e n c e : T , c o d e F e n c e d F e n c e I n f o : E , c o d e F e n c e d F e n c e M e t a : w , c o d e F l o w V a l u e : M , c o d e I n d e n t e d : p ( A ) , c o d e T e x t : p ( Z ) , c o d e T e x t D a t a : M , d a t a : M , d e f i n i t i o n : p ( ) , d e f i n i t i o n D e s t i n a t i o n S t r i n g : L , d e f i n i t i o n L a b e l S t r i n g : _ , d e f i n i t i o n T i t l e S t r i n g : R , e m p h a s i s : p ( ) , h a r d B r e a k E s c a p e : p ( X ) , h a r d B r e a k T r a i l i n g : p ( X ) , h t m l F l o w : p ( e e ) , h t m l F l o w D a t a : M , h t m l T e x t : p ( t e ) , h t m l T e x t D a t a : M , i m a g e : p ( Y ) , l a b e l : c e , l a b e l T e x t : n e , l i n e E n d i n g : H , l i n k : p ( B ) , l i s t I t e m : p ( ) , l i s t O r d e r e d : p ( ) , l i s t U n o r d e r e d : p ( ) , p a r a g r a p h : p ( ) , r e f e r e n c e S t r i n g : u e , r e s o u r c e D e s t i n a t i o n S t r i n g : C , r e s o u r c e T i t l e S t r i n g : j , r e s o u r c e : Q , s e t e x t H e a d i n g : p ( z ) , s e t e x t H e a d i n g L i n e S e q u e n c e : P , s e t e x t H e a d i n g T e x t : D , s t r o n g : p ( ) , t h e m a t i c B r e a k : p ( ) } } ; J _ ( t , ( e | | { } ) . m d a s t E x t e n s i o n s | | [ ] ) ; c o n s t r = { } ; r e t u r n a ; f u n c t i o n a ( a e ) { l e t p e = { t y p e : " r o o t " , c h i l d r e n : [ ] } ; c o n s t k e = { s t a c k : [ p e ] , t o k e n S t a c k : [ ] , c o n f i g : t , e n t e r : d , e x i t : f , b u f f e r : u , r e s u m e : h , d a t a : r } , M e = [ ] ; l e t W e = - 1 ; f o r ( ; + + W e < a e . l e n g t h ; ) i f ( a e [ W e ] [ 1 ] . t y p e = = = " l i s t O r d e r e d " | | a e [ W e ] [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " ) i f ( a e [ W e ] [ 0 ] = = = " e n t e r " ) M e . p u s h ( W e ) ; e l s e { c o n s t n n = M e . p o p ( ) ; W e = o ( a e , n n , W e ) } f o r ( W e = - 1 ; + + W e < a e . l e n g t h ; ) { c o n s t n n = t [ a e [ W e ] [ 0 ] ] ; Q _ . c a l l ( n n , a e [ W e ] [ 1 ] . t y p e ) & & n n [ a e [ W e ] [ 1 ] . t y p e ] . c a l l ( O b j e c t . a s s i g n ( { s l i c e S e r i a l i z e : a e [ W e ] [ 2 ] . s l i c e S e r i a l i z e } , k e ) , a e [ W e ] [ 1 ] ) } i f ( k e . t o k e n S t a c k . l e n g t h > 0 ) { c o n s t n n = k e . t o k e n S t a c k [ k e . t o k e n S t a c k . l e n g t h - 1 ] ; ( n n [ 1 ] | | E A ) . c a l l ( k e , v o i d 0 , n n [ 0 ] ) } f o r ( p e . p o s i t i o n = { s t a r t : a a ( a e . l e n g t h > 0 ? a e [ 0 ] [ 1 ] . s t a r t : { l i n e : 1 , c o l u m n : 1 , o f f s e t : 0 } ) , e n d : a a ( a e . l e n g t h > 0 ? a e [ a e . l e n g t h - 2 ] [ 1 ] . e n d : { l i n e : 1 , c o l u m n : 1 , o f f s e t : 0 } ) } , W e = - 1 ; + + W e < t . t r a n s f o r m s . l e n g t h ; ) p e = t . t r a n s f o r m s [ W e ] ( p e ) | | p e ; r e t u r n p e } f u n c t i o n o ( a e , p e , k e ) { l e t M e = p e - 1 , W e = - 1 , n n = ! 1 , o r , P t , v t , V t ; f o r ( ; + + M e < = k e ; ) { c o n s t t t = a e [ M e ] ; s w i t c h ( t t [ 1 ] . t y p e ) { c a s e " l i s t U n o r d e r e d " : c a s e " l i s t O r d e r e d " : c a s e " b l o c k Q u o t e " : { t t [ 0 ] = = = " e n t e r " ? W e + + : W e - - , V t = v o i d 0 ; b r e a k } c a s e " l i n e E n d i n g B l a n k " : { t t [ 0 ] = = = " e n t e r " & & ( o r & & ! V t & & ! W e & & ! v t & & ( v t = M e ) , V t = v o i d 0 ) ; b r e a k } c a s e " l i n e P r e f i x " : c a s e " l i s t I t e m V a l u e " : c a s e " l i s t I t e m M a r k e r " : c a s e " l i s t I t e m P r e f i x " : c a s e " l i s t I t e m P r e f i x W h i t e s p a c e " : b r e a k ; d e f a u l t : V t = v o i d 0 } i f ( ! W e & & t t [ 0 ] = = = " e n t e r " & & t t [ 1 ] . t y p e = = = " l i s t I t e m P r e f i x " | | W e = = = - 1 & & t t [ 0 ] = = = " e x i t " & & ( t t [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " | | t t [ 1 ] . t y p e = = = " l i s t O r d e r e d " ) ) { i f ( o r ) { l e t O r = M e ; f o r ( P t = v o i d 0 ; O r - - ; ) { c o n s t I n = a e [ O r ] ; i f ( I n [ 1 ] . t y p e = = = " l i n e E n d i n g " | | I n [ 1 ] . t y p e = = = " l i n e E n d i n g B l a n k " ) { i f ( I n [ 0 ] = = = " e x i t " ) c o n t i n u e ; P t & & ( a e [ P t ] [ 1 ] . t y p e = " l i n e E n d i n g B l a n k " , n n = ! 0 ) , I n [ 1 ] . t y p e = " l i n e E n d i n g " , P t = O r } e l s e i f ( ! ( I n [ 1 ] . t y p e = = = " l i n e P r e f i x " | | I n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x " | | I n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x W h i t e s Line truncated
` }]}function v j(e,t){const r=t.value?t.value+ `
` :"",a={},o=t.lang?t.lang.split(/ \s +/):[];o.length>0&&(a.className=["language-"+o[0]]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function S j(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x j(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function w j(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),o=Ji(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let u,d=e.footnoteCounts.get(a);d===void 0?(d=0,e.footnoteOrder.push(a),u=e.footnoteOrder.length):u=s+1,d+=1,e.footnoteCounts.set(a,d);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,p);const f={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(t,f),e.applyData(t,f)}function T j(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function A j(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function eN (e,t){const r=t.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const o=e.all(t),s=o[0];s&&s.type==="text"?s.value="["+s.value:o.unshift({type:"text",value:"["});const u=o[o.length-1];return u&&u.type==="text"?u.value+=a:o.push({type:"text",value:a}),o}function k j(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return eN (e,t);const o={src:Ji(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,s),e.applyData(t,s)}function _ j(e,t){const r={src:Ji(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)}function N j(e,t){const r={type:"text",value:t.value.replace(/ \r ? \n | \r /g," ")};e.patch(t,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,a),e.applyData(t,a)}function R j(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return eN (e,t);const o={href:Ji(a.url||"")};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function C j(e,t){const r={href:Ji(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function O j(e,t,r){const a=e.all(t),o=r?I j(r):t N(t),s={},u=[];if(typeof t.checked=="boolean"){const h=a[0];let b;h&&h.type==="element"&&h.tagName==="p"?b=h:(b={type:"element",tagName:"p",properties:{},children:[]},a.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const h=a[d];(o||d!==0||h.type!=="element"||h.tagName!=="p")&&u.push({type:"text",value: `
` }),h.type==="element"&&h.tagName==="p"&&!o?u.push(...h.children):u.push(h)}const p=a[a.length-1];p&&(o||p.type!=="element"||p.tagName!=="p")&&u.push({type:"text",value: `
` });const f={type:"element",tagName:"li",properties:s,children:u};return e.patch(t,f),e.applyData(t,f)}function Oj(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let a=-1;for(;!t&&++a<r.length;)t=eN(r[a])}return t}function eN(e){const t=e.spread;return t??e.children.length>1}function Ij(e,t){const r={},a=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++o<a.length;){const u=a[o];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function Lj(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Dj(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Mj(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function jj(e,t){const r=e.all(t),a=r.shift(),o=[];if(a){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(t.children[0],u),o.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=Dg(t.children[1]),p=L_(t.children[t.children.length-1]);d&&p&&(u.position={start:d,end:p}),o.push(u)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}function Uj(e,t,r){const a=r?r.children:void 0,s=(a?a.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,d=u?u.length:t.children.length;let p=-1;const f=[];for(;++p<d;){const b=t.children[p],v={},E=u?u[p]:void 0;E&&(v.align=E);let w={type:"element",tagName:s,properties:v,children:[]};b&&(w.children=e.all(b),e.patch(b,w),w=e.applyData(b,w)),f.push(w)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,h),e.applyData(t,h)}function Fj(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const EA=9,vA=32;function Bj(e){const t=String(e),r=/ \r ? \n | \r /g;let a=r.exec(t),o=0;const s=[];for(;a;)s.push(SA(t.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(t);return s.push(SA(t.slice(o),o>0,!1)),s.join("")}function SA(e,t,r){let a=0,o=e.length;if(t){let s=e.codePointAt(a);for(;s===EA||s===vA;)a++,s=e.codePointAt(a)}if(r){let s=e.codePointAt(o-1);for(;s===EA||s===vA;)o--,s=e.codePointAt(o-1)}return o>a?e.slice(a,o):""}function zj(e,t){const r={type:"text",value:Bj(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Pj(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const $ j={blockquote:bj,break:yj,code:Ej,delete:vj,emphasis:Sj,footnoteReference:xj,heading:wj,html:Tj,imageReference:Aj,image:kj,inlineCode:_j,linkReference:Nj,link:Rj,listItem:Cj,list:Ij,paragraph:Lj,root:Dj,strong:Mj,table:jj,tableCell:Fj,tableRow:Uj,text:zj,thematicBreak:Pj,toml:fu,yaml:fu,definition:fu,footnoteDefinition:fu};function fu(){}const tN=-1,rc=0,hl=1,Bu=2,zg=3,Pg=4, $ g=5,Gg=6,nN=7,rN=8,xA=typeof self=="object"?self:globalThis,Gj=(e,t)=>{const r=(o,s)=>(e.set(s,o),o),a=o=>{if(e.has(o))return e.get(o);const[s,u]=t[o];switch(s){case rc:case tN:return r(u,o);case hl:{const d=r([],o);for(const p of u)d.push(a(p));return d}case Bu:{const d=r({},o);for(const[p,f]of u)d[a(p)]=a(f);return d}case zg:return r(new Date(u),o);case Pg:{const{source:d,flags:p}=u;return r(new RegExp(d,p),o)}case $ g:{const d=r(new Map,o);for(const[p,f]of u)d.set(a(p),a(f));return d}case Gg:{const d=r(new Set,o);for(const p of u)d.add(a(p));return d}case nN:{const{name:d,message:p}=u;return r(new xA[d](p),o)}case rN:return r(BigInt(u),o);case"BigInt":return r(Object(BigInt(u)),o);case"ArrayBuffer":return r(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:d}=new Uint8Array(u);return r(new DataView(d),u)}}return r(new xA[s](u),o)};return a},wA=e=>Gj(new Map,e)(0),Di="",{toString:Hj}={},{keys:Vj}=Object,cl=e=>{const t=typeof e;if(t!=="object"||!e)return[rc,t];const r=Hj.call(e).slice(8,-1);switch(r){case"Array":return[hl,Di];case"Object":return[Bu,Di];case"Date":return[zg,Di];case"RegExp":return[Pg,Di];case"Map":return[ $ g,Di];case"Set":return[Gg,Di];case"DataView":return[hl,r]}return r.includes("Array")?[hl,r]:r.includes("Error")?[nN,r]:[Bu,r]},gu=([e,t])=>e===rc&&(t==="function"||t==="symbol"),qj=(e,t,r,a)=>{const o=(u,d)=>{const p=a.push(u)-1;return r.set(d,p),p},s=u=>{if(r.has(u))return r.get(u);let[d,p]=cl(u);switch(d){case rc:{let h=u;switch(p){case"bigint":d=rN,h=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);h=null;break;case"undefined":return o([tN],u)}return o([d,h],u)}case hl:{if(p){let v=u;return p==="DataView"?v=new Uint8Array(u.buffer):p==="ArrayBuffer"&&(v=new Uint8Array(
Line truncated
` });const f={type:"element",tagName:"li",properties:s,children:u};return e.patch(t,f),e.applyData(t,f)}function Ij(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let a=-1;for(;!t&&++a<r.length;)t=tN(r[a])}return t}function tN(e){const t=e.spread;return t??e.children.length>1}function Lj(e,t){const r={},a=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++o<a.length;){const u=a[o];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function Dj(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Mj(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function jj(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Uj(e,t){const r=e.all(t),a=r.shift(),o=[];if(a){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(t.children[0],u),o.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},d=Dg(t.children[1]),p=D_(t.children[t.children.length-1]);d&&p&&(u.position={start:d,end:p}),o.push(u)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}function Fj(e,t,r){const a=r?r.children:void 0,s=(a?a.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,d=u?u.length:t.children.length;let p=-1;const f=[];for(;++p<d;){const b=t.children[p],v={},E=u?u[p]:void 0;E&&(v.align=E);let w={type:"element",tagName:s,properties:v,children:[]};b&&(w.children=e.all(b),e.patch(b,w),w=e.applyData(b,w)),f.push(w)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,h),e.applyData(t,h)}function Bj(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const vA=9,SA=32;function zj(e){const t=String(e),r=/ \r ? \n | \r /g;let a=r.exec(t),o=0;const s=[];for(;a;)s.push(xA(t.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(t);return s.push(xA(t.slice(o),o>0,!1)),s.join("")}function xA(e,t,r){let a=0,o=e.length;if(t){let s=e.codePointAt(a);for(;s===vA||s===SA;)a++,s=e.codePointAt(a)}if(r){let s=e.codePointAt(o-1);for(;s===vA||s===SA;)o--,s=e.codePointAt(o-1)}return o>a?e.slice(a,o):""}function Pj(e,t){const r={type:"text",value:zj(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function $ j(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Gj={blockquote:yj,break:Ej,code:vj,delete:Sj,emphasis:xj,footnoteReference:wj,heading:Tj,html:Aj,imageReference:kj,image:_j,inlineCode:Nj,linkReference:Rj,link:Cj,listItem:Oj,list:Lj,paragraph:Dj,root:Mj,strong:jj,table:Uj,tableCell:Bj,tableRow:Fj,text:Pj,thematicBreak: $ j,toml:fu,yaml:fu,definition:fu,footnoteDefinition:fu};function fu(){}const nN=-1,ac=0,hl=1,Bu=2,zg=3,Pg=4, $ g=5,Gg=6,rN=7,aN=8,wA=typeof self=="object"?self:globalThis,Hj=(e,t)=>{const r=(o,s)=>(e.set(s,o),o),a=o=>{if(e.has(o))return e.get(o);const[s,u]=t[o];switch(s){case ac:case nN:return r(u,o);case hl:{const d=r([],o);for(const p of u)d.push(a(p));return d}case Bu:{const d=r({},o);for(const[p,f]of u)d[a(p)]=a(f);return d}case zg:return r(new Date(u),o);case Pg:{const{source:d,flags:p}=u;return r(new RegExp(d,p),o)}case $ g:{const d=r(new Map,o);for(const[p,f]of u)d.set(a(p),a(f));return d}case Gg:{const d=r(new Set,o);for(const p of u)d.add(a(p));return d}case rN:{const{name:d,message:p}=u;return r(new wA[d](p),o)}case aN:return r(BigInt(u),o);case"BigInt":return r(Object(BigInt(u)),o);case"ArrayBuffer":return r(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:d}=new Uint8Array(u);return r(new DataView(d),u)}}return r(new wA[s](u),o)};return a},TA=e=>Hj(new Map,e)(0),Di="",{toString:Vj}={},{keys:qj}=Object,cl=e=>{const t=typeof e;if(t!=="object"||!e)return[ac,t];const r=Vj.call(e).slice(8,-1);switch(r){case"Array":return[hl,Di];case"Object":return[Bu,Di];case"Date":return[zg,Di];case"RegExp":return[Pg,Di];case"Map":return[ $ g,Di];case"Set":return[Gg,Di];case"DataView":return[hl,r]}return r.includes("Array")?[hl,r]:r.includes("Error")?[rN,r]:[Bu,r]},gu=([e,t])=>e===ac&&(t==="function"||t==="symbol"),Yj=(e,t,r,a)=>{const o=(u,d)=>{const p=a.push(u)-1;return r.set(d,p),p},s=u=>{if(r.has(u))return r.get(u);let[d,p]=cl(u);switch(d){case ac:{let h=u;switch(p){case"bigint":d=aN,h=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);h=null;break;case"undefined":return o([nN],u)}return o([d,h],u)}case hl:{if(p){let v=u;return p==="DataView"?v=new Uint8Array(u.buffer):p==="ArrayBuffer"&&(v=new Uint8Array(
Line truncated
` },{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value: `
` }]}}const a c=(function(e){if(e==null)return Jj ;if(typeof e=="function")return i c(e);if(typeof e=="object")return Array.isArray(e)?X j(e):Z j(e);if(typeof e=="string")return Q j(e);throw new Error("Expected function, string, or object as test")});function X j(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=a c(e[r]);return i c(a);function a(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function Z j(e){const t=e;return i c(r);function r(a){const o=a;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function Q j(e){return i c(t);function t(r){return r&&r.type===e}}function i c(e){return t;function t(r,a,o){return!!(e U(r)&&e.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function Jj (){return!0}function e U(e){return e!==null&&typeof e=="object"&&"type"in e}const a N=[],t U=!0,K f=!1,n U="skip";function i N(e,t,r,a){let o;typeof t=="function"&&typeof r!="function"?(a=r,r=t):o=t;const s=a c(o),u=a?-1:1;d(e,void 0,[])();function d(p,f,h){const b=p&&typeof p=="object"?p:{};if(typeof b.type=="string"){const E=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(E?"<"+E+">":""))+")"})}return v;function v(){let E=a N,w,T,k;if((!t||s(p,f,h[h.length-1]||void 0))&&(E=r U(r(p,h)),E[0]===K f))return E;if("children"in p&&p.children){const A=p;if(A.children&&E[0]!==n U)for(T=(a?A.children.length:-1)+u,k=h.concat(A);T>-1&&T<A.children.length;){const _=A.children[T];if(w=d(_,T,k)(),w[0]===K f)return w;T=typeof w[1]=="number"?w[1]:T+u}}return E}}}function r U(e){return Array.isArray(e)?e:typeof e=="number"?[t U,e]:e==null?a N:[e]}function Hg(e,t,r,a){let o,s,u;typeof t=="function"&&typeof r!="function"?(s=void 0,u=t,o=r):(s=t,u=r,o=a),i N(e,s,d,o);function d(p,f){const h=f[f.length-1],b=h?h.children.indexOf(p):void 0;return u(p,b,h)}}const X f={}.hasOwnProperty,a U={};function i U(e,t){const r=t||a U,a=new Map,o=new Map,s=new Map,u={... $ j,...r.handlers},d={all:f,applyData:l U,definitionById:a,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:u,one:p,options:r,patch:o U,wrap:u U};return Hg(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const b=h.type==="definition"?a:o,v=String(h.identifier).toUpperCase();b.has(v)||b.set(v,h)}}),d;function p(h,b){const v=h.type,E=d.handlers[v];if(X f.call(d.handlers,v)&&E)return E(d,h,b);if(d.options.passThrough&&d.options.passThrough.includes(v)){if("children"in h){const{children:T,...k}=h,A=zu(k);return A.children=d.all(h),A}return zu(h)}return(d.options.unknownHandler||s U)(d,h,b)}function f(h){const b=[];if("children"in h){const v=h.children;let E=-1;for(;++E<v.length;){const w=d.one(v[E],h);if(w){if(E&&v[E-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=A A(w.value)),!Array.isArray(w)&&w.type==="element")){const T=w.children[0];T&&T.type==="text"&&(T.value=A A(T.value))}Array.isArray(w)?b.push(...w):b.push(w)}}}return b}}function o U(e,t){e.position&&(t.position=W D(e))}function l U(e,t){let r=t;if(e&&e.data){const a=e.data.hName,o=e.data.hChildren,s=e.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const u="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:u}}r.type==="element"&&s&&Object.assign(r.properties,zu(s)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function s U(e,t){const r=t.data||{},a="value"in t&&!(X f.call(r,"hProperties")||X f.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function u U(e,t){const r=[];let a=-1;for(t&&r.push({type:"text",value: `
` }]}}const i c=(function(e){if(e==null)return eU ;if(typeof e=="function")return o c(e);if(typeof e=="object")return Array.isArray(e)?Z j(e):Q j(e);if(typeof e=="string")return J j(e);throw new Error("Expected function, string, or object as test")});function Z j(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=i c(e[r]);return o c(a);function a(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function Q j(e){const t=e;return o c(r);function r(a){const o=a;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function J j(e){return o c(t);function t(r){return r&&r.type===e}}function o c(e){return t;function t(r,a,o){return!!(t U(r)&&e.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function eU (){return!0}function t U(e){return e!==null&&typeof e=="object"&&"type"in e}const i N=[],n U=!0,X f=!1,r U="skip";function o N(e,t,r,a){let o;typeof t=="function"&&typeof r!="function"?(a=r,r=t):o=t;const s=i c(o),u=a?-1:1;d(e,void 0,[])();function d(p,f,h){const b=p&&typeof p=="object"?p:{};if(typeof b.type=="string"){const E=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(E?"<"+E+">":""))+")"})}return v;function v(){let E=i N,w,T,k;if((!t||s(p,f,h[h.length-1]||void 0))&&(E=a U(r(p,h)),E[0]===X f))return E;if("children"in p&&p.children){const A=p;if(A.children&&E[0]!==r U)for(T=(a?A.children.length:-1)+u,k=h.concat(A);T>-1&&T<A.children.length;){const _=A.children[T];if(w=d(_,T,k)(),w[0]===X f)return w;T=typeof w[1]=="number"?w[1]:T+u}}return E}}}function a U(e){return Array.isArray(e)?e:typeof e=="number"?[n U,e]:e==null?i N:[e]}function Hg(e,t,r,a){let o,s,u;typeof t=="function"&&typeof r!="function"?(s=void 0,u=t,o=r):(s=t,u=r,o=a),o N(e,s,d,o);function d(p,f){const h=f[f.length-1],b=h?h.children.indexOf(p):void 0;return u(p,b,h)}}const Z f={}.hasOwnProperty,i U={};function o U(e,t){const r=t||i U,a=new Map,o=new Map,s=new Map,u={...G j,...r.handlers},d={all:f,applyData:s U,definitionById:a,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:u,one:p,options:r,patch:l U,wrap:c U};return Hg(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const b=h.type==="definition"?a:o,v=String(h.identifier).toUpperCase();b.has(v)||b.set(v,h)}}),d;function p(h,b){const v=h.type,E=d.handlers[v];if(Z f.call(d.handlers,v)&&E)return E(d,h,b);if(d.options.passThrough&&d.options.passThrough.includes(v)){if("children"in h){const{children:T,...k}=h,A=zu(k);return A.children=d.all(h),A}return zu(h)}return(d.options.unknownHandler||u U)(d,h,b)}function f(h){const b=[];if("children"in h){const v=h.children;let E=-1;for(;++E<v.length;){const w=d.one(v[E],h);if(w){if(E&&v[E-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=k A(w.value)),!Array.isArray(w)&&w.type==="element")){const T=w.children[0];T&&T.type==="text"&&(T.value=k A(T.value))}Array.isArray(w)?b.push(...w):b.push(w)}}}return b}}function l U(e,t){e.position&&(t.position=K D(e))}function s U(e,t){let r=t;if(e&&e.data){const a=e.data.hName,o=e.data.hChildren,s=e.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const u="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:u}}r.type==="element"&&s&&Object.assign(r.properties,zu(s)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function u U(e,t){const r=t.data||{},a="value"in t&&!(Z f.call(r,"hProperties")||Z f.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function c U(e,t){const r=[];let a=-1;for(t&&r.push({type:"text",value: `
` });++a<e.length;)a&&r.push({type:"text",value: `
` }),r.push(e[a]);return t&&e.length>0&&r.push({type:"text",value: `
` }),r}function A A(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function k A(e,t){const r=i U(e,t),a=r.one(e,void 0),o=K j(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&s.children.push({type:"text",value: `
` },o),s}function cU(e,t){return e&&"run"in e?async function(r,a){const o=kA(r,{file:a,...t});await e.run(o,a)}:function(r,a){return kA(r,{file:a,...e||t})}}function _A(e){if(e)throw e}var hf,NA;function dU(){if(NA)return hf;NA=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var h=e.call(f,"constructor"),b=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!h&&!b)return!1;var v;for(v in f);return typeof v>"u"||e.call(f,v)},u=function(f,h){r&&h.name==="__proto__"?r(f,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):f[h.name]=h.newValue},d=function(f,h){if(h==="__proto__")if(e.call(f,h)){if(a)return a(f,h).value}else return;return f[h]};return hf=function p(){var f,h,b,v,E,w,T=arguments[0],k=1,A=arguments.length,_=!1;for(typeof T=="boolean"&&(_=T,T=arguments[1]||{},k=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});k<A;++k)if(f=arguments[k],f!=null)for(h in f)b=d(T,h),v=d(f,h),T!==v&&(_&&v&&(s(v)||(E=o(v)))?(E?(E=!1,w=b&&o(b)?b:[]):w=b&&s(b)?b:{},u(T,{name:h,newValue:p(_,w,v)})):typeof v<"u"&&u(T,{name:h,newValue:v}));return T},hf}var pU=dU();const bf=Xu(pU);function Zf(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function fU(){const e=[],t={run:r,use:a};return t;function r(...o){let s=-1;const u=o.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);d(null,...o);function d(p,...f){const h=e[++s];let b=-1;if(p){u(p);return}for(;++b<o.length;)(f[b]===null||f[b]===void 0)&&(f[b]=o[b]);o=f,h?gU(h,d)(...f):u(null,...f)}}function a(o){if(typeof o!="function")throw new TypeError("Expected ` middelware ` to be a function, not "+o);return e.push(o),t}}function gU(e,t){let r;return a;function a(...u){const d=e.length>u.length;let p;d&&u.push(o);try{p=e.apply(this,u)}catch(f){const h=f;if(d&&r)throw h;return o(h)}d||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(u,...d){r||(r=!0,t(u,...d))}function s(u){o(null,u)}}const Qn={basename:mU,dirname:hU,extname:bU,join:yU,sep:"/"};function mU(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ol(e);let r=0,a=-1,o=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else a<0&&(s=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let u=-1,d=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else u<0&&(s=!0,u=o+1),d>-1&&(e.codePointAt(o)===t.codePointAt(d--)?d<0&&(a=o):(d=-1,a=u));return r===a?a=u:a<0&&(a=e.length),e.slice(r,a)}function hU(e){if(Ol(e),e.length===0)return".";let t=-1,r=e.length,a;for(;--r;)if(e.codePointAt(r)===47){if(a){t=r;break}}else a||(a=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function bU(e){Ol(e);let t=e.length,r=-1,a=0,o=-1,s=0,u;for(;t--;){const d=e.codePointAt(t);if(d===47){if(u){a=t+1;break}continue}r<0&&(u=!0,r=t+1),d===46?o<0?o=t:s!==1&&(s=1):o>-1&&(s=-1)}return o<0||r<0||s===0||s===1&&o===r-1&&o===a+1?"":e.slice(o,r)}function yU(...e){let t=-1,r;for(;++t<e.length;)Ol(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":EU(r)}function EU(e){Ol(e);const t=e.codePointAt(0)===47;let r=vU(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function vU(e,t){let r="",a=0,o=-1,s=0,u=-1,d,p;for(;++u<=e.length;){if(u<e.length)d=e.codePointAt(u);else{if(d===47)break;d=47}if(d===47){if(!(o===u-1||s===1))if(o!==u-1&&s===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(p=r.lastIndexOf("/"),p!==r.length-1){p<0?(r="",a=0):(r=r.slice(0,p),a=r.length-1-r.lastIndexOf("/")),o=u,s=0;continue}}else if(r.length>0){r="",a=0,o=u,s=0;continue}}t&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+e.slice(o+1,u):r=e.slice(o+1,u),a=u-o-1;o=u,s=0}else d===46&&s>-1?s++:s=-1}return r}function Ol(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const SU={cwd:xU};function xU(){return"/"}function Qf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function wU(e){if(typeof e=="string")e=new URL(e);else if(!Qf(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received ` ' + e + "`" ) ; throw t . code = "ERR_INVALID_ARG_TYPE" , t } if ( e . protocol !== "file:" ) { const t = new TypeError ( "The URL must be of scheme file" ) ; throw t . code = "ERR_INVALID_URL_SCHEME" , t } return TU ( e ) } function TU ( e ) { if ( e . hostname !== "" ) { cons Line truncated
` :" ")+s.indentLines(s.containerFlow(a,d.current()),t?c N:f F))),f(),p}}function f F(e,t,r){return t===0?e:c N(e,t,r)}function c N(e,t,r){return(r?"":" ")+e}const g F=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];d N.peek=E F;function m F(){return{canContainEols:["delete"],enter:{strikethrough:b F},exit:{strikethrough:y F}}}function h F(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:g F}],handlers:{delete:d N}}}function b F(e){this.enter({type:"delete",children:[]},e)}function y F(e){this.exit(e)}function d N(e,t,r,a){const o=r.createTracker(a),s=r.enter("strikethrough");let u=o.move("~~");return u+=r.containerPhrasing(e,{...o.current(),before:u,after:"~"}),u+=o.move("~~"),s(),u}function E F(){return"~"}function v F(e){return e.length}function S F(e,t){const r=t||{},a=(r.align||[]).concat(),o=r.stringLength||v F,s=[],u=[],d=[],p=[];let f=0,h=-1;for(;++h<e.length;){const T=[],k=[];let A=-1;for(e[h].length>f&&(f=e[h].length);++A<e[h].length;){const _=x F(e[h][A]);if(r.alignDelimiters!==!1){const R=o(_);k[A]=R,(p[A]===void 0||R>p[A])&&(p[A]=R)}T.push(_)}u[h]=T,d[h]=k}let b=-1;if(typeof a=="object"&&"length"in a)for(;++b<f;)s[b]=M A(a[b]);else{const T=M A(a);for(;++b<f;)s[b]=T}b=-1;const v=[],E=[];for(;++b<f;){const T=s[b];let k="",A="";T===99?(k=":",A=":"):T===108?k=":":T===114&&(A=":");let _=r.alignDelimiters===!1?1:Math.max(1,p[b]-k.length-A.length);const R=k+"-".repeat(_)+A;r.alignDelimiters!==!1&&(_=k.length+_+A.length,_>p[b]&&(p[b]=_),E[b]=_),v[b]=R}u.splice(1,0,v),d.splice(1,0,E),h=-1;const w=[];for(;++h<u.length;){const T=u[h],k=d[h];b=-1;const A=[];for(;++b<f;){const _=T[b]||"";let R="",L="";if(r.alignDelimiters!==!1){const z =p[b]-(k[b]||0),D=s[b];D===114?R=" ".repeat(z ):D===99?z %2?(R=" ".repeat(z /2+.5),L=" ".repeat(z /2-.5)):(R=" ".repeat(z /2),L=R):L=" ".repeat(z )}r.delimiterStart!==!1&&!b&&A.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&_==="")&&(r.delimiterStart!==!1||b)&&A.push(" "),r.alignDelimiters!==!1&&A.push(R),A.push(_),r.alignDelimiters!==!1&&A.push(L),r.padding!==!1&&A.push(" "),(r.delimiterEnd!==!1||b!==f-1)&&A.push("|")}w.push(r.delimiterEnd===!1?A.join("").replace(/ + $ /,""):A.join(""))}return w.join( `
` )}function x F(e){return e==null?"":String(e)}function M A(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function w F(e,t,r,a){const o=r.enter("blockquote"),s=r.createTracker(a);s.move("> "),s.shift(2);const u=r.indentLines(r.containerFlow(e,s.current()),T F);return o(),u}function T F(e,t,r){return">"+(r?"":" ")+e}function A F(e,t){return j A(e,t.inConstruct,!0)&&!j A(e,t.notInConstruct,!1)}function j A(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let a=-1;for(;++a<t.length;)if(e.includes(t[a]))return!0;return!1}function U A(e,t,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character=== `
` &&A F(r.stack,r.unsafe[o]))return/[ \t ]/.test(a.before)?"":" ";return ` \ \
` }function k F(e,t){const r=String(e);let a=r.indexOf(t),o=a,s=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===o?++s>u&&(u=s):s=1,o=a+t.length,a=r.indexOf(t,o);return u}function _ F(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r \n ]/.test(e.value)&&!/^[ \t ]*(?:[ \r \n ]| $ )|(?:^|[ \r \n ])[ \t ]* $ /.test(e.value))}function N F(e){const t=e.options.fence||" ` ";if(t!==" ` "&&t!=="~")throw new Error("Cannot serialize code with ` "+t+" ` for ` options . fence ` , expected ` ` ` ` ` or ` ~ ` ");return t}function R F(e,t,r,a){const o=N F(r),s=e.value||" ",u=o===" ` "?"GraveAccent":"Tilde";if(_ F(e,r)){const b=r.enter("codeIndented"),v=r.indentLines(s,C F);return b(),v}const d=r.createTracker(a),p=o.repeat(Math.max(k F(s,o)+1,3)),f=r.enter("codeFenced");let h=d.move(p);if(e.lang){const b=r.enter( ` codeFencedLang$ { u } ` );h+=d.move(r.safe(e.lang,{before:h,after:" ",encode:[" ` "],...d.current()})),b()}if(e.lang&&e.meta){const b=r.enter(`codeFencedMeta${u}`);h+=d.move(" " ) , h += d . move ( r . safe ( e . meta , { before : h , after : `
` }),r}function k A(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function _ A(e,t){const r=o U(e,t),a=r.one(e,void 0),o=X j(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&s.children.push({type:"text",value: `
` },o),s}function dU(e,t){return e&&"run"in e?async function(r,a){const o=_A(r,{file:a,...t});await e.run(o,a)}:function(r,a){return _A(r,{file:a,...e||t})}}function NA(e){if(e)throw e}var bf,RA;function pU(){if(RA)return bf;RA=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var h=e.call(f,"constructor"),b=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!h&&!b)return!1;var v;for(v in f);return typeof v>"u"||e.call(f,v)},u=function(f,h){r&&h.name==="__proto__"?r(f,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):f[h.name]=h.newValue},d=function(f,h){if(h==="__proto__")if(e.call(f,h)){if(a)return a(f,h).value}else return;return f[h]};return bf=function p(){var f,h,b,v,E,w,T=arguments[0],k=1,A=arguments.length,_=!1;for(typeof T=="boolean"&&(_=T,T=arguments[1]||{},k=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});k<A;++k)if(f=arguments[k],f!=null)for(h in f)b=d(T,h),v=d(f,h),T!==v&&(_&&v&&(s(v)||(E=o(v)))?(E?(E=!1,w=b&&o(b)?b:[]):w=b&&s(b)?b:{},u(T,{name:h,newValue:p(_,w,v)})):typeof v<"u"&&u(T,{name:h,newValue:v}));return T},bf}var fU=pU();const yf=Zu(fU);function Qf(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function gU(){const e=[],t={run:r,use:a};return t;function r(...o){let s=-1;const u=o.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);d(null,...o);function d(p,...f){const h=e[++s];let b=-1;if(p){u(p);return}for(;++b<o.length;)(f[b]===null||f[b]===void 0)&&(f[b]=o[b]);o=f,h?mU(h,d)(...f):u(null,...f)}}function a(o){if(typeof o!="function")throw new TypeError("Expected ` middelware ` to be a function, not "+o);return e.push(o),t}}function mU(e,t){let r;return a;function a(...u){const d=e.length>u.length;let p;d&&u.push(o);try{p=e.apply(this,u)}catch(f){const h=f;if(d&&r)throw h;return o(h)}d||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(u,...d){r||(r=!0,t(u,...d))}function s(u){o(null,u)}}const Qn={basename:hU,dirname:bU,extname:yU,join:EU,sep:"/"};function hU(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ol(e);let r=0,a=-1,o=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else a<0&&(s=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let u=-1,d=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else u<0&&(s=!0,u=o+1),d>-1&&(e.codePointAt(o)===t.codePointAt(d--)?d<0&&(a=o):(d=-1,a=u));return r===a?a=u:a<0&&(a=e.length),e.slice(r,a)}function bU(e){if(Ol(e),e.length===0)return".";let t=-1,r=e.length,a;for(;--r;)if(e.codePointAt(r)===47){if(a){t=r;break}}else a||(a=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function yU(e){Ol(e);let t=e.length,r=-1,a=0,o=-1,s=0,u;for(;t--;){const d=e.codePointAt(t);if(d===47){if(u){a=t+1;break}continue}r<0&&(u=!0,r=t+1),d===46?o<0?o=t:s!==1&&(s=1):o>-1&&(s=-1)}return o<0||r<0||s===0||s===1&&o===r-1&&o===a+1?"":e.slice(o,r)}function EU(...e){let t=-1,r;for(;++t<e.length;)Ol(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":vU(r)}function vU(e){Ol(e);const t=e.codePointAt(0)===47;let r=SU(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function SU(e,t){let r="",a=0,o=-1,s=0,u=-1,d,p;for(;++u<=e.length;){if(u<e.length)d=e.codePointAt(u);else{if(d===47)break;d=47}if(d===47){if(!(o===u-1||s===1))if(o!==u-1&&s===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(p=r.lastIndexOf("/"),p!==r.length-1){p<0?(r="",a=0):(r=r.slice(0,p),a=r.length-1-r.lastIndexOf("/")),o=u,s=0;continue}}else if(r.length>0){r="",a=0,o=u,s=0;continue}}t&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+e.slice(o+1,u):r=e.slice(o+1,u),a=u-o-1;o=u,s=0}else d===46&&s>-1?s++:s=-1}return r}function Ol(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xU={cwd:wU};function wU(){return"/"}function Jf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function TU(e){if(typeof e=="string")e=new URL(e);else if(!Jf(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received ` ' + e + "`" ) ; throw t . code = "ERR_INVALID_ARG_TYPE" , t } if ( e . protocol !== "file:" ) { const t = new TypeError ( "The URL must be of scheme file" ) ; throw t . code = "ERR_INVALID_URL_SCHEME" , t } return AU ( e ) } function AU ( e ) { if ( e . hostname !== "" ) { cons Line truncated
` :" ")+s.indentLines(s.containerFlow(a,d.current()),t?d N:g F))),f(),p}}function g F(e,t,r){return t===0?e:d N(e,t,r)}function d N(e,t,r){return(r?"":" ")+e}const m F=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];p N.peek=v F;function h F(){return{canContainEols:["delete"],enter:{strikethrough:y F},exit:{strikethrough:E F}}}function b F(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:m F}],handlers:{delete:p N}}}function y F(e){this.enter({type:"delete",children:[]},e)}function E F(e){this.exit(e)}function p N(e,t,r,a){const o=r.createTracker(a),s=r.enter("strikethrough");let u=o.move("~~");return u+=r.containerPhrasing(e,{...o.current(),before:u,after:"~"}),u+=o.move("~~"),s(),u}function v F(){return"~"}function S F(e){return e.length}function x F(e,t){const r=t||{},a=(r.align||[]).concat(),o=r.stringLength||S F,s=[],u=[],d=[],p=[];let f=0,h=-1;for(;++h<e.length;){const T=[],k=[];let A=-1;for(e[h].length>f&&(f=e[h].length);++A<e[h].length;){const _=w F(e[h][A]);if(r.alignDelimiters!==!1){const R=o(_);k[A]=R,(p[A]===void 0||R>p[A])&&(p[A]=R)}T.push(_)}u[h]=T,d[h]=k}let b=-1;if(typeof a=="object"&&"length"in a)for(;++b<f;)s[b]=j A(a[b]);else{const T=j A(a);for(;++b<f;)s[b]=T}b=-1;const v=[],E=[];for(;++b<f;){const T=s[b];let k="",A="";T===99?(k=":",A=":"):T===108?k=":":T===114&&(A=":");let _=r.alignDelimiters===!1?1:Math.max(1,p[b]-k.length-A.length);const R=k+"-".repeat(_)+A;r.alignDelimiters!==!1&&(_=k.length+_+A.length,_>p[b]&&(p[b]=_),E[b]=_),v[b]=R}u.splice(1,0,v),d.splice(1,0,E),h=-1;const w=[];for(;++h<u.length;){const T=u[h],k=d[h];b=-1;const A=[];for(;++b<f;){const _=T[b]||"";let R="",L="";if(r.alignDelimiters!==!1){const F =p[b]-(k[b]||0),D=s[b];D===114?R=" ".repeat(F ):D===99?F %2?(R=" ".repeat(F /2+.5),L=" ".repeat(F /2-.5)):(R=" ".repeat(F /2),L=R):L=" ".repeat(F )}r.delimiterStart!==!1&&!b&&A.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&_==="")&&(r.delimiterStart!==!1||b)&&A.push(" "),r.alignDelimiters!==!1&&A.push(R),A.push(_),r.alignDelimiters!==!1&&A.push(L),r.padding!==!1&&A.push(" "),(r.delimiterEnd!==!1||b!==f-1)&&A.push("|")}w.push(r.delimiterEnd===!1?A.join("").replace(/ + $ /,""):A.join(""))}return w.join( `
` )}function w F(e){return e==null?"":String(e)}function j A(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function T F(e,t,r,a){const o=r.enter("blockquote"),s=r.createTracker(a);s.move("> "),s.shift(2);const u=r.indentLines(r.containerFlow(e,s.current()),A F);return o(),u}function A F(e,t,r){return">"+(r?"":" ")+e}function k F(e,t){return U A(e,t.inConstruct,!0)&&!U A(e,t.notInConstruct,!1)}function U A(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let a=-1;for(;++a<t.length;)if(e.includes(t[a]))return!0;return!1}function F A(e,t,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character=== `
` &&k F(r.stack,r.unsafe[o]))return/[ \t ]/.test(a.before)?"":" ";return ` \ \
` }function _ F(e,t){const r=String(e);let a=r.indexOf(t),o=a,s=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===o?++s>u&&(u=s):s=1,o=a+t.length,a=r.indexOf(t,o);return u}function N F(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r \n ]/.test(e.value)&&!/^[ \t ]*(?:[ \r \n ]| $ )|(?:^|[ \r \n ])[ \t ]* $ /.test(e.value))}function R F(e){const t=e.options.fence||" ` ";if(t!==" ` "&&t!=="~")throw new Error("Cannot serialize code with ` "+t+" ` for ` options . fence ` , expected ` ` ` ` ` or ` ~ ` ");return t}function C F(e,t,r,a){const o=R F(r),s=e.value||" ",u=o===" ` "?"GraveAccent":"Tilde";if(N F(e,r)){const b=r.enter("codeIndented"),v=r.indentLines(s,O F);return b(),v}const d=r.createTracker(a),p=o.repeat(Math.max(_ F(s,o)+1,3)),f=r.enter("codeFenced");let h=d.move(p);if(e.lang){const b=r.enter( ` codeFencedLang$ { u } ` );h+=d.move(r.safe(e.lang,{before:h,after:" ",encode:[" ` "],...d.current()})),b()}if(e.lang&&e.meta){const b=r.enter(`codeFencedMeta${u}`);h+=d.move(" " ) , h += d . move ( r . safe ( e . meta , { before : h , after : `
` ,encode:[" ` " ] , ... d . current ( ) } ) ) , b ( ) } return h += d . move ( `
` ),s&&(h+=d.move(s+ `
` )),h+=d.move(p),f(),h}function C F(e,t,r){return(r?"":" ")+e}function qg(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with ` "+t+" ` for ` options . quote ` , expected ` \ "`, or `'`" ) ; return t } function OF ( e , t , r , a ) { const o = qg ( r ) , s = o === '"' ? "Quote" : "Apostrophe" , u = r . enter ( "definition" ) ; let d = r . enter ( "label" ) ; const p = r . createTracker ( a ) ; let f = p . move ( "[" ) ; return f += p . move ( r . safe ( r . associationId ( e ) , { before : f , after : "]" , ... p . current ( ) } ) ) , f += p . move ( "]: " ) , d ( ) , ! e . url || /[\0- \u007F]/ . test ( e . url ) ? ( d = r . enter ( "destinationLiteral" ) , f += p . move ( "<" ) , f += p . move ( r . safe ( e . url , { before : f , after : ">" , ... p . current ( ) } ) ) , f += p . move ( ">" ) ) : ( d = r . enter ( "destinationRaw" ) , f += p . move ( r . safe ( e . url , { before : f , after : e . title ? " " : `
` ,...p.current()}))),d(),e.title&&(d=r.enter( ` title$ { s } ` ),f+=p.move(" "+o),f+=p.move(r.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),d()),u(),f}function I F(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with ` "+t+" ` for ` options . emphasis ` , expected ` * ` , or ` _ ` ");return t}function wl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Pu(e,t,r){const a=Wi(e),o=Wi(t);return a===void 0?o===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}p N.peek=L F;function p N(e,t,r,a){const o=I F(r),s=r.enter("emphasis"),u=r.createTracker(a),d=u.move(o);let p=u.move(r.containerPhrasing(e,{after:o,before:d,...u.current()}));const f=p.charCodeAt(0),h=Pu(a.before.charCodeAt(a.before.length-1),f,o);h.inside&&(p=wl(f)+p.slice(1));const b=p.charCodeAt(p.length-1),v=Pu(a.after.charCodeAt(0),b,o);v.inside&&(p=p.slice(0,-1)+wl(b));const E=u.move(o);return s(),r.attentionEncodeSurroundingInfo={after:v.outside,before:h.outside},d+p+E}function L F(e,t,r){return r.options.emphasis||"*"}function D F(e,t){let r=!1;return Hg(e,function(a){if("value"in a&&/ \r ? \n | \r /.test(a.value)||a.type==="break")return r=!0,K f}),!!((!e.depth||e.depth<3)&&Fg(e)&&(t.options.setext||r))}function M F(e,t,r,a){const o=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(D F(e,r)){const h=r.enter("headingSetext"),b=r.enter("phrasing"),v=r.containerPhrasing(e,{...s.current(),before: `
` )),h+=d.move(p),f(),h}function O F(e,t,r){return(r?"":" ")+e}function qg(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with ` "+t+" ` for ` options . quote ` , expected ` \ "`, or `'`" ) ; return t } function IF ( e , t , r , a ) { const o = qg ( r ) , s = o === '"' ? "Quote" : "Apostrophe" , u = r . enter ( "definition" ) ; let d = r . enter ( "label" ) ; const p = r . createTracker ( a ) ; let f = p . move ( "[" ) ; return f += p . move ( r . safe ( r . associationId ( e ) , { before : f , after : "]" , ... p . current ( ) } ) ) , f += p . move ( "]: " ) , d ( ) , ! e . url || /[\0- \u007F]/ . test ( e . url ) ? ( d = r . enter ( "destinationLiteral" ) , f += p . move ( "<" ) , f += p . move ( r . safe ( e . url , { before : f , after : ">" , ... p . current ( ) } ) ) , f += p . move ( ">" ) ) : ( d = r . enter ( "destinationRaw" ) , f += p . move ( r . safe ( e . url , { before : f , after : e . title ? " " : `
` ,...p.current()}))),d(),e.title&&(d=r.enter( ` title$ { s } ` ),f+=p.move(" "+o),f+=p.move(r.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),d()),u(),f}function L F(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with ` "+t+" ` for ` options . emphasis ` , expected ` * ` , or ` _ ` ");return t}function wl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Pu(e,t,r){const a=Wi(e),o=Wi(t);return a===void 0?o===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}f N.peek=D F;function f N(e,t,r,a){const o=L F(r),s=r.enter("emphasis"),u=r.createTracker(a),d=u.move(o);let p=u.move(r.containerPhrasing(e,{after:o,before:d,...u.current()}));const f=p.charCodeAt(0),h=Pu(a.before.charCodeAt(a.before.length-1),f,o);h.inside&&(p=wl(f)+p.slice(1));const b=p.charCodeAt(p.length-1),v=Pu(a.after.charCodeAt(0),b,o);v.inside&&(p=p.slice(0,-1)+wl(b));const E=u.move(o);return s(),r.attentionEncodeSurroundingInfo={after:v.outside,before:h.outside},d+p+E}function D F(e,t,r){return r.options.emphasis||"*"}function M F(e,t){let r=!1;return Hg(e,function(a){if("value"in a&&/ \r ? \n | \r /.test(a.value)||a.type==="break")return r=!0,X f}),!!((!e.depth||e.depth<3)&&Fg(e)&&(t.options.setext||r))}function j F(e,t,r,a){const o=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(M F(e,r)){const h=r.enter("headingSetext"),b=r.enter("phrasing"),v=r.containerPhrasing(e,{...s.current(),before: `
` ,after: `
` });return b(),h(),v+ `
` +(o===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf(" \r "),v.lastIndexOf( `
` ))+1))}const u="#".repeat(o),d=r.enter("headingAtx"),p=r.enter("phrasing");s.move(u+" ");let f=r.containerPhrasing(e,{before:"# ",after: `
` ,...s.current()});return/^[ \t ]/.test(f)&&(f=wl(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),p(),d(),f}fN.peek=jF;function fN(e){return e.value||""}function jF(){return"<"}gN.peek=UF;function gN(e,t,r,a){const o=qg(r),s=o==='"'?"Quote":"Apostrophe",u=r.enter("image");let d=r.enter("label");const p=r.createTracker(a);let f=p.move("![");return f+=p.move(r.safe(e.alt,{before:f,after:"]",...p.current()})),f+=p.move("]("),d(),!e.url&&e.title||/[ \0 - \u 007F]/.test(e.url)?(d=r.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(r.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(d=r.enter("destinationRaw"),f+=p.move(r.safe(e.url,{before:f,after:e.title?" ":")",...p.current()}))),d(),e.title&&(d=r.enter( ` title$ { s } ` ),f+=p.move(" "+o),f+=p.move(r.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),d()),f+=p.move(")"),u(),f}function UF(){return"!"}mN.peek=FF;function mN(e,t,r,a){const o=e.referenceType,s=r.enter("imageReference");let u=r.enter("label");const d=r.createTracker(a);let p=d.move("![");const f=r.safe(e.alt,{before:p,after:"]",...d.current()});p+=d.move(f+"]["),u();const h=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:p,after:"]",...d.current()});return u(),r.stack=h,s(),o==="full"||!f||f!==b?p+=d.move(b+"]"):o==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function FF(){return"!"}hN.peek=BF;function hN(e,t,r){let a=e.value||"",o=" ` ",s=-1;for(;new RegExp(" ( ^ | [ ^ ` ])"+o+"([^ ` ] | $ ) ").test(a);)o+=" ` ";for(/[^ \r \n ]/.test(a)&&(/^[ \r \n ]/.test(a)&&/[ \r \n ] $ /.test(a)||/^ ` | ` $ /.test(a))&&(a=" "+a+" ");++s<r.unsafe.length;){const u=r.unsafe[s],d=r.compilePattern(u);let p;if(u.atBreak)for(;p=d.exec(a);){let f=p.index;a.charCodeAt(f)===10&&a.charCodeAt(f-1)===13&&f--,a=a.slice(0,f)+" "+a.slice(p.index+1)}}return o+a+o}function BF(){return" ` "}function bN(e,t){const r=Fg(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===" text "&&(r===e.url||" mailto : "+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}yN.peek=zF;function yN(e,t,r,a){const o=qg(r),s=o==='" ' ? "Quote" : "Apostrophe" , u = r . createTracker ( a ) ; let d , p ; if ( bN ( e , r ) ) { const h = r . stack ; r . stack = [ ] , d = r . enter ( "autolink" ) ; let b = u . move ( "<" ) ; return b += u . move ( r . containerPhrasing ( e , { before : b , after : ">" , ... u . current ( ) } ) ) , b += u . move ( ">" ) , d ( ) , r . stack = h , b } d = r . enter ( "link" ) , p = r . enter ( "label" ) ; let f = u . move ( "[" ) ; return f += u . move ( r . containerPhrasing ( e , { before : f , after : "](" , ... u . current ( ) } ) ) , f += u . move ( "](" ) , p ( ) , ! e . url && e . title || /[\0- \u007F]/ . test ( e . url ) ? ( p = r . enter ( "destinationLiteral" ) , f += u . move ( "<" ) , f += u . move ( r . safe ( e . url , { before : f , after : ">" , ... u . current ( ) } ) ) , f += u . move ( ">" ) ) : ( p = r . enter ( "destinationRaw" ) , f += u . move ( r . safe ( e . url , { before : f , after : e . title ? " " : ")" , ... u . current ( ) } ) ) ) , p ( ) , e . title && ( p = r . enter ( ` title ${ s } ` ) , f += u . move ( " " + o ) , f += u . move ( r . safe ( e . title , { before : f , after : o , ... u . current ( ) } ) ) , f += u . move ( o ) , p ( ) ) , f += u . move ( ")" ) , d ( ) , f } function zF ( e , t , r ) { return bN ( e , r ) ? "<" : "[" } EN . peek = PF ; function EN ( e , t , r , a ) { const o = e . referenceType , s = r . enter ( "linkReference" ) ; let u = r . enter ( "label" ) ; const d = r . createTracker ( a ) ; let p = d . move ( "[" ) ; const f = r . containerPhrasing ( e , { before : p , after : "]" , ... d . current ( ) } ) ; p += d . move ( f + "][" ) , u ( ) ; const h = r . stack ; r . stack = [ ] , u = r . enter ( "reference" ) ; const b = r . safe ( r . associationId ( e ) , { before : p , after : "]" , ... d . current ( ) } ) ; return u ( ) , r . stack = h , s ( ) , o === "full" || ! f || f !== b ? p += d . move ( b + "]" ) : o === "shortcut" ? p = p . slice ( 0 , - 1 ) : p += d . move ( "]" ) , p } function PF ( ) { return "[" } function Yg ( e ) { const t = e . options . bullet || "*" ; if ( t !== "*" && t !== "+" && t !== "-" ) throw new Error ( "Cannot serialize items with `" + t + "` for `options.bullet`, expected `*`, `+`, or `-`" ) ; return t } function $F ( e ) { const t = Yg ( e ) , r = e . options . bulletOther ; if ( ! r ) return t === "*" ? "-" : "*" ; if ( r !== "*" && r !== "+" && r !== "-" ) throw new Error ( "Cannot serialize items with `" + r + "` for `options.bulletOther`, expected `*`, `+`, or `-`" ) ; if ( r === t ) throw new Error ( "Expected `bullet` (`" + t + "`) and `bulletOther` (`" + r + "`) to be different" ) ; return r } function GF ( e ) { const t = e . options . bulletOrdered || "." ; if ( t !== "." && t !== ")" ) throw new Error ( "Cannot serialize items with `" + t + "` for `options.bulletOrdered`, expected `.` or `)`" ) ; return t } function vN ( e ) { const t = e . options . rule || "*" ; if ( t !== "*" && t !== "-" && t !== "_" ) throw new Error ( "Cannot serialize rules with `" + t + "` for `options.rule`, expected `*`, `-`, or `_`" ) ; return t } function HF ( e , t , r , a ) { const o = r . enter ( "list" ) , s = r . bulletCurrent ; let u = e . ordered ? GF ( r ) : Yg ( r ) ; const d = e . ordered ? u === "." ? ")" : "." : $F ( r ) ; let p = t && r . bulletLastUsed ? u === r . bulletLastUsed : ! 1 ; if ( ! e . ordered ) { const h = e . children ? e . children [ 0 ] : void 0 ; if ( ( u === "*" || u === "-" ) && h && ( ! h . children || ! h . children [ 0 ] ) && r . stack [ r . stack . length - 1 ] === "list" && r . stack [ r . stack . length - 2 ] === "listItem" && r . stack [ r . stack . length - 3 ] === "list" && r . stack [ r . stack . length - 4 ] === "listItem" && r . indexStack [ r . indexStack . length - 1 ] === 0 && r . indexStack [ r . indexStack . length - 2 ] === 0 && r . indexStack [ r . indexStack . length - 3 ] === 0 && ( p = ! 0 ) , vN ( r ) === u && h ) { let b = - 1 ; for ( ; ++ b < e . chil Line truncated
` ,...s.current()});return/^[ \t ]/.test(f)&&(f=wl(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),p(),d(),f}gN.peek=UF;function gN(e){return e.value||""}function UF(){return"<"}mN.peek=FF;function mN(e,t,r,a){const o=qg(r),s=o==='"'?"Quote":"Apostrophe",u=r.enter("image");let d=r.enter("label");const p=r.createTracker(a);let f=p.move("![");return f+=p.move(r.safe(e.alt,{before:f,after:"]",...p.current()})),f+=p.move("]("),d(),!e.url&&e.title||/[ \0 - \u 007F]/.test(e.url)?(d=r.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(r.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(d=r.enter("destinationRaw"),f+=p.move(r.safe(e.url,{before:f,after:e.title?" ":")",...p.current()}))),d(),e.title&&(d=r.enter( ` title$ { s } ` ),f+=p.move(" "+o),f+=p.move(r.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),d()),f+=p.move(")"),u(),f}function FF(){return"!"}hN.peek=BF;function hN(e,t,r,a){const o=e.referenceType,s=r.enter("imageReference");let u=r.enter("label");const d=r.createTracker(a);let p=d.move("![");const f=r.safe(e.alt,{before:p,after:"]",...d.current()});p+=d.move(f+"]["),u();const h=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:p,after:"]",...d.current()});return u(),r.stack=h,s(),o==="full"||!f||f!==b?p+=d.move(b+"]"):o==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function BF(){return"!"}bN.peek=zF;function bN(e,t,r){let a=e.value||"",o=" ` ",s=-1;for(;new RegExp(" ( ^ | [ ^ ` ])"+o+"([^ ` ] | $ ) ").test(a);)o+=" ` ";for(/[^ \r \n ]/.test(a)&&(/^[ \r \n ]/.test(a)&&/[ \r \n ] $ /.test(a)||/^ ` | ` $ /.test(a))&&(a=" "+a+" ");++s<r.unsafe.length;){const u=r.unsafe[s],d=r.compilePattern(u);let p;if(u.atBreak)for(;p=d.exec(a);){let f=p.index;a.charCodeAt(f)===10&&a.charCodeAt(f-1)===13&&f--,a=a.slice(0,f)+" "+a.slice(p.index+1)}}return o+a+o}function zF(){return" ` "}function yN(e,t){const r=Fg(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===" text "&&(r===e.url||" mailto : "+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}EN.peek=PF;function EN(e,t,r,a){const o=qg(r),s=o==='" ' ? "Quote" : "Apostrophe" , u = r . createTracker ( a ) ; let d , p ; if ( yN ( e , r ) ) { const h = r . stack ; r . stack = [ ] , d = r . enter ( "autolink" ) ; let b = u . move ( "<" ) ; return b += u . move ( r . containerPhrasing ( e , { before : b , after : ">" , ... u . current ( ) } ) ) , b += u . move ( ">" ) , d ( ) , r . stack = h , b } d = r . enter ( "link" ) , p = r . enter ( "label" ) ; let f = u . move ( "[" ) ; return f += u . move ( r . containerPhrasing ( e , { before : f , after : "](" , ... u . current ( ) } ) ) , f += u . move ( "](" ) , p ( ) , ! e . url && e . title || /[\0- \u007F]/ . test ( e . url ) ? ( p = r . enter ( "destinationLiteral" ) , f += u . move ( "<" ) , f += u . move ( r . safe ( e . url , { before : f , after : ">" , ... u . current ( ) } ) ) , f += u . move ( ">" ) ) : ( p = r . enter ( "destinationRaw" ) , f += u . move ( r . safe ( e . url , { before : f , after : e . title ? " " : ")" , ... u . current ( ) } ) ) ) , p ( ) , e . title && ( p = r . enter ( ` title ${ s } ` ) , f += u . move ( " " + o ) , f += u . move ( r . safe ( e . title , { before : f , after : o , ... u . current ( ) } ) ) , f += u . move ( o ) , p ( ) ) , f += u . move ( ")" ) , d ( ) , f } function PF ( e , t , r ) { return yN ( e , r ) ? "<" : "[" } vN . peek = $F ; function vN ( e , t , r , a ) { const o = e . referenceType , s = r . enter ( "linkReference" ) ; let u = r . enter ( "label" ) ; const d = r . createTracker ( a ) ; let p = d . move ( "[" ) ; const f = r . containerPhrasing ( e , { before : p , after : "]" , ... d . current ( ) } ) ; p += d . move ( f + "][" ) , u ( ) ; const h = r . stack ; r . stack = [ ] , u = r . enter ( "reference" ) ; const b = r . safe ( r . associationId ( e ) , { before : p , after : "]" , ... d . current ( ) } ) ; return u ( ) , r . stack = h , s ( ) , o === "full" || ! f || f !== b ? p += d . move ( b + "]" ) : o === "shortcut" ? p = p . slice ( 0 , - 1 ) : p += d . move ( "]" ) , p } function $F ( ) { return "[" } function Yg ( e ) { const t = e . options . bullet || "*" ; if ( t !== "*" && t !== "+" && t !== "-" ) throw new Error ( "Cannot serialize items with `" + t + "` for `options.bullet`, expected `*`, `+`, or `-`" ) ; return t } function GF ( e ) { const t = Yg ( e ) , r = e . options . bulletOther ; if ( ! r ) return t === "*" ? "-" : "*" ; if ( r !== "*" && r !== "+" && r !== "-" ) throw new Error ( "Cannot serialize items with `" + r + "` for `options.bulletOther`, expected `*`, `+`, or `-`" ) ; if ( r === t ) throw new Error ( "Expected `bullet` (`" + t + "`) and `bulletOther` (`" + r + "`) to be different" ) ; return r } function HF ( e ) { const t = e . options . bulletOrdered || "." ; if ( t !== "." && t !== ")" ) throw new Error ( "Cannot serialize items with `" + t + "` for `options.bulletOrdered`, expected `.` or `)`" ) ; return t } function SN ( e ) { const t = e . options . rule || "*" ; if ( t !== "*" && t !== "-" && t !== "_" ) throw new Error ( "Cannot serialize rules with `" + t + "` for `options.rule`, expected `*`, `-`, or `_`" ) ; return t } function VF ( e , t , r , a ) { const o = r . enter ( "list" ) , s = r . bulletCurrent ; let u = e . ordered ? HF ( r ) : Yg ( r ) ; const d = e . ordered ? u === "." ? ")" : "." : GF ( r ) ; let p = t && r . bulletLastUsed ? u === r . bulletLastUsed : ! 1 ; if ( ! e . ordered ) { const h = e . children ? e . children [ 0 ] : void 0 ; if ( ( u === "*" || u === "-" ) && h && ( ! h . children || ! h . children [ 0 ] ) && r . stack [ r . stack . length - 1 ] === "list" && r . stack [ r . stack . length - 2 ] === "listItem" && r . stack [ r . stack . length - 3 ] === "list" && r . stack [ r . stack . length - 4 ] === "listItem" && r . indexStack [ r . indexStack . length - 1 ] === 0 && r . indexStack [ r . indexStack . length - 2 ] === 0 && r . indexStack [ r . indexStack . length - 3 ] === 0 && ( p = ! 0 ) , SN ( r ) === u && h ) { let b = - 1 ; for ( ; ++ b < e . chil Line truncated
` ,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:u,tableCell:p,tableRow:d}};function u(E,w,T,k){return f(h(E,T,k),E.align)}function d(E,w,T,k){const A=b(E,T,k),_=f([A]);return _.slice(0,_.indexOf( `
` ))}function p(E,w,T,k){const A=T.enter("tableCell"),_=T.enter("phrasing"),R=T.containerPhrasing(E,{...k,before:s,after:s});return _(),A(),R}function f(E,w){return SF(E,{align:w,alignDelimiters:a,padding:r,stringLength:o})}function h(E,w,T){const k=E.children;let A=-1;const _=[],R=w.enter("table");for(;++A<k.length;)_[A]=b(k[A],w,T);return R(),_}function b(E,w,T){const k=E.children;let A=-1;const _=[],R=w.enter("tableRow");for(;++A<k.length;)_[A]=p(k[A],E,w,T);return R(),_}function v(E,w,T){let k=xN.inlineCode(E,w,T);return T.stack.includes("tableCell")&&(k=k.replace(/ \| /g," \\ $ &")),k}}function sB(){return{exit:{taskListCheckValueChecked:BA,taskListCheckValueUnchecked:BA,paragraph:cB}}}function uB(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:dB}}}function BA(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function cB(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const a=r.children[0];if(a&&a.type==="text"){const o=t.children;let s=-1,u;for(;++s<o.length;){const d=o[s];if(d.type==="paragraph"){u=d;break}}u===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function dB(e,t,r,a){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=r.createTracker(a);s&&d.move(u);let p=xN.listItem(e,t,r,{...a,...d.current()});return s&&(p=p.replace(/^(?:[*+-]| \d + \. )([ \r \n ]| {1,3})/,f)),p;function f(h){return h+u}}function pB(){return[HU(),dF(),mF(),tB(),sB()]}function fB(e){return{extensions:[VU(),pF(e),hF(),lB(e),uB()]}}const gB={tokenize:vB,partial:!0},wN={tokenize:SB,partial:!0},TN={tokenize:xB,partial:!0},AN={tokenize:wB,partial:!0},mB={tokenize:TB,partial:!0},kN={name:"wwwAutolink",tokenize:yB,previous:NN},_N={name:"protocolAutolink",tokenize:EB,previous:RN},Nr={name:"emailAutolink",tokenize:bB,previous:CN},rr={};function hB(){return{text:rr}}let Da=48;for(;Da<123;)rr[Da]=Nr,Da++,Da===58?Da=65:Da===91&&(Da=97);rr[43]=Nr;rr[45]=Nr;rr[46]=Nr;rr[95]=Nr;rr[72]=[Nr,_N];rr[104]=[Nr,_N];rr[87]=[Nr,kN];rr[119]=[Nr,kN];function bB(e,t,r){const a=this;let o,s;return u;function u(b){return!Jf(b)||!CN.call(a,a.previous)||Wg(a.events)?r(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(b))}function d(b){return Jf(b)?(e.consume(b),d):b===64?(e.consume(b),p):r(b)}function p(b){return b===46?e.check(mB,h,f)(b):b===45||b===95||Dt(b)?(s=!0,e.consume(b),p):h(b)}function f(b){return e.consume(b),o=!0,p}function h(b){return s&&o&&Ht(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):r(b)}}function yB(e,t,r){const a=this;return o;function o(u){return u!==87&&u!==119||!NN.call(a,a.previous)||Wg(a.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gB,e.attempt(wN,e.attempt(TN,s),r),r)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function EB(e,t,r){const a=this;let o="",s=!1;return u;function u(b){return(b===72||b===104)&&RN.call(a,a.previous)&&!Wg(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(b),e.consume(b),d):r(b)}function d(b){if(Ht(b)&&o.length<5)return o+=String.fromCodePoint(b),e.consume(b),d;if(b===58){const v=o.toLowerCase();if(v==="http"||v==="https")return e.consume(b),p}return r(b)}function p(b){return b===47?(e.consume(b),s?f:(s=!0,p)):r(b)}function f(b){return b===null||Fu(b)||rt(b)||Ua(b)||tc(b)?r(b):e.attempt(wN,e.attempt(TN,h),r)(b)}function h(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function vB(e,t,r){let a=0;return o;function o(u){return(u===87||u===119)&&a<3?(a++,e.consume(u),o):u===46&&a===3?(e.consume(u),s):r(u)}function s(u){return u===null?r(u):t(u)}}function SB(e,t,r){let a,o,s;return u;function u(f){return f===46||f===95?e.check(AN,p,d)(f):f===null||rt(f)||Ua(f)||f!==45&&tc(f)?p(f):(s=!0,e.consume(f),u)}function d(f){return f===95?a=!0:(o=a,a=void 0),e.consume(f),u}function p(f){return o||a||!s?r(f):t(f)}}function xB(e,t){let r=0,a=0;return o;function o(u){return u===40?(r++,e.consume(u),o):u===41&&a<r?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(AN,t,s)(u):u===null||rt(u)||Ua(u)?t(u):(e.consume(u),o)}function s(u){return u===41&&a++,e.consume(u),o}}function wB(e,t,r){return a;function a(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),a):d===38?(e.consume(d),s):d===93?(e.consume(d),o):d===60||d===null||rt(d)||Ua(d)?t(d):r(d)}function o(d){return d===null||d===40||d===91||rt(d)||Ua(d)?t(d):a(d)}function s(d){return Ht(d)?u(d):r(d)}function u(d){re
Line truncated
` )===-1?g.jsx("code",{className:"bg-primary/10 text-primary px-1.5 py-0.5 rounded text-sm font-mono",children:h}):g.jsx("code",{className:"block font-mono",children:h}),pre:({children:f})=>g.jsx("pre",{className:"bg-muted p-4 rounded-lg text-sm overflow-auto my-4 font-mono whitespace-pre",children:f}),table:({children:f})=>g.jsx("div",{className:"overflow-auto my-4",children:g.jsx("table",{className:"w-full border-collapse text-sm",children:f})}),thead:({children:f})=>g.jsx("thead",{className:"bg-muted/50",children:f}),tr:({children:f})=>g.jsx("tr",{className:"border-b",children:f}),th:({children:f})=>g.jsx("th",{className:"px-4 py-2 text-left font-medium",children:f}),td:({children:f})=>g.jsx("td",{className:"px-4 py-2 text-muted-foreground",children:f}),hr:()=>g.jsx("hr",{className:"my-6 border-border"}),strong:({children:f})=>g.jsx("strong",{className:"font-semibold text-foreground",children:f}),em:({children:f})=>g.jsx("em",{children:f})};return r?g.jsx("main",{className:"flex-1 p-8 max-w-3xl",children:s?g.jsx("div",{className:"text-muted-foreground",children:"Loading content..."}):a?g.jsx("article",{className:"prose max-w-none",children:g.jsx(l N,{remarkPlugins:[O N],components:p,children:a})}):g.jsx("div",{className:"bg-muted/50 border rounded-lg p-6",children:g.jsxs("p",{className:"text-muted-foreground",children:["Content for ",g.jsx("strong",{className:"text-primary",children:r.title})," would be displayed here."]})})}):g.jsxs("main",{className:"flex-1 p-8 max-w-3xl",children:[g.jsx("h1",{className:"text-4xl font-bold tracking-tight mb-4",children:e.site?.title||"Documentation"}),g.jsx("p",{className:"text-muted-foreground text-lg mb-8",children:e.site?.description||"Welcome to the documentation."}),g.jsx(Pi,{className:"my-8"}),g.jsx("h2",{className:"text-2xl font-semibold mb-4 text-primary",children:"Theme Configuration"}),g.jsxs("div",{className:"bg-muted/50 border rounded-lg p-4 mb-6",children:[g.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:g.jsx("strong",{children:"Current theme from YAML:"})}),g.jsx("pre",{className:"text-primary text-sm",children: ` site :
` ))}function p(E,w,T,k){const A=T.enter("tableCell"),_=T.enter("phrasing"),R=T.containerPhrasing(E,{...k,before:s,after:s});return _(),A(),R}function f(E,w){return xF(E,{align:w,alignDelimiters:a,padding:r,stringLength:o})}function h(E,w,T){const k=E.children;let A=-1;const _=[],R=w.enter("table");for(;++A<k.length;)_[A]=b(k[A],w,T);return R(),_}function b(E,w,T){const k=E.children;let A=-1;const _=[],R=w.enter("tableRow");for(;++A<k.length;)_[A]=p(k[A],E,w,T);return R(),_}function v(E,w,T){let k=wN.inlineCode(E,w,T);return T.stack.includes("tableCell")&&(k=k.replace(/ \| /g," \\ $ &")),k}}function uB(){return{exit:{taskListCheckValueChecked:zA,taskListCheckValueUnchecked:zA,paragraph:dB}}}function cB(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:pB}}}function zA(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function dB(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const a=r.children[0];if(a&&a.type==="text"){const o=t.children;let s=-1,u;for(;++s<o.length;){const d=o[s];if(d.type==="paragraph"){u=d;break}}u===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function pB(e,t,r,a){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=r.createTracker(a);s&&d.move(u);let p=wN.listItem(e,t,r,{...a,...d.current()});return s&&(p=p.replace(/^(?:[*+-]| \d + \. )([ \r \n ]| {1,3})/,f)),p;function f(h){return h+u}}function fB(){return[VU(),pF(),hF(),nB(),uB()]}function gB(e){return{extensions:[qU(),fF(e),bF(),sB(e),cB()]}}const mB={tokenize:SB,partial:!0},TN={tokenize:xB,partial:!0},AN={tokenize:wB,partial:!0},kN={tokenize:TB,partial:!0},hB={tokenize:AB,partial:!0},_N={name:"wwwAutolink",tokenize:EB,previous:RN},NN={name:"protocolAutolink",tokenize:vB,previous:CN},Nr={name:"emailAutolink",tokenize:yB,previous:ON},rr={};function bB(){return{text:rr}}let Da=48;for(;Da<123;)rr[Da]=Nr,Da++,Da===58?Da=65:Da===91&&(Da=97);rr[43]=Nr;rr[45]=Nr;rr[46]=Nr;rr[95]=Nr;rr[72]=[Nr,NN];rr[104]=[Nr,NN];rr[87]=[Nr,_N];rr[119]=[Nr,_N];function yB(e,t,r){const a=this;let o,s;return u;function u(b){return!eg(b)||!ON.call(a,a.previous)||Wg(a.events)?r(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(b))}function d(b){return eg(b)?(e.consume(b),d):b===64?(e.consume(b),p):r(b)}function p(b){return b===46?e.check(hB,h,f)(b):b===45||b===95||Dt(b)?(s=!0,e.consume(b),p):h(b)}function f(b){return e.consume(b),o=!0,p}function h(b){return s&&o&&Ht(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):r(b)}}function EB(e,t,r){const a=this;return o;function o(u){return u!==87&&u!==119||!RN.call(a,a.previous)||Wg(a.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(mB,e.attempt(TN,e.attempt(AN,s),r),r)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function vB(e,t,r){const a=this;let o="",s=!1;return u;function u(b){return(b===72||b===104)&&CN.call(a,a.previous)&&!Wg(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(b),e.consume(b),d):r(b)}function d(b){if(Ht(b)&&o.length<5)return o+=String.fromCodePoint(b),e.consume(b),d;if(b===58){const v=o.toLowerCase();if(v==="http"||v==="https")return e.consume(b),p}return r(b)}function p(b){return b===47?(e.consume(b),s?f:(s=!0,p)):r(b)}function f(b){return b===null||Fu(b)||rt(b)||Ua(b)||nc(b)?r(b):e.attempt(TN,e.attempt(AN,h),r)(b)}function h(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function SB(e,t,r){let a=0;return o;function o(u){return(u===87||u===119)&&a<3?(a++,e.consume(u),o):u===46&&a===3?(e.consume(u),s):r(u)}function s(u){return u===null?r(u):t(u)}}function xB(e,t,r){let a,o,s;return u;function u(f){return f===46||f===95?e.check(kN,p,d)(f):f===null||rt(f)||Ua(f)||f!==45&&nc(f)?p(f):(s=!0,e.consume(f),u)}function d(f){return f===95?a=!0:(o=a,a=void 0),e.consume(f),u}function p(f){return o||a||!s?r(f):t(f)}}function wB(e,t){let r=0,a=0;return o;function o(u){return u===40?(r++,e.consume(u),o):u===41&&a<r?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(kN,t,s)(u):u===null||rt(u)||Ua(u)?t(u):(e.consume(u),o)}function s(u){return u===41&&a++,e.consume(u),o}}function TB(e,t,r){return a;function a(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),a):d===38?(e.consume(d),s):d===93?(e.consume(d),o):d===60||d===null||rt(d)||Ua(d)?t(d):r(d)}function o(d){return d===null||d===40||d===91||rt(d)||Ua(d)?t(d):a(d)}function s(d){return Ht(d)?u(d):r(d)}function u(d){re
Line truncated
` )===-1?g.jsx("code",{className:"bg-primary/10 text-primary px-1.5 py-0.5 rounded text-sm font-mono",children:h}):g.jsx("code",{className:"block font-mono",children:h}),pre:({children:f})=>g.jsx("pre",{className:"bg-muted p-4 rounded-lg text-sm overflow-auto my-4 font-mono whitespace-pre",children:f}),table:({children:f})=>g.jsx("div",{className:"overflow-auto my-4",children:g.jsx("table",{className:"w-full border-collapse text-sm",children:f})}),thead:({children:f})=>g.jsx("thead",{className:"bg-muted/50",children:f}),tr:({children:f})=>g.jsx("tr",{className:"border-b",children:f}),th:({children:f})=>g.jsx("th",{className:"px-4 py-2 text-left font-medium",children:f}),td:({children:f})=>g.jsx("td",{className:"px-4 py-2 text-muted-foreground",children:f}),hr:()=>g.jsx("hr",{className:"my-6 border-border"}),strong:({children:f})=>g.jsx("strong",{className:"font-semibold text-foreground",children:f}),em:({children:f})=>g.jsx("em",{children:f})};return r?g.jsx("main",{className:"flex-1 p-8 max-w-3xl",children:s?g.jsx("div",{className:"text-muted-foreground",children:"Loading content..."}):a?g.jsx("article",{className:"prose max-w-none",children:g.jsx(s N,{remarkPlugins:[I N],components:p,children:a})}):g.jsx("div",{className:"bg-muted/50 border rounded-lg p-6",children:g.jsxs("p",{className:"text-muted-foreground",children:["Content for ",g.jsx("strong",{className:"text-primary",children:r.title})," would be displayed here."]})})}):g.jsxs("main",{className:"flex-1 p-8 max-w-3xl",children:[g.jsx("h1",{className:"text-4xl font-bold tracking-tight mb-4",children:e.site?.title||"Documentation"}),g.jsx("p",{className:"text-muted-foreground text-lg mb-8",children:e.site?.description||"Welcome to the documentation."}),g.jsx(Pi,{className:"my-8"}),g.jsx("h2",{className:"text-2xl font-semibold mb-4 text-primary",children:"Theme Configuration"}),g.jsxs("div",{className:"bg-muted/50 border rounded-lg p-4 mb-6",children:[g.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:g.jsx("strong",{children:"Current theme from YAML:"})}),g.jsx("pre",{className:"text-primary text-sm",children: ` site :
theme :
preset : "${d?.preset||" zinc "}"
radius : "${d?.radius||" md "}"
darkMode : $ { d ? . darkMode !== ! 1 } ` })]}),g.jsx("h3",{className:"text-lg font-medium mb-3",children:"Available Presets"}),g.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:Object.keys(V1).map(f=>g.jsx("span",{className: ` px - 3 py - 1 rounded - full text - sm $ { f === ( d ? . preset || "zinc" ) ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground" } ` ,children:f},f))}),g.jsxs("p",{className:"text-muted-foreground mb-4",children:[g.jsx("strong",{children:"Click any item in the sidebar"})," to navigate."]}),g.jsx("h2",{className:"text-2xl font-semibold mt-8 mb-4",children:"Routes"}),g.jsxs("p",{className:"text-muted-foreground mb-4",children:[g.jsx("span",{className:"font-medium text-primary",children:t.routes?.length||0})," routes configured."]}),g.jsx("pre",{className:"bg-muted p-4 rounded-lg text-sm overflow-auto",children:JSON.stringify(t.routes?.slice(0,3),null,2)})]})}const PA=e=>typeof e=="boolean"? ` $ { e } ` :e===0?"0":e, $ A=l_,Kg=(e,t)=>r=>{var a;if(t?.variants==null)return $ A(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,u=Object.keys(o).map(f=>{const h=r?.[f],b=s?.[f];if(h===null)return null;const v=PA(h)||PA(b);return o[f][v]}),d=r&&Object.entries(r).reduce((f,h)=>{let[b,v]=h;return v===void 0||(f[b]=v),f},{}),p=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((f,h)=>{let{class:b,className:v,...E}=h;return Object.entries(E).every(w=>{let[T,k]=w;return Array.isArray(k)?k.includes({...s,...d}[T]):{...s,...d}[T]===k})?[...f,b,v]:f},[]);return $ A(e,u,p,r?.class,r?.className)},IN=Kg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function $ i({className:e,variant:t="default",size:r="default",asChild:a=!1,...o}){const s=a?Ig:"button";return g.jsx(s,{"data-slot":"button","data-variant":t,"data-size":r,className:be(IN({variant:t,size:r,className:e})),...o})}function kn({className:e,...t}){return g.jsx("div",{"data-slot":"card",className:be("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Bn({className:e,...t}){return g.jsx("div",{"data-slot":"card-header",className:be("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function zn({className:e,...t}){return g.jsx("div",{"data-slot":"card-title",className:be("leading-none font-semibold",e),...t})}function Xg({className:e,...t}){return g.jsx("div",{"data-slot":"card-description",className:be("text-muted-foreground text-sm",e),...t})}function _n({className:e,...t}){return g.jsx("div",{"data-slot":"card-content",className:be("px-6",e),...t})}function YB({className:e,...t}){return g.jsx("div",{"data-slot":"card-footer",className:be("flex items-center px-6 [.border-t]:pt-6",e),...t})}function WB({props:e}){const t=e?.title||"Statistics",r=e?.value||"0",a=e?.change||"",o=e?.changeType||"positive";return g.jsxs(kn,{className:"mb-4",children:[g.jsxs(Bn,{className:"pb-2",children:[g.jsx(Xg,{children:t}),g.jsx(zn,{className:"text-2xl",children:r})]}),a&&g.jsx(_n,{className:"pt-0",children:g.jsx("span",{className:o==="positive"?"text-green-500 text-sm":"text-red-500 text-sm",children:a})})]})}function KB({props:e}){const t=e?.title||"Quick Links",r=e?.links||[];return g.jsxs(kn,{className:"mb-4",children:[g.jsx(Bn,{className:"pb-2",children:g.jsx(zn,{className:"text-sm font-medium",children:t})}),g.jsx(_n,{className:"space-y-1",children:r.map((a,o)=>g.jsx("a",{href:a.href,className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:a.label},o))})]})}function XB({
Line truncated
` );p=b.pop()||"";for(const v of b)if(v.startsWith("data: "))try{const E=JSON.parse(v.slice(6));b z(e,E,o)}catch{}}}catch(s){if(s.name!=="AbortError"){const u=ja.get(e);u&&U n(e,{thinkingSteps:[...u.state.thinkingSteps, ` Error : $ { s . message } ` ]})}}finally{const s=ja.get(e);s&&(s.abortController=null),U n(e,{isStreaming:!1}),o?.onEnd?.()}}function b z(e,t,r){const a=ja.get(e);if(!a)return;const o=a.toolCallMap;switch(t.type){case"session":t.session_id&&typeof t.session_id=="string"&&r?.onSessionId?.(t.session_id);break;case"token":case"run_content":case"team_run_content":{const u=t.token??t.content??"";u&&U n(e,{currentResponse:a.state.currentResponse+u});break}case"message":case"run_completed":case"team_run_completed":{const u=t.content;u&&U n(e,{currentResponse:u});break}case"thinking":case"reasoning_step":case"team_reasoning_step":{const u=t.step;u&&U n(e,{thinkingSteps:[...a.state.thinkingSteps,u]});break}case"reasoning_started":case"team_reasoning_started":U n(e,{thinkingSteps:[...a.state.thinkingSteps,"Starting reasoning..."]});break;case"tool_call":case"tool_call_started":case"team_tool_call_started":{const u={name:t.name,description:t.description,icon:t.icon,step_number:t.step_number,status:"running",tool_call_id:t.tool_call_id,args:t.args};u.tool_call_id&&o.set(u.tool_call_id,u);const d=H A(a.state.toolCalls,u);U n(e,{toolCalls:d});break}case"tool_call_completed":case"team_tool_call_completed":{const u=t.extra_data,d=t.a2ui??u?.a2ui,p={name:t.name,description:t.description,icon:t.icon,step_number:t.step_number,status:"done",tool_call_id:t.tool_call_id,args:t.args,formatted_result:t.formatted_result,result:t.result,surface_id:t.surface_id??u?.surface_id,a2ui:d?.length?{messages:d,surface_id:t.surface_id??u?.surface_id}:void 0};p .tool_call_id&&o.set(p .tool_call_id,p );const f=H A(a.state.toolCalls,p);Un(e,{toolCalls:f });break}case"error":case"run_error":case"team_run_error":{const u=t.error;u&&U n(e,{thinkingSteps:[...a.state.thinkingSteps, ` Error : $ { u } ` ]});break}case"end":case"done":case"run_cancelled":case"team_run_cancelled":break;default:p z(e,t);break}}function H A(e,t){if(t.tool_call_id){const r=e.findIndex(a=>a.tool_call_id===t.tool_call_id);if(r>=0){const a=[...e];return a[r]={...a[r],...t},a}}return[...e,t]}function M N(e={}){const{externalSessionId:t}=e,[r,a]=S.useState(()=>yu(t));S.useEffect(()=>{if(!t){a(yu(null));return}return a(yu(t)),f z(t,()=>{a(yu(t))})},[t]);const o=S.useCallback((u,d)=>{const p=t?? ` new - $ { Date . now ( ) } ` ;m z(p,u,d,{onSessionId:f=>{e.onSessionId?.(f)},onEnd:e.onEnd})},[t,e.onSessionId,e.onEnd]),s=S.useCallback(()=>{t&&g z(t)},[t]);return{isStreaming:r.isStreaming,currentResponse:r.currentResponse,toolCalls:r.toolCalls,thinkingSteps:r.thinkingSteps,sendMessage:o,cancel:s}}function y z(e,t){if(e==null)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;r[a]=e[a]}return r}function E z(e,t){if(e==null)return{};var r,a,o=y z(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function n g(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function v z(e){if(Array.isArray(e))return n g(e)}function S z(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x z(e,t){if(e){if(typeof e=="string")return n g(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(r)?n g(e,t):void 0}}function w z(){throw new TypeError( ` Invalid attempt to spread non - iterable instance .
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function rg(e){return vz(e)||Sz(e)||xz(e)||wz()}function Tl(e){"@babel/helpers - typeof";return Tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tl(e)}function Tz(e,t){if(Tl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(Tl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Az(e){var t=Tz(e,"string");return Tl(t)=="symbol"?t:t+""}function jN(e,t,r){return(t=Az(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ag(){return ag=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ag.apply(null,arguments)}function VA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function Gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?VA(Object(r),!0).forEach(function(a){jN(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VA(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function kz(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[
Line truncated
` ))})}function M z(e){var t=e.codeString,r=e.codeStyle,a=e.containerStyle,o=a===void 0?{float:"left",paddingRight:"10px"}:a,s=e.numberStyle,u=s===void 0?{}:s,d=e.startingLineNumber;return Ke.createElement("code",{style:Object.assign({},r,o)},D z({lines:t.replace(/ \n $ /,"").split( `
` ),style:u,startingLineNumber:d}))}function j z(e){return"".concat(e.toString().length,".25em")}function F N(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function B N(e,t,r){var a={display:"inline-block",minWidth:j z(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,s=oa(oa({},a),o);return s}function Nu(e){var t=e.children,r=e.lineNumber,a=e.lineNumberStyle,o=e.largestLineNumber,s=e.showInlineLineNumbers,u=e.lineProps,d=u===void 0?{}:u,p=e.className,f=p===void 0?[]:p,h=e.showLineNumbers,b=e.wrapLongLines,v=e.wrapLines,E=v===void 0?!1:v,w=E?oa({},typeof d=="function"?d(r):d):{};if(w.className=w.className?[].concat(r g(w.className.trim().split(/ \s +/)),r g(f)):f,r&&s){var T=B N(a,r,o);t.unshift(F N(r,T))}return b&h&&(w.style=oa({display:"flex"},w.style)),{type:"element",tagName:"span",properties:w,children:t}}function z N(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.length===void 0&&(e=[e]);for(var a=0;a<e.length;a++){var o=e[a];if(o.type==="text")r.push(Nu({children:[o],className:r g(new Set(t))}));else if(o.children){var s,u=t.concat(((s=o.properties)===null||s===void 0?void 0:s.className)||[]);z N(o.children,u).forEach(function(d){return r.push(d)})}}return r}function U z(e,t,r,a,o,s,u,d,p){var f,h=z N(e.value),b=[],v=-1,E=0;function w(z ,D){var U =arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Nu({children:z ,lineNumber:D,lineNumberStyle:d,largestLineNumber:u,showInlineLineNumbers:o,lineProps:r,className:U ,showLineNumbers:a,wrapLongLines:p,wrapLines:t})}function T(z ,D){if(a&&D&&o){var U=B N(d,D,u);z .unshift(F N(D,U ))}return z }function k(z ,D){var U =arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||U .length>0?w(z ,D,U ):T(z ,D)}for(var A=function(){var D=h[E],U =D.children[0].value,P=L z(U );if(P ){var X=U .split( `
` );X .forEach(function(M,H){var W =a&&b.length+s,r e={type:"text",value:"".concat(M, `
` )};if(H===0){var ee=h.slice(v+1,E).concat(Nu({children:[re],className:D.properties.className})),Z=k(ee,W);b.push(Z)}else if(H===X.length-1){var B=h[E+1]&&h[E+1].children&&h[E+1].children[0],Y={type:"text",value:"".concat(M)};if(B){var te=Nu({children:[Y],className:D.properties.className});h.splice(E+1,0,te)}else{var ce=[Y],C=k(ce,W,D.properties.className);b.push(C)}}else{var j=[re],Q=k(j,W,D.properties.className);b.push(Q)}}),v=E}E++};E<h.length;)A();if(v!==h.length-1){var _=h.slice(v+1,h.length);if(_&&_.length){var R=a&&b.length+s,L=k(_,R);b.push(L)}}return t?b:(f=[]).concat.apply(f,b)}function Fz(e){var t=e.rows,r=e.stylesheet,a=e.useInlineStyles;return t.map(function(o,s){return UN({node:o,stylesheet:r,useInlineStyles:a,key:"code-segment-".concat(s)})})}function PN(e){return e&&typeof e.highlightAuto<"u"}function Bz(e){var t=e.astGenerator,r=e.language,a=e.code,o=e.defaultCodeValue;if(PN(t)){var s=Cz(t,r);return r==="text"?{value:o,language:"text"}:s?t.highlight(r,a):t.highlightAuto(a)}try{return r&&r!=="text"?{value:t.highlight(a,r)}:{value:o}}catch{return{value:o}}}function zz(e,t){return function(a){var o,s,u=a.language,d=a.children,p=a.style,f=p===void 0?t:p,h=a.customStyle,b=h===void 0?{}:h,v=a.codeTagProps,E=v===void 0?{className:u?"language-".concat(u):void 0,style:oa(oa({},f['code[class*="language-"]']),f['code[class*="language-'.concat(u,'"]')])}:v,w=a.useInlineStyles,T=w===void 0?!0:w,k=a.showLineNumbers,A=k===void 0?!1:k,_=a.showInlineLineNumbers,R=_===void 0?!0:_,L=a.startingLineNumber,z=L===void 0?1:L,D=a.lineNumberContainerStyle,U=a.lineNumberStyle,P=U===void 0?{}:U,X=a.wrapLines,M=a.wrapLongLines,H=M===void 0?!1:M,W=a.lineProps,re=W===void 0?{}:W,ee=a.renderer,Z=a.PreTag,B=Z===void 0?"pre":Z,Y=a.CodeTag,te=Y===void 0?"code":Y,ce=a.code,C=ce===void 0?(Array.isArray(d)?d[0]:d)||"":ce,j=a.astGenerator,Q=Ez(a,Oz);j=j||e;var I=A?Ke.createElement(Mz,{containerStyle:D,codeStyle:E.style||{},numberStyle:P,startingLineNumber:z,codeString:C}):null,ue=f.hljs||f['pre[class*="language-"]']||{backgroundColor:"#fff"},fe=PN(j)?"hljs":"prismjs",de=T?Object.assign({},Q,{style:Object.assign({},ue,b)}):Object.assign({},Q,{className:Q.className?"".concat(fe," ").concat(Q.className):fe,style:Object.assign({},b)});if(H?E.style=oa({whiteSpace:"pre-wrap"},E.style):E.style=oa({whiteSpace:"pre"},E.style),!j)return Ke.createElement(B,de,I,Ke.createElement(te,E,C));(X===void 0&&ee||H)&&(X=!0),ee=ee||Fz;var le=[{type:"text",value:C}],we=Bz({astGenerator:j,language:u,code:C,defaultCodeValue:le});we.language===null&&(we.value=le);var me=(o=(s=C.match(/ \n /g))===null||s===void 0?void 0:s.length)!==null&&o!==void 0?o:0,Re=z+me,Oe=Uz(we,X,re,A,R,z,Re,P,H);return Ke.createElement(B,de,Ke.createElement(te,E,!R&&I,ee({rows:Oe,stylesheet:f,useInlineStyles:T})))}}const Pz="modulepreload", $ z=function(e){return"/"+e},WA={},KA=function(t,r,a){let o=Promise.resolve();if(r&&r.length>0){let f=function(h){return Promise.all(h.map(b=>Promise.resolve(b).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};var u=f;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");o=f(r.map(h=>{if(h= $ z(h),h in WA)return;WA[h]=!0;const b=h.endsWith(".css"),v=b?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${h}" ] $ { v } ` ))return;const E=document.createElement("link");if(E.rel=b?"stylesheet":Pz,b||(E.as="script"),E.crossOrigin="",E.href=h,p&&E.setAttribute("nonce",p),document.head.appendChild(E),b)return new Promise((w,T)=>{E.addEventListener("load",w),E.addEventListener("error",()=>T(new Error( ` Unable to preload CSS for $ { h } ` )))})}))}function s(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return o.then(d=>{for(const p of d||[])p.status==="rejected"&&s(p.reason);return t().catch(s)})},Gz=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","armasm","arturo","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","awk","bash","basic","batch","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","cilkc","cilkcpp","clike","clojure","cmake","cobol","coffeescript","concurnas","cooklang","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cue","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gettext","gherkin","git","glsl","gml","gn","go-module","go","gradle","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","j
Line truncated
darkMode : $ { d ? . darkMode !== ! 1 } ` })]}),g.jsx("h3",{className:"text-lg font-medium mb-3",children:"Available Presets"}),g.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:Object.keys(q1).map(f=>g.jsx("span",{className: ` px - 3 py - 1 rounded - full text - sm $ { f === ( d ? . preset || "zinc" ) ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground" } ` ,children:f},f))}),g.jsxs("p",{className:"text-muted-foreground mb-4",children:[g.jsx("strong",{children:"Click any item in the sidebar"})," to navigate."]}),g.jsx("h2",{className:"text-2xl font-semibold mt-8 mb-4",children:"Routes"}),g.jsxs("p",{className:"text-muted-foreground mb-4",children:[g.jsx("span",{className:"font-medium text-primary",children:t.routes?.length||0})," routes configured."]}),g.jsx("pre",{className:"bg-muted p-4 rounded-lg text-sm overflow-auto",children:JSON.stringify(t.routes?.slice(0,3),null,2)})]})}const $ A=e=>typeof e=="boolean"? ` $ { e } ` :e===0?"0":e,GA=s_,Kg=(e,t)=>r=>{var a;if(t?.variants==null)return GA(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,u=Object.keys(o).map(f=>{const h=r?.[f],b=s?.[f];if(h===null)return null;const v= $ A(h)|| $ A(b);return o[f][v]}),d=r&&Object.entries(r).reduce((f,h)=>{let[b,v]=h;return v===void 0||(f[b]=v),f},{}),p=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((f,h)=>{let{class:b,className:v,...E}=h;return Object.entries(E).every(w=>{let[T,k]=w;return Array.isArray(k)?k.includes({...s,...d}[T]):{...s,...d}[T]===k})?[...f,b,v]:f},[]);return GA(e,u,p,r?.class,r?.className)},LN=Kg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function $ i({className:e,variant:t="default",size:r="default",asChild:a=!1,...o}){const s=a?Ig:"button";return g.jsx(s,{"data-slot":"button","data-variant":t,"data-size":r,className:be(LN({variant:t,size:r,className:e})),...o})}function _n({className:e,...t}){return g.jsx("div",{"data-slot":"card",className:be("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Bn({className:e,...t}){return g.jsx("div",{"data-slot":"card-header",className:be("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function zn({className:e,...t}){return g.jsx("div",{"data-slot":"card-title",className:be("leading-none font-semibold",e),...t})}function Xg({className:e,...t}){return g.jsx("div",{"data-slot":"card-description",className:be("text-muted-foreground text-sm",e),...t})}function Nn({className:e,...t}){return g.jsx("div",{"data-slot":"card-content",className:be("px-6",e),...t})}function WB({className:e,...t}){return g.jsx("div",{"data-slot":"card-footer",className:be("flex items-center px-6 [.border-t]:pt-6",e),...t})}function KB({props:e}){const t=e?.title||"Statistics",r=e?.value||"0",a=e?.change||"",o=e?.changeType||"positive";return g.jsxs(_n,{className:"mb-4",children:[g.jsxs(Bn,{className:"pb-2",children:[g.jsx(Xg,{children:t}),g.jsx(zn,{className:"text-2xl",children:r})]}),a&&g.jsx(Nn,{className:"pt-0",children:g.jsx("span",{className:o==="positive"?"text-green-500 text-sm":"text-red-500 text-sm",children:a})})]})}function XB({props:e}){const t=e?.title||"Quick Links",r=e?.links||[];return g.jsxs(_n,{className:"mb-4",children:[g.jsx(Bn,{className:"pb-2",children:g.jsx(zn,{className:"text-sm font-medium",children:t})}),g.jsx(Nn,{className:"space-y-1",children:r.map((a,o)=>g.jsx("a",{href:a.href,className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:a.label},o))})]})}function ZB({
Line truncated
` );p=b.pop()||"";for(const v of b)if(v.startsWith("data: "))try{const E=JSON.parse(v.slice(6));y z(e,E,o)}catch{}}}catch(s){if(s.name!=="AbortError"){const u=ja.get(e);u&&A n(e,{thinkingSteps:[...u.state.thinkingSteps, ` Error : $ { s . message } ` ]})}}finally{const s=ja.get(e);s&&(s.abortController=null),A n(e,{isStreaming:!1}),o?.onEnd?.()}}function y z(e,t,r){const a=ja.get(e);if(!a)return;const o=a.toolCallMap;switch(t.type){case"session":t.session_id&&typeof t.session_id=="string"&&r?.onSessionId?.(t.session_id);break;case"token":case"run_content":case"team_run_content":{const u=t.token??t.content??"";u&&A n(e,{currentResponse:a.state.currentResponse+u});break}case"message":case"run_completed":case"team_run_completed":{const u=t.content;u&&A n(e,{currentResponse:u});break}case"thinking":case"reasoning_step":case"team_reasoning_step":{const u=t.step;u&&A n(e,{thinkingSteps:[...a.state.thinkingSteps,u]});break}case"reasoning_started":case"team_reasoning_started":A n(e,{thinkingSteps:[...a.state.thinkingSteps,"Starting reasoning..."]});break;case"tool_call":case"tool_call_started":case"team_tool_call_started":{const u={name:t.name,description:t.description,icon:t.icon,step_number:t.step_number,status:"running",tool_call_id:t.tool_call_id,args:t.args};u.tool_call_id&&o.set(u.tool_call_id,u);const d=V A(a.state.toolCalls,u);A n(e,{toolCalls:d});break}case"tool_call_completed":case"team_tool_call_completed":{const u=t.extra_data,d=t.a2ui??u?.a2ui,p=t.elements??u?.elements,f= {name:t.name,description:t.description,icon:t.icon,step_number:t.step_number,status:"done",tool_call_id:t.tool_call_id,args:t.args,formatted_result:t.formatted_result,result:t.result,surface_id:t.surface_id??u?.surface_id,a2ui:d?.length?{messages:d,surface_id:t.surface_id??u?.surface_id}:void 0,elements:p };f .tool_call_id&&o.set(f .tool_call_id,f );const h=V A(a.state.toolCalls,f),b=p?.length?[...a.state.pendingElements,...p]:a.state.pendingElements;An(e,{toolCalls:h,pendingElements:b});break}case"message_element":{const u=t.extra_data,d=t.element??u?.element;d&&An(e,{pendingElements:[...a.state.pendingElements,d] });break}case"error":case"run_error":case"team_run_error":{const u=t.error;u&&A n(e,{thinkingSteps:[...a.state.thinkingSteps, ` Error : $ { u } ` ]});break}case"end":case"done":case"run_cancelled":case"team_run_cancelled":break;default:f z(e,t);break}}function V A(e,t){if(t.tool_call_id){const r=e.findIndex(a=>a.tool_call_id===t.tool_call_id);if(r>=0){const a=[...e];return a[r]={...a[r],...t},a}}return[...e,t]}function j N(e={}){const{externalSessionId:t}=e,[r,a]=S.useState(()=>yu(t));S.useEffect(()=>{if(!t){a(yu(null));return}return a(yu(t)),g z(t,()=>{a(yu(t))})},[t]);const o=S.useCallback((u,d)=>{const p=t?? ` new - $ { Date . now ( ) } ` ;h z(p,u,d,{onSessionId:f=>{e.onSessionId?.(f)},onEnd:e.onEnd})},[t,e.onSessionId,e.onEnd]),s=S.useCallback(()=>{t&&m z(t)},[t]);return{isStreaming:r.isStreaming,currentResponse:r.currentResponse,toolCalls:r.toolCalls,thinkingSteps:r.thinkingSteps,pendingElements:r.pendingElements, sendMessage:o,cancel:s}}function E z(e,t){if(e==null)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;r[a]=e[a]}return r}function v z(e,t){if(e==null)return{};var r,a,o=E z(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function r g(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function S z(e){if(Array.isArray(e))return r g(e)}function x z(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function w z(e,t){if(e){if(typeof e=="string")return r g(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(r)?r g(e,t):void 0}}function T z(){throw new TypeError( ` Invalid attempt to spread non - iterable instance .
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function ag(e){return Sz(e)||xz(e)||wz(e)||Tz()}function Tl(e){"@babel/helpers - typeof";return Tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tl(e)}function Az(e,t){if(Tl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(Tl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kz(e){var t=Az(e,"string");return Tl(t)=="symbol"?t:t+""}function UN(e,t,r){return(t=kz(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ig(){return ig=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ig.apply(null,arguments)}function qA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,a)}return r}function Gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qA(Object(r),!0).forEach(function(a){UN(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qA(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function _z(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[
Line truncated
` ))})}function j z(e){var t=e.codeString,r=e.codeStyle,a=e.containerStyle,o=a===void 0?{float:"left",paddingRight:"10px"}:a,s=e.numberStyle,u=s===void 0?{}:s,d=e.startingLineNumber;return Ke.createElement("code",{style:Object.assign({},r,o)},M z({lines:t.replace(/ \n $ /,"").split( `
` ),style:u,startingLineNumber:d}))}function U z(e){return"".concat(e.toString().length,".25em")}function B N(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function z N(e,t,r){var a={display:"inline-block",minWidth:U z(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,s=oa(oa({},a),o);return s}function Nu(e){var t=e.children,r=e.lineNumber,a=e.lineNumberStyle,o=e.largestLineNumber,s=e.showInlineLineNumbers,u=e.lineProps,d=u===void 0?{}:u,p=e.className,f=p===void 0?[]:p,h=e.showLineNumbers,b=e.wrapLongLines,v=e.wrapLines,E=v===void 0?!1:v,w=E?oa({},typeof d=="function"?d(r):d):{};if(w.className=w.className?[].concat(a g(w.className.trim().split(/ \s +/)),a g(f)):f,r&&s){var T=z N(a,r,o);t.unshift(B N(r,T))}return b&h&&(w.style=oa({display:"flex"},w.style)),{type:"element",tagName:"span",properties:w,children:t}}function P N(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.length===void 0&&(e=[e]);for(var a=0;a<e.length;a++){var o=e[a];if(o.type==="text")r.push(Nu({children:[o],className:a g(new Set(t))}));else if(o.children){var s,u=t.concat(((s=o.properties)===null||s===void 0?void 0:s.className)||[]);P N(o.children,u).forEach(function(d){return r.push(d)})}}return r}function F z(e,t,r,a,o,s,u,d,p){var f,h=P N(e.value),b=[],v=-1,E=0;function w(F ,D){var P =arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Nu({children:F ,lineNumber:D,lineNumberStyle:d,largestLineNumber:u,showInlineLineNumbers:o,lineProps:r,className:P ,showLineNumbers:a,wrapLongLines:p,wrapLines:t})}function T(F ,D){if(a&&D&&o){var P=z N(d,D,u);F .unshift(B N(D,P ))}return F }function k(F ,D){var P =arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||P .length>0?w(F ,D,P ):T(F ,D)}for(var A=function(){var D=h[E],P =D.children[0].value,z=D z(P );if(z ){var W=P .split( `
` );W .forEach(function(M,H){var X =a&&b.length+s,e e={type:"text",value:"".concat(M, `
` )};if(H===0){var te=h.slice(v+1,E).concat(Nu({children:[ee],className:D.properties.className})),Z=k(te,X);b.push(Z)}else if(H===W.length-1){var B=h[E+1]&&h[E+1].children&&h[E+1].children[0],Y={type:"text",value:"".concat(M)};if(B){var ne=Nu({children:[Y],className:D.properties.className});h.splice(E+1,0,ne)}else{var ce=[Y],C=k(ce,X,D.properties.className);b.push(C)}}else{var j=[ee],Q=k(j,X,D.properties.className);b.push(Q)}}),v=E}E++};E<h.length;)A();if(v!==h.length-1){var _=h.slice(v+1,h.length);if(_&&_.length){var R=a&&b.length+s,L=k(_,R);b.push(L)}}return t?b:(f=[]).concat.apply(f,b)}function Bz(e){var t=e.rows,r=e.stylesheet,a=e.useInlineStyles;return t.map(function(o,s){return FN({node:o,stylesheet:r,useInlineStyles:a,key:"code-segment-".concat(s)})})}function $ N(e){return e&&typeof e.highlightAuto<"u"}function zz(e){var t=e.astGenerator,r=e.language,a=e.code,o=e.defaultCodeValue;if( $ N(t)){var s=Oz(t,r);return r==="text"?{value:o,language:"text"}:s?t.highlight(r,a):t.highlightAuto(a)}try{return r&&r!=="text"?{value:t.highlight(a,r)}:{value:o}}catch{return{value:o}}}function Pz(e,t){return function(a){var o,s,u=a.language,d=a.children,p=a.style,f=p===void 0?t:p,h=a.customStyle,b=h===void 0?{}:h,v=a.codeTagProps,E=v===void 0?{className:u?"language-".concat(u):void 0,style:oa(oa({},f['code[class*="language-"]']),f['code[class*="language-'.concat(u,'"]')])}:v,w=a.useInlineStyles,T=w===void 0?!0:w,k=a.showLineNumbers,A=k===void 0?!1:k,_=a.showInlineLineNumbers,R=_===void 0?!0:_,L=a.startingLineNumber,F=L===void 0?1:L,D=a.lineNumberContainerStyle,P=a.lineNumberStyle,z=P===void 0?{}:P,W=a.wrapLines,M=a.wrapLongLines,H=M===void 0?!1:M,X=a.lineProps,ee=X===void 0?{}:X,te=a.renderer,Z=a.PreTag,B=Z===void 0?"pre":Z,Y=a.CodeTag,ne=Y===void 0?"code":Y,ce=a.code,C=ce===void 0?(Array.isArray(d)?d[0]:d)||"":ce,j=a.astGenerator,Q=vz(a,Iz);j=j||e;var I=A?Ke.createElement(jz,{containerStyle:D,codeStyle:E.style||{},numberStyle:z,startingLineNumber:F,codeString:C}):null,ue=f.hljs||f['pre[class*="language-"]']||{backgroundColor:"#fff"},fe= $ N(j)?"hljs":"prismjs",de=T?Object.assign({},Q,{style:Object.assign({},ue,b)}):Object.assign({},Q,{className:Q.className?"".concat(fe," ").concat(Q.className):fe,style:Object.assign({},b)});if(H?E.style=oa({whiteSpace:"pre-wrap"},E.style):E.style=oa({whiteSpace:"pre"},E.style),!j)return Ke.createElement(B,de,I,Ke.createElement(ne,E,C));(W===void 0&&te||H)&&(W=!0),te=te||Bz;var le=[{type:"text",value:C}],we=zz({astGenerator:j,language:u,code:C,defaultCodeValue:le});we.language===null&&(we.value=le);var me=(o=(s=C.match(/ \n /g))===null||s===void 0?void 0:s.length)!==null&&o!==void 0?o:0,Re=F+me,Oe=Fz(we,W,ee,A,R,F,Re,z,H);return Ke.createElement(B,de,Ke.createElement(ne,E,!R&&I,te({rows:Oe,stylesheet:f,useInlineStyles:T})))}}const $ z="modulepreload",Gz=function(e){return"/"+e},KA={},XA=function(t,r,a){let o=Promise.resolve();if(r&&r.length>0){let f=function(h){return Promise.all(h.map(b=>Promise.resolve(b).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};var u=f;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");o=f(r.map(h=>{if(h=Gz(h),h in KA)return;KA[h]=!0;const b=h.endsWith(".css"),v=b?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${h}" ] $ { v } ` ))return;const E=document.createElement("link");if(E.rel=b?"stylesheet": $ z,b||(E.as="script"),E.crossOrigin="",E.href=h,p&&E.setAttribute("nonce",p),document.head.appendChild(E),b)return new Promise((w,T)=>{E.addEventListener("load",w),E.addEventListener("error",()=>T(new Error( ` Unable to preload CSS for $ { h } ` )))})}))}function s(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return o.then(d=>{for(const p of d||[])p.status==="rejected"&&s(p.reason);return t().catch(s)})},Hz=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","armasm","arturo","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","awk","bash","basic","batch","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","cilkc","cilkcpp","clike","clojure","cmake","cobol","coffeescript","concurnas","cooklang","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cue","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gettext","gherkin","git","glsl","gml","gn","go-module","go","gradle","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","j
Line truncated
? |
| ( ? ! [ \ \ s \ \ S ] ) ) ) + ` ,"m"),alias:s,inside:{line:{pattern:/(.)(?=[ \s \S ]).*(?: \r \n ?| \n )?/,lookbehind:!0},prefix:{pattern:/[ \s \S ]/,alias:/ \w +/.exec(a)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:r})})(e)}Bt.displayName="markup-templating";Bt.aliases=[];function Bt(e){e.register(Ot),(function(t){function r(a,o){return"___"+a.toUpperCase()+o+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,o,s,u){if(a.language===o){var d=a.tokenStack=[];a.code=a.code.replace(s,function(p){if(typeof u=="function"&&!u(p))return p;for(var f=d.length,h;a.code.indexOf(h=r(o,f))!==-1;)++f;return d[f]=p,h}),a.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=t.languages[o];var s=0,u=Object.keys(a.tokenStack);function d(p){for(var f=0;f<p.length&&!(s>=u.length);f++){var h=p[f];if(typeof h=="string"||h.content&&typeof h.content=="string"){var b=u[s],v=a.tokenStack[b],E=typeof h=="string"?h:h.content,w=r(o,b),T=E.indexOf(w);if(T>-1){++s;var k=E.substring(0,T),A=new t.Token(o,t.tokenize(v,a.grammar),"language-"+o,v),_=E.substring(T+w.length),R=[];k&&R.push.apply(R,d([k])),R.push(A),_&&R.push.apply(R,d([_])),typeof h=="string"?p.splice.apply(p,[f,1].concat(R)):h.content=R}}else h.content&&d(h.content)}return p}d(a.tokens)}}})})(e)}lh.displayName="django";lh.aliases=["jinja2"];function lh(e){e.register(Bt),(function(t){t.languages.django={comment:/^ \{ #[ \s \S ]*?# \} $ /,tag:{pattern:/(^ \{ %[+-]? \s *) \w +/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^ \{ [{%][+-]?|[+-]?[}%] \} $ /,alias:"punctuation"},string:{pattern:/("|')(?: \\ .|(?! \1 )[^ \\ \r \n ])* \1 /,greedy:!0},filter:{pattern:/( \| ) \w +/,lookbehind:!0,alias:"function"},test:{pattern:/( \b is \s +(?:not \s +)?)(?!not \b ) \w +/,lookbehind:!0,alias:"function"},function:/ \b [a-z_] \w +(?= \s * \( )/i,keyword:/ \b (?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without) \b /,operator:/[-+%=]=?|!=| \* \* ?=?| \/ \/ ?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/ \b \d +(?: \. \d +)? \b /,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/ \b \w + \b /,punctuation:/[{}[ \] (),.:;]/};var r=/ \{ \{ [ \s \S ]*? \} \} | \{ %[ \s \S ]*?% \} | \{ #[ \s \S ]*?# \} /g,a=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"django",r)}),t.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"jinja2",r)}),t.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"jinja2")})})(e)}sh.displayName="dns-zone-file";sh.aliases=["dns-zone"];function sh(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?: \\ .|[^" \\ \r \n ])*"/,greedy:!0},variable:[{pattern:/(^ \$ ORIGIN[ \t ]+) \S +/m,lookbehind:!0},{pattern:/(^| \s )@(?= \s | $ )/,lookbehind:!0}],keyword:/^ \$ (?:INCLUDE|ORIGIN|TTL)(?= \s | $ )/m,class:{pattern:/(^| \s )(?:CH|CS|HS|IN)(?= \s | $ )/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^| \s )(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?= \s | $ )/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}uh.displayName="docker";uh.aliases=["dockerfile"];function uh(e){(function(t){var r=/ \\ [ \r \n ](?: \s | \\ [ \r \n ]|#.*(?!.))*(?![ \s #]| \\ [ \r \n ])/.source,a=/(?:[ \t ]+(?![ \t ])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return r}),o=/"(?:[^" \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*"|'(?:[^' \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*'/.source,s=/--[ \w -]+=(?:<STR>|(?!["'])(?:[^ \s \\ ]| \\ .)+)/.source.replace(/<STR>/g,function(){return o}),u={pattern:RegExp(o),greedy:!0},d={pattern:/(^[ \t ]*)#.*/m,lookbehind:!0,greedy:!0};function p(f,h){return f=f.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return a}),RegExp(f,h)}t.languages.docker={instruction:{pattern:/(^[ \t ]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?= \s )(?: \\ .|[^ \r \n \\ ])*(?: \\ $ (?: \s |#.* $ )*(?![ \s #])(?: \\ .|[^ \r \n \\ ])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:p(/(^(?:ONBUILD<SP>)? \w +<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^| \s )--[ \w -]+/,lookbehind:!0},string:[u,{pattern:/(=)(?!["'])(?:[^ \s \\ ]| \\ .)+/,lookbehind:!0}],operator:/ \\ $ /m,punctuation:/=/}},keyword:[{pattern:p(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE) \b /.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t \\ ]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^ONBUILD<SP>) \w +/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^ \w +/,greedy:!0}],comment:d,string:u,variable:/ \$ (?: \w +| \{ [^{}"' \\ ]* \} )/,oper
Line truncated
] ) ) ( ? : ` +(/[^ \s \\ ]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/ \\ [ \r \n ]+(?:[#;].*[ \r \n ]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^| \s )/.source+a),lookbehind:!0,greedy:!0},punctuation:/ \\ $ /m,boolean:{pattern:/^(?:false|no|off|on|true|yes) $ /,greedy:!0}}},punctuation:/=/}})(e)}Ul.displayName="t4-templating";Ul.aliases=[];function Ul(e){(function(t){function r(o,s,u){return{pattern:RegExp("<#"+o+"[ \\ s \\ S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#> $ "),alias:"important"},content:{pattern:/[ \s \S ]+/,inside:s,alias:u}}}}function a(o){var s=t.languages[o],u="language-"+o;return{block:{pattern:/<#[ \s \S ]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?: \\ [ \s \S ]|(?! \1 )[^ \\ ])* \1 |[^ \s '">=]+)/,inside:{punctuation:/^=|^["']|["'] $ /}},keyword:/ \b \w +(?= \s )/,"attr-name":/ \b \w +/}),expression:r("=",s,u),"class-feature":r(" \\ +",s,u),standard:r("",s,u)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(e)}xE.displayName="t4-cs";xE.aliases=["t4"];function xE(e){e.register(to),e.register(Ul),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}mc.displayName="vbnet";mc.aliases=[];function mc(e){e.register(uc),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM \b ).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^ \\ :])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?: \b (?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)| \B (?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?: \$ | \b )/i,punctuation:/[,;:(){}]/})}wE.displayName="t4-vb";wE.aliases=[];function wE(e){e.register(Ul),e.register(mc),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}TE.displayName="tap";TE.aliases=[];function TE(e){e.register(sc),e.languages.tap={fail:/not ok[^#{ \n \r ]*/,pass:/ok[^#{ \n \r ]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d +/i,plan:/ \b \d + \. \. \d +(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t ]*)---[ \s \S ]*?[ \r \n ][ \t ]* \. \. \. $ /m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}AE.displayName="tcl";AE.aliases=[];function AE(e){e.languages.tcl={comment:{pattern:/(^|[^ \\ ])#.*/,lookbehind:!0},string:{pattern:/"(?:[^" \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*"/,greedy:!0},variable:[{pattern:/( \$ )(?:::)?(?:[a-zA-Z0-9]+::)* \w +/,lookbehind:!0},{pattern:/( \$ ) \{ [^}]+ \} /,lookbehind:!0},{pattern:/(^[ \t ]*set[ \t ]+)(?:::)?(?:[a-zA-Z0-9]+::)* \w +/m,lookbehind:!0}],function:{pattern:/(^[ \t ]*proc[ \t ]+) \S +/m,lookbehind:!0},builtin:[{pattern:/(^[ \t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while) \b /m,lookbehind:!0},/ \b (?:else|elseif) \b /],scope:{pattern:/(^[ \t ]*)(?:global|upvar|variable) \b /m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[ \t ]*| \[ )(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait
Line truncated
| ( ? ! [ \ \ s \ \ S ] ) ) ) + ` ,"m"),alias:s,inside:{line:{pattern:/(.)(?=[ \s \S ]).*(?: \r \n ?| \n )?/,lookbehind:!0},prefix:{pattern:/[ \s \S ]/,alias:/ \w +/.exec(a)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:r})})(e)}Bt.displayName="markup-templating";Bt.aliases=[];function Bt(e){e.register(Ot),(function(t){function r(a,o){return"___"+a.toUpperCase()+o+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,o,s,u){if(a.language===o){var d=a.tokenStack=[];a.code=a.code.replace(s,function(p){if(typeof u=="function"&&!u(p))return p;for(var f=d.length,h;a.code.indexOf(h=r(o,f))!==-1;)++f;return d[f]=p,h}),a.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=t.languages[o];var s=0,u=Object.keys(a.tokenStack);function d(p){for(var f=0;f<p.length&&!(s>=u.length);f++){var h=p[f];if(typeof h=="string"||h.content&&typeof h.content=="string"){var b=u[s],v=a.tokenStack[b],E=typeof h=="string"?h:h.content,w=r(o,b),T=E.indexOf(w);if(T>-1){++s;var k=E.substring(0,T),A=new t.Token(o,t.tokenize(v,a.grammar),"language-"+o,v),_=E.substring(T+w.length),R=[];k&&R.push.apply(R,d([k])),R.push(A),_&&R.push.apply(R,d([_])),typeof h=="string"?p.splice.apply(p,[f,1].concat(R)):h.content=R}}else h.content&&d(h.content)}return p}d(a.tokens)}}})})(e)}lh.displayName="django";lh.aliases=["jinja2"];function lh(e){e.register(Bt),(function(t){t.languages.django={comment:/^ \{ #[ \s \S ]*?# \} $ /,tag:{pattern:/(^ \{ %[+-]? \s *) \w +/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^ \{ [{%][+-]?|[+-]?[}%] \} $ /,alias:"punctuation"},string:{pattern:/("|')(?: \\ .|(?! \1 )[^ \\ \r \n ])* \1 /,greedy:!0},filter:{pattern:/( \| ) \w +/,lookbehind:!0,alias:"function"},test:{pattern:/( \b is \s +(?:not \s +)?)(?!not \b ) \w +/,lookbehind:!0,alias:"function"},function:/ \b [a-z_] \w +(?= \s * \( )/i,keyword:/ \b (?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without) \b /,operator:/[-+%=]=?|!=| \* \* ?=?| \/ \/ ?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/ \b \d +(?: \. \d +)? \b /,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/ \b \w + \b /,punctuation:/[{}[ \] (),.:;]/};var r=/ \{ \{ [ \s \S ]*? \} \} | \{ %[ \s \S ]*?% \} | \{ #[ \s \S ]*?# \} /g,a=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"django",r)}),t.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"jinja2",r)}),t.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"jinja2")})})(e)}sh.displayName="dns-zone-file";sh.aliases=["dns-zone"];function sh(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?: \\ .|[^" \\ \r \n ])*"/,greedy:!0},variable:[{pattern:/(^ \$ ORIGIN[ \t ]+) \S +/m,lookbehind:!0},{pattern:/(^| \s )@(?= \s | $ )/,lookbehind:!0}],keyword:/^ \$ (?:INCLUDE|ORIGIN|TTL)(?= \s | $ )/m,class:{pattern:/(^| \s )(?:CH|CS|HS|IN)(?= \s | $ )/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^| \s )(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?= \s | $ )/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}uh.displayName="docker";uh.aliases=["dockerfile"];function uh(e){(function(t){var r=/ \\ [ \r \n ](?: \s | \\ [ \r \n ]|#.*(?!.))*(?![ \s #]| \\ [ \r \n ])/.source,a=/(?:[ \t ]+(?![ \t ])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return r}),o=/"(?:[^" \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*"|'(?:[^' \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*'/.source,s=/--[ \w -]+=(?:<STR>|(?!["'])(?:[^ \s \\ ]| \\ .)+)/.source.replace(/<STR>/g,function(){return o}),u={pattern:RegExp(o),greedy:!0},d={pattern:/(^[ \t ]*)#.*/m,lookbehind:!0,greedy:!0};function p(f,h){return f=f.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return a}),RegExp(f,h)}t.languages.docker={instruction:{pattern:/(^[ \t ]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?= \s )(?: \\ .|[^ \r \n \\ ])*(?: \\ $ (?: \s |#.* $ )*(?![ \s #])(?: \\ .|[^ \r \n \\ ])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:p(/(^(?:ONBUILD<SP>)? \w +<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^| \s )--[ \w -]+/,lookbehind:!0},string:[u,{pattern:/(=)(?!["'])(?:[^ \s \\ ]| \\ .)+/,lookbehind:!0}],operator:/ \\ $ /m,punctuation:/=/}},keyword:[{pattern:p(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE) \b /.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t \\ ]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^ONBUILD<SP>) \w +/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^ \w +/,greedy:!0}],comment:d,string:u,variable:/ \$ (?: \w +| \{ [^{}"' \\ ]* \} )/,oper
Line truncated
] ) ) ( ? : ` +(/[^ \s \\ ]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/ \\ [ \r \n ]+(?:[#;].*[ \r \n ]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^| \s )/.source+a),lookbehind:!0,greedy:!0},punctuation:/ \\ $ /m,boolean:{pattern:/^(?:false|no|off|on|true|yes) $ /,greedy:!0}}},punctuation:/=/}})(e)}Ul.displayName="t4-templating";Ul.aliases=[];function Ul(e){(function(t){function r(o,s,u){return{pattern:RegExp("<#"+o+"[ \\ s \\ S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#> $ "),alias:"important"},content:{pattern:/[ \s \S ]+/,inside:s,alias:u}}}}function a(o){var s=t.languages[o],u="language-"+o;return{block:{pattern:/<#[ \s \S ]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?: \\ [ \s \S ]|(?! \1 )[^ \\ ])* \1 |[^ \s '">=]+)/,inside:{punctuation:/^=|^["']|["'] $ /}},keyword:/ \b \w +(?= \s )/,"attr-name":/ \b \w +/}),expression:r("=",s,u),"class-feature":r(" \\ +",s,u),standard:r("",s,u)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(e)}xE.displayName="t4-cs";xE.aliases=["t4"];function xE(e){e.register(to),e.register(Ul),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}hc.displayName="vbnet";hc.aliases=[];function hc(e){e.register(cc),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM \b ).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^ \\ :])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?: \b (?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)| \B (?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?: \$ | \b )/i,punctuation:/[,;:(){}]/})}wE.displayName="t4-vb";wE.aliases=[];function wE(e){e.register(Ul),e.register(hc),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}TE.displayName="tap";TE.aliases=[];function TE(e){e.register(uc),e.languages.tap={fail:/not ok[^#{ \n \r ]*/,pass:/ok[^#{ \n \r ]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d +/i,plan:/ \b \d + \. \. \d +(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t ]*)---[ \s \S ]*?[ \r \n ][ \t ]* \. \. \. $ /m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}AE.displayName="tcl";AE.aliases=[];function AE(e){e.languages.tcl={comment:{pattern:/(^|[^ \\ ])#.*/,lookbehind:!0},string:{pattern:/"(?:[^" \\ \r \n ]| \\ (?: \r \n |[ \s \S ]))*"/,greedy:!0},variable:[{pattern:/( \$ )(?:::)?(?:[a-zA-Z0-9]+::)* \w +/,lookbehind:!0},{pattern:/( \$ ) \{ [^}]+ \} /,lookbehind:!0},{pattern:/(^[ \t ]*set[ \t ]+)(?:::)?(?:[a-zA-Z0-9]+::)* \w +/m,lookbehind:!0}],function:{pattern:/(^[ \t ]*proc[ \t ]+) \S +/m,lookbehind:!0},builtin:[{pattern:/(^[ \t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while) \b /m,lookbehind:!0},/ \b (?:else|elseif) \b /],scope:{pattern:/(^[ \t ]*)(?:global|upvar|variable) \b /m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[ \t ]*| \[ )(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait
Line truncated
- a positive number
- less than the value passed to \ ` max \` (or ${ uv } if no \` max \` prop is set)
- \ ` null \` or \` undefined \` if the progress is indeterminate.
Defaulting to \ ` null \` . ` } var m3 = BR , h3 = PR ; function b3 ( { className : e , value : t , ... r } ) { return g . jsx ( m3 , { "data-slot" : "progress" , className : be ( "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full" , e ) , ... r , children : g . jsx ( h3 , { "data-slot" : "progress-indicator" , className : "bg-primary h-full w-full flex-1 transition-all" , style : { transform : ` translateX(- ${ 100 - ( t || 0 ) } %) ` } } ) } ) } function Bl ( e ) { const t = S . useRef ( { value : e , previous : e } ) ; return S . useMemo ( ( ) => ( t . current . value !== e && ( t . current . previous = t . current . value , t . current . value = e ) , t . current . previous ) , [ e ] ) } function zl ( e ) { const [ t , r ] = S . useState ( void 0 ) ; return gt ( ( ) => { if ( e ) { r ( { width : e . offsetWidth , height : e . offsetHeight } ) ; const a = new ResizeObserver ( o => { if ( ! Array . isArray ( o ) || ! o . length ) return ; const s = o [ 0 ] ; let u , d ; if ( "borderBoxSize" in s ) { const p = s . borderBoxSize , f = Array . isArray ( p ) ? p [ 0 ] : p ; u = f . inlineSize , d = f . blockSize } else u = e . offsetWidth , d = e . offsetHeight ; r ( { width : u , height : d } ) } ) ; return a . observe ( e , { box : "border-box" } ) , ( ) => a . unobserve ( e ) } else r ( void 0 ) } , [ e ] ) , t } var wc = "Switch" , [ y3 ] = jt ( wc ) , [ E3 , v3 ] = y3 ( wc ) , GR = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , name : a , checked : o , defaultChecked : s , required : u , disabled : d , value : p = "on" , onCheckedChange : f , form : h , ... b } = e , [ v , E ] = S . useState ( null ) , w = _e ( t , R => E ( R ) ) , T = S . useRef ( ! 1 ) , k = v ? h || ! ! v . closest ( "form" ) : ! 0 , [ A , _ ] = en ( { prop : o , defaultProp : s ? ? ! 1 , onChange : f , caller : wc } ) ; return g . jsxs ( E3 , { scope : r , checked : A , disabled : d , children : [ g . jsx ( Se . button , { type : "button" , role : "switch" , "aria-checked" : A , "aria-required" : u , "data-state" : YR ( A ) , "data-disabled" : d ? "" : void 0 , disabled : d , value : p , ... b , ref : w , onClick : ge ( e . onClick , R => { _ ( L => ! L ) , k && ( T . current = R . isPropagationStopped ( ) , T . current || R . stopPropagation ( ) ) } ) } ) , k && g . jsx ( qR , { control : v , bubbles : ! T . current , name : a , value : p , checked : A , required : u , disabled : d , form : h , style : { transform : "translateX(-100%)" } } ) ] } ) } ) ; GR . displayName = wc ; var HR = "SwitchThumb" , VR = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , ... a } = e , o = v3 ( HR , r ) ; return g . jsx ( Se . span , { "data-state" : YR ( o . checked ) , "data-disabled" : o . disabled ? "" : void 0 , ... a , ref : t } ) } ) ; VR . displayName = HR ; var S3 = "SwitchBubbleInput" , qR = S . forwardRef ( ( { _ _scopeSwitch : e , control : t , checked : r , bubbles : a = ! 0 , ... o } , s ) => { const u = S . useRef ( null ) , d = _e ( u , s ) , p = Bl ( r ) , f = zl ( t ) ; return S . useEffect ( ( ) => { const h = u . current ; if ( ! h ) return ; const b = window . HTMLInputElement . prototype , E = Object . getOwnPropertyDescriptor ( b , "checked" ) . set ; if ( p !== r && E ) { const w = new Event ( "click" , { bubbles : a } ) ; E . call ( h , r ) , h . dispatchEvent ( w ) } } , [ p , r , a ] ) , g . jsx ( "input" , { type : "checkbox" , "aria-hidden" : ! 0 , defaultChecked : r , ... o , tabIndex : - 1 , ref : d , style : { ... o . style , ... f , position : "absolute" , pointerEvents : "none" , opacity : 0 , margin : 0 } } ) } ) ; qR . displayName = S3 ; function YR ( e ) { return e ? "checked" : "unchecked" } var x3 = GR , w3 = VR ; function T3 ( { className : e , size : t = "default" , ... r } ) { return g . jsx ( x3 , { "data-slot" : "switch" , "data-size" : t , className : be ( "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6" , e ) , ... r , children : g . jsx ( w3 , { "data-slot" : "switch-thumb" , className : be ( "bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0" ) } ) } ) } var Tc = "Checkbox" , [ A3 ] = jt ( Tc ) , [ k3 , cv ] = A3 ( Tc ) ; function _3 ( e ) { const { _ _scopeCheckbox : t , checked : r , children : a , defaultChecked : o , disabled : s , form : u , name : d , onCheckedChange : p , required : f , value : h = "on" , internal _do _not _use _render : b } = e , [ v , E ] = en ( { prop : r , defaultProp : o ? ? ! 1 , onChange : p , caller : Tc } ) , [ w , T ] = S . useState ( null ) , [ k , A ] = S . useState ( null ) , _ = S . useRef ( ! 1 ) , R = w ? ! ! u || ! ! w . closest ( "form" ) : ! 0 , L = { checked : v , disabled : s , setChecked : E , control : w , setControl : T , name : d , form : u , value : h , hasConsumerStoppedPropagationRef : _ , required : f , defaultChecked : la ( o ) ? ! 1 : o , isFormControl : R , bubbleInput : k , setBubbleInput : A } ; return g . jsx ( k3 , { scope : t , ... L , children : N3 ( b ) ? b ( L ) : a } ) } var WR = "CheckboxTrigger" , KR = S . forwardRef ( ( { _ _scopeCheckbox : e , onKeyDown : t , onClick : r , ... a } , o ) => { const { control : s , value : u , disabled : d , checked : p , required : f , setControl : h , setChecked : b , hasConsumerStoppedPropagationRef : v , isFormControl : E , bubbleInput : w } = cv ( WR , e ) , T = _e ( o , h ) , k = S . useRef ( p ) ; return S . useEffect ( ( ) => { const A = s ? . form ; if ( A ) { const _ = ( ) => b ( k . current ) ; return A . addEventListener ( "reset" , _ ) , ( ) => A . removeEventListener ( "reset" , _ ) } } , [ s , b ] ) , g . jsx ( Se . button , { type : "button" , role : "checkbox" , "aria-checked" : la ( p ) ? "mixed" : p , "aria-required" : f , "data-state" : tC ( p ) , "data-disabled" : d ? "" : void 0 , disabled : d , value : u , ... a , ref : T , onKeyDown : ge ( t , A => { A . key === "Enter" && A . preventDefault ( ) } ) , onClick : ge ( r , A => { b ( _ => la ( _ ) ? ! 0 : ! _ ) , w && E && ( v . current = A . isPropagati Line truncated
. ` .concat(R G, ` {
Defaulting to \ ` null \` . ` } var h3 = zR , b3 = $R ; function y3 ( { className : e , value : t , ... r } ) { return g . jsx ( h3 , { "data-slot" : "progress" , className : be ( "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full" , e ) , ... r , children : g . jsx ( b3 , { "data-slot" : "progress-indicator" , className : "bg-primary h-full w-full flex-1 transition-all" , style : { transform : ` translateX(- ${ 100 - ( t || 0 ) } %) ` } } ) } ) } function Bl ( e ) { const t = S . useRef ( { value : e , previous : e } ) ; return S . useMemo ( ( ) => ( t . current . value !== e && ( t . current . previous = t . current . value , t . current . value = e ) , t . current . previous ) , [ e ] ) } function zl ( e ) { const [ t , r ] = S . useState ( void 0 ) ; return gt ( ( ) => { if ( e ) { r ( { width : e . offsetWidth , height : e . offsetHeight } ) ; const a = new ResizeObserver ( o => { if ( ! Array . isArray ( o ) || ! o . length ) return ; const s = o [ 0 ] ; let u , d ; if ( "borderBoxSize" in s ) { const p = s . borderBoxSize , f = Array . isArray ( p ) ? p [ 0 ] : p ; u = f . inlineSize , d = f . blockSize } else u = e . offsetWidth , d = e . offsetHeight ; r ( { width : u , height : d } ) } ) ; return a . observe ( e , { box : "border-box" } ) , ( ) => a . unobserve ( e ) } else r ( void 0 ) } , [ e ] ) , t } var Tc = "Switch" , [ E3 ] = jt ( Tc ) , [ v3 , S3 ] = E3 ( Tc ) , HR = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , name : a , checked : o , defaultChecked : s , required : u , disabled : d , value : p = "on" , onCheckedChange : f , form : h , ... b } = e , [ v , E ] = S . useState ( null ) , w = _e ( t , R => E ( R ) ) , T = S . useRef ( ! 1 ) , k = v ? h || ! ! v . closest ( "form" ) : ! 0 , [ A , _ ] = en ( { prop : o , defaultProp : s ? ? ! 1 , onChange : f , caller : Tc } ) ; return g . jsxs ( v3 , { scope : r , checked : A , disabled : d , children : [ g . jsx ( Se . button , { type : "button" , role : "switch" , "aria-checked" : A , "aria-required" : u , "data-state" : WR ( A ) , "data-disabled" : d ? "" : void 0 , disabled : d , value : p , ... b , ref : w , onClick : ge ( e . onClick , R => { _ ( L => ! L ) , k && ( T . current = R . isPropagationStopped ( ) , T . current || R . stopPropagation ( ) ) } ) } ) , k && g . jsx ( YR , { control : v , bubbles : ! T . current , name : a , value : p , checked : A , required : u , disabled : d , form : h , style : { transform : "translateX(-100%)" } } ) ] } ) } ) ; HR . displayName = Tc ; var VR = "SwitchThumb" , qR = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , ... a } = e , o = S3 ( VR , r ) ; return g . jsx ( Se . span , { "data-state" : WR ( o . checked ) , "data-disabled" : o . disabled ? "" : void 0 , ... a , ref : t } ) } ) ; qR . displayName = VR ; var x3 = "SwitchBubbleInput" , YR = S . forwardRef ( ( { _ _scopeSwitch : e , control : t , checked : r , bubbles : a = ! 0 , ... o } , s ) => { const u = S . useRef ( null ) , d = _e ( u , s ) , p = Bl ( r ) , f = zl ( t ) ; return S . useEffect ( ( ) => { const h = u . current ; if ( ! h ) return ; const b = window . HTMLInputElement . prototype , E = Object . getOwnPropertyDescriptor ( b , "checked" ) . set ; if ( p !== r && E ) { const w = new Event ( "click" , { bubbles : a } ) ; E . call ( h , r ) , h . dispatchEvent ( w ) } } , [ p , r , a ] ) , g . jsx ( "input" , { type : "checkbox" , "aria-hidden" : ! 0 , defaultChecked : r , ... o , tabIndex : - 1 , ref : d , style : { ... o . style , ... f , position : "absolute" , pointerEvents : "none" , opacity : 0 , margin : 0 } } ) } ) ; YR . displayName = x3 ; function WR ( e ) { return e ? "checked" : "unchecked" } var w3 = HR , T3 = qR ; function A3 ( { className : e , size : t = "default" , ... r } ) { return g . jsx ( w3 , { "data-slot" : "switch" , "data-size" : t , className : be ( "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6" , e ) , ... r , children : g . jsx ( T3 , { "data-slot" : "switch-thumb" , className : be ( "bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0" ) } ) } ) } var Ac = "Checkbox" , [ k3 ] = jt ( Ac ) , [ _3 , cv ] = k3 ( Ac ) ; function N3 ( e ) { const { _ _scopeCheckbox : t , checked : r , children : a , defaultChecked : o , disabled : s , form : u , name : d , onCheckedChange : p , required : f , value : h = "on" , internal _do _not _use _render : b } = e , [ v , E ] = en ( { prop : r , defaultProp : o ? ? ! 1 , onChange : p , caller : Ac } ) , [ w , T ] = S . useState ( null ) , [ k , A ] = S . useState ( null ) , _ = S . useRef ( ! 1 ) , R = w ? ! ! u || ! ! w . closest ( "form" ) : ! 0 , L = { checked : v , disabled : s , setChecked : E , control : w , setControl : T , name : d , form : u , value : h , hasConsumerStoppedPropagationRef : _ , required : f , defaultChecked : la ( o ) ? ! 1 : o , isFormControl : R , bubbleInput : k , setBubbleInput : A } ; return g . jsx ( _3 , { scope : t , ... L , children : R3 ( b ) ? b ( L ) : a } ) } var KR = "CheckboxTrigger" , XR = S . forwardRef ( ( { _ _scopeCheckbox : e , onKeyDown : t , onClick : r , ... a } , o ) => { const { control : s , value : u , disabled : d , checked : p , required : f , setControl : h , setChecked : b , hasConsumerStoppedPropagationRef : v , isFormControl : E , bubbleInput : w } = cv ( KR , e ) , T = _e ( o , h ) , k = S . useRef ( p ) ; return S . useEffect ( ( ) => { const A = s ? . form ; if ( A ) { const _ = ( ) => b ( k . current ) ; return A . addEventListener ( "reset" , _ ) , ( ) => A . removeEventListener ( "reset" , _ ) } } , [ s , b ] ) , g . jsx ( Se . button , { type : "button" , role : "checkbox" , "aria-checked" : la ( p ) ? "mixed" : p , "aria-required" : f , "data-state" : nC ( p ) , "data-disabled" : d ? "" : void 0 , disabled : d , value : u , ... a , ref : T , onKeyDown : ge ( t , A => { A . key === "Enter" && A . preventDefault ( ) } ) , onClick : ge ( r , A => { b ( _ => la ( _ ) ? ! 0 : ! _ ) , w && E && ( v . current = A . isPropagati Line truncated
. ` .concat(C G, ` {
overflow : hidden ` ).concat(a, ` ;
padding - right : ` ).concat(d,"px ").concat(a, ` ;
}
@@ -88,20 +88,20 @@ Defaulting to \`null\`.`}var m3=BR,h3=PR;function b3({className:e,value:t,...r})
}
body [ ` ).concat(qi, ` ] {
` ).concat(C G,": ").concat(d, ` px ;
` ).concat(O G,": ").concat(d, ` px ;
}
` )},I k=function(){var e=parseInt(document.body.getAttribute(qi)||"0",10);return isFinite(e)?e:0},K G=function(){S.useEffect(function(){return document.body.setAttribute(qi,(I k()+1).toString()),function(){var e=I k()-1;e<=0?document.body.removeAttribute(qi):document.body.setAttribute(qi,e.toString())}},[])},X G=function(e){var t=e.noRelative,r=e.noImportant,a=e.gapMode,o=a===void 0?"margin":a;K G();var s=S.useMemo(function(){return q G(o)},[o]);return S.createElement(Y G,{styles:W G(s,!t,o,r?"":"!important")})},g g=!1;if(typeof window<"u")try{var Tu=Object.defineProperty({},"passive",{get:function(){return g g=!0,!0}});window.addEventListener("test",Tu,Tu),window.removeEventListener("test",Tu,Tu)}catch{g g=!1}var ji=g g?{passive:!1}:!1,Z G=function(e){return e.tagName==="TEXTAREA"},V C=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Z G(e)&&r[t]==="visible")},Q G=function(e){return V C(e,"overflowY")},JG =function(e){return V C(e,"overflowX")},L k=function(e,t){var r=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var o=q C(e,a);if(o){var s=Y C(e,a),u=s[1],d=s[2];if(u>d)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},e H=function(e){var t=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[t,r,a]},t H=function(e){var t=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[t,r,a]},q C=function(e,t){return e==="v"?Q G(t):JG (t)},Y C=function(e,t){return e==="v"?e H(t):t H(t)},n H=function(e,t){return e==="h"&&t==="rtl"?-1:1},r H=function(e,t,r,a,o){var s=n H(e,window.getComputedStyle(t).direction),u=s*a,d=r.target,p=t.contains(d),f=!1,h=u>0,b=0,v=0;do{if(!d)break;var E=Y C(e,d),w=E[0],T=E[1],k=E[2],A=T-k-s*w;(w||A)&&q C(e,d)&&(b+=A,v+=w);var _=d.parentNode;d=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!p&&d!==document.body||p&&(t.contains(d)||t===d));return(h&&Math.abs(b)<1||!h&&Math.abs(v)<1)&&(f=!0),f},Au=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D k=function(e){return[e.deltaX,e.deltaY]},M k=function(e){return e&&"current"in e?e.current:e},a H=function(e,t){return e[0]===t[0]&&e[1]===t[1]},i H=function(e){return `
` )},L k=function(){var e=parseInt(document.body.getAttribute(qi)||"0",10);return isFinite(e)?e:0},X G=function(){S.useEffect(function(){return document.body.setAttribute(qi,(L k()+1).toString()),function(){var e=L k()-1;e<=0?document.body.removeAttribute(qi):document.body.setAttribute(qi,e.toString())}},[])},Z G=function(e){var t=e.noRelative,r=e.noImportant,a=e.gapMode,o=a===void 0?"margin":a;X G();var s=S.useMemo(function(){return Y G(o)},[o]);return S.createElement(W G,{styles:K G(s,!t,o,r?"":"!important")})},m g=!1;if(typeof window<"u")try{var Tu=Object.defineProperty({},"passive",{get:function(){return m g=!0,!0}});window.addEventListener("test",Tu,Tu),window.removeEventListener("test",Tu,Tu)}catch{m g=!1}var ji=m g?{passive:!1}:!1,Q G=function(e){return e.tagName==="TEXTAREA"},q C=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Q G(e)&&r[t]==="visible")},J G=function(e){return q C(e,"overflowY")},eH =function(e){return q C(e,"overflowX")},D k=function(e,t){var r=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var o=Y C(e,a);if(o){var s=W C(e,a),u=s[1],d=s[2];if(u>d)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},t H=function(e){var t=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[t,r,a]},n H=function(e){var t=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[t,r,a]},Y C=function(e,t){return e==="v"?J G(t):eH (t)},W C=function(e,t){return e==="v"?t H(t):n H(t)},r H=function(e,t){return e==="h"&&t==="rtl"?-1:1},a H=function(e,t,r,a,o){var s=r H(e,window.getComputedStyle(t).direction),u=s*a,d=r.target,p=t.contains(d),f=!1,h=u>0,b=0,v=0;do{if(!d)break;var E=W C(e,d),w=E[0],T=E[1],k=E[2],A=T-k-s*w;(w||A)&&Y C(e,d)&&(b+=A,v+=w);var _=d.parentNode;d=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!p&&d!==document.body||p&&(t.contains(d)||t===d));return(h&&Math.abs(b)<1||!h&&Math.abs(v)<1)&&(f=!0),f},Au=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},M k=function(e){return[e.deltaX,e.deltaY]},j k=function(e){return e&&"current"in e?e.current:e},i H=function(e,t){return e[0]===t[0]&&e[1]===t[1]},o H=function(e){return `
. block - interactivity - ` .concat(e, ` { pointer - events : none ; }
. allow - interactivity - ` ).concat(e, ` { pointer - events : all ; }
` )},oH=0,Ui=[];function lH(e){var t=S.useRef([]),r=S.useRef([0,0]),a=S.useRef(),o=S.useState(oH++)[0],s=S.useState(HC)[0],u=S.useRef(e);S.useEffect(function(){u.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var T=NG([e.lockRef.current],(e.shards||[]).map(Mk),!0).filter(Boolean);return T.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),T.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var d=S.useCallback(function(T,k){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!u.current.allowPinchZoom;var A=Au(T),_=r.current,R="deltaX"in T?T.deltaX:_[0]-A[0],L="deltaY"in T?T.deltaY:_[1]-A[1],z,D=T.target,U=Math.abs(R)>Math.abs(L)?"h":"v";if("touches"in T&&U==="h"&&D.type==="range")return!1;var P=window.getSelection(),X=P&&P.anchorNode,M=X?X===D||X.contains(D):!1;if(M)return!1;var H=Lk(U,D);if(!H)return!0;if(H?z=U:(z=U==="v"?"h":"v",H=Lk(U,D)),!H)return!1;if(!a.current&&"changedTouches"in T&&(R||L)&&(a.current=z),!z)return!0;var W=a.current||z;return rH(W,k,T,W==="h"?R:L)},[]),p=S.useCallback(function(T){var k=T;if(!(!Ui.length||Ui[Ui.length-1]!==s)){var A="deltaY"in k?Dk(k):Au(k),_=t.current.filter(function(z){return z.name===k.type&&(z.target===k.target||k.target===z.shadowParent)&&aH(z.delta,A)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var R=(u.current.shards||[]).map(Mk).filter(Boolean).filter(function(z){return z.contains(k.target)}),L=R.length>0?d(k,R[0]):!u.current.noIsolation;L&&k.cancelable&&k.preventDefault()}}},[]),f=S.useCallback(function(T,k,A,_){var R={name:T,delta:k,target:A,should:_,shadowParent:sH(A)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(L){return L!==R})},1)},[]),h=S.useCallback(function(T){r.current=Au(T),a.current=void 0},[]),b=S.useCallback(function(T){f(T.type,Dk(T),T.target,d(T,e.lockRef.current))},[]),v=S.useCallback(function(T){f(T.type,Au(T),T.target,d(T,e.lockRef.current))},[]);S.useEffect(function(){return Ui.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:v}),document.addEventListener("wheel",p,ji),document.addEventListener("touchmove",p,ji),document.addEventListener("touchstart",h,ji),function(){Ui=Ui.filter(function(T){return T!==s}),document.removeEventListener("wheel",p,ji),document.removeEventListener("touchmove",p,ji),document.removeEventListener("touchstart",h,ji)}},[]);var E=e.removeScrollBar,w=e.inert;return S.createElement(S.Fragment,null,w?S.createElement(s,{styles:iH(o)}):null,E?S.createElement(XG,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function sH(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const uH=UG(GC,lH);var Lc=S.forwardRef(function(e,t){return S.createElement(Ic,Jn({},e,{ref:t,sideCar:uH}))});Lc.classNames=Ic.classNames;var cH=[" ","Enter","ArrowUp","ArrowDown"],dH=[" ","Enter"],Ba="Select",[Dc,Mc,pH]=hc(Ba),[uo]=jt(Ba,[pH,so]),jc=so(),[fH,pa]=uo(Ba),[gH,mH]=uo(Ba),WC=e=>{const{__scopeSelect:t,children:r,open:a,defaultOpen:o,onOpenChange:s,value:u,defaultValue:d,onValueChange:p,dir:f,name:h,autoComplete:b,disabled:v,required:E,form:w}=e,T=jc(t),[k,A]=S.useState(null),[_,R]=S.useState(null),[L,z]=S.useState(!1),D=Ga(f),[U,P]=en({prop:a,defaultProp:o??!1,onChange:s,caller:Ba}),[X,M]=en({prop:u,defaultProp:d,onChange:p,caller:Ba}),H=S.useRef(null),W=k?w||!!k.closest("form"):!0,[re,ee]=S.useState(new Set),Z=Array.from(re).map(B=>B.props.value).join(";");return g.jsx(Sv,{...T,children:g.jsxs(fH,{required:E,scope:t,trigger:k,onTriggerChange:A,valueNode:_,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:z,contentId:Nn(),value:X,onValueChange:M,open:U,onOpenChange:P,dir:D,triggerPointerDownPosRef:H,disabled:v,children:[g.jsx(Dc.Provider,{scope:t,children:g.jsx(gH,{scope:e.__scopeSelect,onNativeOptionAdd:S.useCallback(B=>{ee(Y=>new Set(Y).add(B))},[]),onNativeOptionRemove:S.useCallback(B=>{ee(Y=>{const te=new Set(Y);return te.delete(B),te})},[]),children:r})}),W?g.jsxs(h0,{"aria-hidden":!0,required:E,tabIndex:-1,name:h,autoComplete:b,value:X,onChange:B=>M(B.target.value),disabled:v,form:w,children:[X===void 0?g.jsx("option",{value:""}):null,Array.from(re)]},Z):null]})})};WC.displayName=Ba;var KC="SelectTrigger",XC=S.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:a=!1,...o}=e,s=jc(r),u=pa(KC,r),d=u.disabled||a,p=_e(t,u.onTriggerChange),f=Mc(r),h=S.useRef("touch"),[b,v,E]=y0(T=>{const k=f().filter(R=>!R.disabled),A=k.find(R=>R.value===u.value),_=E0(k,T,A);_!==void 0&&u.onValueChange(_.value)}),w=T=>{d||(u.onOpenChange(!0),E()),T&&(u.triggerPointerDownPosRef.current={x:Math.round(T.pageX),y:Math.round(T.pageY)})};return g.jsx(Oc,{asChild:!0,...s,children:g.jsx(Se.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria
Line truncated
` )},lH=0,Ui=[];function sH(e){var t=S.useRef([]),r=S.useRef([0,0]),a=S.useRef(),o=S.useState(lH++)[0],s=S.useState(VC)[0],u=S.useRef(e);S.useEffect(function(){u.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var T=RG([e.lockRef.current],(e.shards||[]).map(jk),!0).filter(Boolean);return T.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),T.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var d=S.useCallback(function(T,k){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!u.current.allowPinchZoom;var A=Au(T),_=r.current,R="deltaX"in T?T.deltaX:_[0]-A[0],L="deltaY"in T?T.deltaY:_[1]-A[1],F,D=T.target,P=Math.abs(R)>Math.abs(L)?"h":"v";if("touches"in T&&P==="h"&&D.type==="range")return!1;var z=window.getSelection(),W=z&&z.anchorNode,M=W?W===D||W.contains(D):!1;if(M)return!1;var H=Dk(P,D);if(!H)return!0;if(H?F=P:(F=P==="v"?"h":"v",H=Dk(P,D)),!H)return!1;if(!a.current&&"changedTouches"in T&&(R||L)&&(a.current=F),!F)return!0;var X=a.current||F;return aH(X,k,T,X==="h"?R:L)},[]),p=S.useCallback(function(T){var k=T;if(!(!Ui.length||Ui[Ui.length-1]!==s)){var A="deltaY"in k?Mk(k):Au(k),_=t.current.filter(function(F){return F.name===k.type&&(F.target===k.target||k.target===F.shadowParent)&&iH(F.delta,A)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var R=(u.current.shards||[]).map(jk).filter(Boolean).filter(function(F){return F.contains(k.target)}),L=R.length>0?d(k,R[0]):!u.current.noIsolation;L&&k.cancelable&&k.preventDefault()}}},[]),f=S.useCallback(function(T,k,A,_){var R={name:T,delta:k,target:A,should:_,shadowParent:uH(A)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(L){return L!==R})},1)},[]),h=S.useCallback(function(T){r.current=Au(T),a.current=void 0},[]),b=S.useCallback(function(T){f(T.type,Mk(T),T.target,d(T,e.lockRef.current))},[]),v=S.useCallback(function(T){f(T.type,Au(T),T.target,d(T,e.lockRef.current))},[]);S.useEffect(function(){return Ui.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:v}),document.addEventListener("wheel",p,ji),document.addEventListener("touchmove",p,ji),document.addEventListener("touchstart",h,ji),function(){Ui=Ui.filter(function(T){return T!==s}),document.removeEventListener("wheel",p,ji),document.removeEventListener("touchmove",p,ji),document.removeEventListener("touchstart",h,ji)}},[]);var E=e.removeScrollBar,w=e.inert;return S.createElement(S.Fragment,null,w?S.createElement(s,{styles:oH(o)}):null,E?S.createElement(ZG,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function uH(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const cH=FG(HC,sH);var Dc=S.forwardRef(function(e,t){return S.createElement(Lc,Jn({},e,{ref:t,sideCar:cH}))});Dc.classNames=Lc.classNames;var dH=[" ","Enter","ArrowUp","ArrowDown"],pH=[" ","Enter"],Ba="Select",[Mc,jc,fH]=bc(Ba),[uo]=jt(Ba,[fH,so]),Uc=so(),[gH,pa]=uo(Ba),[mH,hH]=uo(Ba),KC=e=>{const{__scopeSelect:t,children:r,open:a,defaultOpen:o,onOpenChange:s,value:u,defaultValue:d,onValueChange:p,dir:f,name:h,autoComplete:b,disabled:v,required:E,form:w}=e,T=Uc(t),[k,A]=S.useState(null),[_,R]=S.useState(null),[L,F]=S.useState(!1),D=Ga(f),[P,z]=en({prop:a,defaultProp:o??!1,onChange:s,caller:Ba}),[W,M]=en({prop:u,defaultProp:d,onChange:p,caller:Ba}),H=S.useRef(null),X=k?w||!!k.closest("form"):!0,[ee,te]=S.useState(new Set),Z=Array.from(ee).map(B=>B.props.value).join(";");return g.jsx(Sv,{...T,children:g.jsxs(gH,{required:E,scope:t,trigger:k,onTriggerChange:A,valueNode:_,onValueNodeChange:R,valueNodeHasChildren:L,onValueNodeHasChildrenChange:F,contentId:Rn(),value:W,onValueChange:M,open:P,onOpenChange:z,dir:D,triggerPointerDownPosRef:H,disabled:v,children:[g.jsx(Mc.Provider,{scope:t,children:g.jsx(mH,{scope:e.__scopeSelect,onNativeOptionAdd:S.useCallback(B=>{te(Y=>new Set(Y).add(B))},[]),onNativeOptionRemove:S.useCallback(B=>{te(Y=>{const ne=new Set(Y);return ne.delete(B),ne})},[]),children:r})}),X?g.jsxs(b0,{"aria-hidden":!0,required:E,tabIndex:-1,name:h,autoComplete:b,value:W,onChange:B=>M(B.target.value),disabled:v,form:w,children:[W===void 0?g.jsx("option",{value:""}):null,Array.from(ee)]},Z):null]})})};KC.displayName=Ba;var XC="SelectTrigger",ZC=S.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:a=!1,...o}=e,s=Uc(r),u=pa(XC,r),d=u.disabled||a,p=_e(t,u.onTriggerChange),f=jc(r),h=S.useRef("touch"),[b,v,E]=E0(T=>{const k=f().filter(R=>!R.disabled),A=k.find(R=>R.value===u.value),_=v0(k,T,A);_!==void 0&&u.onValueChange(_.value)}),w=T=>{d||(u.onOpenChange(!0),E()),T&&(u.triggerPointerDownPosRef.current={x:Math.round(T.pageX),y:Math.round(T.pageY)})};return g.jsx(Ic,{asChild:!0,...s,children:g.jsx(Se.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria
Line truncated
If you want to hide the \ ` ${ t . titleName } \` , you can wrap it with our VisuallyHidden component.
For more information , see https : //radix-ui.com/primitives/docs/components/${t.docsSlug}`;return S.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},O5="DialogDescriptionWarning",I5=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${K0(O5).contentName}}.`;return S.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},L5=M0,D5=U0,M5=B0,j5=z0,U5=P0,F5=G0,B5=V0,z5=Y0;function P5({...e}){return g.jsx(L5,{"data-slot":"dialog",...e})}function $5({...e}){return g.jsx(D5,{"data-slot":"dialog-trigger",...e})}function G5({...e}){return g.jsx(M5,{"data-slot":"dialog-portal",...e})}function H5({className:e,...t}){return g.jsx(j5,{"data-slot":"dialog-overlay",className:be("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function V5({className:e,children:t,showCloseButton:r=!0,...a}){return g.jsxs(G5,{"data-slot":"dialog-portal",children:[g.jsx(H5,{}),g.jsxs(U5,{"data-slot":"dialog-content",className:be("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",e),...a,children:[t,r&&g.jsxs(z5,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[g.jsx(F$,{}),g.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function q5({className:e,...t}){return g.jsx("div",{"data-slot":"dialog-header",className:be("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Y5({className:e,...t}){return g.jsx(F5,{"data-slot":"dialog-title",className:be("text-lg leading-none font-semibold",e),...t})}function W5({className:e,...t}){return g.jsx(B5,{"data-slot":"dialog-description",className:be("text-muted-foreground text-sm",e),...t})}var K5=Symbol("radix.slottable");function X5(e){const t=({children:r})=>g.jsx(g.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=K5,t}var[Bc]=jt("Tooltip",[so]),zc=so(),X0="TooltipProvider",Z5=700,wg="tooltip.open",[Q5,Cv]=Bc(X0),Z0=e=>{const{__scopeTooltip:t,delayDuration:r=Z5,skipDelayDuration:a=300,disableHoverableContent:o=!1,children:s}=e,u=S.useRef(!0),d=S.useRef(!1),p=S.useRef(0);return S.useEffect(()=>{const f=p.current;return()=>window.clearTimeout(f)},[]),g.jsx(Q5,{scope:t,isOpenDelayedRef:u,delayDuration:r,onOpen:S.useCallback(()=>{window.clearTimeout(p.current),u.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>u.current=!0,a)},[a]),isPointerInTransitRef:d,onPointerInTransitChange:S.useCallback(f=>{d.current=f},[]),disableHoverableContent:o,children:s})};Z0.displayName=X0;var kl="Tooltip",[J5,Hl]=Bc(kl),Q0=e=>{const{__scopeTooltip:t,children:r,open:a,defaultOpen:o,onOpenChange:s,disableHoverableContent:u,delayDuration:d}=e,p=Cv(kl,e.__scopeTooltip),f=zc(t),[h,b]=S.useState(null),v=Nn(),E=S.useRef(0),w=u??p.disableHoverableContent,T=d??p.delayDuration,k=S.useRef(!1),[A,_]=en({prop:a,defaultProp:o??!1,onChange:U=>{U?(p.onOpen(),document.dispatchEvent(new CustomEvent(wg))):p.onClose(),s?.(U)},caller:kl}),R=S.useMemo(()=>A?k.current?"delayed-open":"instant-open":"closed",[A]),L=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,k.current=!1,_(!0)},[_]),z=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,_(!1)},[_]),D=S.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>{k.current=!0,_(!0),E.current=0},T)},[T,_]);return S.useEffect(()=>()=>{E.current&&(window.clearTimeout(E.current),E.current=0)},[]),g.jsx(Sv,{...f,children:g.jsx(J5,{scope:t,contentId:v,open:A,stateAttribute:R,trigger:h,onTriggerChange:b,onTriggerEnter:S.useCallback(()=>{p.isOpenDelayedRef.current?D():L()},[p.isOpenDelayedRef,D,L]),onTriggerLeave:S.useCallback(()=>{w?z():(window.clearTimeout(E.current),E.current=0)},[z,w]),onOpen:L,onClose:z,disableHoverableContent:w,children:r})})};Q0.displayName=kl;var Tg="TooltipTrigger",J0=S.forwardRef((e,t)=>{const{__scopeTooltip:r,...a}=e,o=Hl(Tg,r),s=Cv(Tg,r),u=zc(r),d=S.useRef(null),p=_e(t,d,o.onTriggerChange),f=S.useRef(!1),h=S.useRef(!1),b=S.useCallback(()=>f.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",b),[b]),g.jsx(Oc,{asChild:!0,...u,children:g.jsx(Se.button,
Line truncated
For more information , see https : //radix-ui.com/primitives/docs/components/${t.docsSlug}`;return S.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},I5="DialogDescriptionWarning",L5=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${X0(I5).contentName}}.`;return S.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},D5=j0,M5=F0,j5=z0,U5=P0,F5=$0,B5=H0,z5=q0,P5=W0;function $5({...e}){return g.jsx(D5,{"data-slot":"dialog",...e})}function G5({...e}){return g.jsx(M5,{"data-slot":"dialog-trigger",...e})}function H5({...e}){return g.jsx(j5,{"data-slot":"dialog-portal",...e})}function V5({className:e,...t}){return g.jsx(U5,{"data-slot":"dialog-overlay",className:be("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function q5({className:e,children:t,showCloseButton:r=!0,...a}){return g.jsxs(H5,{"data-slot":"dialog-portal",children:[g.jsx(V5,{}),g.jsxs(F5,{"data-slot":"dialog-content",className:be("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",e),...a,children:[t,r&&g.jsxs(P5,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[g.jsx(B$,{}),g.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Y5({className:e,...t}){return g.jsx("div",{"data-slot":"dialog-header",className:be("flex flex-col gap-2 text-center sm:text-left",e),...t})}function W5({className:e,...t}){return g.jsx(B5,{"data-slot":"dialog-title",className:be("text-lg leading-none font-semibold",e),...t})}function K5({className:e,...t}){return g.jsx(z5,{"data-slot":"dialog-description",className:be("text-muted-foreground text-sm",e),...t})}var X5=Symbol("radix.slottable");function Z5(e){const t=({children:r})=>g.jsx(g.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=X5,t}var[zc]=jt("Tooltip",[so]),Pc=so(),Z0="TooltipProvider",Q5=700,Tg="tooltip.open",[J5,Cv]=zc(Z0),Q0=e=>{const{__scopeTooltip:t,delayDuration:r=Q5,skipDelayDuration:a=300,disableHoverableContent:o=!1,children:s}=e,u=S.useRef(!0),d=S.useRef(!1),p=S.useRef(0);return S.useEffect(()=>{const f=p.current;return()=>window.clearTimeout(f)},[]),g.jsx(J5,{scope:t,isOpenDelayedRef:u,delayDuration:r,onOpen:S.useCallback(()=>{window.clearTimeout(p.current),u.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>u.current=!0,a)},[a]),isPointerInTransitRef:d,onPointerInTransitChange:S.useCallback(f=>{d.current=f},[]),disableHoverableContent:o,children:s})};Q0.displayName=Z0;var kl="Tooltip",[e6,Hl]=zc(kl),J0=e=>{const{__scopeTooltip:t,children:r,open:a,defaultOpen:o,onOpenChange:s,disableHoverableContent:u,delayDuration:d}=e,p=Cv(kl,e.__scopeTooltip),f=Pc(t),[h,b]=S.useState(null),v=Rn(),E=S.useRef(0),w=u??p.disableHoverableContent,T=d??p.delayDuration,k=S.useRef(!1),[A,_]=en({prop:a,defaultProp:o??!1,onChange:P=>{P?(p.onOpen(),document.dispatchEvent(new CustomEvent(Tg))):p.onClose(),s?.(P)},caller:kl}),R=S.useMemo(()=>A?k.current?"delayed-open":"instant-open":"closed",[A]),L=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,k.current=!1,_(!0)},[_]),F=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,_(!1)},[_]),D=S.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>{k.current=!0,_(!0),E.current=0},T)},[T,_]);return S.useEffect(()=>()=>{E.current&&(window.clearTimeout(E.current),E.current=0)},[]),g.jsx(Sv,{...f,children:g.jsx(e6,{scope:t,contentId:v,open:A,stateAttribute:R,trigger:h,onTriggerChange:b,onTriggerEnter:S.useCallback(()=>{p.isOpenDelayedRef.current?D():L()},[p.isOpenDelayedRef,D,L]),onTriggerLeave:S.useCallback(()=>{w?F():(window.clearTimeout(E.current),E.current=0)},[F,w]),onOpen:L,onClose:F,disableHoverableContent:w,children:r})})};J0.displayName=kl;var Ag="TooltipTrigger",eO=S.forwardRef((e,t)=>{const{__scopeTooltip:r,...a}=e,o=Hl(Ag,r),s=Cv(Ag,r),u=Pc(r),d=S.useRef(null),p=_e(t,d,o.onTriggerChange),f=S.useRef(!1),h=S.useRef(!1),b=S.useCallback(()=>f.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",b),[b]),g.jsx(Ic,{asChild:!0,...u,children:g.jsx(Se.button,
Line truncated
` );for(;t.length&&!t[0].trim();)t.shift();for(;t.length&&!t[t.length-1].trim();)t.pop();if(!t.length)return"";const r=Math.min(...t.filter(a=>a.trim().length>0).map(a=>a.match(/^ */)?.[0].length??0));return r===0?t.join( `
` ):t.map(a=>a.slice(r)).join( `
` )}function S V({language:e,children:t}){const[r,a]=S.useState(!1),o=S.useCallback(async()=>{await navigator.clipboard.writeText(t),a(!0),setTimeout(()=>a(!1),2e3)},[t]);return g.jsxs("div",{className:"relative group/code my-3 rounded-lg overflow-hidden",children:[g.jsxs("div",{className:"flex items-center justify-between px-4 py-1.5 bg-[#1e1e2e] text-xs text-gray-400",children:[g.jsx("span",{children:e||"code"}),g.jsx("button",{onClick:o,className:"flex items-center gap-1 hover:text-white transition-colors",children:r?"✓ Copied":"Copy"})]}),g.jsx(Y N,{style:h P,language:e||"text",PreTag:"div",customStyle:{margin:0,borderRadius:0,fontSize:"13px"},children:t})]})}function x V(e){const t=e.split( `
` )}function x V({language:e,children:t}){const[r,a]=S.useState(!1),o=S.useCallback(async()=>{await navigator.clipboard.writeText(t),a(!0),setTimeout(()=>a(!1),2e3)},[t]);return g.jsxs("div",{className:"relative group/code my-3 rounded-lg overflow-hidden",children:[g.jsxs("div",{className:"flex items-center justify-between px-4 py-1.5 bg-[#1e1e2e] text-xs text-gray-400",children:[g.jsx("span",{children:e||"code"}),g.jsx("button",{onClick:o,className:"flex items-center gap-1 hover:text-white transition-colors",children:r?"✓ Copied":"Copy"})]}),g.jsx(W N,{style:b P,language:e||"text",PreTag:"div",customStyle:{margin:0,borderRadius:0,fontSize:"13px"},children:t})]})}function w V(e){const t=e.split( `
` );let r=!1,a=!1,o="",s=0;for(let u=0;u<t.length;u++){const d=t[u];if(/^[ \t ]* ` ` ` / . test ( d ) ) { r = ! r ; continue } if ( r ) continue ; const p = d . match ( /^([ \t]*)(\d+)\.[ \t]/ ) ; if ( p ) { const f = p [ 1 ] ; ! a || f !== o ? ( a = ! 0 , o = f , s = 1 ) : s ++ , t [ u ] = d . replace ( /^([ \t]*)\d+\./ , ` ${ f } ${ s } . ` ) } else d . trim ( ) === "" && a || a && /^[ \t]+\S/ . test ( d ) || a && ( a = ! 1 , s = 0 ) } return t . join ( `
` )}function y O({content:e}){const t=x V(e);return g.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none prose-p:leading-relaxed prose-pre:p-0 prose-pre:bg-transparent",children:g.jsx(l N,{remarkPlugins:[O N],components:{ul({children:r,ordered:a,start:o}){if(a){const s=o!=null?Number(o):1;return g.jsx("ol",{start:s,style:{listStyleType:"decimal",paddingLeft:"1.5rem",margin:"0.5rem 0"},children:r})}return g.jsx("ul",{style:{listStyleType:"disc",paddingLeft:"1.5rem",margin:"0.5rem 0"},children:r})},li({children:r}){return g.jsx("li",{style:{display:"list-item",marginBottom:"0.25rem"},children:r})},code({className:r,children:a,...o}){const s=/language-( \w +)/.exec(r||""),u=v V(String(a));return!s&&!u.includes( `
` )?g.jsx("code",{className:"px-1.5 py-0.5 rounded bg-muted text-sm font-mono",...o,children:a}):g.jsx(SV,{language:s?.[1],children:u})},a({href:r,children:a}){return g.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:a})},table({children:r}){return g.jsx("div",{className:"overflow-x-auto my-3",children:g.jsx("table",{className:"min-w-full text-sm",children:r})})}},children:t})})}function wV({message:e,sessionId:t}){return e.role==="user"?g.jsx("div",{className:"flex justify-end",children:g.jsxs("div",{className:"flex gap-3 max-w-[80%]",children:[g.jsx("div",{className:"rounded-2xl px-4 py-2.5 bg-primary text-primary-foreground",children:g.jsx("p",{className:"text-sm whitespace-pre-wrap",children:e.content})}),g.jsx(Ag,{role:"user"})]})}):g.jsxs("div",{className:"flex gap-3 group",children:[g.jsx(Ag,{role:"assistant"}),g.jsxs("div",{className:"flex-1 min-w-0",children:[e.toolCalls&&e.toolCalls.length>0&&g.jsx("div",{className:"mb-2 space-y-1",children:e.toolCalls.map((a,o)=>g.jsx(bO,{toolCall:a},o))}),g.jsx(yO,{content:e.content}),e.elements&&e.elements.length>0&&g.jsx("div",{className:"mt-3 space-y-3",children:e.elements.map((a,o)=>g.jsx(pV,{element:a,className:"w-full"},o))}),e.images&&e.images.length>0&&g.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:e.images.map((a,o)=>g.jsx("img",{src:a,alt:"",className:"max-w-full rounded-md max-h-64 object-contain"},o))}),e.actions&&e.actions.length>0&&g.jsx(gV,{actions:e.actions,messageId:e.id,sessionId:t}),g.jsxs("div",{className:"mt-1 flex items-center gap-1 relative",children:[g.jsx(yV,{text:e.content}),g.jsx(EV,{messageId:e.id})]})]})]})}function TV({onSend:e,onCancel:t,isStreaming:r=!1,placeholder:a="Type a message...",enableFileUpload:o=!1}){const[s,u]=S.useState(""),[d,p]=S.useState([]),f=S.useRef(null),h=S.useRef(null),b=S.useCallback(()=>{const A=s.trim();(A||d.length>0)&&!r&&(e(A,d.length>0?d:void 0),u(""),p([]),f.current&&(f.current.style.height="auto"))},[s,d,r,e]),v=S.useCallback(A=>{const _=Array.from(A.target.files||[]);p(R=>[...R,..._]),h.current&&(h.current.value="")},[]),E=S.useCallback(()=>{h.current?.click()},[]),w=S.useCallback(A=>{p(_=>_.filter((R,L)=>L!==A))},[]),T=S.useCallback(A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),b())},[b]),k=S.useCallback(()=>{const A=f.current;A&&(A.style.height="auto",A.style.height= ` $ { Math . min ( A . scrollHeight , 200 ) } px ` )},[]);return g.jsx("div",{className:"p-4 pb-6",children:g.jsxs("div",{className:"max-w-3xl mx-auto",children:[g.jsxs("div",{className:"rounded-2xl border bg-background/80 backdrop-blur-sm shadow-lg",children:[d.length>0&&g.jsx("div",{className:"flex flex-wrap gap-1 px-4 pt-3",children:d.map((A,_)=>g.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 bg-muted rounded-lg text-xs",children:[g.jsx("span",{className:"truncate max-w-[100px]",children:A.name}),g.jsx("button",{type:"button",onClick:()=>w(_),className:"hover:text-destructive",children:"× "})]}, ` $ { A . name } - $ { _ } ` ))}),g.jsxs("div",{className:"flex items-end gap-2 p-2",children:[o&&g.jsxs(g.Fragment,{children:[g.jsx("input",{ref:h,type:"file",multiple:!0,onChange:v,className:"hidden",accept:"image/*,audio/*,video/*,.pdf,.doc,.docx,.txt,.csv,.json"}),g.jsx("button",{type:"button",onClick:E,className:"p-2 rounded-xl hover:bg-accent text-muted-foreground transition-colors",title:"Attach file",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:g.jsx("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"})})})]}),g.jsx("textarea",{ref:f,value:s,onChange:A=>u(A.target.value),onKeyDown:T,onInput:k,placeholder:a,disabled:r,rows:1,className:"flex-1 resize-none bg-transparent px-3 py-2.5 text-sm focus:outline-none disabled:opacity-50 placeholder:text-muted-foreground/60",style:{maxHeight:"200px"}}),r?g.jsx("button",{type:"button",onClick:t,className:"p-2 rounded-xl bg-destructive text-destructive-foreground hover:bg-destructive/90 transition-colors",title:"Stop",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:g.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}):g.jsx("button",{type:"button",onClick:b,disabled:!s.trim(),className:"p-2 rounded-xl bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-30 disabled:cursor-not-allowed transition-colors",title:"Send",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:g.jsx("path",{d:"M5 12h14M12 5l7 7-7 7"})})})]})]}),g.jsx("p",{className:"text-[10px] text-center text-muted-foreground/50 mt-2",children:"Press Enter to send, Shift+Enter for new line"
Line truncated
` ),b=S.useCallback(async()=>{!r.trim()||s||p(r)},[r,s,p]),v=S.useCallback(()=>{a("")},[]);return g.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[g.jsxs("header",{className:"border-b px-6 py-4 flex items-center justify-between",children:[g.jsx("h1",{className:"text-xl font-semibold",children:t||"Playground"}),g.jsx("div",{className:"flex items-center gap-2",children:g.jsx("button",{onClick:v,className:"px-3 py-1.5 text-sm rounded-md border hover:bg-accent",children:"Clear"})})]}),g.jsxs("div",{className:"flex-1 flex",children:[g.jsxs("div",{className:"flex-1 flex flex-col border-r",children:[g.jsx("div",{className:"px-4 py-2 border-b bg-muted/30",children:g.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"Input"})}),g.jsx("div",{className:"flex-1 p-4",children:g.jsx("textarea",{value:r,onChange:E=>a(E.target.value),placeholder:"Enter your prompt here...",className:"w-full h-full resize-none bg-transparent border rounded-md p-3 focus:outline-none focus:ring-2 focus:ring-primary"})}),g.jsx("div",{className:"px-4 py-3 border-t flex justify-end gap-2",children:s?g.jsx("button",{onClick:f,className:"px-4 py-2 bg-destructive text-destructive-foreground rounded-md hover:bg-destructive/90",children:"Stop"}):g.jsx("button",{onClick:b,disabled:!r.trim(),className:"px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed",children:"Submit"})})]}),g.jsxs("div",{className:"flex-1 flex flex-col",children:[g.jsxs("div",{className:"px-4 py-2 border-b bg-muted/30 flex items-center justify-between",children:[g.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"Output"}),s&&g.jsx("span",{className:"text-xs text-muted-foreground animate-pulse",children:"Processing..."})]}),g.jsx("div",{className:"flex-1 p-4 overflow-auto",children:h?g.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none whitespace-pre-wrap",children:h}):g.jsx("div",{className:"h-full flex items-center justify-center text-muted-foreground text-sm",children:"Output will appear here"})})]})]}),e?.features&&g.jsxs("div",{className:"border-t px-6 py-3 bg-muted/20 flex items-center gap-4 text-sm text-muted-foreground",children:[e.features.streaming&&g.jsx("span",{children:"✓ Streaming"}),e.features.reasoning&&g.jsx("span",{children:"✓ Reasoning"}),e.features.tools&&g.jsx("span",{children:"✓ Tools"})]})]})}function DV(){const[e,t]=S.useState({}),[r,a]=S.useState({}),[o,s]=S.useState({}),[u,d]=S.useState(!0),[p,f]=S.useState(null),[h,b]=S.useState(null),[v,E]=S.useState("");S.useEffect(()=>{async function L(){try{const[D,U,P]=await Promise.all([fetch("/ui-config.json"),fetch("/docs-nav.json"),fetch("/route-manifest.json")]);if(!D.ok||!U.ok||!P.ok)throw new Error("Failed to load manifests");const X=await D.json(),M=await U.json();t(X),a(M),s(await P.json());const H=X.site?.theme;Y1(H?.preset||"zinc",H?.darkMode!==!1,H?.radius||"md");const W=window.location.pathname;if(W&&W!=="/"){const re=ee=>{for(const Z of ee){if(Z.path===W||Z.path===W.replace(/^ \/ /,""))return Z;if(Z.children){const B=re(Z.children);if(B)return B}}return null};if(M.items){for(const ee of M.items)if(ee.children){const Z=re(ee.children);if(Z){b(Z),E(Z.path||Z.title);break}}}}}catch(D){f(D instanceof Error?D.message:"Unknown error")}finally{d(!1)}}L();const z=()=>{window.location.pathname==="/"&&(b(null),E(""))};return window.addEventListener("popstate",z),()=>window.removeEventListener("popstate",z)},[]);const w=(L,z,D)=>{document.title= ` $ { L } | $ { e . site ? . title || "Documentation" } ` ;let U=document.querySelector('link[rel="canonical"]');U||(U=document.createElement("link"),U.rel="canonical",document.head.appendChild(U)),U.href=window.location.origin+z;let P=document.querySelector('meta[name="description"]');P||(P=document.createElement("meta"),P.name="description",document.head.appendChild(P)),P.content= ` $ { L } - $ { e . site ? . description || "" } ` ;let X=document.querySelector('meta[property="og:title"]');X||(X=document.createElement("meta"),X.setAttribute("property","og:title"),document.head.appendChild(X)),X.content=L;let M=document.querySelector('meta[property="og:url"]');M||(M=document.createElement("meta"),M.setAttribute("property","og:url"),document.head.appendChild(M)),M.content=window.location.origin+z},T=L=>{b(L),E(L.path||L.title);const z=L.path|| ` / $ { L . title . toLowerCase ( ) . replace ( /\s+/g , "-" ) } ` ;window.history.pushState({path:z},L.title,z),w(L.title,z)};if(u)return g.jsx("div",{className:"dark flex items-center justify-center min-h-screen bg-background",children:g.jsx("span",{className:"text-muted-foreground",children:"Loading..."})});if(p)return g.jsxs("div",{className:"dark flex flex-col items-center justify-center min-h-screen gap-4 bg-background",children:[g.jsx("h2",{className:"text-xl font-semibold text-destructive",children:"Failed to load"}),g.jsx("p",{className:"text-muted-foreground",children:p})]});const k=e.templates?
Line truncated
` )}function E O({content:e}){const t=w V(e);return g.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none prose-p:leading-relaxed prose-pre:p-0 prose-pre:bg-transparent",children:g.jsx(s N,{remarkPlugins:[I N],components:{ul({children:r,ordered:a,start:o}){if(a){const s=o!=null?Number(o):1;return g.jsx("ol",{start:s,style:{listStyleType:"decimal",paddingLeft:"1.5rem",margin:"0.5rem 0"},children:r})}return g.jsx("ul",{style:{listStyleType:"disc",paddingLeft:"1.5rem",margin:"0.5rem 0"},children:r})},li({children:r}){return g.jsx("li",{style:{display:"list-item",marginBottom:"0.25rem"},children:r})},code({className:r,children:a,...o}){const s=/language-( \w +)/.exec(r||""),u=S V(String(a));return!s&&!u.includes( `
` )?g.jsx("code",{className:"px-1.5 py-0.5 rounded bg-muted text-sm font-mono",...o,children:a}):g.jsx(xV,{language:s?.[1],children:u})},a({href:r,children:a}){return g.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:a})},table({children:r}){return g.jsx("div",{className:"overflow-x-auto my-3",children:g.jsx("table",{className:"min-w-full text-sm",children:r})})}},children:t})})}function TV({message:e,sessionId:t}){return e.role==="user"?g.jsx("div",{className:"flex justify-end",children:g.jsxs("div",{className:"flex gap-3 max-w-[80%]",children:[g.jsx("div",{className:"rounded-2xl px-4 py-2.5 bg-primary text-primary-foreground",children:g.jsx("p",{className:"text-sm whitespace-pre-wrap",children:e.content})}),g.jsx(Xu,{role:"user"})]})}):g.jsxs("div",{className:"flex gap-3 group",children:[g.jsx(Xu,{role:"assistant"}),g.jsxs("div",{className:"flex-1 min-w-0",children:[e.toolCalls&&e.toolCalls.length>0&&g.jsx("div",{className:"mb-2 space-y-1",children:e.toolCalls.map((a,o)=>g.jsx(yO,{toolCall:a},o))}),g.jsx(EO,{content:e.content}),e.elements&&e.elements.length>0&&g.jsx("div",{className:"mt-3 space-y-3",children:e.elements.map((a,o)=>g.jsx(Dv,{element:a,className:"w-full"},o))}),e.images&&e.images.length>0&&g.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:e.images.map((a,o)=>g.jsx("img",{src:a,alt:"",className:"max-w-full rounded-md max-h-64 object-contain"},o))}),e.actions&&e.actions.length>0&&g.jsx(gV,{actions:e.actions,messageId:e.id,sessionId:t}),g.jsxs("div",{className:"mt-1 flex items-center gap-1 relative",children:[g.jsx(EV,{text:e.content}),g.jsx(vV,{messageId:e.id})]})]})]})}function AV({onSend:e,onCancel:t,isStreaming:r=!1,placeholder:a="Type a message...",enableFileUpload:o=!1}){const[s,u]=S.useState(""),[d,p]=S.useState([]),f=S.useRef(null),h=S.useRef(null),b=S.useCallback(()=>{const A=s.trim();(A||d.length>0)&&!r&&(e(A,d.length>0?d:void 0),u(""),p([]),f.current&&(f.current.style.height="auto"))},[s,d,r,e]),v=S.useCallback(A=>{const _=Array.from(A.target.files||[]);p(R=>[...R,..._]),h.current&&(h.current.value="")},[]),E=S.useCallback(()=>{h.current?.click()},[]),w=S.useCallback(A=>{p(_=>_.filter((R,L)=>L!==A))},[]),T=S.useCallback(A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),b())},[b]),k=S.useCallback(()=>{const A=f.current;A&&(A.style.height="auto",A.style.height= ` $ { Math . min ( A . scrollHeight , 200 ) } px ` )},[]);return g.jsx("div",{className:"p-4 pb-6",children:g.jsxs("div",{className:"max-w-3xl mx-auto",children:[g.jsxs("div",{className:"rounded-2xl border bg-background/80 backdrop-blur-sm shadow-lg",children:[d.length>0&&g.jsx("div",{className:"flex flex-wrap gap-1 px-4 pt-3",children:d.map((A,_)=>g.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-1 bg-muted rounded-lg text-xs",children:[g.jsx("span",{className:"truncate max-w-[100px]",children:A.name}),g.jsx("button",{type:"button",onClick:()=>w(_),className:"hover:text-destructive",children:"× "})]}, ` $ { A . name } - $ { _ } ` ))}),g.jsxs("div",{className:"flex items-end gap-2 p-2",children:[o&&g.jsxs(g.Fragment,{children:[g.jsx("input",{ref:h,type:"file",multiple:!0,onChange:v,className:"hidden",accept:"image/*,audio/*,video/*,.pdf,.doc,.docx,.txt,.csv,.json"}),g.jsx("button",{type:"button",onClick:E,className:"p-2 rounded-xl hover:bg-accent text-muted-foreground transition-colors",title:"Attach file",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:g.jsx("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"})})})]}),g.jsx("textarea",{ref:f,value:s,onChange:A=>u(A.target.value),onKeyDown:T,onInput:k,placeholder:a,disabled:r,rows:1,className:"flex-1 resize-none bg-transparent px-3 py-2.5 text-sm focus:outline-none disabled:opacity-50 placeholder:text-muted-foreground/60",style:{maxHeight:"200px"}}),r?g.jsx("button",{type:"button",onClick:t,className:"p-2 rounded-xl bg-destructive text-destructive-foreground hover:bg-destructive/90 transition-colors",title:"Stop",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:g.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}):g.jsx("button",{type:"button",onClick:b,disabled:!s.trim(),className:"p-2 rounded-xl bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-30 disabled:cursor-not-allowed transition-colors",title:"Send",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:g.jsx("path",{d:"M5 12h14M12 5l7 7-7 7"})})})]})]}),g.jsx("p",{className:"text-[10px] text-center text-muted-foreground/50 mt-2",children:"Press Enter to send, Shift+Enter for new line"
Line truncated
` ),b=S.useCallback(async()=>{!r.trim()||s||p(r)},[r,s,p]),v=S.useCallback(()=>{a("")},[]);return g.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[g.jsxs("header",{className:"border-b px-6 py-4 flex items-center justify-between",children:[g.jsx("h1",{className:"text-xl font-semibold",children:t||"Playground"}),g.jsx("div",{className:"flex items-center gap-2",children:g.jsx("button",{onClick:v,className:"px-3 py-1.5 text-sm rounded-md border hover:bg-accent",children:"Clear"})})]}),g.jsxs("div",{className:"flex-1 flex",children:[g.jsxs("div",{className:"flex-1 flex flex-col border-r",children:[g.jsx("div",{className:"px-4 py-2 border-b bg-muted/30",children:g.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"Input"})}),g.jsx("div",{className:"flex-1 p-4",children:g.jsx("textarea",{value:r,onChange:E=>a(E.target.value),placeholder:"Enter your prompt here...",className:"w-full h-full resize-none bg-transparent border rounded-md p-3 focus:outline-none focus:ring-2 focus:ring-primary"})}),g.jsx("div",{className:"px-4 py-3 border-t flex justify-end gap-2",children:s?g.jsx("button",{onClick:f,className:"px-4 py-2 bg-destructive text-destructive-foreground rounded-md hover:bg-destructive/90",children:"Stop"}):g.jsx("button",{onClick:b,disabled:!r.trim(),className:"px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed",children:"Submit"})})]}),g.jsxs("div",{className:"flex-1 flex flex-col",children:[g.jsxs("div",{className:"px-4 py-2 border-b bg-muted/30 flex items-center justify-between",children:[g.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"Output"}),s&&g.jsx("span",{className:"text-xs text-muted-foreground animate-pulse",children:"Processing..."})]}),g.jsx("div",{className:"flex-1 p-4 overflow-auto",children:h?g.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none whitespace-pre-wrap",children:h}):g.jsx("div",{className:"h-full flex items-center justify-center text-muted-foreground text-sm",children:"Output will appear here"})})]})]}),e?.features&&g.jsxs("div",{className:"border-t px-6 py-3 bg-muted/20 flex items-center gap-4 text-sm text-muted-foreground",children:[e.features.streaming&&g.jsx("span",{children:"✓ Streaming"}),e.features.reasoning&&g.jsx("span",{children:"✓ Reasoning"}),e.features.tools&&g.jsx("span",{children:"✓ Tools"})]})]})}function MV(){const[e,t]=S.useState({}),[r,a]=S.useState({}),[o,s]=S.useState({}),[u,d]=S.useState(!0),[p,f]=S.useState(null),[h,b]=S.useState(null),[v,E]=S.useState("");S.useEffect(()=>{async function L(){try{const[D,P,z]=await Promise.all([fetch("/ui-config.json"),fetch("/docs-nav.json"),fetch("/route-manifest.json")]);if(!D.ok||!P.ok||!z.ok)throw new Error("Failed to load manifests");const W=await D.json(),M=await P.json();t(W),a(M),s(await z.json());const H=W.site?.theme;W1(H?.preset||"zinc",H?.darkMode!==!1,H?.radius||"md");const X=window.location.pathname;if(X&&X!=="/"){const ee=te=>{for(const Z of te){if(Z.path===X||Z.path===X.replace(/^ \/ /,""))return Z;if(Z.children){const B=ee(Z.children);if(B)return B}}return null};if(M.items){for(const te of M.items)if(te.children){const Z=ee(te.children);if(Z){b(Z),E(Z.path||Z.title);break}}}}}catch(D){f(D instanceof Error?D.message:"Unknown error")}finally{d(!1)}}L();const F=()=>{window.location.pathname==="/"&&(b(null),E(""))};return window.addEventListener("popstate",F),()=>window.removeEventListener("popstate",F)},[]);const w=(L,F,D)=>{document.title= ` $ { L } | $ { e . site ? . title || "Documentation" } ` ;let P=document.querySelector('link[rel="canonical"]');P||(P=document.createElement("link"),P.rel="canonical",document.head.appendChild(P)),P.href=window.location.origin+F;let z=document.querySelector('meta[name="description"]');z||(z=document.createElement("meta"),z.name="description",document.head.appendChild(z)),z.content= ` $ { L } - $ { e . site ? . description || "" } ` ;let W=document.querySelector('meta[property="og:title"]');W||(W=document.createElement("meta"),W.setAttribute("property","og:title"),document.head.appendChild(W)),W.content=L;let M=document.querySelector('meta[property="og:url"]');M||(M=document.createElement("meta"),M.setAttribute("property","og:url"),document.head.appendChild(M)),M.content=window.location.origin+F},T=L=>{b(L),E(L.path||L.title);const F=L.path|| ` / $ { L . title . toLowerCase ( ) . replace ( /\s+/g , "-" ) } ` ;window.history.pushState({path:F},L.title,F),w(L.title,F)};if(u)return g.jsx("div",{className:"dark flex items-center justify-center min-h-screen bg-background",children:g.jsx("span",{className:"text-muted-foreground",children:"Loading..."})});if(p)return g.jsxs("div",{className:"dark flex flex-col items-center justify-center min-h-screen gap-4 bg-background",children:[g.jsx("h2",{className:"text-xl font-semibold text-destructive",children:"Failed to load"}),g.jsx("p",{className:"text-muted-foreground",children:p})]});const k=e.templates?
Line truncated