1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="fae6ed3e-4530-f990-327e-0e701301877d")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,200716,442442,e=>{"use strict";var t=e.i(687652),r=e.i(364304),n=e.i(284291),o=e.i(104565);e.s(["useActivePress",0,function({disabled:e=!1}={}){let s=(0,t.useRef)(null),[i,a]=(0,t.useState)(!1),l=(0,n.useDisposables)(),c=(0,o.useEvent)(()=>{s.current=null,a(!1),l.dispose()}),d=(0,o.useEvent)(e=>{if(l.dispose(),null===s.current){s.current=e.currentTarget,a(!0);{let t=(0,r.getOwnerDocument)(e.currentTarget);l.addEventListener(t,"pointerup",c,!1),l.addEventListener(t,"pointermove",e=>{if(s.current){var t,r;let n,o;a((n=e.width/2,o=e.height/2,t={top:e.clientY-o,right:e.clientX+n,bottom:e.clientY+o,left:e.clientX-n},r=s.current.getBoundingClientRect(),!(!t||!r||t.right<r.left||t.left>r.right||t.bottom<r.top||t.top>r.bottom)))}},!1),l.addEventListener(t,"pointercancel",c,!1)}}});return{pressed:i,pressProps:e?{}:{onPointerDown:d,onPointerUp:c,onClick:c}}}],200716),e.s(["useResolveButtonType",0,function(e,r){return(0,t.useMemo)(()=>{var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==r?void 0:r.tagName)==="BUTTON"&&!r.hasAttribute("type"))return"button"},[e.type,e.as,r])}],442442)},148278,219682,e=>{"use strict";let t;var r=e.i(687652),n=e.i(376127),o=e.i(756833),s=e.i(364304),i=e.i(104565);let a=(0,r.createContext)(null);function l(e=null){var t;return null!=(t=(0,r.useContext)(a))?t:e}e.s(["MainTreeProvider",0,function({children:e,node:t}){let[i,c]=(0,r.useState)(null),d=l(null!=t?t:i);return r.default.createElement(a.Provider,{value:d},e,null===d&&r.default.createElement(n.Hidden,{features:n.HiddenFeatures.Hidden,ref:e=>{var t,r;if(e){for(let n of null!=(r=null==(t=(0,s.getOwnerDocument)(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(n!==document.body&&n!==document.head&&o.isElement(n)&&null!=n&&n.contains(e)){c(n);break}}}}))},"useMainTreeNode",0,l,"useRootContainers",0,function({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=(0,i.useEvent)(()=>{var n,i;let a=(0,s.getOwnerDocument)(r),l=[];for(let t of e)null!==t&&(o.isElement(t)?l.push(t):"current"in t&&o.isElement(t.current)&&l.push(t.current));if(null!=t&&t.current)for(let e of t.current)l.push(e);for(let e of null!=(n=null==a?void 0:a.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&o.isElement(e)&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(i=null==r?void 0:r.getRootNode())?void 0:i.host))||l.some(t=>e.contains(t))||l.push(e));return l});
2return{resolveContainers:n,contains:(0,i.useEvent)(e=>n().some(t=>t.contains(e)))}}],148278);var c=e.i(70648),d=((t=d||{})[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t);e.s(["Direction",0,d,"useTabDirection",0,function(){let e=(0,r.useRef)(0);return(0,c.useWindowEvent)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}],219682)},590589,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10Z",clipRule:"evenodd"}))});e.s(["ArrowRightIcon",0,r],590589)},96348,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))});e.s(["CheckIcon",0,r],96348)},270289,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))});e.s(["ExclamationCircleIcon",0,r],270289)},967508,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"}))});e.s(["XMarkIcon",0,r],967508)},183151,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))});e.s(["ClipboardDocumentIcon",0,r],183151)},33468,e=>{"use strict";var t=e.i(687652);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18
218 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],33468)},174617,122297,959305,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}],174617);var t=e.i(687652);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():r(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return t.useCallback(n(...e),e)}],122297);var o=e.i(318008);e.s(["createContext",0,function(e,r){let n=t.createContext(r),s=e=>{let{children:r,...s}=e,i=t.useMemo(()=>s,Object.values(s));return(0,o.jsx)(n.Provider,{value:i,children:r})};return s.displayName=e+"Provider",[s,function(o){let s=t.useContext(n);if(s)return s;if(void 0!==r)return r;throw Error(`\`${o}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let n=[],s=()=>{let r=n.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return s.scopeName=e,[function(r,s){let i=t.createContext(s),a=n.length;n=[...n,s];let l=r=>{let{scope:n,children:s,...l}=r,c=n?.[e]?.[a]||i,d=t.useMemo(()=>l,Object.values(l));return(0,o.jsx)(c.Provider,{value:d,children:s})};return l.displayName=r+"Provider",[l,function(n,o){let l=o?.[e]?.[a]||i,c=t.useContext(l);if(c)return c;if(void 0!==s)return s;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(s,...r)]}],959305)},86154,99081,724432,400114,e=>{"use strict";var t,r=e.i(687652),n=e.i(174617),o=e.i(615882),s=e.i(122297),i=e.i(318008);function a(e){var t;let n,o=(t=e,(n=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var i;let e,a,l=(i=n,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...e)=>{let t=s(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...s}:"className"===n&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}(o,n.props);return n.type!==r.Fragment&&(c.ref=t?(0,s.composeRefs)(t,l):l),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,n),a=r.forwardRef((e,t)=>{let{children:n,...s}=e,a=r.Children.toArray(n),l=a.find(c);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(o,{...s,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(o,{...s,ref:t,children:n})});return a.displayName=`${e}.Slot`,a}var l=Symbol("radix.slottable");function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["createSlot",0,a],99081);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=a(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...s,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}function p(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["Primitive",0,d,"dispatchDiscreteCustomEvent",0,u],724432),e.s(["useCallbackRef",0,p],400114);var m="dismissableLayer.update",h=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=r.forwardRef((e,o)=>{let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:f,onDismiss:g,...y}=e,v=r.useContext(h),[w,k]=r.useState(null),E=w?.ownerDocument??globalThis?.document,[,S]=r.useState({}),C=(0,s.useComposedRefs)(o,e=>
2k(e)),j=Array.from(v.layers),[R]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),N=j.indexOf(R),I=w?j.indexOf(w):-1,_=v.layersWithOutsidePointerEventsDisabled.size>0,P=I>=N,T=function(e,t=globalThis?.document){let n=p(e),o=r.useRef(!1),s=r.useRef(()=>{});return r.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let r=function(){x("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",s.current),s.current=r,t.addEventListener("click",s.current,{once:!0})):r()}else t.removeEventListener("click",s.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...v.branches].some(e=>e.contains(t));P&&!r&&(c?.(e),f?.(e),e.defaultPrevented||g?.())},E),L=function(e,t=globalThis?.document){let n=p(e),o=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!o.current&&x("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...v.branches].some(e=>e.contains(t))&&(u?.(e),f?.(e),e.defaultPrevented||g?.())},E);return!function(e,t=globalThis?.document){let n=p(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{I===v.layers.size-1&&(l?.(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},E),r.useEffect(()=>{if(w)return a&&(0===v.layersWithOutsidePointerEventsDisabled.size&&(t=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(w)),v.layers.add(w),b(),()=>{a&&1===v.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=t)}},[w,E,a,v]),r.useEffect(()=>()=>{w&&(v.layers.delete(w),v.layersWithOutsidePointerEventsDisabled.delete(w),b())},[w,v]),r.useEffect(()=>{let e=()=>S({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,i.jsx)(d.div,{...y,ref:C,style:{pointerEvents:_?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,T.onPointerDownCapture)})});f.displayName="DismissableLayer";var g=r.forwardRef((e,t)=>{let n=r.useContext(h),o=r.useRef(null),a=(0,s.useComposedRefs)(t,o);return r.useEffect(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,i.jsx)(d.div,{...e,ref:a})});function b(){let e=new CustomEvent(m);document.dispatchEvent(e)}function x(e,t,r,{discrete:n}){let o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?u(o,s):o.dispatchEvent(s)}g.displayName="DismissableLayerBranch",e.s(["Branch",0,g,"DismissableLayer",0,f,"Root",0,f],86154)},50265,484074,e=>{"use strict";var t=e.i(687652),r=e.i(615882),n=e.i(724432),o=e.i(256645),s=e.i(318008),i=t.forwardRef((e,i)=>{let{container:a,...l}=e,[c,d]=t.useState(!1);(0,o.useLayoutEffect)(()=>d(!0),[]);let u=a||c&&globalThis?.document?.body;return u?r.default.createPortal((0,s.jsx)(n.Primitive.div,{...l,ref:i}),u):null});i.displayName="Portal",e.s(["Portal",0,i],50265);var a=e.i(122297),l=e=>{var r;let n,s,{present:i,children:l}=e,d=function(e){var r,n;let[s,i]=t.useState(),a=t.useRef(null),l=t.useRef(e),d=t.useRef("none"),[u,p]=(r=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>n[e][t]??e,r));return t.useEffect(()=>{let e=c(a.current);d.current="mounted"===u?e:"none"},[u]),(0,o.useLayoutEffect)(()=>{let t=a.current,r=l.current;if(r!==e){let n=d.current,o=c(t);e?p("MOUNT"):"none"===o||t?.display==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),l.current=e}},[e,p]),(0,o.useLayoutEffect)(()=>
2{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=c(a.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(p("ANIMATION_END"),!l.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(d.current=c(a.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}p("ANIMATION_END")},[s,p]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(i),u="function"==typeof l?l({present:d.isPresent}):t.Children.only(l),p=(0,a.useComposedRefs)(d.ref,(r=u,(s=(n=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.ref:(s=(n=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof l||d.isPresent?t.cloneElement(u,{ref:p}):null};function c(e){return e?.animationName||"none"}l.displayName="Presence",e.s(["Presence",0,l],484074)},416171,e=>{"use strict";var t=e.i(687652),r=e.i(256645);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:o=()=>{},caller:s}){let[i,a,l]=function({defaultProp:e,onChange:r}){let[o,s]=t.useState(e),i=t.useRef(o),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,s,a]}({defaultProp:r,onChange:o}),c=void 0!==e,d=c?e:i;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${s} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,s])}return[d,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[c,e,a,l])]}],416171)},256645,e=>{"use strict";var t=e.i(687652),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},331699,e=>{"use strict";var t=e.i(318008),r=e.i(687652),n=e.i(944967);let o=(0,r.forwardRef)(({className:e,children:r,...o},s)=>(0,t.jsx)("input",{ref:s,type:"checkbox",...o,className:(0,n.default)("h-4 w-4 rounded-sm border-zinc-600 text-indigo-500 focus:ring-indigo-500",e)}));o.displayName="StyledCheckbox",e.s(["StyledCheckbox",0,o])},902770,880781,e=>{"use strict";var t=e.i(35203),r=e.i(687652);let n=[];e.s(["closeTopmostModal",0,()=>{let e=n.at(-1);return!!e&&(e(),!0)},"useRegisterOpenModal",0,(e,o)=>{let s,i,a,l=(0,t.c)(5),c=(0,r.useRef)(o);l[0]!==o?(s=()=>{c.current=o},l[0]=o,l[1]=s):s=l[1],(0,r.useLayoutEffect)(s),l[2]!==e?(i=()=>{if(e){var t;return t=()=>c.current(),n.push(t),()=>{let e=n.lastIndexOf(t);-1!==e&&n.splice(e,1)}}},a=[e],l[2]=e,l[3]=i,l[4]=a):(i=l[3],a=l[4]),(0,r.useEffect)(i,a)}],902770),e.s(["isEventFromToastRoot",0,e=>e instanceof Element&&null!=e.closest("[data-meticulous-toast-root]"),"isEventFromToastViewport",0,e=>e instanceof Element&&null!=e.closest("[data-meticulous-toast-viewport]")],880781)},655176,e=>{"use strict";var t=e.i(318008),r=e.i(35203),n=e.i(944967);e.s(["Code",0,e=>{let o,s,i=(0,r.c)(3),{content:a}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,n.default)("font-code","text-[0.875em]","leading-[inherit]","px-[0.4em]","py-[0.15em]","rounded-md","bg-zinc-100","text-zinc-800","dark:bg-zinc-800","dark:text-zinc-200","wrap-break-word","whitespace-normal","wrap-anywhere"),i[0]=o):o=i[0],i[1]!==a?(s=(0,t.jsx)("code",{className:o,children:a}),i[1]=a,i[2]=s):s=i[2],s}])},854443,e=>{"use strict";let t=` 31. Create a **repository access token** in Bitbucket: 4 - Open your repository in Bitbucket Cloud â **Repository settings** â **Access tokens** â **Create repository access token** 5 ([guide](https://support.atlassian.com/bitbucket-cloud/docs/create-a-repository-access-token/)) 6 - Grant **Repositories: Read** and **Pull requests: Read** 72. In Meticulous, link the repository and paste the token: 8 - When creating a Bitbucket project, or from **Project settings â CI settings â Linked repository** 9 - Enter your Bitbucket **workspace**, **repository slug**, and paste the access token (it is stored securely and never shown again) 103. Add the Meticulous webhook in Bitbucket (**Repository settings â Webhooks â Add webhook**): 11 - Use the **Webhook URL** and **Secret** shown by Meticulous after linking 12 - Enable the pull request **Updated**, **Merged**, **Declined**, and **Superseded** triggers 13`;e.s(["bitbucketRepositoryAccessTokenPermissionsSummary",0,"Repositories: Read and Pull requests: Read","linkBitbucketInstru
13ctions",0,t])},838643,e=>{"use strict";let t=` 141. Create a **legacy** GitLab personal access token (not a fine-grained token): 15 - Go to your avatar â **Edit profile** â **Personal access tokens** 16 - Choose **Add legacy token** (or **Create legacy token**), not **Generate fine-grained token** 17 - Under **Scopes**, enable **api** and **read_repository** 18 ([guide](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token)) 19 - Your GitLab user must have **Maintainer** or **Owner** on the project 20 - Alternatively, a **project access token** (Premium/Ultimate on GitLab.com) with the same scopes and **Maintainer** role works 21 ([project token guide](https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html#create-a-project-access-token)) 222. In Meticulous, link the repository and paste the token: 23 - When creating a GitLab project, or from **Project settings â CI settings â Linked repository** 24 - Enter your GitLab **project ID** (from **Settings â General** in GitLab), paste the access token, and configure the webhook shown after linking 253. Add the Meticulous webhook in GitLab (**Settings â Webhooks**): 26 - Use the **Webhook URL** and **Secret token** from Meticulous 27 - Enable **Merge request events** 28`;e.s(["gitLabLegacyTokenPrefillUrl",0,"https://gitlab.com/-/user_settings/personal_access_tokens?name=Meticulous&scopes=api,read_repository","gitLabLegacyTokenScopesSummary",0,"api (required) and read_repository","linkGitLabInstructions",0,t])},919275,e=>{"use strict";e.s(["SNIPPET_URL",0,"https://snippet.meticulous.ai/v1/meticulous.js"])},646846,e=>{"use strict";let t=({constants:e,launchRecorderCode:t})=>`import { tryLoadAndStartRecorder } from '@alwaysmeticulous/recorder-loader' 29${e} 30async function startApp() {${t} 31 32 // Initialise app after the Meticulous recorder is ready, e.g. 33 ReactDOM.render(component, document.getElementById('root')); 34} 35 36function isProduction() { 37 // TODO: Update me with your production hostname 38 return window.location.hostname.indexOf("your-production-site.com") > -1; 39} 40 41startApp(); 42`,r={constants:"",launchRecorderCode:` 43 // Record all sessions on localhost, staging stacks and preview URLs 44 if (!isProduction()) { 45 // Start the Meticulous recorder before you initialise your app. 46 // Note: all errors are caught and logged, so no need to surround with try/catch 47 await tryLoadAndStartRecorder({ 48 recordingToken: '{% project_recording_token /%}', 49 isProduction: false, 50 }); 51 }`},n={constants:` 52// Record 1% of production sessions 53const METICULOUS_SAMPLING_RATE = 0.01; 54`,launchRecorderCode:` 55 if (!isProduction() || Math.random() < METICULOUS_SAMPLING_RATE) { 56 // Start the Meticulous recorder before you initialise your app. 57 // Note: all errors are caught and logged, so no need to surround with try/catch 58 await tryLoadAndStartRecorder({ 59 recordingToken: '{% project_recording_token /%}', 60 isProduction: isProduction(), 61 maxMsToBlockFor: isProduction() ? 250 : undefined, // Optional, abandon waiting to load the Meticulous recorder, if it takes more than 250ms 62 }); 63 } 64`},o=({title:e,appEntryPointDescription:t,appEntryPointExampleFileName:o,snippetTemplate:s})=>` 65${e?`### ${e}`:""} 66 67**Step A)** Add a dependency on the \`@alwaysmeticulous/recorder-loader\` package: 68 69{% command_card_block %} 70\`\`\`bash 71npm install @alwaysmeticulous/recorder-loader 72\`\`\` 73{% /command_card_block %} 74 75or 76 77{% command_card_block %} 78\`\`\`bash 79yarn add @alwaysmeticulous/recorder-loader 80\`\`\` 81{% /command_card_block %} 82 83**Step B)** In your ${t} call \`await tryLoadAndStartRecorder({ ... })\` before your app initialisation logic. 84It is important to initialise the Meticulous recorder before your app initialises in order to capture all 85network requests / user interactions correctly. 86 87 88For example your ${o} might contain something like: 89 90{% code_with_project_selector %} 91{% tabs %} 92{% tab label="Dev & Staging Only" %} 93\`\`\`typescript 94${s(r)} 95\`\`\` 96{% /tab %} 97{% tab label="All Environments" %} 98\`\`\`typescript 99${s(n)} 100\`\`\` 101{% /tab %} 102{% /tabs %} 103{% /code_with_project_selector %}`;o({title:"Installing on any other framework",appEntryPointDescription:"app entry point",appEntryPointExampleFileName:"`index.js` or `main.js`",snippetTemplate:t}),e.s(["anyOtherFrameworkSnippet",0,t,"devAndStagingOnlyOpts",0,r,"recorderLoaderInstructions",0,o])},766759,e=>{"use strict";var t=e.i(318008),r=e.i(35203),n=e.i(395774),o=e.i(944967),s=e.i(187981),i=e.i(628144),a=e.i(687652),l=e.i(96827),c=e.i(435919),d=e.i(73253),u=e.i(828220),p=e.i(35692),m=e.i(715524),h=e.i(317677),f=e.i(368054);let g=()=>{let e,n,o,s,a=(0,r.c)(7),l=(0,i.useRouter)();a[0]!==l.pathname?(e=(0,p.docsUrlToMarkdownPath)(l.pathname),a[0]=l.pathname,a[1]=e):e=a[1];let c=e;return a[2]!==c?(n=(0,t.jsx)("a",{href:c,children:c}),a[2]=c,a[3]=n):n=a[3],a[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("a",{href:"/llms.txt",children:"/llms.txt"}),a[4]=o):o=a[4],a[5]!==n?(s=(0,t.jsxs)("p",{className:"sr-only","data-agent-markdown-pointer":!0,children:["AI agents: read this page as markdown at"," ",n,", or start from the full AI-readable index at ",o,"."]}
103),a[5]=n,a[6]=s):s=a[6],s};var b=e.i(810311),x=e.i(293737),y=e.i(590589);let v=a.forwardRef(function({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.75 16.82A7.462 7.462 0 0 1 15 15.5c.71 0 1.396.098 2.046.282A.75.75 0 0 0 18 15.06v-11a.75.75 0 0 0-.546-.721A9.006 9.006 0 0 0 15 3a8.963 8.963 0 0 0-4.25 1.065V16.82ZM9.25 4.065A8.963 8.963 0 0 0 5 3c-.85 0-1.673.118-2.454.339A.75.75 0 0 0 2 4.06v11a.75.75 0 0 0 .954.721A7.506 7.506 0 0 1 5 15.5c1.579 0 3.042.487 4.25 1.32V4.065Z"}))});var w=e.i(398145);let k={"/docs/built-in-checks":{nextSteps:[{title:"Accessibility",href:"/docs/built-in-checks/accessibility",description:"Catch new accessibility regressions introduced by a PR"},{title:"Network requests",href:"/docs/built-in-checks/network-requests",description:"Catch PRs that make your app issue meaningfully more network requests"},{title:"React component renders",href:"/docs/built-in-checks/react-component-renders",description:"Catch PRs that make your React components re-render meaningfully more"}]},"/docs/custom-checks":{nextSteps:[{title:"Writing a custom check",href:"/docs/custom-checks/writing-a-custom-check",description:"Step-by-step walkthrough building a network request capacity check"},{title:"Recording custom snapshots",href:"/docs/custom-checks/recording-custom-data",description:"Record your own snapshots during replay for use in custom checks"},{title:"Best practices",href:"/docs/custom-checks/best-practices",description:"Design checks that surface real regressions without noisy false alarms"},{title:"Built-in snapshot types",href:"/docs/custom-checks/built-in-snapshot-types",description:"The data Meticulous captures automatically for your checks"}]},"/docs/custom-checks/writing-a-custom-check":{nextSteps:[{title:"Recording custom snapshots",href:"/docs/custom-checks/recording-custom-data",description:"Record your own snapshots during replay for use in custom checks"},{title:"Best practices",href:"/docs/custom-checks/best-practices",description:"Design checks that surface real regressions without noisy false alarms"},{title:"Built-in snapshot types",href:"/docs/custom-checks/built-in-snapshot-types",description:"The data Meticulous captures automatically for your checks"}]},"/docs/custom-checks/recording-custom-data":{nextSteps:[{title:"Best practices",href:"/docs/custom-checks/best-practices",description:"Design checks that surface real regressions without noisy false alarms"}]},"/docs/custom-checks/best-practices":{nextSteps:[{title:"Built-in snapshot types",href:"/docs/custom-checks/built-in-snapshot-types",description:"The data Meticulous captures automatically for your checks"}]},"/docs/custom-checks/built-in-snapshot-types":{nextSteps:[{title:"Writing a custom check",href:"/docs/custom-checks/writing-a-custom-check",description:"Put a snapshot type to work in a complete reporter"}]},"/docs":{nextSteps:[{title:"Setup Guide",href:"/docs/onboarding-guide",description:"Get started with Meticulous in your project"}]},"/docs/onboarding-guide":{nextSteps:[{title:"Install the Recorder",href:"/docs/recorder-installation",description:"Add the session recorder to your application"},{title:"Setup CI Tests",href:"/docs/ci",description:"Configure tests to run in your CI pipeline"}],relatedGuides:[{title:"FAQ & Troubleshooting",href:"/docs/faq-and-troubleshooting"}]},"/docs/recorder-installation":{nextSteps:[{title:"Setup CI Tests",href:"/docs/ci",description:"Configure tests to run in your CI pipeline"}],relatedGuides:[{title:"Troubleshoot Recorder",href:"/docs/how-to/troubleshoot-recorder"},{title:"CSP Exceptions for Recorder",href:"/docs/session-recording/csp-exceptions"}]},"/docs/how-to/recorder-script":{nextSteps:[{title:"Setup CI Tests",href:"/docs/ci",description:"Configure tests to run in your CI pipeline"}],relatedGuides:[{title:"Troubleshoot Recorder",href:"/docs/how-to/troubleshoot-recorder"},{title:"CSP Exceptions for Recorder",href:"/docs/session-recording/csp-exceptions"}]},"/docs/additional-guides/recorder-script-backend-testing":{nextSteps:[{title:"Install the backend recorder",href:"/docs/additional-guides/backend-recorder",description:"Capture the server-side spans of your users' sessions"}],relatedGuides:[{title:"Troubleshoot Recorder",href:"/docs/how-to/troubleshoot-recorder"},{title:"CSP Exceptions for Recorder",href:"/docs/session-recording/csp-exceptions"}]},"/docs/additional-guides/backend-recorder":{nextSteps:[{title:"Setting up Meticulous tests to run in your CI provider",href:"/docs/github-actions-v2",description:"Run tests in GitHub Actions or other CI providers"}]},"/docs/session-recording/recorder-npm-dependency":{nextSteps:[{title:"Setup CI Tests",href:"/docs/ci",description:"Configure tests to run in your CI pipeline"}],relatedGuides:[{title:"Troubleshoot Recorder",href:"/docs/how-to/troubleshoot-recorder"},{title:"CSP Exceptions for Recorder",href:"/docs/session-recording/csp-exceptions"}]},"/docs/ci":{nextSteps:[{title:"Setting up Meticulous tests to run in your CI provider",href:"/docs/github-actions-v2",description:"Run tests in GitHub Actions or other CI providers"}]},"/docs/cloud-replay":{relatedGuides:[{title:"Make CI Check Blocking",href:"/docs/make-check-blocking"},{title:"Testing Multiple Apps",href:"/docs/how-to/testing-multiple-apps-or-app-variants"}]},"/docs/github-actions-v2":{nextSteps:[{title:"Verify the complete setup",href:"/docs/onboarding-guide#3-verify-the-complete-setup",de
103scription:"Confirm recording, replay, baselines, and pull request results"}],relatedGuides:[{title:"Make CI Check Blocking",href:"/docs/make-check-blocking"},{title:"Troubleshoot Failed Simulations",href:"/docs/how-to/troubleshoot-failed-simulations"}]},"/docs/how-to/auth/bypassing-auth":{relatedGuides:[{title:"Enabling Full Auth",href:"/docs/how-to/auth/enabling-full-auth"},{title:"Troubleshoot Auth",href:"/docs/how-to/troubleshoot-auth"}]},"/docs/how-to/auth/enabling-full-auth":{relatedGuides:[{title:"Bypassing Auth",href:"/docs/how-to/auth/bypassing-auth"},{title:"Troubleshoot Auth",href:"/docs/how-to/troubleshoot-auth"}]},"/docs/how-to/fix-false-positive-diffs":{relatedGuides:[{title:"Meticulous Window Object",href:"/docs/how-to/window-meticulous-object"},{title:"Record and Replay on Different Environments",href:"/docs/how-to/record-and-replay-on-different-environments"}]},"/docs/how-to/troubleshoot-failed-simulations":{relatedGuides:[{title:"Troubleshoot Replay Accuracy",href:"/docs/how-to/troubleshoot-replay-accuracy"},{title:"Troubleshoot Auth",href:"/docs/how-to/troubleshoot-auth"},{title:"Record and Replay on Different Environments",href:"/docs/how-to/record-and-replay-on-different-environments"}]},"/docs/how-to/testing-feature-flags":{relatedGuides:[{title:"Meticulous Window Object",href:"/docs/how-to/window-meticulous-object"},{title:"Testing Pool",href:"/docs/how-to/testing-pool"}]}},E=e=>{let n,s,i,a,l,c,d,u,p,m,h,f=(0,r.c)(18),{guide:g}=e,b=g.href;return f[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,o.default)("block","p-5","rounded-lg","border","border-zinc-200","bg-white","dark:border-zinc-800","dark:bg-zinc-900","hover:border-indigo-500","hover:shadow-md","transition-all","duration-200","group"),s=(0,o.default)("flex","items-start","gap-3"),f[0]=n,f[1]=s):(n=f[0],s=f[1]),f[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(v,{className:(0,o.default)("h-5","w-5","text-zinc-500","group-hover:text-indigo-500","transition-colors","shrink-0","mt-0.5")}),a=(0,o.default)("flex-1","min-w-0"),l=(0,o.default)("text-base","font-semibold","text-zinc-800","dark:text-zinc-200","group-hover:text-indigo-500","dark:group-hover:text-indigo-400","transition-colors","mb-1"),f[2]=i,f[3]=a,f[4]=l):(i=f[2],a=f[3],l=f[4]),f[5]!==g.title?(c=(0,t.jsx)("h3",{className:l,children:g.title}),f[5]=g.title,f[6]=c):c=f[6],f[7]!==g.description?(d=g.description&&(0,t.jsx)("p",{className:(0,o.default)("text-sm","text-zinc-600","dark:text-zinc-400","line-clamp-2"),children:g.description}),f[7]=g.description,f[8]=d):d=f[8],f[9]!==c||f[10]!==d?(u=(0,t.jsxs)("div",{className:a,children:[c,d]}),f[9]=c,f[10]=d,f[11]=u):u=f[11],f[12]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(y.ArrowRightIcon,{className:(0,o.default)("h-5","w-5","text-zinc-400","group-hover:text-indigo-500","group-hover:translate-x-1","transition-all","shrink-0","mt-0.5")}),f[12]=p):p=f[12],f[13]!==u?(m=(0,t.jsxs)("div",{className:s,children:[i,u,p]}),f[13]=u,f[14]=m):m=f[14],f[15]!==g.href||f[16]!==m?(h=(0,t.jsx)(w.default,{href:b,className:n,children:m}),f[15]=g.href,f[16]=m,f[17]=h):h=f[17],h},S=()=>{let e,n,s,a,l=(0,r.c)(8),c=k[(0,i.useRouter)().pathname];return c&&(c.nextSteps||c.relatedGuides)?(l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.default)("mt-16","pt-8","border-t","border-zinc-200","dark:border-zinc-800"),l[0]=e):e=l[0],l[1]!==c.nextSteps?(n=c.nextSteps&&c.nextSteps.length>0&&(0,t.jsxs)("section",{className:(0,o.default)("mb-8"),children:[(0,t.jsx)("h2",{className:(0,o.default)("text-xl","font-bold","text-zinc-800","dark:text-zinc-100","mb-4","flex","items-center","gap-2"),children:"Next Steps"}),(0,t.jsx)("div",{className:(0,o.default)("grid","gap-4","md:grid-cols-2"),children:c.nextSteps.map(C)})]}),l[1]=c.nextSteps,l[2]=n):n=l[2],l[3]!==c.relatedGuides?(s=c.relatedGuides&&c.relatedGuides.length>0&&(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:(0,o.default)("text-xl","font-bold","text-zinc-800","dark:text-zinc-100","mb-4","flex","items-center","gap-2"),children:"Related Guides"}),(0,t.jsx)("div",{className:(0,o.default)("grid","gap-4","md:grid-cols-2"),children:c.relatedGuides.map(j)})]}),l[3]=c.relatedGuides,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(a=(0,t.jsxs)("div",{className:e,children:[n,s]}),l[5]=n,l[6]=s,l[7]=a):a=l[7],a):null};function C(e){return(0,t.jsx)(E,{guide:e},e.href)}function j(e){return(0,t.jsx)(E,{guide:e},e.href)}var R=e.i(278928),N=e.i(552099),I=e.i(44167),_=e.i(596760),P=e.i(39786),T=e.i(961504),L=e.i(190923),M=e.i(326659),A=e.i(831288),D=e.i(989571),O=e.i(444717),z=e.i(314681);let B=e=>{let t,n,o=(0,r.c)(4),{expandKey:s,open:i}=e;return o[0]!==s||o[1]!==i?(t=()=>{(0,L.setDocsSidebarSectionExpanded)(s,i)},n=[s,i],o[0]=s,o[1]=i,o[2]=t,o[3]=n):(t=o[2],n=o[3]),(0,a.useEffect)(t,n),null},G=(e,t)=>!!e&&e.some(e=>!!e.href&&t===e.href||G(e.childItems,t)),U=e=>{let n,s=(0,r.c)(15),a=(0,i.useRouter)(),l=e.variant??"dark",c="light"===l,d=e.href&&a.pathname===e.href;if(s[0]!==d||s[1]!==c||s[2]!==e||s[3]!==a||s[4]!==l){let r,i,u=G(e.childItems,a.pathname),p=null!=e.expandSectionId?(0,L.docsSidebarExpandKey)(e.expandSectionId,e.name):e.name;s[6]!==e||s[7]!==a?(r=null==e.href&&null==e.onClick?void 0:t=>{t.preventDefault(),t.stopPropagation(),e.onClick?e.onClick():null!=e.href&&a.push(e.href).catch(z.handleError)},s[6]=e,s[7]=a,s[8]=r):r=s[8];let m=r;
103s[9]!==d||s[10]!==c||s[11]!==e.href||s[12]!==e.isNestedItem||s[13]!==e.onClick?(i=(0,o.default)("rounded-md",c?(0,o.default)("text-[13px] font-normal leading-5",e.isNestedItem?"block py-1 pr-2 pl-8":"flex items-center gap-2 py-1 pr-2 pl-3",d?"text-indigo-500 dark:text-indigo-400":"text-zinc-600 hover:text-black dark:text-zinc-400 dark:hover:text-white"):(0,o.default)("text-sm leading-6",e.isNestedItem?"block py-1.5 my-0.5 pr-2 pl-9":"flex items-center gap-2 py-2 pr-2 pl-3 font-medium",d?"bg-zinc-800 text-white":e.isNestedItem?"hover:bg-zinc-800":"text-zinc-200 hover:bg-zinc-800 hover:text-white"),!e.href&&e.onClick&&"cursor-pointer"),s[9]=d,s[10]=c,s[11]=e.href,s[12]=e.isNestedItem,s[13]=e.onClick,s[14]=i):i=s[14];let h=i;n=(0,t.jsx)("li",{children:e.isSectionLabel&&e.childItems?(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:(0,o.default)("flex items-center gap-1.5",c?"px-1 mb-2 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-400 dark:text-zinc-500":"px-3 mb-2 text-xs font-semibold uppercase tracking-wide text-zinc-500"),children:[e.name,"string"==typeof e.badge?(0,t.jsx)("span",{className:(0,o.default)("rounded-sm px-1 py-px text-[10px] font-medium tracking-normal normal-case",c?"bg-zinc-100 text-zinc-500":"bg-zinc-700 text-zinc-300"),children:e.badge}):null]}),(0,t.jsx)("ul",{role:"list",className:c?"space-y-0.5":"space-y-1",children:e.childItems.map(r=>(0,t.jsx)(U,{...r,isNestedItem:!1,variant:l,expandSectionId:e.expandSectionId},r.name))})]}):e.childItems?(0,t.jsx)(D.Disclosure,{as:"div",defaultOpen:W({expandKey:p,current:!!d,hasActiveDescendant:u,defaultExpanded:e.defaultExpanded,persistExpanded:c}),children:r=>{let{open:n}=r,s=(0,o.default)("flex w-full items-center rounded-md text-left",c?(0,o.default)("text-[13px] font-normal leading-5",d?"text-indigo-500 dark:text-indigo-400":u?"text-black dark:text-white":"text-zinc-600 hover:text-black dark:text-zinc-400 dark:hover:text-white"):(0,o.default)("text-sm leading-6",!e.isNestedItem&&"font-medium",d?"bg-zinc-800 text-white":"text-zinc-400 hover:bg-zinc-800 hover:text-white")),i=(0,t.jsx)(O.ChevronRightIcon,{className:(0,o.default)("shrink-0 transition-transform duration-200 ease-out",c?"h-4 w-4":"h-5 w-5",n?c?"rotate-90 text-zinc-400 dark:text-zinc-500":"rotate-90 text-zinc-500":c?"text-zinc-300 dark:text-zinc-600":"text-zinc-400"),"aria-hidden":"true"}),a=null!=e.href||null!=e.onClick,h=c?"py-1 pl-2 pr-2":"py-2 pl-2 pr-3",f=c?"py-1 pr-2":"py-2 pr-2";return(0,t.jsxs)(t.Fragment,{children:[c?(0,t.jsx)(B,{expandKey:p,open:n}):null,a?(0,t.jsxs)("div",{className:s,children:[(0,t.jsx)(D.Disclosure.Button,{className:(0,o.default)(h,"rounded-md"),"aria-label":n?`Collapse ${e.name}`:`Expand ${e.name}`,children:i}),(0,t.jsx)("a",{href:e.href,onClick:m,role:!e.href&&e.onClick?"button":void 0,className:(0,o.default)("flex-1 cursor-pointer",f),children:e.name})]}):(0,t.jsxs)(D.Disclosure.Button,{className:(0,o.default)(s,c?"gap-x-2 px-2 py-1":"gap-x-3 p-2"),children:[i,e.name]}),(0,t.jsx)("div",{className:(0,o.default)("grid transition-[grid-template-rows] duration-200 ease-out",n?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",inert:!n||void 0,children:(0,t.jsx)("ul",{className:(0,o.default)("px-1",(e.childItems??[]).some($)?c?"mt-3 space-y-4":"mt-1 space-y-2":c?"mt-0.5":"mt-1"),children:(e.childItems??[]).map(r=>(0,t.jsx)(U,{...r,isNestedItem:!0,variant:l,expandSectionId:e.expandSectionId},r.name))})})})]})}}):(0,t.jsxs)("a",{href:e.href,onClick:m,role:!e.href&&e.onClick?"button":void 0,className:h,children:[e.icon,(0,t.jsx)("span",{children:e.name}),e.badge?"string"==typeof e.badge?(0,t.jsx)("span",{className:(0,o.default)("ml-auto","px-2","py-0.5","text-xs","font-medium","rounded-sm",c?"bg-zinc-100 text-zinc-500 dark:bg-zinc-800 dark:text-zinc-400":"bg-zinc-700 text-zinc-300"),children:e.badge}):(0,t.jsx)("span",{className:"ml-auto shrink-0",children:e.badge}):null]})},e.name),s[0]=d,s[1]=c,s[2]=e,s[3]=a,s[4]=l,s[5]=n}else n=s[5];return n},W=({expandKey:e,current:t,hasActiveDescendant:r,defaultExpanded:n,persistExpanded:o})=>{if(t||r)return!0;
103if(o){let t=(0,L.getDocsSidebarSectionExpanded)(e);if(void 0!==t)return t}return n??!0};function $(e){return e.isSectionLabel}let F=e=>({name:e.name,href:e.href,defaultExpanded:e.defaultExpanded,isSectionLabel:e.isSectionLabel,badge:e.badge,childItems:e.childItems?.map(F)}),H=()=>{let e,n,s,l,c,d,u,p,m,f=(0,r.c)(16),g=(0,i.useRouter)(),{onClose:b}=(0,N.useSidebarContext)(),x=(0,I.useIsAdmin)(),y=(0,_.useDelayedClientMount)(),v=(0,M.getActiveDocsSection)(g.pathname),w=v.id;f[0]!==g.asPath?(e=g.asPath.split("#")[0]??g.asPath,f[0]=g.asPath,f[1]=e):e=f[1];let k=e;f[2]!==b?(n=()=>{b?.()},f[2]=b,f[3]=n):n=f[3],f[4]!==b||f[5]!==k?(s=[k,b],f[4]=b,f[5]=k,f[6]=s):s=f[6],(0,a.useEffect)(n,s),f[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(A.DocsMobileProductNav,{}),f[7]=l):l=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"my-3 flex items-center px-3","aria-hidden":"true",children:(0,t.jsx)("div",{className:"w-full border-t border-zinc-200 dark:border-zinc-800"})}),f[8]=c):c=f[8];let E=M.DOCS_NAV_SECTIONS.map(e=>(0,t.jsx)(U,{name:e.name,href:e.href,childItems:e.sidebarItems.map(F),defaultExpanded:e.id===v.id,variant:"light",expandSectionId:"mobile-hierarchy"},e.id));f[9]!==E?(d=(0,t.jsxs)("li",{className:"lg:hidden",children:[l,c,(0,t.jsx)("ul",{role:"list",className:"space-y-0.5 px-2",children:E})]}),f[9]=E,f[10]=d):d=f[10];let S=v.sidebarItems.some(V)?"space-y-4":"space-y-0.5";f[11]!==S?(u=(0,o.default)("px-2",S),f[11]=S,f[12]=u):u=f[12];let C=(0,t.jsxs)("ul",{role:"list",className:"flex flex-1 flex-col gap-y-6 pb-8",children:[d,(0,t.jsxs)("li",{className:"hidden lg:block",children:[v.sidebarItems.some(q)?null:(0,t.jsx)("div",{className:"px-2",children:(0,t.jsx)("div",{className:"px-1 mb-2 text-[11px] font-semibold uppercase tracking-[0.08em] text-zinc-400 dark:text-zinc-500",children:v.name})}),(0,t.jsx)("ul",{role:"list",className:u,children:v.sidebarItems.map(e=>{let r;return r=v.id,(0,t.jsx)(U,{...F(e),variant:"light",expandSectionId:r},e.name)})})]}),y&&x?(0,t.jsxs)("li",{children:[(0,t.jsx)("div",{className:"inset-0 flex items-center px-3","aria-hidden":"true",children:(0,t.jsx)("div",{className:"w-full border-t border-zinc-200 dark:border-zinc-800"})}),(0,t.jsx)("ul",{role:"list",className:"mt-3 space-y-0.5 px-2",children:(0,t.jsx)(U,{name:"Additional Guides",href:P.ADDITIONAL_GUIDES_URL,badge:(0,t.jsx)(R.AdminBadge,{}),variant:"light",expandSectionId:v.id})})]}):null]});return f[13]===Symbol.for("react.memo_cache_sentinel")?(p=(0,o.default)(h.DOCS_HEADER_TOP_OFFSET_CLASS,h.DOCS_HEADER_SIDEBAR_HEIGHT_CLASS),f[13]=p):p=f[13],f[14]!==w?(m=e=>{(0,L.setDocsSidebarScrollTop)(w,e)},f[14]=w,f[15]=m):m=f[15],(0,t.jsx)(T.Sidebar,{menuContent:C,menuBottomContent:null,hideLogo:!0,variant:"light",desktopPosition:"sticky",desktopBreakpoint:"lg",desktopWidthClassName:"lg:w-72",desktopPositionClassName:p,persistedScrollTop:(0,L.getDocsSidebarScrollTop)(w),scrollRestoreKey:w,onScrollPositionChange:m})};function q(e){return e.isSectionLabel}function V(e){return e.isSectionLabel}e.s(["DocPage",0,e=>{let y,v,w,k,E,C,j,R,N,I,_,P,T,L,M,A,D,O=(0,r.c)(30),{frontmatter:z,content:B,markdownSource:G}=e,U=void 0===G?null:G,W=(0,i.useRouter)();if(O[0]!==z)y=z?.title?`Meticulous - Docs - ${z.title}`:"Meticulous - Docs",O[0]=z,O[1]=y;else y=O[1];let $=y;O[2]!==B?(v=n.renderers.react(B,a.default,{components:l.components}),O[2]=B,O[3]=v):v=O[3];let F=v;O[4]!==W.pathname?(w=(0,p.docsUrlToMarkdownPath)(W.pathname),O[4]=W.pathname,O[5]=w):w=O[5];let q=w;return O[6]!==$?(k=(0,t.jsx)("title",{children:$}),O[6]=$,O[7]=k):k=O[7],O[8]!==q?(E=(0,t.jsx)("link",{rel:"alternate",type:"text/markdown",href:q}),O[8]=q,O[9]=E):E=O[9],O[10]!==k||O[11]!==E?(C=(0,t.jsxs)(s.default,{children:[k,E]}),O[10]=k,O[11]=E,O[12]=C):C=O[12],O[13]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(m.DocsHeader,{}),O[13]=j):j=O[13],O[14]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)(H,{}),O[14]=R):R=O[14],O[15]===Symbol.for("react.memo_cache_sentinel")?(N=(0,o.default)("min-w-0","bg-white","text-indigo-900","dark:bg-zinc-900","dark:text-zinc-100","pt-4","pb-12","sm:py-12",h.DOCS_HEADER_MAIN_MIN_HEIGHT_CLASS),O[15]=N):N=O[15],O[16]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)(g,{}),_=(0,o.default)("mx-auto","w-full","min-w-0","max-w-4xl","overflow-x-clip","px-4","sm:px-6","lg:px-8"),O[16]=I,O[17]=_):(I=O[16],_=O[17]),O[18]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)(S,{}),O[18]=P):P=O[18],O[19]!==F?(T=(0,t.jsxs)(x.DocPageProjectContextProvider,{children:[F,P]}),O[19]=F,O[20]=T):T=O[20],O[21]!==U||O[22]!==T?(L=(0,t.jsxs)(c.SidebarLayout,{children:[j,(0,t.jsxs)("div",{className:"lg:flex lg:items-start",children:[R,(0,t.jsxs)(d.SidebarMain,{className:N,desktopPaddingClassName:"lg:pl-0",hideMobileHeader:!0,children:[I,(0,t.jsx)("div",{className:_,children:(0,t.jsx)(b.DocsPageMarkdownProvider,{markdownSource:U,children:T})})]})]})]}),O[21]=U,O[22]=T,O[23]=L):L=O[23],O[24]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)(f.DocsSearch,{}),O[24]=M):M=O[24],O[25]!==L?(A=(0,t.jsxs)("div",{className:h.DOCS_CHROME_CLASS,children:[L,M]}),O[25]=L,O[26]=A):A=O[26],O[27]!==A||O[28]!==C?(D=(0,t.jsxs)(u.SearchProvider,{children:[C,A]}),O[27]=A,O[28]=C,O[29]=D):D=O[29],D}],766759)},136195,e=>{"use strict";let t="meticulous.docs.theme",r=e=>{document.documentElement.classList.toggle("dark",e)};e.s(["applyDocsThemeClass",0,r,"getStoredDocsTheme",0,()=>{try{let e=window.localStorage.getItem(t);return"light"===e||"dark"===e?e:null}catch{return null}},"isDocsThemedPath",0,e=>["/docs","/changelog"].some(t=>e===t||e.startsWith(`${t}/`)),"toggleDocsTheme",0,()=>{let e=!document.documentElement.classList.contains("dark");try{window.localStorage.setItem(t,e?"dark":"light")}catch{}r(e)}])},596760,e=>{"use strict";var t=e.i(35203),r=e.i(687652);let n=!1;e.s(["useDelayedClientMount",0,()=>{let e,o,s=(0,t.c)(2),[i,a]=(0,r.useState)(n);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{n=!0,a(!0)},o=[],s[0]=e,s[1]=o):(e=s[0],o=s[1]),(0,r.useLayoutEffect)(e,o),i}])}]); 104 105//# debugId=fae6ed3e-4530-f990-327e-0e701301877d
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.