PageSourceSearch

https://app.contio.ai/assets/index-Cf00buEP.js

js contio.ai collected 2026-10-01 23:44:12 UTC 18,655 bytes, 1 lines download raw bytes

1import{a as e,j as t}from"./react-query-DywPi3Wo.js";import{aX as o,s as n,F as i}from"./index-DlKj98-E.js";import{t as r,a as s}from"./ui-utils-4YCDwm7v.js";import"./react-vendor-6ULW7vKx.js";import"./notifications-CniyskoD.js";import"./state-management-D35o73Ew.js";import"./date-fns-core-DhfE3dwm.js";import"./router-CfEbv8XI.js";import"./fontawesome--Aw3gwP5.js";import"./radix-ui-CdNO4ynG.js";import"./api-utils-DeT0SS0P.js";import"./tiptap-complete-I_SUyZ8Y.js";import"./collaboration-protocols-oLklGwa8.js";import"./collaboration-provider-DYKWCpdb.js";import"./lucide-icons-B0eZXG9a.js";import"./command-utils-Ca9Q8TxB.js";import"./virtualization-CdcdMTXM.js";import"./react-day-picker-CHkWmtOp.js";function c(...e){return r(s(e))}const l=()=>{const e=o();return e.ready?e.os:void 0},a=e.createContext({isWindowMaximized:!1,minimizeWindow:()=>Promise.resolve(),maximizeWindow:()=>Promise.resolve(),fullscreenWindow:()=>Promise.resolve(),closeWindow:()=>Promise.resolve()}),d=r=>{const s=n.c(7),{children:c}=r,[d,h]=e.useState(!1);let f,x;s[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{const e=o();if(!e.ready)return;const t=async()=>{try{const t=await e.call("window","isMaximized",void 0);h(t)}catch(t){const e=t;i.error("Failed to read window maximized state",e)}};return"macos"!==l()?(t(),e.subscribe("window","resized",()=>{t()})):void 0},x=[],s[0]=f,s[1]=x):(f=s[0],x=s[1]),e.useEffect(f,x);const p=C,v=m,b=u,g=w;let j,y;return s[2]!==d?(j={isWindowMaximized:d,minimizeWindow:p,maximizeWindow:v,fullscreenWindow:b,closeWindow:g},s[2]=d,s[3]=j):j=s[3],s[4]!==c||s[5]!==j?(y=t.jsx(a.Provider,{value:j,children:c}),s[4]=c,s[5]=j,s[6]=y):y=s[6],y};async function C(){o().ready&&await o().call("window","minimize",void 0)}async function m(){o().ready&&await o().call("window","toggleMaximize",void 0)}async function u(){const e=o();if(!e.ready)return;const t=await e.call("window","isFullscreen",void 0);await e.call("window","setFullscreen",{fullscreen:!t})}async function w(){const e=o();if(e.ready){try{await e.call("keepAwake","toggle",{display:!1,idle:!1,sleep:!1})}catch(t){const e=t;i.error("Failed to toggle keepawake off when hiding window:",e)}"macos"===l()?await e.call("window","hide",void 0):await e.call("window","close",void 0)}}const h=e=>t.jsx("svg",{width:"10",height:"1",viewBox:"0 0 10 1",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M0.498047 1.00098C0.429688 1.00098 0.364583 0.987956 0.302734 0.961914C0.244141 0.935872 0.192057 0.900065 0.146484 0.854492C0.100911 0.808919 0.0651042 0.756836 0.0390625 0.698242C0.0130208 0.636393 0 0.571289 0 0.50293C0 0.43457 0.0130208 0.371094 0.0390625 0.3125C0.0651042 0.250651 0.100911 0.19694 0.146484 0.151367C0.192057 0.102539 0.244141 0.0651042 0.302734 0.0390625C0.364583 0.0130208 0.429688 0 0.498047 0H9.50195C9.57031 0 9.63379 0.0130208 9.69238 0.0390625C9.75423 0.0651042 9.80794 0.102539 9.85352 0.151367C9.89909 0.19694 9.9349 0.250651 9.96094 0.3125C9.98698 0.371094 10 0.43457 10 0.50293C10 0.571289 9.98698 0.636393 9.96094 0.698242C9.9349 0.756836 9.89909 0.808919 9.85352 0.854492C9.80794 0.900065 9.75423 0.935872 9.69238 0.961914C9.63379 0.987956 9.57031 1.00098 9.50195 1.00098H0.498047Z",fill:"currentColor",fillOpacity:"0.8956"})}),f=e=>t.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M1.47461 10.001C1.2793 10.001 1.09212 9.96191 0.913086 9.88379C0.734049 9.80241 0.576172 9.69499 0.439453 9.56152C0.30599 9.4248 0.198568 9.26693 0.117188 9.08789C0.0390625 8.90885 0 8.72168 0 8.52637V1.47559C0 1.28027 0.0390625 1.0931 0.117188 0.914062C0.198568 0.735026 0.30599 0.578776 0.439453 0.445312C0.576172 0.308594 0.734049 0.201172 0.913086 0.123047C1.09212 0.0416667 1.2793 0.000976562 1.47461 0.000976562H8.52539C8.7207 0.000976562 8.90788 0.0416667 9.08691 0.123047C9.26595 0.201172 9.4222 0.308594 9.55566 0.445312C9.69238 0.578776 9.7998 0.735026 9.87793 0.914062C9.95931 1.0931 10 1.28027 10 1.47559V8.52637C10 8.72168 9.95931 8.90885 9.87793 9.08789C9.7998 9.26693 9.69238 9.4248 9.55566 9.56152C9.4222 9.69499 9.26595 9.80241 9.08691 9.88379C8.90788 9.96191 8.7207 10.001 8.52539 10.001H1.47461ZM8.50098 9C8.56934 9 8.63281 8.98698 8.69141 8.96094C8.75326 8.9349 8.80697 8.89909 8.85254 8.85352C8.89811 8.80794 8.93392 8.75586 8.95996 8.69727C8.986 8.63542 8.99902 8.57031 8.99902 8.50195V1.5C8.99902 1.43164 8.986 1.36816 8.95996 1.30957C8.93392 1.24772 8.89811 1.19401 8.85254 1.14844C8.80697 1.10286 8.75326 1.06706 8.69141 1.04102C8.63281 1.01497 8.56934 1.00195 8.50098 1.00195H1.49902C1.43066 1.00195 1.36556 1.01497 1.30371 1.04102C1.24512 1.06706 1.19303 1.10286 1.14746 1.14844C1.10189 1.19401 1.06608 1.24772 1.04004 1.30957C1.014 1.36816 1.00098 1.43164 1.00098 1.5V8.50195C1.00098 8.57031 1.014 8.63542 1.04004 8.69727C1.06608 8.75586 1.10189 8.80794 1.14746 8.85352C1.19303 8.89909 1.24512 8.9349 1.30371 8.96094C1.36556 8.98698 1.43066 9 1.49902 9H8.50098Z",fill:"currentColor",fillOpacity:"0.8956"})}),x=e=>t.jsx("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M8.99902 2.98096C8.99902 2.71077 8.94531 2.45687 8.83789 2.21924C8.73047 1.97835 8.58398 1.77002 8.39844 1.59424C8.21615 1.4152 8.00293 1.27523 7.75879 1.17432C7.5179 1.07015 7.264 1.01807 6.99707 1.01807H2.08496C2.13704 0.868327 2.21029 0.731608 2.30469 0.60791C2.39909 0.484212 2.50814 0.378418 2.63184 0.290527C2.75553 0.202637 2.89062 0.135905 3.03711 0.090332C3.18685 0.0415039 3.34147 0.0170898 3.50098 0.0170898H6.99707C7.41048 0.0170898 7.79948 0.0968424 8.164
106 0.256348C8.52865 0.412598 8.84603 0.625814 9.11621 0.895996C9.38965 1.16618 9.60449 1.48356 9.76074 1.84814C9.92025 2.21273 10 2.60173 10 3.01514V6.51611C10 6.67562 9.97559 6.83024 9.92676 6.97998C9.88118 7.12646 9.81445 7.26156 9.72656 7.38525C9.63867 7.50895 9.53288 7.618 9.40918 7.7124C9.28548 7.8068 9.14876 7.88005 8.99902 7.93213V2.98096ZM1.47461 10.0171C1.2793 10.0171 1.09212 9.97803 0.913086 9.8999C0.734049 9.81852 0.576172 9.7111 0.439453 9.57764C0.30599 9.44092 0.198568 9.28304 0.117188 9.104C0.0390625 8.92497 0 8.73779 0 8.54248V3.49365C0 3.29508 0.0390625 3.10791 0.117188 2.93213C0.198568 2.75309 0.30599 2.59684 0.439453 2.46338C0.576172 2.32666 0.732422 2.21924 0.908203 2.14111C1.08724 2.05973 1.27604 2.01904 1.47461 2.01904H6.52344C6.72201 2.01904 6.91081 2.05973 7.08984 2.14111C7.26888 2.21924 7.42513 2.32503 7.55859 2.4585C7.69206 2.59196 7.79785 2.74821 7.87598 2.92725C7.95736 3.10628 7.99805 3.29508 7.99805 3.49365V8.54248C7.99805 8.74105 7.95736 8.92985 7.87598 9.10889C7.79785 9.28467 7.69043 9.44092 7.55371 9.57764C7.42025 9.7111 7.264 9.81852 7.08496 9.8999C6.90918 9.97803 6.72201 10.0171 6.52344 10.0171H1.47461ZM6.49902 9.01611C6.56738 9.01611 6.63086 9.00309 6.68945 8.97705C6.7513 8.95101 6.80501 8.9152 6.85059 8.86963C6.89941 8.82406 6.93685 8.77197 6.96289 8.71338C6.98893 8.65153 7.00195 8.58643 7.00195 8.51807V3.51807C7.00195 3.44971 6.98893 3.3846 6.96289 3.32275C6.93685 3.2609 6.90104 3.20719 6.85547 3.16162C6.8099 3.11605 6.75618 3.08024 6.69434 3.0542C6.63249 3.02816 6.56738 3.01514 6.49902 3.01514H1.49902C1.43066 3.01514 1.36556 3.02816 1.30371 3.0542C1.24512 3.08024 1.19303 3.11768 1.14746 3.1665C1.10189 3.21208 1.06608 3.26579 1.04004 3.32764C1.014 3.38623 1.00098 3.44971 1.00098 3.51807V8.51807C1.00098 8.58643 1.014 8.65153 
11.04004 8.71338C1.06608 8.77197 1.10189 8.82406 1.14746 8.86963C1.19303 8.9152 1.24512 8.95101 1.30371 8.97705C1.36556 9.00309 1.43066 9.01611 1.49902 9.01611H6.49902Z",fill:"currentColor",fillOpacity:"0.8956"})}),p=e=>t.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M5 5.70898L0.854492 9.85449C0.756836 9.95215 0.639648 10.001 0.50293 10.001C0.359701 10.001 0.239258 9.95378 0.141602 9.85938C0.0472005 9.76172 0 9.64128 0 9.49805C0 9.36133 0.0488281 9.24414 0.146484 9.14648L4.29199 5.00098L0.146484 0.855469C0.0488281 0.757812 0 0.638997 0 0.499023C0 0.430664 0.0130208 0.36556 0.0390625 0.303711C0.0651042 0.241862 0.100911 0.189779 0.146484 0.147461C0.192057 0.101888 0.245768 0.0660807 0.307617 0.0400391C0.369466 0.0139974 0.43457 0.000976562 0.50293 0.000976562C0.639648 0.000976562 0.756836 0.0498047 0.854492 0.147461L5 4.29297L9.14551 0.147461C9.24316 0.0498047 9.36198 0.000976562 9.50195 0.000976562C9.57031 0.000976562 9.63379 0.0139974 9.69238 0.0400391C9.75423 0.0660807 9.80794 0.101888 9.85352 0.147461C9.89909 0.193034 9.9349 0.246745 9.96094 0.308594C9.98698 0.367188 10 0.430664 10 0.499023C10 0.638997 9.95117 0.757812 9.85352 0.855469L5.70801 5.00098L9.85352 9.14648C9.95117 9.24414 10 9.36133 10 9.49805C10 9.56641 9.98698 9.63151 9.96094 9.69336C9.9349 9.75521 9.89909 9.80892 9.85352 9.85449C9.8112 9.90007 9.75911 9.93587 9.69727 9.96191C9.63542 9.98796 9.57031 10.001 9.50195 10.001C9.36198 10.001 9.24316 9.95215 9.14551 9.85449L5 5.70898Z",fill:"currentColor",fillOpacity:"0.8956"})}),v=e=>t.jsx("svg",{width:"6",height:"6",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("path",{d:"M15.7522 4.44381L11.1543 9.04165L15.7494 13.6368C16.0898 13.9771 16.078 14.5407 15.724 14.8947L13.8907 16.728C13.5358 17.0829 12.9731 17.0938 12.6328 16.7534L8.03766 12.1583L3.44437 16.7507C3.10402 17.091 2.54132 17.0801 2.18645 16.7253L0.273257 14.8121C-0.0807018 14.4572 -0.0925004 13.8945 0.247845 13.5542L4.84024 8.96087L0.32499 4.44653C-0.0153555 4.10619 -0.00355681 3.54258 0.350402 3.18862L2.18373 1.35529C2.53859 1.00042 3.1013 0.989533 3.44164 1.32988L7.95689 5.84422L12.5556 1.24638C12.8951 0.906035 13.4587 0.917833 13.8126 1.27179L15.7267 3.18589C16.0807 3.53985 16.0925 4.10346 15.7522 4.44381Z",fill:"currentColor"})}),b=e=>t.jsx("svg",{width:"8",height:"8",viewBox:"0 0 17 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("g",{clipPath:"url(#clip0_20_2051)",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.47211 1.18042H15.4197C15.8052 1.18042 16.1179 1.50551 16.1179 1.90769V3.73242C16.1179 4.13387 15.8052 4.80006 15.4197 4.80006H1.47211C1.08665 4.80006 0.773926 4.47497 0.773926 4.07278V1.90769C0.773926 1.50551 1.08665 1.18042 1.47211 1.18042Z",fill:"currentColor"})})}),g=e=>t.jsx("svg",{width:"6",height:"6",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("g",{clipPath:"url(#clip0_20_2057)",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53068 0.433838L15.0933 12.0409C15.0933 12.0409 15.0658 5.35028 15.0658 4.01784C15.0658 1.32095 14.1813 0.433838 11.5378 0.433838C10.6462 0.433838 3.53068 0.433838 3.53068 0.433838ZM12.4409 15.5378L0.87735 3.93073C0.87735 3.93073 0.905794 10.6214 0.905794 11.9538C0.905794 14.6507 1.79024 15.5378 4.43291 15.5378C5.32535 15.5378 12.4409 15.5378 12.4409 15.5378Z",fill:"currentColor"})})}),j=e=>t.jsx("svg",{width:"8",height:"8",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t.jsx("g",{clipPath:"url(#clip0_20_2053)",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5308 9.80147H10.3199V15.0095C10.3199 15.3949 9.9941 15.7076 9.59265 15.7076H7.51555C7.11337 15.7076 6.78828 15.3949 6.78828 15.0095V9.80147H1.58319C1.19774 9.80147 0.88501 9.47638 0.88501 9.07419V6.90619C0.88501 6.50401 1.19774 6.17892 1.58319 6.17892H6.78828V1.06183C6.78828 0.676375 7.11337 0.363647 7.51555 0.363647H9.59265C9.9941 0.363647 10.3199 0.676375 10.3199 1.06183
1V6.17892H15.5308C15.9163 6.17892 16.229 6.50401 16.229 6.90619V9.07419C16.229 9.47638 15.9163 9.80147 15.5308 9.80147Z",fill:"currentColor"})})});function y(e){const o=n.c(10);let i,r,s,l,a;return o[0]!==e?(({className:r,children:i,...s}=e),o[0]=e,o[1]=i,o[2]=r,o[3]=s):(i=o[1],r=o[2],s=o[3]),o[4]!==r?(l=c("inline-flex cursor-default items-center justify-center",r),o[4]=r,o[5]=l):l=o[5],o[6]!==i||o[7]!==s||o[8]!==l?(a=t.jsx("button",{className:l,...s,children:i}),o[6]=i,o[7]=s,o[8]=l,o[9]=a):a=o[9],a}function k(o){const i=n.c(23);let r,s;i[0]!==o?(({className:r,...s}=o),i[0]=o,i[1]=r,i[2]=s):(r=i[1],s=i[2]);const{isWindowMaximized:l,minimizeWindow:d,maximizeWindow:C,closeWindow:m}=e.useContext(a);let u,w,v,b,g,j,k,_,L;return i[3]!==r?(u=c("h-8",r),i[3]=r,i[4]=u):u=i[4],i[5]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(h,{}),i[5]=w):w=i[5],i[6]!==d?(v=t.jsx(y,{onClick:d,className:"max-h-8 w-[46px] cursor-default rounded-none bg-transparent text-black/90 hover:bg-black/[.05] active:bg-black/[.03]  dark:text-white dark:hover:bg-white/[.06] dark:active:bg-white/[.04]",children:w}),i[6]=d,i[7]=v):v=i[7],i[8]===Symbol.for("react.memo_cache_sentinel")?(b=c("max-h-8 w-[46px] cursor-default rounded-none bg-transparent","text-black/90 hover:bg-black/[.05] active:bg-black/[.03] dark:text-white dark:hover:bg-white/[.06] dark:active:bg-white/[.04]"),i[8]=b):b=i[8],i[9]!==l?(g=l?t.jsx(x,{}):t.jsx(f,{}),i[9]=l,i[10]=g):g=i[10],i[11]!==C||i[12]!==g?(j=t.jsx(y,{onClick:C,className:b,children:g}),i[11]=C,i[12]=g,i[13]=j):j=i[13],i[14]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx(p,{}),i[14]=k):k=i[14],i[15]!==m?(_=t.jsx(y,{onClick:m,className:"max-h-8 w-[46px] cursor-default rounded-none bg-transparent text-black/90 hover:bg-[#c42b1c] hover:text-white active:bg-[#c42b1c]/90 dark:text-white",children:k}),i[15]=m,i[16]=_):_=i[16],i[17]!==s||i[18]!==u||i[19]!==v||i[20]!==j||i[21]!==_?(L=t.jsxs("div",{className:u,...s,children:[v,j,_]}),i[17]=s,i[18]=u,i[19]=v,i[20]=j,i[21]=_,i[22]=L):L=i[22],L}function _(o){const i=n.c(32);let r,s;i[0]!==o?(({className:r,...s}=o),i[0]=o,i[1]=r,i[2]=s):(r=i[1],s=i[2]);const{minimizeWindow:l,maximizeWindow:d,fullscreenWindow:C,closeWindow:m}=e.useContext(a),[u,w]=e.useState(!1),[h,f]=e.useState(!1);let x;i[3]!==u?(x=u?t.jsx(j,{}):t.jsx(g,{}),i[3]=u,i[4]=x):x=i[4];const p=x;let k;i[5]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{f(!0)},i[5]=k):k=i[5];const _=k;let L;i[6]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{f(!1)},i[6]=L):L=i[6];const N=L;let H;i[7]===Symbol.for("react.memo_cache_sentinel")?(H=e=>{"Alt"===e.key&&w(!0)},i[7]=H):H=i[7];const M=H;let V;i[8]===Symbol.for("react.memo_cache_sentinel")?(V=e=>{"Alt"===e.key&&w(!1)},i[8]=V):V=i[8];const W=V;let z,S,Z,E,B,P,F;i[9]===Symbol.for("react.memo_cache_sentinel")?(z=()=>{window.addEventListener("keydown",M),window.addEventListener("keyup",W)},S=[],i[9]=z,i[10]=S):(z=i[9],S=i[10]),e.useEffect(z,S),i[11]!==r?(Z=c("space-x-2 px-3 text-black active:text-black dark:text-black",r),i[11]=r,i[12]=Z):Z=i[12],i[13]!==h?(E=h&&t.jsx(v,{}),i[13]=h,i[14]=E):E=i[14],i[15]!==m||i[16]!==E?(B=t.jsx(y,{onClick:m,className:"aspect-square h-3 w-3 cursor-default content-center items-center justify-center self-center rounded-full border !border-black/[.12] !bg-[#ff544d] text-center text-black/60 hover:!bg-[#ff544d] active:!bg-[#bf403a] active:text-black/60 dark:!border-none",children:E}),i[15]=m,i[16]=E,i[17]=B):B=i[17],i[18]!==h?(P=h&&t.jsx(b,{}),i[18]=h,i[19]=P):P=i[19],i[20]!==l||i[21]!==P?(F=t.jsx(y,{onClick:l,className:"aspect-square h-3 w-3 cursor-default content-center items-center justify-center self-center rounded-full border !border-black/[.12] !bg-[#ffbd2e] text-center text-black/60 hover:!bg-[#ffbd2e] active:!bg-[#bf9122] active:text-black/60 dark:!border-none",children:P}),i[20]=l,i[21]=P,i[22]=F):F=i[22];const R=u?d:C,O=h&&p;let q,A;return i[23]!==R||i[24]!==O?(q=t.jsx(y,{onClick:R,className:"aspect-square h-3 w-3 cursor-default content-center items-center justify-center self-center rounded-full border !border-black/[.12] !bg-[#28c93f] text-center text-black/60 hover:!bg-[#28c93f] active:!bg-[#1e9930] active:text-black/60 dark:!border-none",children:O}),i[23]=R,i[24]=O,i[25]=q):q=i[25],i[26]!==s||i[27]!==B||i[28]!==F||i[29]!==q||i[30]!==Z?(A=t.jsxs("div",{className:Z,onMouseEnter:_,onMouseLeave:N,...s,children:[B,F,q]}),i[26]=s,i[27]=B,i[28]=F,i[29]=q,i[30]=Z,i[31]=A):A=i[31],A}function L(o){const i=n.c(17);let r,s,a,C,m,u;i[0]!==o?(({platform:s,justify:C,hide:m,hideMethod:u,className:r,...a}=o),i[0]=o,i[1]=r,i[2]=s,i[3]=a,i[4]=C,i[5]=m,i[6]=u):(r=i[1],s=i[2],a=i[3],C=i[4],m=i[5],u=i[6]);const w=void 0!==C&&C,h=void 0!==m&&m,f=void 0===u?"display":u,[x,p]=e.useState(void 0);let v,b,g;if(i[7]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{const e=l();p(e)},b=[],i[7]=v,i[8]=b):(v=i[7],b=i[8]),e.useEffect(v,b),i[9]!==r||i[10]!==h||i[11]!==f||i[12]!==w||i[13]!==x||i[14]!==s||i[15]!==a){const e=c("flex",r,h&&("display"===f?"hidden":"inv
1isible")),o="macos"===(s??(()=>{switch(x){case"macos":return"macos";case"linux":return"gnome";default:return"windows"}})())?t.jsx(_,{className:c(e,w&&"ml-0"),...a}):t.jsx(k,{className:c(e,w&&"ml-auto"),...a});g=t.jsx(d,{children:o}),i[9]=r,i[10]=h,i[11]=f,i[12]=w,i[13]=x,i[14]=s,i[15]=a,i[16]=g}else g=i[16];return g}function N(o){const i=n.c(23);let r,s,a,d,C;i[0]!==o?(({children:r,controlsOrder:d,className:s,windowControlsProps:C,...a}=o),i[0]=o,i[1]=r,i[2]=s,i[3]=a,i[4]=d,i[5]=C):(r=i[1],s=i[2],a=i[3],d=i[4],C=i[5]);const m=void 0===d?"system":d,[u,w]=e.useState(void 0);let h,f;i[6]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{const e=l();w(e)},f=[],i[6]=h,i[7]=f):(h=i[6],f=i[7]),e.useEffect(h,f);const x=e.useRef(!1);let p,v;i[8]!==u?(p=()=>{if(x.current)return;if("macos"!==u)return;let e=document.getElementById("macos-rounded-corners-style");return e||(e=document.createElement("style"),e.id="macos-rounded-corners-style",e.textContent="\n            body { background: transparent !important; }\n            .App { background: transparent !important; overflow: hidden; border-radius: 10px; }\n        ",document.head.appendChild(e),x.current=!0),H},v=[u],i[8]=u,i[9]=p,i[10]=v):(p=i[9],v=i[10]),e.useEffect(p,v);const b="left"===m||"platform"===m&&"macos"===C?.platform||"system"===m&&"macos"===u;let g;i[11]!==C?(g=e=>{if(void 0!==C?.justify)return C;const{justify:t,className:o,...n}=C||{};return{justify:!1,className:c(o,e),...n}},i[11]=C,i[12]=g):g=i[12];const j=g;let y,k,_;return i[13]!==s?(y=c("flex flex-row overflow-hidden bg-background select-none",s),i[13]=s,i[14]=y):y=i[14],i[15]!==r||i[16]!==j||i[17]!==b?(k=b?t.jsxs(t.Fragment,{children:[t.jsx(L,{...j("ml-0")}),r]}):t.jsxs(t.Fragment,{children:[r,t.jsx(L,{...j("ml-auto")})]}),i[15]=r,i[16]=j,i[17]=b,i[18]=k):k=i[18],i[19]!==a||i[20]!==y||i[21]!==k?(_=t.jsx("div",{className:y,"data-tauri-drag-region":!0,...a,children:k}),i[19]=a,i[20]=y,i[21]=k,i[22]=_):_=i[22],_}function H(){const e=document.getElementById("macos-rounded-corners-style");e&&e.parentNode&&e.parentNode.removeChild(e)}export{L as WindowControls,N as WindowTitlebar};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.