@isardsat/editorial-admin 6.3.3 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/assets/{authSlice-DST6tNnU.js → authSlice-Ck6mjgyY.js} +163 -163
- package/build/client/assets/button-D_tNOZW3.js +1 -0
- package/build/client/assets/calendar-6ih_JEvR.js +6 -0
- package/build/client/assets/chunk-EF7DTUVF-MlADC7xe.js +51 -0
- package/build/client/assets/{createLucideIcon-BOhrmKcl.js → createLucideIcon-BJQzFwzJ.js} +1 -1
- package/build/client/assets/dashboard-CCf5hKPx.js +1 -0
- package/build/client/assets/dashboard._collection-wP1ZB_LW.js +26 -0
- package/build/client/assets/dashboard._collection._document-DIZN2iYh.js +1 -0
- package/build/client/assets/dashboard._collection.new-CwbH5p80.js +1 -0
- package/build/client/assets/dashboard._layout-DvaVEgFX.js +46 -0
- package/build/client/assets/dashboard.files-yiR8nzfC.js +1 -0
- package/build/client/assets/entry.client-BI4QA1ti.js +29 -0
- package/build/client/assets/external-link-D1If5twJ.js +6 -0
- package/build/client/assets/files-JeyUc7x_.js +26 -0
- package/build/client/assets/home-B0S_vIyA.js +1 -0
- package/build/client/assets/index-BCIQh_1v.js +55 -0
- package/build/client/assets/index-BKOWzfnu.js +1 -0
- package/build/client/assets/index-BkW3jRP3.js +22 -0
- package/build/client/assets/index-b67bZzAe.js +1 -0
- package/build/client/assets/{index-BnyqKVWo.js → index-xBXWoUIa.js} +1 -1
- package/build/client/assets/itemForm-Cmaxg87K.css +1 -0
- package/build/client/assets/itemForm-GgzEy97l.js +106 -0
- package/build/client/assets/manifest-4c29314e.js +1 -0
- package/build/client/assets/root-CB55qcm6.css +1 -0
- package/build/client/assets/root-CBzRfVLY.js +1 -0
- package/build/client/assets/spinner-C6NBcdtB.js +11 -0
- package/build/client/assets/trash-CN5HT_ZJ.js +11 -0
- package/build/client/assets/types-DI1nugUt.js +6 -0
- package/build/client/assets/upload-CopmcV94.js +11 -0
- package/build/client/assets/utils-DN8wQ0jG.js +9 -0
- package/build/client/index.html +3 -3
- package/package.json +7 -7
- package/build/client/assets/button-DjJX-cbR.js +0 -1
- package/build/client/assets/chevron-down-CYVLN3e-.js +0 -6
- package/build/client/assets/chunk-EF7DTUVF-CZaHNoTs.js +0 -51
- package/build/client/assets/dashboard-BjYHjaPP.js +0 -1
- package/build/client/assets/dashboard._collection-U37ELAZn.js +0 -16
- package/build/client/assets/dashboard._collection._document-Dt2belpf.js +0 -1
- package/build/client/assets/dashboard._collection.new-B-0plYyF.js +0 -1
- package/build/client/assets/dashboard._layout-CvH5YBY6.js +0 -61
- package/build/client/assets/dashboard.files-7tsycrA_.js +0 -36
- package/build/client/assets/editorialApi-CqxxtYzA.js +0 -9
- package/build/client/assets/entry.client-DxhHtLqO.js +0 -29
- package/build/client/assets/home-BkOGwoQz.js +0 -11
- package/build/client/assets/index-B0NebLYn.js +0 -1
- package/build/client/assets/index-CQvFoK7s.js +0 -22
- package/build/client/assets/index-b1VEd5BJ.js +0 -50
- package/build/client/assets/input-DA43W1bc.js +0 -6
- package/build/client/assets/itemForm-BVtnhZqg.css +0 -1
- package/build/client/assets/itemForm-CnzvRzeD.js +0 -95
- package/build/client/assets/manifest-e453e863.js +0 -1
- package/build/client/assets/root-Cuw5kjHy.js +0 -1
- package/build/client/assets/root-DdgoqUZJ.css +0 -1
- package/build/client/assets/trash-CYTPibS3.js +0 -6
- package/build/client/assets/tslib.es6-De9GV7Vy.js +0 -1
- package/build/client/assets/utils-BSDwSRl3.js +0 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import{c as Kt}from"./createLucideIcon-BJQzFwzJ.js";import{a as c,D as vr,p as C}from"./chunk-EF7DTUVF-MlADC7xe.js";import{d as Ne,P as F,a as j,f as mr,c as at,g as gr,u as qt,b as we,e as yr}from"./index-BKOWzfnu.js";import{u as K,a as wr,b as xr}from"./index-b67bZzAe.js";import{_ as ee,j as Zt,k as br}from"./authSlice-Ck6mjgyY.js";import{R as Er,a as Cr}from"./index-xBXWoUIa.js";/**
|
|
2
|
+
* @license lucide-react v0.487.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const Rr=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ks=Kt("chevron-right",Rr);/**
|
|
7
|
+
* @license lucide-react v0.487.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const Pr=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Is=Kt("x",Pr);var Ar=vr[" useId ".trim().toString()]||(()=>{}),Sr=0;function Te(e){const[t,n]=c.useState(Ar());return Ne(()=>{n(r=>r??String(Sr++))},[e]),e||(t?`radix-${t}`:"")}function ue(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>t.current?.(...n),[])}function Tr(e,t=globalThis?.document){const n=ue(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Or="DismissableLayer",et="dismissableLayer.update",Dr="dismissableLayer.pointerDownOutside",Lr="dismissableLayer.focusOutside",At,Qt=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ct=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=c.useContext(Qt),[f,p]=c.useState(null),v=f?.ownerDocument??globalThis?.document,[,h]=c.useState({}),g=K(t,R=>p(R)),d=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=d.indexOf(m),w=f?d.indexOf(f):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,E=_r(R=>{const S=R.target,D=[...u.branches].some(T=>T.contains(S));!x||D||(o?.(R),s?.(R),R.defaultPrevented||a?.())},v),P=kr(R=>{const S=R.target;[...u.branches].some(T=>T.contains(S))||(i?.(R),s?.(R),R.defaultPrevented||a?.())},v);return Tr(R=>{w===u.layers.size-1&&(r?.(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},v),c.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(At=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),St(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=At)}},[f,v,n,u]),c.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),St())},[f,u]),c.useEffect(()=>{const R=()=>h({});return document.addEventListener(et,R),()=>document.removeEventListener(et,R)},[]),C.jsx(F.div,{...l,ref:g,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:j(e.onFocusCapture,P.onFocusCapture),onBlurCapture:j(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:j(e.onPointerDownCapture,E.onPointerDownCapture)})});ct.displayName=Or;var Nr="DismissableLayerBranch",Mr=c.forwardRef((e,t)=>{const n=c.useContext(Qt),r=c.useRef(null),o=K(t,r);return c.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),C.jsx(F.div,{...e,ref:o})});Mr.displayName=Nr;function _r(e,t=globalThis?.document){const n=ue(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Jt(Dr,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function kr(e,t=globalThis?.document){const n=ue(e),r=c.useRef(!1);return c.useEffect(()=>{const o=i=>{i.target&&!r.current&&Jt(Lr,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function St(){const e=new CustomEvent(et);document.dispatchEvent(e)}function Jt(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mr(o,i):o.dispatchEvent(i)}var Ue="focusScope.autoFocusOnMount",Ye="focusScope.autoFocusOnUnmount",Tt={bubbles:!1,cancelable:!0},Ir="FocusScope",en=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=c.useState(null),u=ue(o),f=ue(i),p=c.useRef(null),v=K(t,d=>l(d)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let d=function(b){if(h.paused||!a)return;const x=b.target;a.contains(x)?p.current=x:J(p.current,{select:!0})},m=function(b){if(h.paused||!a)return;const x=b.relatedTarget;x!==null&&(a.contains(x)||J(p.current,{select:!0}))},y=function(b){if(document.activeElement===document.body)for(const E of b)E.removedNodes.length>0&&J(a)};document.addEventListener("focusin",d),document.addEventListener("focusout",m);const w=new MutationObserver(y);return a&&w.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",m),w.disconnect()}}},[r,a,h.paused]),c.useEffect(()=>{if(a){Dt.add(h);const d=document.activeElement;if(!a.contains(d)){const y=new CustomEvent(Ue,Tt);a.addEventListener(Ue,u),a.dispatchEvent(y),y.defaultPrevented||(Fr(Hr(tn(a)),{select:!0}),document.activeElement===d&&J(a))}return()=>{a.removeEventListener(Ue,u),setTimeout(()=>{const y=new CustomEvent(Ye,Tt);a.addEventListener(Ye,f),a.dispatchEvent(y),y.defaultPrevented||J(d??document.body,{select:!0}),a.removeEventListener(Ye,f),Dt.remove(h)},0)}}},[a,u,f,h]);const g=c.useCallback(d=>{if(!n&&!r||h.paused)return;const m=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,y=document.activeElement;if(m&&y){const w=d.currentTarget,[b,x]=jr(w);b&&x?!d.shiftKey&&y===x?(d.preventDefault(),n&&J(b,{select:!0})):d.shiftKey&&y===b&&(d.preventDefault(),n&&J(x,{select:!0})):y===w&&d.preventDefault()}},[n,r,h.paused]);return C.jsx(F.div,{tabIndex:-1,...s,ref:v,onKeyDown:g})});en.displayName=Ir;function Fr(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(J(r,{select:t}),document.activeElement!==n)return}function jr(e){const t=tn(e),n=Ot(t,e),r=Ot(t.reverse(),e);return[n,r]}function tn(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ot(e,t){for(const n of e)if(!Wr(n,{upTo:t}))return n}function Wr(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function $r(e){return e instanceof HTMLInputElement&&"select"in e}function J(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&$r(e)&&t&&e.select()}}var Dt=Br();function Br(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Lt(e,t),e.unshift(t)},remove(t){e=Lt(e,t),e[0]?.resume()}}}function Lt(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Hr(e){return e.filter(t=>t.tagName!=="A")}var Vr="Portal",lt=c.forwardRef((e,t)=>{const{container:n,...r}=e,[o,i]=c.useState(!1);Ne(()=>i(!0),[]);const s=n||o&&globalThis?.document?.body;return s?Er.createPortal(C.jsx(F.div,{...r,ref:t}),s):null});lt.displayName=Vr;var Xe=0;function zr(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Nt()),document.body.insertAdjacentElement("beforeend",e[1]??Nt()),Xe++,()=>{Xe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Xe--}},[])}function Nt(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Oe="right-scroll-bar-position",De="width-before-scroll-bar",Ur="with-scroll-bars-hidden",Yr="--removed-body-scroll-bar-size";function Ge(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Xr(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Gr=typeof window<"u"?c.useLayoutEffect:c.useEffect,Mt=new WeakMap;function Kr(e,t){var n=Xr(null,function(r){return e.forEach(function(o){return Ge(o,r)})});return Gr(function(){var r=Mt.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Ge(a,null)}),i.forEach(function(a){o.has(a)||Ge(a,s)})}Mt.set(n,e)},[e]),n}function qr(e){return e}function Zr(e,t){t===void 0&&(t=qr);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var l=function(){var f=s;s=[],f.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){s.push(f),u()},filter:function(f){return s=s.filter(f),n}}}};return o}function Qr(e){e===void 0&&(e={});var t=Zr(null);return t.options=ee({async:!0,ssr:!1},e),t}var nn=function(e){var t=e.sideCar,n=Zt(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,ee({},n))};nn.isSideCarExport=!0;function Jr(e,t){return e.useMedium(t),nn}var rn=Qr(),Ke=function(){},je=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:Ke,onWheelCapture:Ke,onTouchMoveCapture:Ke}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,p=e.shards,v=e.sideCar,h=e.noRelative,g=e.noIsolation,d=e.inert,m=e.allowPinchZoom,y=e.as,w=y===void 0?"div":y,b=e.gapMode,x=Zt(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=v,P=Kr([n,t]),R=ee(ee({},x),o);return c.createElement(c.Fragment,null,f&&c.createElement(E,{sideCar:rn,removeScrollBar:u,shards:p,noRelative:h,noIsolation:g,inert:d,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:b}),s?c.cloneElement(c.Children.only(a),ee(ee({},R),{ref:P})):c.createElement(w,ee({},R,{className:l,ref:P}),a))});je.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};je.classNames={fullWidth:De,zeroRight:Oe};var eo=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function to(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eo();return t&&e.setAttribute("nonce",t),e}function no(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ro(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var oo=function(){var e=0,t=null;return{add:function(n){e==0&&(t=to())&&(no(t,n),ro(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},io=function(){var e=oo();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},on=function(){var e=io(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},so={left:0,top:0,right:0,gap:0},qe=function(e){return parseInt(e||"",10)||0},ao=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[qe(n),qe(r),qe(o)]},co=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return so;var t=ao(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},lo=on(),ce="data-scroll-locked",uo=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
12
|
+
.`.concat(Ur,` {
|
|
13
|
+
overflow: hidden `).concat(r,`;
|
|
14
|
+
padding-right: `).concat(a,"px ").concat(r,`;
|
|
15
|
+
}
|
|
16
|
+
body[`).concat(ce,`] {
|
|
17
|
+
overflow: hidden `).concat(r,`;
|
|
18
|
+
overscroll-behavior: contain;
|
|
19
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
20
|
+
padding-left: `.concat(o,`px;
|
|
21
|
+
padding-top: `).concat(i,`px;
|
|
22
|
+
padding-right: `).concat(s,`px;
|
|
23
|
+
margin-left:0;
|
|
24
|
+
margin-top:0;
|
|
25
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
26
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.`).concat(Oe,` {
|
|
30
|
+
right: `).concat(a,"px ").concat(r,`;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.`).concat(De,` {
|
|
34
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.`).concat(Oe," .").concat(Oe,` {
|
|
38
|
+
right: 0 `).concat(r,`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.`).concat(De," .").concat(De,` {
|
|
42
|
+
margin-right: 0 `).concat(r,`;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
body[`).concat(ce,`] {
|
|
46
|
+
`).concat(Yr,": ").concat(a,`px;
|
|
47
|
+
}
|
|
48
|
+
`)},_t=function(){var e=parseInt(document.body.getAttribute(ce)||"0",10);return isFinite(e)?e:0},fo=function(){c.useEffect(function(){return document.body.setAttribute(ce,(_t()+1).toString()),function(){var e=_t()-1;e<=0?document.body.removeAttribute(ce):document.body.setAttribute(ce,e.toString())}},[])},po=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;fo();var i=c.useMemo(function(){return co(o)},[o]);return c.createElement(lo,{styles:uo(i,!t,o,n?"":"!important")})},tt=!1;if(typeof window<"u")try{var Ce=Object.defineProperty({},"passive",{get:function(){return tt=!0,!0}});window.addEventListener("test",Ce,Ce),window.removeEventListener("test",Ce,Ce)}catch{tt=!1}var ie=tt?{passive:!1}:!1,ho=function(e){return e.tagName==="TEXTAREA"},sn=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ho(e)&&n[t]==="visible")},vo=function(e){return sn(e,"overflowY")},mo=function(e){return sn(e,"overflowX")},kt=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=an(e,r);if(o){var i=cn(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},go=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},yo=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},an=function(e,t){return e==="v"?vo(t):mo(t)},cn=function(e,t){return e==="v"?go(t):yo(t)},wo=function(e,t){return e==="h"&&t==="rtl"?-1:1},xo=function(e,t,n,r,o){var i=wo(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,f=s>0,p=0,v=0;do{if(!a)break;var h=cn(e,a),g=h[0],d=h[1],m=h[2],y=d-m-i*g;(g||y)&&an(e,a)&&(p+=y,v+=g);var w=a.parentNode;a=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(p)<1||!f&&Math.abs(v)<1)&&(u=!0),u},Re=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},It=function(e){return[e.deltaX,e.deltaY]},Ft=function(e){return e&&"current"in e?e.current:e},bo=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Eo=function(e){return`
|
|
49
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
50
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
51
|
+
`)},Co=0,se=[];function Ro(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(Co++)[0],i=c.useState(on)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var d=br([e.lockRef.current],(e.shards||[]).map(Ft),!0).filter(Boolean);return d.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),d.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(d,m){if("touches"in d&&d.touches.length===2||d.type==="wheel"&&d.ctrlKey)return!s.current.allowPinchZoom;var y=Re(d),w=n.current,b="deltaX"in d?d.deltaX:w[0]-y[0],x="deltaY"in d?d.deltaY:w[1]-y[1],E,P=d.target,R=Math.abs(b)>Math.abs(x)?"h":"v";if("touches"in d&&R==="h"&&P.type==="range")return!1;var S=kt(R,P);if(!S)return!0;if(S?E=R:(E=R==="v"?"h":"v",S=kt(R,P)),!S)return!1;if(!r.current&&"changedTouches"in d&&(b||x)&&(r.current=E),!E)return!0;var D=r.current||E;return xo(D,m,d,D==="h"?b:x)},[]),l=c.useCallback(function(d){var m=d;if(!(!se.length||se[se.length-1]!==i)){var y="deltaY"in m?It(m):Re(m),w=t.current.filter(function(E){return E.name===m.type&&(E.target===m.target||m.target===E.shadowParent)&&bo(E.delta,y)})[0];if(w&&w.should){m.cancelable&&m.preventDefault();return}if(!w){var b=(s.current.shards||[]).map(Ft).filter(Boolean).filter(function(E){return E.contains(m.target)}),x=b.length>0?a(m,b[0]):!s.current.noIsolation;x&&m.cancelable&&m.preventDefault()}}},[]),u=c.useCallback(function(d,m,y,w){var b={name:d,delta:m,target:y,should:w,shadowParent:Po(y)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),f=c.useCallback(function(d){n.current=Re(d),r.current=void 0},[]),p=c.useCallback(function(d){u(d.type,It(d),d.target,a(d,e.lockRef.current))},[]),v=c.useCallback(function(d){u(d.type,Re(d),d.target,a(d,e.lockRef.current))},[]);c.useEffect(function(){return se.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:v}),document.addEventListener("wheel",l,ie),document.addEventListener("touchmove",l,ie),document.addEventListener("touchstart",f,ie),function(){se=se.filter(function(d){return d!==i}),document.removeEventListener("wheel",l,ie),document.removeEventListener("touchmove",l,ie),document.removeEventListener("touchstart",f,ie)}},[]);var h=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(i,{styles:Eo(o)}):null,h?c.createElement(po,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Po(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ao=Jr(rn,Ro);var ln=c.forwardRef(function(e,t){return c.createElement(je,ee({},e,{ref:t,sideCar:Ao}))});ln.classNames=je.classNames;var So=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ae=new WeakMap,Pe=new WeakMap,Ae={},Ze=0,un=function(e){return e&&(e.host||un(e.parentNode))},To=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=un(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Oo=function(e,t,n,r){var o=To(t,Array.isArray(e)?e:[e]);Ae[n]||(Ae[n]=new WeakMap);var i=Ae[n],s=[],a=new Set,l=new Set(o),u=function(p){!p||a.has(p)||(a.add(p),u(p.parentNode))};o.forEach(u);var f=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(v){if(a.has(v))f(v);else try{var h=v.getAttribute(r),g=h!==null&&h!=="false",d=(ae.get(v)||0)+1,m=(i.get(v)||0)+1;ae.set(v,d),i.set(v,m),s.push(v),d===1&&g&&Pe.set(v,!0),m===1&&v.setAttribute(n,"true"),g||v.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};return f(t),a.clear(),Ze++,function(){s.forEach(function(p){var v=ae.get(p)-1,h=i.get(p)-1;ae.set(p,v),i.set(p,h),v||(Pe.has(p)||p.removeAttribute(r),Pe.delete(p)),h||p.removeAttribute(n)}),Ze--,Ze||(ae=new WeakMap,ae=new WeakMap,Pe=new WeakMap,Ae={})}},Do=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=So(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Oo(r,o,n,"aria-hidden")):function(){return null}},We="Dialog",[fn,Fs]=at(We),[Lo,z]=fn(We),dn=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=c.useRef(null),l=c.useRef(null),[u,f]=qt({prop:r,defaultProp:o??!1,onChange:i,caller:We});return C.jsx(Lo,{scope:t,triggerRef:a,contentRef:l,contentId:Te(),titleId:Te(),descriptionId:Te(),open:u,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(p=>!p),[f]),modal:s,children:n})};dn.displayName=We;var pn="DialogTrigger",hn=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=z(pn,n),i=K(t,o.triggerRef);return C.jsx(F.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":dt(o.open),...r,ref:i,onClick:j(e.onClick,o.onOpenToggle)})});hn.displayName=pn;var ut="DialogPortal",[No,vn]=fn(ut,{forceMount:void 0}),mn=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=z(ut,t);return C.jsx(No,{scope:t,forceMount:n,children:c.Children.map(r,s=>C.jsx(we,{present:n||i.open,children:C.jsx(lt,{asChild:!0,container:o,children:s})}))})};mn.displayName=ut;var Me="DialogOverlay",gn=c.forwardRef((e,t)=>{const n=vn(Me,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=z(Me,e.__scopeDialog);return i.modal?C.jsx(we,{present:r||i.open,children:C.jsx(_o,{...o,ref:t})}):null});gn.displayName=Me;var Mo=wr("DialogOverlay.RemoveScroll"),_o=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=z(Me,n);return C.jsx(ln,{as:Mo,allowPinchZoom:!0,shards:[o.contentRef],children:C.jsx(F.div,{"data-state":dt(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),re="DialogContent",yn=c.forwardRef((e,t)=>{const n=vn(re,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=z(re,e.__scopeDialog);return C.jsx(we,{present:r||i.open,children:i.modal?C.jsx(ko,{...o,ref:t}):C.jsx(Io,{...o,ref:t})})});yn.displayName=re;var ko=c.forwardRef((e,t)=>{const n=z(re,e.__scopeDialog),r=c.useRef(null),o=K(t,n.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return Do(i)},[]),C.jsx(wn,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:j(e.onCloseAutoFocus,i=>{i.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:j(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:j(e.onFocusOutside,i=>i.preventDefault())})}),Io=c.forwardRef((e,t)=>{const n=z(re,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return C.jsx(wn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(r.current||n.triggerRef.current?.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;n.triggerRef.current?.contains(s)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),wn=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=z(re,n),l=c.useRef(null),u=K(t,l);return zr(),C.jsxs(C.Fragment,{children:[C.jsx(en,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:C.jsx(ct,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":dt(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),C.jsxs(C.Fragment,{children:[C.jsx(Fo,{titleId:a.titleId}),C.jsx(Wo,{contentRef:l,descriptionId:a.descriptionId})]})]})}),ft="DialogTitle",xn=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=z(ft,n);return C.jsx(F.h2,{id:o.titleId,...r,ref:t})});xn.displayName=ft;var bn="DialogDescription",En=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=z(bn,n);return C.jsx(F.p,{id:o.descriptionId,...r,ref:t})});En.displayName=bn;var Cn="DialogClose",Rn=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=z(Cn,n);return C.jsx(F.button,{type:"button",...r,ref:t,onClick:j(e.onClick,()=>o.onOpenChange(!1))})});Rn.displayName=Cn;function dt(e){return e?"open":"closed"}var Pn="DialogTitleWarning",[js,An]=gr(Pn,{contentName:re,titleName:ft,docsSlug:"dialog"}),Fo=({titleId:e})=>{const t=An(Pn),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
52
|
+
|
|
53
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
54
|
+
|
|
55
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},jo="DialogDescriptionWarning",Wo=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${An(jo).contentName}}.`;return c.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Ws=dn,$s=hn,Bs=mn,Hs=gn,Vs=yn,zs=xn,Us=En,Ys=Rn,$o="Separator",jt="horizontal",Bo=["horizontal","vertical"],Sn=c.forwardRef((e,t)=>{const{decorative:n,orientation:r=jt,...o}=e,i=Ho(r)?r:jt,a=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return C.jsx(F.div,{"data-orientation":i,...a,...o,ref:t})});Sn.displayName=$o;function Ho(e){return Bo.includes(e)}var Xs=Sn;const Vo=["top","right","bottom","left"],te=Math.min,$=Math.max,_e=Math.round,Se=Math.floor,X=e=>({x:e,y:e}),zo={left:"right",right:"left",bottom:"top",top:"bottom"},Uo={start:"end",end:"start"};function nt(e,t,n){return $(e,te(t,n))}function Z(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function pe(e){return e.split("-")[1]}function pt(e){return e==="x"?"y":"x"}function ht(e){return e==="y"?"height":"width"}const Yo=new Set(["top","bottom"]);function Y(e){return Yo.has(Q(e))?"y":"x"}function vt(e){return pt(Y(e))}function Xo(e,t,n){n===void 0&&(n=!1);const r=pe(e),o=vt(e),i=ht(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ke(s)),[s,ke(s)]}function Go(e){const t=ke(e);return[rt(e),t,rt(t)]}function rt(e){return e.replace(/start|end/g,t=>Uo[t])}const Wt=["left","right"],$t=["right","left"],Ko=["top","bottom"],qo=["bottom","top"];function Zo(e,t,n){switch(e){case"top":case"bottom":return n?t?$t:Wt:t?Wt:$t;case"left":case"right":return t?Ko:qo;default:return[]}}function Qo(e,t,n,r){const o=pe(e);let i=Zo(Q(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(rt)))),i}function ke(e){return e.replace(/left|right|bottom|top/g,t=>zo[t])}function Jo(e){return{top:0,right:0,bottom:0,left:0,...e}}function Tn(e){return typeof e!="number"?Jo(e):{top:e,right:e,bottom:e,left:e}}function Ie(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Bt(e,t,n){let{reference:r,floating:o}=e;const i=Y(t),s=vt(t),a=ht(s),l=Q(t),u=i==="y",f=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,v=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-o.width,y:p};break;default:h={x:r.x,y:r.y}}switch(pe(t)){case"start":h[s]-=v*(n&&u?-1:1);break;case"end":h[s]+=v*(n&&u?-1:1);break}return h}const ei=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=Bt(u,r,l),v=r,h={},g=0;for(let d=0;d<a.length;d++){const{name:m,fn:y}=a[d],{x:w,y:b,data:x,reset:E}=await y({x:f,y:p,initialPlacement:r,placement:v,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});f=w??f,p=b??p,h={...h,[m]:{...h[m],...x}},E&&g<=50&&(g++,typeof E=="object"&&(E.placement&&(v=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:p}=Bt(u,v,l)),d=-1)}return{x:f,y:p,placement:v,strategy:o,middlewareData:h}};async function me(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:v=!1,padding:h=0}=Z(t,e),g=Tn(h),m=a[v?p==="floating"?"reference":"floating":p],y=Ie(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:l})),w=p==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),x=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},E=Ie(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:b,strategy:l}):w);return{top:(y.top-E.top+g.top)/x.y,bottom:(E.bottom-y.bottom+g.bottom)/x.y,left:(y.left-E.left+g.left)/x.x,right:(E.right-y.right+g.right)/x.x}}const ti=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=Z(e,t)||{};if(u==null)return{};const p=Tn(f),v={x:n,y:r},h=vt(o),g=ht(h),d=await s.getDimensions(u),m=h==="y",y=m?"top":"left",w=m?"bottom":"right",b=m?"clientHeight":"clientWidth",x=i.reference[g]+i.reference[h]-v[h]-i.floating[g],E=v[h]-i.reference[h],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let R=P?P[b]:0;(!R||!await(s.isElement==null?void 0:s.isElement(P)))&&(R=a.floating[b]||i.floating[g]);const S=x/2-E/2,D=R/2-d[g]/2-1,T=te(p[y],D),k=te(p[w],D),I=T,L=R-d[g]-k,O=R/2-d[g]/2+S,W=nt(I,O,L),N=!l.arrow&&pe(o)!=null&&O!==W&&i.reference[g]/2-(O<I?T:k)-d[g]/2<0,M=N?O<I?O-I:O-L:0;return{[h]:v[h]+M,data:{[h]:W,centerOffset:O-W-M,...N&&{alignmentOffset:M}},reset:N}}}),ni=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:d=!0,...m}=Z(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Q(o),w=Y(a),b=Q(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=v||(b||!d?[ke(a)]:Go(a)),P=g!=="none";!v&&P&&E.push(...Qo(a,d,g,x));const R=[a,...E],S=await me(t,m),D=[];let T=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&D.push(S[y]),p){const O=Xo(o,s,x);D.push(S[O[0]],S[O[1]])}if(T=[...T,{placement:o,overflows:D}],!D.every(O=>O<=0)){var k,I;const O=(((k=i.flip)==null?void 0:k.index)||0)+1,W=R[O];if(W&&(!(p==="alignment"?w!==Y(W):!1)||T.every(A=>A.overflows[0]>0&&Y(A.placement)===w)))return{data:{index:O,overflows:T},reset:{placement:W}};let N=(I=T.filter(M=>M.overflows[0]<=0).sort((M,A)=>M.overflows[1]-A.overflows[1])[0])==null?void 0:I.placement;if(!N)switch(h){case"bestFit":{var L;const M=(L=T.filter(A=>{if(P){const _=Y(A.placement);return _===w||_==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(_=>_>0).reduce((_,U)=>_+U,0)]).sort((A,_)=>A[1]-_[1])[0])==null?void 0:L[0];M&&(N=M);break}case"initialPlacement":N=a;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function Ht(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Vt(e){return Vo.some(t=>e[t]>=0)}const ri=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Z(e,t);switch(r){case"referenceHidden":{const i=await me(t,{...o,elementContext:"reference"}),s=Ht(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Vt(s)}}}case"escaped":{const i=await me(t,{...o,altBoundary:!0}),s=Ht(i,n.floating);return{data:{escapedOffsets:s,escaped:Vt(s)}}}default:return{}}}}},On=new Set(["left","top"]);async function oi(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Q(n),a=pe(n),l=Y(n)==="y",u=On.has(s)?-1:1,f=i&&l?-1:1,p=Z(t,e);let{mainAxis:v,crossAxis:h,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof g=="number"&&(h=a==="end"?g*-1:g),l?{x:h*f,y:v*u}:{x:v*u,y:h*f}}const ii=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await oi(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},si=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:m=>{let{x:y,y:w}=m;return{x:y,y:w}}},...l}=Z(e,t),u={x:n,y:r},f=await me(t,l),p=Y(Q(o)),v=pt(p);let h=u[v],g=u[p];if(i){const m=v==="y"?"top":"left",y=v==="y"?"bottom":"right",w=h+f[m],b=h-f[y];h=nt(w,h,b)}if(s){const m=p==="y"?"top":"left",y=p==="y"?"bottom":"right",w=g+f[m],b=g-f[y];g=nt(w,g,b)}const d=a.fn({...t,[v]:h,[p]:g});return{...d,data:{x:d.x-n,y:d.y-r,enabled:{[v]:i,[p]:s}}}}}},ai=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Z(e,t),f={x:n,y:r},p=Y(o),v=pt(p);let h=f[v],g=f[p];const d=Z(a,t),m=typeof d=="number"?{mainAxis:d,crossAxis:0}:{mainAxis:0,crossAxis:0,...d};if(l){const b=v==="y"?"height":"width",x=i.reference[v]-i.floating[b]+m.mainAxis,E=i.reference[v]+i.reference[b]-m.mainAxis;h<x?h=x:h>E&&(h=E)}if(u){var y,w;const b=v==="y"?"width":"height",x=On.has(Q(o)),E=i.reference[p]-i.floating[b]+(x&&((y=s.offset)==null?void 0:y[p])||0)+(x?0:m.crossAxis),P=i.reference[p]+i.reference[b]+(x?0:((w=s.offset)==null?void 0:w[p])||0)-(x?m.crossAxis:0);g<E?g=E:g>P&&(g=P)}return{[v]:h,[p]:g}}}},ci=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=Z(e,t),f=await me(t,u),p=Q(o),v=pe(o),h=Y(o)==="y",{width:g,height:d}=i.floating;let m,y;p==="top"||p==="bottom"?(m=p,y=v===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=p,m=v==="end"?"top":"bottom");const w=d-f.top-f.bottom,b=g-f.left-f.right,x=te(d-f[m],w),E=te(g-f[y],b),P=!t.middlewareData.shift;let R=x,S=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=w),P&&!v){const T=$(f.left,0),k=$(f.right,0),I=$(f.top,0),L=$(f.bottom,0);h?S=g-2*(T!==0||k!==0?T+k:$(f.left,f.right)):R=d-2*(I!==0||L!==0?I+L:$(f.top,f.bottom))}await l({...t,availableWidth:S,availableHeight:R});const D=await s.getDimensions(a.floating);return g!==D.width||d!==D.height?{reset:{rects:!0}}:{}}}};function $e(){return typeof window<"u"}function he(e){return Dn(e)?(e.nodeName||"").toLowerCase():"#document"}function B(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(Dn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Dn(e){return $e()?e instanceof Node||e instanceof B(e).Node:!1}function H(e){return $e()?e instanceof Element||e instanceof B(e).Element:!1}function G(e){return $e()?e instanceof HTMLElement||e instanceof B(e).HTMLElement:!1}function zt(e){return!$e()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof B(e).ShadowRoot}const li=new Set(["inline","contents"]);function xe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=V(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!li.has(o)}const ui=new Set(["table","td","th"]);function fi(e){return ui.has(he(e))}const di=[":popover-open",":modal"];function Be(e){return di.some(t=>{try{return e.matches(t)}catch{return!1}})}const pi=["transform","translate","scale","rotate","perspective"],hi=["transform","translate","scale","rotate","perspective","filter"],vi=["paint","layout","strict","content"];function mt(e){const t=gt(),n=H(e)?V(e):e;return pi.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||hi.some(r=>(n.willChange||"").includes(r))||vi.some(r=>(n.contain||"").includes(r))}function mi(e){let t=ne(e);for(;G(t)&&!fe(t);){if(mt(t))return t;if(Be(t))return null;t=ne(t)}return null}function gt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gi=new Set(["html","body","#document"]);function fe(e){return gi.has(he(e))}function V(e){return B(e).getComputedStyle(e)}function He(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ne(e){if(he(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zt(e)&&e.host||q(e);return zt(t)?t.host:t}function Ln(e){const t=ne(e);return fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:G(t)&&xe(t)?t:Ln(t)}function ge(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ln(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=B(o);if(i){const a=ot(s);return t.concat(s,s.visualViewport||[],xe(o)?o:[],a&&n?ge(a):[])}return t.concat(o,ge(o,[],n))}function ot(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Nn(e){const t=V(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=G(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=_e(n)!==i||_e(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function yt(e){return H(e)?e:e.contextElement}function le(e){const t=yt(e);if(!G(t))return X(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Nn(t);let s=(i?_e(n.width):n.width)/r,a=(i?_e(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const yi=X(0);function Mn(e){const t=B(e);return!gt()||!t.visualViewport?yi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==B(e)?!1:t}function oe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=yt(e);let s=X(1);t&&(r?H(r)&&(s=le(r)):s=le(e));const a=wi(i,n,r)?Mn(i):X(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,f=o.width/s.x,p=o.height/s.y;if(i){const v=B(i),h=r&&H(r)?B(r):r;let g=v,d=ot(g);for(;d&&r&&h!==g;){const m=le(d),y=d.getBoundingClientRect(),w=V(d),b=y.left+(d.clientLeft+parseFloat(w.paddingLeft))*m.x,x=y.top+(d.clientTop+parseFloat(w.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,p*=m.y,l+=b,u+=x,g=B(d),d=ot(g)}}return Ie({width:f,height:p,x:l,y:u})}function wt(e,t){const n=He(e).scrollLeft;return t?t.left+n:oe(q(e)).left+n}function _n(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:wt(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function xi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=q(r),a=t?Be(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=X(1);const f=X(0),p=G(r);if((p||!p&&!i)&&((he(r)!=="body"||xe(s))&&(l=He(r)),G(r))){const h=oe(r);u=le(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const v=s&&!p&&!i?_n(s,l,!0):X(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x+v.x,y:n.y*u.y-l.scrollTop*u.y+f.y+v.y}}function bi(e){return Array.from(e.getClientRects())}function Ei(e){const t=q(e),n=He(e),r=e.ownerDocument.body,o=$(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=$(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+wt(e);const a=-n.scrollTop;return V(r).direction==="rtl"&&(s+=$(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Ci(e,t){const n=B(e),r=q(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=gt();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const Ri=new Set(["absolute","fixed"]);function Pi(e,t){const n=oe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=G(e)?le(e):X(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Ut(e,t,n){let r;if(t==="viewport")r=Ci(e,n);else if(t==="document")r=Ei(q(e));else if(H(t))r=Pi(t,n);else{const o=Mn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ie(r)}function kn(e,t){const n=ne(e);return n===t||!H(n)||fe(n)?!1:V(n).position==="fixed"||kn(n,t)}function Ai(e,t){const n=t.get(e);if(n)return n;let r=ge(e,[],!1).filter(a=>H(a)&&he(a)!=="body"),o=null;const i=V(e).position==="fixed";let s=i?ne(e):e;for(;H(s)&&!fe(s);){const a=V(s),l=mt(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Ri.has(o.position)||xe(s)&&!l&&kn(e,s))?r=r.filter(f=>f!==s):o=a,s=ne(s)}return t.set(e,r),r}function Si(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Be(t)?[]:Ai(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,f)=>{const p=Ut(t,f,o);return u.top=$(p.top,u.top),u.right=te(p.right,u.right),u.bottom=te(p.bottom,u.bottom),u.left=$(p.left,u.left),u},Ut(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ti(e){const{width:t,height:n}=Nn(e);return{width:t,height:n}}function Oi(e,t,n){const r=G(t),o=q(t),i=n==="fixed",s=oe(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=X(0);function u(){l.x=wt(o)}if(r||!r&&!i)if((he(t)!=="body"||xe(o))&&(a=He(t)),r){const h=oe(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const f=o&&!r&&!i?_n(o,a):X(0),p=s.left+a.scrollLeft-l.x-f.x,v=s.top+a.scrollTop-l.y-f.y;return{x:p,y:v,width:s.width,height:s.height}}function Qe(e){return V(e).position==="static"}function Yt(e,t){if(!G(e)||V(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function In(e,t){const n=B(e);if(Be(e))return n;if(!G(e)){let o=ne(e);for(;o&&!fe(o);){if(H(o)&&!Qe(o))return o;o=ne(o)}return n}let r=Yt(e,t);for(;r&&fi(r)&&Qe(r);)r=Yt(r,t);return r&&fe(r)&&Qe(r)&&!mt(r)?n:r||mi(e)||n}const Di=async function(e){const t=this.getOffsetParent||In,n=this.getDimensions,r=await n(e.floating);return{reference:Oi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Li(e){return V(e).direction==="rtl"}const Ni={convertOffsetParentRelativeRectToViewportRelativeRect:xi,getDocumentElement:q,getClippingRect:Si,getOffsetParent:In,getElementRects:Di,getClientRects:bi,getDimensions:Ti,getScale:le,isElement:H,isRTL:Li};function Fn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mi(e,t){let n=null,r;const o=q(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:f,top:p,width:v,height:h}=u;if(a||t(),!v||!h)return;const g=Se(p),d=Se(o.clientWidth-(f+v)),m=Se(o.clientHeight-(p+h)),y=Se(f),b={rootMargin:-g+"px "+-d+"px "+-m+"px "+-y+"px",threshold:$(0,te(1,l))||1};let x=!0;function E(P){const R=P[0].intersectionRatio;if(R!==l){if(!x)return s();R?s(!1,R):r=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!Fn(u,e.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(E,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,b)}n.observe(e)}return s(!0),i}function _i(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=yt(e),f=o||i?[...u?ge(u):[],...ge(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const p=u&&a?Mi(u,n):null;let v=-1,h=null;s&&(h=new ResizeObserver(y=>{let[w]=y;w&&w.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var b;(b=h)==null||b.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let g,d=l?oe(e):null;l&&m();function m(){const y=oe(e);d&&!Fn(d,y)&&n(),d=y,g=requestAnimationFrame(m)}return n(),()=>{var y;f.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),p?.(),(y=h)==null||y.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const ki=ii,Ii=si,Fi=ni,ji=ci,Wi=ri,Xt=ti,$i=ai,Bi=(e,t,n)=>{const r=new Map,o={platform:Ni,...n},i={...o.platform,_c:r};return ei(e,t,{...o,platform:i})};var Hi=typeof document<"u",Vi=function(){},Le=Hi?c.useLayoutEffect:Vi;function Fe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Fe(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Fe(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function jn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gt(e,t){const n=jn(e);return Math.round(t*n)/n}function Je(e){const t=c.useRef(e);return Le(()=>{t.current=e}),t}function zi(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,p]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=c.useState(r);Fe(v,r)||h(r);const[g,d]=c.useState(null),[m,y]=c.useState(null),w=c.useCallback(A=>{A!==P.current&&(P.current=A,d(A))},[]),b=c.useCallback(A=>{A!==R.current&&(R.current=A,y(A))},[]),x=i||g,E=s||m,P=c.useRef(null),R=c.useRef(null),S=c.useRef(f),D=l!=null,T=Je(l),k=Je(o),I=Je(u),L=c.useCallback(()=>{if(!P.current||!R.current)return;const A={placement:t,strategy:n,middleware:v};k.current&&(A.platform=k.current),Bi(P.current,R.current,A).then(_=>{const U={..._,isPositioned:I.current!==!1};O.current&&!Fe(S.current,U)&&(S.current=U,Cr.flushSync(()=>{p(U)}))})},[v,t,n,k,I]);Le(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,p(A=>({...A,isPositioned:!1})))},[u]);const O=c.useRef(!1);Le(()=>(O.current=!0,()=>{O.current=!1}),[]),Le(()=>{if(x&&(P.current=x),E&&(R.current=E),x&&E){if(T.current)return T.current(x,E,L);L()}},[x,E,L,T,D]);const W=c.useMemo(()=>({reference:P,floating:R,setReference:w,setFloating:b}),[w,b]),N=c.useMemo(()=>({reference:x,floating:E}),[x,E]),M=c.useMemo(()=>{const A={position:n,left:0,top:0};if(!N.floating)return A;const _=Gt(N.floating,f.x),U=Gt(N.floating,f.y);return a?{...A,transform:"translate("+_+"px, "+U+"px)",...jn(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:U}},[n,a,N.floating,f.x,f.y]);return c.useMemo(()=>({...f,update:L,refs:W,elements:N,floatingStyles:M}),[f,L,W,N,M])}const Ui=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Xt({element:r.current,padding:o}).fn(n):{}:r?Xt({element:r,padding:o}).fn(n):{}}}},Yi=(e,t)=>({...ki(e),options:[e,t]}),Xi=(e,t)=>({...Ii(e),options:[e,t]}),Gi=(e,t)=>({...$i(e),options:[e,t]}),Ki=(e,t)=>({...Fi(e),options:[e,t]}),qi=(e,t)=>({...ji(e),options:[e,t]}),Zi=(e,t)=>({...Wi(e),options:[e,t]}),Qi=(e,t)=>({...Ui(e),options:[e,t]});var Ji="Arrow",Wn=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return C.jsx(F.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});Wn.displayName=Ji;var es=Wn,xt="Popper",[$n,Bn]=at(xt),[ts,Hn]=$n(xt),Vn=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return C.jsx(ts,{scope:t,anchor:r,onAnchorChange:o,children:n})};Vn.displayName=xt;var zn="PopperAnchor",Un=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Hn(zn,n),s=c.useRef(null),a=K(t,s);return c.useEffect(()=>{i.onAnchorChange(r?.current||s.current)}),r?null:C.jsx(F.div,{...o,ref:a})});Un.displayName=zn;var bt="PopperContent",[ns,rs]=$n(bt),Yn=c.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:p="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:g,...d}=e,m=Hn(bt,n),[y,w]=c.useState(null),b=K(t,ve=>w(ve)),[x,E]=c.useState(null),P=yr(x),R=P?.width??0,S=P?.height??0,D=r+(i!=="center"?"-"+i:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(u)?u:[u],I=k.length>0,L={padding:T,boundary:k.filter(is),altBoundary:I},{refs:O,floatingStyles:W,placement:N,isPositioned:M,middlewareData:A}=zi({strategy:"fixed",placement:D,whileElementsMounted:(...ve)=>_i(...ve,{animationFrame:h==="always"}),elements:{reference:m.anchor},middleware:[Yi({mainAxis:o+S,alignmentAxis:s}),l&&Xi({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?Gi():void 0,...L}),l&&Ki({...L}),qi({...L,apply:({elements:ve,rects:Pt,availableWidth:fr,availableHeight:dr})=>{const{width:pr,height:hr}=Pt.reference,Ee=ve.floating.style;Ee.setProperty("--radix-popper-available-width",`${fr}px`),Ee.setProperty("--radix-popper-available-height",`${dr}px`),Ee.setProperty("--radix-popper-anchor-width",`${pr}px`),Ee.setProperty("--radix-popper-anchor-height",`${hr}px`)}}),x&&Qi({element:x,padding:a}),ss({arrowWidth:R,arrowHeight:S}),v&&Zi({strategy:"referenceHidden",...L})]}),[_,U]=Kn(N),Rt=ue(g);Ne(()=>{M&&Rt?.()},[M,Rt]);const sr=A.arrow?.x,ar=A.arrow?.y,cr=A.arrow?.centerOffset!==0,[lr,ur]=c.useState();return Ne(()=>{y&&ur(window.getComputedStyle(y).zIndex)},[y]),C.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:M?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:lr,"--radix-popper-transform-origin":[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(ns,{scope:n,placedSide:_,onArrowChange:E,arrowX:sr,arrowY:ar,shouldHideArrow:cr,children:C.jsx(F.div,{"data-side":_,"data-align":U,...d,ref:b,style:{...d.style,animation:M?void 0:"none"}})})})});Yn.displayName=bt;var Xn="PopperArrow",os={top:"bottom",right:"left",bottom:"top",left:"right"},Gn=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=rs(Xn,r),s=os[i.placedSide];return C.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:C.jsx(es,{...o,ref:n,style:{...o.style,display:"block"}})})});Gn.displayName=Xn;function is(e){return e!==null}var ss=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,f]=Kn(n),p={start:"0%",center:"50%",end:"100%"}[f],v=(o.arrow?.x??0)+a/2,h=(o.arrow?.y??0)+l/2;let g="",d="";return u==="bottom"?(g=s?p:`${v}px`,d=`${-l}px`):u==="top"?(g=s?p:`${v}px`,d=`${r.floating.height+l}px`):u==="right"?(g=`${-l}px`,d=s?p:`${h}px`):u==="left"&&(g=`${r.floating.width+l}px`,d=s?p:`${h}px`),{data:{x:g,y:d}}}});function Kn(e){const[t,n="center"]=e.split("-");return[t,n]}var as=Vn,cs=Un,ls=Yn,us=Gn,fs=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ds="VisuallyHidden",qn=c.forwardRef((e,t)=>C.jsx(F.span,{...e,ref:t,style:{...fs,...e.style}}));qn.displayName=ds;var ps=qn,[Ve,Gs]=at("Tooltip",[Bn]),ze=Bn(),Zn="TooltipProvider",hs=700,it="tooltip.open",[vs,Et]=Ve(Zn),Qn=e=>{const{__scopeTooltip:t,delayDuration:n=hs,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=c.useRef(!0),a=c.useRef(!1),l=c.useRef(0);return c.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),C.jsx(vs,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:c.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:c.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:c.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};Qn.displayName=Zn;var ye="Tooltip",[ms,be]=Ve(ye),Jn=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:s,delayDuration:a}=e,l=Et(ye,e.__scopeTooltip),u=ze(t),[f,p]=c.useState(null),v=Te(),h=c.useRef(0),g=s??l.disableHoverableContent,d=a??l.delayDuration,m=c.useRef(!1),[y,w]=qt({prop:r,defaultProp:o??!1,onChange:R=>{R?(l.onOpen(),document.dispatchEvent(new CustomEvent(it))):l.onClose(),i?.(R)},caller:ye}),b=c.useMemo(()=>y?m.current?"delayed-open":"instant-open":"closed",[y]),x=c.useCallback(()=>{window.clearTimeout(h.current),h.current=0,m.current=!1,w(!0)},[w]),E=c.useCallback(()=>{window.clearTimeout(h.current),h.current=0,w(!1)},[w]),P=c.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{m.current=!0,w(!0),h.current=0},d)},[d,w]);return c.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),C.jsx(as,{...u,children:C.jsx(ms,{scope:t,contentId:v,open:y,stateAttribute:b,trigger:f,onTriggerChange:p,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayedRef.current?P():x()},[l.isOpenDelayedRef,P,x]),onTriggerLeave:c.useCallback(()=>{g?E():(window.clearTimeout(h.current),h.current=0)},[E,g]),onOpen:x,onClose:E,disableHoverableContent:g,children:n})})};Jn.displayName=ye;var st="TooltipTrigger",er=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=be(st,n),i=Et(st,n),s=ze(n),a=c.useRef(null),l=K(t,a,o.onTriggerChange),u=c.useRef(!1),f=c.useRef(!1),p=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),C.jsx(cs,{asChild:!0,...s,children:C.jsx(F.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:j(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:j(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:j(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:j(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:j(e.onBlur,o.onClose),onClick:j(e.onClick,o.onClose)})})});er.displayName=st;var Ct="TooltipPortal",[gs,ys]=Ve(Ct,{forceMount:void 0}),tr=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=be(Ct,t);return C.jsx(gs,{scope:t,forceMount:n,children:C.jsx(we,{present:n||i.open,children:C.jsx(lt,{asChild:!0,container:o,children:r})})})};tr.displayName=Ct;var de="TooltipContent",nr=c.forwardRef((e,t)=>{const n=ys(de,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=be(de,e.__scopeTooltip);return C.jsx(we,{present:r||s.open,children:s.disableHoverableContent?C.jsx(rr,{side:o,...i,ref:t}):C.jsx(ws,{side:o,...i,ref:t})})}),ws=c.forwardRef((e,t)=>{const n=be(de,e.__scopeTooltip),r=Et(de,e.__scopeTooltip),o=c.useRef(null),i=K(t,o),[s,a]=c.useState(null),{trigger:l,onClose:u}=n,f=o.current,{onPointerInTransitChange:p}=r,v=c.useCallback(()=>{a(null),p(!1)},[p]),h=c.useCallback((g,d)=>{const m=g.currentTarget,y={x:g.clientX,y:g.clientY},w=Cs(y,m.getBoundingClientRect()),b=Rs(y,w),x=Ps(d.getBoundingClientRect()),E=Ss([...b,...x]);a(E),p(!0)},[p]);return c.useEffect(()=>()=>v(),[v]),c.useEffect(()=>{if(l&&f){const g=m=>h(m,f),d=m=>h(m,l);return l.addEventListener("pointerleave",g),f.addEventListener("pointerleave",d),()=>{l.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",d)}}},[l,f,h,v]),c.useEffect(()=>{if(s){const g=d=>{const m=d.target,y={x:d.clientX,y:d.clientY},w=l?.contains(m)||f?.contains(m),b=!As(y,s);w?v():b&&(v(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,f,s,u,v]),C.jsx(rr,{...e,ref:i})}),[xs,bs]=Ve(ye,{isInside:!1}),Es=xr("TooltipContent"),rr=c.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=be(de,n),u=ze(n),{onClose:f}=l;return c.useEffect(()=>(document.addEventListener(it,f),()=>document.removeEventListener(it,f)),[f]),c.useEffect(()=>{if(l.trigger){const p=v=>{v.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,f]),C.jsx(ct,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:p=>p.preventDefault(),onDismiss:f,children:C.jsxs(ls,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[C.jsx(Es,{children:r}),C.jsx(xs,{scope:n,isInside:!0,children:C.jsx(ps,{id:l.contentId,role:"tooltip",children:o||r})})]})})});nr.displayName=de;var or="TooltipArrow",ir=c.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ze(n);return bs(or,n).isInside?null:C.jsx(us,{...o,...r,ref:t})});ir.displayName=or;function Cs(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Rs(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ps(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function As(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,f=a.y,p=l.x,v=l.y;f>r!=v>r&&n<(p-u)*(r-f)/(v-f)+u&&(o=!o)}return o}function Ss(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Ts(t)}function Ts(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Ks=Qn,qs=Jn,Zs=er,Qs=tr,Js=nr,ea=ir;export{ea as A,Vs as C,Us as D,en as F,Hs as O,Bs as P,Ws as R,zs as T,fs as V,js as W,Is as X,Ys as a,Xs as b,Ks as c,qs as d,Zs as e,Qs as f,Js as g,ks as h,Bn as i,as as j,cs as k,lt as l,us as m,Do as n,ln as o,zr as p,ct as q,ls as r,Fs as s,$s as t,Te as u,ue as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c,p as x,D as y}from"./chunk-EF7DTUVF-MlADC7xe.js";import{u as E,a as w}from"./index-b67bZzAe.js";import{a as b}from"./index-xBXWoUIa.js";function _(e,t){const n=c.createContext(t),r=i=>{const{children:u,...s}=i,a=c.useMemo(()=>s,Object.values(s));return x.jsx(n.Provider,{value:a,children:u})};r.displayName=e+"Provider";function o(i){const u=c.useContext(n);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function j(e,t=[]){let n=[];function r(i,u){const s=c.createContext(u),a=n.length;n=[...n,u];const f=d=>{const{scope:p,children:m,...v}=d,S=p?.[e]?.[a]||s,g=c.useMemo(()=>v,Object.values(v));return x.jsx(S.Provider,{value:g,children:m})};f.displayName=i+"Provider";function l(d,p){const m=p?.[e]?.[a]||s,v=c.useContext(m);if(v)return v;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[f,l]}const o=()=>{const i=n.map(u=>c.createContext(u));return function(s){const a=s?.[e]||i;return c.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,P(o,...t)]}function P(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const u=r.reduce((s,{useScope:a,scopeName:f})=>{const d=a(i)[`__scope${f}`];return{...s,...d}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}function L(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}var N=globalThis?.document?c.useLayoutEffect:()=>{},C=y[" useInsertionEffect ".trim().toString()]||N;function W({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,u]=A({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:o;{const l=c.useRef(e!==void 0);c.useEffect(()=>{const d=l.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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.`),l.current=s},[s,r])}const f=c.useCallback(l=>{if(s){const d=R(l)?l(e):l;d!==e&&u.current?.(d)}else i(l)},[s,e,i,u]);return[a,f]}function A({defaultProp:e,onChange:t}){const[n,r]=c.useState(e),o=c.useRef(n),i=c.useRef(t);return C(()=>{i.current=t},[t]),c.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function R(e){return typeof e=="function"}function F(e){const[t,n]=c.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let u,s;if("borderBoxSize"in i){const a=i.borderBoxSize,f=Array.isArray(a)?a[0]:a;u=f.inlineSize,s=f.blockSize}else u=e.offsetWidth,s=e.offsetHeight;n({width:u,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function M(e,t){return c.useReducer((n,r)=>t[n][r]??n,e)}var O=e=>{const{present:t,children:n}=e,r=T(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),i=E(r.ref,I(o));return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:i}):null};O.displayName="Presence";function T(e){const[t,n]=c.useState(),r=c.useRef(null),o=c.useRef(e),i=c.useRef("none"),u=e?"mounted":"unmounted",[s,a]=M(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const f=h(r.current);i.current=s==="mounted"?f:"none"},[s]),N(()=>{const f=r.current,l=o.current;if(l!==e){const p=i.current,m=h(f);e?a("MOUNT"):m==="none"||f?.display==="none"?a("UNMOUNT"):a(l&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),N(()=>{if(t){let f;const l=t.ownerDocument.defaultView??window,d=m=>{const S=h(r.current).includes(m.animationName);if(m.target===t&&S&&(a("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",f=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},p=m=>{m.target===t&&(i.current=h(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(f),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function h(e){return e?.animationName||"none"}function I(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var U=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],k=U.reduce((e,t)=>{const n=w(`Primitive.${t}`),r=c.forwardRef((o,i)=>{const{asChild:u,...s}=o,a=u?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(a,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function H(e,t){e&&b.flushSync(()=>e.dispatchEvent(t))}export{k as P,L as a,O as b,j as c,N as d,F as e,H as f,_ as g,W as u};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{p as y,a as X}from"./chunk-EF7DTUVF-MlADC7xe.js";import{a as E}from"./utils-DN8wQ0jG.js";function ut({className:e,...o}){return y.jsx("div",{"data-slot":"table-container",className:"flex relative",children:y.jsx("div",{"data-slot":"table",className:E("flex-1 caption-bottom text-sm",e),...o})})}function at({className:e,...o}){return y.jsx("div",{"data-slot":"table-header",className:E("[&_tr]:border-b",e),...o})}function gt({className:e,...o}){return y.jsx("div",{"data-slot":"table-body",className:E("[&_tr:last-child]:border-0",e),...o})}function dt({className:e,...o}){return y.jsx("div",{"data-slot":"table-row",className:E("hover:bg-muted/50 data-[state=selected]:bg-muted transition-colors",e),...o})}function ct({className:e,...o}){return y.jsx("div",{"data-slot":"table-head",className:E("flex items-center text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap border-b [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}function ft({className:e,...o}){return y.jsx("div",{"data-slot":"table-cell",className:E("p-2 align-middle whitespace-nowrap border-b [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}/**
|
|
2
|
+
* table-core
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) TanStack
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
+
*
|
|
9
|
+
* @license MIT
|
|
10
|
+
*/function pt(){return{accessor:(e,o)=>typeof e=="function"?{...o,accessorFn:e}:{...o,accessorKey:e},display:e=>e,group:e=>e}}function V(e,o){return typeof e=="function"?e(o):e}function F(e,o){return t=>{o.setState(n=>({...n,[e]:V(t,n[e])}))}}function L(e){return e instanceof Function}function Ce(e){return Array.isArray(e)&&e.every(o=>typeof o=="number")}function Re(e,o){const t=[],n=r=>{r.forEach(i=>{t.push(i);const l=o(i);l!=null&&l.length&&n(l)})};return n(e),t}function S(e,o,t){let n=[],r;return i=>{let l;t.key&&t.debug&&(l=Date.now());const s=e(i);if(!(s.length!==n.length||s.some((c,C)=>n[C]!==c)))return r;n=s;let g;if(t.key&&t.debug&&(g=Date.now()),r=o(...s),t==null||t.onChange==null||t.onChange(r),t.key&&t.debug&&t!=null&&t.debug()){const c=Math.round((Date.now()-l)*100)/100,C=Math.round((Date.now()-g)*100)/100,d=C/16,a=(f,p)=>{for(f=String(f);f.length<p;)f=" "+f;return f};console.info(`%c⏱ ${a(C,5)} /${a(c,5)} ms`,`
|
|
11
|
+
font-size: .6rem;
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
color: hsl(${Math.max(0,Math.min(120-120*d,120))}deg 100% 31%);`,t?.key)}return r}}function m(e,o,t,n){return{debug:()=>{var r;return(r=e?.debugAll)!=null?r:e[o]},key:!1,onChange:n}}function we(e,o,t,n){const r=()=>{var l;return(l=i.getValue())!=null?l:e.options.renderFallbackValue},i={id:`${o.id}_${t.id}`,row:o,column:t,getValue:()=>o.getValue(n),renderValue:r,getContext:S(()=>[e,t,o,i],(l,s,u,g)=>({table:l,column:s,row:u,cell:g,getValue:g.getValue,renderValue:g.renderValue}),m(e.options,"debugCells"))};return e._features.forEach(l=>{l.createCell==null||l.createCell(i,t,o,e)},{}),i}function ve(e,o,t,n){var r,i;const s={...e._getDefaultColumnDef(),...o},u=s.accessorKey;let g=(r=(i=s.id)!=null?i:u?typeof String.prototype.replaceAll=="function"?u.replaceAll(".","_"):u.replace(/\./g,"_"):void 0)!=null?r:typeof s.header=="string"?s.header:void 0,c;if(s.accessorFn?c=s.accessorFn:u&&(u.includes(".")?c=d=>{let a=d;for(const p of u.split(".")){var f;a=(f=a)==null?void 0:f[p]}return a}:c=d=>d[s.accessorKey]),!g)throw new Error;let C={id:`${String(g)}`,accessorFn:c,parent:n,depth:t,columnDef:s,columns:[],getFlatColumns:S(()=>[!0],()=>{var d;return[C,...(d=C.columns)==null?void 0:d.flatMap(a=>a.getFlatColumns())]},m(e.options,"debugColumns")),getLeafColumns:S(()=>[e._getOrderColumnsFn()],d=>{var a;if((a=C.columns)!=null&&a.length){let f=C.columns.flatMap(p=>p.getLeafColumns());return d(f)}return[C]},m(e.options,"debugColumns"))};for(const d of e._features)d.createColumn==null||d.createColumn(C,e);return C}const h="debugHeaders";function re(e,o,t){var n;let i={id:(n=t.id)!=null?n:o.id,column:o,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const l=[],s=u=>{u.subHeaders&&u.subHeaders.length&&u.subHeaders.map(s),l.push(u)};return s(i),l},getContext:()=>({table:e,header:i,column:o})};return e._features.forEach(l=>{l.createHeader==null||l.createHeader(i,e)}),i}const he={createTable:e=>{e.getHeaderGroups=S(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,t,n,r)=>{var i,l;const s=(i=n?.map(C=>t.find(d=>d.id===C)).filter(Boolean))!=null?i:[],u=(l=r?.map(C=>t.find(d=>d.id===C)).filter(Boolean))!=null?l:[],g=t.filter(C=>!(n!=null&&n.includes(C.id))&&!(r!=null&&r.includes(C.id)));return G(o,[...s,...g,...u],e)},m(e.options,h)),e.getCenterHeaderGroups=S(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,t,n,r)=>(t=t.filter(i=>!(n!=null&&n.includes(i.id))&&!(r!=null&&r.includes(i.id))),G(o,t,e,"center")),m(e.options,h)),e.getLeftHeaderGroups=S(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(o,t,n)=>{var r;const i=(r=n?.map(l=>t.find(s=>s.id===l)).filter(Boolean))!=null?r:[];return G(o,i,e,"left")},m(e.options,h)),e.getRightHeaderGroups=S(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(o,t,n)=>{var r;const i=(r=n?.map(l=>t.find(s=>s.id===l)).filter(Boolean))!=null?r:[];return G(o,i,e,"right")},m(e.options,h)),e.getFooterGroups=S(()=>[e.getHeaderGroups()],o=>[...o].reverse(),m(e.options,h)),e.getLeftFooterGroups=S(()=>[e.getLeftHeaderGroups()],o=>[...o].reverse(),m(e.options,h)),e.getCenterFooterGroups=S(()=>[e.getCenterHeaderGroups()],o=>[...o].reverse(),m(e.options,h)),e.getRightFooterGroups=S(()=>[e.getRightHeaderGroups()],o=>[...o].reverse(),m(e.options,h)),e.getFlatHeaders=S(()=>[e.getHeaderGroups()],o=>o.map(t=>t.headers).flat(),m(e.options,h)),e.getLeftFlatHeaders=S(()=>[e.getLeftHeaderGroups()],o=>o.map(t=>t.headers).flat(),m(e.options,h)),e.getCenterFlatHeaders=S(()=>[e.getCenterHeaderGroups()],o=>o.map(t=>t.headers).flat(),m(e.options,h)),e.getRightFlatHeaders=S(()=>[e.getRightHeaderGroups()],o=>o.map(t=>t.headers).flat(),m(e.options,h)),e.getCenterLeafHeaders=S(()=>[e.getCenterFlatHeaders()],o=>o.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),m(e.options,h)),e.getLeftLeafHeaders=S(()=>[e.getLeftFlatHeaders()],o=>o.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),m(e.options,h)),e.getRightLeafHeaders=S(()=>[e.getRightFlatHeaders()],o=>o.filter(t=>{var n;return!((n=t.subHeaders)!=null&&n.length)}),m(e.options,h)),e.getLeafHeaders=S(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(o,t,n)=>{var r,i,l,s,u,g;return[...(r=(i=o[0])==null?void 0:i.headers)!=null?r:[],...(l=(s=t[0])==null?void 0:s.headers)!=null?l:[],...(u=(g=n[0])==null?void 0:g.headers)!=null?u:[]].map(c=>c.getLeafHeaders()).flat()},m(e.options,h))}};function G(e,o,t,n){var r,i;let l=0;const s=function(d,a){a===void 0&&(a=1),l=Math.max(l,a),d.filter(f=>f.getIsVisible()).forEach(f=>{var p;(p=f.columns)!=null&&p.length&&s(f.columns,a+1)},0)};s(e);let u=[];const g=(d,a)=>{const f={depth:a,id:[n,`${a}`].filter(Boolean).join("_"),headers:[]},p=[];d.forEach(w=>{const R=[...p].reverse()[0],_=w.column.depth===f.depth;let v,M=!1;if(_&&w.column.parent?v=w.column.parent:(v=w.column,M=!0),R&&R?.column===v)R.subHeaders.push(w);else{const I=re(t,v,{id:[n,a,v.id,w?.id].filter(Boolean).join("_"),isPlaceholder:M,placeholderId:M?`${p.filter(O=>O.column===v).length}`:void 0,depth:a,index:p.length});I.subHeaders.push(w),p.push(I)}f.headers.push(w),w.headerGroup=f}),u.push(f),a>0&&g(p,a-1)},c=o.map((d,a)=>re(t,d,{depth:l,index:a}));g(c,l-1),u.reverse();const C=d=>d.filter(f=>f.column.getIsVisible()).map(f=>{let p=0,w=0,R=[0];f.subHeaders&&f.subHeaders.length?(R=[],C(f.subHeaders).forEach(v=>{let{colSpan:M,rowSpan:I}=v;p+=M,R.push(I)})):p=1;const _=Math.min(...R);return w=w+_,f.colSpan=p,f.rowSpan=w,{colSpan:p,rowSpan:w}});return C((r=(i=u[0])==null?void 0:i.headers)!=null?r:[]),u}const _e=(e,o,t,n,r,i,l)=>{let s={id:o,index:n,original:t,depth:r,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:u=>{if(s._valuesCache.hasOwnProperty(u))return s._valuesCache[u];const g=e.getColumn(u);if(g!=null&&g.accessorFn)return s._valuesCache[u]=g.accessorFn(s.original,n),s._valuesCache[u]},getUniqueValues:u=>{if(s._uniqueValuesCache.hasOwnProperty(u))return s._uniqueValuesCache[u];const g=e.getColumn(u);if(g!=null&&g.accessorFn)return g.columnDef.getUniqueValues?(s._uniqueValuesCache[u]=g.columnDef.getUniqueValues(s.original,n),s._uniqueValuesCache[u]):(s._uniqueValuesCache[u]=[s.getValue(u)],s._uniqueValuesCache[u])},renderValue:u=>{var g;return(g=s.getValue(u))!=null?g:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>Re(s.subRows,u=>u.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let u=[],g=s;for(;;){const c=g.getParentRow();if(!c)break;u.push(c),g=c}return u.reverse()},getAllCells:S(()=>[e.getAllLeafColumns()],u=>u.map(g=>we(e,s,g,g.id)),m(e.options,"debugRows")),_getAllCellsByColumnId:S(()=>[s.getAllCells()],u=>u.reduce((g,c)=>(g[c.column.id]=c,g),{}),m(e.options,"debugRows"))};for(let u=0;u<e._features.length;u++){const g=e._features[u];g==null||g.createRow==null||g.createRow(s,e)}return s},Fe={createColumn:(e,o)=>{e._getFacetedRowModel=o.options.getFacetedRowModel&&o.options.getFacetedRowModel(o,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():o.getPreFilteredRowModel(),e._getFacetedUniqueValues=o.options.getFacetedUniqueValues&&o.options.getFacetedUniqueValues(o,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=o.options.getFacetedMinMaxValues&&o.options.getFacetedMinMaxValues(o,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},le=(e,o,t)=>{var n,r;const i=t==null||(n=t.toString())==null?void 0:n.toLowerCase();return!!(!((r=e.getValue(o))==null||(r=r.toString())==null||(r=r.toLowerCase())==null)&&r.includes(i))};le.autoRemove=e=>$(e);const se=(e,o,t)=>{var n;return!!(!((n=e.getValue(o))==null||(n=n.toString())==null)&&n.includes(t))};se.autoRemove=e=>$(e);const ue=(e,o,t)=>{var n;return((n=e.getValue(o))==null||(n=n.toString())==null?void 0:n.toLowerCase())===t?.toLowerCase()};ue.autoRemove=e=>$(e);const ae=(e,o,t)=>{var n;return(n=e.getValue(o))==null?void 0:n.includes(t)};ae.autoRemove=e=>$(e);const ge=(e,o,t)=>!t.some(n=>{var r;return!((r=e.getValue(o))!=null&&r.includes(n))});ge.autoRemove=e=>$(e)||!(e!=null&&e.length);const de=(e,o,t)=>t.some(n=>{var r;return(r=e.getValue(o))==null?void 0:r.includes(n)});de.autoRemove=e=>$(e)||!(e!=null&&e.length);const ce=(e,o,t)=>e.getValue(o)===t;ce.autoRemove=e=>$(e);const fe=(e,o,t)=>e.getValue(o)==t;fe.autoRemove=e=>$(e);const Z=(e,o,t)=>{let[n,r]=t;const i=e.getValue(o);return i>=n&&i<=r};Z.resolveFilterValue=e=>{let[o,t]=e,n=typeof o!="number"?parseFloat(o):o,r=typeof t!="number"?parseFloat(t):t,i=o===null||Number.isNaN(n)?-1/0:n,l=t===null||Number.isNaN(r)?1/0:r;if(i>l){const s=i;i=l,l=s}return[i,l]};Z.autoRemove=e=>$(e)||$(e[0])&&$(e[1]);const x={includesString:le,includesStringSensitive:se,equalsString:ue,arrIncludes:ae,arrIncludesAll:ge,arrIncludesSome:de,equals:ce,weakEquals:fe,inNumberRange:Z};function $(e){return e==null||e===""}const $e={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:F("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,o)=>{e.getAutoFilterFn=()=>{const t=o.getCoreRowModel().flatRows[0],n=t?.getValue(e.id);return typeof n=="string"?x.includesString:typeof n=="number"?x.inNumberRange:typeof n=="boolean"||n!==null&&typeof n=="object"?x.equals:Array.isArray(n)?x.arrIncludes:x.weakEquals},e.getFilterFn=()=>{var t,n;return L(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(n=o.options.filterFns)==null?void 0:n[e.columnDef.filterFn])!=null?t:x[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,n,r;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((n=o.options.enableColumnFilters)!=null?n:!0)&&((r=o.options.enableFilters)!=null?r:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=o.getState().columnFilters)==null||(t=t.find(n=>n.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,n;return(t=(n=o.getState().columnFilters)==null?void 0:n.findIndex(r=>r.id===e.id))!=null?t:-1},e.setFilterValue=t=>{o.setColumnFilters(n=>{const r=e.getFilterFn(),i=n?.find(c=>c.id===e.id),l=V(t,i?i.value:void 0);if(ie(r,l,e)){var s;return(s=n?.filter(c=>c.id!==e.id))!=null?s:[]}const u={id:e.id,value:l};if(i){var g;return(g=n?.map(c=>c.id===e.id?u:c))!=null?g:[]}return n!=null&&n.length?[...n,u]:[u]})}},createRow:(e,o)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=o=>{const t=e.getAllLeafColumns(),n=r=>{var i;return(i=V(o,r))==null?void 0:i.filter(l=>{const s=t.find(u=>u.id===l.id);if(s){const u=s.getFilterFn();if(ie(u,l.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(n)},e.resetColumnFilters=o=>{var t,n;e.setColumnFilters(o?[]:(t=(n=e.initialState)==null?void 0:n.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function ie(e,o,t){return(e&&e.autoRemove?e.autoRemove(o,t):!1)||typeof o>"u"||typeof o=="string"&&!o}const xe=(e,o,t)=>t.reduce((n,r)=>{const i=r.getValue(e);return n+(typeof i=="number"?i:0)},0),Me=(e,o,t)=>{let n;return t.forEach(r=>{const i=r.getValue(e);i!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}),n},Ve=(e,o,t)=>{let n;return t.forEach(r=>{const i=r.getValue(e);i!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}),n},Pe=(e,o,t)=>{let n,r;return t.forEach(i=>{const l=i.getValue(e);l!=null&&(n===void 0?l>=l&&(n=r=l):(n>l&&(n=l),r<l&&(r=l)))}),[n,r]},Ie=(e,o)=>{let t=0,n=0;if(o.forEach(r=>{let i=r.getValue(e);i!=null&&(i=+i)>=i&&(++t,n+=i)}),t)return n/t},ye=(e,o)=>{if(!o.length)return;const t=o.map(i=>i.getValue(e));if(!Ce(t))return;if(t.length===1)return t[0];const n=Math.floor(t.length/2),r=t.sort((i,l)=>i-l);return t.length%2!==0?r[n]:(r[n-1]+r[n])/2},Ee=(e,o)=>Array.from(new Set(o.map(t=>t.getValue(e))).values()),De=(e,o)=>new Set(o.map(t=>t.getValue(e))).size,He=(e,o)=>o.length,T={sum:xe,min:Me,max:Ve,extent:Pe,mean:Ie,median:ye,unique:Ee,uniqueCount:De,count:He},Ge={getDefaultColumnDef:()=>({aggregatedCell:e=>{var o,t;return(o=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?o:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:F("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,o)=>{e.toggleGrouping=()=>{o.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(n=>n!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,n;return((t=e.columnDef.enableGrouping)!=null?t:!0)&&((n=o.options.enableGrouping)!=null?n:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var t;return(t=o.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=o.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=o.getCoreRowModel().flatRows[0],n=t?.getValue(e.id);if(typeof n=="number")return T.sum;if(Object.prototype.toString.call(n)==="[object Date]")return T.extent},e.getAggregationFn=()=>{var t,n;if(!e)throw new Error;return L(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(n=o.options.aggregationFns)==null?void 0:n[e.columnDef.aggregationFn])!=null?t:T[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=o=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(o),e.resetGrouping=o=>{var t,n;e.setGrouping(o?[]:(t=(n=e.initialState)==null?void 0:n.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,o)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const n=o.getColumn(t);return n!=null&&n.columnDef.getGroupingValue?(e._groupingValuesCache[t]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,o,t,n)=>{e.getIsGrouped=()=>o.getIsGrouped()&&o.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&o.getIsGrouped(),e.getIsAggregated=()=>{var r;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((r=t.subRows)!=null&&r.length)}}};function Ae(e,o,t){if(!(o!=null&&o.length)||!t)return e;const n=e.filter(i=>!o.includes(i.id));return t==="remove"?n:[...o.map(i=>e.find(l=>l.id===i)).filter(Boolean),...n]}const ze={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:F("columnOrder",e)}),createColumn:(e,o)=>{e.getIndex=S(t=>[H(o,t)],t=>t.findIndex(n=>n.id===e.id),m(o.options,"debugColumns")),e.getIsFirstColumn=t=>{var n;return((n=H(o,t)[0])==null?void 0:n.id)===e.id},e.getIsLastColumn=t=>{var n;const r=H(o,t);return((n=r[r.length-1])==null?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=o=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(o),e.resetColumnOrder=o=>{var t;e.setColumnOrder(o?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=S(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(o,t,n)=>r=>{let i=[];if(!(o!=null&&o.length))i=r;else{const l=[...o],s=[...r];for(;s.length&&l.length;){const u=l.shift(),g=s.findIndex(c=>c.id===u);g>-1&&i.push(s.splice(g,1)[0])}i=[...i,...s]}return Ae(i,t,n)},m(e.options,"debugTable"))}},B=()=>({left:[],right:[]}),Le={getInitialState:e=>({columnPinning:B(),...e}),getDefaultOptions:e=>({onColumnPinningChange:F("columnPinning",e)}),createColumn:(e,o)=>{e.pin=t=>{const n=e.getLeafColumns().map(r=>r.id).filter(Boolean);o.setColumnPinning(r=>{var i,l;if(t==="right"){var s,u;return{left:((s=r?.left)!=null?s:[]).filter(C=>!(n!=null&&n.includes(C))),right:[...((u=r?.right)!=null?u:[]).filter(C=>!(n!=null&&n.includes(C))),...n]}}if(t==="left"){var g,c;return{left:[...((g=r?.left)!=null?g:[]).filter(C=>!(n!=null&&n.includes(C))),...n],right:((c=r?.right)!=null?c:[]).filter(C=>!(n!=null&&n.includes(C)))}}return{left:((i=r?.left)!=null?i:[]).filter(C=>!(n!=null&&n.includes(C))),right:((l=r?.right)!=null?l:[]).filter(C=>!(n!=null&&n.includes(C)))}})},e.getCanPin=()=>e.getLeafColumns().some(n=>{var r,i,l;return((r=n.columnDef.enablePinning)!=null?r:!0)&&((i=(l=o.options.enableColumnPinning)!=null?l:o.options.enablePinning)!=null?i:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(s=>s.id),{left:n,right:r}=o.getState().columnPinning,i=t.some(s=>n?.includes(s)),l=t.some(s=>r?.includes(s));return i?"left":l?"right":!1},e.getPinnedIndex=()=>{var t,n;const r=e.getIsPinned();return r?(t=(n=o.getState().columnPinning)==null||(n=n[r])==null?void 0:n.indexOf(e.id))!=null?t:-1:0}},createRow:(e,o)=>{e.getCenterVisibleCells=S(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left,o.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(l=>!i.includes(l.column.id))},m(o.options,"debugRows")),e.getLeftVisibleCells=S(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left],(t,n)=>(n??[]).map(i=>t.find(l=>l.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),m(o.options,"debugRows")),e.getRightVisibleCells=S(()=>[e._getAllVisibleCells(),o.getState().columnPinning.right],(t,n)=>(n??[]).map(i=>t.find(l=>l.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),m(o.options,"debugRows"))},createTable:e=>{e.setColumnPinning=o=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(o),e.resetColumnPinning=o=>{var t,n;return e.setColumnPinning(o?B():(t=(n=e.initialState)==null?void 0:n.columnPinning)!=null?t:B())},e.getIsSomeColumnsPinned=o=>{var t;const n=e.getState().columnPinning;if(!o){var r,i;return!!((r=n.left)!=null&&r.length||(i=n.right)!=null&&i.length)}return!!((t=n[o])!=null&&t.length)},e.getLeftLeafColumns=S(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(o,t)=>(t??[]).map(n=>o.find(r=>r.id===n)).filter(Boolean),m(e.options,"debugColumns")),e.getRightLeafColumns=S(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(o,t)=>(t??[]).map(n=>o.find(r=>r.id===n)).filter(Boolean),m(e.options,"debugColumns")),e.getCenterLeafColumns=S(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,t,n)=>{const r=[...t??[],...n??[]];return o.filter(i=>!r.includes(i.id))},m(e.options,"debugColumns"))}};function Oe(e){return e||(typeof document<"u"?document:null)}const A={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},q=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Te={getDefaultColumnDef:()=>A,getInitialState:e=>({columnSizing:{},columnSizingInfo:q(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:F("columnSizing",e),onColumnSizingInfoChange:F("columnSizingInfo",e)}),createColumn:(e,o)=>{e.getSize=()=>{var t,n,r;const i=o.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:A.minSize,(n=i??e.columnDef.size)!=null?n:A.size),(r=e.columnDef.maxSize)!=null?r:A.maxSize)},e.getStart=S(t=>[t,H(o,t),o.getState().columnSizing],(t,n)=>n.slice(0,e.getIndex(t)).reduce((r,i)=>r+i.getSize(),0),m(o.options,"debugColumns")),e.getAfter=S(t=>[t,H(o,t),o.getState().columnSizing],(t,n)=>n.slice(e.getIndex(t)+1).reduce((r,i)=>r+i.getSize(),0),m(o.options,"debugColumns")),e.resetSize=()=>{o.setColumnSizing(t=>{let{[e.id]:n,...r}=t;return r})},e.getCanResize=()=>{var t,n;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((n=o.options.enableColumnResizing)!=null?n:!0)},e.getIsResizing=()=>o.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,o)=>{e.getSize=()=>{let t=0;const n=r=>{if(r.subHeaders.length)r.subHeaders.forEach(n);else{var i;t+=(i=r.column.getSize())!=null?i:0}};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=t=>{const n=o.getColumn(e.column.id),r=n?.getCanResize();return i=>{if(!n||!r||(i.persist==null||i.persist(),k(i)&&i.touches&&i.touches.length>1))return;const l=e.getSize(),s=e?e.getLeafHeaders().map(R=>[R.column.id,R.column.getSize()]):[[n.id,n.getSize()]],u=k(i)?Math.round(i.touches[0].clientX):i.clientX,g={},c=(R,_)=>{typeof _=="number"&&(o.setColumnSizingInfo(v=>{var M,I;const O=o.options.columnResizeDirection==="rtl"?-1:1,te=(_-((M=v?.startOffset)!=null?M:0))*O,ne=Math.max(te/((I=v?.startSize)!=null?I:0),-.999999);return v.columnSizingStart.forEach(Se=>{let[me,oe]=Se;g[me]=Math.round(Math.max(oe+oe*ne,0)*100)/100}),{...v,deltaOffset:te,deltaPercentage:ne}}),(o.options.columnResizeMode==="onChange"||R==="end")&&o.setColumnSizing(v=>({...v,...g})))},C=R=>c("move",R),d=R=>{c("end",R),o.setColumnSizingInfo(_=>({..._,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},a=Oe(t),f={moveHandler:R=>C(R.clientX),upHandler:R=>{a?.removeEventListener("mousemove",f.moveHandler),a?.removeEventListener("mouseup",f.upHandler),d(R.clientX)}},p={moveHandler:R=>(R.cancelable&&(R.preventDefault(),R.stopPropagation()),C(R.touches[0].clientX),!1),upHandler:R=>{var _;a?.removeEventListener("touchmove",p.moveHandler),a?.removeEventListener("touchend",p.upHandler),R.cancelable&&(R.preventDefault(),R.stopPropagation()),d((_=R.touches[0])==null?void 0:_.clientX)}},w=Be()?{passive:!1}:!1;k(i)?(a?.addEventListener("touchmove",p.moveHandler,w),a?.addEventListener("touchend",p.upHandler,w)):(a?.addEventListener("mousemove",f.moveHandler,w),a?.addEventListener("mouseup",f.upHandler,w)),o.setColumnSizingInfo(R=>({...R,startOffset:u,startSize:l,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=o=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(o),e.setColumnSizingInfo=o=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(o),e.resetColumnSizing=o=>{var t;e.setColumnSizing(o?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=o=>{var t;e.setColumnSizingInfo(o?q():(t=e.initialState.columnSizingInfo)!=null?t:q())},e.getTotalSize=()=>{var o,t;return(o=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((n,r)=>n+r.getSize(),0))!=null?o:0},e.getLeftTotalSize=()=>{var o,t;return(o=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((n,r)=>n+r.getSize(),0))!=null?o:0},e.getCenterTotalSize=()=>{var o,t;return(o=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((n,r)=>n+r.getSize(),0))!=null?o:0},e.getRightTotalSize=()=>{var o,t;return(o=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((n,r)=>n+r.getSize(),0))!=null?o:0}}};let z=null;function Be(){if(typeof z=="boolean")return z;let e=!1;try{const o={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,o),window.removeEventListener("test",t)}catch{e=!1}return z=e,z}function k(e){return e.type==="touchstart"}const qe={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:F("columnVisibility",e)}),createColumn:(e,o)=>{e.toggleVisibility=t=>{e.getCanHide()&&o.setColumnVisibility(n=>({...n,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,n;const r=e.columns;return(t=r.length?r.some(i=>i.getIsVisible()):(n=o.getState().columnVisibility)==null?void 0:n[e.id])!=null?t:!0},e.getCanHide=()=>{var t,n;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((n=o.options.enableHiding)!=null?n:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,o)=>{e._getAllVisibleCells=S(()=>[e.getAllCells(),o.getState().columnVisibility],t=>t.filter(n=>n.column.getIsVisible()),m(o.options,"debugRows")),e.getVisibleCells=S(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,n,r)=>[...t,...n,...r],m(o.options,"debugRows"))},createTable:e=>{const o=(t,n)=>S(()=>[n(),n().filter(r=>r.getIsVisible()).map(r=>r.id).join("_")],r=>r.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),m(e.options,"debugColumns"));e.getVisibleFlatColumns=o("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=o("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=o("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=o("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=o("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:(n=e.initialState.columnVisibility)!=null?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=(n=t)!=null?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((r,i)=>({...r,[i.id]:t||!(i.getCanHide!=null&&i.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible((n=t.target)==null?void 0:n.checked)}}};function H(e,o){return o?o==="center"?e.getCenterVisibleLeafColumns():o==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const ke={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},je={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:F("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:o=>{var t;const n=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[o.id])==null?void 0:t.getValue();return typeof n=="string"||typeof n=="number"}}),createColumn:(e,o)=>{e.getCanGlobalFilter=()=>{var t,n,r,i;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((n=o.options.enableGlobalFilter)!=null?n:!0)&&((r=o.options.enableFilters)!=null?r:!0)&&((i=o.options.getColumnCanGlobalFilter==null?void 0:o.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>x.includesString,e.getGlobalFilterFn=()=>{var o,t;const{globalFilterFn:n}=e.options;return L(n)?n:n==="auto"?e.getGlobalAutoFilterFn():(o=(t=e.options.filterFns)==null?void 0:t[n])!=null?o:x[n]},e.setGlobalFilter=o=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(o)},e.resetGlobalFilter=o=>{e.setGlobalFilter(o?void 0:e.initialState.globalFilter)}}},Ne={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:F("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let o=!1,t=!1;e._autoResetExpanded=()=>{var n,r;if(!o){e._queue(()=>{o=!0});return}if((n=(r=e.options.autoResetAll)!=null?r:e.options.autoResetExpanded)!=null?n:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=n=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(n),e.toggleAllRowsExpanded=n=>{n??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=n=>{var r,i;e.setExpanded(n?{}:(r=(i=e.initialState)==null?void 0:i.expanded)!=null?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(n=>n.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>n=>{n.persist==null||n.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const n=e.getState().expanded;return n===!0||Object.values(n).some(Boolean)},e.getIsAllRowsExpanded=()=>{const n=e.getState().expanded;return typeof n=="boolean"?n===!0:!(!Object.keys(n).length||e.getRowModel().flatRows.some(r=>!r.getIsExpanded()))},e.getExpandedDepth=()=>{let n=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const l=i.split(".");n=Math.max(n,l.length)}),n},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,o)=>{e.toggleExpanded=t=>{o.setExpanded(n=>{var r;const i=n===!0?!0:!!(n!=null&&n[e.id]);let l={};if(n===!0?Object.keys(o.getRowModel().rowsById).forEach(s=>{l[s]=!0}):l=n,t=(r=t)!=null?r:!i,!i&&t)return{...l,[e.id]:!0};if(i&&!t){const{[e.id]:s,...u}=l;return u}return n})},e.getIsExpanded=()=>{var t;const n=o.getState().expanded;return!!((t=o.options.getIsRowExpanded==null?void 0:o.options.getIsRowExpanded(e))!=null?t:n===!0||n?.[e.id])},e.getCanExpand=()=>{var t,n,r;return(t=o.options.getRowCanExpand==null?void 0:o.options.getRowCanExpand(e))!=null?t:((n=o.options.enableExpanding)!=null?n:!0)&&!!((r=e.subRows)!=null&&r.length)},e.getIsAllParentsExpanded=()=>{let t=!0,n=e;for(;t&&n.parentId;)n=o.getRow(n.parentId,!0),t=n.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},K=0,J=10,j=()=>({pageIndex:K,pageSize:J}),Ue={getInitialState:e=>({...e,pagination:{...j(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:F("pagination",e)}),createTable:e=>{let o=!1,t=!1;e._autoResetPageIndex=()=>{var n,r;if(!o){e._queue(()=>{o=!0});return}if((n=(r=e.options.autoResetAll)!=null?r:e.options.autoResetPageIndex)!=null?n:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=n=>{const r=i=>V(n,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(r)},e.resetPagination=n=>{var r;e.setPagination(n?j():(r=e.initialState.pagination)!=null?r:j())},e.setPageIndex=n=>{e.setPagination(r=>{let i=V(n,r.pageIndex);const l=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,l)),{...r,pageIndex:i}})},e.resetPageIndex=n=>{var r,i;e.setPageIndex(n?K:(r=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageIndex)!=null?r:K)},e.resetPageSize=n=>{var r,i;e.setPageSize(n?J:(r=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageSize)!=null?r:J)},e.setPageSize=n=>{e.setPagination(r=>{const i=Math.max(1,V(n,r.pageSize)),l=r.pageSize*r.pageIndex,s=Math.floor(l/i);return{...r,pageIndex:s,pageSize:i}})},e.setPageCount=n=>e.setPagination(r=>{var i;let l=V(n,(i=e.options.pageCount)!=null?i:-1);return typeof l=="number"&&(l=Math.max(-1,l)),{...r,pageCount:l}}),e.getPageOptions=S(()=>[e.getPageCount()],n=>{let r=[];return n&&n>0&&(r=[...new Array(n)].fill(null).map((i,l)=>l)),r},m(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:n}=e.getState().pagination,r=e.getPageCount();return r===-1?!0:r===0?!1:n<r-1},e.previousPage=()=>e.setPageIndex(n=>n-1),e.nextPage=()=>e.setPageIndex(n=>n+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var n;return(n=e.options.pageCount)!=null?n:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var n;return(n=e.options.rowCount)!=null?n:e.getPrePaginationRowModel().rows.length}}},N=()=>({top:[],bottom:[]}),Xe={getInitialState:e=>({rowPinning:N(),...e}),getDefaultOptions:e=>({onRowPinningChange:F("rowPinning",e)}),createRow:(e,o)=>{e.pin=(t,n,r)=>{const i=n?e.getLeafRows().map(u=>{let{id:g}=u;return g}):[],l=r?e.getParentRows().map(u=>{let{id:g}=u;return g}):[],s=new Set([...l,e.id,...i]);o.setRowPinning(u=>{var g,c;if(t==="bottom"){var C,d;return{top:((C=u?.top)!=null?C:[]).filter(p=>!(s!=null&&s.has(p))),bottom:[...((d=u?.bottom)!=null?d:[]).filter(p=>!(s!=null&&s.has(p))),...Array.from(s)]}}if(t==="top"){var a,f;return{top:[...((a=u?.top)!=null?a:[]).filter(p=>!(s!=null&&s.has(p))),...Array.from(s)],bottom:((f=u?.bottom)!=null?f:[]).filter(p=>!(s!=null&&s.has(p)))}}return{top:((g=u?.top)!=null?g:[]).filter(p=>!(s!=null&&s.has(p))),bottom:((c=u?.bottom)!=null?c:[]).filter(p=>!(s!=null&&s.has(p)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:n,enablePinning:r}=o.options;return typeof n=="function"?n(e):(t=n??r)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:n,bottom:r}=o.getState().rowPinning,i=t.some(s=>n?.includes(s)),l=t.some(s=>r?.includes(s));return i?"top":l?"bottom":!1},e.getPinnedIndex=()=>{var t,n;const r=e.getIsPinned();if(!r)return-1;const i=(t=r==="top"?o.getTopRows():o.getBottomRows())==null?void 0:t.map(l=>{let{id:s}=l;return s});return(n=i?.indexOf(e.id))!=null?n:-1}},createTable:e=>{e.setRowPinning=o=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(o),e.resetRowPinning=o=>{var t,n;return e.setRowPinning(o?N():(t=(n=e.initialState)==null?void 0:n.rowPinning)!=null?t:N())},e.getIsSomeRowsPinned=o=>{var t;const n=e.getState().rowPinning;if(!o){var r,i;return!!((r=n.top)!=null&&r.length||(i=n.bottom)!=null&&i.length)}return!!((t=n[o])!=null&&t.length)},e._getPinnedRows=(o,t,n)=>{var r;return((r=e.options.keepPinnedRows)==null||r?(t??[]).map(l=>{const s=e.getRow(l,!0);return s.getIsAllParentsExpanded()?s:null}):(t??[]).map(l=>o.find(s=>s.id===l))).filter(Boolean).map(l=>({...l,position:n}))},e.getTopRows=S(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(o,t)=>e._getPinnedRows(o,t,"top"),m(e.options,"debugRows")),e.getBottomRows=S(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(o,t)=>e._getPinnedRows(o,t,"bottom"),m(e.options,"debugRows")),e.getCenterRows=S(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(o,t,n)=>{const r=new Set([...t??[],...n??[]]);return o.filter(i=>!r.has(i.id))},m(e.options,"debugRows"))}},Ke={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:F("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=o=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(o),e.resetRowSelection=o=>{var t;return e.setRowSelection(o?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=o=>{e.setRowSelection(t=>{o=typeof o<"u"?o:!e.getIsAllRowsSelected();const n={...t},r=e.getPreGroupedRowModel().flatRows;return o?r.forEach(i=>{i.getCanSelect()&&(n[i.id]=!0)}):r.forEach(i=>{delete n[i.id]}),n})},e.toggleAllPageRowsSelected=o=>e.setRowSelection(t=>{const n=typeof o<"u"?o:!e.getIsAllPageRowsSelected(),r={...t};return e.getRowModel().rows.forEach(i=>{Q(r,i.id,n,!0,e)}),r}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=S(()=>[e.getState().rowSelection,e.getCoreRowModel()],(o,t)=>Object.keys(o).length?U(e,t):{rows:[],flatRows:[],rowsById:{}},m(e.options,"debugTable")),e.getFilteredSelectedRowModel=S(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(o,t)=>Object.keys(o).length?U(e,t):{rows:[],flatRows:[],rowsById:{}},m(e.options,"debugTable")),e.getGroupedSelectedRowModel=S(()=>[e.getState().rowSelection,e.getSortedRowModel()],(o,t)=>Object.keys(o).length?U(e,t):{rows:[],flatRows:[],rowsById:{}},m(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const o=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let n=!!(o.length&&Object.keys(t).length);return n&&o.some(r=>r.getCanSelect()&&!t[r.id])&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows.filter(r=>r.getCanSelect()),{rowSelection:t}=e.getState();let n=!!o.length;return n&&o.some(r=>!t[r.id])&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var o;const t=Object.keys((o=e.getState().rowSelection)!=null?o:{}).length;return t>0&&t<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:o.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>o=>{e.toggleAllRowsSelected(o.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>o=>{e.toggleAllPageRowsSelected(o.target.checked)}},createRow:(e,o)=>{e.toggleSelected=(t,n)=>{const r=e.getIsSelected();o.setRowSelection(i=>{var l;if(t=typeof t<"u"?t:!r,e.getCanSelect()&&r===t)return i;const s={...i};return Q(s,e.id,t,(l=n?.selectChildren)!=null?l:!0,o),s})},e.getIsSelected=()=>{const{rowSelection:t}=o.getState();return b(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=o.getState();return W(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=o.getState();return W(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof o.options.enableRowSelection=="function"?o.options.enableRowSelection(e):(t=o.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof o.options.enableSubRowSelection=="function"?o.options.enableSubRowSelection(e):(t=o.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof o.options.enableMultiRowSelection=="function"?o.options.enableMultiRowSelection(e):(t=o.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected((r=n.target)==null?void 0:r.checked)}}}},Q=(e,o,t,n,r)=>{var i;const l=r.getRow(o,!0);t?(l.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),l.getCanSelect()&&(e[o]=!0)):delete e[o],n&&(i=l.subRows)!=null&&i.length&&l.getCanSelectSubRows()&&l.subRows.forEach(s=>Q(e,s.id,t,n,r))};function U(e,o){const t=e.getState().rowSelection,n=[],r={},i=function(l,s){return l.map(u=>{var g;const c=b(u,t);if(c&&(n.push(u),r[u.id]=u),(g=u.subRows)!=null&&g.length&&(u={...u,subRows:i(u.subRows)}),c)return u}).filter(Boolean)};return{rows:i(o.rows),flatRows:n,rowsById:r}}function b(e,o){var t;return(t=o[e.id])!=null?t:!1}function W(e,o,t){var n;if(!((n=e.subRows)!=null&&n.length))return!1;let r=!0,i=!1;return e.subRows.forEach(l=>{if(!(i&&!r)&&(l.getCanSelect()&&(b(l,o)?i=!0:r=!1),l.subRows&&l.subRows.length)){const s=W(l,o);s==="all"?i=!0:(s==="some"&&(i=!0),r=!1)}}),r?"all":i?"some":!1}const Y=/([0-9]+)/gm,Je=(e,o,t)=>pe(P(e.getValue(t)).toLowerCase(),P(o.getValue(t)).toLowerCase()),Qe=(e,o,t)=>pe(P(e.getValue(t)),P(o.getValue(t))),We=(e,o,t)=>ee(P(e.getValue(t)).toLowerCase(),P(o.getValue(t)).toLowerCase()),Ye=(e,o,t)=>ee(P(e.getValue(t)),P(o.getValue(t))),Ze=(e,o,t)=>{const n=e.getValue(t),r=o.getValue(t);return n>r?1:n<r?-1:0},be=(e,o,t)=>ee(e.getValue(t),o.getValue(t));function ee(e,o){return e===o?0:e>o?1:-1}function P(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function pe(e,o){const t=e.split(Y).filter(Boolean),n=o.split(Y).filter(Boolean);for(;t.length&&n.length;){const r=t.shift(),i=n.shift(),l=parseInt(r,10),s=parseInt(i,10),u=[l,s].sort();if(isNaN(u[0])){if(r>i)return 1;if(i>r)return-1;continue}if(isNaN(u[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}return t.length-n.length}const D={alphanumeric:Je,alphanumericCaseSensitive:Qe,text:We,textCaseSensitive:Ye,datetime:Ze,basic:be},et={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:F("sorting",e),isMultiSortEvent:o=>o.shiftKey}),createColumn:(e,o)=>{e.getAutoSortingFn=()=>{const t=o.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const r of t){const i=r?.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return D.datetime;if(typeof i=="string"&&(n=!0,i.split(Y).length>1))return D.alphanumeric}return n?D.text:D.basic},e.getAutoSortDir=()=>{const t=o.getFilteredRowModel().flatRows[0];return typeof t?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,n;if(!e)throw new Error;return L(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(n=o.options.sortingFns)==null?void 0:n[e.columnDef.sortingFn])!=null?t:D[e.columnDef.sortingFn]},e.toggleSorting=(t,n)=>{const r=e.getNextSortingOrder(),i=typeof t<"u"&&t!==null;o.setSorting(l=>{const s=l?.find(a=>a.id===e.id),u=l?.findIndex(a=>a.id===e.id);let g=[],c,C=i?t:r==="desc";if(l!=null&&l.length&&e.getCanMultiSort()&&n?s?c="toggle":c="add":l!=null&&l.length&&u!==l.length-1?c="replace":s?c="toggle":c="replace",c==="toggle"&&(i||r||(c="remove")),c==="add"){var d;g=[...l,{id:e.id,desc:C}],g.splice(0,g.length-((d=o.options.maxMultiSortColCount)!=null?d:Number.MAX_SAFE_INTEGER))}else c==="toggle"?g=l.map(a=>a.id===e.id?{...a,desc:C}:a):c==="remove"?g=l.filter(a=>a.id!==e.id):g=[{id:e.id,desc:C}];return g})},e.getFirstSortDir=()=>{var t,n;return((t=(n=e.columnDef.sortDescFirst)!=null?n:o.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var n,r;const i=e.getFirstSortDir(),l=e.getIsSorted();return l?l!==i&&((n=o.options.enableSortingRemoval)==null||n)&&(!(t&&(r=o.options.enableMultiRemove)!=null)||r)?!1:l==="desc"?"asc":"desc":i},e.getCanSort=()=>{var t,n;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((n=o.options.enableSorting)!=null?n:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,n;return(t=(n=e.columnDef.enableMultiSort)!=null?n:o.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const n=(t=o.getState().sorting)==null?void 0:t.find(r=>r.id===e.id);return n?n.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,n;return(t=(n=o.getState().sorting)==null?void 0:n.findIndex(r=>r.id===e.id))!=null?t:-1},e.clearSorting=()=>{o.setSorting(t=>t!=null&&t.length?t.filter(n=>n.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return n=>{t&&(n.persist==null||n.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?o.options.isMultiSortEvent==null?void 0:o.options.isMultiSortEvent(n):!1))}}},createTable:e=>{e.setSorting=o=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(o),e.resetSorting=o=>{var t,n;e.setSorting(o?[]:(t=(n=e.initialState)==null?void 0:n.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},tt=[he,qe,ze,Le,Fe,$e,ke,je,et,Ge,Ne,Ue,Xe,Ke,Te];function nt(e){var o,t;const n=[...tt,...(o=e._features)!=null?o:[]];let r={_features:n};const i=r._features.reduce((d,a)=>Object.assign(d,a.getDefaultOptions==null?void 0:a.getDefaultOptions(r)),{}),l=d=>r.options.mergeOptions?r.options.mergeOptions(i,d):{...i,...d};let u={...{},...(t=e.initialState)!=null?t:{}};r._features.forEach(d=>{var a;u=(a=d.getInitialState==null?void 0:d.getInitialState(u))!=null?a:u});const g=[];let c=!1;const C={_features:n,options:{...i,...e},initialState:u,_queue:d=>{g.push(d),c||(c=!0,Promise.resolve().then(()=>{for(;g.length;)g.shift()();c=!1}).catch(a=>setTimeout(()=>{throw a})))},reset:()=>{r.setState(r.initialState)},setOptions:d=>{const a=V(d,r.options);r.options=l(a)},getState:()=>r.options.state,setState:d=>{r.options.onStateChange==null||r.options.onStateChange(d)},_getRowId:(d,a,f)=>{var p;return(p=r.options.getRowId==null?void 0:r.options.getRowId(d,a,f))!=null?p:`${f?[f.id,a].join("."):a}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(d,a)=>{let f=(a?r.getPrePaginationRowModel():r.getRowModel()).rowsById[d];if(!f&&(f=r.getCoreRowModel().rowsById[d],!f))throw new Error;return f},_getDefaultColumnDef:S(()=>[r.options.defaultColumn],d=>{var a;return d=(a=d)!=null?a:{},{header:f=>{const p=f.header.column.columnDef;return p.accessorKey?p.accessorKey:p.accessorFn?p.id:null},cell:f=>{var p,w;return(p=(w=f.renderValue())==null||w.toString==null?void 0:w.toString())!=null?p:null},...r._features.reduce((f,p)=>Object.assign(f,p.getDefaultColumnDef==null?void 0:p.getDefaultColumnDef()),{}),...d}},m(e,"debugColumns")),_getColumnDefs:()=>r.options.columns,getAllColumns:S(()=>[r._getColumnDefs()],d=>{const a=function(f,p,w){return w===void 0&&(w=0),f.map(R=>{const _=ve(r,R,w,p),v=R;return _.columns=v.columns?a(v.columns,_,w+1):[],_})};return a(d)},m(e,"debugColumns")),getAllFlatColumns:S(()=>[r.getAllColumns()],d=>d.flatMap(a=>a.getFlatColumns()),m(e,"debugColumns")),_getAllFlatColumnsById:S(()=>[r.getAllFlatColumns()],d=>d.reduce((a,f)=>(a[f.id]=f,a),{}),m(e,"debugColumns")),getAllLeafColumns:S(()=>[r.getAllColumns(),r._getOrderColumnsFn()],(d,a)=>{let f=d.flatMap(p=>p.getLeafColumns());return a(f)},m(e,"debugColumns")),getColumn:d=>r._getAllFlatColumnsById()[d]};Object.assign(r,C);for(let d=0;d<r._features.length;d++){const a=r._features[d];a==null||a.createTable==null||a.createTable(r)}return r}function St(){return e=>S(()=>[e.options.data],o=>{const t={rows:[],flatRows:[],rowsById:{}},n=function(r,i,l){i===void 0&&(i=0);const s=[];for(let g=0;g<r.length;g++){const c=_e(e,e._getRowId(r[g],g,l),r[g],g,i,void 0,l?.id);if(t.flatRows.push(c),t.rowsById[c.id]=c,s.push(c),e.options.getSubRows){var u;c.originalSubRows=e.options.getSubRows(r[g],g),(u=c.originalSubRows)!=null&&u.length&&(c.subRows=n(c.originalSubRows,i+1,c))}}return s};return t.rows=n(o),t},m(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}/**
|
|
14
|
+
* react-table
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) TanStack
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
20
|
+
*
|
|
21
|
+
* @license MIT
|
|
22
|
+
*/function mt(e,o){return e?ot(e)?X.createElement(e,o):e:null}function ot(e){return rt(e)||typeof e=="function"||it(e)}function rt(e){return typeof e=="function"&&(()=>{const o=Object.getPrototypeOf(e);return o.prototype&&o.prototype.isReactComponent})()}function it(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Ct(e){const o={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=X.useState(()=>({current:nt(o)})),[n,r]=X.useState(()=>t.current.initialState);return t.current.setOptions(i=>({...i,...e,state:{...n,...e.state},onStateChange:l=>{r(l),e.onStateChange==null||e.onStateChange(l)}})),t.current}export{ut as T,at as a,dt as b,pt as c,ct as d,gt as e,mt as f,ft as g,St as h,Ct as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s,p as y}from"./chunk-EF7DTUVF-MlADC7xe.js";import{o as h}from"./utils-DN8wQ0jG.js";function C(n,t){if(typeof n=="function")return n(t);n!=null&&(n.current=t)}function x(...n){return t=>{let e=!1;const l=n.map(r=>{const o=C(r,t);return!e&&typeof o=="function"&&(e=!0),o});if(e)return()=>{for(let r=0;r<l.length;r++){const o=l[r];typeof o=="function"?o():C(n[r],null)}}}}function I(...n){return s.useCallback(x(...n),n)}function N(n){const t=R(n),e=s.forwardRef((l,r)=>{const{children:o,...u}=l,a=s.Children.toArray(o),f=a.find(j);if(f){const i=f.props.children,c=a.map(d=>d===f?s.Children.count(i)>1?s.Children.only(null):s.isValidElement(i)?i.props.children:null:d);return y.jsx(t,{...u,ref:r,children:s.isValidElement(i)?s.cloneElement(i,void 0,c):null})}return y.jsx(t,{...u,ref:r,children:o})});return e.displayName=`${n}.Slot`,e}var W=N("Slot");function R(n){const t=s.forwardRef((e,l)=>{const{children:r,...o}=e;if(s.isValidElement(r)){const u=_(r),a=O(o,r.props);return r.type!==s.Fragment&&(a.ref=l?x(l,u):u),s.cloneElement(r,a)}return s.Children.count(r)>1?s.Children.only(null):null});return t.displayName=`${n}.SlotClone`,t}var E=Symbol("radix.slottable");function k(n){const t=({children:e})=>y.jsx(y.Fragment,{children:e});return t.displayName=`${n}.Slottable`,t.__radixId=E,t}function j(n){return s.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===E}function O(n,t){const e={...t};for(const l in t){const r=n[l],o=t[l];/^on[A-Z]/.test(l)?r&&o?e[l]=(...a)=>{const f=o(...a);return r(...a),f}:r&&(e[l]=r):l==="style"?e[l]={...r,...o}:l==="className"&&(e[l]=[r,o].filter(Boolean).join(" "))}return{...n,...e}}function _(n){let t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,e=t&&"isReactWarning"in t&&t.isReactWarning;return e?n.ref:(t=Object.getOwnPropertyDescriptor(n,"ref")?.get,e=t&&"isReactWarning"in t&&t.isReactWarning,e?n.props.ref:n.props.ref||n.ref)}const S=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,b=h,T=(n,t)=>e=>{var l;if(t?.variants==null)return b(n,e?.class,e?.className);const{variants:r,defaultVariants:o}=t,u=Object.keys(r).map(i=>{const c=e?.[i],d=o?.[i];if(c===null)return null;const m=S(c)||S(d);return r[i][m]}),a=e&&Object.entries(e).reduce((i,c)=>{let[d,m]=c;return m===void 0||(i[d]=m),i},{}),f=t==null||(l=t.compoundVariants)===null||l===void 0?void 0:l.reduce((i,c)=>{let{class:d,className:m,...V}=c;return Object.entries(V).every(g=>{let[p,v]=g;return Array.isArray(v)?v.includes({...o,...a}[p]):{...o,...a}[p]===v})?[...i,d,m]:i},[]);return b(n,u,f,e?.class,e?.className)};export{W as S,N as a,k as b,T as c,I as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,.light,.light-theme{--blue-1: #fbfdff;--blue-2: #f4faff;--blue-3: #e6f4fe;--blue-4: #d5efff;--blue-5: #c2e5ff;--blue-6: #acd8fc;--blue-7: #8ec8f6;--blue-8: #5eb1ef;--blue-9: #0090ff;--blue-10: #0588f0;--blue-11: #0d74ce;--blue-12: #113264}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--blue-1: color(display-p3 .986 .992 .999);--blue-2: color(display-p3 .96 .979 .998);--blue-3: color(display-p3 .912 .956 .991);--blue-4: color(display-p3 .853 .932 1);--blue-5: color(display-p3 .788 .894 .998);--blue-6: color(display-p3 .709 .843 .976);--blue-7: color(display-p3 .606 .777 .947);--blue-8: color(display-p3 .451 .688 .917);--blue-9: color(display-p3 .247 .556 .969);--blue-10: color(display-p3 .234 .523 .912);--blue-11: color(display-p3 .15 .44 .84);--blue-12: color(display-p3 .102 .193 .379)}}}.dark,.dark-theme{--blue-1: #0d1520;--blue-2: #111927;--blue-3: #0d2847;--blue-4: #003362;--blue-5: #004074;--blue-6: #104d87;--blue-7: #205d9e;--blue-8: #2870bd;--blue-9: #0090ff;--blue-10: #3b9eff;--blue-11: #70b8ff;--blue-12: #c2e6ff}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){.dark,.dark-theme{--blue-1: color(display-p3 .057 .081 .122);--blue-2: color(display-p3 .072 .098 .147);--blue-3: color(display-p3 .078 .154 .27);--blue-4: color(display-p3 .033 .197 .37);--blue-5: color(display-p3 .08 .245 .441);--blue-6: color(display-p3 .14 .298 .511);--blue-7: color(display-p3 .195 .361 .6);--blue-8: color(display-p3 .239 .434 .72);--blue-9: color(display-p3 .247 .556 .969);--blue-10: color(display-p3 .344 .612 .973);--blue-11: color(display-p3 .49 .72 1);--blue-12: color(display-p3 .788 .898 .99)}}}:root,.light,.light-theme{--slate-1: #fcfcfd;--slate-2: #f9f9fb;--slate-3: #f0f0f3;--slate-4: #e8e8ec;--slate-5: #e0e1e6;--slate-6: #d9d9e0;--slate-7: #cdced6;--slate-8: #b9bbc6;--slate-9: #8b8d98;--slate-10: #80838d;--slate-11: #60646c;--slate-12: #1c2024}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--slate-1: color(display-p3 .988 .988 .992);--slate-2: color(display-p3 .976 .976 .984);--slate-3: color(display-p3 .94 .941 .953);--slate-4: color(display-p3 .908 .909 .925);--slate-5: color(display-p3 .88 .881 .901);--slate-6: color(display-p3 .85 .852 .876);--slate-7: color(display-p3 .805 .808 .838);--slate-8: color(display-p3 .727 .733 .773);--slate-9: color(display-p3 .547 .553 .592);--slate-10: color(display-p3 .503 .512 .549);--slate-11: color(display-p3 .379 .392 .421);--slate-12: color(display-p3 .113 .125 .14)}}}.dark,.dark-theme{--slate-1: #111113;--slate-2: #18191b;--slate-3: #212225;--slate-4: #272a2d;--slate-5: #2e3135;--slate-6: #363a3f;--slate-7: #43484e;--slate-8: #5a6169;--slate-9: #696e77;--slate-10: #777b84;--slate-11: #b0b4ba;--slate-12: #edeef0}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){.dark,.dark-theme{--slate-1: color(display-p3 .067 .067 .074);--slate-2: color(display-p3 .095 .098 .105);--slate-3: color(display-p3 .13 .135 .145);--slate-4: color(display-p3 .156 .163 .176);--slate-5: color(display-p3 .183 .191 .206);--slate-6: color(display-p3 .215 .226 .244);--slate-7: color(display-p3 .265 .28 .302);--slate-8: color(display-p3 .357 .381 .409);--slate-9: color(display-p3 .415 .431 .463);--slate-10: color(display-p3 .469 .483 .514);--slate-11: color(display-p3 .692 .704 .728);--slate-12: color(display-p3 .93 .933 .94)}}}:root,.light,.light-theme{--grass-1: #fbfefb;--grass-2: #f5fbf5;--grass-3: #e9f6e9;--grass-4: #daf1db;--grass-5: #c9e8ca;--grass-6: #b2ddb5;--grass-7: #94ce9a;--grass-8: #65ba74;--grass-9: #46a758;--grass-10: #3e9b4f;--grass-11: #2a7e3b;--grass-12: #203c25}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--grass-1: color(display-p3 .986 .996 .985);--grass-2: color(display-p3 .966 .983 .964);--grass-3: color(display-p3 .923 .965 .917);--grass-4: color(display-p3 .872 .94 .865);--grass-5: color(display-p3 .811 .908 .802);--grass-6: color(display-p3 .733 .864 .724);--grass-7: color(display-p3 .628 .803 .622);--grass-8: color(display-p3 .477 .72 .482);--grass-9: color(display-p3 .38 .647 .378);--grass-10: color(display-p3 .344 .598 .342);--grass-11: color(display-p3 .263 .488 .261);--grass-12: color(display-p3 .151 .233 .153)}}}:root,.light,.light-theme{--cyan-1: #fafdfe;--cyan-2: #f2fafb;--cyan-3: #def7f9;--cyan-4: #caf1f6;--cyan-5: #b5e9f0;--cyan-6: #9ddde7;--cyan-7: #7dcedc;--cyan-8: #3db9cf;--cyan-9: #00a2c7;--cyan-10: #0797b9;--cyan-11: #107d98;--cyan-12: #0d3c48}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--cyan-1: color(display-p3 .982 .992 .996);--cyan-2: color(display-p3 .955 .981 .984);--cyan-3: color(display-p3 .888 .965 .975);--cyan-4: color(display-p3 .821 .941 .959);--cyan-5: color(display-p3 .751 .907 .935);--cyan-6: color(display-p3 .671 .862 .9);--cyan-7: color(display-p3 .564 .8 .854);--cyan-8: color(display-p3 .388 .715 .798);--cyan-9: color(display-p3 .282 .627 .765);--cyan-10: color(display-p3 .264 .583 .71);--cyan-11: color(display-p3 .08 .48 .63);--cyan-12: color(display-p3 .108 .232 .277)}}}:root,.light,.light-theme{--amber-1: #fefdfb;--amber-2: #fefbe9;--amber-3: #fff7c2;--amber-4: #ffee9c;--amber-5: #fbe577;--amber-6: #f3d673;--amber-7: #e9c162;--amber-8: #e2a336;--amber-9: #ffc53d;--amber-10: #ffba18;--amber-11: #ab6400;--amber-12: #4f3422}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--amber-1: color(display-p3 .995 .992 .985);--amber-2: color(display-p3 .994 .986 .921);--amber-3: color(display-p3 .994 .969 .782);--amber-4: color(display-p3 .989 .937 .65);--amber-5: color(display-p3 .97 .902 .527);--amber-6: color(display-p3 .936 .844 .506);--amber-7: color(display-p3 .89 .762 .443);--amber-8: color(display-p3 .85 .65 .3);--amber-9: color(display-p3 1 .77 .26);--amber-10: color(display-p3 .959 .741 .274);--amber-11: color(display-p3 .64 .4 0);--amber-12: color(display-p3 .294 .208 .145)}}}:root,.light,.light-theme{--red-1: #fffcfc;--red-2: #fff7f7;--red-3: #feebec;--red-4: #ffdbdc;--red-5: #ffcdce;--red-6: #fdbdbe;--red-7: #f4a9aa;--red-8: #eb8e90;--red-9: #e5484d;--red-10: #dc3e42;--red-11: #ce2c31;--red-12: #641723}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,.light,.light-theme{--red-1: color(display-p3 .998 .989 .988);--red-2: color(display-p3 .995 .971 .971);--red-3: color(display-p3 .985 .925 .925);--red-4: color(display-p3 .999 .866 .866);--red-5: color(display-p3 .984 .812 .811);--red-6: color(display-p3 .955 .751 .749);--red-7: color(display-p3 .915 .675 .672);--red-8: color(display-p3 .872 .575 .572);--red-9: color(display-p3 .83 .329 .324);--red-10: color(display-p3 .798 .294 .285);--red-11: color(display-p3 .744 .234 .222);--red-12: color(display-p3 .36 .115 .143)}}}.mdxeditor .cm-editor{--sp-font-mono: var(--font-mono);--sp-font-body: var(--font-body);padding:var(--sp-space-4) 0}.mdxeditor .sp-editor .cm-editor{padding-bottom:0}.mdxeditor .cm-scroller{padding:0!important}.mdxeditor .cm-focused{outline:none}.mdxeditor .sp-wrapper{overflow:hidden}.mdxeditor .sp-layout{border:none}.mdxeditor .sp-cm pre{white-space:break-spaces;word-break:break-word;overflow-wrap:anywhere;flex-shrink:1}.mdxeditor .cm-mergeView .cm-scroller,.mdxeditor .cm-sourceView .cm-scroller{font-family:var(--font-mono);line-height:1.3rem;font-size:var(--text-xs)}.mdxeditor .cm-gutters{background:transparent;font-size:var(--text-xxs)}.mdxeditor .cm-activeLine{background:transparent}.mdxeditor .cm-tooltip-autocomplete{background:var(--baseBgSubtle)}.mdxeditor hr.selected[data-lexical-decorator=true]{outline:2px solid highlight}._editorRoot_sects_53{--accentBase: var(--blue-1);--accentBgSubtle: var(--blue-2);--accentBg: var(--blue-3);--accentBgHover: var(--blue-4);--accentBgActive: var(--blue-5);--accentLine: var(--blue-6);--accentBorder: var(--blue-7);--accentBorderHover: var(--blue-8);--accentSolid: var(--blue-9);--accentSolidHover: var(--blue-10);--accentText: var(--blue-11);--accentTextContrast: var(--blue-12);--basePageBg: white;--baseBase: var(--slate-1);--baseBgSubtle: var(--slate-2);--baseBg: var(--slate-3);--baseBgHover: var(--slate-4);--baseBgActive: var(--slate-5);--baseLine: var(--slate-6);--baseBorder: var(--slate-7);--baseBorderHover: var(--slate-8);--baseSolid: var(--slate-9);--baseSolidHover: var(--slate-10);--baseText: var(--slate-11);--baseTextContrast: var(--slate-12);--admonitionTipBg: var(--cyan-4);--admonitionTipBorder: var(--cyan-8);--admonitionInfoBg: var(--grass-4);--admonitionInfoBorder: var(--grass-8);--admonitionCautionBg: var(--amber-4);--admonitionCautionBorder: var(--amber-8);--admonitionDangerBg: var(--red-4);--admonitionDangerBorder: var(--red-8);--admonitionNoteBg: var(--slate-4);--admonitionNoteBorder: var(--slate-8);--error-color: var(--red-10);--spacing-0: 0px;--spacing-px: 1px;--spacing-0_5: .125rem;--spacing-1: .25rem;--spacing-1_5: .375rem;--spacing-2: .5rem;--spacing-2_5: .625rem;--spacing-3: .75rem;--spacing-3_5: .875rem;--spacing-4: 1rem;--spacing-5: 1.25rem;--spacing-6: 1.5rem;--spacing-7: 1.75rem;--spacing-8: 2rem;--spacing-9: 2.25rem;--spacing-10: 2.5rem;--spacing-11: 2.75rem;--spacing-12: 3rem;--spacing-14: 3.5rem;--spacing-16: 4rem;--spacing-20: 5rem;--spacing-24: 6rem;--spacing-28: 7rem;--spacing-32: 8rem;--spacing-36: 9rem;--spacing-40: 10rem;--spacing-44: 11rem;--spacing-48: 12rem;--spacing-52: 13rem;--spacing-56: 14rem;--spacing-60: 15rem;--spacing-64: 16rem;--spacing-72: 18rem;--spacing-80: 20rem;--spacing-96: 24rem;--radius-none: 0px;--radius-small: var(--spacing-0_5);--radius-base: var(--spacing-1);--radius-medium: var(--spacing-1_5);--radius-large: var(--spacing-2);--radius-extra-large: var(--spacing-3);--radius-full: 9999px;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--text-base: 1rem;--text-sm: .875rem;--text-xs: .75rem;--text-xxs: .6rem;font-family:var(--font-body);color:var(--baseText)}._nestedListItem_sects_158{list-style:none}._toolbarRoot_sects_162{z-index:2;display:flex;flex-direction:row;gap:var(--spacing-1);border-radius:var(--radius-medium);padding:var(--spacing-1_5);align-items:center;overflow-x:auto;position:sticky;top:0;background-color:var(--baseBg);width:inherit}._toolbarRoot_sects_162 div[role=separator]{margin:var(--spacing-2) var(--spacing-1);border-left:1px solid var(--baseBorder);border-right:1px solid var(--baseBase);height:var(--spacing-4)}._toolbarRoot_sects_162 svg{color:var(--baseTextContrast);display:block}._readOnlyToolbarRoot_sects_189{pointer-events:none;background:var(--baseBase)}._readOnlyToolbarRoot_sects_189>div{opacity:.5}._toolbarModeSwitch_sects_198{opacity:1!important;margin-left:auto;align-self:stretch;align-items:stretch;display:flex;border:1px solid var(--baseBg);border-radius:var(--radius-medium);font-size:var(--text-xs)}._toolbarModeSwitch_sects_198 ._toolbarToggleItem_sects_208{padding-inline-end:var(--spacing-4);padding-inline-start:var(--spacing-4)}._toolbarModeSwitch_sects_198 ._toolbarToggleItem_sects_208:active,._toolbarModeSwitch_sects_198 ._toolbarToggleItem_sects_208[data-state=on]{background-color:var(--baseBorder)}._toolbarGroupOfGroups_sects_219{display:flex;margin:0 var(--spacing-1)}._toolbarToggleSingleGroup_sects_224:first-of-type ._toolbarToggleItem_sects_208:only-child,._toolbarToggleSingleGroup_sects_224:only-child ._toolbarToggleItem_sects_208:first-child,._toolbarModeSwitch_sects_198 ._toolbarToggleItem_sects_208:first-child{border-top-left-radius:var(--radius-base);border-bottom-left-radius:var(--radius-base)}._toolbarToggleSingleGroup_sects_224:last-of-type ._toolbarToggleItem_sects_208:only-child,._toolbarToggleSingleGroup_sects_224:only-child ._toolbarToggleItem_sects_208:last-child,._toolbarModeSwitch_sects_198 ._toolbarToggleItem_sects_208:last-child{border-top-right-radius:var(--radius-base);border-bottom-right-radius:var(--radius-base)}._toolbarToggleItem_sects_208,._toolbarButton_sects_239{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-0_5)}@media (hover: hover){._toolbarToggleItem_sects_208:hover,._toolbarButton_sects_239:hover{background-color:var(--baseBgActive)}}._toolbarToggleItem_sects_208:active svg,._toolbarButton_sects_239:active svg{transform:translate(1px,1px)}._toolbarToggleItem_sects_208[data-state=on],._toolbarButton_sects_239[data-state=on],._toolbarToggleItem_sects_208:active,._toolbarButton_sects_239:active{color:var(--baseTextContrast);background-color:var(--baseBgActive)}._toolbarToggleItem_sects_208[data-disabled],._toolbarButton_sects_239[data-disabled]{pointer-events:none}._toolbarToggleItem_sects_208[data-disabled] svg,._toolbarButton_sects_239[data-disabled] svg{color:var(--baseBorderHover)}._toolbarButton_sects_239{border-radius:var(--radius-base)}._toolbarButton_sects_239+._toolbarButton_sects_239{margin-left:var(--spacing-1)}._activeToolbarButton_sects_275{color:var(--accentText)}._toolbarToggleSingleGroup_sects_224{display:flex;align-items:center;white-space:nowrap}._toolbarNodeKindSelectContainer_sects_285,._toolbarButtonDropdownContainer_sects_286,._toolbarCodeBlockLanguageSelectContent_sects_287,._selectContainer_sects_288{filter:drop-shadow(0 2px 2px rgb(0 0 0 / .2));z-index:3;width:var(--spacing-36);border-bottom-left-radius:var(--radius-base);border-bottom-right-radius:var(--radius-base);background-color:var(--basePageBg);font-size:var(--text-sm)}._toolbarButtonDropdownContainer_sects_286,._toolbarButtonDropdownContainer_sects_286 ._selectItem_sects_301:first-child{border-top-right-radius:var(--radius-base)}._toolbarNodeKindSelectTrigger_sects_306,._toolbarButtonSelectTrigger_sects_307,._selectTrigger_sects_308{border:0;background-color:transparent;display:flex;color:inherit;align-items:center;width:var(--spacing-36);padding:var(--spacing-0_5) var(--spacing-1);padding-inline-start:var(--spacing-2);border-radius:var(--radius-medium);white-space:nowrap;flex-wrap:nowrap;font-size:var(--text-sm);background-color:var(--basePageBg);margin:0 var(--spacing-1)}._toolbarNodeKindSelectTrigger_sects_306[data-state=open],._toolbarButtonSelectTrigger_sects_307[data-state=open],._selectTrigger_sects_308[data-state=open]{filter:drop-shadow(0 2px 2px rgb(0 0 0 / .2));border-bottom-right-radius:var(--radius-none);border-bottom-left-radius:var(--radius-none)}._selectTrigger_sects_308[data-placeholder]>span:first-child{color:var(--baseBorderHover)}._toolbarButtonSelectTrigger_sects_307{width:auto;padding-inline-start:var(--spacing-2);padding-inline-end:var(--spacing-1);padding-block:var(--spacing-0_5)}._toolbarCodeBlockLanguageSelectTrigger_sects_343,._toolbarCodeBlockLanguageSelectContent_sects_287{width:var(--spacing-48)}._toolbarNodeKindSelectItem_sects_348,._selectItem_sects_301{cursor:default;display:flex;padding:var(--spacing-2)}._toolbarNodeKindSelectItem_sects_348[data-highlighted],._selectItem_sects_301[data-highlighted]{background-color:var(--baseBg)}._toolbarNodeKindSelectItem_sects_348[data-state=checked],._selectItem_sects_301[data-state=checked]{color:var(--baseTextContrast);background-color:var(--baseBg)}._toolbarNodeKindSelectItem_sects_348[data-highlighted],._selectItem_sects_301[data-highlighted]{outline:none}._toolbarNodeKindSelectItem_sects_348:last-child,._selectItem_sects_301:last-child{border-bottom-left-radius:var(--radius-base);border-bottom-right-radius:var(--radius-base)}._toolbarNodeKindSelectDropdownArrow_sects_373,._selectDropdownArrow_sects_374{margin-left:auto;display:flex;align-items:center}._contentEditable_sects_380{box-sizing:border-box;width:100%;color:var(--baseTextContrast);padding:var(--spacing-3)}._contentEditable_sects_380:focus{outline:none}._codeMirrorWrapper_sects_392{margin-bottom:var(--spacing-5);border:1px solid var(--baseLine);border-radius:var(--radius-medium);overflow:hidden;padding:.8rem;position:relative}._sandPackWrapper_sects_401{margin-bottom:var(--spacing-5);border:1px solid var(--baseLine);border-radius:var(--radius-medium);overflow:hidden;position:relative}._codeMirrorToolbar_sects_409{position:absolute;right:0;top:0;display:flex;gap:var(--spacing-1);padding:var(--spacing-1);z-index:1;background-color:var(--baseBase);border-bottom-left-radius:var(--radius-base)}._frontmatterWrapper_sects_413{border-radius:var(--radius-medium);padding:var(--spacing-3);background-color:var(--baseBgSubtle)}._frontmatterWrapper_sects_413[data-expanded=true]{margin-bottom:var(--spacing-10)}._frontmatterToggleButton_sects_423{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;display:flex;align-items:center;gap:var(--spacing-1);font-size:var(--text-sm)}._propertyPanelTitle_sects_431{font-size:var(--text-xs);font-weight:400;margin:0;padding-top:var(--spacing-2);padding-left:var(--spacing-2)}._propertyEditorTable_sects_439{table-layout:fixed;border-spacing:var(--spacing-2)}._propertyEditorTable_sects_439 th{text-align:left;font-size:var(--text-sm);padding:var(--spacing-2) var(--spacing-3)}._propertyEditorTable_sects_439 col:nth-child(1){width:30%}._propertyEditorTable_sects_439 col:nth-child(2){width:70%}._propertyEditorTable_sects_439 td:last-child ._iconButton_sects_457{margin-left:var(--spacing-4);margin-right:var(--spacing-4)}._propertyEditorTable_sects_439 ._readOnlyColumnCell_sects_462{padding-left:0}._propertyEditorLabelCell_sects_467{font-weight:400}._readOnlyColumnCell_sects_462{padding-left:0}._buttonsFooter_sects_475{display:flex;justify-content:flex-end;gap:var(--spacing-2)}._propertyEditorInput_sects_481{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;width:100%;padding:var(--spacing-2) var(--spacing-3);border-radius:var(--radius-base);border:1px solid var(--baseBorder);background-color:var(--baseBase);font-size:var(--text-sm)}._iconButton_sects_457{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;color:var(--baseText)}@media (hover: hover){._iconButton_sects_457:hover{color:var(--baseTextContrast)}}._iconButton_sects_457:disabled,._iconButton_sects_457:disabled:hover{color:var(--baseLine)}._primaryButton_sects_507,._secondaryButton_sects_508{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-2) var(--spacing-3);border:1px solid var(--accentBorder);background-color:var(--accentSolidHover);color:var(--baseBase);font-size:var(--text-xs);border-radius:var(--radius-medium)}._primaryButton_sects_507:disabled,._secondaryButton_sects_508:disabled{background:var(--accentLine);border-color:var(--accentBg)}._smallButton_sects_523{font-size:var(--text-xs);padding:var(--spacing-1) var(--spacing-2);border-radius:var(--radius-base)}._secondaryButton_sects_508{border:1px solid var(--baseBorder);background-color:var(--baseSolidHover);color:var(--baseBase)}._dialogForm_sects_535{display:flex;flex-direction:row;gap:var(--spacing-2)}._linkDialogEditForm_sects_541{display:flex;flex-direction:column;align-items:stretch;gap:var(--spacing-2);padding:0}._linkDialogInputContainer_sects_549{display:flex;flex-direction:column;align-items:stretch}._linkDialogInputWrapper_sects_555{display:flex;align-items:center;background-color:var(--baseBase);border-radius:var(--radius-base);border:1px solid var(--baseBorder)}._linkDialogInputWrapper_sects_555[data-visible-dropdown=true]{border-bottom-left-radius:var(--radius-none);border-bottom-right-radius:var(--radius-none);border-bottom-width:0}._linkDialogInputWrapper_sects_555>button{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding-right:var(--spacing-2)}._linkDialogInput_sects_549,._dialogInput_sects_576{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;width:20rem;padding:var(--spacing-2) var(--spacing-3);font-size:var(--text-sm)}._linkDialogInput_sects_549::-moz-placeholder,._dialogInput_sects_576::-moz-placeholder{color:var(--baseBorder)}._linkDialogInput_sects_549::placeholder,._dialogInput_sects_576::placeholder{color:var(--baseBorder)}._linkDialogAnchor_sects_587{position:fixed;background-color:highlight;z-index:-1}._linkDialogAnchor_sects_587[data-visible=true]{visibility:visible}._linkDialogAnchor_sects_587[data-visible=false]{visibility:hidden}._linkDialogPopoverContent_sects_601,._tableColumnEditorPopoverContent_sects_602,._dialogContent_sects_603{filter:drop-shadow(0 2px 2px rgb(0 0 0 / .2));display:flex;align-items:center;gap:var(--spacing-0_5);border-radius:var(--radius-medium);border:1px solid var(--baseBg);background-color:var(--basePageBg);padding:var(--spacing-1) var(--spacing-1);font-size:var(--text-sm)}._largeDialogContent_sects_615{filter:drop-shadow(0 2px 2px rgb(0 0 0 / .2));gap:var(--spacing-0_5);border-radius:var(--radius-medium);border:1px solid var(--baseBorder);background-color:var(--baseBgSubtle);padding:var(--spacing-4);font-size:var(--text-sm)}._dialogTitle_sects_625{font-size:var(--text-base);font-weight:600;padding-left:var(--spacing-2)}._dialogCloseButton_sects_631{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;position:absolute;top:10px;right:10px}._popoverContent_sects_638{filter:drop-shadow(0 2px 2px rgb(0 0 0 / .2));display:flex;align-items:center;gap:var(--spacing-0_5);border-radius:var(--radius-medium);background-color:var(--baseBgSubtle);padding:var(--spacing-2) var(--spacing-2);font-size:var(--text-sm);z-index:1}._popoverArrow_sects_650{fill:var(--basePageBg)}._linkDialogPreviewAnchor_sects_654{margin-right:var(--spacing-1);display:flex;align-items:center;color:var(--accentText);text-decoration:none;border:1px solid transparent}@media (hover: hover){._linkDialogPreviewAnchor_sects_654:hover{color:var(--accentSolidHover)}}._linkDialogPreviewAnchor_sects_654 span{max-width:14rem;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}._tooltipTrigger_sects_677{align-self:center}._tooltipContent_sects_681{z-index:2;position:relative;border-radius:var(--radius-medium);padding:var(--spacing-1) var(--spacing-2);font-size:var(--text-xs);background-color:var(--baseText);color:var(--baseBase)}._tooltipContent_sects_681 svg{fill:var(--baseText)}._actionButton_sects_695{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-1);padding:var(--spacing-1) var(--spacing-1);border-radius:var(--radius-medium);color:var(--baseTextContrast)}._actionButton_sects_695 svg{display:block}@media (hover: hover){._actionButton_sects_695:hover{background-color:var(--baseBg)}}._actionButton_sects_695:active svg{transform:translate(1px,1px)}._actionButton_sects_695[data-state=on],._actionButton_sects_695:active{background-color:var(--baseBg);color:var(--baseTextContrast)}._primaryActionButton_sects_702{background-color:var(--accentSolid);color:var(--baseBase)}@media (hover: hover){._primaryActionButton_sects_702:hover{background-color:var(--accentSolidHover);color:var(--baseBase)}}._tableEditor_sects_714{table-layout:fixed;width:100%;height:100%;border-spacing:0;border-collapse:collapse}._tableEditor_sects_714 thead>tr>th{text-align:right}._tableEditor_sects_714>tbody>tr>td:not(._toolCell_sects_725),._tableEditor_sects_714>tbody>tr>th:not(._toolCell_sects_725):not([data-tool-cell=true]){border:1px solid var(--baseBgActive);padding:var(--spacing-1) var(--spacing-2);white-space:normal}:is(._tableEditor_sects_714>tbody>tr>td:not(._toolCell_sects_725),._tableEditor_sects_714>tbody>tr>th:not(._toolCell_sects_725):not([data-tool-cell=true]))>div{outline:none}:is(._tableEditor_sects_714>tbody>tr>td:not(._toolCell_sects_725),._tableEditor_sects_714>tbody>tr>th:not(._toolCell_sects_725):not([data-tool-cell=true]))>div>p{margin:0}[data-active=true]:is(._tableEditor_sects_714>tbody>tr>td:not(._toolCell_sects_725),._tableEditor_sects_714>tbody>tr>th:not(._toolCell_sects_725):not([data-tool-cell=true])){outline:solid 1px var(--baseSolid)}._tableEditor_sects_714 ._tableColumnEditorTrigger_sects_744,._tableEditor_sects_714 ._tableRowEditorTrigger_sects_745,._tableEditor_sects_714 ._addRowButton_sects_746,._tableEditor_sects_714 ._addColumnButton_sects_747,._tableEditor_sects_714 ._iconButton_sects_457{opacity:.15}@media (hover: hover){._tableEditor_sects_714:hover ._tableColumnEditorTrigger_sects_744,._tableEditor_sects_714:hover ._tableRowEditorTrigger_sects_745,._tableEditor_sects_714:hover ._addRowButton_sects_746,._tableEditor_sects_714:hover ._addColumnButton_sects_747,._tableEditor_sects_714:hover ._iconButton_sects_457{opacity:.3}._tableEditor_sects_714:hover ._tableColumnEditorTrigger_sects_744:hover,._tableEditor_sects_714:hover ._tableRowEditorTrigger_sects_745:hover,._tableEditor_sects_714:hover ._addRowButton_sects_746:hover,._tableEditor_sects_714:hover ._addColumnButton_sects_747:hover,._tableEditor_sects_714:hover ._iconButton_sects_457:hover{opacity:1}}._toolCell_sects_725{text-align:right}._toolCell_sects_725 button{margin:auto;display:block}._tableColumnEditorTrigger_sects_744{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;color:var(--baseTextContrast);padding:var(--spacing-1);border-radius:var(--radius-full);opacity:.2}._tableColumnEditorTrigger_sects_744 svg{display:block}@media (hover: hover){._tableColumnEditorTrigger_sects_744:hover{background-color:var(--baseBg)}}._tableColumnEditorTrigger_sects_744:active svg{transform:translate(1px,1px)}._tableColumnEditorTrigger_sects_744[data-state=on],._tableColumnEditorTrigger_sects_744:active{background-color:var(--baseBg);color:var(--baseTextContrast)}._tableColumnEditorTrigger_sects_744[data-active=true]{opacity:1!important}._tableColumnEditorToolbar_sects_789{display:flex}._tableColumnEditorToolbar_sects_789>button{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-1);color:var(--baseTextContrast)}._tableColumnEditorToolbar_sects_789>button svg{display:block}@media (hover: hover){._tableColumnEditorToolbar_sects_789>button:hover{background-color:var(--baseBg)}}._tableColumnEditorToolbar_sects_789>button:active svg{transform:translate(1px,1px)}._tableColumnEditorToolbar_sects_789>button[data-state=on],._tableColumnEditorToolbar_sects_789>button:active{background-color:var(--baseBg);color:var(--baseTextContrast)}._tableColumnEditorToolbar_sects_789 [role=separator]{margin-left:var(--spacing-1);margin-right:var(--spacing-1)}._toggleGroupRoot_sects_802{display:inline-flex}._toggleGroupRoot_sects_802 button{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-1);color:var(--baseTextContrast)}._toggleGroupRoot_sects_802 button svg{display:block}@media (hover: hover){._toggleGroupRoot_sects_802 button:hover{background-color:var(--baseBg)}}._toggleGroupRoot_sects_802 button:active svg{transform:translate(1px,1px)}._toggleGroupRoot_sects_802 button[data-state=on],._toggleGroupRoot_sects_802 button:active{background-color:var(--baseBg);color:var(--baseTextContrast)}._toggleGroupRoot_sects_802 button:first-child{border-top-left-radius:var(--radius-base);border-bottom-left-radius:var(--radius-base)}._toggleGroupRoot_sects_802 button:last-child{border-top-right-radius:var(--radius-base);border-bottom-right-radius:var(--radius-base)}._tableToolsColumn_sects_820{width:2rem}._tableToolsColumn_sects_820 button{margin:auto;display:block}._leftAlignedCell_sects_829{text-align:left}._rightAlignedCell_sects_833{text-align:right}._centeredCell_sects_837{text-align:center}._addColumnButton_sects_747,._addRowButton_sects_746{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding:var(--spacing-1);color:var(--baseTextContrast);background-color:var(--baseBase);display:flex;align-items:center}._addColumnButton_sects_747 svg,._addRowButton_sects_746 svg{display:block}@media (hover: hover){._addColumnButton_sects_747:hover,._addRowButton_sects_746:hover{background-color:var(--baseBg)}}._addColumnButton_sects_747:active svg,._addRowButton_sects_746:active svg{transform:translate(1px,1px)}._addColumnButton_sects_747[data-state=on],._addRowButton_sects_746[data-state=on],._addColumnButton_sects_747:active,._addRowButton_sects_746:active{background-color:var(--baseBg);color:var(--baseTextContrast)}._addColumnButton_sects_747 svg,._addRowButton_sects_746 svg{margin:auto}._addRowButton_sects_746{width:100%;margin-top:var(--spacing-px);box-sizing:border-box;border-bottom-right-radius:var(--radius-medium);border-bottom-left-radius:var(--radius-medium)}._addColumnButton_sects_747{margin-left:var(--spacing-px);height:100%;border-top-right-radius:var(--radius-medium);border-bottom-right-radius:var(--radius-medium)}._dialogOverlay_sects_870{position:fixed;inset:0;animation:_overlayShow_sects_1 .15s cubic-bezier(.16,1,.3,1);background-color:var(--baseBase);z-index:51;opacity:.5}._dialogContent_sects_603,._largeDialogContent_sects_615{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);animation:_contentShow_sects_1 .15s cubic-bezier(.16,1,.3,1);z-index:52}._dialogContent_sects_603:focus,._largeDialogContent_sects_615:focus{outline:none}@keyframes _overlayShow_sects_1{0%{opacity:0}to{opacity:.5}}@keyframes _contentShow_sects_1{0%{opacity:0;transform:translate(-50%,-48%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}._focusedImage_sects_916{outline:highlight solid 2px}._imageWrapper_sects_920{display:inline-block;position:relative}._imageWrapper_sects_920[draggable=true]{cursor:move;cursor:grab;cursor:-webkit-grab}._editImageToolbar_sects_933{position:absolute;right:0;top:0;display:flex;gap:var(--spacing-1);padding:var(--spacing-1);z-index:1;background-color:var(--baseBase);border-bottom-left-radius:var(--radius-base)}._editImageButton_sects_937 svg{display:block}._inlineEditor_sects_943{display:inline-flex;border-radius:var(--radius-medium);padding:var(--spacing-1);gap:var(--spacing-2);align-items:center;background:var(--baseBg)}._blockEditor_sects_952{display:flex;justify-content:stretch;border-radius:var(--radius-medium);padding:var(--spacing-2);gap:var(--spacing-2);align-items:center;background:var(--baseBg)}._blockEditor_sects_952 ._nestedEditor_sects_961{flex-grow:1}._nestedEditor_sects_961{background:var(--basePageBg);padding:var(--spacing-1) var(--spacing-2);border-radius:var(--radius-medium)}._nestedEditor_sects_961>p{margin:0}._nestedEditor_sects_961:focus{outline:none}._genericComponentName_sects_980{font-size:var(--text-sm);color:var(--baseText);padding-right:var(--spacing-2)}._diffSourceToggleWrapper_sects_986{margin-left:auto;pointer-events:auto;opacity:1;position:sticky;right:0}._diffSourceToggle_sects_986{border-radius:var(--radius-medium);background-color:var(--baseBase);display:flex}._diffSourceToggle_sects_986 ._toolbarToggleItem_sects_208{padding:0}._diffSourceToggle_sects_986 ._toolbarToggleItem_sects_208>span{display:block;padding:var(--spacing-1) var(--spacing-1)}._selectWithLabel_sects_1012{display:flex;align-items:center;gap:var(--spacing-2);margin-left:var(--spacing-2)}._selectWithLabel_sects_1012>label{font-size:var(--text-sm)}._selectWithLabel_sects_1012 ._selectTrigger_sects_308{border:1px solid var(--baseBorder)}._toolbarTitleMode_sects_1027{font-size:var(--text-sm);margin-left:var(--spacing-2)}._imageControlWrapperResizing_sects_1032{touch-action:none}._imageResizer_sects_1036{display:block;width:7px;height:7px;position:absolute;background-color:var(--accentText);border:1px solid var(--baseBg)}._imageResizer_sects_1036._imageResizerN_sects_1045{top:-6px;left:48%;cursor:n-resize}._imageResizer_sects_1036._imageResizerNe_sects_1051{top:-6px;right:-6px;cursor:ne-resize}._imageResizer_sects_1036._imageResizerE_sects_1057{bottom:48%;right:-6px;cursor:e-resize}._imageResizer_sects_1036._imageResizerSe_sects_1063{bottom:-2px;right:-6px;cursor:nwse-resize}._imageResizer_sects_1036._imageResizerS_sects_1063{bottom:-2px;left:48%;cursor:s-resize}._imageResizer_sects_1036._imageResizerSw_sects_1075{bottom:-2px;left:-6px;cursor:sw-resize}._imageResizer_sects_1036._imageResizerW_sects_1081{bottom:48%;left:-6px;cursor:w-resize}._imageResizer_sects_1036._imageResizerNw_sects_1087{top:-6px;left:-6px;cursor:nw-resize}._imagePlaceholder_sects_1093{border:2px dashed;padding:48px;margin:12px;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}._placeholder_sects_1101{color:var(--baseSolid);overflow:hidden;position:absolute;top:0;padding:var(--spacing-3);text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;display:inline-block;pointer-events:none}._rootContentEditableWrapper_sects_1114{position:relative}._downshiftContainer_sects_1118{display:flex;flex-direction:column;align-items:stretch}._downshiftInputWrapper_sects_1124{display:flex;align-items:center;background-color:var(--baseBase);border-radius:var(--radius-base);border:1px solid var(--baseBorder)}._downshiftInputWrapper_sects_1124[data-visible-dropdown=true]{border-bottom-left-radius:var(--radius-none);border-bottom-right-radius:var(--radius-none);border-bottom-width:0}._downshiftInputWrapper_sects_1124>button{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;padding-right:var(--spacing-2)}._downshiftInput_sects_1124{border:0;background-color:transparent;font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;all:unset;box-sizing:border-box;cursor:default;width:20rem;padding:var(--spacing-2) var(--spacing-3);font-size:var(--text-sm)}._downshiftInput_sects_1124::-moz-placeholder{color:var(--baseBorder)}._downshiftInput_sects_1124::placeholder{color:var(--baseBorder)}._downshiftAutocompleteContainer_sects_1155{position:relative}._downshiftAutocompleteContainer_sects_1155 ul{all:unset;box-sizing:border-box;position:absolute;font-size:var(--text-sm);width:100%;display:none;border-bottom-left-radius:var(--radius-medium);border-bottom-right-radius:var(--radius-medium);max-height:var(--spacing-48);overflow-x:hidden;overflow-y:auto;border:1px solid var(--baseBorder);border-top-width:0;background-color:var(--baseBase)}._downshiftAutocompleteContainer_sects_1155 ul[data-visible=true]{display:block}._downshiftAutocompleteContainer_sects_1155 ul li{padding:var(--spacing-2) var(--spacing-3);white-space:nowrap;margin-bottom:var(--spacing-1);overflow-x:hidden;text-overflow:ellipsis}._downshiftAutocompleteContainer_sects_1155 ul li[data-selected=true]{background-color:var(--baseBgSubtle)}._downshiftAutocompleteContainer_sects_1155 ul li[data-highlighted=true]{background-color:var(--baseBgHover)}._downshiftAutocompleteContainer_sects_1155 ul li:last-of-type{border-bottom-left-radius:var(--radius-medium);border-bottom-right-radius:var(--radius-medium)}._textInput_sects_1201{all:unset;border-radius:var(--radius-base);border:1px solid var(--baseBorder);background-color:var(--baseBase);padding:var(--spacing-2) var(--spacing-3)}form._multiFieldForm_sects_1209{display:flex;flex-direction:column;padding:var(--spacing-2);gap:var(--spacing-2)}form._multiFieldForm_sects_1209 ._formField_sects_1215{display:flex;flex-direction:column;gap:var(--spacing-2)}form._multiFieldForm_sects_1209 ._formField_sects_1215 label{font-size:var(--text-xs)}._markdownParseError_sects_1226{border-radius:var(--radius-base);border:1px solid var(--error-color);padding:var(--spacing-2);margin-block:var(--spacing-2);color:var(--error-color);font-size:var(--text-xs)}._popupContainer_sects_1235{position:relative;z-index:2}._inputSizer_sects_1240{display:inline-grid;vertical-align:baseline;align-items:center;position:relative}._inputSizer_sects_1240:after,._inputSizer_sects_1240 input{width:auto;min-width:1rem;grid-area:1 / 2;font:inherit;margin:0;padding:0 2px;resize:none;background:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:inherit}._inputSizer_sects_1240 span{padding:.25em}._inputSizer_sects_1240:after{content:attr(data-value);white-space:pre-wrap}:root,._light_1tncs_1,._light-theme_1tncs_1{--blue-1: #fbfdff;--blue-2: #f4faff;--blue-3: #e6f4fe;--blue-4: #d5efff;--blue-5: #c2e5ff;--blue-6: #acd8fc;--blue-7: #8ec8f6;--blue-8: #5eb1ef;--blue-9: #0090ff;--blue-10: #0588f0;--blue-11: #0d74ce;--blue-12: #113264}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--blue-1: color(display-p3 .986 .992 .999);--blue-2: color(display-p3 .96 .979 .998);--blue-3: color(display-p3 .912 .956 .991);--blue-4: color(display-p3 .853 .932 1);--blue-5: color(display-p3 .788 .894 .998);--blue-6: color(display-p3 .709 .843 .976);--blue-7: color(display-p3 .606 .777 .947);--blue-8: color(display-p3 .451 .688 .917);--blue-9: color(display-p3 .247 .556 .969);--blue-10: color(display-p3 .234 .523 .912);--blue-11: color(display-p3 .15 .44 .84);--blue-12: color(display-p3 .102 .193 .379)}}}._dark_1tncs_1,._dark-theme_1tncs_1{--blue-1: #0d1520;--blue-2: #111927;--blue-3: #0d2847;--blue-4: #003362;--blue-5: #004074;--blue-6: #104d87;--blue-7: #205d9e;--blue-8: #2870bd;--blue-9: #0090ff;--blue-10: #3b9eff;--blue-11: #70b8ff;--blue-12: #c2e6ff}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){._dark_1tncs_1,._dark-theme_1tncs_1{--blue-1: color(display-p3 .057 .081 .122);--blue-2: color(display-p3 .072 .098 .147);--blue-3: color(display-p3 .078 .154 .27);--blue-4: color(display-p3 .033 .197 .37);--blue-5: color(display-p3 .08 .245 .441);--blue-6: color(display-p3 .14 .298 .511);--blue-7: color(display-p3 .195 .361 .6);--blue-8: color(display-p3 .239 .434 .72);--blue-9: color(display-p3 .247 .556 .969);--blue-10: color(display-p3 .344 .612 .973);--blue-11: color(display-p3 .49 .72 1);--blue-12: color(display-p3 .788 .898 .99)}}}:root,._light_1tncs_1,._light-theme_1tncs_1{--slate-1: #fcfcfd;--slate-2: #f9f9fb;--slate-3: #f0f0f3;--slate-4: #e8e8ec;--slate-5: #e0e1e6;--slate-6: #d9d9e0;--slate-7: #cdced6;--slate-8: #b9bbc6;--slate-9: #8b8d98;--slate-10: #80838d;--slate-11: #60646c;--slate-12: #1c2024}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--slate-1: color(display-p3 .988 .988 .992);--slate-2: color(display-p3 .976 .976 .984);--slate-3: color(display-p3 .94 .941 .953);--slate-4: color(display-p3 .908 .909 .925);--slate-5: color(display-p3 .88 .881 .901);--slate-6: color(display-p3 .85 .852 .876);--slate-7: color(display-p3 .805 .808 .838);--slate-8: color(display-p3 .727 .733 .773);--slate-9: color(display-p3 .547 .553 .592);--slate-10: color(display-p3 .503 .512 .549);--slate-11: color(display-p3 .379 .392 .421);--slate-12: color(display-p3 .113 .125 .14)}}}._dark_1tncs_1,._dark-theme_1tncs_1{--slate-1: #111113;--slate-2: #18191b;--slate-3: #212225;--slate-4: #272a2d;--slate-5: #2e3135;--slate-6: #363a3f;--slate-7: #43484e;--slate-8: #5a6169;--slate-9: #696e77;--slate-10: #777b84;--slate-11: #b0b4ba;--slate-12: #edeef0}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){._dark_1tncs_1,._dark-theme_1tncs_1{--slate-1: color(display-p3 .067 .067 .074);--slate-2: color(display-p3 .095 .098 .105);--slate-3: color(display-p3 .13 .135 .145);--slate-4: color(display-p3 .156 .163 .176);--slate-5: color(display-p3 .183 .191 .206);--slate-6: color(display-p3 .215 .226 .244);--slate-7: color(display-p3 .265 .28 .302);--slate-8: color(display-p3 .357 .381 .409);--slate-9: color(display-p3 .415 .431 .463);--slate-10: color(display-p3 .469 .483 .514);--slate-11: color(display-p3 .692 .704 .728);--slate-12: color(display-p3 .93 .933 .94)}}}:root,._light_1tncs_1,._light-theme_1tncs_1{--grass-1: #fbfefb;--grass-2: #f5fbf5;--grass-3: #e9f6e9;--grass-4: #daf1db;--grass-5: #c9e8ca;--grass-6: #b2ddb5;--grass-7: #94ce9a;--grass-8: #65ba74;--grass-9: #46a758;--grass-10: #3e9b4f;--grass-11: #2a7e3b;--grass-12: #203c25}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--grass-1: color(display-p3 .986 .996 .985);--grass-2: color(display-p3 .966 .983 .964);--grass-3: color(display-p3 .923 .965 .917);--grass-4: color(display-p3 .872 .94 .865);--grass-5: color(display-p3 .811 .908 .802);--grass-6: color(display-p3 .733 .864 .724);--grass-7: color(display-p3 .628 .803 .622);--grass-8: color(display-p3 .477 .72 .482);--grass-9: color(display-p3 .38 .647 .378);--grass-10: color(display-p3 .344 .598 .342);--grass-11: color(display-p3 .263 .488 .261);--grass-12: color(display-p3 .151 .233 .153)}}}:root,._light_1tncs_1,._light-theme_1tncs_1{--cyan-1: #fafdfe;--cyan-2: #f2fafb;--cyan-3: #def7f9;--cyan-4: #caf1f6;--cyan-5: #b5e9f0;--cyan-6: #9ddde7;--cyan-7: #7dcedc;--cyan-8: #3db9cf;--cyan-9: #00a2c7;--cyan-10: #0797b9;--cyan-11: #107d98;--cyan-12: #0d3c48}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--cyan-1: color(display-p3 .982 .992 .996);--cyan-2: color(display-p3 .955 .981 .984);--cyan-3: color(display-p3 .888 .965 .975);--cyan-4: color(display-p3 .821 .941 .959);--cyan-5: color(display-p3 .751 .907 .935);--cyan-6: color(display-p3 .671 .862 .9);--cyan-7: color(display-p3 .564 .8 .854);--cyan-8: color(display-p3 .388 .715 .798);--cyan-9: color(display-p3 .282 .627 .765);--cyan-10: color(display-p3 .264 .583 .71);--cyan-11: color(display-p3 .08 .48 .63);--cyan-12: color(display-p3 .108 .232 .277)}}}:root,._light_1tncs_1,._light-theme_1tncs_1{--amber-1: #fefdfb;--amber-2: #fefbe9;--amber-3: #fff7c2;--amber-4: #ffee9c;--amber-5: #fbe577;--amber-6: #f3d673;--amber-7: #e9c162;--amber-8: #e2a336;--amber-9: #ffc53d;--amber-10: #ffba18;--amber-11: #ab6400;--amber-12: #4f3422}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--amber-1: color(display-p3 .995 .992 .985);--amber-2: color(display-p3 .994 .986 .921);--amber-3: color(display-p3 .994 .969 .782);--amber-4: color(display-p3 .989 .937 .65);--amber-5: color(display-p3 .97 .902 .527);--amber-6: color(display-p3 .936 .844 .506);--amber-7: color(display-p3 .89 .762 .443);--amber-8: color(display-p3 .85 .65 .3);--amber-9: color(display-p3 1 .77 .26);--amber-10: color(display-p3 .959 .741 .274);--amber-11: color(display-p3 .64 .4 0);--amber-12: color(display-p3 .294 .208 .145)}}}:root,._light_1tncs_1,._light-theme_1tncs_1{--red-1: #fffcfc;--red-2: #fff7f7;--red-3: #feebec;--red-4: #ffdbdc;--red-5: #ffcdce;--red-6: #fdbdbe;--red-7: #f4a9aa;--red-8: #eb8e90;--red-9: #e5484d;--red-10: #dc3e42;--red-11: #ce2c31;--red-12: #641723}@supports (color: color(display-p3 1 1 1)){@media (color-gamut: p3){:root,._light_1tncs_1,._light-theme_1tncs_1{--red-1: color(display-p3 .998 .989 .988);--red-2: color(display-p3 .995 .971 .971);--red-3: color(display-p3 .985 .925 .925);--red-4: color(display-p3 .999 .866 .866);--red-5: color(display-p3 .984 .812 .811);--red-6: color(display-p3 .955 .751 .749);--red-7: color(display-p3 .915 .675 .672);--red-8: color(display-p3 .872 .575 .572);--red-9: color(display-p3 .83 .329 .324);--red-10: color(display-p3 .798 .294 .285);--red-11: color(display-p3 .744 .234 .222);--red-12: color(display-p3 .36 .115 .143)}}}._bold_1tncs_10{font-weight:700}._italic_1tncs_14{font-style:italic}._underline_1tncs_18{text-decoration:underline}._strikethrough_1tncs_34{text-decoration:line-through}._underlineStrikethrough_1tncs_38{text-decoration:underline line-through}._subscript_1tncs_42{font-size:.8em;vertical-align:sub!important}._superscript_1tncs_47{font-size:.8em;vertical-align:super}._code_1tncs_52{background-color:var(--baseBg);padding:1px .25rem;font-family:var(--font-mono);font-size:94%}._nestedListItem_1tncs_59{list-style:none;list-style-type:none}._listitem_1tncs_69{margin:var(--spacing-2) 0}._listItemChecked_1tncs_73,._listItemUnchecked_1tncs_74{position:relative;margin-left:0;margin-right:0;margin-inline-start:-1rem;padding-left:var(--spacing-6);padding-right:var(--spacing-6);list-style-type:none;outline:none}._listItemChecked_1tncs_73{text-decoration:line-through}._listItemUnchecked_1tncs_74:before,._listItemChecked_1tncs_73:before{content:"";width:var(--spacing-4);height:var(--spacing-4);top:0;left:0;cursor:pointer;display:block;background-size:cover;position:absolute}._listItemUnchecked_1tncs_74[dir=rtl]:before,._listItemChecked_1tncs_73[dir=rtl]:before{left:auto;right:0}._listItemUnchecked_1tncs_74:focus:before,._listItemChecked_1tncs_73:focus:before{box-shadow:0 0 0 2px var(--accentBgActive);border-radius:var(--radius-small)}._listItemUnchecked_1tncs_74:before{border:1px solid var(--baseBorder);border-radius:var(--radius-small)}._listItemChecked_1tncs_73:before{border:1px solid var(--accentBorder);border-radius:var(--radius-small);background-color:var(--accentSolid);background-repeat:no-repeat}._listItemChecked_1tncs_73:after{content:"";cursor:pointer;border-color:var(--baseBase);border-style:solid;position:absolute;display:block;top:var(--spacing-0_5);width:var(--spacing-1);left:var(--spacing-1_5);right:var(--spacing-1_5);height:var(--spacing-2);transform:rotate(45deg);border-width:0 var(--spacing-0_5) var(--spacing-0_5) 0}._nestedListItem_1tncs_59{list-style-type:none}._nestedListItem_1tncs_59:before,._nestedListItem_1tncs_59:after{display:none}._admonitionDanger_1tncs_151,._admonitionInfo_1tncs_152,._admonitionNote_1tncs_153,._admonitionTip_1tncs_154,._admonitionCaution_1tncs_155{padding:var(--spacing-2);margin-top:var(--spacing-2);margin-bottom:var(--spacing-2);border-left:3px solid var(--admonitionBorder);background-color:var(--admonitionBg)}._admonitionInfo_1tncs_152{--admonitionBorder: var(--admonitionInfoBorder);--admonitionBg: var(--admonitionInfoBg)}._admonitionTip_1tncs_154{--admonitionBorder: var(--admonitionTipBorder);--admonitionBg: var(--admonitionTipBg)}._admonitionCaution_1tncs_155{--admonitionBorder: var(--admonitionCautionBorder);--admonitionBg: var(--admonitionCautionBg)}._admonitionDanger_1tncs_151{--admonitionBorder: var(--admonitionDangerBorder);--admonitionBg: var(--admonitionDangerBg)}._admonitionNote_1tncs_153{--admonitionBorder: var(--admonitionNoteBorder);--admonitionBg: var(--admonitionNoteBg)}._mdxExpression_1tncs_188{font-family:var(--font-mono);font-size:84%;color:var(--accentText)}._mdxExpression_1tncs_188 input:focus-visible{outline:none}/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.mdxeditor{resize:vertical;overflow:hidden}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable{color:var(--tw-prose-body);max-width:65ch}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:is(._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *))){color:inherit}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px rgb(var(--tw-prose-kbd-shadows)/10%);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}:is(._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *))){color:inherit}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:is(._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *))){color:inherit}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:NaN NaN NaN;--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}:is(._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))){padding-inline-start:.375em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:is(._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable :where(._prose_1hpme_2>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable{max-width:100%;height:100%;overflow:auto}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable~div{height:100%}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable [role=textbox]>:first-child{margin-top:0}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable a{color:var(--color-blue-600,oklch(54.6% .245 262.881));text-decoration-line:underline}._mdxeditor_1hpme_2 .mdxeditor-root-contenteditable [data-editor-block-type=image]{border-radius:var(--radius-sm,.25rem);border-style:var(--tw-border-style);border-width:1px;width:10rem;height:10rem}._mdxeditor_1hpme_2 .mdxeditor-toolbar{gap:calc(var(--spacing,.25rem)*2);padding:calc(var(--spacing,.25rem)*2);width:inherit;z-index:2;background-color:#fff;border-radius:12px 12px 0 0;flex-direction:row;align-items:center;display:flex;position:sticky;top:0;overflow-x:auto}html .mdxeditor-popup-container{z-index:2000;border:0;width:0;height:0;min-height:0;position:fixed;top:0;left:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|