@@ -1,67 +1,18 @@
const _ _vite _ _mapDeps = ( i , m = _ _vite _ _mapDeps , d = ( m . f || ( m . f = [ "assets/index2.js" , "assets/common-types.js" , "assets/index3.js" ] ) ) ) => i . map ( i => d [ i ] ) ;
function xL ( 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 ic ( e ) { return e && e . _ _esModule && Object . prototype . hasOwnProperty . call ( e , "default" ) ? e . default : e } var gf = { exports : { } } , ul = { } ; var YT ; function wL ( ) { if ( YT ) return ul ; YT = 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 c in o ) c !== "key" && ( s [ c ] = o [ c ] ) } else s = o ; return o = s . ref , { $$typeof : e , type : a , key : u , ref : o !== void 0 ? o : null , props : s } } return ul . Fragment = t , ul . jsx = r , ul . jsxs = r , ul } var WT ; function TL ( ) { return WT || ( WT = 1 , gf . exports = wL ( ) ) , gf . exports } var g = TL ( ) , mf = { exports : { } } , Re = { } ; var KT ; function AL ( ) { if ( KT ) return Re ; KT = 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" ) , c = Symbol . for ( "react.forward_ref" ) , p = Symbol . for ( "react.suspense" ) , f = Symbol . for ( "react.memo" ) , m = Symbol . for ( "react.lazy" ) , h = Symbol . for ( "react.activity" ) , v = Symbol . iterator ; function E ( F ) { return F === null || typeof F != "object" ? null : ( F = v && F [ v ] || F [ "@@iterator" ] , typeof F == "function" ? F : null ) } var x = { isMounted : function ( ) { return ! 1 } , enqueueForceUpdate : function ( ) { } , enqueueReplaceState : function ( ) { } , enqueueSetState : function ( ) { } } , w = Object . assign , k = { } ; function A ( F , z , C ) { this . props = F , this . context = z , this . refs = k , this . updater = C || x } A . prototype . isReactComponent = { } , A . prototype . setState = function ( F , z ) { if ( typeof F != "object" && typeof F != "function" && F != 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 , F , z , "setState" ) } , A . prototype . forceUpdate = function ( F ) { this . updater . enqueueForceUpdate ( this , F , "forceUpdate" ) } ; function N ( ) { } N . prototype = A . prototype ; function _ ( F , z , C ) { this . props = F , this . context = z , this . refs = k , this . updater = C || x } var D = _ . prototype = new N ; D . constructor = _ , w ( D , A . prototype ) , D . isPureReactComponent = ! 0 ; var U = Array . isArray ; function L ( ) { } var j = { H : null , A : null , T : null , S : null } , P = Object . prototype . hasOwnProperty ; function Y ( F , z , C ) { var ie = C . ref ; return { $$typeof : e , type : F , key : z , ref : ie !== void 0 ? ie : null , props : C } } function M ( F , z ) { return Y ( F . type , z , F . props ) } function q ( F ) { return typeof F == "object" && F !== null && F . $$typeof === e } function K ( F ) { var z = { "=" : "=0" , ":" : "=2" } ; return "$" + F . replace ( /[=:]/g , function ( C ) { return z [ C ] } ) } var J = /\/+/g ; function Q ( F , z ) { return typeof F == "object" && F !== null && F . key != null ? K ( "" + F . key ) : z . toString ( 36 ) } function ee ( F ) { switch ( F . status ) { case "fulfilled" : return F . value ; case "rejected" : throw F . reason ; default : switch ( typeof F . status == "string" ? F . then ( L , L ) : ( F . status = "pending" , F . then ( function ( z ) { F . status === "pending" && ( F . status = "fulfilled" , F . value = z ) } , function ( z ) { F . status === "pending" && ( F . status = "rejected" , F . reason = z ) } ) ) , F . status ) { case "fulfilled" : return F . value ; case "rejected" : throw F . reason } } throw F } function B ( F , z , C , ie , re ) { var ce = typeof F ; ( ce === "undefined" || ce === "boolean" ) && ( F = null ) ; var se = ! 1 ; if ( F === null ) se = ! 0 ; else switch ( ce ) { case "bigint" : case "string" : case "number" : se = ! 0 ; break ; case "object" : switch ( F . $$typeof ) { case e : case t : se = ! 0 ; break ; case m : return se = F . _init , B ( se ( F . _payload ) , z , C , ie , re ) } } if ( se ) return re = re ( F ) , se = ie === "" ? "." + Q ( F , 0 ) : ie , U ( re ) ? ( C = "" , se != null && ( C = se . replace ( J , "$&/" ) + "/" ) , B ( re , z , C , "" , function ( ke ) { return ke } ) ) : re != null && ( q ( re ) && ( re = M ( re , C + ( re . key == null || F && F . key === re . key ? "" : ( "" + re . key ) . replace ( J , "$&/" ) + "/" ) + se ) ) , z . push ( re ) ) , 1 ; se = 0 ; var he = ie === "" ? "." : ie + ":" ; if ( U ( F ) ) for ( var ge = 0 ; ge < F . length ; ge ++ ) ie = F [ ge ] , ce = he + Q ( ie , ge ) , se += B ( ie , z , C , ce , re ) ; else if ( ge = E ( F ) , typeof ge == "function" ) for ( F = ge . call ( F ) , ge = 0 ; ! ( ie = F . next ( ) ) . done ; ) ie = ie . value , ce = he + Q ( ie , ge ++ ) , se += B ( ie , z , C , ce , re ) ; else if ( ce === "object" ) { if ( typeof F . then == "function" ) return B ( ee ( F ) , z , C , ie , re ) ; throw z = String ( F ) , Error ( "Objects are not valid as a React child (found: " + ( z === "[object Object]" ? "object with keys {" + Object . keys ( F ) . join ( ", " ) + "}" : z ) + " ) . If you meant to render a collection of children , use an arra Line truncated
function NL ( 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 ac ( e ) { return e && e . _ _esModule && Object . prototype . hasOwnProperty . call ( e , "default" ) ? e . default : e } var ff = { exports : { } } , ul = { } ; var XT ; function RL ( ) { if ( XT ) return ul ; XT = 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 c in o ) c !== "key" && ( s [ c ] = o [ c ] ) } else s = o ; return o = s . ref , { $$typeof : e , type : a , key : u , ref : o !== void 0 ? o : null , props : s } } return ul . Fragment = t , ul . jsx = r , ul . jsxs = r , ul } var ZT ; function CL ( ) { return ZT || ( ZT = 1 , ff . exports = RL ( ) ) , ff . exports } var g = CL ( ) , gf = { exports : { } } , Re = { } ; var QT ; function IL ( ) { if ( QT ) return Re ; QT = 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" ) , c = Symbol . for ( "react.forward_ref" ) , p = Symbol . for ( "react.suspense" ) , f = Symbol . for ( "react.memo" ) , h = Symbol . for ( "react.lazy" ) , m = Symbol . for ( "react.activity" ) , v = Symbol . iterator ; function E ( U ) { return U === null || typeof U != "object" ? null : ( U = v && U [ v ] || U [ "@@iterator" ] , typeof U == "function" ? U : null ) } var x = { isMounted : function ( ) { return ! 1 } , enqueueForceUpdate : function ( ) { } , enqueueReplaceState : function ( ) { } , enqueueSetState : function ( ) { } } , w = Object . assign , k = { } ; function A ( U , B , C ) { this . props = U , this . context = B , this . refs = k , this . updater = C || x } A . prototype . isReactComponent = { } , A . prototype . setState = function ( U , B ) { if ( typeof U != "object" && typeof U != "function" && U != 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 , U , B , "setState" ) } , A . prototype . forceUpdate = function ( U ) { this . updater . enqueueForceUpdate ( this , U , "forceUpdate" ) } ; function _ ( ) { } _ . prototype = A . prototype ; function N ( U , B , C ) { this . props = U , this . context = B , this . refs = k , this . updater = C || x } var D = N . prototype = new _ ; D . constructor = N , w ( D , A . prototype ) , D . isPureReactComponent = ! 0 ; var F = Array . isArray ; function L ( ) { } var z = { H : null , A : null , T : null , S : null } , $ = Object . prototype . hasOwnProperty ; function K ( U , B , C ) { var J = C . ref ; return { $$typeof : e , type : U , key : B , ref : J !== void 0 ? J : null , props : C } } function j ( U , B ) { return K ( U . type , B , U . props ) } function q ( U ) { return typeof U == "object" && U !== null && U . $$typeof === e } function X ( U ) { var B = { "=" : "=0" , ":" : "=2" } ; return "$" + U . replace ( /[=:]/g , function ( C ) { return B [ C ] } ) } var ne = /\/+/g ; function re ( U , B ) { return typeof U == "object" && U !== null && U . key != null ? X ( "" + U . key ) : B . toString ( 36 ) } function ee ( U ) { switch ( U . status ) { case "fulfilled" : return U . value ; case "rejected" : throw U . reason ; default : switch ( typeof U . status == "string" ? U . then ( L , L ) : ( U . status = "pending" , U . then ( function ( B ) { U . status === "pending" && ( U . status = "fulfilled" , U . value = B ) } , function ( B ) { U . status === "pending" && ( U . status = "rejected" , U . reason = B ) } ) ) , U . status ) { case "fulfilled" : return U . value ; case "rejected" : throw U . reason } } throw U } function M ( U , B , C , J , ae ) { var ue = typeof U ; ( ue === "undefined" || ue === "boolean" ) && ( U = null ) ; var ie = ! 1 ; if ( U === null ) ie = ! 0 ; else switch ( ue ) { case "bigint" : case "string" : case "number" : ie = ! 0 ; break ; case "object" : switch ( U . $$typeof ) { case e : case t : ie = ! 0 ; break ; case h : return ie = U . _init , M ( ie ( U . _payload ) , B , C , J , ae ) } } if ( ie ) return ae = ae ( U ) , ie = J === "" ? "." + re ( U , 0 ) : J , F ( ae ) ? ( C = "" , ie != null && ( C = ie . replace ( ne , "$&/" ) + "/" ) , M ( ae , B , C , "" , function ( ke ) { return ke } ) ) : ae != null && ( q ( ae ) && ( ae = j ( ae , C + ( ae . key == null || U && U . key === ae . key ? "" : ( "" + ae . key ) . replace ( ne , "$&/" ) + "/" ) + ie ) ) , B . push ( ae ) ) , 1 ; ie = 0 ; var he = J === "" ? "." : J + ":" ; if ( F ( U ) ) for ( var fe = 0 ; fe < U . length ; fe ++ ) J = U [ fe ] , ue = he + re ( J , fe ) , ie += M ( J , B , C , ue , ae ) ; else if ( fe = E ( U ) , typeof fe == "function" ) for ( U = fe . call ( U ) , fe = 0 ; ! ( J = U . next ( ) ) . done ; ) J = J . value , ue = he + re ( J , fe ++ ) , ie += M ( J , B , C , ue , ae ) ; else if ( ue === "object" ) { if ( typeof U . then == "function" ) return M ( ee ( U ) , B , C , J , ae ) ; throw B = String ( U ) , Error ( "Objects are not valid as a React child (found: " + ( B === "[object Object]" ? "object with keys {" + Object . keys ( U ) . join ( ", " ) + "}" : B ) + "). If you meant to render a collection of children, use an array instead." Line truncated
at ` )?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return `
` +qe+n+dt}var Yn=!1;function Wn(n,i){if(!n||Yn)return"";Yn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(i){var u e=function(){throw Error()};if(Object.defineProperty(u e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u e,[])}catch(te){var Z=te}Reflect.construct(n,[],u e)}else{try{u e.call()}catch(te){Z=te}n.call(u e.prototype)}}else{try{throw Error()}catch(te){Z=te}(u e=n())&&typeof u e.catch=="function"&&u e.catch(function(){})}}catch(te){if(te&&Z&&typeof te.stack=="string")return[te.stack,Z.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=d.DetermineComponentFrameRoot(),T=y[0],R=y[1];if(T&&R){var $ =T.split( `
` ),X =R.split( `
` );for(b=d=0;d< $ .length&&! $ [d].includes("DetermineComponentFrameRoot");)d++;for(;b<X .length&&!X [b].includes("DetermineComponentFrameRoot");)b++;if(d=== $ .length||b===X .length)for(d= $ .length-1,b=X .length-1;1<=d&&0<=b&& $ [d]!==X [b];)b--;for(;1<=d&&0<=b;d--,b--)if( $ [d]!==X [b]){if(d!==1||b!==1)do if(d--,b--,0>b|| $ [d]!==X [b]){var a e= `
` + $ [d].replace(" at new "," at ");return n.displayName&&a e.includes("<anonymous>")&&(a e=a e.replace("<anonymous>",n.displayName)),a e}while(1<=d&&0<=b);break}}}finally{Yn=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?st(l):""}function Ir(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 Wn(n.type,!1);case 11:return Wn(n.type.render,!1);case 1:return Wn(n.type,!0);case 31:return st("Activity");default:return""}}function Jl(n){try{var i="",l=null;do i+=Ir(n,l),l=n,n=n.return;while(n);return i}catch(d){return `
` +qe+n+dt}var Yn=!1;function Wn(n,i){if(!n||Yn)return"";Yn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(i){var c e=function(){throw Error()};if(Object.defineProperty(c e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c e,[])}catch(te){var Z=te}Reflect.construct(n,[],c e)}else{try{c e.call()}catch(te){Z=te}n.call(c e.prototype)}}else{try{throw Error()}catch(te){Z=te}(c e=n())&&typeof c e.catch=="function"&&c e.catch(function(){})}}catch(te){if(te&&Z&&typeof te.stack=="string")return[te.stack,Z.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=d.DetermineComponentFrameRoot(),T=y[0],R=y[1];if(T&&R){var P =T.split( `
` ),W =R.split( `
` );for(b=d=0;d<P .length&&!P [d].includes("DetermineComponentFrameRoot");)d++;for(;b<W .length&&!W [b].includes("DetermineComponentFrameRoot");)b++;if(d===P .length||b===W .length)for(d=P .length-1,b=W .length-1;1<=d&&0<=b&&P [d]!==W [b];)b--;for(;1<=d&&0<=b;d--,b--)if(P [d]!==W [b]){if(d!==1||b!==1)do if(d--,b--,0>b||P [d]!==W [b]){var o e= `
` +P [d].replace(" at new "," at ");return n.displayName&&o e.includes("<anonymous>")&&(o e=o e.replace("<anonymous>",n.displayName)),o e}while(1<=d&&0<=b);break}}}finally{Yn=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?st(l):""}function Ir(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 Wn(n.type,!1);case 11:return Wn(n.type.render,!1);case 1:return Wn(n.type,!0);case 31:return st("Activity");default:return""}}function Jl(n){try{var i="",l=null;do i+=Ir(n,l),l=n,n=n.return;while(n);return i}catch(d){return `
Error generating stack : ` +d.message+ `
` +d.stack}}var Xa=Object.prototype.hasOwnProperty,Za=e.unstable_scheduleCallback,bo=e.unstable_cancelCallback,Qc=e.unstable_shouldYield,Jc=e.unstable_requestPaint,Pt=e.unstable_now,ed=e.unstable_getCurrentPriorityLevel,oe=e.unstable_ImmediatePriority,fe=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Me=e.unstable_LowPriority,We=e.unstable_IdlePriority,rn=e.log,lr=e.unstable_setDisableYieldValue, $ t=null,Et=null;function qt(n){if(typeof rn=="function"&&lr(n),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode( $ t,n)}catch{}}var tt=Math.clz32?Math.clz32:sO,Or=Math.log,Ln=Math.LN2;function sO(n){return n>>>=0,n===0?32:31-(Or(n)/Ln|0)|0}var es=256,ts=262144,ns=4194304;function ba(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 rs(n,i,l){var d=n.pendingLanes;if(d===0)return 0;var b=0,y=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var R=d&134217727;return R!==0?(d=R&~y,d!==0?b=ba(d):(T&=R,T!==0?b=ba(T):l||(l=R&~n,l!==0&&(b=ba(l))))):(R=d&~y,R!==0?b=ba(R):T!==0?b=ba(T):l||(l=d&~n,l!==0&&(b=ba(l)))),b===0?0:i!==0&&i!==b&&(i&y)===0&&(y=b&-b,l=i&-i,y>=l||y===32&&(l&4194048)!==0)?i:b}function yo(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function uO(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 ZE(){var n=ns;return ns<<=1,(ns&62914560)===0&&(ns=4194304),n}function td(n){for(var i=[],l=0;31>l;l++)i.push(n);return i}function vo(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function cO(n,i,l,d,b,y){var T=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 R=n.entanglements, $ =n.expirationTimes,X=n.hiddenUpdates;for(l=T&~l;0<l;){var ae=31-tt(l),ue=1<<ae;R[ae]=0, $ [ae]=-1;var Z=X[ae];if(Z!==null)for(X[ae]=null,ae=0;ae<Z.length;ae++){var te=Z[ae];te!==null&&(te.lane&=-536870913)}l&=~ue}d!==0&&QE(n,d,0),y!==0&&b===0&&n.tag!==0&&(n.suspendedLanes|=y&~(T&~i))}function QE(n,i,l){n.pendingLanes|=i,n.suspendedLanes&=~i;var d=31-tt(i);n.entangledLanes|=i,n.entanglements[d]=n.entanglements[d]|1073741824|l&261930}function JE(n,i){var l=n.entangledLanes|=i;for(n=n.entanglements;l;){var d=31-tt(l),b=1<<d;b&i|n[d]&i&&(n[d]|=i),l&=~b}}function eS(n,i){var l=i&-i;return l=(l&42)!==0?1:nd(l),(l&(n.suspendedLanes|i))!==0?0:l}function nd(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 rd(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function tS(){var n=V.p;return n!==0?n:(n=window.event,n===void 0?32:zT(n.type))}function nS(n,i){var l=V.p;try{return V.p=n,i()}finally{V.p=l}}var Lr=Math.random().toString(36).slice(2),_t="__reactFiber $ "+Lr,Yt="__reactProps $ "+Lr,Qa="__reactContainer $ "+Lr,ad="__reactEvents $ "+Lr,dO="__reactListeners $ "+Lr,pO="__reactHandles $ "+Lr,rS="__reactResources $ "+Lr,Eo="__reactMarker $ "+Lr;function id(n){delete n[_t],delete n[Yt],delete n[ad],delete n[dO],delete n[pO]}function Ja(n){var i=n[_t];if(i)return i;for(var l=n.parentNode;l;){if(i=l[Qa]||l[_t]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(n=TT(n);n!==null;){if(l=n[_t])return l;n=TT(n)}return i}n=l,l=n.parentNode}return null}function ei(n){if(n=n[_t]||n[Qa]){var i=n.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return n}return null}function So(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(a(33))}function ti(n){var i=n[rS];return i||(i=n[rS]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function wt(n){n[Eo]=!0}var aS=new Set,iS={};function ya(n,i){ni(n,i),ni(n+"Capture",i)}function ni(n,i){for(iS[n]=i,n=0;n<i.length;n++)aS.add(i[n])}var fO=RegExp("^[:A-Z_a-z \\ u00C0- \\ u00D6 \\ u00D8- \\ u00F6 \\ u00F8- \\ u02FF \\ u0370- \\ u037D \\ u037F- \\ u1FFF \\ u200C- \\ u20
Line truncated
` ).replace(H1,"")}function gT(n,i){return i=fT(i),fT(n)===i}function Je(n,i,l,d,b,y){switch(l){case"children":typeof d=="string"?i==="body"||i==="textarea"&&d===""||ai(n,d):(typeof d=="number"||typeof d=="bigint")&&i!=="body"&&ai(n,""+d);break;case"className":is(n,"class",d);break;case"tabIndex":is(n,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":is(n,l,d);break;case"style":gS(n,d,y);break;case"data":if(i!=="object"){is(n,"data",d);break}case"src":case"href":if(d===""&&(i!=="a"||l!=="href")){n.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(l);break}d=ls(""+d),n.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="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",b.name,b,null),Je(n,i,"formEncType",b.formEncType,b,null),Je(n,i,"formMethod",b.formMethod,b,null),Je(n,i,"formTarget",b.formTarget,b,null)):(Je(n,i,"encType",b.encType,b,null),Je(n,i,"method",b.method,b,null),Je(n,i,"target",b.target,b,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(l);break}d=ls(""+d),n.setAttribute(l,d);break;case"onClick":d!=null&&(n.onclick=ur);break;case"onScroll":d!=null&&Ue("scroll",n);break;case"onScrollEnd":d!=null&&Ue("scrollend",n);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(a(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"multiple":n.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":n.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){n.removeAttribute("xlink:href");break}l=ls(""+d),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":d!=null&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,""+d):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":d&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":d===!0?n.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,d):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?n.setAttribute(l,d):n.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?n.removeAttribute(l):n.setAttribute(l,d);break;case"popover":Ue("beforetoggle",n),Ue("toggle",n),as(n,"popover",d);break;case"xlinkActuate":sr(n,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":sr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":sr(n,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":sr(n,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":sr(n,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":sr(n,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":sr(n,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":sr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":sr(n,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":as(n,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=yO.get(l)||l,as(n,l,d))}}function Kp(n,i,l,d,b,y){switch(l){case"style":gS(n,d,y);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(a(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"children":typeof d=="string"?ai(n,d):(typeof d=="number"||typeof d=="bigint")&&ai(n,""+d);break;case"onScroll":d!=null&&Ue("scroll",n);break;case"onScrollEnd":d!=null&&Ue("scrollend",n);break;case"onClick":d!=null&&(n.onclick=ur);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
` ,f="/",m="*",h="",v="comment",E="declaration";function x(k,A){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];A=A||{};var N=1,_=1;function D(Q){var ee=Q.match(t);ee&&(N+=ee.length);var B=Q.lastIndexOf(p);_=~B?Q.length-B:_+Q.length}function U(){var Q={line:N,column:_};return function(ee){return ee.position=new L(Q),Y(),ee}}function L(Q){this.start=Q,this.end={line:N,column:_},this.source=A.source}L.prototype.content=k;function j(Q){var ee=new Error(A.source+":"+N+":"+_+": "+Q);if(ee.reason=Q,ee.filename=A.source,ee.line=N,ee.column=_,ee.source=k,!A.silent)throw ee}function P(Q){var ee=Q.exec(k);if(ee){var B=ee[0];return D(B),k=k.slice(B.length),ee}}function Y(){P(r)}function M(Q){var ee;for(Q=Q||[];ee=q();)ee!==!1&&Q.push(ee);return Q}function q(){var Q=U();if(!(f!=k.charAt(0)||m!=k.charAt(1))){for(var ee=2;h!=k.charAt(ee)&&(m!=k.charAt(ee)||f!=k.charAt(ee+1));)++ee;if(ee+=2,h===k.charAt(ee-1))return j("End of comment missing");var B=k.slice(2,ee-2);return _+=2,D(B),k=k.slice(ee),_+=2,Q({type:v,comment:B})}}function K(){var Q=U(),ee=P(a);if(ee){if(q(),!P(o))return j("property missing ':'");var B=P(s),V=Q({type:E,property:w(ee[0].replace(e,h)),value:B?w(B[0].replace(e,h)):h});return P(u),V}}function J(){var Q=[];M(Q);for(var ee;ee=K();)ee!==!1&&(Q.push(ee),M(Q));return Q}return Y(),J()}function w(k){return k?k.replace(c,h):h}return wf=x,wf}var vA;function DM(){if(vA)return ji;vA=1;var e=ji&&ji.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=r;const t=e(LM());function r(a,o){let s=null;if(!a||typeof a!="string")return s;const u=(0,t.default)(a),c=typeof o=="function";return u.forEach(p=>{if(p.type!=="declaration")return;const{property:f,value:m}=p;c?o(f,m,p):m&&(s=s||{},s[f]=m)}),s}return ji}var pl={},EA;function MM(){if(EA)return pl;EA=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.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,m){return m.toUpperCase()},c=function(f,m){return"".concat(m,"-")},p=function(f,m){return m===void 0&&(m={}),s(f)?f:(f=f.toLowerCase(),m.reactCompat?f=f.replace(o,c):f=f.replace(a,c),f.replace(t,u))};return pl.camelCase=p,pl}var fl,SA;function jM(){if(SA)return fl;SA=1;var e=fl&&fl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e(DM()),r=MM();function a(o,s){var u={};return!o||typeof o!="string"||(0,t.default)(o,function(c,p){c&&p&&(u[(0,r.camelCase)(c,s)]=p)}),u}return a.default=a,fl=a,fl}var UM=jM();const FM=ic(UM),tN=nN("end"),Kg=nN("start");function nN(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 BM(e){const t=Kg(e),r=tN(e);if(t&&r)return{start:t,end:r}}function El(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xA(e.position):"start"in e||"end"in e?xA(e):"line"in e||"column"in e?og(e):""}function og(e){return wA(e&&e.line)+":"+wA(e&&e.column)}function xA(e){return og(e&&e.start)+"-"+og(e&&e.end)}function wA(e){return e&&typeof e=="number"?e:1}class Ft 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 c=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=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=c?c.line:void 0,this.name=El(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}}Ft.prototype.file="";Ft.prototype.name="";Ft.prototype.reason="";Ft.prototype.message="";Ft.prototype.stack="";Ft.prototype.column=void 0;Ft.prototype.line=void 0;Ft.prototype.ancestors=void 0;Ft.prototype.cause=void 0;Ft.prototype.fatal=void 0;Ft.prototype.place=void 0;Ft.prototype.ruleId=void 0;Ft.prototype.source=void 0;const Xg={}.hasOwnProperty,zM=new Map,PM=/[A-Z]/g, $ M=new Set(["table","tbody","thead","tfoot","tr"]),GM=new Set(["td","th"]),rN="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function HM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected ` Fragment ` in options");const r=t.filePath||void 0;
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 Qj(e){const a={constructs:sN([Wj,...(e||{}).extensions||[]]),content:o(f2),defined:[],document:o(m2),flow:o(Lj),lazy:{},string:o(jj),text:o(Uj)};return a;function o(s){return u;function u(c){return Kj(a,s,c)}}}function Jj(e){for(;!fN(e););return e}const LA=/[ \0 \t \n \r ]/g;function eU(){let e=1,t="",r=!0,a;return o;function o(s,u,c){const p=[];let f,m,h,v,E;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),h=0,t="",r&&(s.charCodeAt(0)===65279&&h++,r=void 0);h<s.length;){if(LA.lastIndex=h,f=LA.exec(s),v=f&&f.index!==void 0?f.index:s.length,E=s.charCodeAt(v),!f){t=s.slice(h);break}if(E===10&&h===v&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),h<v&&(p.push(s.slice(h,v)),e+=v-h),E){case 0:{p.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,p.push(-2);e++<m;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:a=!0,e=1}h=v+1}return c&&(a&&p.push(-5),t&&p.push(t),p.push(null)),p}}const tU=/ \\ ([!-/:-@[- ` { - ~ ] ) | & ( # ( ? : \ d { 1 , 7 } | x [ \ da - f ] { 1 , 6 } ) | [ \ da - z ] { 1 , 31 } ) ; / g i ; f u n c t i o n n U ( e ) { r e t u r n e . r e p l a c e ( t U , r U ) } f u n c t i o n r U ( 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 u N ( r . s l i c e ( s ? 2 : 1 ) , s ? 1 6 : 1 0 ) } r e t u r n N l ( r ) | | e } c o n s t v N = { } . h a s O w n P r o p e r t y ; f u n c t i o n a U ( 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 ) , i U ( r ) ( J j ( Q j ( r ) . d o c u m e n t ( ) . w r i t e ( e U ( ) ( e , t , ! 0 ) ) ) ) } f u n c t i o n i U ( 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 ( X a ) , a u t o l i n k P r o t o c o l : Y , a u t o l i n k E m a i l : Y , a t x H e a d i n g : s ( Y n ) , b l o c k Q u o t e : s ( k e ) , c h a r a c t e r E s c a p e : Y , c h a r a c t e r R e f e r e n c e : Y , c o d e F e n c e d : s ( I 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 ( I 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 : Y , d a t a : Y , c o d e F l o w V a l u e : Y , 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 ( W n ) , h a r d B r e a k T r a i l i n g : s ( W n ) , h t m l F l o w : s ( I r , u ) , h t m l F l o w D a t a : Y , h t m l T e x t : s ( I r , u ) , h t m l T e x t D a t a : Y , i m a g e : s ( J l ) , l a b e l : u , l i n k : s ( X a ) , l i s t I t e m : s ( b 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 ( Z a , h ) , l i s t U n o r d e r e d : s ( Z a ) , p a r a g r a p h : s ( Q c ) , r e f e r e n c e : C , 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 ( Y n ) , s t r o n g : s ( J c ) , t h e m a t i c B r e a k : s ( e d ) } , 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 : U , a u t o l i n k : p ( ) , a u t o l i n k E m a i l : g e , a u t o l i n k P r o t o c o l : h 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 : r 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 : r e , c h a r a c t e r R e f e r e n c e V a l u e : c e , c h a r a c t e r R e f e r e n c e : s 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 : w , 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 : x , 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 ( e e ) , 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 : D , d e f i n i t i o n L a b e l S t r i n g : N , d e f i n i t i o n T i t l e S t r i n g : _ , 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 ( K ) , h a r d B r e a k T r a i l i n g : p ( K ) , h t m l F l o w : p ( J ) , h t m l F l o w D a t a : M , h t m l T e x t : p ( Q ) , h t m l T e x t D a t a : M , i m a g e : p ( V ) , l a b e l : d e , l a b e l T e x t : n e , l i n e E n d i n g : q , 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 : i 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 : I , r e s o u r c e T i t l e S t r i n g : F , r e s o u r c e : z , 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 : j , s e t e x t H e a d i n g T e x t : L , s t r o n g : p ( ) , t h e m a t i c B r e a k : p ( ) } } ; E N ( 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 ( o e ) { l e t f e = { t y p e : " r o o t " , c h i l d r e n : [ ] } ; c o n s t _ e = { s t a c k : [ f e ] , t o k e n S t a c k : [ ] , c o n f i g : t , e n t e r : c , e x i t : f , b u f f e r : u , r e s u m e : m , d a t a : r } , M e = [ ] ; l e t W e = - 1 ; f o r ( ; + + W e < o e . l e n g t h ; ) i f ( o e [ W e ] [ 1 ] . t y p e = = = " l i s t O r d e r e d " | | o e [ W e ] [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " ) i f ( o 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 r n = M e . p o p ( ) ; W e = o ( o e , r n , W e ) } f o r ( W e = - 1 ; + + W e < o e . l e n g t h ; ) { c o n s t r n = t [ o e [ W e ] [ 0 ] ] ; v N . c a l l ( r n , o e [ W e ] [ 1 ] . t y p e ) & & r n [ o 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 : o e [ W e ] [ 2 ] . s l i c e S e r i a l i z e } , _ e ) , o e [ W e ] [ 1 ] ) } i f ( _ e . t o k e n S t a c k . l e n g t h > 0 ) { c o n s t r n = _ e . t o k e n S t a c k [ _ e . t o k e n S t a c k . l e n g t h - 1 ] ; ( r n [ 1 ] | | D A ) . c a l l ( _ e , v o i d 0 , r n [ 0 ] ) } f o r ( f e . p o s i t i o n = { s t a r t : i a ( o e . l e n g t h > 0 ? o 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 : i a ( o e . l e n g t h > 0 ? o e [ o 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 ; ) f e = t . t r a n s f o r m s [ W e ] ( f e ) | | f e ; r e t u r n f e } f u n c t i o n o ( o e , f e , _ e ) { l e t M e = f e - 1 , W e = - 1 , r n = ! 1 , l r , $ t , E t , q t ; f o r ( ; + + M e < = _ e ; ) { c o n s t t t = o 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 - - , q 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 " & & ( l r & & ! q t & & ! W e & & ! E t & & ( E t = M e ) , q 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 : q 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 ( l r ) { l e t O r = M e ; f o r ( $ t = v o i d 0 ; O r - - ; ) { c o n s t L n = o e [ O r ] ; i f ( L n [ 1 ] . t y p e = = = " l i n e E n d i n g " | | L n [ 1 ] . t y p e = = = " l i n e E n d i n g B l a n k " ) { i f ( L n [ 0 ] = = = " e x i t " ) c o n t i n u e ; $ t & & ( o e [ $ t ] [ 1 ] . t y p e = " l i n e E n d i n g B l a n k " , r n = ! 0 ) , L n [ 1 ] . t y p e = " l i n e E n d i n g " , $ t = O r } e l s e i f ( ! ( L n [ 1 ] . t y p e = = = " l i n e P r e f i x " | | L n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x " | | L 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 p Line truncated
` }]}function cU(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 dU(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function pU(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function fU(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),o=ro(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let u,c=e.footnoteCounts.get(a);c===void 0?(c=0,e.footnoteOrder.push(a),u=e.footnoteOrder.length):u=s+1,c+=1,e.footnoteCounts.set(a,c);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(c>1?"-"+c:""),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 gU(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 mU(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function SN(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 hU(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return SN(e,t);const o={src:ro(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 bU(e,t){const r={src:ro(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 yU(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 vU(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return SN(e,t);const o={href:ro(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 EU(e,t){const r={href:ro(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 SU(e,t,r){const a=e.all(t),o=r?xU(r):xN(t),s={},u=[];if(typeof t.checked=="boolean"){const m=a[0];let h;m&&m.type==="element"&&m.tagName==="p"?h=m:(h={type:"element",tagName:"p",properties:{},children:[]},a.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<a.length;){const m=a[c];(o||c!==0||m.type!=="element"||m.tagName!=="p")&&u.push({type:"text",value: `
` }),m.type==="element"&&m.tagName==="p"&&!o?u.push(...m.children):u.push(m)}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 xU(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=xN(r[a])}return t}function xN(e){const t=e.spread;return t??e.children.length>1}function wU(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 TU(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function AU(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function kU(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _U(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)},c=Kg(t.children[1]),p=tN(t.children[t.children.length-1]);c&&p&&(u.position={start:c,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 NU(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,c=u?u.length:t.children.length;let p=-1;const f=[];for(;++p<c;){const h=t.children[p],v={},E=u?u[p]:void 0;E&&(v.align=E);let x={type:"element",tagName:s,properties:v,children:[]};h&&(x.children=e.all(h),e.patch(h,x),x=e.applyData(h,x)),f.push(x)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,m),e.applyData(t,m)}function RU(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const MA=9,jA=32;function CU(e){const t=String(e),r=/ \r ? \n | \r /g;let a=r.exec(t),o=0;const s=[];for(;a;)s.push(UA(t.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(t);return s.push(UA(t.slice(o),o>0,!1)),s.join("")}function UA(e,t,r){let a=0,o=e.length;if(t){let s=e.codePointAt(a);for(;s===MA||s===jA;)a++,s=e.codePointAt(a)}if(r){let s=e.codePointAt(o-1);for(;s===MA||s===jA;)o--,s=e.codePointAt(o-1)}return o>a?e.slice(a,o):""}function IU(e,t){const r={type:"text",value:CU(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function OU(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const LU={blockquote:sU,break:uU,code:cU,delete:dU,emphasis:pU,footnoteReference:fU,heading:gU,html:mU,imageReference:hU,image:bU,inlineCode:yU,linkReference:vU,link:EU,listItem:SU,list:wU,paragraph:TU,root:AU,strong:kU,table:_U,tableCell:RU,tableRow:NU,text:IU,thematicBreak:OU,toml:Eu,yaml:Eu,definition:Eu,footnoteDefinition:Eu};function Eu(){}const wN=-1,pc=0,xl=1,Yu=2,tm=3,nm=4,rm=5,am=6,TN=7,AN=8,FA=typeof self=="object"?self:globalThis,DU=(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 pc:case wN:return r(u,o);case xl:{const c=r([],o);for(const p of u)c.push(a(p));return c}case Yu:{const c=r({},o);for(const[p,f]of u)c[a(p)]=a(f);return c}case tm:return r(new Date(u),o);case nm:{const{source:c,flags:p}=u;return r(new RegExp(c,p),o)}case rm:{const c=r(new Map,o);for(const[p,f]of u)c.set(a(p),a(f));return c}case am:{const c=r(new Set,o);for(const p of u)c.add(a(p));return c}case TN:{const{name:c,message:p}=u;return r(new FA[c](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:c}=new Uint8Array(u);return r(new DataView(c),u)}}return r(new FA[s](u),o)};return a},BA=e=>DU(new Map,e)(0),Ui="",{toString:MU}={},{keys:jU}=Object,ml=e=>{const t=typeof e;if(t!=="object"||!e)return[pc,t];const r=MU.call(e).slice(8,-1);switch(r){case"Array":return[xl,Ui];case"Object":return[Yu,Ui];case"Date":return[tm,Ui];case"RegExp":return[nm,Ui];case"Map":return[rm,Ui];case"Set":return[am,Ui];case"DataView":return[xl,r]}return r.includes("Array")?[xl,r]:r.includes("Error")?[TN,r]:[Yu,r]},Su=([e,t])=>e===pc&&(t==="function"||t==="symbol"),UU=(e,t,r,a)=>{const o=(u,c)=>{const p=a.push(u)-1;return r.set(c,p),p},s=u=>{if(r.has(u))return r.get(u);let[c,p]=ml(u);switch(c){case pc:{let m=u;switch(p){case"bigint":c=AN,m=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);m=null;break;case"undefined":return o([wN],u)}return o([c,m],u)}case xl:{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(c,!0)},{type:"text",value: `
` }]}}const fc=(function(e){if(e==null)return HU;if(typeof e=="function")return gc(e);if(typeof e=="object")return Array.isArray(e)?PU(e): $ U(e);if(typeof e=="string")return GU(e);throw new Error("Expected function, string, or object as test")});function PU(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=fc(e[r]);return gc(a);function a(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function $ U(e){const t=e;return gc(r);function r(a){const o=a;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function GU(e){return gc(t);function t(r){return r&&r.type===e}}function gc(e){return t;function t(r,a,o){return!!(VU(r)&&e.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function HU(){return!0}function VU(e){return e!==null&&typeof e=="object"&&"type"in e}const kN=[],qU=!0,ug=!1,YU="skip";function _N(e,t,r,a){let o;typeof t=="function"&&typeof r!="function"?(a=r,r=t):o=t;const s=fc(o),u=a?-1:1;c(e,void 0,[])();function c(p,f,m){const h=p&&typeof p=="object"?p:{};if(typeof h.type=="string"){const E=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(E?"<"+E+">":""))+")"})}return v;function v(){let E=kN,x,w,k;if((!t||s(p,f,m[m.length-1]||void 0))&&(E=WU(r(p,m)),E[0]===ug))return E;if("children"in p&&p.children){const A=p;if(A.children&&E[0]!==YU)for(w=(a?A.children.length:-1)+u,k=m.concat(A);w>-1&&w<A.children.length;){const N=A.children[w];if(x=c(N,w,k)(),x[0]===ug)return x;w=typeof x[1]=="number"?x[1]:w+u}}return E}}}function WU(e){return Array.isArray(e)?e:typeof e=="number"?[qU,e]:e==null?kN:[e]}function im(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),_N(e,s,c,o);function c(p,f){const m=f[f.length-1],h=m?m.children.indexOf(p):void 0;return u(p,h,m)}}const cg={}.hasOwnProperty,KU={};function XU(e,t){const r=t||KU,a=new Map,o=new Map,s=new Map,u={...LU,...r.handlers},c={all:f,applyData:QU,definitionById:a,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:u,one:p,options:r,patch:ZU,wrap:eF};return im(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const h=m.type==="definition"?a:o,v=String(m.identifier).toUpperCase();h.has(v)||h.set(v,m)}}),c;function p(m,h){const v=m.type,E=c.handlers[v];if(cg.call(c.handlers,v)&&E)return E(c,m,h);if(c.options.passThrough&&c.options.passThrough.includes(v)){if("children"in m){const{children:w,...k}=m,A=Wu(k);return A.children=c.all(m),A}return Wu(m)}return(c.options.unknownHandler||JU)(c,m,h)}function f(m){const h=[];if("children"in m){const v=m.children;let E=-1;for(;++E<v.length;){const x=c.one(v[E],m);if(x){if(E&&v[E-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=PA(x.value)),!Array.isArray(x)&&x.type==="element")){const w=x.children[0];w&&w.type==="text"&&(w.value=PA(w.value))}Array.isArray(x)?h.push(...x):h.push(x)}}}return h}}function ZU(e,t){e.position&&(t.position=BM(e))}function QU(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,Wu(s)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function JU(e,t){const r=t.data||{},a="value"in t&&!(cg.call(r,"hProperties")||cg.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 eF(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 PA(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=XU(e,t),a=r.one(e,void 0),o=zU(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&s.children.push({type:"text",value: `
` },o),s}function tF(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 GA(e){if(e)throw e}var _f,HA;function nF(){if(HA)return _f;HA=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 m=e.call(f,"constructor"),h=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!m&&!h)return!1;var v;for(v in f);return typeof v>"u"||e.call(f,v)},u=function(f,m){r&&m.name==="__proto__"?r(f,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):f[m.name]=m.newValue},c=function(f,m){if(m==="__proto__")if(e.call(f,m)){if(a)return a(f,m).value}else return;return f[m]};return _f=function p(){var f,m,h,v,E,x,w=arguments[0],k=1,A=arguments.length,N=!1;for(typeof w=="boolean"&&(N=w,w=arguments[1]||{},k=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});k<A;++k)if(f=arguments[k],f!=null)for(m in f)h=c(w,m),v=c(f,m),w!==v&&(N&&v&&(s(v)||(E=o(v)))?(E?(E=!1,x=h&&o(h)?h:[]):x=h&&s(h)?h:{},u(w,{name:m,newValue:p(N,x,v)})):typeof v<"u"&&u(w,{name:m,newValue:v}));return w},_f}var rF=nF();const Nf=ic(rF);function dg(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 aF(){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);c(null,...o);function c(p,...f){const m=e[++s];let h=-1;if(p){u(p);return}for(;++h<o.length;)(f[h]===null||f[h]===void 0)&&(f[h]=o[h]);o=f,m?iF(m,c)(...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 iF(e,t){let r;return a;function a(...u){const c=e.length>u.length;let p;c&&u.push(o);try{p=e.apply(this,u)}catch(f){const m=f;if(c&&r)throw m;return o(m)}c||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(u,...c){r||(r=!0,t(u,...c))}function s(u){o(null,u)}}const Jn={basename:oF,dirname:lF,extname:sF,join:uF,sep:"/"};function oF(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ul(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,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else u<0&&(s=!0,u=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(a=o):(c=-1,a=u));return r===a?a=u:a<0&&(a=e.length),e.slice(r,a)}function lF(e){if(Ul(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 sF(e){Ul(e);let t=e.length,r=-1,a=0,o=-1,s=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){a=t+1;break}continue}r<0&&(u=!0,r=t+1),c===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 uF(...e){let t=-1,r;for(;++t<e.length;)Ul(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":cF(r)}function cF(e){Ul(e);const t=e.codePointAt(0)===47;let r=dF(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function dF(e,t){let r="",a=0,o=-1,s=0,u=-1,c,p;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===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 c===46&&s>-1?s++:s=-1}return r}function Ul(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const pF={cwd:fF};function fF(){return"/"}function pg(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function gF(e){if(typeof e=="string")e=new URL(e);else if(!pg(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 mF ( e ) } function mF ( e ) { if ( e . hostname !== "" ) { cons Line truncated
` :" ")+s.indentLines(s.containerFlow(a,c.current()),t?ON:aB))),f(),p}}function aB(e,t,r){return t===0?e:ON(e,t,r)}function ON(e,t,r){return(r?"":" ")+e}const iB=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];LN.peek=cB;function oB(){return{canContainEols:["delete"],enter:{strikethrough:sB},exit:{strikethrough:uB}}}function lB(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:iB}],handlers:{delete:LN}}}function sB(e){this.enter({type:"delete",children:[]},e)}function uB(e){this.exit(e)}function LN(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 cB(){return"~"}function dB(e){return e.length}function pB(e,t){const r=t||{},a=(r.align||[]).concat(),o=r.stringLength||dB,s=[],u=[],c=[],p=[];let f=0,m=-1;for(;++m<e.length;){const w=[],k=[];let A=-1;for(e[m].length>f&&(f=e[m].length);++A<e[m].length;){const N=fB(e[m][A]);if(r.alignDelimiters!==!1){const _=o(N);k[A]=_,(p[A]===void 0||_>p[A])&&(p[A]=_)}w.push(N)}u[m]=w,c[m]=k}let h=-1;if(typeof a=="object"&&"length"in a)for(;++h<f;)s[h]=ZA(a[h]);else{const w=ZA(a);for(;++h<f;)s[h]=w}h=-1;const v=[],E=[];for(;++h<f;){const w=s[h];let k="",A="";w===99?(k=":",A=":"):w===108?k=":":w===114&&(A=":");let N=r.alignDelimiters===!1?1:Math.max(1,p[h]-k.length-A.length);const _=k+"-".repeat(N)+A;r.alignDelimiters!==!1&&(N=k.length+N+A.length,N>p[h]&&(p[h]=N),E[h]=N),v[h]=_}u.splice(1,0,v),c.splice(1,0,E),m=-1;const x=[];for(;++m<u.length;){const w=u[m],k=c[m];h=-1;const A=[];for(;++h<f;){const N=w[h]||"";let _="",D="";if(r.alignDelimiters!==!1){const U=p[h]-(k[h]||0),L=s[h];L===114?_=" ".repeat(U):L===99?U%2?(_=" ".repeat(U/2+.5),D=" ".repeat(U/2-.5)):(_=" ".repeat(U/2),D=_):D=" ".repeat(U)}r.delimiterStart!==!1&&!h&&A.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&N==="")&&(r.delimiterStart!==!1||h)&&A.push(" "),r.alignDelimiters!==!1&&A.push(_),A.push(N),r.alignDelimiters!==!1&&A.push(D),r.padding!==!1&&A.push(" "),(r.delimiterEnd!==!1||h!==f-1)&&A.push("|")}x.push(r.delimiterEnd===!1?A.join("").replace(/ + $ /,""):A.join(""))}return x.join( `
` )}function fB(e){return e==null?"":String(e)}function ZA(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 gB(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()),mB);return o(),u}function mB(e,t,r){return">"+(r?"":" ")+e}function hB(e,t){return QA(e,t.inConstruct,!0)&&!QA(e,t.notInConstruct,!1)}function QA(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 JA(e,t,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character=== `
` &&hB(r.stack,r.unsafe[o]))return/[ \t ]/.test(a.before)?"":" ";return ` \ \
` }function bB(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 yB(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 vB(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 EB(e,t,r,a){const o=vB(r),s=e.value||" ",u=o===" ` "?"GraveAccent":"Tilde";if(yB(e,r)){const h=r.enter("codeIndented"),v=r.indentLines(s,SB);return h(),v}const c=r.createTracker(a),p=o.repeat(Math.max(bB(s,o)+1,3)),f=r.enter("codeFenced");let m=c.move(p);if(e.lang){const h=r.enter( ` codeFencedLang$ { u } ` );m+=c.move(r.safe(e.lang,{before:m,after:" ",encode:[" ` "],...c.current()})),h()}if(e.lang&&e.meta){const h=r.enter(`codeFencedMeta${u}`);m+=c.move(" " ) , m += c . move ( r . safe ( e . meta , { before : m , after : `
` ,encode:[" ` " ] , ... c . current ( ) } ) ) , h ( ) } return m += c . move ( `
` ),s&&(m+=c.move(s+ `
` )),m+=c.move(p),f(),m}function SB(e,t,r){return(r?"":" ")+e}function lm(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 xB ( e , t , r , a ) { const o = lm ( r ) , s = o === '"' ? "Quote" : "Apostrophe" , u = r . enter ( "definition" ) ; let c = 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 ( "]: " ) , c ( ) , ! e . url || /[\0- \u007F]/ . test ( e . url ) ? ( c = r . enter ( "destinationLiteral" ) , f += p . move ( "<" ) , f += p . move ( r . safe ( e . url , { before : f , after : ">" , ... p . current ( ) } ) ) , f += p . move ( ">" ) ) : ( c = r . enter ( "destinationRaw" ) , f += p . move ( r . safe ( e . url , { before : f , after : e . title ? " " : `
` ,...p.current()}))),c(),e.title&&(c=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),c()),u(),f}function wB(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 Rl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ku(e,t,r){const a=Qi(e),o=Qi(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}}DN.peek=TB;function DN(e,t,r,a){const o=wB(r),s=r.enter("emphasis"),u=r.createTracker(a),c=u.move(o);let p=u.move(r.containerPhrasing(e,{after:o,before:c,...u.current()}));const f=p.charCodeAt(0),m=Ku(a.before.charCodeAt(a.before.length-1),f,o);m.inside&&(p=Rl(f)+p.slice(1));const h=p.charCodeAt(p.length-1),v=Ku(a.after.charCodeAt(0),h,o);v.inside&&(p=p.slice(0,-1)+Rl(h));const E=u.move(o);return s(),r.attentionEncodeSurroundingInfo={after:v.outside,before:m.outside},c+p+E}function TB(e,t,r){return r.options.emphasis||"*"}function AB(e,t){let r=!1;return im(e,function(a){if("value"in a&&/ \r ? \n | \r /.test(a.value)||a.type==="break")return r=!0,ug}),!!((!e.depth||e.depth<3)&&Jg(e)&&(t.options.setext||r))}function kB(e,t,r,a){const o=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(AB(e,r)){const m=r.enter("headingSetext"),h=r.enter("phrasing"),v=r.containerPhrasing(e,{...s.current(),before: `
` ,after: `
` });return h(),m(),v+ `
` +(o===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf(" \r "),v.lastIndexOf( `
` ))+1))}const u="#".repeat(o),c=r.enter("headingAtx"),p=r.enter("phrasing");s.move(u+" ");let f=r.containerPhrasing(e,{before:"# ",after: `
` ,...s.current()});return/^[ \t ]/.test(f)&&(f=Rl(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),p(),c(),f}MN.peek=_B;function MN(e){return e.value||""}function _B(){return"<"}jN.peek=NB;function jN(e,t,r,a){const o=lm(r),s=o==='"'?"Quote":"Apostrophe",u=r.enter("image");let c=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("]("),c(),!e.url&&e.title||/[ \0 - \u 007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(r.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(c=r.enter("destinationRaw"),f+=p.move(r.safe(e.url,{before:f,after:e.title?" ":")",...p.current()}))),c(),e.title&&(c=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),c()),f+=p.move(")"),u(),f}function NB(){return"!"}UN.peek=RB;function UN(e,t,r,a){const o=e.referenceType,s=r.enter("imageReference");let u=r.enter("label");const c=r.createTracker(a);let p=c.move("![");const f=r.safe(e.alt,{before:p,after:"]",...c.current()});p+=c.move(f+"]["),u();const m=r.stack;r.stack=[],u=r.enter("reference");const h=r.safe(r.associationId(e),{before:p,after:"]",...c.current()});return u(),r.stack=m,s(),o==="full"||!f||f!==h?p+=c.move(h+"]"):o==="shortcut"?p=p.slice(0,-1):p+=c.move("]"),p}function RB(){return"!"}FN.peek=CB;function FN(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],c=r.compilePattern(u);let p;if(u.atBreak)for(;p=c.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 CB(){return" ` "}function BN(e,t){const r=Jg(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))}zN.peek=IB;function zN(e,t,r,a){const o=lm(r),s=o==='" ' ? "Quote" : "Apostrophe" , u = r . createTracker ( a ) ; let c , p ; if ( BN ( e , r ) ) { const m = r . stack ; r . stack = [ ] , c = r . enter ( "autolink" ) ; let h = u . move ( "<" ) ; return h += u . move ( r . containerPhrasing ( e , { before : h , after : ">" , ... u . current ( ) } ) ) , h += u . move ( ">" ) , c ( ) , r . stack = m , h } c = 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 ( ")" ) , c ( ) , f } function IB ( e , t , r ) { return BN ( e , r ) ? "<" : "[" } PN . peek = OB ; function PN ( e , t , r , a ) { const o = e . referenceType , s = r . enter ( "linkReference" ) ; let u = r . enter ( "label" ) ; const c = r . createTracker ( a ) ; let p = c . move ( "[" ) ; const f = r . containerPhrasing ( e , { before : p , after : "]" , ... c . current ( ) } ) ; p += c . move ( f + "][" ) , u ( ) ; const m = r . stack ; r . stack = [ ] , u = r . enter ( "reference" ) ; const h = r . safe ( r . associationId ( e ) , { before : p , after : "]" , ... c . current ( ) } ) ; return u ( ) , r . stack = m , s ( ) , o === "full" || ! f || f !== h ? p += c . move ( h + "]" ) : o === "shortcut" ? p = p . slice ( 0 , - 1 ) : p += c . move ( "]" ) , p } function OB ( ) { return "[" } function sm ( 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 LB ( e ) { const t = sm ( 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 DB ( 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 $N ( 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 MB ( e , t , r , a ) { const o = r . enter ( "list" ) , s = r . bulletCurrent ; let u = e . ordered ? DB ( r ) : sm ( r ) ; const c = e . ordered ? u === "." ? ")" : "." : LB ( r ) ; let p = t && r . bulletLastUsed ? u === r . bulletLastUsed : ! 1 ; if ( ! e . ordered ) { const m = e . children ? e . children [ 0 ] : void 0 ; if ( ( u === "*" || u === "-" ) && m && ( ! m . children || ! m . 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 ) , $N ( r ) === u && m ) { let h = - 1 ; for ( ; ++ h < 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:c}};function u(E,x,w,k){return f(m(E,w,k),E.align)}function c(E,x,w,k){const A=h(E,w,k),N=f([A]);return N.slice(0,N.indexOf( `
` ))}function p(E,x,w,k){const A=w.enter("tableCell"),N=w.enter("phrasing"),_=w.containerPhrasing(E,{...k,before:s,after:s});return N(),A(),_}function f(E,x){return pB(E,{align:x,alignDelimiters:a,padding:r,stringLength:o})}function m(E,x,w){const k=E.children;let A=-1;const N=[],_=x.enter("table");for(;++A<k.length;)N[A]=h(k[A],x,w);return _(),N}function h(E,x,w){const k=E.children;let A=-1;const N=[],_=x.enter("tableRow");for(;++A<k.length;)N[A]=p(k[A],E,x,w);return _(),N}function v(E,x,w){let k=HN.inlineCode(E,x,w);return w.stack.includes("tableCell")&&(k=k.replace(/ \| /g," \\ $ &")),k}}function JB(){return{exit:{taskListCheckValueChecked:tk,taskListCheckValueUnchecked:tk,paragraph:tz}}}function ez(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nz}}}function tk(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function tz(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 c=o[s];if(c.type==="paragraph"){u=c;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 nz(e,t,r,a){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=r.createTracker(a);s&&c.move(u);let p=HN.listItem(e,t,r,{...a,...c.current()});return s&&(p=p.replace(/^(?:[*+-]| \d + \. )([ \r \n ]| {1,3})/,f)),p;function f(m){return m+u}}function rz(){return[MF(),nB(),oB(),qB(),JB()]}function az(e){return{extensions:[jF(),rB(e),lB(),QB(e),ez()]}}const iz={tokenize:dz,partial:!0},VN={tokenize:pz,partial:!0},qN={tokenize:fz,partial:!0},YN={tokenize:gz,partial:!0},oz={tokenize:mz,partial:!0},WN={name:"wwwAutolink",tokenize:uz,previous:XN},KN={name:"protocolAutolink",tokenize:cz,previous:ZN},Rr={name:"emailAutolink",tokenize:sz,previous:QN},ar={};function lz(){return{text:ar}}let ja=48;for(;ja<123;)ar[ja]=Rr,ja++,ja===58?ja=65:ja===91&&(ja=97);ar[43]=Rr;ar[45]=Rr;ar[46]=Rr;ar[95]=Rr;ar[72]=[Rr,KN];ar[104]=[Rr,KN];ar[87]=[Rr,WN];ar[119]=[Rr,WN];function sz(e,t,r){const a=this;let o,s;return u;function u(h){return!fg(h)||!QN.call(a,a.previous)||um(a.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(h))}function c(h){return fg(h)?(e.consume(h),c):h===64?(e.consume(h),p):r(h)}function p(h){return h===46?e.check(oz,m,f)(h):h===45||h===95||Mt(h)?(s=!0,e.consume(h),p):m(h)}function f(h){return e.consume(h),o=!0,p}function m(h){return s&&o&&Vt(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function uz(e,t,r){const a=this;return o;function o(u){return u!==87&&u!==119||!XN.call(a,a.previous)||um(a.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(iz,e.attempt(VN,e.attempt(qN,s),r),r)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function cz(e,t,r){const a=this;let o="",s=!1;return u;function u(h){return(h===72||h===104)&&ZN.call(a,a.previous)&&!um(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(h),e.consume(h),c):r(h)}function c(h){if(Vt(h)&&o.length<5)return o+=String.fromCodePoint(h),e.consume(h),c;if(h===58){const v=o.toLowerCase();if(v==="http"||v==="https")return e.consume(h),p}return r(h)}function p(h){return h===47?(e.consume(h),s?f:(s=!0,p)):r(h)}function f(h){return h===null||qu(h)||rt(h)||za(h)||cc(h)?r(h):e.attempt(VN,e.attempt(qN,m),r)(h)}function m(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function dz(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 pz(e,t,r){let a,o,s;return u;function u(f){return f===46||f===95?e.check(YN,p,c)(f):f===null||rt(f)||za(f)||f!==45&&cc(f)?p(f):(s=!0,e.consume(f),u)}function c(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 fz(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(YN,t,s)(u):u===null||rt(u)||za(u)?t(u):(e.consume(u),o)}function s(u){return u===41&&a++,e.consume(u),o}}function gz(e,t,r){return a;function a(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),a):c===38?(e.consume(c),s):c===93?(e.consume(c),o):c===60||c===null||rt(c)||za(c)?t(c):r(c)}function o(c){return c===null||c===40||c===91||rt(c)||za(c)?t(c):a(c)}function s(c){return Vt(c)?u(c):r(c)}function u(c){re
Line truncated
` ),r=[];let a=0;for(;a<t.length;){const o=t[a].match(/^=== \s +"([^"]+)" \s * $ /);if(!o){r.push(t[a]),a++;continue}const s=o[1];for(a++;a<t.length&&t[a].trim()==="";)a++;const u=[];for(;a<t.length&&!(/^=== \s +"[^"]+" \s * $ /.test(t[a])||t[a].trim()===""&&a+1<t.length&&/^=== \s +"[^"]+" \s * $ /.test(t[a+1]));){if(t[a].startsWith(" ")||t[a].trimStart().startsWith(" ` ` ` ")){u.push(t[a].replace(/^ /," ")),a++;continue}if(u.length>0&&t[a].trim()===" "){u.push(" "),a++;continue}break}r.push(`### ${eR}${s}`),r.push(" "),r.push(...u),r.push(" " ) } return r . join ( `
` )}function $ z(e){let t=zz(e);return t=Bz(t),t=Pz(t),t}function rk(e){return e.startsWith(eR)||e.startsWith("tab:")}function Gz(e){return e.replace(/^ \u 200Btab:/,"").replace(/^tab:/,"")}function Hz(e){const t=new Set;e.matches("article.prose, main .prose, .prose, main.flex-1, #main-content")&&t.add(e),e.querySelectorAll("article.prose, main .prose, .prose").forEach(r=>t.add(r));for(const r of t)Vz(r),qz(r),Yz(r)}function Vz(e){for(const t of e.querySelectorAll("p")){const r=t.textContent?.trim()??"";(/^< \/ ?div[ \s >]/.test(r)||r==="</div>")&&t.remove()}}function qz(e){for(const t of e.querySelectorAll("ul")){if(t.classList.contains("aiui-feature-grid"))continue;const r=t.querySelector("li");if(r?.textContent?.includes("YAML-Driven")||r?.textContent?.includes("Component Slots")||r?.querySelector("strong")){t.classList.add("aiui-feature-grid","grid","grid-cols-1","md:grid-cols-2","gap-4","my-6","list-none","pl-0");for(const o of t.querySelectorAll("li"))o.classList.add("border","border-border","rounded-lg","p-4","bg-card")}}}function Yz(e){if(e.querySelector("[data-aiui-tabs]"))return;const t=Array.from(e.querySelectorAll("h3")).filter(c=>rk(c.textContent?.trim()??""));if(t.length<2)return;const r=t.map(c=>{const p=Gz(c.textContent?.trim()??""),f=[];let m=c.nextSibling;for(;m;){if(m.nodeType===Node.ELEMENT_NODE){const v=m;if(v.tagName==="H3"&&rk(v.textContent?.trim()??"")||["H1","H2"].includes(v.tagName))break}const h=m.nextSibling;f.push(m),m=h}return{heading:c,title:p,nodes:f}}),a=document.createElement("div");a.className="aiui-tabs my-6 border border-border rounded-lg overflow-hidden",a.dataset.aiuiTabs="true";const o=document.createElement("div");o.className="aiui-tab-buttons flex flex-wrap gap-0 border-b border-border bg-muted/30",a.appendChild(o);const s=document.createElement("div");s.className="aiui-tab-panels",a.appendChild(s),r.forEach((c,p)=>{const f=document.createElement("button");f.type="button",f.className=["aiui-tab-button px-4 py-2 text-sm font-medium transition-colors",p===0?"bg-background text-foreground border-b-2 border-primary":"text-muted-foreground hover:text-foreground"].join(" "),f.textContent=c.title,f.dataset.tabIndex=String(p),o.appendChild(f);const m=document.createElement("div");m.className=p===0?"aiui-tab-panel p-4 block":"aiui-tab-panel p-4 hidden",m.dataset.tabPanel=String(p);for(const h of c.nodes)m.appendChild(h);s.appendChild(m)});const u=r[0].heading;e.insertBefore(a,u);for(const c of r)c.heading.remove();o.addEventListener("click",c=>{const p=c.target.closest(".aiui-tab-button");if(!p)return;const f=p.dataset.tabIndex??"0";for(const m of o.querySelectorAll(".aiui-tab-button")){const h=m.dataset.tabIndex===f;m.classList.toggle("bg-background",h),m.classList.toggle("text-foreground",h),m.classList.toggle("border-b-2",h),m.classList.toggle("border-primary",h),m.classList.toggle("text-muted-foreground",!h)}for(const m of s.querySelectorAll(".aiui-tab-panel"))m.classList.toggle("hidden",m.dataset.tabPanel!==f),m.classList.toggle("block",m.dataset.tabPanel===f)})}function hl({config:e,routes:t,selectedItem:r}){const[a,o]=S.useState(""),[s,u]=S.useState(!1),c=S.useRef(null),p=e.site?.theme;S.useEffect(()=>{if(!r?.path){o("");return}(async()=>{u(!0);try{const h=(r.path??"").replace(/^ \/ /,"")+".md",v=await fetch( ` / $ { h } ` );if(v.ok){const E=await v.text();o( $ z(E))}else o( ` * Content for * * $ { r . title } * * not found . * ` )}catch{o( ` * Failed to load content for * * $ { r . title } * * . * ` )}finally{u(!1)}})()},[r]),S.useEffect(()=>{!a||!c.current||Hz(c.current)},[a]);const f={h1:({children:m})=>g.jsx("h1",{className:"text-3xl font-bold mt-8 mb-4",children:m}),h2:({children:m})=>g.jsx("h2",{className:"text-2xl font-semibold mt-8 mb-4 text-primary",children:m}),h3:({children:m})=>g.jsx("h3",{className:"text-xl font-semibold mt-6 mb-3",children:m}),h4:({children:m})=>g.jsx("h4",{className:"text-lg font-semibold mt-4 mb-2",children:m}),p:({children:m})=>g.jsx("p",{className:"my-3 text-muted-foreground leading-relaxed",children:m}),a:({href:m,children:h})=>g.jsx("a",{href:m,className:"text-primary hover:underline",children:h}),ul:({children:m})=>g.jsx("ul",{className:"list-disc pl-6 my-4 space-y-1",children:m}),ol:({children:m})=>g.jsx("ol",{className:"list-decimal pl-6 my-4 space-y-1",children:m}),li:({children:m})=>g.jsx("li",{className:"text-muted-foreground",children:m}),blockquote:({children:m})=>g.jsx("blockquote",{className:"border-l-4 border-primary pl-4 my-4 italic text-muted-foreground",children:m}),code:({className:m,children:h})=>!m&&String(h).indexOf( `
` )===-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 text - foreground $ { m ? ? "" } ` ,children:h}),pre:({children:m})=>g.jsx("pre",{className:"bg-muted text-foreground border border-border p-4 rounded-lg text-sm overflow-auto my-4 font-mono whitespace-pre",children:m}),table:({children:m})=>g.jsx("div",{className:"overflow-auto my-4",children:g.jsx("table",{className:"w-full border-collapse text-sm",children:m})}),thead:({children:m})=>g.jsx("thead",{className:"bg-muted/50",children:m}),tr:({children:m})=>g.jsx("tr",{className:"border-b",children:m}),th:({children:m})=>g.jsx("th",{className:"px-4 py-2 text-left font-medium",children:m}),td:({children:m})=>g.jsx("td",{className:"px-4 py-2 text-muted-foreground",children:m}),hr:()=>g.jsx("hr",{className:"my-6 border-border"}),strong:({children:m})=>g.jsx("strong",{className:"font-semibold text-foreground",children:m}),em:({children:m})=>g.jsx("em",{children:m})};return r?g.jsx("main",{id:"main-content",className:"flex-1 p-8 max-w-3xl",children:s?g.jsx("div",{className:"text-muted-foreground",children:"Loading content..."}):a?g.jsx("article",{ref:c,className:"prose prose-neutral dark:prose-invert max-w-none prose-pre:bg-muted prose-pre:text-foreground prose-code:text-foreground",children:g.jsx(RN,{remarkPlugins:[JN],components:f,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(Vi,{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:"bg-muted text-foreground border border-border p-3 rounded-lg text-sm overflow-auto",children: ` site :
theme :
preset : "${p?.preset||" zinc "}"
radius : "${p?.radius||" md "}"
darkMode : $ { p ? . 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(LL).map(m=>g.jsx("span",{className: ` px - 3 py - 1 rounded - full text - sm $ { m === ( p ? . preset || "zinc" ) ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground" } ` ,children:m},m))}),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 text-foreground border border-border p-4 rounded-lg text-sm overflow-auto",children:JSON.stringify(t.routes?.slice(0,3),null,2)})]})}const ak=e=>typeof e=="boolean"? ` $ { e } ` :e===0?"0":e,ik=R_,cm=(e,t)=>r=>{var a;if(t?.variants==null)return ik(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,u=Object.keys(o).map(f=>{const m=r?.[f],h=s?.[f];if(m===null)return null;const v=ak(m)||ak(h);return o[f][v]}),c=r&&Object.entries(r).reduce((f,m)=>{let[h,v]=m;return v===void 0||(f[h]=v),f},{}),p=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((f,m)=>{let{class:h,className:v,...E}=m;return Object.entries(E).every(x=>{let[w,k]=x;return Array.isArray(k)?k.includes({...s,...c}[w]):{...s,...c}[w]===k})?[...f,h,v]:f},[]);return ik(e,u,p,r?.class,r?.className)},tR=cm("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 qi({className:e,variant:t="default",size:r="default",asChild:a=!1,...o}){const s=a?Yg:"button";return g.jsx(s,{"data-slot":"button","data-variant":t,"data-size":r,className:me(tR({variant:t,size:r,className:e})),...o})}function Rn({className:e,...t}){return g.jsx("div",{"data-slot":"card",className:me("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function zn({className:e,...t}){return g.jsx("div",{"data-slot":"card-header",className:me("@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 Pn({className:e,...t}){return g.jsx("div",{"data-slot":"card-title",className:me("leading-none font-semibold",e),...t})}function dm({className:e,...t}){return g.jsx("div",{"data-slot":"card-description",className:me("text-muted-foreground text-sm",e),...t})}function Cn({className:e,...t}){return g.jsx("div",{"data-slot":"card-content",className:me("px-6",e),...t})}function Wz({className:e,...t}){return g.jsx("div",{"data-slot":"card-footer",className:me("flex items-center px-6 [.border-t]:pt-6",e),...t})}function Kz({props:e}){const t=e?.title||"Statistics",r=e?.value||"0",a=e?.change||"",o=e?.changeType||"positive";return g.jsxs(Rn,{className:"mb-4",children:[g.jsxs(zn,{className:"pb-2",children:[g.jsx(dm,{children:t}),g.jsx(Pn,{className:"text-2xl",children:r})]}),a&&g.jsx(Cn,{className:"pt-0",children:g.jsx("span",{className:o==="positive"?"text-green-500 text-sm":"text-red-500 text-sm",children:a})})]})}function Xz({props:e}){const t=e?.title||"Quick Links",r=e?.links||[];return g.jsxs(Rn,{className:"mb-4",children:[g.jsx(zn,{className:"pb-2",children:g.jsx(Pn,{className:"text-sm font-medium",children:t})}),g.jsx(Cn,{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",chi
Line truncated
` );p=h.pop()||"";for(const v of h)if(v.startsWith("data: "))try{const E=JSON.parse(v.slice(6));yP(e,E,o)}catch{}}}catch(s){if(s.name!=="AbortError"){const u=Ba.get(e);u&&_n(e,{thinkingSteps:[...u.state.thinkingSteps, ` Error : $ { s . message } ` ]})}}finally{const s=Ba.get(e);s&&(s.abortController=null),_n(e,{isStreaming:!1}),o?.onEnd?.()}}function yP(e,t,r){const a=Ba.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&&_n(e,{currentResponse:a.state.currentResponse+u});break}case"message":case"run_completed":case"team_run_completed":{const u=t.content;u&&_n(e,{currentResponse:u});break}case"thinking":case"reasoning_step":case"team_reasoning_step":{const u=t.step;u&&_n(e,{thinkingSteps:[...a.state.thinkingSteps,u]});break}case"reasoning_started":case"team_reasoning_started":_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 c=lk(a.state.toolCalls,u);_n(e,{toolCalls:c});break}case"tool_call_completed":case"team_tool_call_completed":{const u=t.extra_data,c=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:c?.length?{messages:c,surface_id:t.surface_id??u?.surface_id}:void 0,elements:p};f.tool_call_id&&o.set(f.tool_call_id,f);const m=lk(a.state.toolCalls,f),h=p?.length?[...a.state.pendingElements,...p]:a.state.pendingElements;_n(e,{toolCalls:m,pendingElements:h});break}case"message_element":{const u=t.extra_data,c=t.element??u?.element;c&&_n(e,{pendingElements:[...a.state.pendingElements,c]});break}case"error":case"run_error":case"team_run_error":{const u=t.error;u&&_n(e,{thinkingSteps:[...a.state.thinkingSteps, ` Error : $ { u } ` ]});break}case"approval_required":case"approval_pending":case"run_paused":{const u=t.extra_data;if(u?.type==="approval_required"){const c=u;window.dispatchEvent(new CustomEvent("aiui:approval-required",{detail:c}))}break}case"end":case"done":case"run_cancelled":case"team_run_cancelled":break;default:fP(e,t);break}}function lk(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 aR(e={}){const{externalSessionId:t}=e,[r,a]=S.useState(()=>Au(t));S.useEffect(()=>{if(!t){a(Au(null));return}return a(Au(t)),gP(t,()=>{a(Au(t))})},[t]);const o=S.useCallback((u,c)=>{const p=t?? ` new - $ { Date . now ( ) } ` ;hP(p,u,c,{onSessionId:f=>{e.onSessionId?.(f)},onEnd:e.onEnd})},[t,e.onSessionId,e.onEnd]),s=S.useCallback(()=>{t&&mP(t)},[t]);return{isStreaming:r.isStreaming,currentResponse:r.currentResponse,toolCalls:r.toolCalls,thinkingSteps:r.thinkingSteps,pendingElements:r.pendingElements,sendMessage:o,cancel:s}}function vP(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 EP(e,t){if(e==null)return{};var r,a,o=vP(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 hg(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 SP(e){if(Array.isArray(e))return hg(e)}function xP(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wP(e,t){if(e){if(typeof e=="string")return hg(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)?hg(e,t):void 0}}function TP(){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 bg(e){return SP(e)||xP(e)||wP(e)||TP()}function Cl(e){"@babel/helpers - typeof";return Cl=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},Cl(e)}function AP(e,t){if(Cl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(Cl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kP(e){var t=AP(e,"string");return Cl(t)=="symbol"?t:t+""}function iR(e,t,r){return(t=kP(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yg(){return yg=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},yg.apply(null,arguments)}function sk(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 Yi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sk(Object(r),!0).forEach(function(a){iR(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sk(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function _P(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 jP(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,c=e.startingLineNumber;return Ke.createElement("code",{style:Object.assign({},r,o)},MP({lines:t.replace(/ \n $ /,"").split( `
` ),style:u,startingLineNumber:c}))}function UP(e){return"".concat(e.toString().length,".25em")}function lR(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 sR(e,t,r){var a={display:"inline-block",minWidth:UP(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,s=la(la({},a),o);return s}function ju(e){var t=e.children,r=e.lineNumber,a=e.lineNumberStyle,o=e.largestLineNumber,s=e.showInlineLineNumbers,u=e.lineProps,c=u===void 0?{}:u,p=e.className,f=p===void 0?[]:p,m=e.showLineNumbers,h=e.wrapLongLines,v=e.wrapLines,E=v===void 0?!1:v,x=E?la({},typeof c=="function"?c(r):c):{};if(x.className=x.className?[].concat(bg(x.className.trim().split(/ \s +/)),bg(f)):f,r&&s){var w=sR(a,r,o);t.unshift(lR(r,w))}return h&m&&(x.style=la({display:"flex"},x.style)),{type:"element",tagName:"span",properties:x,children:t}}function uR(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(ju({children:[o],className:bg(new Set(t))}));else if(o.children){var s,u=t.concat(((s=o.properties)===null||s===void 0?void 0:s.className)||[]);uR(o.children,u).forEach(function(c){return r.push(c)})}}return r}function FP(e,t,r,a,o,s,u,c,p){var f,m=uR(e.value),h=[],v=-1,E=0;function x(U,L){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return ju({children:U,lineNumber:L,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:o,lineProps:r,className:j,showLineNumbers:a,wrapLongLines:p,wrapLines:t})}function w(U,L){if(a&&L&&o){var j=sR(c,L,u);U.unshift(lR(L,j))}return U}function k(U,L){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||j.length>0?x(U,L,j):w(U,L)}for(var A=function(){var L=m[E],j=L.children[0].value,P=DP(j);if(P){var Y=j.split( `
` );Y.forEach(function(M,q){var K=a&&h.length+s,J={type:"text",value:"".concat(M, `
` )};if(q===0){var Q=m.slice(v+1,E).concat(ju({children:[J],className:L.properties.className})),ee=k(Q,K);h.push(ee)}else if(q===Y.length-1){var B=m[E+1]&&m[E+1].children&&m[E+1].children[0],V={type:"text",value:"".concat(M)};if(B){var ne=ju({children:[V],className:L.properties.className});m.splice(E+1,0,ne)}else{var de=[V],I=k(de,K,L.properties.className);h.push(I)}}else{var F=[J],z=k(F,K,L.properties.className);h.push(z)}}),v=E}E++};E<m.length;)A();if(v!==m.length-1){var N=m.slice(v+1,m.length);if(N&&N.length){var _=a&&h.length+s,D=k(N,_);h.push(D)}}return t?h:(f=[]).concat.apply(f,h)}function BP(e){var t=e.rows,r=e.stylesheet,a=e.useInlineStyles;return t.map(function(o,s){return oR({node:o,stylesheet:r,useInlineStyles:a,key:"code-segment-".concat(s)})})}function cR(e){return e&&typeof e.highlightAuto<"u"}function zP(e){var t=e.astGenerator,r=e.language,a=e.code,o=e.defaultCodeValue;if(cR(t)){var s=IP(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 PP(e,t){return function(a){var o,s,u=a.language,c=a.children,p=a.style,f=p===void 0?t:p,m=a.customStyle,h=m===void 0?{}:m,v=a.codeTagProps,E=v===void 0?{className:u?"language-".concat(u):void 0,style:la(la({},f['code[class*="language-"]']),f['code[class*="language-'.concat(u,'"]')])}:v,x=a.useInlineStyles,w=x===void 0?!0:x,k=a.showLineNumbers,A=k===void 0?!1:k,N=a.showInlineLineNumbers,_=N===void 0?!0:N,D=a.startingLineNumber,U=D===void 0?1:D,L=a.lineNumberContainerStyle,j=a.lineNumberStyle,P=j===void 0?{}:j,Y=a.wrapLines,M=a.wrapLongLines,q=M===void 0?!1:M,K=a.lineProps,J=K===void 0?{}:K,Q=a.renderer,ee=a.PreTag,B=ee===void 0?"pre":ee,V=a.CodeTag,ne=V===void 0?"code":V,de=a.code,I=de===void 0?(Array.isArray(c)?c[0]:c)||"":de,F=a.astGenerator,z=EP(a,OP);F=F||e;var C=A?Ke.createElement(jP,{containerStyle:L,codeStyle:E.style||{},numberStyle:P,startingLineNumber:U,codeString:I}):null,ie=f.hljs||f['pre[class*="language-"]']||{backgroundColor:"#fff"},re=cR(F)?"hljs":"prismjs",ce=w?Object.assign({},z,{style:Object.assign({},ie,h)}):Object.assign({},z,{className:z.className?"".concat(re," ").concat(z.className):re,style:Object.assign({},h)});if(q?E.style=la({whiteSpace:"pre-wrap"},E.style):E.style=la({whiteSpace:"pre"},E.style),!F)return Ke.createElement(B,ce,C,Ke.createElement(ne,E,I));(Y===void 0&&Q||q)&&(Y=!0),Q=Q||BP;var se=[{type:"text",value:I}],he=zP({astGenerator:F,language:u,code:I,defaultCodeValue:se});he.language===null&&(he.value=se);var ge=(o=(s=I.match(/ \n /g))===null||s===void 0?void 0:s.length)!==null&&o!==void 0?o:0,ke=U+ge,Ie=FP(he,Y,J,A,_,U,ke,P,q);return Ke.createElement(B,ce,Ke.createElement(ne,E,!_&&C,Q({rows:Ie,stylesheet:f,useInlineStyles:w})))}}const $ P="modulepreload",GP=function(e){return"/"+e},dk={},pk=function(t,r,a){let o=Promise.resolve();if(r&&r.length>0){let p=function(f){return Promise.all(f.map(m=>Promise.resolve(m).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=p(r.map(f=>{if(f=GP(f),f in dk)return;dk[f]=!0;const m=f.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${f}" ] $ { h } ` ))return;const v=document.createElement("link");if(v.rel=m?"stylesheet": $ P,m||(v.as="script"),v.crossOrigin="",v.href=f,c&&v.setAttribute("nonce",c),document.head.appendChild(v),m)return new Promise((E,x)=>{v.addEventListener("load",E),v.addEventListener("error",()=>x(new Error( ` Unable to preload CSS for $ { f } ` )))})}))}function s(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},HP=["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","java","javadoc"
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)}zt.displayName="markup-templating";zt.aliases=[];function zt(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 c=a.tokenStack=[];a.code=a.code.replace(s,function(p){if(typeof u=="function"&&!u(p))return p;for(var f=c.length,m;a.code.indexOf(m=r(o,f))!==-1;)++f;return c[f]=p,m}),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 c(p){for(var f=0;f<p.length&&!(s>=u.length);f++){var m=p[f];if(typeof m=="string"||m.content&&typeof m.content=="string"){var h=u[s],v=a.tokenStack[h],E=typeof m=="string"?m:m.content,x=r(o,h),w=E.indexOf(x);if(w>-1){++s;var k=E.substring(0,w),A=new t.Token(o,t.tokenize(v,a.grammar),"language-"+o,v),N=E.substring(w+x.length),_=[];k&&_.push.apply(_,c([k])),_.push(A),N&&_.push.apply(_,c([N])),typeof m=="string"?p.splice.apply(p,[f,1].concat(_)):m.content=_}}else m.content&&c(m.content)}return p}c(a.tokens)}}})})(e)}xh.displayName="django";xh.aliases=["jinja2"];function xh(e){e.register(zt),(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)}wh.displayName="dns-zone-file";wh.aliases=["dns-zone"];function wh(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"]}Th.displayName="docker";Th.aliases=["dockerfile"];function Th(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},c={pattern:/(^[ \t ]*)#.*/m,lookbehind:!0,greedy:!0};function p(f,m){return f=f.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return a}),RegExp(f,m)}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:c,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)}Gl.displayName="t4-templating";Gl.aliases=[];function Gl(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)}Uv.displayName="t4-cs";Uv.aliases=["t4"];function Uv(e){e.register(io),e.register(Gl),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}Tc.displayName="vbnet";Tc.aliases=[];function Tc(e){e.register(yc),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:/[,;:(){}]/})}Fv.displayName="t4-vb";Fv.aliases=[];function Fv(e){e.register(Gl),e.register(Tc),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}Bv.displayName="tap";Bv.aliases=[];function Bv(e){e.register(bc),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"}}}zv.displayName="tcl";zv.aliases=[];function zv(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 ${ TE } if no \` max \` prop is set)
- \ ` null \` or \` undefined \` if the progress is indeterminate.
Defaulting to \ ` null \` . ` } var y4 = sC , v4 = cC ; function E4 ( { className : e , value : t , ... r } ) { return g . jsx ( y4 , { "data-slot" : "progress" , className : me ( "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full" , e ) , ... r , children : g . jsx ( v4 , { "data-slot" : "progress-indicator" , className : "bg-primary h-full w-full flex-1 transition-all" , style : { transform : ` translateX(- ${ 100 - ( t || 0 ) } %) ` } } ) } ) } function Vl ( 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 ql ( 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 , c ; if ( "borderBoxSize" in s ) { const p = s . borderBoxSize , f = Array . isArray ( p ) ? p [ 0 ] : p ; u = f . inlineSize , c = f . blockSize } else u = e . offsetWidth , c = e . offsetHeight ; r ( { width : u , height : c } ) } ) ; return a . observe ( e , { box : "border-box" } ) , ( ) => a . unobserve ( e ) } else r ( void 0 ) } , [ e ] ) , t } var Oc = "Switch" , [ S4 ] = Ut ( Oc ) , [ x4 , w4 ] = S4 ( Oc ) , pC = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , name : a , checked : o , defaultChecked : s , required : u , disabled : c , value : p = "on" , onCheckedChange : f , form : m , ... h } = e , [ v , E ] = S . useState ( null ) , x = Ne ( t , _ => E ( _ ) ) , w = S . useRef ( ! 1 ) , k = v ? m || ! ! v . closest ( "form" ) : ! 0 , [ A , N ] = tn ( { prop : o , defaultProp : s ? ? ! 1 , onChange : f , caller : Oc } ) ; return g . jsxs ( x4 , { scope : r , checked : A , disabled : c , children : [ g . jsx ( be . button , { type : "button" , role : "switch" , "aria-checked" : A , "aria-required" : u , "data-state" : hC ( A ) , "data-disabled" : c ? "" : void 0 , disabled : c , value : p , ... h , ref : x , onClick : ye ( e . onClick , _ => { N ( D => ! D ) , k && ( w . current = _ . isPropagationStopped ( ) , w . current || _ . stopPropagation ( ) ) } ) } ) , k && g . jsx ( mC , { control : v , bubbles : ! w . current , name : a , value : p , checked : A , required : u , disabled : c , form : m , style : { transform : "translateX(-100%)" } } ) ] } ) } ) ; pC . displayName = Oc ; var fC = "SwitchThumb" , gC = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , ... a } = e , o = w4 ( fC , r ) ; return g . jsx ( be . span , { "data-state" : hC ( o . checked ) , "data-disabled" : o . disabled ? "" : void 0 , ... a , ref : t } ) } ) ; gC . displayName = fC ; var T4 = "SwitchBubbleInput" , mC = S . forwardRef ( ( { _ _scopeSwitch : e , control : t , checked : r , bubbles : a = ! 0 , ... o } , s ) => { const u = S . useRef ( null ) , c = Ne ( u , s ) , p = Vl ( r ) , f = ql ( t ) ; return S . useEffect ( ( ) => { const m = u . current ; if ( ! m ) return ; const h = window . HTMLInputElement . prototype , E = Object . getOwnPropertyDescriptor ( h , "checked" ) . set ; if ( p !== r && E ) { const x = new Event ( "click" , { bubbles : a } ) ; E . call ( m , r ) , m . dispatchEvent ( x ) } } , [ p , r , a ] ) , g . jsx ( "input" , { type : "checkbox" , "aria-hidden" : ! 0 , defaultChecked : r , ... o , tabIndex : - 1 , ref : c , style : { ... o . style , ... f , position : "absolute" , pointerEvents : "none" , opacity : 0 , margin : 0 } } ) } ) ; mC . displayName = T4 ; function hC ( e ) { return e ? "checked" : "unchecked" } var A4 = pC , k4 = gC ; function _4 ( { className : e , size : t = "default" , ... r } ) { return g . jsx ( A4 , { "data-slot" : "switch" , "data-size" : t , className : me ( "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 ( k4 , { "data-slot" : "switch-thumb" , className : me ( "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 Lc = "Checkbox" , [ N4 ] = Ut ( Lc ) , [ R4 , AE ] = N4 ( Lc ) ; function C4 ( e ) { const { _ _scopeCheckbox : t , checked : r , children : a , defaultChecked : o , disabled : s , form : u , name : c , onCheckedChange : p , required : f , value : m = "on" , internal _do _not _use _render : h } = e , [ v , E ] = tn ( { prop : r , defaultProp : o ? ? ! 1 , onChange : p , caller : Lc } ) , [ x , w ] = S . useState ( null ) , [ k , A ] = S . useState ( null ) , N = S . useRef ( ! 1 ) , _ = x ? ! ! u || ! ! x . closest ( "form" ) : ! 0 , D = { checked : v , disabled : s , setChecked : E , control : x , setControl : w , name : c , form : u , value : m , hasConsumerStoppedPropagationRef : N , required : f , defaultChecked : sa ( o ) ? ! 1 : o , isFormControl : _ , bubbleInput : k , setBubbleInput : A } ; return g . jsx ( R4 , { scope : t , ... D , children : I4 ( h ) ? h ( D ) : a } ) } var bC = "CheckboxTrigger" , yC = S . forwardRef ( ( { _ _scopeCheckbox : e , onKeyDown : t , onClick : r , ... a } , o ) => { const { control : s , value : u , disabled : c , checked : p , required : f , setControl : m , setChecked : h , hasConsumerStoppedPropagationRef : v , isFormControl : E , bubbleInput : x } = AE ( bC , e ) , w = Ne ( o , m ) , k = S . useRef ( p ) ; return S . useEffect ( ( ) => { const A = s ? . form ; if ( A ) { const N = ( ) => h ( k . current ) ; return A . addEventListener ( "reset" , N ) , ( ) => A . removeEventListener ( "reset" , N ) } } , [ s , h ] ) , g . jsx ( be . button , { type : "button" , role : "checkbox" , "aria-checked" : sa ( p ) ? "mixed" : p , "aria-required" : f , "data-state" : TC ( p ) , "data-disabled" : c ? "" : void 0 , disabled : c , value : u , ... a , ref : w , onKeyDown : ye ( t , A => { A . key === "Enter" && A . preventDefault ( ) } ) , onClick : ye ( r , A => { h ( N => sa ( N ) ? ! 0 : ! N ) , x && E && ( v . current = A . isPropagati Line truncated
. ` .concat(OH, ` {
` +d.stack}}var Za=Object.prototype.hasOwnProperty,Qa=e.unstable_scheduleCallback,bo=e.unstable_cancelCallback,Zc=e.unstable_shouldYield,Qc=e.unstable_requestPaint,Pt=e.unstable_now,Jc=e.unstable_getCurrentPriorityLevel,le=e.unstable_ImmediatePriority,ge=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Me=e.unstable_LowPriority,We=e.unstable_IdlePriority,an=e.log,lr=e.unstable_setDisableYieldValue, $ t=null,Et=null;function qt(n){if(typeof an=="function"&&lr(n),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode( $ t,n)}catch{}}var tt=Math.clz32?Math.clz32:gO,Or=Math.log,Ln=Math.LN2;function gO(n){return n>>>=0,n===0?32:31-(Or(n)/Ln|0)|0}var es=256,ts=262144,ns=4194304;function ba(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 rs(n,i,l){var d=n.pendingLanes;if(d===0)return 0;var b=0,y=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var R=d&134217727;return R!==0?(d=R&~y,d!==0?b=ba(d):(T&=R,T!==0?b=ba(T):l||(l=R&~n,l!==0&&(b=ba(l))))):(R=d&~y,R!==0?b=ba(R):T!==0?b=ba(T):l||(l=d&~n,l!==0&&(b=ba(l)))),b===0?0:i!==0&&i!==b&&(i&y)===0&&(y=b&-b,l=i&-i,y>=l||y===32&&(l&4194048)!==0)?i:b}function yo(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function mO(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 eS(){var n=ns;return ns<<=1,(ns&62914560)===0&&(ns=4194304),n}function ed(n){for(var i=[],l=0;31>l;l++)i.push(n);return i}function vo(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function hO(n,i,l,d,b,y){var T=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 R=n.entanglements,P=n.expirationTimes,W=n.hiddenUpdates;for(l=T&~l;0<l;){var oe=31-tt(l),ce=1<<oe;R[oe]=0,P[oe]=-1;var Z=W[oe];if(Z!==null)for(W[oe]=null,oe=0;oe<Z.length;oe++){var te=Z[oe];te!==null&&(te.lane&=-536870913)}l&=~ce}d!==0&&tS(n,d,0),y!==0&&b===0&&n.tag!==0&&(n.suspendedLanes|=y&~(T&~i))}function tS(n,i,l){n.pendingLanes|=i,n.suspendedLanes&=~i;var d=31-tt(i);n.entangledLanes|=i,n.entanglements[d]=n.entanglements[d]|1073741824|l&261930}function nS(n,i){var l=n.entangledLanes|=i;for(n=n.entanglements;l;){var d=31-tt(l),b=1<<d;b&i|n[d]&i&&(n[d]|=i),l&=~b}}function rS(n,i){var l=i&-i;return l=(l&42)!==0?1:td(l),(l&(n.suspendedLanes|i))!==0?0:l}function td(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 nd(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function aS(){var n=H.p;return n!==0?n:(n=window.event,n===void 0?32:GT(n.type))}function iS(n,i){var l=H.p;try{return H.p=n,i()}finally{H.p=l}}var Lr=Math.random().toString(36).slice(2),_t="__reactFiber $ "+Lr,Yt="__reactProps $ "+Lr,Ja="__reactContainer $ "+Lr,rd="__reactEvents $ "+Lr,bO="__reactListeners $ "+Lr,yO="__reactHandles $ "+Lr,oS="__reactResources $ "+Lr,Eo="__reactMarker $ "+Lr;function ad(n){delete n[_t],delete n[Yt],delete n[rd],delete n[bO],delete n[yO]}function ei(n){var i=n[_t];if(i)return i;for(var l=n.parentNode;l;){if(i=l[Ja]||l[_t]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(n=_T(n);n!==null;){if(l=n[_t])return l;n=_T(n)}return i}n=l,l=n.parentNode}return null}function ti(n){if(n=n[_t]||n[Ja]){var i=n.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return n}return null}function So(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(a(33))}function ni(n){var i=n[oS];return i||(i=n[oS]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function wt(n){n[Eo]=!0}var lS=new Set,sS={};function ya(n,i){ri(n,i),ri(n+"Capture",i)}function ri(n,i){for(sS[n]=i,n=0;n<i.length;n++)lS.add(i[n])}var vO=RegExp("^[:A-Z_a-z \\ u00C0- \\ u00D6 \\ u00D8- \\ u00F6 \\ u00F8- \\ u02FF \\ u0370- \\ u037D \\ u037F- \\ u1FFF \\ u200C- \\ u20
Line truncated
` ).replace(X1,"")}function bT(n,i){return i=hT(i),hT(n)===i}function Je(n,i,l,d,b,y){switch(l){case"children":typeof d=="string"?i==="body"||i==="textarea"&&d===""||ii(n,d):(typeof d=="number"||typeof d=="bigint")&&i!=="body"&&ii(n,""+d);break;case"className":is(n,"class",d);break;case"tabIndex":is(n,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":is(n,l,d);break;case"style":bS(n,d,y);break;case"data":if(i!=="object"){is(n,"data",d);break}case"src":case"href":if(d===""&&(i!=="a"||l!=="href")){n.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(l);break}d=ls(""+d),n.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="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",b.name,b,null),Je(n,i,"formEncType",b.formEncType,b,null),Je(n,i,"formMethod",b.formMethod,b,null),Je(n,i,"formTarget",b.formTarget,b,null)):(Je(n,i,"encType",b.encType,b,null),Je(n,i,"method",b.method,b,null),Je(n,i,"target",b.target,b,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){n.removeAttribute(l);break}d=ls(""+d),n.setAttribute(l,d);break;case"onClick":d!=null&&(n.onclick=ur);break;case"onScroll":d!=null&&Ue("scroll",n);break;case"onScrollEnd":d!=null&&Ue("scrollend",n);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(a(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"multiple":n.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":n.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){n.removeAttribute("xlink:href");break}l=ls(""+d),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":d!=null&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,""+d):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":d&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":d===!0?n.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?n.setAttribute(l,d):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?n.setAttribute(l,d):n.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?n.removeAttribute(l):n.setAttribute(l,d);break;case"popover":Ue("beforetoggle",n),Ue("toggle",n),as(n,"popover",d);break;case"xlinkActuate":sr(n,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":sr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":sr(n,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":sr(n,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":sr(n,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":sr(n,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":sr(n,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":sr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":sr(n,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":as(n,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=TO.get(l)||l,as(n,l,d))}}function Wp(n,i,l,d,b,y){switch(l){case"style":bS(n,d,y);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(a(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(a(60));n.innerHTML=l}}break;case"children":typeof d=="string"?ii(n,d):(typeof d=="number"||typeof d=="bigint")&&ii(n,""+d);break;case"onScroll":d!=null&&Ue("scroll",n);break;case"onScrollEnd":d!=null&&Ue("scrollend",n);break;case"onClick":d!=null&&(n.onclick=ur);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
. ` .concat(y2, ` {
overflow : hidden ` ).concat(a, ` ;
padding - right : ` ).concat(c,"px ").concat(a, ` ;
}
body [ ` ).concat(X i, ` ] {
body [ ` ).concat(W i, ` ] {
overflow : hidden ` ).concat(a, ` ;
overscroll - behavior : contain ;
` ).concat([t&&"position: relative ".concat(a,";"),r==="margin"&& `
@@ -74,37 +25,86 @@ Defaulting to \`null\`.`}var y4=sC,v4=cC;function E4({className:e,value:t,...r})
` ),r==="padding"&&"padding-right: ".concat(c,"px ").concat(a,";")].filter(Boolean).join(""), `
}
. ` ).concat(B u, ` {
. ` ).concat(D u, ` {
right : ` ).concat(c,"px ").concat(a, ` ;
}
. ` ).concat(z u, ` {
. ` ).concat(M u, ` {
margin - right : ` ).concat(c,"px ").concat(a, ` ;
}
. ` ).concat(B u," .").concat(B u, ` {
. ` ).concat(D u," .").concat(D u, ` {
right : 0 ` ).concat(a, ` ;
}
. ` ).concat(z u," .").concat(z u, ` {
. ` ).concat(M u," .").concat(M u, ` {
margin - right : 0 ` ).concat(a, ` ;
}
body [ ` ).concat(X i, ` ] {
` ).concat(LH ,": ").concat(c, ` px ;
body [ ` ).concat(W i, ` ] {
` ).concat(v2 ,": ").concat(c, ` px ;
}
` )},K k=function(){var e=parseInt(document.body.getAttribute(X i)||"0",10);return isFinite(e)?e:0},QH =function(){S.useEffect(function(){return document.body.setAttribute(X i,(K k()+1).toString()),function(){var e=K k()-1;e<=0?document.body.removeAttribute(X i):document.body.setAttribute(X i,e.toString())}},[])},JH =function(e){var t=e.noRelative,r=e.noImportant,a=e.gapMode,o=a===void 0?"margin":a;QH ();var s=S.useMemo(function(){return KH (o)},[o]);return S.createElement(XH ,{styles:ZH (s,!t,o,r?"":"!important")})},N g=!1;if(typeof window<"u")try{var I u=Object.defineProperty({},"passive",{get:function(){return N g=!0,!0}});window.addEventListener("test",I u,I u),window.removeEventListener("test",I u,I u)}catch{N g=!1}var B i=N g?{passive:!1}:!1,e5 =function(e){return e.tagName==="TEXTAREA"},g0 =function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!e5 (e)&&r[t]==="visible")},t5 =function(e){return g0 (e,"overflowY")},n5 =function(e){return g0 (e,"overflowX")},Xk =function(e,t){var r=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var o=m0 (e,a);if(o){var s=h0 (e,a),u=s[1],c=s[2];if(u>c)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},r5 =function(e){var t=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[t,r,a]},a5 =function(e){var t=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[t,r,a]},m0 =function(e,t){return e==="v"?t5 (t):n5 (t)},h0 =function(e,t){return e==="v"?r5 (t):a5 (t)},i5 =function(e,t){return e==="h"&&t==="rtl"?-1:1},o5 =function(e,t,r,a,o){var s=i5 (e,window.getComputedStyle(t).direction),u=s*a,c=r.target,p=t.contains(c),f=!1,m =u>0,h =0,v=0;do{if(!c)break;var E=h0 (e,c),x=E[0],w=E[1],k=E[2],A=w-k-s*x;(x||A)&&m0 (e,c)&&(h +=A,v+=x);var N =c.parentNode;c=N &&N .nodeType===Node.DOCUMENT_FRAGMENT_NODE?N .host:N }while(!p&&c!==document.body||p&&(t.contains(c)||t===c));return(m &&Math.abs(h )<1||!m &&Math.abs(v)<1)&&(f=!0),f},O u=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zk =function(e){return[e.deltaX,e.deltaY]},Qk =function(e){return e&&"current"in e?e.current:e},l5 =function(e,t){return e[0]===t[0]&&e[1]===t[1]},s5 =function(e){return `
` )},kA =function(){var e=parseInt(document.body.getAttribute(W i)||"0",10);return isFinite(e)?e:0},F2 =function(){S.useEffect(function(){return document.body.setAttribute(W i,(kA ()+1).toString()),function(){var e=kA ()-1;e<=0?document.body.removeAttribute(W i):document.body.setAttribute(W i,e.toString())}},[])},B2 =function(e){var t=e.noRelative,r=e.noImportant,a=e.gapMode,o=a===void 0?"margin":a;F2 ();var s=S.useMemo(function(){return M2 (o)},[o]);return S.createElement(j2 ,{styles:U2 (s,!t,o,r?"":"!important")})},i g=!1;if(typeof window<"u")try{var v u=Object.defineProperty({},"passive",{get:function(){return i g=!0,!0}});window.addEventListener("test",v u,v u),window.removeEventListener("test",v u,v u)}catch{i g=!1}var U i=i g?{passive:!1}:!1,z2 =function(e){return e.tagName==="TEXTAREA"},uN =function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!z2 (e)&&r[t]==="visible")},P2 =function(e){return uN (e,"overflowY")}, $ 2 =function(e){return uN (e,"overflowX")},_A =function(e,t){var r=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var o=cN (e,a);if(o){var s=dN (e,a),u=s[1],c=s[2];if(u>c)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},G2 =function(e){var t=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[t,r,a]},H2 =function(e){var t=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[t,r,a]},cN =function(e,t){return e==="v"?P2 (t):$ 2 (t)},dN =function(e,t){return e==="v"?G2 (t):H2 (t)},V2 =function(e,t){return e==="h"&&t==="rtl"?-1:1},q2 =function(e,t,r,a,o){var s=V2 (e,window.getComputedStyle(t).direction),u=s*a,c=r.target,p=t.contains(c),f=!1,h =u>0,m =0,v=0;do{if(!c)break;var E=dN (e,c),x=E[0],w=E[1],k=E[2],A=w-k-s*x;(x||A)&&cN (e,c)&&(m +=A,v+=x);var _ =c.parentNode;c=_ &&_ .nodeType===Node.DOCUMENT_FRAGMENT_NODE?_ .host:_ }while(!p&&c!==document.body||p&&(t.contains(c)||t===c));return(h &&Math.abs(m )<1||!h &&Math.abs(v)<1)&&(f=!0),f},E u=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},NA =function(e){return[e.deltaX,e.deltaY]},RA =function(e){return e&&"current"in e?e.current:e},Y2 =function(e,t){return e[0]===t[0]&&e[1]===t[1]},W2 =function(e){return`
. block - interactivity - ` .concat(e, ` { pointer - events : none ; }
. allow - interactivity - ` ).concat(e, ` { pointer - events : all ; }
` )},u5=0,zi=[];function c5(e){var t=S.useRef([]),r=S.useRef([0,0]),a=S.useRef(),o=S.useState(u5++)[0],s=S.useState(f0)[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 w=IH([e.lockRef.current],(e.shards||[]).map(Qk),!0).filter(Boolean);return w.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=S.useCallback(function(w,k){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!u.current.allowPinchZoom;var A=Ou(w),N=r.current,_="deltaX"in w?w.deltaX:N[0]-A[0],D="deltaY"in w?w.deltaY:N[1]-A[1],U,L=w.target,j=Math.abs(_)>Math.abs(D)?"h":"v";if("touches"in w&&j==="h"&&L.type==="range")return!1;var P=window.getSelection(),Y=P&&P.anchorNode,M=Y?Y===L||Y.contains(L):!1;if(M)return!1;var q=Xk(j,L);if(!q)return!0;if(q?U=j:(U=j==="v"?"h":"v",q=Xk(j,L)),!q)return!1;if(!a.current&&"changedTouches"in w&&(_||D)&&(a.current=U),!U)return!0;var K=a.current||U;return o5(K,k,w,K==="h"?_:D)},[]),p=S.useCallback(function(w){var k=w;if(!(!zi.length||zi[zi.length-1]!==s)){var A="deltaY"in k?Zk(k):Ou(k),N=t.current.filter(function(U){return U.name===k.type&&(U.target===k.target||k.target===U.shadowParent)&&l5(U.delta,A)})[0];if(N&&N.should){k.cancelable&&k.preventDefault();return}if(!N){var _=(u.current.shards||[]).map(Qk).filter(Boolean).filter(function(U){return U.contains(k.target)}),D=_.length>0?c(k,_[0]):!u.current.noIsolation;D&&k.cancelable&&k.preventDefault()}}},[]),f=S.useCallback(function(w,k,A,N){var _={name:w,delta:k,target:A,should:N,shadowParent:d5(A)};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(D){return D!==_})},1)},[]),m=S.useCallback(function(w){r.current=Ou(w),a.current=void 0},[]),h=S.useCallback(function(w){f(w.type,Zk(w),w.target,c(w,e.lockRef.current))},[]),v=S.useCallback(function(w){f(w.type,Ou(w),w.target,c(w,e.lockRef.current))},[]);S.useEffect(function(){return zi.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",p,Bi),document.addEventListener("touchmove",p,Bi),document.addEventListener("touchstart",m,Bi),function(){zi=zi.filter(function(w){return w!==s}),document.removeEventListener("wheel",p,Bi),document.removeEventListener("touchmove",p,Bi),document.removeEventListener("touchstart",m,Bi)}},[]);var E=e.removeScrollBar,x=e.inert;return S.createElement(S.Fragment,null,x?S.createElement(s,{styles:s5(o)}):null,E?S.createElement(JH,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function d5(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const p5=zH(p0,c5);var $ c=S.forwardRef(function(e,t){return S.createElement(Pc,er({},e,{ref:t,sideCar:p5}))}); $ c.classNames=Pc.classNames;var f5=[" ","Enter","ArrowUp","ArrowDown"],g5=[" ","Enter"], $ a="Select",[Gc,Hc,m5]=Ac( $ a),[go]=Ut( $ a,[m5,fo]),Vc=fo(),[h5,ga]=go( $ a),[b5,y5]=go( $ a),b0=e=>{const{__scopeSelect:t,children:r,open:a,defaultOpen:o,onOpenChange:s,value:u,defaultValue:c,onValueChange:p,dir:f,name:m,autoComplete:h,disabled:v,required:E,form:x}=e,w=Vc(t),[k,A]=S.useState(null),[N,_]=S.useState(null),[D,U]=S.useState(!1),L=qa(f),[j,P]=tn({prop:a,defaultProp:o??!1,onChange:s,caller: $ a}),[Y,M]=tn({prop:u,defaultProp:c,onChange:p,caller: $ a}),q=S.useRef(null),K=k?x||!!k.closest("form"):!0,[J,Q]=S.useState(new Set),ee=Array.from(J).map(B=>B.props.value).join(";");return g.jsx(jE,{...w,children:g.jsxs(h5,{required:E,scope:t,trigger:k,onTriggerChange:A,valueNode:N,onValueNodeChange:_,valueNodeHasChildren:D,onValueNodeHasChildrenChange:U,contentId:kt(),value:Y,onValueChange:M,open:j,onOpenChange:P,dir:L,triggerPointerDownPosRef:q,disabled:v,children:[g.jsx(Gc.Provider,{scope:t,children:g.jsx(b5,{scope:e.__scopeSelect,onNativeOptionAdd:S.useCallback(B=>{Q(V=>new Set(V).add(B))},[]),onNativeOptionRemove:S.useCallback(B=>{Q(V=>{const ne=new Set(V);return ne.delete(B),ne})},[]),children:r})}),K?g.jsxs(B0,{"aria-hidden":!0,required:E,tabIndex:-1,name:m,autoComplete:h,value:Y,onChange:B=>M(B.target.value),disabled:v,form:x,children:[Y===void 0?g.jsx("option",{value:""}):null,Array.from(J)]},ee):null]})})};b0.displayName= $ a;var y0="SelectTrigger",v0=S.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:a=!1,...o}=e,s=Vc(r),u=ga(y0,r),c=u.disabled||a,p=Ne(t,u.onTriggerChange),f=Hc(r),m=S.useRef("touch"),[h,v,E]=P0(w=>{const k=f().filter(_=>!_.disabled),A=k.find(_=>_.value===u.value),N= $ 0(k,w,A);N!==void 0&&u.onValueChange(N.value)}),x=w=>{c||(u.onOpenChange(!0),E()),w&&(u.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return g.jsx(zc,{asChild:!0,...s,children:g.jsx(be.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-exp
Line truncated
` )},K2=0,Fi=[];function X2(e){var t=S.useRef([]),r=S.useRef([0,0]),a=S.useRef(),o=S.useState(K2++)[0],s=S.useState(sN)[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 w=b2([e.lockRef.current],(e.shards||[]).map(RA),!0).filter(Boolean);return w.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=S.useCallback(function(w,k){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!u.current.allowPinchZoom;var A=Eu(w),_=r.current,N="deltaX"in w?w.deltaX:_[0]-A[0],D="deltaY"in w?w.deltaY:_[1]-A[1],F,L=w.target,z=Math.abs(N)>Math.abs(D)?"h":"v";if("touches"in w&&z==="h"&&L.type==="range")return!1;var $ =window.getSelection(),K= $ && $ .anchorNode,j=K?K===L||K.contains(L):!1;if(j)return!1;var q=_A(z,L);if(!q)return!0;if(q?F=z:(F=z==="v"?"h":"v",q=_A(z,L)),!q)return!1;if(!a.current&&"changedTouches"in w&&(N||D)&&(a.current=F),!F)return!0;var X=a.current||F;return q2(X,k,w,X==="h"?N:D)},[]),p=S.useCallback(function(w){var k=w;if(!(!Fi.length||Fi[Fi.length-1]!==s)){var A="deltaY"in k?NA(k):Eu(k),_=t.current.filter(function(F){return F.name===k.type&&(F.target===k.target||k.target===F.shadowParent)&&Y2(F.delta,A)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var N=(u.current.shards||[]).map(RA).filter(Boolean).filter(function(F){return F.contains(k.target)}),D=N.length>0?c(k,N[0]):!u.current.noIsolation;D&&k.cancelable&&k.preventDefault()}}},[]),f=S.useCallback(function(w,k,A,_){var N={name:w,delta:k,target:A,should:_,shadowParent:Z2(A)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(D){return D!==N})},1)},[]),h=S.useCallback(function(w){r.current=Eu(w),a.current=void 0},[]),m=S.useCallback(function(w){f(w.type,NA(w),w.target,c(w,e.lockRef.current))},[]),v=S.useCallback(function(w){f(w.type,Eu(w),w.target,c(w,e.lockRef.current))},[]);S.useEffect(function(){return Fi.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",p,Ui),document.addEventListener("touchmove",p,Ui),document.addEventListener("touchstart",h,Ui),function(){Fi=Fi.filter(function(w){return w!==s}),document.removeEventListener("wheel",p,Ui),document.removeEventListener("touchmove",p,Ui),document.removeEventListener("touchstart",h,Ui)}},[]);var E=e.removeScrollBar,x=e.inert;return S.createElement(S.Fragment,null,x?S.createElement(s,{styles:W2(o)}):null,E?S.createElement(B2,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Z2(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Q2=k2(lN,X2);var dc=S.forwardRef(function(e,t){return S.createElement(cc,er({},e,{ref:t,sideCar:Q2}))});dc.classNames=cc.classNames;var J2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Bi=new WeakMap,Su=new WeakMap,xu={},kf=0,pN=function(e){return e&&(e.host||pN(e.parentNode))},ej=function(e,t){return t.map(function(r){if(e.contains(r))return r;var a=pN(r);return a&&e.contains(a)?a:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},tj=function(e,t,r,a){var o=ej(t,Array.isArray(e)?e:[e]);xu[r]||(xu[r]=new WeakMap);var s=xu[r],u=[],c=new Set,p=new Set(o),f=function(m){!m||c.has(m)||(c.add(m),f(m.parentNode))};o.forEach(f);var h=function(m){!m||p.has(m)||Array.prototype.forEach.call(m.children,function(v){if(c.has(v))h(v);else try{var E=v.getAttribute(a),x=E!==null&&E!=="false",w=(Bi.get(v)||0)+1,k=(s.get(v)||0)+1;Bi.set(v,w),s.set(v,k),u.push(v),w===1&&x&&Su.set(v,!0),k===1&&v.setAttribute(r,"true"),x||v.setAttribute(a,"true")}catch(A){console.error("aria-hidden: cannot operate on ",v,A)}})};return h(t),c.clear(),kf++,function(){u.forEach(function(m){var v=Bi.get(m)-1,E=s.get(m)-1;Bi.set(m,v),s.set(m,E),v||(Su.has(m)||m.removeAttribute(a),Su.delete(m)),E||m.removeAttribute(r)}),kf--,kf||(Bi=new WeakMap,Bi=new WeakMap,Su=new WeakMap,xu={})}},Xg=function(e,t,r){r===void 0&&(r="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),o=J2(e);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live], script"))),tj(a,o,r,"aria-hidden")):function(){return null}};function nj(e){const t=rj(e),r=S.forwardRef((a,o)=>{const{children:s,...u}=a,c=S.Children.toArray(s),p=c.find(ij);if(p){const f=p.props.children,h=c.map(m=>m===p?S.Children.count(f)>1?S.Children.only(null):S.isValidElement(f)?f.props.children:null:m);return g.jsx(t,{...u,ref:o,children:S.isValidElement(f)?S.cloneElement(f,void 0,h):null})}return g.jsx(t,{...u,ref:o,children:s})});return r.displayName= ` $ { e } . Slot ` ,r}function rj(e){const t=S.forwardRef((r,a)=>{const{children:o
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},D6="DialogDescriptionWarning",M6=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${yI(D6).contentName}}.`;return S.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},vI=aI,j6=oI,EI=sI,SI=uI,xI=cI,U6=pI,F6=gI,B6=hI;function wI({...e}){return g.jsx(vI,{"data-slot":"dialog",...e})}function z6({...e}){return g.jsx(j6,{"data-slot":"dialog-trigger",...e})}function P6({...e}){return g.jsx(EI,{"data-slot":"dialog-portal",...e})}function $6({className:e,...t}){return g.jsx(SI,{"data-slot":"dialog-overlay",className:me("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 TI({className:e,children:t,showCloseButton:r=!0,...a}){return g.jsxs(P6,{"data-slot":"dialog-portal",children:[g.jsx($6,{}),g.jsxs(xI,{"data-slot":"dialog-content",className:me("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(B6,{"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(P3,{}),g.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function AI({className:e,...t}){return g.jsx("div",{"data-slot":"dialog-header",className:me("flex flex-col gap-2 text-center sm:text-left",e),...t})}function kI({className:e,...t}){return g.jsx(U6,{"data-slot":"dialog-title",className:me("text-lg leading-none font-semibold",e),...t})}function _I({className:e,...t}){return g.jsx(F6,{"data-slot":"dialog-description",className:me("text-muted-foreground text-sm",e),...t})}var G6=Symbol("radix.slottable");function H6(e){const t=({children:r})=>g.jsx(g.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=G6,t}var[Wc]=Ut("Tooltip",[fo]),Kc=fo(),NI="TooltipProvider",V6=700,Ug="tooltip.open",[q6,VE]=Wc(NI),RI=e=>{const{__scopeTooltip:t,delayDuration:r=V6,skipDelayDuration:a=300,disableHoverableContent:o=!1,children:s}=e,u=S.useRef(!0),c=S.useRef(!1),p=S.useRef(0);return S.useEffect(()=>{const f=p.current;return()=>window.clearTimeout(f)},[]),g.jsx(q6,{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:c,onPointerInTransitChange:S.useCallback(f=>{c.current=f},[]),disableHoverableContent:o,children:s})};RI.displayName=NI;var Ol="Tooltip",[Y6,Xl]=Wc(Ol),CI=e=>{const{__scopeTooltip:t,children:r,open:a,defaultOpen:o,onOpenChange:s,disableHoverableContent:u,delayDuration:c}=e,p=VE(Ol,e.__scopeTooltip),f=Kc(t),[m,h]=S.useState(null),v=kt(),E=S.useRef(0),x=u??p.disableHoverableContent,w=c??p.delayDuration,k=S.useRef(!1),[A,N]=tn({prop:a,defaultProp:o??!1,onChange:j=>{j?(p.onOpen(),document.dispatchEvent(new CustomEvent(Ug))):p.onClose(),s?.(j)},caller:Ol}),_=S.useMemo(()=>A?k.current?"delayed-open":"instant-open":"closed",[A]),D=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,k.current=!1,N(!0)},[N]),U=S.useCallback(()=>{window.clearTimeout(E.current),E.current=0,N(!1)},[N]),L=S.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>{k.current=!0,N(!0),E.current=0},w)},[w,N]);return S.useEffect(()=>()=>{E.current&&(window.clearTimeout(E.current),E.current=0)},[]),g.jsx(jE,{...f,children:g.jsx(Y6,{scope:t,contentId:v,open:A,stateAttribute:_,trigger:m,onTriggerChange:h,onTriggerEnter:S.useCallback(()=>{p.isOpenDelayedRef.current?L():D()},[p.isOpenDelayedRef,L,D]),onTriggerLeave:S.useCallback(()=>{x?U():(window.clearTimeout(E.current),E.current=0)},[U,x]),onOpen:D,onClose:U,disableHoverableContent:x,children:r})})};CI.displayName=Ol;var Fg="TooltipTrigger",II=S.forwardRef((e,t)=>{const{__scopeTooltip:r,...a}=e,o=Xl(Fg,r),s=VE(Fg,r),u=Kc(r),c=S.useRef(null),p=Ne(t,c,o.onTriggerChange),f=S.useRef(!1),m=S.useRef(!1),h=S.useCallback(()=>f.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),g.jsx(zc,{asChild:!0,...u,children:g.jsx(be.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},mj="DialogDescriptionWarning",hj=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${NN(mj).contentName}}.`;return S.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},em=gN,bj=hN,tm=yN,nm=vN,rm=EN,RN=xN,yj=TN,CN=kN;function vj({...e}){return g.jsx(em,{"data-slot":"sheet",...e})}function Ej({...e}){return g.jsx(tm,{"data-slot":"sheet-portal",...e})}function Sj({className:e,...t}){return g.jsx(nm,{"data-slot":"sheet-overlay",className:me("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 xj({className:e,children:t,side:r="right",showCloseButton:a=!0,...o}){return g.jsxs(Ej,{children:[g.jsx(Sj,{}),g.jsxs(rm,{"data-slot":"sheet-content",className:me("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",r==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",r==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",r==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",r==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...o,children:[t,a&&g.jsxs(CN,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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",children:[g.jsx(S_,{className:"size-4"}),g.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function wj({className:e,...t}){return g.jsx("div",{"data-slot":"sheet-header",className:me("flex flex-col gap-1.5 p-4",e),...t})}function Tj({className:e,...t}){return g.jsx(RN,{"data-slot":"sheet-title",className:me("text-foreground font-semibold",e),...t})}function IN({nav:e,activeItem:t,onItemClick:r}){const a=(o,s=0)=>{const u=(o.path||o.title)===t;return o.children&&o.children.length>0?g.jsxs("div",{children:[g.jsx("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs font-semibold text-muted-foreground/70 uppercase tracking-widest mt-4 first:mt-0",children:o.title}),g.jsx("div",{className:"space-y-0.5",children:o.children.map(p=>a(p,s+1))})]},o.title+(o.path||"")):g.jsx("button",{type:"button",onClick:()=>r(o),className:`w-full text-left px-3 py-1.5 text-sm rounded-md transition-all duration-150 ${u?"bg-primary/10 text-primary font-medium border-l-2 border-primary":"text-muted-foreground hover:text-foreground hover:bg-muted/50"}`,style:{paddingLeft:`${12+s*12}px`},children:o.title},o.title+(o.path||""))};return g.jsx("nav",{className:"space-y-0.5",children:e.items?.map(o=>a(o))})}function _f({nav:e,activeItem:t,onItemClick:r}){return g.jsx("aside",{className:"w-64 min-w-[16rem] border-r border-border/50 hidden md:block",children:g.jsxs(eN,{className:"h-[calc(100vh-4rem)] py-4 px-2",children:[g.jsx(IN,{nav:e,activeItem:t,onItemClick:r}),g.jsx(qi,{className:"my-4"})]})})}function Aj({open:e,onOpenChange:t,nav:r,activeItem:a,onItemClick:o,title:s="Navigation"}){return g.jsx(vj,{open:e,onOpenChange:t,children:g.jsxs(xj,{side:"left",className:"w-72 p-0",children:[g.jsx(wj,{className:"border-b px-4 py-3",children:g.jsx(Tj,{children:s})}),g.jsx(eN,{className:"h-[calc(100vh-4rem)] px-2 py-4",children:g.jsx(IN,{nav:r,activeItem:a,onItemClick:u=>{o(u),t(!1)}})})]})})}function CA(e){const t=[],r=String(e||"");let a=r.indexOf(","),o=0,s=!1;for(;!s;){a===-1&&(a=r.length,s=!0);const u=r.slice(o,a).trim();(u||!s)&&t.push(u),o=a+1,a=r.indexOf(",",o)}return t}function kj(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const _j=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rj={};function IA(e,t){return(Rj.jsx?Nj:_j).test(e)}const Cj=/[ \t\n\f\r]/g;function Ij(e){return typeof e=="object"?e.type==="text"?OA(e.value):!1:OA(e)}function OA(e){return e.replace(Cj,"")===""}class Ul{constructor(t,r,a){this.normal=r,this.property=t,a&&(this.space=a)}}Ul.prototype.normal={};Ul.prototype.property={};Ul.prototype.space=void 0;function ON(e,t){const r={},a={};for(const o of e)Object.assign(r,o.property),Object.assign(a,o.normal);return new Ul(r,a,t)}function kl(e){return e.toLowerCase()}class rn{con
Line truncated
` ,f="/",h="*",m="",v="comment",E="declaration";function x(k,A){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];A=A||{};var _=1,N=1;function D(re){var ee=re.match(t);ee&&(_+=ee.length);var M=re.lastIndexOf(p);N=~M?re.length-M:N+re.length}function F(){var re={line:_,column:N};return function(ee){return ee.position=new L(re),K(),ee}}function L(re){this.start=re,this.end={line:_,column:N},this.source=A.source}L.prototype.content=k;function z(re){var ee=new Error(A.source+":"+_+":"+N+": "+re);if(ee.reason=re,ee.filename=A.source,ee.line=_,ee.column=N,ee.source=k,!A.silent)throw ee}function $ (re){var ee=re.exec(k);if(ee){var M=ee[0];return D(M),k=k.slice(M.length),ee}}function K(){ $ (r)}function j(re){var ee;for(re=re||[];ee=q();)ee!==!1&&re.push(ee);return re}function q(){var re=F();if(!(f!=k.charAt(0)||h!=k.charAt(1))){for(var ee=2;m!=k.charAt(ee)&&(h!=k.charAt(ee)||f!=k.charAt(ee+1));)++ee;if(ee+=2,m===k.charAt(ee-1))return z("End of comment missing");var M=k.slice(2,ee-2);return N+=2,D(M),k=k.slice(ee),N+=2,re({type:v,comment:M})}}function X(){var re=F(),ee= $ (a);if(ee){if(q(),! $ (o))return z("property missing ':'");var M= $ (s),H=re({type:E,property:w(ee[0].replace(e,m)),value:M?w(M[0].replace(e,m)):m});return $ (u),H}}function ne(){var re=[];j(re);for(var ee;ee=X();)ee!==!1&&(re.push(ee),j(re));return re}return K(),ne()}function w(k){return k?k.replace(c,m):m}return Rf=x,Rf}var UA;function $ j(){if(UA)return zi;UA=1;var e=zi&&zi.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(zi,"__esModule",{value:!0}),zi.default=r;const t=e(Pj());function r(a,o){let s=null;if(!a||typeof a!="string")return s;const u=(0,t.default)(a),c=typeof o=="function";return u.forEach(p=>{if(p.type!=="declaration")return;const{property:f,value:h}=p;c?o(f,h,p):h&&(s=s||{},s[f]=h)}),s}return zi}var pl={},FA;function Gj(){if(FA)return pl;FA=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.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()},c=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,c):f=f.replace(a,c),f.replace(t,u))};return pl.camelCase=p,pl}var fl,BA;function Hj(){if(BA)return fl;BA=1;var e=fl&&fl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e( $ j()),r=Gj();function a(o,s){var u={};return!o||typeof o!="string"||(0,t.default)(o,function(c,p){c&&p&&(u[(0,r.camelCase)(c,s)]=p)}),u}return a.default=a,fl=a,fl}var Vj=Hj();const qj=ac(Vj),PN= $ N("end"),im= $ N("start");function $ N(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 Yj(e){const t=im(e),r=PN(e);if(t&&r)return{start:t,end:r}}function El(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?zA(e.position):"start"in e||"end"in e?zA(e):"line"in e||"column"in e?sg(e):""}function sg(e){return PA(e&&e.line)+":"+PA(e&&e.column)}function zA(e){return sg(e&&e.start)+"-"+sg(e&&e.end)}function PA(e){return e&&typeof e=="number"?e:1}class Ft 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 c=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=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=c?c.line:void 0,this.name=El(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}}Ft.prototype.file="";Ft.prototype.name="";Ft.prototype.reason="";Ft.prototype.message="";Ft.prototype.stack="";Ft.prototype.column=void 0;Ft.prototype.line=void 0;Ft.prototype.ancestors=void 0;Ft.prototype.cause=void 0;Ft.prototype.fatal=void 0;Ft.prototype.place=void 0;Ft.prototype.ruleId=void 0;Ft.prototype.source=void 0;const om={}.hasOwnProperty,Wj=new Map,Kj=/[A-Z]/g,Xj=new Set(["table","tbody","thead","tfoot","tr"]),Zj=new Set(["td","th"]),GN="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Qj(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected ` Fragment ` in options
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 oB(e){const a={constructs:WN([nB,...(e||{}).extensions||[]]),content:o(SU),defined:[],document:o(wU),flow:o(PF),lazy:{},string:o(HF),text:o(VF)};return a;function o(s){return u;function u(c){return rB(a,s,c)}}}function lB(e){for(;!JN(e););return e}const ZA=/[ \0 \t \n \r ]/g;function sB(){let e=1,t="",r=!0,a;return o;function o(s,u,c){const p=[];let f,h,m,v,E;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),m=0,t="",r&&(s.charCodeAt(0)===65279&&m++,r=void 0);m<s.length;){if(ZA.lastIndex=m,f=ZA.exec(s),v=f&&f.index!==void 0?f.index:s.length,E=s.charCodeAt(v),!f){t=s.slice(m);break}if(E===10&&m===v&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),m<v&&(p.push(s.slice(m,v)),e+=v-m),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}m=v+1}return c&&(a&&p.push(-5),t&&p.push(t),p.push(null)),p}}const uB=/ \\ ([!-/:-@[- ` { - ~ ] ) | & ( # ( ? : \ d { 1 , 7 } | x [ \ da - f ] { 1 , 6 } ) | [ \ da - z ] { 1 , 31 } ) ; / g i ; f u n c t i o n c B ( e ) { r e t u r n e . r e p l a c e ( u B , d B ) } f u n c t i o n d B ( 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 K N ( r . s l i c e ( s ? 2 : 1 ) , s ? 1 6 : 1 0 ) } r e t u r n N l ( r ) | | e } c o n s t i R = { } . h a s O w n P r o p e r t y ; f u n c t i o n p B ( 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 ) , f B ( r ) ( l B ( o B ( r ) . d o c u m e n t ( ) . w r i t e ( s B ( ) ( e , t , ! 0 ) ) ) ) } f u n c t i o n f B ( 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 ( Z a ) , a u t o l i n k P r o t o c o l : K , a u t o l i n k E m a i l : K , a t x H e a d i n g : s ( Y n ) , b l o c k Q u o t e : s ( k e ) , c h a r a c t e r E s c a p e : K , c h a r a c t e r R e f e r e n c e : K , c o d e F e n c e d : s ( I 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 ( I 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 : K , d a t a : K , c o d e F l o w V a l u e : K , 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 ( W n ) , h a r d B r e a k T r a i l i n g : s ( W n ) , h t m l F l o w : s ( I r , u ) , h t m l F l o w D a t a : K , h t m l T e x t : s ( I r , u ) , h t m l T e x t D a t a : K , i m a g e : s ( J l ) , l a b e l : u , l i n k : s ( Z a ) , l i s t I t e m : s ( b 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 ( Q a , m ) , l i s t U n o r d e r e d : s ( Q a ) , p a r a g r a p h : s ( Z c ) , r e f e r e n c e : C , 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 ( Y n ) , s t r o n g : s ( Q c ) , t h e m a t i c B r e a k : s ( J 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 : f e , a u t o l i n k P r o t o c o l : h 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 : j , 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 : a 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 : a e , c h a r a c t e r R e f e r e n c e V a l u e : u e , c h a r a c t e r R e f e r e n c e : i 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 : w , 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 : x , c o d e F l o w V a l u e : j , c o d e I n d e n t e d : p ( A ) , c o d e T e x t : p ( e e ) , c o d e T e x t D a t a : j , d a t a : j , 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 : D , 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 : N , 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 ( n e ) , h t m l F l o w D a t a : j , h t m l T e x t : p ( r e ) , h t m l T e x t D a t a : j , i m a g e : p ( H ) , l a b e l : d e , l a b e l T e x t : Q , l i n e E n d i n g : q , l i n k : p ( M ) , 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 : J , 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 : I , r e s o u r c e T i t l e S t r i n g : U , r e s o u r c e : B , s e t e x t H e a d i n g : 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 : z , s e t e x t H e a d i n g T e x t : L , s t r o n g : p ( ) , t h e m a t i c B r e a k : p ( ) } } ; o R ( 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 ( l e ) { l e t g e = { t y p e : " r o o t " , c h i l d r e n : [ ] } ; c o n s t _ e = { s t a c k : [ g e ] , t o k e n S t a c k : [ ] , c o n f i g : t , e n t e r : c , 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 < l e . l e n g t h ; ) i f ( l e [ W e ] [ 1 ] . t y p e = = = " l i s t O r d e r e d " | | l e [ W e ] [ 1 ] . t y p e = = = " l i s t U n o r d e r e d " ) i f ( l 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 a n = M e . p o p ( ) ; W e = o ( l e , a n , W e ) } f o r ( W e = - 1 ; + + W e < l e . l e n g t h ; ) { c o n s t a n = t [ l e [ W e ] [ 0 ] ] ; i R . c a l l ( a n , l e [ W e ] [ 1 ] . t y p e ) & & a n [ l 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 : l e [ W e ] [ 2 ] . s l i c e S e r i a l i z e } , _ e ) , l e [ W e ] [ 1 ] ) } i f ( _ e . t o k e n S t a c k . l e n g t h > 0 ) { c o n s t a n = _ e . t o k e n S t a c k [ _ e . t o k e n S t a c k . l e n g t h - 1 ] ; ( a n [ 1 ] | | Q A ) . c a l l ( _ e , v o i d 0 , a n [ 0 ] ) } f o r ( g e . p o s i t i o n = { s t a r t : i a ( l e . l e n g t h > 0 ? l 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 : i a ( l e . l e n g t h > 0 ? l e [ l 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 ; ) g e = t . t r a n s f o r m s [ W e ] ( g e ) | | g e ; r e t u r n g e } f u n c t i o n o ( l e , g e , _ e ) { l e t M e = g e - 1 , W e = - 1 , a n = ! 1 , l r , $ t , E t , q t ; f o r ( ; + + M e < = _ e ; ) { c o n s t t t = l 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 - - , q 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 " & & ( l r & & ! q t & & ! W e & & ! E t & & ( E t = M e ) , q 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 : q 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 ( l r ) { l e t O r = M e ; f o r ( $ t = v o i d 0 ; O r - - ; ) { c o n s t L n = l e [ O r ] ; i f ( L n [ 1 ] . t y p e = = = " l i n e E n d i n g " | | L n [ 1 ] . t y p e = = = " l i n e E n d i n g B l a n k " ) { i f ( L n [ 0 ] = = = " e x i t " ) c o n t i n u e ; $ t & & ( l e [ $ t ] [ 1 ] . t y p e = " l i n e E n d i n g B l a n k " , a n = ! 0 ) , L n [ 1 ] . t y p e = " l i n e E n d i n g " , $ t = O r } e l s e i f ( ! ( L n [ 1 ] . t y p e = = = " l i n e P r e f i x " | | L n [ 1 ] . t y p e = = = " b l o c k Q u o t e P r e f i x " | | L 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 p Line truncated
` }]}function yB(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 vB(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function EB(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function SB(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),o=ro(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let u,c=e.footnoteCounts.get(a);c===void 0?(c=0,e.footnoteOrder.push(a),u=e.footnoteOrder.length):u=s+1,c+=1,e.footnoteCounts.set(a,c);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(c>1?"-"+c:""),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 xB(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 wB(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function lR(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 TB(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return lR(e,t);const o={src:ro(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 AB(e,t){const r={src:ro(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 kB(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 _B(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return lR(e,t);const o={href:ro(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 NB(e,t){const r={href:ro(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 RB(e,t,r){const a=e.all(t),o=r?CB(r):sR(t),s={},u=[];if(typeof t.checked=="boolean"){const h=a[0];let m;h&&h.type==="element"&&h.tagName==="p"?m=h:(m={type:"element",tagName:"p",properties:{},children:[]},a.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<a.length;){const h=a[c];(o||c!==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 CB(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=sR(r[a])}return t}function sR(e){const t=e.spread;return t??e.children.length>1}function IB(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 OB(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function LB(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function DB(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function MB(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)},c=im(t.children[1]),p=PN(t.children[t.children.length-1]);c&&p&&(u.position={start:c,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 jB(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,c=u?u.length:t.children.length;let p=-1;const f=[];for(;++p<c;){const m=t.children[p],v={},E=u?u[p]:void 0;E&&(v.align=E);let x={type:"element",tagName:s,properties:v,children:[]};m&&(x.children=e.all(m),e.patch(m,x),x=e.applyData(m,x)),f.push(x)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,h),e.applyData(t,h)}function UB(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const JA=9,ek=32;function FB(e){const t=String(e),r=/ \r ? \n | \r /g;let a=r.exec(t),o=0;const s=[];for(;a;)s.push(tk(t.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(t);return s.push(tk(t.slice(o),o>0,!1)),s.join("")}function tk(e,t,r){let a=0,o=e.length;if(t){let s=e.codePointAt(a);for(;s===JA||s===ek;)a++,s=e.codePointAt(a)}if(r){let s=e.codePointAt(o-1);for(;s===JA||s===ek;)o--,s=e.codePointAt(o-1)}return o>a?e.slice(a,o):""}function BB(e,t){const r={type:"text",value:FB(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function zB(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const PB={blockquote:hB,break:bB,code:yB,delete:vB,emphasis:EB,footnoteReference:SB,heading:xB,html:wB,imageReference:TB,image:AB,inlineCode:kB,linkReference:_B,link:NB,listItem:RB,list:IB,paragraph:OB,root:LB,strong:DB,table:MB,tableCell:UB,tableRow:jB,text:BB,thematicBreak:zB,toml:wu,yaml:wu,definition:wu,footnoteDefinition:wu};function wu(){}const uR=-1,hc=0,xl=1,Yu=2,dm=3,pm=4,fm=5,gm=6,cR=7,dR=8,nk=typeof self=="object"?self:globalThis, $ B=(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 hc:case uR:return r(u,o);case xl:{const c=r([],o);for(const p of u)c.push(a(p));return c}case Yu:{const c=r({},o);for(const[p,f]of u)c[a(p)]=a(f);return c}case dm:return r(new Date(u),o);case pm:{const{source:c,flags:p}=u;return r(new RegExp(c,p),o)}case fm:{const c=r(new Map,o);for(const[p,f]of u)c.set(a(p),a(f));return c}case gm:{const c=r(new Set,o);for(const p of u)c.add(a(p));return c}case cR:{const{name:c,message:p}=u;return r(new nk[c](p),o)}case dR: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:c}=new Uint8Array(u);return r(new DataView(c),u)}}return r(new nk[s](u),o)};return a},rk=e=> $ B(new Map,e)(0),Pi="",{toString:GB}={},{keys:HB}=Object,ml=e=>{const t=typeof e;if(t!=="object"||!e)return[hc,t];const r=GB.call(e).slice(8,-1);switch(r){case"Array":return[xl,Pi];case"Object":return[Yu,Pi];case"Date":return[dm,Pi];case"RegExp":return[pm,Pi];case"Map":return[fm,Pi];case"Set":return[gm,Pi];case"DataView":return[xl,r]}return r.includes("Array")?[xl,r]:r.includes("Error")?[cR,r]:[Yu,r]},Tu=([e,t])=>e===hc&&(t==="function"||t==="symbol"),VB=(e,t,r,a)=>{const o=(u,c)=>{const p=a.push(u)-1;return r.set(c,p),p},s=u=>{if(r.has(u))return r.get(u);let[c,p]=ml(u);switch(c){case hc:{let h=u;switch(p){case"bigint":c=dR,h=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);h=null;break;case"undefined":return o([uR],u)}return o([c,h],u)}case xl:{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(c,!0)},{type:"text",value: `
` }]}}const bc=(function(e){if(e==null)return QB;if(typeof e=="function")return yc(e);if(typeof e=="object")return Array.isArray(e)?KB(e):XB(e);if(typeof e=="string")return ZB(e);throw new Error("Expected function, string, or object as test")});function KB(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=bc(e[r]);return yc(a);function a(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function XB(e){const t=e;return yc(r);function r(a){const o=a;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function ZB(e){return yc(t);function t(r){return r&&r.type===e}}function yc(e){return t;function t(r,a,o){return!!(JB(r)&&e.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function QB(){return!0}function JB(e){return e!==null&&typeof e=="object"&&"type"in e}const pR=[],ez=!0,dg=!1,tz="skip";function fR(e,t,r,a){let o;typeof t=="function"&&typeof r!="function"?(a=r,r=t):o=t;const s=bc(o),u=a?-1:1;c(e,void 0,[])();function c(p,f,h){const m=p&&typeof p=="object"?p:{};if(typeof m.type=="string"){const E=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(E?"<"+E+">":""))+")"})}return v;function v(){let E=pR,x,w,k;if((!t||s(p,f,h[h.length-1]||void 0))&&(E=nz(r(p,h)),E[0]===dg))return E;if("children"in p&&p.children){const A=p;if(A.children&&E[0]!==tz)for(w=(a?A.children.length:-1)+u,k=h.concat(A);w>-1&&w<A.children.length;){const _=A.children[w];if(x=c(_,w,k)(),x[0]===dg)return x;w=typeof x[1]=="number"?x[1]:w+u}}return E}}}function nz(e){return Array.isArray(e)?e:typeof e=="number"?[ez,e]:e==null?pR:[e]}function mm(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),fR(e,s,c,o);function c(p,f){const h=f[f.length-1],m=h?h.children.indexOf(p):void 0;return u(p,m,h)}}const pg={}.hasOwnProperty,rz={};function az(e,t){const r=t||rz,a=new Map,o=new Map,s=new Map,u={...PB,...r.handlers},c={all:f,applyData:oz,definitionById:a,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:u,one:p,options:r,patch:iz,wrap:sz};return mm(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const m=h.type==="definition"?a:o,v=String(h.identifier).toUpperCase();m.has(v)||m.set(v,h)}}),c;function p(h,m){const v=h.type,E=c.handlers[v];if(pg.call(c.handlers,v)&&E)return E(c,h,m);if(c.options.passThrough&&c.options.passThrough.includes(v)){if("children"in h){const{children:w,...k}=h,A=Wu(k);return A.children=c.all(h),A}return Wu(h)}return(c.options.unknownHandler||lz)(c,h,m)}function f(h){const m=[];if("children"in h){const v=h.children;let E=-1;for(;++E<v.length;){const x=c.one(v[E],h);if(x){if(E&&v[E-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=ik(x.value)),!Array.isArray(x)&&x.type==="element")){const w=x.children[0];w&&w.type==="text"&&(w.value=ik(w.value))}Array.isArray(x)?m.push(...x):m.push(x)}}}return m}}function iz(e,t){e.position&&(t.position=Yj(e))}function oz(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,Wu(s)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function lz(e,t){const r=t.data||{},a="value"in t&&!(pg.call(r,"hProperties")||pg.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 sz(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 ik(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function ok(e,t){const r=az(e,t),a=r.one(e,void 0),o=WB(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&s.children.push({type:"text",value: `
` },o),s}function uz(e,t){return e&&"run"in e?async function(r,a){const o=ok(r,{file:a,...t});await e.run(o,a)}:function(r,a){return ok(r,{file:a,...e||t})}}function lk(e){if(e)throw e}var Lf,sk;function cz(){if(sk)return Lf;sk=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"),m=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!h&&!m)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},c=function(f,h){if(h==="__proto__")if(e.call(f,h)){if(a)return a(f,h).value}else return;return f[h]};return Lf=function p(){var f,h,m,v,E,x,w=arguments[0],k=1,A=arguments.length,_=!1;for(typeof w=="boolean"&&(_=w,w=arguments[1]||{},k=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});k<A;++k)if(f=arguments[k],f!=null)for(h in f)m=c(w,h),v=c(f,h),w!==v&&(_&&v&&(s(v)||(E=o(v)))?(E?(E=!1,x=m&&o(m)?m:[]):x=m&&s(m)?m:{},u(w,{name:h,newValue:p(_,x,v)})):typeof v<"u"&&u(w,{name:h,newValue:v}));return w},Lf}var dz=cz();const Df=ac(dz);function fg(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 pz(){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);c(null,...o);function c(p,...f){const h=e[++s];let m=-1;if(p){u(p);return}for(;++m<o.length;)(f[m]===null||f[m]===void 0)&&(f[m]=o[m]);o=f,h?fz(h,c)(...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 fz(e,t){let r;return a;function a(...u){const c=e.length>u.length;let p;c&&u.push(o);try{p=e.apply(this,u)}catch(f){const h=f;if(c&&r)throw h;return o(h)}c||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(u,...c){r||(r=!0,t(u,...c))}function s(u){o(null,u)}}const Jn={basename:gz,dirname:mz,extname:hz,join:bz,sep:"/"};function gz(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Bl(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,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){r=o+1;break}}else u<0&&(s=!0,u=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(a=o):(c=-1,a=u));return r===a?a=u:a<0&&(a=e.length),e.slice(r,a)}function mz(e){if(Bl(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 hz(e){Bl(e);let t=e.length,r=-1,a=0,o=-1,s=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){a=t+1;break}continue}r<0&&(u=!0,r=t+1),c===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 bz(...e){let t=-1,r;for(;++t<e.length;)Bl(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":yz(r)}function yz(e){Bl(e);const t=e.codePointAt(0)===47;let r=vz(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function vz(e,t){let r="",a=0,o=-1,s=0,u=-1,c,p;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===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 c===46&&s>-1?s++:s=-1}return r}function Bl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Ez={cwd:Sz};function Sz(){return"/"}function gg(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function xz(e){if(typeof e=="string")e=new URL(e);else if(!gg(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 wz ( e ) } function wz ( e ) { if ( e . hostname !== "" ) { cons Line truncated
` :" ")+s.indentLines(s.containerFlow(a,c.current()),t?yR:pP))),f(),p}}function pP(e,t,r){return t===0?e:yR(e,t,r)}function yR(e,t,r){return(r?"":" ")+e}const fP=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];vR.peek=yP;function gP(){return{canContainEols:["delete"],enter:{strikethrough:hP},exit:{strikethrough:bP}}}function mP(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:fP}],handlers:{delete:vR}}}function hP(e){this.enter({type:"delete",children:[]},e)}function bP(e){this.exit(e)}function vR(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 yP(){return"~"}function vP(e){return e.length}function EP(e,t){const r=t||{},a=(r.align||[]).concat(),o=r.stringLength||vP,s=[],u=[],c=[],p=[];let f=0,h=-1;for(;++h<e.length;){const w=[],k=[];let A=-1;for(e[h].length>f&&(f=e[h].length);++A<e[h].length;){const _=SP(e[h][A]);if(r.alignDelimiters!==!1){const N=o(_);k[A]=N,(p[A]===void 0||N>p[A])&&(p[A]=N)}w.push(_)}u[h]=w,c[h]=k}let m=-1;if(typeof a=="object"&&"length"in a)for(;++m<f;)s[m]=mk(a[m]);else{const w=mk(a);for(;++m<f;)s[m]=w}m=-1;const v=[],E=[];for(;++m<f;){const w=s[m];let k="",A="";w===99?(k=":",A=":"):w===108?k=":":w===114&&(A=":");let _=r.alignDelimiters===!1?1:Math.max(1,p[m]-k.length-A.length);const N=k+"-".repeat(_)+A;r.alignDelimiters!==!1&&(_=k.length+_+A.length,_>p[m]&&(p[m]=_),E[m]=_),v[m]=N}u.splice(1,0,v),c.splice(1,0,E),h=-1;const x=[];for(;++h<u.length;){const w=u[h],k=c[h];m=-1;const A=[];for(;++m<f;){const _=w[m]||"";let N="",D="";if(r.alignDelimiters!==!1){const F=p[m]-(k[m]||0),L=s[m];L===114?N=" ".repeat(F):L===99?F%2?(N=" ".repeat(F/2+.5),D=" ".repeat(F/2-.5)):(N=" ".repeat(F/2),D=N):D=" ".repeat(F)}r.delimiterStart!==!1&&!m&&A.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&_==="")&&(r.delimiterStart!==!1||m)&&A.push(" "),r.alignDelimiters!==!1&&A.push(N),A.push(_),r.alignDelimiters!==!1&&A.push(D),r.padding!==!1&&A.push(" "),(r.delimiterEnd!==!1||m!==f-1)&&A.push("|")}x.push(r.delimiterEnd===!1?A.join("").replace(/ + $ /,""):A.join(""))}return x.join( `
` )}function SP(e){return e==null?"":String(e)}function mk(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 xP(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()),wP);return o(),u}function wP(e,t,r){return">"+(r?"":" ")+e}function TP(e,t){return hk(e,t.inConstruct,!0)&&!hk(e,t.notInConstruct,!1)}function hk(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 bk(e,t,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character=== `
` &&TP(r.stack,r.unsafe[o]))return/[ \t ]/.test(a.before)?"":" ";return ` \ \
` }function AP(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 kP(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 _P(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 NP(e,t,r,a){const o=_P(r),s=e.value||" ",u=o===" ` "?"GraveAccent":"Tilde";if(kP(e,r)){const m=r.enter("codeIndented"),v=r.indentLines(s,RP);return m(),v}const c=r.createTracker(a),p=o.repeat(Math.max(AP(s,o)+1,3)),f=r.enter("codeFenced");let h=c.move(p);if(e.lang){const m=r.enter( ` codeFencedLang$ { u } ` );h+=c.move(r.safe(e.lang,{before:h,after:" ",encode:[" ` "],...c.current()})),m()}if(e.lang&&e.meta){const m=r.enter(`codeFencedMeta${u}`);h+=c.move(" " ) , h += c . move ( r . safe ( e . meta , { before : h , after : `
` ,encode:[" ` " ] , ... c . current ( ) } ) ) , m ( ) } return h += c . move ( `
` ),s&&(h+=c.move(s+ `
` )),h+=c.move(p),f(),h}function RP(e,t,r){return(r?"":" ")+e}function bm(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 CP ( e , t , r , a ) { const o = bm ( r ) , s = o === '"' ? "Quote" : "Apostrophe" , u = r . enter ( "definition" ) ; let c = 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 ( "]: " ) , c ( ) , ! e . url || /[\0- \u007F]/ . test ( e . url ) ? ( c = r . enter ( "destinationLiteral" ) , f += p . move ( "<" ) , f += p . move ( r . safe ( e . url , { before : f , after : ">" , ... p . current ( ) } ) ) , f += p . move ( ">" ) ) : ( c = r . enter ( "destinationRaw" ) , f += p . move ( r . safe ( e . url , { before : f , after : e . title ? " " : `
` ,...p.current()}))),c(),e.title&&(c=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),c()),u(),f}function IP(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 Rl(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ku(e,t,r){const a=Qi(e),o=Qi(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}}ER.peek=OP;function ER(e,t,r,a){const o=IP(r),s=r.enter("emphasis"),u=r.createTracker(a),c=u.move(o);let p=u.move(r.containerPhrasing(e,{after:o,before:c,...u.current()}));const f=p.charCodeAt(0),h=Ku(a.before.charCodeAt(a.before.length-1),f,o);h.inside&&(p=Rl(f)+p.slice(1));const m=p.charCodeAt(p.length-1),v=Ku(a.after.charCodeAt(0),m,o);v.inside&&(p=p.slice(0,-1)+Rl(m));const E=u.move(o);return s(),r.attentionEncodeSurroundingInfo={after:v.outside,before:h.outside},c+p+E}function OP(e,t,r){return r.options.emphasis||"*"}function LP(e,t){let r=!1;return mm(e,function(a){if("value"in a&&/ \r ? \n | \r /.test(a.value)||a.type==="break")return r=!0,dg}),!!((!e.depth||e.depth<3)&&um(e)&&(t.options.setext||r))}function DP(e,t,r,a){const o=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(LP(e,r)){const h=r.enter("headingSetext"),m=r.enter("phrasing"),v=r.containerPhrasing(e,{...s.current(),before: `
` ,after: `
` });return m(),h(),v+ `
` +(o===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf(" \r "),v.lastIndexOf( `
` ))+1))}const u="#".repeat(o),c=r.enter("headingAtx"),p=r.enter("phrasing");s.move(u+" ");let f=r.containerPhrasing(e,{before:"# ",after: `
` ,...s.current()});return/^[ \t ]/.test(f)&&(f=Rl(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),p(),c(),f}SR.peek=MP;function SR(e){return e.value||""}function MP(){return"<"}xR.peek=jP;function xR(e,t,r,a){const o=bm(r),s=o==='"'?"Quote":"Apostrophe",u=r.enter("image");let c=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("]("),c(),!e.url&&e.title||/[ \0 - \u 007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(r.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(c=r.enter("destinationRaw"),f+=p.move(r.safe(e.url,{before:f,after:e.title?" ":")",...p.current()}))),c(),e.title&&(c=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),c()),f+=p.move(")"),u(),f}function jP(){return"!"}wR.peek=UP;function wR(e,t,r,a){const o=e.referenceType,s=r.enter("imageReference");let u=r.enter("label");const c=r.createTracker(a);let p=c.move("![");const f=r.safe(e.alt,{before:p,after:"]",...c.current()});p+=c.move(f+"]["),u();const h=r.stack;r.stack=[],u=r.enter("reference");const m=r.safe(r.associationId(e),{before:p,after:"]",...c.current()});return u(),r.stack=h,s(),o==="full"||!f||f!==m?p+=c.move(m+"]"):o==="shortcut"?p=p.slice(0,-1):p+=c.move("]"),p}function UP(){return"!"}TR.peek=FP;function TR(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],c=r.compilePattern(u);let p;if(u.atBreak)for(;p=c.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 FP(){return" ` "}function AR(e,t){const r=um(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))}kR.peek=BP;function kR(e,t,r,a){const o=bm(r),s=o==='" ' ? "Quote" : "Apostrophe" , u = r . createTracker ( a ) ; let c , p ; if ( AR ( e , r ) ) { const h = r . stack ; r . stack = [ ] , c = r . enter ( "autolink" ) ; let m = u . move ( "<" ) ; return m += u . move ( r . containerPhrasing ( e , { before : m , after : ">" , ... u . current ( ) } ) ) , m += u . move ( ">" ) , c ( ) , r . stack = h , m } c = 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 ( ")" ) , c ( ) , f } function BP ( e , t , r ) { return AR ( e , r ) ? "<" : "[" } _R . peek = zP ; function _R ( e , t , r , a ) { const o = e . referenceType , s = r . enter ( "linkReference" ) ; let u = r . enter ( "label" ) ; const c = r . createTracker ( a ) ; let p = c . move ( "[" ) ; const f = r . containerPhrasing ( e , { before : p , after : "]" , ... c . current ( ) } ) ; p += c . move ( f + "][" ) , u ( ) ; const h = r . stack ; r . stack = [ ] , u = r . enter ( "reference" ) ; const m = r . safe ( r . associationId ( e ) , { before : p , after : "]" , ... c . current ( ) } ) ; return u ( ) , r . stack = h , s ( ) , o === "full" || ! f || f !== m ? p += c . move ( m + "]" ) : o === "shortcut" ? p = p . slice ( 0 , - 1 ) : p += c . move ( "]" ) , p } function zP ( ) { return "[" } function ym ( 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 PP ( e ) { const t = ym ( 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 $P ( 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 NR ( 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 GP ( e , t , r , a ) { const o = r . enter ( "list" ) , s = r . bulletCurrent ; let u = e . ordered ? $P ( r ) : ym ( r ) ; const c = e . ordered ? u === "." ? ")" : "." : PP ( 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 ) , NR ( r ) === u && h ) { let m = - 1 ; for ( ; ++ m < 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:c}};function u(E,x,w,k){return f(h(E,w,k),E.align)}function c(E,x,w,k){const A=m(E,w,k),_=f([A]);return _.slice(0,_.indexOf( `
` ))}function p(E,x,w,k){const A=w.enter("tableCell"),_=w.enter("phrasing"),N=w.containerPhrasing(E,{...k,before:s,after:s});return _(),A(),N}function f(E,x){return EP(E,{align:x,alignDelimiters:a,padding:r,stringLength:o})}function h(E,x,w){const k=E.children;let A=-1;const _=[],N=x.enter("table");for(;++A<k.length;)_[A]=m(k[A],x,w);return N(),_}function m(E,x,w){const k=E.children;let A=-1;const _=[],N=x.enter("tableRow");for(;++A<k.length;)_[A]=p(k[A],E,x,w);return N(),_}function v(E,x,w){let k=CR.inlineCode(E,x,w);return w.stack.includes("tableCell")&&(k=k.replace(/ \| /g," \\ $ &")),k}}function l $ (){return{exit:{taskListCheckValueChecked:vk,taskListCheckValueUnchecked:vk,paragraph:u $ }}}function s $ (){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:c $ }}}function vk(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function u $ (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 c=o[s];if(c.type==="paragraph"){u=c;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 c $ (e,t,r,a){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=r.createTracker(a);s&&c.move(u);let p=CR.listItem(e,t,r,{...a,...c.current()});return s&&(p=p.replace(/^(?:[*+-]| \d + \. )([ \r \n ]| {1,3})/,f)),p;function f(h){return h+u}}function d $ (){return[Gz(),cP(),gP(),e $ (),l $ ()]}function p $ (e){return{extensions:[Hz(),dP(e),mP(),o $ (e),s $ ()]}}const f $ ={tokenize:v $ ,partial:!0},IR={tokenize:E $ ,partial:!0},OR={tokenize:S $ ,partial:!0},LR={tokenize:x $ ,partial:!0},g $ ={tokenize:w $ ,partial:!0},DR={name:"wwwAutolink",tokenize:b $ ,previous:jR},MR={name:"protocolAutolink",tokenize:y $ ,previous:UR},Rr={name:"emailAutolink",tokenize:h $ ,previous:FR},ar={};function m $ (){return{text:ar}}let ja=48;for(;ja<123;)ar[ja]=Rr,ja++,ja===58?ja=65:ja===91&&(ja=97);ar[43]=Rr;ar[45]=Rr;ar[46]=Rr;ar[95]=Rr;ar[72]=[Rr,MR];ar[104]=[Rr,MR];ar[87]=[Rr,DR];ar[119]=[Rr,DR];function h $ (e,t,r){const a=this;let o,s;return u;function u(m){return!mg(m)||!FR.call(a,a.previous)||vm(a.events)?r(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(m))}function c(m){return mg(m)?(e.consume(m),c):m===64?(e.consume(m),p):r(m)}function p(m){return m===46?e.check(g $ ,h,f)(m):m===45||m===95||Mt(m)?(s=!0,e.consume(m),p):h(m)}function f(m){return e.consume(m),o=!0,p}function h(m){return s&&o&&Vt(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):r(m)}}function b $ (e,t,r){const a=this;return o;function o(u){return u!==87&&u!==119||!jR.call(a,a.previous)||vm(a.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(f $ ,e.attempt(IR,e.attempt(OR,s),r),r)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function y $ (e,t,r){const a=this;let o="",s=!1;return u;function u(m){return(m===72||m===104)&&UR.call(a,a.previous)&&!vm(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(m),e.consume(m),c):r(m)}function c(m){if(Vt(m)&&o.length<5)return o+=String.fromCodePoint(m),e.consume(m),c;if(m===58){const v=o.toLowerCase();if(v==="http"||v==="https")return e.consume(m),p}return r(m)}function p(m){return m===47?(e.consume(m),s?f:(s=!0,p)):r(m)}function f(m){return m===null||qu(m)||rt(m)|| $ a(m)||gc(m)?r(m):e.attempt(IR,e.attempt(OR,h),r)(m)}function h(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function v $ (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 E $ (e,t,r){let a,o,s;return u;function u(f){return f===46||f===95?e.check(LR,p,c)(f):f===null||rt(f)|| $ a(f)||f!==45&&gc(f)?p(f):(s=!0,e.consume(f),u)}function c(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 S $ (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(LR,t,s)(u):u===null||rt(u)|| $ a(u)?t(u):(e.consume(u),o)}function s(u){return u===41&&a++,e.consume(u),o}}function x $ (e,t,r){return a;function a(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),a):c===38?(e.consume(c),s):c===93?(e.consume(c),o):c===60||c===null||rt(c)|| $ a(c)?t(c):r(c)}function o(c){return c===null||c===40||c===91||rt(c)|| $ a(c)?t(c):a(c)}function s(c){return Vt(c)?u(c):r(c)}function u(c){re
Line truncated
` ),r=[];let a=0;for(;a<t.length;){const o=t[a].match(/^=== \s +"([^"]+)" \s * $ /);if(!o){r.push(t[a]),a++;continue}const s=o[1];for(a++;a<t.length&&t[a].trim()==="";)a++;const u=[];for(;a<t.length&&!(/^=== \s +"[^"]+" \s * $ /.test(t[a])||t[a].trim()===""&&a+1<t.length&&/^=== \s +"[^"]+" \s * $ /.test(t[a+1]));){if(t[a].startsWith(" ")||t[a].trimStart().startsWith(" ` ` ` ")){u.push(t[a].replace(/^ /," ")),a++;continue}if(u.length>0&&t[a].trim()===" "){u.push(" "),a++;continue}break}r.push(`### ${zR}${s}`),r.push(" "),r.push(...u),r.push(" " ) } return r . join ( `
` )}function X $ (e){let t=W $ (e);return t=Y $ (t),t=K $ (t),t}function Sk(e){return e.startsWith(zR)||e.startsWith("tab:")}function Z $ (e){return e.replace(/^ \u 200Btab:/,"").replace(/^tab:/,"")}function Q $ (e){const t=new Set;e.matches("article.prose, main .prose, .prose, main.flex-1, #main-content")&&t.add(e),e.querySelectorAll("article.prose, main .prose, .prose").forEach(r=>t.add(r));for(const r of t)J $ (r),e3(r),t3(r)}function J $ (e){for(const t of e.querySelectorAll("p")){const r=t.textContent?.trim()??"";(/^< \/ ?div[ \s >]/.test(r)||r==="</div>")&&t.remove()}}function e3(e){for(const t of e.querySelectorAll("ul")){if(t.classList.contains("aiui-feature-grid"))continue;const r=t.querySelector("li");if(r?.textContent?.includes("YAML-Driven")||r?.textContent?.includes("Component Slots")||r?.querySelector("strong")){t.classList.add("aiui-feature-grid","grid","grid-cols-1","md:grid-cols-2","gap-4","my-6","list-none","pl-0");for(const o of t.querySelectorAll("li"))o.classList.add("border","border-border","rounded-lg","p-4","bg-card")}}}function t3(e){if(e.querySelector("[data-aiui-tabs]"))return;const t=Array.from(e.querySelectorAll("h3")).filter(c=>Sk(c.textContent?.trim()??""));if(t.length<2)return;const r=t.map(c=>{const p=Z $ (c.textContent?.trim()??""),f=[];let h=c.nextSibling;for(;h;){if(h.nodeType===Node.ELEMENT_NODE){const v=h;if(v.tagName==="H3"&&Sk(v.textContent?.trim()??"")||["H1","H2"].includes(v.tagName))break}const m=h.nextSibling;f.push(h),h=m}return{heading:c,title:p,nodes:f}}),a=document.createElement("div");a.className="aiui-tabs my-6 border border-border rounded-lg overflow-hidden",a.dataset.aiuiTabs="true";const o=document.createElement("div");o.className="aiui-tab-buttons flex flex-wrap gap-0 border-b border-border bg-muted/30",a.appendChild(o);const s=document.createElement("div");s.className="aiui-tab-panels",a.appendChild(s),r.forEach((c,p)=>{const f=document.createElement("button");f.type="button",f.className=["aiui-tab-button px-4 py-2 text-sm font-medium transition-colors",p===0?"bg-background text-foreground border-b-2 border-primary":"text-muted-foreground hover:text-foreground"].join(" "),f.textContent=c.title,f.dataset.tabIndex=String(p),o.appendChild(f);const h=document.createElement("div");h.className=p===0?"aiui-tab-panel p-4 block":"aiui-tab-panel p-4 hidden",h.dataset.tabPanel=String(p);for(const m of c.nodes)h.appendChild(m);s.appendChild(h)});const u=r[0].heading;e.insertBefore(a,u);for(const c of r)c.heading.remove();o.addEventListener("click",c=>{const p=c.target.closest(".aiui-tab-button");if(!p)return;const f=p.dataset.tabIndex??"0";for(const h of o.querySelectorAll(".aiui-tab-button")){const m=h.dataset.tabIndex===f;h.classList.toggle("bg-background",m),h.classList.toggle("text-foreground",m),h.classList.toggle("border-b-2",m),h.classList.toggle("border-primary",m),h.classList.toggle("text-muted-foreground",!m)}for(const h of s.querySelectorAll(".aiui-tab-panel"))h.classList.toggle("hidden",h.dataset.tabPanel!==f),h.classList.toggle("block",h.dataset.tabPanel===f)})}function n3(e){return e.toLowerCase().replace(/[^ \w \s -]/g,"").replace(/ \s +/g,"-").replace(/-+/g,"-").replace(/^-|- $ /g,"")}function Rn({className:e,...t}){return g.jsx("div",{"data-slot":"card",className:me("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function zn({className:e,...t}){return g.jsx("div",{"data-slot":"card-header",className:me("@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 Pn({className:e,...t}){return g.jsx("div",{"data-slot":"card-title",className:me("leading-none font-semibold",e),...t})}function Em({className:e,...t}){return g.jsx("div",{"data-slot":"card-description",className:me("text-muted-foreground text-sm",e),...t})}function Cn({className:e,...t}){return g.jsx("div",{"data-slot":"card-content",className:me("px-6",e),...t})}function r3({className:e,...t}){return g.jsx("div",{"data-slot":"card-footer",className:me("flex items-center px-6 [.border-t]:pt-6",e),...t})}function a3({props:e}){const t=e?.title||"Statistics",r=e?.value||"0",a=e?.change||"",o=e?.changeType||"positive";return g.jsxs(Rn,{className:"mb-4",children:[g.jsxs(zn,{className:"pb-2",children:[g.jsx(Em,{children:t}),g.jsx(Pn,{className:"text-2xl",children:r})]}),a&&g.jsx(Cn,{className:"pt-0",children:g.jsx("span",{className:o==="positive"?"text-green-500 text-sm":"text-red-500 text-sm",children:a})})]})}function i3({props:e}){const t=e?.title||"Quick Links",r=e?.links||[];return g.jsxs(Rn,{className:"mb-4",children:[g.jsx(zn,{className:"pb-2",children:g.jsx(Pn,{className:"text-sm font-medium",children:t})}),g.jsx(Cn,{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 o3({props:e}){const t=e?.title||"Newsletter",r=e?.buttonT
Line truncated
` )===-1?g.jsx("code",{className:"bg-primary/10 text-primary px-1.5 py-0.5 rounded text-sm font-mono",children:v}):g.jsx("code",{className: ` block font - mono text - foreground $ { m ? ? "" } ` ,children:v}),pre:({children:m})=>g.jsx("pre",{className:"bg-muted text-foreground border border-border p-4 rounded-lg text-sm overflow-auto my-4 font-mono whitespace-pre",children:m}),table:({children:m})=>g.jsx("div",{className:"overflow-auto my-4",children:g.jsx("table",{className:"w-full border-collapse text-sm",children:m})}),thead:({children:m})=>g.jsx("thead",{className:"bg-muted/50",children:m}),tr:({children:m})=>g.jsx("tr",{className:"border-b",children:m}),th:({children:m})=>g.jsx("th",{className:"px-4 py-2 text-left font-medium",children:m}),td:({children:m})=>g.jsx("td",{className:"px-4 py-2 text-muted-foreground",children:m}),hr:()=>g.jsx("hr",{className:"my-6 border-border"}),strong:({children:m})=>g.jsx("strong",{className:"font-semibold text-foreground",children:m}),em:({children:m})=>g.jsx("em",{children:m})};return r?g.jsxs("main",{id:"main-content",className:"flex-1 p-8 max-w-3xl",children:[g.jsx(h3,{selectedItem:r}),s?g.jsx("div",{className:"text-muted-foreground",children:"Loading content..."}):a?g.jsx("article",{ref:c,className:"prose prose-neutral dark:prose-invert max-w-none prose-pre:bg-muted prose-pre:text-foreground prose-code:text-foreground",children:g.jsx(mR,{remarkPlugins:[BR],components:h,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(qi,{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:"bg-muted text-foreground border border-border p-3 rounded-lg text-sm overflow-auto",children: ` site :
theme :
preset : "${p?.preset||" zinc "}"
radius : "${p?.radius||" md "}"
darkMode : $ { p ? . 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(BL).map(m=>g.jsx("span",{className: ` px - 3 py - 1 rounded - full text - sm $ { m === ( p ? . preset || "zinc" ) ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground" } ` ,children:m},m))}),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 text-foreground border border-border p-4 rounded-lg text-sm overflow-auto",children:JSON.stringify(t.routes?.slice(0,3),null,2)})]})}function _u({config:e,templateKey:t="docs"}){const r=e.templates?.[t]?.slots?.footer,a=r?.ref,s=(a?e.components?.[a]:e.components?.footer)?.props||r?.props;return g.jsx("footer",{className:"border-t border-border/50 py-8 px-6 bg-muted/20",children:g.jsxs("div",{className:"max-w-screen-2xl mx-auto flex flex-col sm:flex-row justify-between items-center gap-4 text-sm text-muted-foreground",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("div",{className:"w-5 h-5 rounded bg-gradient-to-br from-primary/60 to-primary flex items-center justify-center",children:g.jsx("span",{className:"text-primary-foreground text-[8px] font-bold",children:"AI"})}),g.jsx("span",{children:s?.text|| ` © $ { new Date ( ) . getFullYear ( ) } PraisonAIUI ` })]}),g.jsx("nav",{className:"flex items-center gap-6",children:s?.links?.map(u=>g.jsx("a",{href:u.href,className:"hover:text-foreground transition-colors",children:u.label},u.href))})]})})}const b3=()=>({taskLists:[],collapsed:!1}),Bn=new Map,hg=100,y3=1440*60*1e3;function v3(){const e=Date.now(),t=Array.from(Bn.entries());for(const[r,a]of t)e-a.lastAccessed>y3&&Bn.delete(r);if(Bn.size>hg){const r=Array.from(Bn.entries()).sort(([,o],[,s])=>o.lastAccessed-s.lastAccessed),a=Bn.size-hg;for(let o=0;o<a;o++)Bn.delete(r[o][0])}}function bg(e){if(!Bn.has(e))Bn.size>=hg&&v3(),Bn.set(e,{state:b3(),listeners:new Set,lastAccessed:Date.now()});else{const t=Bn.get(e);t.lastAccessed=Date.now()}return Bn.get(e)}function Sm(e,t){const r=bg(e),a=t(r.state);r.state=a,r.listeners.forEach(o=>o())}function E3(e,t){Sm(e,r=>{const a=r.taskLists.filter(s=>s.id!==t.task_list_id),o={id:t.task_list_id,name:t.name,tasks:t.tasks,stats:GR(t.tasks),sequence:t.sequence,created_at:t.timestamp,updated_at:t.timestamp};return{...r,taskLists:[...a,o],collapsed:r.taskLists.length===0?t.tasks.length<=1:r.collapsed}})}function S3(e,t){Sm(e,r=>{const a=r.taskLists.map(o=>o.id===t.task_list_id?{...o,tasks:t.tasks,stats:GR(t.tasks),sequence:t.sequence,updated_at:t.timestamp}:o);return{...r,taskLists:a}})}function GR(e){return e.reduce((t,r)=>(t.total+=1,t[r.status.toLowerCase()]+=1,t),{total:0,ready:0,running:0,done:0,failed:0})}function x3(e,t){Sm(e,r=>({...r,collapsed:t}))}function w3(e){const[,t]=S.useState({});return S.useEffect(()=>{const r=bg(e),a=()=>t({});return r.listeners.add(a),()=>{r.listeners.delete(a)}},[e]),bg(e).state}function T3(e,t){return t.type==="task_list.init"?(E3(e,t),!0):t.type==="task_list.update"?(S3(e,t),!0):!1}const HR=()=>({isStreaming:!1,currentResponse:"",toolCalls:[],thinkingSteps:[],pendingElements:[]}),za=new Map;function vc(e){return za.has(e)||za.set(e,{state:HR(),listeners:new Set,abortController:null,toolCallMap:new Map}),za.get(e)}function Nu(e){return e?vc(e).state:HR()}function A3(e,t){const r=vc(e);return r.listeners.add(t),()=>r.listeners.delete(t)}function _n(e,t){const r=vc(e);r.state={...r.state,...t},r.listeners.forEach(a=>a())}async function k3(e){const t=za.get(e);if(t){t.abortController?.abort(),t.abortController=null,_n(e,{isStreaming:!1});try{await fetch("/cancel",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:e})})}catch{}}}function _3(e,t,r,a){const o=vc(e);if(o.state.isStreaming)return;_n(e,{isStreaming:!0,currentResponse:"",toolCalls:[],thinkingSteps:[],pendingElements:[]}),o.toolCallMap=new Map;const s=new AbortController;o.abortController=s,N3(e,t,r,s,a)}async function N3(e,t,r,a,o){try{const s=await fetch("/run",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:t,session_id:e,agent:r}),signal:a.signal});if(!s.ok)throw new Error( ` HTTP $ { s . status } ` );const u=s.body?.getReader();if(!u)throw new Error("No response body");const c=new TextDecoder;let p="";for(;;){const{done:f,value:h}=await u.read();if(f)break;p+=c.decode(h,{stream:!0});const m=p.split( `
` );p=m.pop()||"";for(const v of m)if(v.startsWith("data: "))try{const E=JSON.parse(v.slice(6));R3(e,E,o)}catch{}}}catch(s){if(s.name!=="AbortError"){const u=za.get(e);u&&_n(e,{thinkingSteps:[...u.state.thinkingSteps, ` Error : $ { s . message } ` ]})}}finally{const s=za.get(e);s&&(s.abortController=null),_n(e,{isStreaming:!1}),o?.onEnd?.()}}function R3(e,t,r){const a=za.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&&_n(e,{currentResponse:a.state.currentResponse+u});break}case"message":case"run_completed":case"team_run_completed":{const u=t.content;u&&_n(e,{currentResponse:u});break}case"thinking":case"reasoning_step":case"team_reasoning_step":{const u=t.step;u&&_n(e,{thinkingSteps:[...a.state.thinkingSteps,u]});break}case"reasoning_started":case"team_reasoning_started":_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 c=wk(a.state.toolCalls,u);_n(e,{toolCalls:c});break}case"tool_call_completed":case"team_tool_call_completed":{const u=t.extra_data,c=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:c?.length?{messages:c,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=wk(a.state.toolCalls,f),m=p?.length?[...a.state.pendingElements,...p]:a.state.pendingElements;_n(e,{toolCalls:h,pendingElements:m});break}case"message_element":{const u=t.extra_data,c=t.element??u?.element;c&&_n(e,{pendingElements:[...a.state.pendingElements,c]});break}case"error":case"run_error":case"team_run_error":{const u=t.error;u&&_n(e,{thinkingSteps:[...a.state.thinkingSteps, ` Error : $ { u } ` ]});break}case"approval_required":case"approval_pending":case"run_paused":{const u=t.extra_data;if(u?.type==="approval_required"){const c=u;window.dispatchEvent(new CustomEvent("aiui:approval-required",{detail:c}))}break}case"end":case"done":case"run_cancelled":case"team_run_cancelled":break;default:T3(e,t);break}}function wk(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 VR(e={}){const{externalSessionId:t}=e,[r,a]=S.useState(()=>Nu(t));S.useEffect(()=>{if(!t){a(Nu(null));return}return a(Nu(t)),A3(t,()=>{a(Nu(t))})},[t]);const o=S.useCallback((u,c)=>{const p=t?? ` new - $ { Date . now ( ) } ` ;_3(p,u,c,{onSessionId:f=>{e.onSessionId?.(f)},onEnd:e.onEnd})},[t,e.onSessionId,e.onEnd]),s=S.useCallback(()=>{t&&k3(t)},[t]);return{isStreaming:r.isStreaming,currentResponse:r.currentResponse,toolCalls:r.toolCalls,thinkingSteps:r.thinkingSteps,pendingElements:r.pendingElements,sendMessage:o,cancel:s}}function C3(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 I3(e,t){if(e==null)return{};var r,a,o=C3(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 yg(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 O3(e){if(Array.isArray(e))return yg(e)}function L3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D3(e,t){if(e){if(typeof e=="string")return yg(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)?yg(e,t):void 0}}function M3(){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 vg(e){return O3(e)||L3(e)||D3(e)||M3()}function Cl(e){"@babel/helpers - typeof";return Cl=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},Cl(e)}function j3(e,t){if(Cl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t);if(Cl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function U3(e){var t=j3(e,"string");return Cl(t)=="symbol"?t:t+""}function qR(e,t,r){return(t=U3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eg(){return Eg=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},Eg.apply(null,arguments)}function Tk(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 Yi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tk(Object(r),!0).forEach(function(a){qR(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tk(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function F3(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 Y3(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,c=e.startingLineNumber;return Ke.createElement("code",{style:Object.assign({},r,o)},q3({lines:t.replace(/ \n $ /,"").split( `
` ),style:u,startingLineNumber:c}))}function W3(e){return"".concat(e.toString().length,".25em")}function WR(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 KR(e,t,r){var a={display:"inline-block",minWidth:W3(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,s=la(la({},a),o);return s}function Uu(e){var t=e.children,r=e.lineNumber,a=e.lineNumberStyle,o=e.largestLineNumber,s=e.showInlineLineNumbers,u=e.lineProps,c=u===void 0?{}:u,p=e.className,f=p===void 0?[]:p,h=e.showLineNumbers,m=e.wrapLongLines,v=e.wrapLines,E=v===void 0?!1:v,x=E?la({},typeof c=="function"?c(r):c):{};if(x.className=x.className?[].concat(vg(x.className.trim().split(/ \s +/)),vg(f)):f,r&&s){var w=KR(a,r,o);t.unshift(WR(r,w))}return m&h&&(x.style=la({display:"flex"},x.style)),{type:"element",tagName:"span",properties:x,children:t}}function XR(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(Uu({children:[o],className:vg(new Set(t))}));else if(o.children){var s,u=t.concat(((s=o.properties)===null||s===void 0?void 0:s.className)||[]);XR(o.children,u).forEach(function(c){return r.push(c)})}}return r}function K3(e,t,r,a,o,s,u,c,p){var f,h=XR(e.value),m=[],v=-1,E=0;function x(F,L){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Uu({children:F,lineNumber:L,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:o,lineProps:r,className:z,showLineNumbers:a,wrapLongLines:p,wrapLines:t})}function w(F,L){if(a&&L&&o){var z=KR(c,L,u);F.unshift(WR(L,z))}return F}function k(F,L){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||z.length>0?x(F,L,z):w(F,L)}for(var A=function(){var L=h[E],z=L.children[0].value, $ =V3(z);if( $ ){var K=z.split( `
` );K.forEach(function(j,q){var X=a&&m.length+s,ne={type:"text",value:"".concat(j, `
` )};if(q===0){var re=h.slice(v+1,E).concat(Uu({children:[ne],className:L.properties.className})),ee=k(re,X);m.push(ee)}else if(q===K.length-1){var M=h[E+1]&&h[E+1].children&&h[E+1].children[0],H={type:"text",value:"".concat(j)};if(M){var Q=Uu({children:[H],className:L.properties.className});h.splice(E+1,0,Q)}else{var de=[H],I=k(de,X,L.properties.className);m.push(I)}}else{var U=[ne],B=k(U,X,L.properties.className);m.push(B)}}),v=E}E++};E<h.length;)A();if(v!==h.length-1){var _=h.slice(v+1,h.length);if(_&&_.length){var N=a&&m.length+s,D=k(_,N);m.push(D)}}return t?m:(f=[]).concat.apply(f,m)}function X3(e){var t=e.rows,r=e.stylesheet,a=e.useInlineStyles;return t.map(function(o,s){return YR({node:o,stylesheet:r,useInlineStyles:a,key:"code-segment-".concat(s)})})}function ZR(e){return e&&typeof e.highlightAuto<"u"}function Z3(e){var t=e.astGenerator,r=e.language,a=e.code,o=e.defaultCodeValue;if(ZR(t)){var s= $ 3(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 Q3(e,t){return function(a){var o,s,u=a.language,c=a.children,p=a.style,f=p===void 0?t:p,h=a.customStyle,m=h===void 0?{}:h,v=a.codeTagProps,E=v===void 0?{className:u?"language-".concat(u):void 0,style:la(la({},f['code[class*="language-"]']),f['code[class*="language-'.concat(u,'"]')])}:v,x=a.useInlineStyles,w=x===void 0?!0:x,k=a.showLineNumbers,A=k===void 0?!1:k,_=a.showInlineLineNumbers,N=_===void 0?!0:_,D=a.startingLineNumber,F=D===void 0?1:D,L=a.lineNumberContainerStyle,z=a.lineNumberStyle, $ =z===void 0?{}:z,K=a.wrapLines,j=a.wrapLongLines,q=j===void 0?!1:j,X=a.lineProps,ne=X===void 0?{}:X,re=a.renderer,ee=a.PreTag,M=ee===void 0?"pre":ee,H=a.CodeTag,Q=H===void 0?"code":H,de=a.code,I=de===void 0?(Array.isArray(c)?c[0]:c)||"":de,U=a.astGenerator,B=I3(a,G3);U=U||e;var C=A?Ke.createElement(Y3,{containerStyle:L,codeStyle:E.style||{},numberStyle: $ ,startingLineNumber:F,codeString:I}):null,J=f.hljs||f['pre[class*="language-"]']||{backgroundColor:"#fff"},ae=ZR(U)?"hljs":"prismjs",ue=w?Object.assign({},B,{style:Object.assign({},J,m)}):Object.assign({},B,{className:B.className?"".concat(ae," ").concat(B.className):ae,style:Object.assign({},m)});if(q?E.style=la({whiteSpace:"pre-wrap"},E.style):E.style=la({whiteSpace:"pre"},E.style),!U)return Ke.createElement(M,ue,C,Ke.createElement(Q,E,I));(K===void 0&&re||q)&&(K=!0),re=re||X3;var ie=[{type:"text",value:I}],he=Z3({astGenerator:U,language:u,code:I,defaultCodeValue:ie});he.language===null&&(he.value=ie);var fe=(o=(s=I.match(/ \n /g))===null||s===void 0?void 0:s.length)!==null&&o!==void 0?o:0,ke=F+fe,Ie=K3(he,K,ne,A,N,F,ke, $ ,q);return Ke.createElement(M,ue,Ke.createElement(Q,E,!N&&C,re({rows:Ie,stylesheet:f,useInlineStyles:w})))}}const J3="modulepreload",e4=function(e){return"/"+e},_k={},Nk=function(t,r,a){let o=Promise.resolve();if(r&&r.length>0){let p=function(f){return Promise.all(f.map(h=>Promise.resolve(h).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=p(r.map(f=>{if(f=e4(f),f in _k)return;_k[f]=!0;const h=f.endsWith(".css"),m=h?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${f}" ] $ { m } ` ))return;const v=document.createElement("link");if(v.rel=h?"stylesheet":J3,h||(v.as="script"),v.crossOrigin="",v.href=f,c&&v.setAttribute("nonce",c),document.head.appendChild(v),h)return new Promise((E,x)=>{v.addEventListener("load",E),v.addEventListener("error",()=>x(new Error( ` Unable to preload CSS for $ { f } ` )))})}))}function s(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},t4=["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","java","java
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)}zt.displayName="markup-templating";zt.aliases=[];function zt(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 c=a.tokenStack=[];a.code=a.code.replace(s,function(p){if(typeof u=="function"&&!u(p))return p;for(var f=c.length,h;a.code.indexOf(h=r(o,f))!==-1;)++f;return c[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 c(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 m=u[s],v=a.tokenStack[m],E=typeof h=="string"?h:h.content,x=r(o,m),w=E.indexOf(x);if(w>-1){++s;var k=E.substring(0,w),A=new t.Token(o,t.tokenize(v,a.grammar),"language-"+o,v),_=E.substring(w+x.length),N=[];k&&N.push.apply(N,c([k])),N.push(A),_&&N.push.apply(N,c([_])),typeof h=="string"?p.splice.apply(p,[f,1].concat(N)):h.content=N}}else h.content&&c(h.content)}return p}c(a.tokens)}}})})(e)}Ih.displayName="django";Ih.aliases=["jinja2"];function Ih(e){e.register(zt),(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)}Oh.displayName="dns-zone-file";Oh.aliases=["dns-zone"];function Oh(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"]}Lh.displayName="docker";Lh.aliases=["dockerfile"];function Lh(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},c={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:c,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)}Vl.displayName="t4-templating";Vl.aliases=[];function Vl(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)}qv.displayName="t4-cs";qv.aliases=["t4"];function qv(e){e.register(io),e.register(Vl),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}Nc.displayName="vbnet";Nc.aliases=[];function Nc(e){e.register(xc),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:/[,;:(){}]/})}Yv.displayName="t4-vb";Yv.aliases=[];function Yv(e){e.register(Vl),e.register(Nc),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}Wv.displayName="tap";Wv.aliases=[];function Wv(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"}}}Kv.displayName="tcl";Kv.aliases=[];function Kv(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 ${ OE } if no \` max \` prop is set)
- \ ` null \` or \` undefined \` if the progress is indeterminate.
Defaulting to \ ` null \` . ` } var JG = VC , eH = YC ; function tH ( { className : e , value : t , ... r } ) { return g . jsx ( JG , { "data-slot" : "progress" , className : me ( "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full" , e ) , ... r , children : g . jsx ( eH , { "data-slot" : "progress-indicator" , className : "bg-primary h-full w-full flex-1 transition-all" , style : { transform : ` translateX(- ${ 100 - ( t || 0 ) } %) ` } } ) } ) } function Yl ( 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 Wl ( 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 , c ; if ( "borderBoxSize" in s ) { const p = s . borderBoxSize , f = Array . isArray ( p ) ? p [ 0 ] : p ; u = f . inlineSize , c = f . blockSize } else u = e . offsetWidth , c = e . offsetHeight ; r ( { width : u , height : c } ) } ) ; return a . observe ( e , { box : "border-box" } ) , ( ) => a . unobserve ( e ) } else r ( void 0 ) } , [ e ] ) , t } var Mc = "Switch" , [ nH ] = Ut ( Mc ) , [ rH , aH ] = nH ( Mc ) , KC = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , name : a , checked : o , defaultChecked : s , required : u , disabled : c , value : p = "on" , onCheckedChange : f , form : h , ... m } = e , [ v , E ] = S . useState ( null ) , x = Ne ( t , N => E ( N ) ) , w = S . useRef ( ! 1 ) , k = v ? h || ! ! v . closest ( "form" ) : ! 0 , [ A , _ ] = tn ( { prop : o , defaultProp : s ? ? ! 1 , onChange : f , caller : Mc } ) ; return g . jsxs ( rH , { scope : r , checked : A , disabled : c , children : [ g . jsx ( be . button , { type : "button" , role : "switch" , "aria-checked" : A , "aria-required" : u , "data-state" : JC ( A ) , "data-disabled" : c ? "" : void 0 , disabled : c , value : p , ... m , ref : x , onClick : ye ( e . onClick , N => { _ ( D => ! D ) , k && ( w . current = N . isPropagationStopped ( ) , w . current || N . stopPropagation ( ) ) } ) } ) , k && g . jsx ( QC , { control : v , bubbles : ! w . current , name : a , value : p , checked : A , required : u , disabled : c , form : h , style : { transform : "translateX(-100%)" } } ) ] } ) } ) ; KC . displayName = Mc ; var XC = "SwitchThumb" , ZC = S . forwardRef ( ( e , t ) => { const { _ _scopeSwitch : r , ... a } = e , o = aH ( XC , r ) ; return g . jsx ( be . span , { "data-state" : JC ( o . checked ) , "data-disabled" : o . disabled ? "" : void 0 , ... a , ref : t } ) } ) ; ZC . displayName = XC ; var iH = "SwitchBubbleInput" , QC = S . forwardRef ( ( { _ _scopeSwitch : e , control : t , checked : r , bubbles : a = ! 0 , ... o } , s ) => { const u = S . useRef ( null ) , c = Ne ( u , s ) , p = Yl ( r ) , f = Wl ( t ) ; return S . useEffect ( ( ) => { const h = u . current ; if ( ! h ) return ; const m = window . HTMLInputElement . prototype , E = Object . getOwnPropertyDescriptor ( m , "checked" ) . set ; if ( p !== r && E ) { const x = new Event ( "click" , { bubbles : a } ) ; E . call ( h , r ) , h . dispatchEvent ( x ) } } , [ p , r , a ] ) , g . jsx ( "input" , { type : "checkbox" , "aria-hidden" : ! 0 , defaultChecked : r , ... o , tabIndex : - 1 , ref : c , style : { ... o . style , ... f , position : "absolute" , pointerEvents : "none" , opacity : 0 , margin : 0 } } ) } ) ; QC . displayName = iH ; function JC ( e ) { return e ? "checked" : "unchecked" } var oH = KC , lH = ZC ; function sH ( { className : e , size : t = "default" , ... r } ) { return g . jsx ( oH , { "data-slot" : "switch" , "data-size" : t , className : me ( "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 ( lH , { "data-slot" : "switch-thumb" , className : me ( "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 jc = "Checkbox" , [ uH ] = Ut ( jc ) , [ cH , LE ] = uH ( jc ) ; function dH ( e ) { const { _ _scopeCheckbox : t , checked : r , children : a , defaultChecked : o , disabled : s , form : u , name : c , onCheckedChange : p , required : f , value : h = "on" , internal _do _not _use _render : m } = e , [ v , E ] = tn ( { prop : r , defaultProp : o ? ? ! 1 , onChange : p , caller : jc } ) , [ x , w ] = S . useState ( null ) , [ k , A ] = S . useState ( null ) , _ = S . useRef ( ! 1 ) , N = x ? ! ! u || ! ! x . closest ( "form" ) : ! 0 , D = { checked : v , disabled : s , setChecked : E , control : x , setControl : w , name : c , form : u , value : h , hasConsumerStoppedPropagationRef : _ , required : f , defaultChecked : sa ( o ) ? ! 1 : o , isFormControl : N , bubbleInput : k , setBubbleInput : A } ; return g . jsx ( cH , { scope : t , ... D , children : pH ( m ) ? m ( D ) : a } ) } var e0 = "CheckboxTrigger" , t0 = S . forwardRef ( ( { _ _scopeCheckbox : e , onKeyDown : t , onClick : r , ... a } , o ) => { const { control : s , value : u , disabled : c , checked : p , required : f , setControl : h , setChecked : m , hasConsumerStoppedPropagationRef : v , isFormControl : E , bubbleInput : x } = LE ( e0 , e ) , w = Ne ( o , h ) , k = S . useRef ( p ) ; return S . useEffect ( ( ) => { const A = s ? . form ; if ( A ) { const _ = ( ) => m ( k . current ) ; return A . addEventListener ( "reset" , _ ) , ( ) => A . removeEventListener ( "reset" , _ ) } } , [ s , m ] ) , g . jsx ( be . button , { type : "button" , role : "checkbox" , "aria-checked" : sa ( p ) ? "mixed" : p , "aria-required" : f , "data-state" : l0 ( p ) , "data-disabled" : c ? "" : void 0 , disabled : c , value : u , ... a , ref : w , onKeyDown : ye ( t , A => { A . key === "Enter" && A . preventDefault ( ) } ) , onClick : ye ( r , A => { m ( _ => sa ( _ ) ? ! 0 : ! _ ) , x && E && ( v . current = A . isPropagati 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 m q({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(hR ,{style:b $ ,language:e||"text",PreTag:"div",customStyle:{margin:0,borderRadius:0,fontSize:"13px"},children:t})]})}function h q(e){const t=e.split( `
` )}function C q({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(rC ,{style:N4 ,language:e||"text",PreTag:"div",customStyle:{margin:0,borderRadius:0,fontSize:"13px"},children:t})]})}function I q(e){const t=e.split( `
` );let r=!1,a=!1,o="",s=0;for(let u=0;u<t.length;u++){const c=t[u];if(/^[ \t ]* ` ` ` / . test ( c ) ) { r = ! r ; continue } if ( r ) continue ; const p = c . match ( /^([ \t]*)(\d+)\.[ \t]/ ) ; if ( p ) { const f = p [ 1 ] ; ! a || f !== o ? ( a = ! 0 , o = f , s = 1 ) : s ++ , t [ u ] = c . replace ( /^([ \t]*)\d+\./ , ` ${ f } ${ s } . ` ) } else c . trim ( ) === "" && a || a && /^[ \t]+\S/ . test ( c ) || a && ( a = ! 1 , s = 0 ) } return t . join ( `
` )}function XI ({content:e}){const t=h q(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(RN ,{remarkPlugins:[JN ],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=g q(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(mq,{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 bq({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(ac,{role:"user"})]})}):g.jsxs("div",{className:"flex gap-3 group",children:[g.jsx(ac,{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(KI,{toolCall:a},o))}),g.jsx(XI,{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(KE,{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(lq,{actions:e.actions,messageId:e.id,sessionId:t}),g.jsxs("div",{className:"mt-1 flex items-center gap-1 relative",children:[g.jsx(pq,{text:e.content}),g.jsx(fq,{messageId:e.id})]})]})]})}function yq({onSend:e,onCancel:t,isStreaming:r=!1,placeholder:a="Type a message...",enableFileUpload:o=!1}){const[s,u]=S.useState(""),[c,p]=S.useState([]),f=S.useRef(null),m=S.useRef(null),h=S.useCallback(()=>{const A=s.trim();(A||c.length>0)&&!r&&(e(A,c.length>0?c:void 0),u(""),p([]),f.current&&(f.current.style.height="auto"))},[s,c,r,e]),v=S.useCallback(A=>{const N=Array.from(A.target.files||[]);p(_=>[..._,...N]),m.current&&(m.current.value="")},[]),E=S.useCallback(()=>{m.current?.click()},[]),x=S.useCallback(A=>{p(N=>N.filter((_,D)=>D!==A))},[]),w=S.useCallback(A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),h())},[h]),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:[c.length>0&&g.jsx("div",{className:"flex flex-wrap gap-1 px-4 pt-3",children:c.map((A,N)=>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:()=>x(N),className:"hover:text-destructive",children:"× "})]}, ` $ { A . name } - $ { N } ` ))}),g.jsxs("div",{className:"flex items-end gap-2 p-2",children:[o&&g.jsxs(g.Fragment,{children:[g.jsx("input",{ref:m,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:w,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:h,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
` ),h=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:h,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:m?g.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none whitespace-pre-wrap",children:m}):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 Du({enabled:e}){return e?g.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 z-50 bg-primary text-primary-foreground px-4 py-2 rounded-md text-sm font-medium",children:"Skip to main content"}):null}function a8(){const[e,t]=S.useState({}),[r,a]=S.useState({}),[o,s]=S.useState({}),[u,c]=S.useState(!0),[p,f]=S.useState(null),[m,h]=S.useState(null),[v,E]=S.useState(""),x=(L,j)=>{const P=j.replace(/ \/ $ /,"")||"/",Y=M=>{for(const q of M){const K=(q.path??"").replace(/ \/ $ /,"");if(K===P||K===P.replace(/^ \/ /,""))return q;if(q.children){const J=Y(q.children);if(J)return J}}return null};return L.items?Y(L.items):null},w=(L,j,P,Y)=>{const M=Y??e,q=M.seo?.titleTemplate||"%s | %s",K=M.site?.title||"Documentation";if(q.includes("%s")){let V=q.replace("%s",L);V.includes("%s")&&(V=V.replace("%s",K)),document.title=V}else document.title= ` $ { L } | $ { K } ` ;let J=document.querySelector('link[rel="canonical"]');J||(J=document.createElement("link"),J.rel="canonical",document.head.appendChild(J)),J.href=window.location.origin+j;let Q=document.querySelector('meta[name="description"]');Q||(Q=document.createElement("meta"),Q.name="description",document.head.appendChild(Q)),Q.content= ` $ { L } - $ { M . site ? . description || "" } ` ;let ee=document.querySelector('meta[property="og:title"]');ee||(ee=document.createElement("meta"),ee.setAttribute("property","og:title"),document.head.appendChild(ee)),ee.content=L;let B=document.querySelector('meta[property="og:url"]');if(B||(B=document.createElement("meta"),B.setAttribute("property","og:url"),document.head.appendChild(B)),B.content=window.location.origin+j,M.seo?.twitter&&Object.entries(M.seo.twitter).forEach(([V,ne])=>{let de=document.querySelector( ` meta [ name = "twitter:${V}" ] ` );de||(de=document.createElement("meta"),de.name= ` twitter : $ { V } ` ,document.head.appendChild(de)),de.content=ne}),M.seo?.defaultImage){let V=document.querySelector('meta[property="og:image"]');V||(V=document.createElement("meta"),V.setAttribute("property","og:image"),document.head.appendChild(V)),V.content=M.seo.defaultImage}},k=L=>{h(L),E(L.path||L.title),w(L.title,L.path||"/")};S.useEffect(()=>{async function L(){try{const[j,P,Y]=await Promise.all([fetch("/ui-config.json"),fetch("/docs-nav.json"),fetch("/route-manifest.json")]);if(!j.ok||!P.ok||!Y.ok)throw new Error("Failed to load manifests");const M=await j.json(),q=await P.json();t(M),a(q),s(await Y.json());const K=M.site?.theme;ML(K?.preset||"zinc",K?.darkMode!==!1,K?.radius||"md");const J=windo
Line truncated
` )}function nO ({content:e}){const t=I q(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(m R,{remarkPlugins:[BR ],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=R q(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(Cq,{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 Oq({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(rc,{role:"user"})]})}):g.jsxs("div",{className:"flex gap-3 group",children:[g.jsx(rc,{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(tO,{toolCall:a},o))}),g.jsx(nO,{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(QE,{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(xq,{actions:e.actions,messageId:e.id,sessionId:t}),g.jsxs("div",{className:"mt-1 flex items-center gap-1 relative",children:[g.jsx(_q,{text:e.content}),g.jsx(Nq,{messageId:e.id})]})]})]})}function Lq({onSend:e,onCancel:t,isStreaming:r=!1,placeholder:a="Type a message...",enableFileUpload:o=!1}){const[s,u]=S.useState(""),[c,p]=S.useState([]),f=S.useRef(null),h=S.useRef(null),m=S.useCallback(()=>{const A=s.trim();(A||c.length>0)&&!r&&(e(A,c.length>0?c:void 0),u(""),p([]),f.current&&(f.current.style.height="auto"))},[s,c,r,e]),v=S.useCallback(A=>{const _=Array.from(A.target.files||[]);p(N=>[...N,..._]),h.current&&(h.current.value="")},[]),E=S.useCallback(()=>{h.current?.click()},[]),x=S.useCallback(A=>{p(_=>_.filter((N,D)=>D!==A))},[]),w=S.useCallback(A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),m())},[m]),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:[c.length>0&&g.jsx("div",{className:"flex flex-wrap gap-1 px-4 pt-3",children:c.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:()=>x(_),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:w,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:m,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
` ),m=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:m,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 v9(e,t){const r=e.replace(/^ \/ +| \/ + $ /g,""),o=t.replace(/^ \/ +| \/ + $ /g,"").replace(/ \* \* /g,"{{GLOB}}").replace(/ \* /g,"[^/]+").replace(/ \{ \{ GLOB \} \} /g,".*");return new RegExp( ` ^ $ { o } $ ` ).test(r)}function E9(e,t,r){const o=[...t.routes??[]].sort((s,u)=>(u.priority??0)-(s.priority??0));for(const s of o){if(!v9(e,s.pattern))continue;const u=r[s.template];return u?{template:s.template,layout:u.layout??"ThreeColumnLayout",slots:u.slots??{},slotOverrides:s.slotOverrides}:(console.warn( ` Template "${s.template}" not found ` ),null)}return null}function S9(e,t){if(t)return t.slotOverrides&&e in t.slotOverrides?t.slotOverrides[e]:t.slots[e]}function x9(e){return S9("right",e)!==null}function Lu({enabled:e}){return e?g.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 z-50 bg-primary text-primary-foreground px-4 py-2 rounded-md text-sm font-medium",children:"Skip to main content"}):null}function w9(){const[e,t]=S.useState({}),[r,a]=S.useState({}),[o,s]=S.useState({}),[u,c]=S.useState(!0),[p,f]=S.useState(null),[h,m]=S.useState(null),[v,E]=S.useState(""),[x,w]=S.useState(()=>window.location.pathname.replace(/ \/ $ /,"")||"/"),[k,A]=S.useState(!1),_=(M,H)=>{const Q=H.replace(/ \/ $ /,"")||"/",de=I=>{for(const U of I){const B=(U.path??"").replace(/ \/ $ /,"");if(B===Q||B===Q.replace(/^ \/ /,""))return U;if(U.children){const C=de(U.children);if(C)return C}}return null};return M.items?de(M.items):null},N=(M,H,Q,de)=>{const I=de??e,U=I.seo?.titleTemplate||"%s | %s",B=I.site?.title||"Documentation";if(U.includes("%s")){let ie=U.replace("%s",M);ie.includes("%s")&&(ie=ie.replace("%s",B)),document.title=ie}else document.title= ` $ { M } | $ { B } ` ;let C=document.querySelector('link[rel="canonical"]');C||(C=document.createElement("link"),C.rel="canonical",document.head.appendChild(C)),C.href=window.location.origin+H;let J=document.querySelector('meta[name="description"]');J||(J=document.createElement("meta"),J.name="description",document.head.appendChild(J)),J.content= ` $ { M } - $ { I . site ? . description || "" } ` ;let ae=document.querySelector('meta[property="og:title"]');ae||(ae=document.createElement("meta"),ae.setAttribute("property","og:title"),document.head.appendChild(ae)),ae.content=M;let ue=document.querySelector('meta[property="og:url"]');if(ue||(ue=document.createElement("meta"),ue.setAttribute("property","og:url"),document.head.appendChild(ue)),ue.content=window.location.origin+H,I.seo?.twitter&&Object.entries(I.seo.twitter).forEach(([ie,he])=>{let fe=document.querySel
Line truncated