1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,347946,(e,t,r)=>{},411757,(e,t,r)=>{var s=e.i(310463);e.r(347946);var a=e.r(78228),i=a&&"object"==typeof a&&"default"in a?a:{default:a},n=void 0!==s.default&&s.default.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,a=t.optimizeForSpeed,i=void 0===a?n:a;c(o(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",c("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(n||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(o(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return n||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){n||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];c(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(o(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return r?a.insertBefore(s,r):a.appendChild(s),s},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},m={};function u(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return m[s]||(m[s]="jsx-"+d(e+"-"+r)),m[s]}function x(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return m[r]||(m[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),m[r]}var h=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,a=t.optimizeForSpeed,i=void 0!==a&&a;this._sheet=s||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),s=r.styleId,a=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var a=u(s,r);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return x(a,e)}):[x(a,t)]}}return{styleId:u(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=a.createContext(null);function g(){return new h}function f(){return a.useContext(p)}p.displayName="StyleSheetContext";var b=i.default.useInsertionEffect||i.default.useLayoutEffect,j="u">typeof window?g():void 0;function v(e){var t=j||f();return t&&("u"<typeof window?t.add(e):b(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return u(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,s=a.useContext(p),n=a.useState(function(){return s||t||g()})[0];return i.default.createElement(p.Provider,{value:n},r)},r.createStyleRegistry=g,r.style=v,r.useStyleRegistry=f},264863,(e,t,r)=>{t.exports=e.r(411757).style},134522,e=>{"use strict";var t=e.i(771246),r=e.i(78228),s=e.i(821957),a=e.i(462834),i=e.i(939365),n=e.i(124945),o=e.i(256884),l=e.i(691912),c=e.i(785069),d=e.i(38946),m=e.i(804148),u=e.i(264863);let x=[{symbol:"$",name:"United States Dollar",code:"USD",rate:1,flag:"ðºð¸"},{symbol:"â¬",name:"Euro",code:"EUR",rate:.8821,flag:"ðªðº"}
1,{symbol:"£",name:"British Pound",code:"GBP",rate:.7493,flag:"ð¬ð§"},{symbol:"Â¥",name:"Japanese Yen",code:"JPY",rate:149.52,flag:"ð¯ðµ"},{symbol:"C$",name:"Canadian Dollar",code:"CAD",rate:1.3642,flag:"ð¨ð¦"},{symbol:"A$",name:"Australian Dollar",code:"AUD",rate:1.5307,flag:"ð¦ðº"}];function h(e){return e>=100?e.toFixed(2):e.toFixed(4)}let p={DGA:.195,ICG:.165,IATSE:.175,WC:.068,PH:.12},g={DGA:"bg-red-500/10 text-red-400",ICG:"bg-amber-500/10 text-amber-500",IATSE:"bg-violet-500/10 text-violet-400",WC:"bg-cyan-500/10 text-cyan-400",PH:"bg-emerald-500/10 text-emerald-400"},f=[{name:"Line Producer",baseRate:1100,allFringes:["DGA","WC","PH"]},{name:"Asst. Director",baseRate:850,allFringes:["DGA","WC"]},{name:"Dir. of Photography",baseRate:600,allFringes:["ICG","WC","PH"]},{name:"1st Asst. Camera",baseRate:350,allFringes:["ICG","WC"]},{name:"Prop Master",baseRate:750,allFringes:["IATSE","WC","PH"]}],b=[{row:0,fringe:"PH",action:"add"},{row:2,fringe:"PH",action:"add"},{row:4,fringe:"PH",action:"add"},{row:0,fringe:"WC",action:"remove"},{row:2,fringe:"WC",action:"remove"},{row:0,fringe:"WC",action:"add"},{row:2,fringe:"WC",action:"add"},{row:0,fringe:"PH",action:"remove"},{row:2,fringe:"PH",action:"remove"},{row:4,fringe:"PH",action:"remove"}],j=[{symbol:"PD",description:"Prep Days",formula:"5",unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"SD",description:"Shoot Days",formula:"2",unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"TD",description:"Total Days",formula:"",formulaRefs:[{text:"PD",color:"#eab308"},{text:"+",color:""},{text:"SD",color:"#ef4444"}],unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"TW",description:"Total Weeks",formula:"",formulaRefs:[{text:"TD",color:"#a855f7"},{text:"* 6",color:""}],unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"EP",description:"Prep Day Rate",formula:"4",unitColor:"rgba(124,45,18,0.8)",unit:"Each"},{symbol:"H",description:"Hotels",formula:"",formulaRefs:[{text:"PD",color:"#eab308"},{text:"+",color:""},{text:"SD",color:"#ef4444"}],unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"Ca",description:"Cars",formula:"33434",unitColor:"",unit:""},{symbol:"FL",description:"Flights",formula:"5",unitColor:"",unit:""},{symbol:"POST",description:"Post Days",formula:"4",unitColor:"rgba(113,63,18,0.8)",unit:"Day"},{symbol:"TV",description:"Travel",formula:"2000",unitColor:"rgba(124,45,18,0.8)",unit:"Each"}],v=[{title:"International Currency Support",description:"Budget in any currency with live conversion rates. Shoot in London, post in Tokyo, report in USD. Every line item stays accurate across borders.",visual:(0,t.jsx)(function(){let[e,s]=(0,r.useState)(0),[a,i]=(0,r.useState)(1),[n,o]=(0,r.useState)(!1),[l,c]=(0,r.useState)("1.0000"),d=(0,r.useRef)(1),m=(0,r.useRef)(0);(0,r.useEffect)(()=>{m.current=e},[e]),(0,r.useEffect)(()=>{let t=x[e].rate,r=d.current;if(.001>Math.abs(t-r)){d.current=t,c(h(t));return}let s=0,a=setInterval(()=>{let e=r+(t-r)*(1-Math.pow(1-++s/20,3));d.current=e,c(h(e)),s>=20&&(d.current=t,c(h(t)),clearInterval(a))},28);return()=>clearInterval(a)},[e]),(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await t(2200);!e;){let e=function(e){let t;do t=Math.floor(Math.random()*x.length);while(t===e)return t}(m.current);i(e),o(!0),await t(1400),s(e),await t(500),o(!1),await t(3e3)}})().catch(()=>{}),()=>{e=!0}},[]);let u=x[e];return(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"border-b border-border/50 px-5 py-3",children:[(0,t.jsx)("p",{className:"mb-1.5 text-[9px] font-medium uppercase tracking-widest text-foreground/35",children:"Currency"}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:"flex size-7 items-center justify-center rounded-md bg-foreground
1/[0.06] text-[13px] font-semibold text-foreground/70",children:u.symbol}),(0,t.jsx)("span",{className:"flex-1 text-[13px] font-medium text-foreground/80",children:u.name}),(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})]}),(0,t.jsxs)("div",{className:"relative flex-1 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center transition-all duration-500",style:{opacity:+!n,transform:n?"scale(0.8)":"scale(1)"},children:(0,t.jsx)("span",{className:"text-7xl leading-none",children:u.flag})}),(0,t.jsx)("div",{className:"absolute inset-0 transition-all duration-300",style:{opacity:+!!n,transform:n?"translateY(0)":"translateY(-6px)",pointerEvents:n?"auto":"none"},children:x.map((e,r)=>(0,t.jsxs)("div",{className:["flex items-center gap-2.5 border-b border-border/30 px-5 py-2.5 text-[13px] transition-colors last:border-b-0",r===a?"bg-foreground/[0.04] text-foreground":"text-foreground/50"].join(" "),children:[(0,t.jsx)("span",{className:"w-6 text-center text-xs font-semibold opacity-50",children:e.symbol}),(0,t.jsx)("span",{className:"font-medium",children:e.name})]},e.code))})]}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between border-t border-border/50 px-5 py-3",children:[(0,t.jsx)("span",{className:"text-[9px] font-medium uppercase tracking-widest text-foreground/35",children:"Conversion Rate"}),(0,t.jsx)("span",{className:"font-mono text-sm font-medium tabular-nums text-foreground/70",children:l})]})]})},{})},{title:"Automatic Fringes",description:"Assign union fringes, workersâ comp, and payroll taxes per crew member. Rates cascade across all budget scenarios so nothing falls through the cracks.",visual:(0,t.jsx)(function(){let[e,s]=(0,r.useState)(()=>f.map(e=>e.allFringes.slice(0,2))),[a,i]=(0,r.useState)(-1),[n,o]=(0,r.useState)(-1),l=(0,r.useRef)(0);return(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await t(2e3);!e;){let e=b[l.current];l.current=(l.current+1)%b.length,i(e.row),await t(600),s(t=>{let r=t.map(e=>[...e]);return"add"===e.action?r[e.row].includes(e.fringe)||r[e.row].push(e.fringe):r[e.row]=r[e.row].filter(t=>t!==e.fringe),r}),o(e.row),await t(400),o(-1),await t(1200),i(-1),await t(800)}})().catch(()=>{}),()=>{e=!0}},[]),(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 flex items-center border-b border-border/50",children:[(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 flex items-center gap-1 w-[38%] px-5 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-4c4c575f1947e1a5 shrink-0",children:[(0,t.jsx)("path",{d:"M4 6l16 0",className:"jsx-4c4c575f1947e1a5"}),(0,t.jsx)("path",{d:"M4 12l16 0",className:"jsx-4c4c575f1947e1a5"}),(0,t.jsx)("path",{d:"M4 18l12 0",className:"jsx-4c4c575f1947e1a5"})]}),"Name"]}),(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 flex items-center gap-1 w-[40%] px-3 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-4c4c575f1947e1a5 shrink-0",children:[(0,t.jsx)("path",{d:"M17 17m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",className:"jsx-4c4c575f1947e1a5"}),(0,t.jsx)("path",{d:"M7 7m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",className:"jsx-4c4c575f1947e1a5"}),(0,t.jsx)("path",{d:"M6 18l12 -12",className:"jsx-4c4c575f1947e1a5"})]}),"Fringes"]}),(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 flex items-center justify-end gap-1 w-[22%] px-3 py-3 text-right text-[10px] font-semibold uppercase tracking-widest text-foreground
1/35",children:[(0,t.jsx)("span",{className:"jsx-4c4c575f1947e1a5 shrink-0",children:"$"}),"Rate"]})]}),(0,t.jsx)("div",{className:"jsx-4c4c575f1947e1a5 flex-1 overflow-hidden",children:f.map((r,s)=>{let i=e[s]||[],o=function(e,t){let r=e;for(let s of t)r+=e*(p[s]||0);return Math.round(r)}(r.baseRate,i);return(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 "+(["flex items-center border-b border-border/30 last:border-b-0 transition-colors duration-300",a===s?"bg-foreground/[0.03]":""].join(" ")||""),children:[(0,t.jsx)("div",{className:"jsx-4c4c575f1947e1a5 w-[38%] truncate px-5 py-3.5 text-[13px] font-medium text-foreground/80",children:r.name}),(0,t.jsx)("div",{className:"jsx-4c4c575f1947e1a5 flex w-[40%] flex-nowrap gap-1.5 px-3 py-3",children:i.map(e=>(0,t.jsx)("span",{style:{animation:"fringeFadeIn 0.3s ease-out"},className:"jsx-4c4c575f1947e1a5 "+(["inline-flex items-center rounded px-2 py-0.5 text-[10px] font-bold transition-all duration-300",g[e]||"bg-muted text-foreground/50"].join(" ")||""),children:e},e))}),(0,t.jsxs)("div",{className:"jsx-4c4c575f1947e1a5 "+(["w-[22%] px-3 py-3.5 text-right font-mono text-[13px] font-medium tabular-nums transition-colors duration-300",n===s?"text-foreground":"text-foreground/70"].join(" ")||""),children:["$",o.toLocaleString()]})]},r.name)})}),(0,t.jsx)(u.default,{id:"4c4c575f1947e1a5",children:"@keyframes fringeFadeIn{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}"})]})},{})}
1,{title:"Globals & Formulas",description:"Define prep days, shoot days, and custom variables once. Reference them anywhere in your budget and watch totals update instantly when plans change.",visual:(0,t.jsx)(function(){let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t,r=!1;async function s(s,a,i){return new Promise(n=>{let o=performance.now();t=requestAnimationFrame(function l(c){if(r)return void n();let d=Math.min((c-o)/i,1),m=d<.5?4*d*d*d:1-Math.pow(-2*d+2,3)/2;e.current&&(e.current.scrollTop=s+(a-s)*m),d<1?t=requestAnimationFrame(l):n()})})}async function a(e){if(await new Promise(t=>setTimeout(t,e)),r)throw Error("cancelled")}return(async function(){for(await a(1500);!r;){let t=e.current;if(!t){await a(500);continue}let r=t.scrollHeight-t.clientHeight;if(r<=0){await a(1e3);continue}await s(0,r,3e3),await a(2e3),await s(r,0,3e3),await a(2e3)}})().catch(()=>{}),()=>{r=!0,cancelAnimationFrame(t)}},[]),(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center border-b border-border/50",children:[(0,t.jsx)("div",{className:"flex items-center gap-1 w-[16%] px-5 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[(0,t.jsx)("path",{d:"M5 4c-2.5 5 -2.5 10 0 16m14 -16c2.5 5 2.5 10 0 16m-10 -11h1c1 0 1 1 2.016 3.527c.984 2.473 .984 3.473 1.984 3.473h1"}),(0,t.jsx)("path",{d:"M8 16c1.5 0 3 -2 4 -3.5s2.5 -3.5 4 -3.5"})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-1 w-[34%] px-3 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[(0,t.jsx)("path",{d:"M4 6l16 0"}),(0,t.jsx)("path",{d:"M4 12l10 0"}),(0,t.jsx)("path",{d:"M4 18l14 0"})]}),"Description"]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 w-[30%] px-3 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:(0,t.jsx)("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})}),"Formula"]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1 w-[20%] px-3 py-3 text-[10px] font-semibold uppercase tracking-widest text-foreground/35",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[(0,t.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,t.jsx)("path",{d:"M12 7v5l3 3"})]}),"Unit"]})]}),(0,t.jsxs)("div",{className:"relative flex-1 overflow-hidden",children:[(0,t.jsx)("div",{ref:e,className:"h-full overflow-hidden",style:{scrollbarWidth:"none"},children:j.map(e=>(0,t.jsxs)("div",{className:"flex items-center border-b border-border/30 last:border-b-0",children:[(0,t.jsx)("div",{className:"w-[16%] px-5 py-3.5 text-[13px] font-medium text-foreground/70",children:e.symbol}),(0,t.jsx)("div",{className:"w-[34%] truncate px-3 py-3.5 text-[13px] font-medium text-foreground/70",children:e.description}),(0,t.jsx)("div",{className:"flex w-[30%] items-center gap-1 px-3 py-3.5",children:e.formulaRefs?e.formulaRefs.map((e,r)=>e.color?(0,t.jsx)("span",{className:"inline-flex items-center rounded px-2 py-0.5 text-[11px] font-bold",style:{backgroundColor:`${e.color}22`,color:e.color,border:`1px solid ${e.color}44`},children:e.text},r):(0,t.jsx)("span",{className:"px-0.5 text-[12px] text-foreground/40",children:e.text},r)):(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium text-foreground
1/70",children:e.formula})}),(0,t.jsx)("div",{className:"flex w-[20%] justify-center px-3 py-3.5",children:e.unit&&(0,t.jsx)("span",{className:"rounded-full px-3 py-0.5 text-[10px] font-semibold text-white",style:{backgroundColor:e.unitColor},children:e.unit})})]},e.symbol))}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-12 bg-gradient-to-t from-card to-transparent"})]})]})},{})}];function y(){return(0,t.jsx)(a.StaggerOnScroll,{className:"mt-8 grid gap-5 sm:grid-cols-3",staggerDelay:.1,children:v.map(e=>(0,t.jsx)(a.StaggerItem,{children:(0,t.jsxs)("div",{className:"group flex h-full flex-col overflow-hidden rounded-2xl border border-border bg-card",children:[(0,t.jsx)("div",{className:"h-[320px]",children:e.visual}),(0,t.jsxs)("div",{className:"border-t border-border px-6 py-5",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-foreground",children:e.title}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:e.description})]})]})},e.title))})}function w(e){return"$"+e.toLocaleString("en-US")}let k=[{name:"Camera Package",amount:8500},{name:"Lighting Rental",amount:3200},{name:"Art Department",amount:2800}],N=k.reduce((e,t)=>e+t.amount,0);function S({name:e,color:r}){let s={width:12,height:12,color:r};switch(e){case"insert":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("polyline",{points:"15 10 20 15 15 20"}),(0,t.jsx)("path",{d:"M4 4v7a4 4 0 0 0 4 4h12"})]});case"delete":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,t.jsx)("path",{d:"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"}),(0,t.jsx)("path",{d:"M10 11v6"}),(0,t.jsx)("path",{d:"M14 11v6"}),(0,t.jsx)("path",{d:"M9 6V4h6v2"})]});case"subtotal":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"4",y:"3",width:"16",height:"18",rx:"2"}),(0,t.jsx)("path",{d:"M8 7h2v2H8zM14 7h2v2h-2zM8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01M16 17h.01"})]});case"markup":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"19",y1:"5",x2:"5",y2:"19"}),(0,t.jsx)("circle",{cx:"6.5",cy:"6.5",r:"2.5"}),(0,t.jsx)("circle",{cx:"17.5",cy:"17.5",r:"2.5"})]});case"expand":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h6v6"}),(0,t.jsx)("path",{d:"M9 21H3v-6"}),(0,t.jsx)("path",{d:"M21 3l-7 7"}),(0,t.jsx)("path",{d:"M3 21l7-7"})]});case"duplicate":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]});case"addpo":return(0,t.jsxs)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2"}),(0,t.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"}),(0,t.jsx)("line",{x1:"12",y1:"14",x2:"12",y2:"18"}),(0,t.jsx)("line",{x1:"10",y1:"16",x2:"14",y2:"16"})]});case"comment":return(0,t.jsx)("svg",{style:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})});default:return null}}function C({icon:e,label:r,shortcut:s,danger:a,active:i,expand:n,isDark:o}){return(0,t.jsxs)("div",{className:"flex items-center gap-2.5 px-3 py-1.5",style:{background:i?o?"rgba(255,255,255,0.07)":"rgba(0,0,0,0.05)":"transparent",margin:i?"1px 4px":void 0,borderRadius:i?6:void 0},children:[(0,t.jsx)(S,{name:e,color:a?"#f87171":n?"#60a5fa":o?"rgba(255,255,255,0.35)":"rgba(0,0,0,0.35)"}),(0,t.jsx)("span",{className:"flex-1 text-[12px] font-medium",style:{color:a?"#f87171":n?"#60a5fa":o?"rgba(255,255,255,0.75)":"rgba(0,0,0,0.78)"},children:r}),s&&(0,t.jsx)("span",{className:"text-[10px] font-medium",style:{color:o?"rgba(255,255,255,0.28)":"rgba(0,0,0,0.28)"},children:s})]})}function M({isDark:e}){return(0,t.jsx)("div",{style:{height:1,background:e?"rgba(255,255,255,0.07)":"rgba(0,0,0,0.07)",margin:"3px 0"}})}let L=[{label:"Equipment",palette:"dark"},{label:"Pre-Pro",palette:"purple"},{label:"Atlanta",palette:"blue"},{label:"Post",palette:"orange"},{label:"VFX",palette:"teal"},{label:"Camera Dept",palette:"dark"},{label:"Day 1",palette:"amber"},{label:"Detroit",palette:"dark"},{label:"NYC",palette:"green"},{label:"Shoot Day",palette:"pink"},{label:"Travel",palette:"orange"},{label:"G&E",palette:"dark"},{label:"SFX",palette:"teal"},{label:"Locations",palette:"blue"},{label:"LA",palette:"purple"},{label:"Production",palette:"amber"}
1],_={dark:{bg:"#6b6d75",color:"#ffffff"},orange:{bg:"rgba(195, 100, 53, 0.18)",color:"#b85525"},purple:{bg:"rgba(86, 88, 190, 0.18)",color:"#5558b0"},blue:{bg:"rgba(30, 120, 200, 0.18)",color:"#1e78c8"},teal:{bg:"rgba(20, 184, 166, 0.18)",color:"#0d9488"},amber:{bg:"rgba(234,179, 8, 0.18)",color:"#b45309"},green:{bg:"rgba(34, 197, 94, 0.16)",color:"#16a34a"},pink:{bg:"rgba(236, 72, 153, 0.16)",color:"#db2777"}},T={dark:{bg:"#1a1b1e",color:"#c1c2c5"},orange:{bg:"rgba(195, 100, 53, 0.22)",color:"#e8915f"},purple:{bg:"rgba(86, 88, 190, 0.22)",color:"#9091d8"},blue:{bg:"rgba(30, 120, 200, 0.25)",color:"#5a9fd4"},teal:{bg:"rgba(20, 184, 166, 0.22)",color:"#2dd4bf"},amber:{bg:"rgba(234,179, 8, 0.22)",color:"#fbbf24"},green:{bg:"rgba(34, 197, 94, 0.2)",color:"#4ade80"},pink:{bg:"rgba(236, 72, 153, 0.2)",color:"#f472b6"}},R=[{title:"Markups",description:"Apply agency fees, production markups, or contingency as a percentage on any subtotal. Totals recalculate instantly â no formulas to maintain.",visual:(0,t.jsx)(function(){let[e,a]=(0,r.useState)("idle"),[i,n]=(0,r.useState)("7");(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await t(1200);!e;)a("selected"),await t(650),a("menu"),await t(2e3),n("7"),a("markup"),await t(900),n(""),await t(260),n("1"),await t(180),n("10"),await t(2400),a("idle"),await t(700)})().catch(()=>{}),()=>{e=!0}},[]);let{resolvedTheme:o}=(0,s.useTheme)(),[l,c]=(0,r.useState)(!1);(0,r.useEffect)(()=>c(!0),[]);let d=l&&"light"!==o,m=d?"rgba(255,255,255,0.07)":"rgba(0,0,0,0.07)",u=d?"rgba(255,255,255,0.35)":"rgba(0,0,0,0.40)",x=d?"rgba(255,255,255,0.82)":"rgba(0,0,0,0.82)",h=d?"rgba(255,255,255,0.62)":"rgba(0,0,0,0.62)",p=d?"rgba(255,255,255,0.30)":"rgba(0,0,0,0.35)",g=d?"rgba(255,255,255,0.28)":"rgba(0,0,0,0.22)",f=d?"rgba(255,255,255,0.90)":"rgba(0,0,0,0.88)",b="selected"===e||"menu"===e,j="menu"===e,v="markup"===e,y=Math.round(N*(""===i?0:parseInt(i,10)||0)/100),S=N+(v?y:0);return(0,t.jsxs)("div",{className:"relative flex h-full flex-col overflow-hidden",style:{background:"transparent",color:x},children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center px-5 py-3",style:{borderBottom:`1px solid ${m}`},children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 flex-1 text-[10px] font-semibold uppercase tracking-widest",style:{color:u},children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{flexShrink:0},children:[(0,t.jsx)("path",{d:"M4 6l16 0"}),(0,t.jsx)("path",{d:"M4 12l16 0"}),(0,t.jsx)("path",{d:"M4 18l12 0"})]}),"Name"]}),(0,t.jsxs)("div",{className:"flex items-center justify-end gap-1 w-[38%] text-[10px] font-semibold uppercase tracking-widest",style:{color:u},children:[(0,t.jsx)("span",{children:"$"}),"Budget"]})]}),k.map((e,r)=>{let s=b&&2===r;return(0,t.jsxs)("div",{className:"flex items-center",style:{borderBottom:`1px solid ${m}`},children:[(0,t.jsx)("div",{className:"flex-1 truncate px-5 py-3.5 text-[13px] font-medium",style:{color:x},children:e.name}),(0,t.jsx)("div",{className:"w-[38%] py-2.5 text-right font-mono text-[13px] font-medium tabular-nums transition-all duration-200",style:{color:s?f:h,paddingLeft:8,paddingRight:16,margin:"2px 2px 2px 0",borderRadius:5,outline:s?`1.5px solid ${g}`:"1.5px solid transparent",outlineOffset:"-1px",background:s?"rgba(109,81,232,0.1)":"transparent"},children:w(e.amount)})]},e.name)}),(0,t.jsxs)("div",{className:"flex items-center",style:{borderBottom:`1px solid ${m}`},children:[(0,t.jsx)("div",{className:"flex-1 px-5 py-2.5 text-[10px] font-semibold uppercase tracking-widest",style:{color:p},children:"Subtotal"}),(0,t.jsx)("div",{className:"w-[38%] px-4 py-2.5 text-right font-mono text-[13px] font-medium tabular-nums",style:{color:p},children:w(N)})]}),(0,t.jsxs)("div",{className:"flex items-center transition-all duration-300",style:{borderBottom:`1px solid ${m}`,opacity:+!!v,transform:v?"translateY(0)":"translateY(4px)",pointerEvents:"none"},children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center pl-3 pr-1",style:{color:"rgba(255,255,255,0.18)"}
1,children:(0,t.jsxs)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"currentColor",children:[(0,t.jsx)("circle",{cx:"2",cy:"2",r:"1.1"}),(0,t.jsx)("circle",{cx:"6",cy:"2",r:"1.1"}),(0,t.jsx)("circle",{cx:"2",cy:"6",r:"1.1"}),(0,t.jsx)("circle",{cx:"6",cy:"6",r:"1.1"}),(0,t.jsx)("circle",{cx:"2",cy:"10",r:"1.1"}),(0,t.jsx)("circle",{cx:"6",cy:"10",r:"1.1"})]})}),(0,t.jsx)("div",{className:"flex-1 py-2.5 text-[13px] font-medium",style:{color:f,border:`1.5px solid ${g}`,borderRadius:5,paddingLeft:10,paddingRight:10,margin:"3px 4px 3px 2px"},children:"Markup"}),(0,t.jsxs)("div",{className:"flex w-[38%] items-center justify-between py-2.5",style:{border:`1.5px solid ${g}`,borderRadius:5,paddingLeft:10,paddingRight:14,margin:"3px 4px 3px 0"},children:[(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium tabular-nums",style:{color:f},children:""===i?"%":`${i}%`}),(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium tabular-nums",style:{color:f},children:w(y)})]})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"flex-1 px-5 py-3.5 text-[13px] font-semibold",style:{color:x},children:"Total"}),(0,t.jsx)("div",{className:"w-[38%] px-4 py-3.5 text-right font-mono text-[13px] font-semibold tabular-nums transition-all duration-300",style:{color:x},children:w(S)})]}),(0,t.jsxs)("div",{className:"pointer-events-none absolute z-10 overflow-hidden rounded-xl shadow-2xl transition-all duration-200",style:{width:210,background:d?"#171718":"#ffffff",border:d?"1px solid rgba(255,255,255,0.09)":"1px solid rgba(0,0,0,0.10)",top:112,right:8,opacity:+!!j,transform:j?"scale(1) translateY(0)":"scale(0.96) translateY(-4px)",transformOrigin:"top right",paddingTop:4,paddingBottom:4},children:[(0,t.jsx)(C,{icon:"insert",label:"Insert",shortcut:"âI",isDark:d}),(0,t.jsx)(C,{icon:"delete",label:"Delete",shortcut:"âD",danger:!0,isDark:d}),(0,t.jsx)(M,{isDark:d}),(0,t.jsx)(C,{icon:"subtotal",label:"Subtotal",shortcut:"âS",isDark:d}),(0,t.jsx)(C,{icon:"markup",label:"Markup",shortcut:"âM",active:!0,isDark:d}),(0,t.jsx)(C,{icon:"expand",label:"Expand",shortcut:"ââ",expand:!0,isDark:d}),(0,t.jsx)(C,{icon:"duplicate",label:"Duplicate",isDark:d}),(0,t.jsx)(M,{isDark:d}),(0,t.jsx)(C,{icon:"addpo",label:"Add PO",shortcut:"âO",isDark:d}),(0,t.jsx)(C,{icon:"comment",label:"Comment",shortcut:"âP",isDark:d})]})]})},{})},{title:"Overtime Calculator",description:"Configure daily or weekly OT thresholds and rate multipliers per role. Regular hours and overtime split automatically so your labor costs are always accurate.",visual:(0,t.jsx)(function(){let[e,a]=(0,r.useState)(""),[i,n]=(0,r.useState)(8),[o,l]=(0,r.useState)(!0),c=parseFloat((150/i).toFixed(2)),d=""!==e?Math.round(parseFloat(e)*c*150)/100:0;(0,r.useEffect)(()=>{let e=setInterval(()=>l(e=>!e),520);return()=>clearInterval(e)},[]),(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}async function r(r,s){let a=s>r?.5:-.5,i=r;for(;Math.abs(i-s)>.01&&!e;)n(i=parseFloat((i+a).toFixed(1))),await t(130);e||n(s)}return(async function(){for(await t(1e3);!e;)a("2"),await t(1800),a(""),await t(500),await r(8,10),await t(400),a("4"),await t(1800),a(""),await t(500),await r(10,8),await t(400),a("8"),await t(1800),a(""),await t(800)})().catch(()=>{}),()=>{e=!0}},[]);let{resolvedTheme:m}=(0,s.useTheme)(),[u,x]=(0,r.useState)(!1);(0,r.useEffect)(()=>x(!0),[]);let h=u&&"light"!==m,p=h?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.07)",g=h?"rgba(255,255,255,0.42)":"rgba(0,0,0,0.45)",f=h?"rgba(255,255,255,0.88)":"rgba(0,0,0,0.85)",b=h?"rgba(255,255,255,0.28)":"rgba(0,0,0,0.30)",j=h?"rgba(255,255,255,0.28)":"rgba(0,0,0,0.22)",v=h?"rgba(255,255,255,0.9)":"rgba(0,0,0,0.85)",y=h?"rgba(255,255,255,0.5)":"rgba(0,0,0,0.50)",w={height:28,border:`1px solid ${h?"rgba(255,255,255,0.11)":"rgba(0,0,0,0.12)"}`,background:h?"rgba(255,255,255,0.04)":"rgba(0,0,0,0.04)",borderRadius:5};function k(){return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-px",style:{color:b}
1,children:[(0,t.jsx)("svg",{width:"8",height:"5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("polyline",{points:"18 15 12 9 6 15"})}),(0,t.jsx)("svg",{width:"8",height:"5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})}return(0,t.jsxs)("div",{className:"relative flex h-full flex-col overflow-hidden",style:{background:h?"#0c0c0e":"#ffffff",color:f},children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-stretch",style:{borderBottom:`1px solid ${p}`,background:h?"rgba(255,255,255,0.015)":"rgba(0,0,0,0.015)"},children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 px-5 py-2 text-[10px] font-semibold uppercase tracking-widest",style:{color:v,borderBottom:`2px solid ${j}`,marginBottom:-1},children:[(0,t.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),"Overtime"]}),(0,t.jsxs)("div",{className:"ml-auto flex w-[38%] items-center justify-center gap-1.5 py-2 text-[10px] font-semibold uppercase tracking-widest",style:{color:h?"rgba(255,255,255,0.35)":"rgba(0,0,0,0.40)"},children:[(0,t.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"23"}),(0,t.jsx)("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),"Estimates"]})]}),(0,t.jsxs)("div",{className:"relative flex flex-1 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute bottom-0 right-0 top-0 flex flex-col",style:{width:"38%"},children:["$120.00","$800.00","$640.00","$128.00","$0.00","$305.44"].map((e,r)=>(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-end px-3 font-mono text-[13px] font-medium tabular-nums",style:{height:34,borderBottom:`1px solid ${p}`,color:3===r?h?"rgba(255,255,255,0.72)":"rgba(0,0,0,0.75)":y,background:3===r?h?"rgba(255,255,255,0.03)":"rgba(0,0,0,0.03)":"transparent"},children:e},r))}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col overflow-hidden",style:{width:"64%",background:h?"#141416":"#f4f4f5",borderRight:`1px solid ${p}`,boxShadow:h?"6px 0 18px rgba(0,0,0,0.5)":"6px 0 18px rgba(0,0,0,0.10)"},children:[(0,t.jsx)("div",{className:"shrink-0 px-3 py-2",style:{borderBottom:`1px solid ${p}`},children:(0,t.jsx)("div",{className:"flex items-center px-2.5 transition-all duration-200",style:{...w,height:30,border:`2px solid ${j}`,background:"rgba(255,255,255,0.05)",borderRadius:6},children:(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium tabular-nums",style:{color:f},children:"$"+d.toFixed(2)})})}),(0,t.jsx)("div",{className:"shrink-0 flex items-end px-3 pt-2 pb-0",style:{borderBottom:`1px solid ${p}`},children:(0,t.jsx)("span",{className:"pb-1.5 text-[12px] font-medium",style:{color:v,borderBottom:`2px solid ${v}`,marginBottom:-1},children:"Formula"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 overflow-hidden px-3 py-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1 text-[11px] font-medium",style:{color:g},children:"Overtime Hours"}),(0,t.jsxs)("div",{className:"flex items-center px-2.5",style:w,children:[(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium",style:{color:f},children:e}),(0,t.jsx)("span",{className:"ml-px inline-block w-px",style:{height:13,background:f,opacity:+!!o,transition:"opacity 0.1s"}})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-1 flex items-center justify-between",children:[(0,t.jsx)("p",{className:"text-[11px] font-medium",style:{color:g},children:"Base Hours"}),(0,t.jsxs)("div",{className:"flex items-center gap-1",style:{color:b},children:[(0,t.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("path",{d:"M4 3m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),(0,t.jsx)("path",{d:"M8 7m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v1a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"}),(0,t.jsx)("path",{d:"M8 14l0 .01M12 14l0 .01M16 14l0 .01M8 17l0 .01M12 17l0 .01M16 17l0 .01"})]}),(0,t.jsxs)("span",{className:"text-[11px] font-medium tabular-nums",children:["$"+c.toFixed(2),"/hr"]})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-2.5",style:w,children:[(0,t.jsx)("span",{className:"font-mono text-[13px] font-medium tabular-nums",style:{color:f},children:i.toFixed(1)}),(0,t.jsx)(k,{})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-1 flex items-center justify-between",children:[(0,t.jsx)("p",{className:"text-[11px] font-medium",style:{color:g},children:"Overtime Rate"}),(0,t.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",style:{color:b},children:[(0,t.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})]}),[{mult:"1.50",after:"12"},{mult:"2.00",after:"13"}].map(e=>(0,t.jsxs)("div",{className:"mb-1.5 flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"flex w-10 items-center justify-center font-mono text-[12px] font-medium",style:{...w,color:f,flexShrink:0},children:e.mult}),(0,t.jsx)("span",{className:"text-[11px]",style:{color:b},children:"x after"}),(0,t.jsxs)("div",{className:"flex flex-1 items-center justify-between px-2",style:w,children:[(0,t.jsx)("span",{className:"font-mono text-[12px] font-medium",style:{color:f},children:e.after}),(0,t.jsx)(k,{})]}),(0,t.jsx)("span",{className:"text-[11px]",style:{color:b},children:"hrs"})]},e.mult))]})]})]})]})]})},{})},{title:"Tags",description:"Label line items by department, phase, location, or shoot day. Filter and report on exactly the slice you need without restructuring your budget.",visual:(0,t.jsx)(function(){let{resolvedTheme:e}=(0,s.useTheme)(),[a,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>i(!0),[]);let n=a&&"light"!==e?T:_,[o,l]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await t(800);!e;){for(let e=1;e<=L.length;e++)l(e),await t(300);await t(2e3),l(0),await t(500)}})().catch(()=>{}),()=>{e=!0}},[]),(0,t.jsxs)("div",{className:"jsx-8446a14192af11da flex h-full flex-col px-6 pt-7 pb-5",children:[(0,t.jsxs)("div",{className:"jsx-8446a14192af11da flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-widest text-foreground
1/35",children:[(0,t.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-8446a14192af11da",children:[(0,t.jsx)("path",{d:"M12 2H2v10l9.29 9.29c.94.94 2.48.94 3.42 0l6.58-6.58c.94-.94.94-2.48 0-3.42L12 2z",className:"jsx-8446a14192af11da"}),(0,t.jsx)("path",{d:"M7 7h.01",className:"jsx-8446a14192af11da"})]}),"Tags"]}),(0,t.jsx)("div",{className:"jsx-8446a14192af11da mt-5 flex flex-wrap gap-2",children:L.slice(0,o).map(e=>{let r=n[e.palette]??n.dark;return(0,t.jsx)("span",{style:{borderRadius:5,background:r.bg,color:r.color,padding:"0.2rem 0.8rem",animation:"tagFadeIn 0.22s ease-out both"},className:"jsx-8446a14192af11da inline-flex items-center whitespace-nowrap text-[12px] font-bold",children:e.label},e.label)})}),(0,t.jsx)(u.default,{id:"8446a14192af11da",children:"@keyframes tagFadeIn{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}"})]})},{})}];function P(){return(0,t.jsx)(a.StaggerOnScroll,{className:"mt-8 grid gap-5 sm:grid-cols-3",staggerDelay:.1,children:R.map(e=>(0,t.jsx)(a.StaggerItem,{children:(0,t.jsxs)("div",{className:"group flex h-full flex-col overflow-hidden rounded-2xl border border-border bg-card",children:[(0,t.jsx)("div",{className:"h-[320px]",children:e.visual}),(0,t.jsxs)("div",{className:"border-t border-border px-6 py-5",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-foreground",children:e.title}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:e.description})]})]})},e.title))})}let A=[{query:"commercial",results:[{title:"Commercial Demo",sub:"Workspace",kind:"project"},{title:"VFX - final comp",sub:"$3250.00",kind:"transaction-caps"}]},{query:"credit",results:[{title:"11307 - California Film Credit Consulting",sub:"Legal & Accounting ⺠California Film Credit Consulting",kind:"line"},{title:"Qualified spend tracking for the credit application.",sub:"California Film Credit, Qualified Expenditure Summary.pdf",kind:"document"},{title:"12103 - Letter of Credit & Bank Charges",sub:"Completion Bond & Financing ⺠Letter of Credit & Bank Charges",kind:"line"}
1,{title:"California film credit consulting",sub:"$28000.00",kind:"transaction"}]},{query:"craft",results:[{title:"$39,600.00 on the production card, Craft service supplies.",sub:"Receipt, Craft Services Plus, 2026-06-20.pdf",kind:"document"},{title:"9705 - Craft Service Supplies",sub:"Craft Service & Catering ⺠Craft Service Supplies",kind:"line"},{title:"9704 - Craft Service Labor",sub:"Craft Service & Catering ⺠Craft Service Labor",kind:"line"},{title:"9700 - Craft Service & Catering",sub:"Craft Service & Catering",kind:"account"}]},{query:"director",results:[{title:"DGA feature contract terms for the director.",sub:"Deal Memo, Director.pdf",kind:"document"},{title:"0301 - Director - I. Sarkozy",sub:"Direction ⺠Director - I. Sarkozy",kind:"line"},{title:"0303 - Second Unit Director",sub:"Direction ⺠Second Unit Director",kind:"line"},{title:"0306 - Director Travel & Housing",sub:"Direction ⺠Director Travel & Housing",kind:"line"}]},{query:"dga",results:[{title:"DGA pension and health remittance",sub:"$178000.00",kind:"transaction"},{title:"DGA feature contract terms for the director.",sub:"Deal Memo, Director.pdf",kind:"document"},{title:"Covers DGA pension and health remittance. $178,000.00, approved aâ¦",sub:"Invoice 2026-06-22, True North Payroll.pdf",kind:"document"}]}],F=Math.max(...A.map(e=>e.results.length));function D({result:e,selected:r}){let s="project"===e.kind;return(0,t.jsxs)("div",{className:["flex items-center gap-3 px-3 py-2.5 transition-colors duration-150 sm:gap-4",r?"bg-accent":""].join(" "),children:[s?(0,t.jsx)("span",{"aria-hidden":!0,className:"size-7 shrink-0 rounded-md",style:{background:"linear-gradient(135deg, #2f3bd6 0%, #4f5bff 55%, #6f7bff 100%)"}}):(0,t.jsx)("span",{"aria-hidden":!0,className:"shrink-0 rounded-md bg-muted p-2",children:I[e.kind]}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 overflow-hidden",children:[(0,t.jsx)("span",{className:"block min-w-0 truncate text-sm font-medium text-foreground",children:e.title}),(0,t.jsx)("span",{className:"mt-0.5 block min-w-0 truncate text-xs text-muted-foreground",children:e.sub})]}),(0,t.jsx)(B,{kind:e.kind})]})}let I={project:null,"transaction-caps":(0,t.jsx)(n.IconCash,{size:16,className:"text-cyan-500"}),transaction:(0,t.jsx)(n.IconCash,{size:16,className:"text-emerald-500"}),line:(0,t.jsx)(c.IconListDetails,{size:16,className:"text-muted-foreground"}),account:(0,t.jsx)(l.IconFolder,{size:16,className:"text-blue-500"}),document:(0,t.jsx)(o.IconFileDescription,{size:16,className:"text-blue-500"})};function B({kind:e}){return"project"===e?(0,t.jsx)("span",{className:"shrink-0 text-[10px] font-semibold tracking-wide text-foreground uppercase",children:"Project"}):"transaction-caps"===e?(0,t.jsx)("span",{className:"shrink-0 text-[10px] font-semibold tracking-wide text-cyan-500 uppercase",children:"Transaction"}):(0,t.jsx)("span",{className:`shrink-0 rounded-md px-2 py-0.5 text-[11px] font-medium ${{line:"bg-muted text-muted-foreground",account:"bg-blue-500/12 text-blue-700 dark:text-blue-300",document:"bg-blue-500/12 text-blue-700 dark:text-blue-300",transaction:"bg-emerald-500/12 text-emerald-700 dark:text-emerald-300"}[e]}`,children:{line:"Line",account:"Account",document:"Document",transaction:"Transaction"}[e]})}function E(){let[e,s]=(0,r.useState)(""),[a,i]=(0,r.useState)([]),[n,o]=(0,r.useState)(!0),l=(0,r.useRef)(0),[c,u]=(0,r.useState)(!1);(0,r.useEffect)(()=>u(!0),[]),(0,r.useEffect)(()=>{let e=!1;async function t(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await t(1400);!e;){let r=A[l.current];s(""),i([]),await t(600);for(let a=0;a<r.query.length;a++){if(e)return;s(r.query.slice(0,a+1)),await t(110+70*Math.random())}await t(280);for(let s=0;s<r.results.length;s++){if(e)return;i(r.results.slice(0,s+1)),await t(90)}await t(3400);for(let a=r.query.length;a>=0;a--){if(e)return;s(r.query.slice(0,a)),await t(45)}i([]),await t(700),l.current=(l.current+1)%A.length}})().catch(()=>{}),()=>{e=!0}},[]),(0,r.useEffect)(()=>{let e=setInterval(()=>o(e=>!e),530);return()=>clearInterval(e)},[]);let x=e.length>0;return(0,t.jsxs)("div",{className:"bento-lift flex h-full flex-col overflow-hidden rounded-2xl border-0 bg-card",children:[(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden p-5 sm:p-6",children:[(0,t.jsxs)("div",{className:"flex h-8 shrink-0 items-center gap-2 rounded-md border border-border bg-muted/40 px-2.5 text-sm text-muted-foreground",children:[(0,t.jsx)(d.IconSearch,{size:15,className:"shrink-0","aria-hidden":!0}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate text-left",children:[x?(0,t.jsx)("span",{className:"text-foreground",children:e}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"Search Workspace"}),(0,t.jsx)("span",{className:"inline-block w-px translate-y-[2px] bg-foreground
1/60",style:{height:14,marginLeft:1,opacity:+!!n,transition:"opacity 0.1s"}})]}),(0,t.jsx)(m.KbdGroup,{className:"shrink-0",children:x?(0,t.jsx)(m.Kbd,{children:"ESC"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Kbd,{children:"â"}),(0,t.jsx)(m.Kbd,{children:"K"})]})})]}),(0,t.jsx)("div",{className:"mt-3 overflow-hidden","aria-hidden":!0,children:c?Array.from({length:F}).map((e,r)=>{let s=a[r];return(0,t.jsx)("div",{className:"transition-opacity duration-200",style:{opacity:+!!s},children:s?(0,t.jsx)(D,{result:s,selected:0===r}):(0,t.jsx)("div",{className:"px-3 py-2.5",children:(0,t.jsx)("span",{className:"block h-[38px]"})})},r)}):null})]}),(0,t.jsx)("div",{className:"shrink-0 border-t border-border bg-muted/50 p-5 sm:p-6",children:(0,t.jsxs)("h3",{className:"flex items-center gap-3 text-base font-semibold tracking-tight sm:text-xl",children:[(0,t.jsxs)(m.KbdGroup,{children:[(0,t.jsx)(m.Kbd,{children:"â"}),(0,t.jsx)(m.Kbd,{children:"K"})]}),"Workspace search"]})})]})}function z(){let[e,a]=(0,r.useState)(null),[n,o]=(0,r.useState)(!1),[l,c]=(0,r.useState)(null),{resolvedTheme:d}=(0,s.useTheme)(),[u,x]=(0,r.useState)(!1);(0,r.useEffect)(()=>x(!0),[]);let h=(0,r.useCallback)((e,t)=>{null==l&&a(t?e:null)},[l]),p=(0,r.useCallback)(e=>{c(e),a(e)},[]),g=(0,r.useCallback)(()=>o(!0),[]),f=(0,r.useCallback)(()=>{o(!1),c(null)},[]);return(0,t.jsxs)("div",{className:"epc-card-outer bento-lift h-full overflow-hidden rounded-2xl border-0 bg-card dark:bg-[#0c0c0c]",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` 2 @media (max-width: 639px) { 3 .epc-card-outer { max-width: calc(100vw - 2rem); } 4 .epc-inner { zoom: 0.58; -webkit-text-size-adjust: none; } 5 } 6 `}}),(0,t.jsxs)("div",{className:"epc-inner",children:[(0,t.jsxs)("div",{className:"px-6 pt-8 pb-0 sm:px-6 sm:pt-6 sm:pb-0",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground text-balance sm:text-xl sm:text-pretty",children:"Keyboard Shortcuts"}),(0,t.jsx)("div",{className:"mt-4 flex gap-1.5 sm:mt-6 sm:gap-2",onMouseEnter:g,onMouseLeave:f,children:i.SHORTCUTS.map((r,s)=>{let a=e===s;return(0,t.jsxs)("button",{type:"button",onClick:()=>p(s),className:["flex flex-1 cursor-pointer items-center justify-center gap-0.5 whitespace-nowrap rounded-md border px-1 py-1.5 text-[9px] transition-all duration-200 sm:gap-2.5 sm:rounded-xl sm:px-4 sm:py-3 sm:text-sm",a?"border-foreground
6/20 bg-foreground/[0.06] text-foreground":"border-border bg-background/50 text-foreground/60 hover:border-foreground/10 hover:bg-foreground/[0.03]"].join(" "),children:[r.label,(0,t.jsx)(m.KbdGroup,{children:r.caps.map(e=>(0,t.jsx)(m.Kbd,{className:a?"bg-foreground text-background":void 0,children:e},e))})]},r.label)})})]}),(0,t.jsx)("div",{className:"mt-6 flex justify-center px-6 pb-10 sm:px-6 sm:pb-6",children:(0,t.jsx)(i.KeyboardVisual,{onShortcutChange:h,forcedIndex:l,paused:n,dark:u&&"dark"===d})})]})]})}function W(){return(0,t.jsxs)("div",{className:"mt-6 grid gap-5 lg:grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)]",children:[(0,t.jsx)(a.AnimateOnScroll,{variant:"fadeUp",delay:.1,className:"h-full",children:(0,t.jsx)(z,{})}),(0,t.jsx)(a.AnimateOnScroll,{variant:"fadeUp",delay:.2,className:"h-full",children:(0,t.jsx)(E,{})})]})}e.s(["EnhancedPerformanceCard",0,z,"GlobalSearchCard",0,E,"MoreFeaturesGrid",0,W,"MoreFeaturesSection",0,function(){return(0,t.jsx)("section",{className:"bg-background px-4 py-24",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl",children:[(0,t.jsx)(a.AnimateOnScroll,{variant:"fadeUp",children:(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-muted/50 px-4 py-1.5 text-sm",children:[(0,t.jsx)("img",{src:"/icons/more-features.svg",alt:"More features icon",width:16,height:16,className:"opacity-70 invert dark:invert-0"}),(0,t.jsx)("span",{className:"text-foreground/70 tracking-tight",children:"More Features"})]}),(0,t.jsx)("h2",{className:"mt-6 text-4xl font-semibold tracking-tight sm:text-5xl lg:text-6xl",children:"It doesn't stop here."})]})}),(0,t.jsx)("div",{className:"mt-14",children:(0,t.jsx)(W,{})}),(0,t.jsx)(y,{}),(0,t.jsx)(P,{})]})})}],134522)},385848,e=>{"use strict";var t=e.i(771246),r=e.i(340903),s=e.i(462834),a=e.i(167881),i=e.i(78228),n=e.i(157390),o=e.i(112086),l=e.i(140802),c=e.i(549174),d=e.i(63270),m=e.i(992615),u=e.i(593617);let x=(0,u.default)("outline","building-bank","BuildingBank",[["path",{d:"M3 21l18 0",key:"svg-0"}],["path",{d:"M3 10l18 0",key:"svg-1"}],["path",{d:"M5 6l7 -3l7 3",key:"svg-2"}],["path",{d:"M4 10l0 11",key:"svg-3"}],["path",{d:"M20 10l0 11",key:"svg-4"}],["path",{d:"M8 14l0 3",key:"svg-5"}],["path",{d:"M12 14l0 3",key:"svg-6"}
6],["path",{d:"M16 14l0 3",key:"svg-7"}]]);var h=e.i(455625),p=e.i(124945),g=e.i(861825);let f=(0,u.default)("outline","credit-card","CreditCard",[["path",{d:"M3 8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -8",key:"svg-0"}],["path",{d:"M3 10l18 0",key:"svg-1"}],["path",{d:"M7 15l.01 0",key:"svg-2"}],["path",{d:"M11 15l2 0",key:"svg-3"}]]),b=(0,u.default)("outline","home","Home",[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]]),j=(0,u.default)("outline","inbox","Inbox",[["path",{d:"M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M4 13h3l3 3h4l3 -3h3",key:"svg-1"}]]),v=(0,u.default)("outline","layout-grid","LayoutGrid",[["path",{d:"M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-0"}],["path",{d:"M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-1"}],["path",{d:"M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-2"}],["path",{d:"M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-3"}]]);var y=e.i(809312),w=e.i(647163);function k({name:e,edited:r,imageUrl:s,className:a}){return(0,t.jsxs)("div",{className:(0,w.cn)("group min-w-0",a),children:[(0,t.jsx)("div",{className:"relative w-full overflow-hidden rounded-xl transition-all duration-150 group-hover:scale-[1.02] group-hover:shadow-lg",style:{aspectRatio:"16 / 9",...s?{}:{background:(0,y.getProjectGradient)(e)}},children:s?(0,t.jsx)("img",{src:s,alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":!0}):null}),(0,t.jsxs)("div",{className:"mt-2 min-w-0",children:[(0,t.jsx)("div",{className:"line-clamp-2 text-sm font-semibold",children:e}),(0,t.jsxs)("div",{className:"text-muted-foreground mt-0.5 text-xs",children:["Edited ",r]})]})]})}var N=e.i(120989);let S=[{name:"Horizon Pictures",initials:"HP",tier:"Enterprise",color:"bg-black",logo:"/logos/horizon-avatar.svg"},{name:"Parallax Films",initials:"PF",tier:"Team",color:"bg-black",logo:"/logos/parallax-avatar.svg"},{name:"Fourth Wall Studios",initials:"FW",tier:"Pro",color:"bg-black",logo:"/logos/fourth-wall-avatar.svg"},{name:"Stinger and Bates",initials:"SB",tier:"Team",color:"bg-black",logo:"/logos/stinger-and-bates-avatar.svg"}],C=[{projects:[{title:"The Atom Splitter",image:"/home/projects/the-atom-splitter.jpg",time:"20 minutes ago"},{title:"Sand Kingdom",image:"/home/projects/sand-kingdom-02.jpg",time:"1 hour ago"},{title:"Something Somewhere",image:"/home/projects/something-somewhere-eventually.jpg",time:"3 hours ago"},{title:"Centurion Rising",image:"/home/projects/centurion-rising.jpg",time:"5 hours ago"},{title:"White Smoke",image:"/home/projects/white-smoke.jpg",time:"1 day ago"},{title:"A Silent House",image:"/home/projects/a-silent-house.jpg",time:"2 days ago"},{title:"Blue World",image:"/home/projects/blue-world.jpg",time:"3 days ago"},{title:"The Nocturnal",image:"/home/projects/the-nocturnal.jpg",time:"4 days ago"},{title:"Time Well Spent",image:"/home/projects/time-well-spent.jpg",time:"5 days ago"},{title:"No Way Back",image:"/home/projects/no-way-back.jpg",time:"1 week ago"},{title:"First Contact",image:"/home/projects/first-contact.jpg",time:"1 week ago"},{title:"Botany on Mars",image:"/home/projects/botany-on-mars.jpg",time:"2 weeks ago"},{title:"Space Ranger",image:"/home/projects/space-ranger.jpg",time:"3 weeks ago"}],avatars:[{initial:"J",bg:"rgb(51, 79, 190)"},{initial:"M",bg:"rgb(214, 54, 255)"},{initial:"S",bg:"rgb(255, 103, 43)"},{initial:"+2",bg:"rgb(41, 44, 48)"}]},{projects:[{title:"Volta Auto",image:"/home/projects/volta-auto.jpg",time:"15 minutes ago"},{title:"Prism Phone",image:"/home/projects/prism-phone.jpg",time:"1 hour ago"},{title:"Crimson Fizz",image:"/home/projects/crimson-fizz.jpg",time:"3 hours ago"},{title:"The Burger Monarch",image:"/home/projects/the-burger-monarch.jpg",time:"6 hours ago"},{title:"The Global Cup",image:"/home/projects/the-global-cup.jpg",time:"1 day ago"},{title:"Hermes Athletics",image:"/home/projects/hermes-athletics.jpg",time:"1 day ago"},{title:"Orchard",image:"/home/projects/orchard.jpg",time:"2 days ago"},{title:"Iron Bowl",image:"/home/projects/iron-bowl.jpg",time:"3 days ago"},{title:"Tempo Cycle",image:"/home/projects/tempo-cycle.jpg",time:"4 days ago"},{title:"Metro",image:"/home/projects/metro.jpg",time:"5 days ago"},{title:"Veil Ride",image:"/home/projects/veil-ride.jpg",time:"1 week ago"},{title:"Link Up",image:"/home/projects/link-up.jpg",time:"1 week ago"},{title:"Vector",image:"/home/projects/vector.jpg",time:"2 weeks ago"},{title:"Pathlight",image:"/home/projects/pathlight.jpg",time:"2 weeks ago"},{title:"Unbound",image:"/home/projects/unbound.jpg",time:"3 weeks ago"},{title:"Torque",image:"/home/projects/torque.jpg",time:"3 weeks ago"},{title:"Roam",image:"/home/projects/roam.jpg",time:"1 month ago"},{title:"Pulse",image:"/home/projects/pulse.jpg",time:"1 month ago"}],avatars:[{initial:"P",bg:"rgb(59, 130, 246)"},{initial:"N",bg:"rgb(234, 179, 8)"},{initial:"C",bg:"rgb(236, 72, 153)"},{initial:"+4",bg:"rgb(41, 44, 48)"}]},{projects:[{title:"Inheritance",image:"/home/projects/inheritance.jpg",time:"30 minutes ago"},{title:"Octopus Match",image:"/home/projects/octopus-match.jpg",time:"2 hours ago"},{title:"The Partition",image:"/home/projects/the-partition.jpg",time:"4 hours ago"},{title:"Throne of the Serpent",image:"/home/projects/throne-of-the-serpent.jpg",time:"8 hours ago"},{title:"The Forging of Power",image:"/home/projects/the-forging-of-power.jpg",time:"1 day ago"},{title:"Thursday",image:"/home/projects/thursday.jpg",time:"1 day ago"},{title:"The Few Remaining",image:"/home/projects/the-few-remaining.jpg",time:"2 days ago"},{title:"The Warlord",image:"/home/projects/the-warlord.jpg",time:"3 days ago"},{title:"After the Blast",image:"/home/projects/after-the-blast.jpg",time:"4 days ago"},{title:"Tired Ponies",image:"/home/projects/tired-ponies.jpg",time:"5 days ago"},{title:"Chuck Beckham",image:"/home/projects/chuck-beckham.jpg",time:"1 week ago"}
6,{title:"The Golden Orchid",image:"/home/projects/the-golden-orchid.jpg",time:"1 week ago"},{title:"Weirder Stuff",image:"/home/projects/weirder-stuff.jpg",time:"2 weeks ago"},{title:"Hornets",image:"/home/projects/hornets.jpg",time:"3 weeks ago"}],avatars:[{initial:"A",bg:"rgb(16, 185, 129)"},{initial:"R",bg:"rgb(245, 158, 11)"},{initial:"K",bg:"rgb(99, 102, 241)"},{initial:"+3",bg:"rgb(41, 44, 48)"}]},{projects:[{title:"Plastic Fantastic",image:"/home/projects/plastic-fantastic.jpg",time:"45 minutes ago"},{title:"The Hot Shot",image:"/home/projects/hot-shot.jpg",time:"2 hours ago"},{title:"Daggers Drawn",image:"/home/projects/daggers-drawn.jpg",time:"6 hours ago"},{title:"Feelings, Inc",image:"/home/projects/feelings-inc.jpg",time:"1 day ago"},{title:"Web Slinger",image:"/home/projects/web-slinger.jpg",time:"2 days ago"},{title:"Paddle Supreme",image:"/home/projects/paddle-supreme.jpg",time:"3 days ago"},{title:"The Plastic Knight",image:"/home/projects/the-plastic-knight.jpg",time:"4 days ago"},{title:"Into the Void",image:"/home/projects/into-the-void.jpg",time:"2 weeks ago"},{title:"Bad Company",image:"/home/projects/bad-company.jpg",time:"3 weeks ago"},{title:"Expendable Crew",image:"/home/projects/expendable-crew.jpg",time:"1 month ago"},{title:"Open the Pod Bay",image:"/home/projects/open-the-pod-bay.jpg",time:"1 month ago"}],avatars:[{initial:"D",bg:"rgb(239, 68, 68)"},{initial:"L",bg:"rgb(168, 85, 247)"},{initial:"T",bg:"rgb(14, 165, 233)"},{initial:"+1",bg:"rgb(41, 44, 48)"}]}],M=[{id:"personal",items:[{label:"Home",icon:b},{label:"Tasks",icon:j}]},{id:"main",items:[{label:"Projects",icon:v,active:!0},{label:"Transactions",icon:p.IconCash},{label:"Purchase Orders",icon:h.IconCalendarDollar},{label:"Banking",icon:x},{label:"Cards",icon:f},{label:"Payments",icon:g.IconCashBanknoteMove}]}];function L(){return(0,t.jsx)("nav",{className:"mt-4 space-y-4",children:M.map(e=>(0,t.jsx)("div",{className:"space-y-0.5",children:e.items.map(e=>{let r=e.icon;return(0,t.jsxs)("div",{className:`flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm ${e.active?"bg-accent text-accent-foreground font-medium":"text-muted-foreground"}`,children:[(0,t.jsx)(r,{className:"size-4 shrink-0",stroke:2,"aria-hidden":!0}),e.label]},e.label)})},e.id))})}function _({activeIndex:e,isOpen:r}){let s=S[e];return(0,t.jsxs)("div",{className:"relative w-full",children:[(0,t.jsxs)("div",{className:"flex h-12 items-center gap-3",children:[(0,t.jsx)("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-xl transition-colors duration-300",children:(0,t.jsx)(n.default,{src:s.logo,alt:s.name,fill:!0,className:"object-cover",sizes:"64px"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"truncate text-sm font-semibold leading-tight text-foreground",children:s.name}),(0,t.jsx)("div",{className:"truncate text-xs leading-tight text-muted-foreground",children:s.tier})]}),(0,t.jsx)(o.motion.svg,{animate:{rotate:180*!!r},transition:{duration:.2},width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0 text-muted-foreground",children:(0,t.jsx)("path",{d:"M6 9l6 6l6 -6"})})]}),(0,t.jsx)(l.AnimatePresence,{children:r&&(0,t.jsxs)(o.motion.div,{initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-4},transition:{duration:.2,ease:[.22,1,.36,1]},className:"absolute left-0 top-full z-30 mt-2 w-[260px] rounded-xl border border-border bg-popover p-1 shadow-lg",children:[S.map((r,s)=>{let a=s===e;return(0,t.jsxs)("div",{className:`flex items-start gap-3 rounded-lg px-3 py-2.5 ${a?"bg-accent":""}`,children:[(0,t.jsx)("div",{className:"relative h-9 w-9 shrink-0 overflow-hidden rounded-lg",children:(0,t.jsx)(n.default,{src:r.logo,alt:r.name,fill:!0,className:"object-cover",sizes:"64px"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"truncate text-sm leading-snug text-foreground",children:r.name}),(0,t.jsx)("div",{className:"truncate text-xs text-muted-foreground",children:r.tier})]}),a&&(0,t.jsx)("svg",{className:"shrink-0 self-center text-primary",width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",children:(0,t.jsx)("path",{d:"M13 5L6.5 12L3 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]},r.name)}),(0,t.jsx)("div",{className:"mt-1 border-t border-border pt-1",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg px-3 py-2.5",children:[(0,t.jsx)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-dashed border-border text-muted-foreground",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M8 4v8M4 8h8"})})}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Create a workspace"})]})})]})})]})}function T({activeIndex:e}){let r=C[e],[s,a]=(0,i.useState)(r.projects);(0,i.useEffect)(()=>{a(function(e){let t=[...e];for(let e=t.length-1;e>0;e--){let r=Math.floor(Math.random()*(e+1));[t[e],t[r]]=[t[r],t[e]]}return t}([...r.projects]))},[e]);let n=s.slice(0,2),c=s.slice(2,5);return(0,t.jsx)(l.AnimatePresence,{mode:"wait",initial:!1,children:(0,t.jsxs)(o.motion.div,{initial:{opacity:0}
6,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},className:"flex flex-col gap-4",children:[(0,t.jsx)(m.AnimatedGroup,{preset:"scale",className:"flex gap-4",children:n.map((r,s)=>(0,t.jsx)("div",{className:"w-[280px] shrink-0",children:(0,t.jsx)(k,{name:r.title,edited:r.time})},`${e}-main-${s}`))}),(0,t.jsx)(m.AnimatedGroup,{preset:"scale",className:"flex gap-4",children:c.map((r,s)=>(0,t.jsx)("div",{className:"w-[280px] shrink-0",children:(0,t.jsx)(k,{name:r.title,edited:r.time})},`${e}-bot-${s}`))})]},e)})}function R({t:e=N.home.sections.features.projects}={}){let r=(0,i.useRef)(null),s=(0,c.useInView)(r,{once:!1,margin:"-100px 0px"}),[a,n]=(0,i.useState)(0),[o,l]=(0,i.useState)(!1),d=(0,i.useRef)(null),m=(0,i.useRef)(null),u=(0,i.useCallback)(()=>{l(!0),d.current=setTimeout(()=>{n(e=>(e+1)%S.length),m.current=setTimeout(()=>{l(!1)},600)},800)},[]);return(0,i.useEffect)(()=>{if(!s)return;let e=setInterval(u,7e3);return()=>{clearInterval(e),d.current&&clearTimeout(d.current),m.current&&clearTimeout(m.current)}},[s,u]),(0,t.jsxs)("div",{ref:r,className:"bento-lift h-full overflow-x-clip overflow-y-visible rounded-[20px] border-0 bg-card sm:overflow-hidden sm:rounded-[28px]",children:[(0,t.jsxs)("div",{className:"px-6 pt-6 pb-2 sm:px-8 sm:pt-8",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground sm:text-xl",children:e.title}),(0,t.jsx)("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground sm:mt-2",children:e.description})]}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` 7 @media (max-width: 639px) { 8 .projects-card-content { transform: scale(0.65); transform-origin: top left; margin-bottom: -35%; } 9 } 10 `}}),(0,t.jsx)("div",{className:"projects-card-content",children:(0,t.jsxs)("div",{className:"flex gap-5 pl-8 pr-0 pt-4 pb-8",children:[(0,t.jsxs)("div",{className:"w-[220px] shrink-0",children:[(0,t.jsx)(_,{activeIndex:a,isOpen:o}),(0,t.jsx)(L,{})]}),(0,t.jsx)("div",{className:"projects-card-projects min-w-0 flex-1",children:(0,t.jsx)(T,{activeIndex:a})})]})})]})}var P=e.i(744920);let A=(0,u.default)("outline","file-text","FileText",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}],["path",{d:"M9 9l1 0",key:"svg-2"}],["path",{d:"M9 13l6 0",key:"svg-3"}],["path",{d:"M9 17l6 0",key:"svg-4"}]]),F=(0,u.default)("outline","id","Id",[["path",{d:"M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v10a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -10",key:"svg-0"}],["path",{d:"M7 10a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 8l2 0",key:"svg-2"}],["path",{d:"M15 12l2 0",key:"svg-3"}],["path",{d:"M7 16l10 0",key:"svg-4"}]]);var D=e.i(441711),I=e.i(994179);let B="flex h-full items-center gap-2 px-3 text-cell-xs",E="border-b border-r border-border",z={blue:"text-blue-500 dark:text-blue-400",sky:"text-sky-500 dark:text-sky-400",pink:"text-pink-500 dark:text-pink-400",green:"text-green-500 dark:text-green-400",gray:"text-gray-500 dark:text-gray-400"};function W({name:e,color:r}){return(0,t.jsx)(I.Badge,{variant:"secondary",size:"sm",className:(0,w.cn)("max-w-full justify-start truncate rounded-[5px] border-transparent bg-muted font-semibold leading-tight",z[r]),children:e})}let H=["#3b82f6","#14b8a6","#06b6d4","#a855f7","#8b5cf6","#6366f1","#ec4899","#f97316"];function $({color:e,label:r}){return(0,t.jsx)("span",{className:"pointer-events-none absolute inset-0 z-10",style:{border:`solid 2px ${e}`,borderRadius:5.5,boxSizing:"border-box"},children:(0,t.jsx)("span",{className:"absolute right-0 -translate-y-full rounded-[5px] px-1.5 py-[2px] text-[9px] leading-none font-medium whitespace-nowrap text-white select-none",style:{backgroundColor:e,top:-3},children:r})})}let O=[{acct:"7607",description:"Digital Imaging Technician",tags:[{name:"IATSE 600",color:"blue"}],rate:"3,100.00"},{acct:"7608",description:"Camera Utility & Loader",tags:[{name:"IATSE 600",color:"blue"}],rate:"1,800.00"},{acct:"7609",description:"Steadicam Operator",tags:[{name:"IATSE 600",color:"blue"}],rate:"4,400.00"},{acct:"7610",description:"Camera Package Rental",tags:[{name:"Rental",color:"sky"}],rate:"9,500.00"},{acct:"7611",description:"Third Camera, High Speed",tags:[{name:"Second Unit",color:"pink"}],rate:"2,900.00"},{acct:"7612",description:"Vintage Lens Package",tags:[{name:"Rental",color:"sky"}],rate:"3,400.00"},{acct:"7613",description:"Camera Prep & Testing",tags:[{name:"Rental",color:"sky"}],rate:"1,250.00"},{acct:"7614",description:"Drone & Aerial Unit",tags:[{name:"Second Unit",color:"pink"}],rate:"4,600.00"},{acct:"7615",description:"Camera Expendables",tags:[{name:"Purchase",color:"green"}],rate:"1,700.00"},{acct:"7616",description:"Camera Loss & Damage",tags:[{name:"Allowance",color:"gray"}],rate:"12,000.00"},{acct:"7617",description:"Underwater Housing",tags:[{name:"Rental",color:"sky"}],rate:"2,750.00"},{acct:"7618",description:"Camera Car & Mounts",tags:[{name:"Second Unit",color:"pink"}],rate:"1,900.00"},{acct:"7619",description:"Video Village",tags:[{name:"Rental",color:"sky"}],rate:"850.00"},{acct:"7620",description:"Camera Department Box Rentals",tags:[{name:"Allowance",color:"gray"}],rate:"425.00"}],V=[{name:"Philip",delay:0,linger:1500,edits:[{row:2,col:"rate",frames:["4","4,4","4,400.00"]},{row:9,col:"description",frames:["Camera Loss","Camera Loss & Da","Camera Loss & Damage"]}]},{name:"Vesper",delay:1100,linger:1900,edits:[{row:4,col:"description",frames:["Third Camera","Third Camera, High","Third Camera, High Speed"]}
10,{row:6,col:"rate",frames:["1","1,2","1,250.00"]}]},{name:"Holly",delay:2300,linger:1300,edits:[{row:3,col:"rate",frames:["9","9,5","9,500.00"]},{row:8,col:"rate",frames:["1","1,7","1,700.00"]}]}];function G(){let e=(0,i.useRef)(null),[r,s]=(0,i.useState)(O),[a,n]=(0,i.useState)({});(0,i.useEffect)(()=>{let t=e.current;if(!t||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let r=!1,a=[],i=e=>new Promise(t=>a.push(setTimeout(t,e))),o=!1,l=new IntersectionObserver(([e])=>{o=e.isIntersecting},{rootMargin:"120px"});l.observe(t);let c=async e=>{let t=function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return H[Math.abs(t)%H.length]}(e.name);await i(e.delay);let a=0;for(;!r;){if(!o){await i(400);continue}let l=e.edits[a++%e.edits.length],c=`${l.row}-${l.col}`;for(let a of(n(r=>({...r,[c]:{name:e.name,color:t}})),await i(420),l.frames)){if(r)return;s(e=>{let t=[...e];return t[l.row]={...t[l.row],[l.col]:a},t}),await i(170)}if(await i(e.linger),r)return;n(e=>{let t={...e};return delete t[c],t}),await i(520)}};return V.forEach(e=>void c(e)),()=>{r=!0,a.forEach(clearTimeout),l.disconnect(),n({}),s(O)}},[]);let o=e=>{let r=a[e];return r?(0,t.jsx)($,{color:r.color,label:r.name}):null};return(0,t.jsxs)("div",{ref:e,className:(0,w.cn)("grid w-full bg-card","grid-cols-[74px_minmax(0,1fr)_104px_100px]"),children:[[{label:"Acct",Icon:F,align:""},{label:"Description",Icon:A,align:""},{label:"Tags",Icon:D.IconTags,align:""},{label:"Rate",Icon:P.IconCurrencyDollar,align:"justify-end"}].map(({label:e,Icon:r,align:s},a,i)=>(0,t.jsxs)("div",{className:(0,w.cn)("relative",B,s,"border-b border-border",a<i.length-1&&"border-r"),style:{height:35},children:[(0,t.jsx)(r,{size:12,className:"text-muted-foreground shrink-0","aria-hidden":!0}),(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs font-semibold select-none truncate",children:e})]},e)),r.map((e,r)=>(0,t.jsxs)("div",{className:"group/row col-span-4 grid grid-cols-subgrid",children:[(0,t.jsx)("div",{className:(0,w.cn)(B,E,"tabular-nums group-hover/row:bg-muted/50"),style:{height:35},children:e.acct}),(0,t.jsxs)("div",{className:(0,w.cn)("relative",B,E,"group-hover/row:bg-muted/50"),style:{height:35},children:[(0,t.jsx)("span",{className:"min-w-0 truncate",children:e.description}),o(`${r}-description`)]}),(0,t.jsx)("div",{className:(0,w.cn)(B,E,"gap-1 overflow-hidden group-hover/row:bg-muted/50"),style:{height:35},children:e.tags.map(e=>(0,t.jsx)(W,{name:e.name,color:e.color},e.name))}),(0,t.jsxs)("div",{className:(0,w.cn)("relative",B,"border-b border-border","justify-end tabular-nums group-hover/row:bg-muted/50"),style:{height:35},children:["$",e.rate,o(`${r}-rate`)]})]},e.acct))]})}e.i(334706);var U=e.i(781639);function q(){return(0,t.jsxs)(s.AnimateOnScroll,{variant:"fadeIn",duration:.2,className:"next-tiles-embed next-bento-grid mt-6 grid grid-cols-[repeat(2,minmax(0,1fr))] gap-3 min-[820px]:grid-cols-[repeat(4,minmax(0,1fr))] min-[820px]:gap-3.5",children:[(0,t.jsx)(U.UniversalImportsTile,{tone:"auto",fit:"fill",className:"min-h-[284px]"}),(0,t.jsx)(U.ProjectLibraryTile,{tone:"auto",fit:"fill",className:"min-h-[284px]"}),(0,t.jsx)(U.PublicApiTile,{tone:"auto",fit:"fill",className:"min-h-[284px]"}),(0,t.jsx)(U.McpServerTile,{tone:"auto",fit:"fill",className:"min-h-[284px]"}),(0,t.jsx)(U.FlowsApprovalsTile,{size:"wide",tone:"auto",fit:"fill",className:"col-span-2 min-h-[284px]"}),(0,t.jsx)(U.IssueCardsTile,{size:"wide",tone:"auto",fit:"fill",className:"col-span-2 min-h-[284px]"})]})}var K=e.i(821957);let J=[{id:1,name:"Philip Marlowe",initials:"PM",avatarColor:"rgb(139, 92, 246)",lineItem:"Camera Package",tagStyle:{light:{bg:"#ddd6fe",color:"#6d28d9"},dark:{bg:"rgba(139,92,246,0.2)",color:"#c4b5fd"}},message:"Can we get a revised quote? The Alexa 35 rental is over budget.",viewers:[{initials:"VL",color:"rgb(59, 130, 246)"},{initials:"JW",color:"rgb(239, 68, 68)"},{initials:"ER",color:"rgb(16, 185, 129)"}],reply:{name:"Maude Lebowski",initials:"ML",avatarColor:"rgb(234, 179, 8)",message:"Already on it. Though at this rate, we could buy the Alexa."}},{id:2,name:"Vesper Lynd",initials:"VL",avatarColor:"rgb(99, 102, 241)",lineItem:"Craft Services",tagStyle:{light:{bg:"#a7f3d0",color:"#047857"},dark:{bg:"rgba(16,185,129,0.2)",color:"#6ee7b7"}},message:"Caterer confirmed for all 18 shoot days. Invoice attached.",viewers:[{initials:"PM",color:"rgb(139, 92, 246)"},{initials:"JW",color:"rgb(239, 68, 68)"},{initials:"ER",color:"rgb(16, 185, 129)"}]},{id:3,name:"John Wick",initials:"JW",avatarColor:"rgb(239, 68, 68)",lineItem:"Location Fees",tagStyle:{light:{bg:"#fed7aa",color:"#c2410c"},dark:{bg:"rgba(249,115,22,0.2)",color:"#fdba74"}},message:"Permit approved. Moving to prep phase now.",viewers:[{initials:"PM",color:"rgb(139, 92, 246)"},{initials:"VL",color:"rgb(59, 130, 246)"},{initials:"ER",color:"rgb(16, 185, 129)"}]},{id:4,name:"Ellen Ripley",initials:"ER",avatarColor:"rgb(16, 185, 129)",lineItem:"Props & Animals",tagStyle:{light:{bg:"#fecdd3",color:"#be123c"},dark:{bg:"rgba(244,63,94,0.2)",color:"#fda4af"}},message:"The director wants a lion for the scene ð¦.",viewers:[{initials:"PM",color:"rgb(139, 92, 246)"},{initials:"VL",color:"rgb(59, 130, 246)"},{initials:"JW",color:"rgb(239, 68, 68)"}]}];function Y(){return(0,t.jsx)(o.motion.span,{className:"inline-block h-4 w-0 border-l-[1.5px] border-foreground
10/60 align-middle ml-0.5",animate:{opacity:[1,0]},transition:{duration:.5,repeat:1/0,repeatType:"reverse"}})}function X({comment:e,isTyping:r,typedLength:s,timestampLabel:a,isResolved:n,showCursor:c,showReply:m,replyTypedLength:u,isTypingReply:x}){let{resolvedTheme:h}=(0,K.useTheme)(),[p,g]=(0,i.useState)(!1);(0,i.useEffect)(()=>g(!0),[]);let f=r?e.message.slice(0,s):e.message,b=e.reply?x?e.reply.message.slice(0,u):e.reply.message:"",j=p?"dark"===h?e.tagStyle.dark:e.tagStyle.light:{bg:"transparent",color:"inherit"};return(0,t.jsxs)("div",{className:"rounded-lg bg-secondary p-4 space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(d.Avatar,{className:"h-9 w-9 shrink-0",style:{backgroundColor:e.avatarColor},children:(0,t.jsx)(d.AvatarFallback,{className:"text-xs font-bold text-white",style:{backgroundColor:e.avatarColor},children:e.initials})}),(0,t.jsx)("span",{className:"font-medium text-sm",children:e.name})]}),(0,t.jsxs)("div",{className:"relative shrink-0 mt-1",children:[n?(0,t.jsx)(o.motion.div,{initial:{scale:.8},animate:{scale:1},className:"flex h-5 w-5 items-center justify-center rounded-full bg-blue-500",children:(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})})}):(0,t.jsx)("div",{className:"h-5 w-5 rounded-full border border-black/10 dark:border-white/10"}),(0,t.jsx)(l.AnimatePresence,{children:c&&(0,t.jsx)(o.motion.div,{className:"pointer-events-none absolute z-20",initial:{opacity:0,top:20,left:-15},animate:{opacity:1,top:2,left:2},exit:{opacity:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:(0,t.jsx)("svg",{width:"12",height:"16",viewBox:"0 0 12 16",fill:"none",children:(0,t.jsx)("path",{d:"M0 0L12 9L5 9.5L2.5 16L0 0Z",fill:"rgb(88, 27, 255)"})})})})]})]}),(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("span",{className:"shrink-0 inline-flex items-center rounded-sm px-2 py-0.5 text-xs font-medium transition-colors",style:{backgroundColor:j.bg,color:j.color},children:e.lineItem}),(0,t.jsxs)("span",{className:"text-sm text-foreground leading-relaxed",children:[f,r&&(0,t.jsx)(Y,{})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex -space-x-1.5",children:[e.viewers.map(e=>(0,t.jsx)(d.Avatar,{className:"h-5 w-5 border border-secondary",style:{backgroundColor:e.color},children:(0,t.jsx)(d.AvatarFallback,{className:"text-[8px] text-white",style:{backgroundColor:e.color},children:e.initials})},e.initials)),(0,t.jsx)(d.Avatar,{className:"h-5 w-5 border border-secondary bg-muted",children:(0,t.jsx)(d.AvatarFallback,{className:"text-[8px] text-muted-foreground bg-muted",children:"+2"})})]}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:a})]}),(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-muted-foreground/50",children:[(0,t.jsx)("polyline",{points:"9 17 4 12 9 7"}),(0,t.jsx)("path",{d:"M20 18v-2a4 4 0 0 0-4-4H4"})]})]}),(0,t.jsx)(l.AnimatePresence,{children:m&&e.reply&&(0,t.jsxs)(o.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},transition:{duration:.3,ease:"easeOut"},className:"space-y-1.5 overflow-hidden",style:{paddingLeft:"3rem"},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.Avatar,{className:"h-6 w-6 shrink-0",style:{backgroundColor:e.reply.avatarColor},children:(0,t.jsx)(d.AvatarFallback,{className:"text-[10px] text-white",style:{backgroundColor:e.reply.avatarColor},children:e.reply.initials})}),(0,t.jsx)("span",{className:"font-medium text-xs",children:e.reply.name}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"Just now"})]}),(0,t.jsxs)("p",{className:"text-sm text-foreground",style:{paddingLeft:"2rem"},children:[b,x&&(0,t.jsx)(Y,{})]})]})})]})}function Q(){let e=(0,i.useRef)(null),r=(0,c.useInView)(e,{once:!1,margin:"-100px 0px"}),[s,a]=(0,i.useState)([]),[n,d]=(0,i.useState)(null),[m,u]=(0,i.useState)(0),[x,h]=(0,i.useState)(null),[p,g]=(0,i.useState)(null),[f,b]=(0,i.useState)(null),[j,v]=(0,i.useState)(!1),[y,w]=(0,i.useState)(0),[k,N]=(0,i.useState)({}),[S,C]=(0,i.useState)({}),M=(0,i.useRef)({cancelled:!1}),L=(0,i.useRef)(null);return(0,i.useEffect)(()=>{L.current&&L.current.scrollTo({top:L.current.scrollHeight,behavior:"smooth"})},[s,f]),(0,i.useEffect)(()=>{let e=Date.now();C(t=>{let r={...t};for(let t of s){let s=k[t];
10s&&(r[t]=function(e,t){let r=Math.max(0,Math.floor((t-e)/1e3));return r<3?"Just now":r<60?`${r}s ago`:`${Math.floor(r/60)}m ago`}(s,e))}return r})},[s,k]),(0,i.useEffect)(()=>{if(!r)return;let e={cancelled:!1};async function t(e){return new Promise(t=>setTimeout(t,e))}return M.current=e,async function(){for(await t(300);!e.cancelled;){for(let r=0;r<J.length;r++){if(e.cancelled)return;let s=J[r];d(r),u(0),a(e=>[...e,r]),N(e=>({...e,[r]:Date.now()}));for(let r=1;r<=s.message.length;r++){if(e.cancelled)return;u(r),"."===s.message[r-1]&&r<s.message.length&&" "===s.message[r]?await t(600):await t(30)}if(d(null),0===r&&s.reply){if(await t(800),e.cancelled)return;b(0),v(!0),w(0);for(let r=1;r<=s.reply.message.length;r++){if(e.cancelled)return;w(r),"."===s.reply.message[r-1]&&r<s.reply.message.length&&" "===s.reply.message[r]?await t(600):await t(30)}v(!1)}await t(2200)}if(await t(1500),e.cancelled||(g(1),await t(800),e.cancelled)||(h(1),await t(300),g(null),await t(3500),e.cancelled))return;b(null),v(!1),await t(200),a([]),await t(600),d(null),u(0),h(null),g(null),w(0),N({})}}(),()=>{e.cancelled=!0}},[r]),(0,t.jsx)("div",{ref:e,className:"relative mt-6 h-[340px] overflow-hidden",children:(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-xl border border-border bg-muted/50 shadow-sm backdrop-blur-md",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between border-b border-border px-5 py-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-muted-foreground",children:(0,t.jsx)("path",{d:"M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z"})}),(0,t.jsx)("span",{className:"text-base font-semibold text-foreground/80",children:"Comments"})]}),(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-muted-foreground/40",children:[(0,t.jsx)("polyline",{points:"13 17 18 12 13 7"}),(0,t.jsx)("polyline",{points:"6 17 11 12 6 7"})]})]}),(0,t.jsx)("div",{ref:L,className:"flex-1 overflow-y-auto scrollbar-none p-4 space-y-4",style:{scrollbarWidth:"none"},children:(0,t.jsx)(l.AnimatePresence,{mode:"sync",children:s.map(e=>(0,t.jsx)(o.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},exit:{opacity:0,transition:{duration:.2}},transition:{type:"spring",stiffness:300,damping:24},children:(0,t.jsx)(X,{comment:J[e],isTyping:n===e,typedLength:m,timestampLabel:S[e]??"Just now",isResolved:x===e,showCursor:p===e,showReply:f===e,replyTypedLength:y,isTypingReply:j&&f===e})},J[e].id))})})]})})}let Z=[{name:"Hermione Granger",initials:"HG",avatarColor:"rgb(139, 92, 246)",permission:"View",email:"[email protected]"},{name:"Maude Lebowski",initials:"ML",avatarColor:"rgb(16, 185, 129)",permission:"Admin",email:"[email protected]"}],ee=[{name:"Jay Gatsby",initials:"JG",avatarColor:"rgb(239, 68, 68)",permission:"User",email:""},{name:"Vesper Lynd",initials:"VL",avatarColor:"rgb(99, 102, 241)",permission:"Admin",email:""}],et="rgb(88, 27, 255)",er={typedEmail:"",typing:!1,inviteHovered:!1,addedMembers:[],showProjectSection:!1,cursorPos:{x:-50,y:-50},cursorVisible:!1,cursorClicking:!1};function es({value:e}){return(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-lg border border-input bg-background px-2.5 py-1 text-[11px] font-medium text-foreground/60 transition-colors duration-200",children:[e,(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"opacity-40",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})})}function ea({member:e}){return(0,t.jsxs)(o.motion.div,{className:"flex items-center justify-between py-2",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,x:20,height:0,paddingTop:0,paddingBottom:0},transition:{duration:.3,ease:[.22,1,.36,1]},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(d.Avatar,{size:"sm",style:{backgroundColor:e.avatarColor},children:(0,t.jsx)(d.AvatarFallback,{className:"text-[9px] font-bold text-white",style:{backgroundColor:e.avatarColor},children:e.initials})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground
10/80",children:e.name})]}),(0,t.jsx)(es,{value:e.permission})]})}function ei({x:e,y:r,visible:s,clicking:a}){return(0,t.jsx)(l.AnimatePresence,{children:s&&(0,t.jsx)(o.motion.div,{className:"pointer-events-none absolute z-30 w-0",animate:{opacity:1,top:r,left:e,scale:a?.85:1},initial:{opacity:0,top:r-20,left:e+15,scale:1},exit:{opacity:0,top:r+30,left:e-20,scale:1},transition:{duration:.5,ease:[.22,1,.36,1]},children:(0,t.jsxs)("div",{className:"relative inline-flex flex-col items-start",children:[(0,t.jsx)("svg",{width:"12",height:"16",viewBox:"0 0 12 16",fill:"none",children:(0,t.jsx)("path",{d:"M0 0L12 9L5 9.5L2.5 16L0 0Z",fill:et})}),(0,t.jsx)("div",{className:"absolute left-3 top-2.5 rounded-full px-2 py-0.5 text-[10px] font-semibold text-white shadow-lg whitespace-nowrap",style:{backgroundColor:et},children:"Steve"}),a&&(0,t.jsx)(o.motion.div,{className:"absolute -left-1 -top-1 size-4 rounded-full",initial:{scale:0,opacity:.5},animate:{scale:2.5,opacity:0},transition:{duration:.4},style:{backgroundColor:et}})]})})})}function en(){let e=(0,i.useRef)(null),r=function(e){let[t,r]=(0,i.useState)(er),s=e=>r(t=>({...t,...e}));return(0,i.useEffect)(()=>{if(!e)return;let t=!1;async function a(e){if(await new Promise(t=>setTimeout(t,e)),t)throw Error("cancelled")}async function i(){s({cursorClicking:!0}),await a(150),s({cursorClicking:!1})}return(async function(){for(;!t;){r({...er}),await a(3e3),s({cursorVisible:!0,cursorPos:{x:150,y:22}}),await a(800),s({typing:!0});for(let e=1;e<=Z[0].email.length;e++)s({typedEmail:Z[0].email.slice(0,e)}),await a(55);s({typing:!1}),await a(300),s({cursorPos:{x:490,y:22}}),await a(800),s({inviteHovered:!0}),await a(400),await i(),await a(200),r(e=>({...e,addedMembers:[...e.addedMembers,Z[0]],showProjectSection:!0,inviteHovered:!1,typedEmail:""})),s({cursorVisible:!1}),await a(1500),s({cursorVisible:!0,cursorPos:{x:150,y:22}}),await a(800),s({typing:!0});for(let e=1;e<=Z[1].email.length;e++)s({typedEmail:Z[1].email.slice(0,e)}),await a(55);s({typing:!1}),await a(300),s({cursorPos:{x:490,y:22}}),await a(800),s({inviteHovered:!0}),await a(400),await i(),await a(200),r(e=>({...e,addedMembers:[...e.addedMembers,Z[1]],inviteHovered:!1,typedEmail:""})),s({cursorVisible:!1}),await a(6e3),r(e=>({...e,addedMembers:e.addedMembers.filter(e=>"Hermione Granger"!==e.name)})),await a(800),r(e=>({...e,addedMembers:e.addedMembers.filter(e=>"Maude Lebowski"!==e.name)})),await a(500),s({showProjectSection:!1}),await a(2e3)}})().catch(()=>{}),()=>{t=!0}},[e]),t}((0,c.useInView)(e,{once:!1,margin:"-100px 0px"}));return(0,t.jsxs)("div",{ref:e,className:"relative mt-6 overflow-hidden rounded-xl border border-border bg-muted/50 backdrop-blur-[15px]",children:[(0,t.jsx)("div",{className:"relative p-4 pb-3",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-1 items-center gap-2 rounded-lg border border-input bg-background px-3 py-2",children:[(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0 opacity-30",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]}),(0,t.jsxs)("span",{className:"text-xs text-foreground/60",children:[r.typedEmail||(0,t.jsx)("span",{className:"opacity-50",children:"[email protected]"}),r.typing&&(0,t.jsx)(o.motion.span,{className:"inline-block h-3 w-[1px] bg-foreground
10/60 align-middle",animate:{opacity:[1,0]},transition:{duration:.6,repeat:1/0,repeatType:"reverse"}})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-lg border border-input bg-background px-3 py-2 text-xs font-medium text-foreground/60",children:["View",(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"opacity-30",children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]}),(0,t.jsx)("button",{className:["rounded-lg px-4 py-2 text-xs font-semibold text-white transition-all duration-200",r.inviteHovered?"bg-blue-500 scale-[1.02]":"bg-blue-600"].join(" "),children:"Invite"})]})}),(0,t.jsx)(l.AnimatePresence,{children:r.showProjectSection&&(0,t.jsxs)(o.motion.div,{className:"overflow-hidden px-4 pb-2",initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:[.22,1,.36,1]},children:[(0,t.jsx)("div",{className:"mb-1 text-[9px] font-semibold uppercase tracking-widest text-foreground/30",children:"Project Members"}),(0,t.jsx)(l.AnimatePresence,{children:r.addedMembers.map(e=>(0,t.jsx)(ea,{member:e},e.name))})]})}),(0,t.jsxs)("div",{className:"border-t border-border px-4 pb-3 pt-2",children:[(0,t.jsxs)("div",{className:"mb-1 text-[9px] font-semibold uppercase tracking-widest text-foreground/30",children:["Last Looks Collective"," Workspace"]}),ee.map(e=>(0,t.jsxs)("div",{className:"flex items-center justify-between py-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(d.Avatar,{size:"sm",style:{backgroundColor:e.avatarColor},children:(0,t.jsx)(d.AvatarFallback,{className:"text-[9px] font-bold text-white",style:{backgroundColor:e.avatarColor},children:e.initials})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground/80",children:e.name})]}),(0,t.jsx)(es,{value:e.permission})]},e.name))]}),(0,t.jsx)(ei,{x:r.cursorPos.x,y:r.cursorPos.y,visible:r.cursorVisible,clicking:r.cursorClicking})]})}var eo=e.i(134522);function el({title:e,description:r}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground sm:text-xl",children:e}),(0,t.jsx)("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground sm:mt-2",children:r})]})}function ec(){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,t.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M14.667 8h-2.666l-2 6L6 2 4 8H1.334"})})}function ed({children:e,className:r=""}){return(0,t.jsx)("div",{className:`bento-lift relative h-full overflow-hidden rounded-[20px] border-0 bg-card sm:rounded-[28px] ${r}`,children:e})}function em({t:e=N.home.sections.features.collaboration}={}){return(0,t.jsxs)(ed,{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"p-6 pb-0",children:(0,t.jsx)(el,{title:e.title,description:e.description})}),(0,t.jsx)("div",{className:"relative mt-4 min-h-[300px] flex-1 sm:mt-6",children:(0,t.jsx)("div",{className:"border-border absolute inset-x-6 top-0 bottom-6 overflow-hidden rounded-xl border",children:(0,t.jsx)(G,{})})})]})}function eu({t:e=N.home.sections.features.projects}={}){return(0,t.jsx)(R,{t:e})}function ex({t:e=N.home.sections.features.comments}={}){return(0,t.jsx)(ed,{children:(0,t.jsxs)("div",{className:"p-6 pb-0",children:[(0,t.jsx)(el,{title:e.title,description:e.description}),(0,t.jsx)(Q,{})]})})}function eh({t:e=N.home.sections.features.accessControl}={}){return(0,t.jsx)(ed,{children:(0,t.jsxs)("div",{className:"p-6 pb-0",children:[(0,t.jsx)(el,{title:e.title,description:e.description}),(0,t.jsx)(en,{})]})})}e.s(["AccessControlCard",0,eh,"CollaborationCard",0,em,"CommentsCard",0,ex,"FeatureCard",0,ed,"FeaturesSection",0,function({compact:e=!1,projectsCard:i,t:n=N.home.sections.features}){return(0,t.jsx)("section",{className:"bg-band dark:bg-band-dark px-4 pt-8 pb-14 sm:py-24 md:py-32",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl",children:[(0,t.jsx)(s.AnimateOnScroll,{variant:"blurUp",duration:.7,children:(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-border px-5 py-2 text-sm tracking-[-0.4px]",style:{background:"linear-gradient(0deg, rgba(128,128,128,0) 0%, rgba(128,128,128,0.08) 100%)"},children:[(0,t.jsx)(ec,{}
10),(0,t.jsx)("span",{className:"text-foreground/80",children:n.pill})]}),(0,t.jsx)("h2",{className:"mt-6 text-[1.5rem] font-semibold leading-[1.15] tracking-tight text-balance text-foreground sm:text-[2rem] lg:text-[2.75rem]",children:n.heading}),(0,t.jsx)("p",{className:"mt-4 max-w-2xl text-base text-muted-foreground md:text-lg",children:n.subtitle})]})}),(0,t.jsxs)("div",{className:"mt-8 grid grid-cols-1 gap-6 sm:mt-16 md:grid-cols-5",children:[(0,t.jsx)(s.AnimateOnScroll,{variant:"blurUp",duration:.7,className:"md:col-span-2",children:(0,t.jsx)(em,{t:n.collaboration})}),(0,t.jsx)(s.AnimateOnScroll,{variant:"blurUp",duration:.7,delay:.25,className:"md:col-span-3",children:i??(0,t.jsx)(eu,{t:n.projects})})]}),(0,t.jsx)(q,{}),!e&&(0,t.jsxs)("div",{className:"mt-6 grid grid-cols-1 gap-6 md:grid-cols-2",children:[(0,t.jsx)(s.AnimateOnScroll,{variant:"blurUp",duration:.7,delay:.15,className:"h-full",children:(0,t.jsx)(ex,{t:n.comments})}),(0,t.jsx)(s.AnimateOnScroll,{variant:"blurUp",duration:.7,delay:.4,className:"h-full",children:(0,t.jsx)(eh,{t:n.accessControl})})]}),e&&(0,t.jsx)(eo.MoreFeaturesGrid,{}),e&&(0,t.jsx)(s.AnimateOnScroll,{variant:"fadeUp",delay:.2,children:(0,t.jsx)("div",{className:"mt-12 flex justify-center",children:(0,t.jsx)("div",{className:"transition-transform duration-150 hover:scale-[1.03] active:scale-[0.97]",children:(0,t.jsx)(a.Button,{asChild:!0,size:"lg",children:(0,t.jsx)(r.default,{href:"/budgeting",children:n.exploreCta})})})})})]})})},"ProjectsCard",0,eu],385848)}]);
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.