vendor: 5,011 bytes, line 1
1import{r as N,j as d,n as jt,o as Nt,q as St,c as wt,b as Et,v as Ct,L as ne}from"./index-D_0a-i6f.js";import{u as fe}from"./useSuspenseQuery-Z8-Nv9ae.js";import{P as kt}from"./PublicLayout-CvC4DIGn.js";import{a as Lt,c as ce}from"./utils-BQHNewu7.js";import{c as It}from"./index-Da1Q00WJ.js";import{A as Ot}from"./arrow-left-B4obU15G.js";import{c as et}from"./createLucideIcon-DXOrzGqR.js";import{m as Pt}from"./manufacturing-Dy6BmInO.js";import"./useRouterState-CVOUopUO.js";import"./chevron-down-Bjj05jfP.js";const Tt=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],At=et("arrow-right",Tt);const _t=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Ue=et("arrow-up-right",_t);function Dt(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ke(e){return Dt(e)||Array.isArray(e)}function Mt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Te(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return i!==s?!1:n.every(r=>{const u=e[r],a=t[r];return typeof u=="function"?`${u}`==`${a}`:!Ke(u)||!Ke(a)?u===a:Te(u,a)})}function Ye(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Vt(e,t){if(e.length!==t.length)return!1;const n=Ye(e),o=Ye(t);return n.every((i,s)=>{const r=o[s];return Te(i,r)})}function Ae(e){return typeof e=="number"}function Oe(e){return typeof e=="string"}function Se(e){return typeof e=="boolean"}function Je(e){return Object.prototype.toString.call(e)==="[object Object]"}function T(e){return Math.abs(e)}function _e(e){return Math.sign(e)}function ge(e,t){return T(e-t)}function zt(e,t){if(e===0||t===0||T(e)<=T(t))return 0;const n=ge(T(e),T(t));return T(n/e)}function Ft(e){return Math.round(e*100)/100}function he(e){return xe(e).map(Number)}function R(e){return e[ve(e)]}function ve(e){return Math.max(0,e.length-1)}function De(e,t){return t===ve(e)}function Xe(e,t=0){return Array.from(Array(e),(n,o)=>t+o)}function xe(e){return Object.keys(e)}function tt(e,t){return[e,t].reduce((n,o)=>(xe(o).forEach(i=>{const s=n[i],r=o[i],u=Je(s)&&Je(r);n[i]=u?tt(s,r):r}),n),{})}function Pe(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Rt(e,t){const n={start:o,center:i,end:s};function o(){return 0}function i(a){return s(a)/2}function s(a){return t-a}function r(a,c){return Oe(e)?n[e](a):e(t,a,c)}return{measure:r}}function be(){let e=[];function t(i,s,r,u={passive:!0}){let a;if("addEventListener"in i)i.addEventListener(s,r,u),a=()=>i.removeEventListener(s,r,u);else{const c=i;c.addListener(r),a=()=>c.removeListener(r)}return e.push(a),o}function n(){e=e.filter(i=>i())}const o={add:t,clear:n};return o}function $t(e,t,n,o){const i=be(),s=1e3/60;let r=null,u=0,a=0;function c(){i.add(e,"visibilitychange",()=>{e.hidden&&f()})}function x(){v(),i.clear()}function m(g){if(!a)return;r||(r=g,n(),n());const p=g-r;for(r=g,u+=p;u>=s;)n(),u-=s;const b=u/s;o(b),a&&(a=t.requestAnimationFrame(m))}function h(){a||(a=t.requestAnimationFrame(m))}function v(){t.cancelAnimationFrame(a),r=null,u=0,a=0}function f(){r=null,u=0}return{init:c,destroy:x,start:h,stop:v,update:n,render:o}}function Bt(e,t){const n=t==="rtl",o=e==="y",i=o?"y":"x",s=o?"x":"y",r=!o&&n?-1:1,u=x(),a=m();function c(f){const{height:l,width:g}=f;return o?l:g}function x(){return o?"top":n?"right":"left"}function m(){return o?"bottom":n?"left":"right"}function h(f){return f*r}return{scroll:i,cross:s,startEdge:u,endEdge:a,measureSize:c,direction:h}}function se(e=0,t=0){const n=T(e-t);function o(c){return c<e}function i(c){return c>t}function s(c){return o(c)||i(c)}function r(c){return s(c)?o(c)?e:t:c}function u(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:r,reachedAny:s,reachedMax:i,reachedMin:o,removeOffset:u}}function nt(e,t,n){const{constrain:o}=se(0,e),i=e+1;let s=r(t);function r(h){return n?T((i+h)%i):o(h)}function u(){return s}function a(h){return s=r(h),m}function c(h){return x().set(u()+h)}function x(){return nt(e,u(),n)}const m={get:u,set:a,add:c,clone:x};return m}function Ht(e,t,n,o,i,s,r,u,a,c,x,m,h,v,f,l,g,p,b){const{cross:j,direction:E}=e,O=["INPUT","SELECT","TEXTAREA"],C={passive:!1},S=be(),w=be(),k=se(50,225).constrain(v.measure(20)),A={mouse:300,touch:400},L={mouse:500,touch:600},V=f?43:25;let $=!1,B=0,H=0,W=!1,X=!1,Q=!1,U=!1;function ae(y){if(!b)return;function I(M){(Se(b)||b(y,M))&&ue(M)}const _=t;S.add(_,"dragstart",M=>M.preventDefault(),C).add(_,"touchmove",()=>{},C).add(_,"touchend",()=>{}).add(_,"touchstart",I).add(_,"mousedown",I).add(_,"touchcancel",D).add(_,"contextmenu",D).add(_,"click",Y,!0)}function q(){S.clear(),w.clear()}function re(){const y=U?n:t;w.add(y,"touchmove",z,C).add(y,"touchend",D).add(y,"mousemove",z,C).add(y,"mouseup",D)}function oe(y){const I=y.nodeName||"";return O.includes(I)}function K(){return(f?L:A)[U?"mouse":"touch"]}
vendor: 9,782 bytes, line 1
1function le(y,I){const _=m.add(_e(y)*-1),M=x.byDistance(y,!f).distance;return f||T(y)<k?M:g&&I?M*.5:x.byIndex(_.get(),0).distance}function ue(y){const I=Pe(y,o);U=I,Q=f&&I&&!y.buttons&&$,$=ge(i.get(),r.get())>=2,!(I&&y.button!==0)&&(oe(y.target)||(W=!0,s.pointerDown(y),c.useFriction(0).useDuration(0),i.set(r),re(),B=s.readPoint(y),H=s.readPoint(y,j),h.emit("pointerDown")))}function z(y){if(!Pe(y,o)&&y.touches.length>=2)return D(y);const _=s.readPoint(y),M=s.readPoint(y,j),G=ge(_,B),J=ge(M,H);if(!X&&!U&&(!y.cancelable||(X=G>J,!X)))return D(y);const ee=s.pointerMove(y);G>l&&(Q=!0),c.useFriction(.3).useDuration(.75),u.start(),i.add(E(ee)),y.preventDefault()}function D(y){const _=x.byDistance(0,!1).index!==m.get(),M=s.pointerUp(y)*K(),G=le(E(M),_),J=zt(M,G),ee=V-10*J,Z=p+J/50;X=!1,W=!1,w.clear(),c.useDuration(ee).useFriction(Z),a.distance(G,!f),U=!1,h.emit("pointerUp")}function Y(y){Q&&(y.stopPropagation(),y.preventDefault(),Q=!1)}function F(){return W}return{init:ae,destroy:q,pointerDown:F}}function qt(e,t){let o,i;function s(m){return m.timeStamp}function r(m,h){const f=`client${(h||e.scroll)==="x"?"X":"Y"}`;return(Pe(m,t)?m:m.touches[0])[f]}function u(m){return o=m,i=m,r(m)}function a(m){const h=r(m)-r(i),v=s(m)-s(o)>170;return i=m,v&&(o=m),h}function c(m){if(!o||!i)return 0;const h=r(i)-r(o),v=s(m)-s(o),f=s(m)-s(i)>170,l=h/v;return v&&!f&&T(l)>.1?l:0}return{pointerDown:u,pointerMove:a,pointerUp:c,readPoint:r}}function Gt(){function e(n){const{offsetTop:o,offsetLeft:i,offsetWidth:s,offsetHeight:r}=n;return{top:o,right:i+s,bottom:o+r,left:i,width:s,height:r}}return{measure:e}}function Qt(e){function t(o){return e*(o/100)}return{measure:t}}function Ut(e,t,n,o,i,s,r){const u=[e].concat(o);let a,c,x=[],m=!1;function h(g){return i.measureSize(r.measure(g))}function v(g){if(!s)return;c=h(e),x=o.map(h);function p(b){for(const j of b){if(m)return;const E=j.target===e,O=o.indexOf(j.target),C=E?c:x[O],S=h(E?e:o[O]);if(T(S-C)>=.5){g.reInit(),t.emit("resize");break}}}a=new ResizeObserver(b=>{(Se(s)||s(g,b))&&p(b)}),n.requestAnimationFrame(()=>{u.forEach(b=>a.observe(b))})}function f(){m=!0,a&&a.disconnect()}return{init:v,destroy:f}}function Kt(e,t,n,o,i,s){let r=0,u=0,a=i,c=s,x=e.get(),m=0;function h(){const C=o.get()-e.get(),S=!a;let w=0;return S?(r=0,n.set(o),e.set(o),w=C):(n.set(e),r+=C/a,r*=c,x+=r,e.add(r),w=x-m),u=_e(w),m=x,O}function v(){const C=o.get()-t.get();return T(C)<.001}function f(){return a}function l(){return u}function g(){return r}function p(){return j(i)}function b(){return E(s)}function j(C){return a=C,O}function E(C){return c=C,O}const O={direction:l,duration:f,velocity:g,seek:h,settled:v,useBaseFriction:b,useBaseDuration:p,useFriction:E,useDuration:j};return O}function Yt(e,t,n,o,i){const s=i.measure(10),r=i.measure(50),u=se(.1,.99);let a=!1;function c(){return!(a||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function x(v){if(!c())return;const f=e.reachedMin(t.get())?"min":"max",l=T(e[f]-t.get()),g=n.get()-t.get(),p=u.constrain(l/r);n.subtract(g*p),!v&&T(g)<s&&(n.set(e.constrain(n.get())),o.useDuration(25).useBaseFriction())}function m(v){a=!v}return{shouldConstrain:c,constrain:x,toggleActive:m}}function Jt(e,t,n,o,i){const s=se(-t+e,0),r=m(),u=x(),a=h();function c(f,l){return ge(f,l)<=1}function x(){const f=r[0],l=R(r),g=r.lastIndexOf(f),p=r.indexOf(l)+1;return se(g,p)}function m(){return n.map((f,l)=>{const{min:g,max:p}=s,b=s.constrain(f),j=!l,E=De(n,l);return j?p:E||c(g,b)?g:c(p,b)?p:b}).map(f=>parseFloat(f.toFixed(3)))}function h(){if(t<=e+i)return[s.max];if(o==="keepSnaps")return r;const{min:f,max:l}=u;return r.slice(f,l)}return{snapsContained:a,scrollContainLimit:u}}function Xt(e,t,n){const o=t[0],i=n?o-e:R(t);return{limit:se(i,o)}}function Zt(e,t,n,o){const s=t.min+.1,r=t.max+.1,{reachedMin:u,reachedMax:a}=se(s,r);function c(h){return h===1?a(n.get()):h===-1?u(n.get()):!1}function x(h){if(!c(h))return;const v=e*(h*-1);o.forEach(f=>f.add(v))}return{loop:x}}function Wt(e){const{max:t,length:n}=e;function o(s){const r=s-t;return n?r/-n:0}return{get:o}}function en(e,t,n,o,i){const{startEdge:s,endEdge:r}=e,{groupSlides:u}=i,a=m().map(t.measure),c=h(),x=v();function m(){return u(o).map(l=>R(l)[r]-l[0][s]).map(T)}function h(){return o.map(l=>n[s]-l[s]).map(l=>-T(l))}function v(){return u(c).map(l=>l[0]).map((l,g)=>l+a[g])}return{snaps:c,snapsAligned:x}}function tn(e,t,n,o,i,s){const{groupSlides:r}=i,{min:u,max:a}=o,c=x();function x(){const h=r(s),v=!e||t==="keepSnaps";return n.length===1?[s]:v?h:h.slice(u,a).map((f,l,g)=>{const p=!l,b=De(g,l);if(p){const j=R(g[0])+1;return Xe(j)}if(b){const j=ve(s)-R(g)[0]+1;return Xe(j,R(g)[0])}return f})}return{slideRegistry:c}}function nn(e,t,n,o,i){const{reachedAny:s,removeOffset:r,constrain:u}=o;function a(f){return f.concat().sort((l,g)=>T(l)-T(g))[0]}function c(f){const l=e?r(f):u(f),g=t.map((b,j)=>({diff:x(b-l,0),index:j})).sort((b,j)=>T(b.diff)-T(j.diff)),{index:p}=g[0];return{index:p,distance:l}}function x(f,l){const g=[f,f+n,f-n];if(!e)return f;if(!l)return a(g);const p=g.filter(b=>_e(b)===l);return p.length?a(p):R(g)-n}function m(f,l){const g=t[f]-i.get(),p=x(g,l);return{index:f,distance:p}}function h(f,l){const g=i.get()+f,{index:p,distance:b}=c(g),j=!e&&s(g);if(!l||j)return{index:p,distance:f};const E=t[p]-b,O=f+x(E,0);return{index:p,distance:O}}return{byDistance:h,byIndex:m,shortcut:x}}function sn(e,t,n,o,i,s,r){function u(m){const h=m.distance,v=m.index!==t.get();s.add(h),h&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(n.set(t.get()),t.set(m.index),r.emit("select"))}function a(m,h){const v=i.byDistance(m,h);u(v)}function c(m,h){const v=t.clone().set(m),f=i.byIndex(v.get(),h);u(f)}return{distance:a,index:c}}function rn(e,t,n,o,i,s,r,u){const a={passive:!0,capture:!0};let c=0;function x(v){if(!u)return;function f(l){if(new Date().getTime()-c>10)return;r.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(j=>j.includes(l));Ae(b)&&(i.useDuration(0),o.index(b,0),r.emit("slideFocus"))}s.add(document,"keydown",m,!1),t.forEach((l,g)=>{s.add(l,"focus",p=>{(Se(u)||u(v,p))&&f(g)},a)})}function m(v){v.code==="Tab"&&(c=new Date().getTime())}return{init:x}}function pe(e){let t=e;function n(){return t}function o(a){t=r(a)}function i(a){t+=r(a)}function s(a){t-=r(a)}function r(a){return Ae(a)?a:a.get()}return{get:n,set:o,add:i,subtract:s}}function st(e,t){const n=e.scroll==="x"?r:u,o=t.style;let i=null,s=!1;function r(h){return`translate3d(${h}px,0px,0px)`}function u(h){return`translate3d(0px,${h}px,0px)`}function a(h){if(s)return;const v=Ft(e.direction(h));v!==i&&(o.transform=n(v),i=v)}function c(h){s=!h}function x(){s||(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:x,to:a,toggleActive:c}}function on(e,t,n,o,i,s,r,u,a){const x=he(i),m=he(i).reverse(),h=p().concat(b());function v(S,w){return S.reduce((k,A)=>k-i[A],w)}function f(S,w){return S.reduce((k,A)=>v(k,w)>0?k.concat([A]):k,[])}function l(S){return s.map((w,k)=>({start:w-o[k]+.5+S,end:w+t-.5+S}))}function g(S,w,k){const A=l(w);return S.map(L=>{const V=k?0:-n,$=k?n:0,B=k?"end":"start",H=A[L][B];return{index:L,loopPoint:H,slideLocation:pe(-1),translate:st(e,a[L]),target:()=>u.get()>H?V:$}})}function p(){const S=r[0],w=f(m,S);return g(w,n,!1)}function b(){const S=t-r[0]-1,w=f(x,S);return g(w,-n,!0)}function j(){return h.every(({index:S})=>{const w=x.filter(k=>k!==S);return v(w,t)<=.1})}function E(){h.forEach(S=>{const{target:w,translate:k,slideLocation:A}=S,L=w();L!==A.get()&&(k.to(L),A.set(L))})}function O(){h.forEach(S=>S.translate.clear())}return{canLoop:j,clear:O,loop:E,loopPoints:h}}function cn(e,t,n){let o,i=!1;function s(a){if(!n)return;function c(x){for(const m of x)if(m.type==="childList"){a.reInit(),t.emit("slidesChanged");break}}o=new MutationObserver(x=>{i||(Se(n)||n(a,x))&&c(x)}),o.observe(e,{childList:!0})}function r(){o&&o.disconnect(),i=!0}return{init:s,destroy:r}}function an(e,t,n,o){const i={};let s=null,r=null,u,a=!1;function c(){u=new IntersectionObserver(f=>{a||(f.forEach(l=>{const g=t.indexOf(l.target);i[g]=l}),s=null,r=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:o}),t.forEach(f=>u.observe(f))}function x(){u&&u.disconnect(),a=!0}function m(f){return xe(i).reduce((l,g)=>{const p=parseInt(g),{isIntersecting:b}=i[p];return(f&&b||!f&&!b)&&l.push(p),l},[])}function h(f=!0){if(f&&s)return s;if(!f&&r)return r;const l=m(f);return f&&(s=l),f||(r=l),l}return{init:c,destroy:x,get:h}}function ln(e,t,n,o,i,s){const{measureSize:r,startEdge:u,endEdge:a}=e,c=n[0]&&i,x=f(),m=l(),h=n.map(r),v=g();function f(){if(!c)return 0;const b=n[0];return T(t[u]-b[u])}function l(){if(!c)return 0;const b=s.getComputedStyle(R(o));return parseFloat(b.getPropertyValue(`margin-${a}`))}function g(){return n.map((b,j,E)=>{const O=!j,C=De(E,j);return O?h[j]+x:C?h[j]+m:E[j+1][u]-b[u]}).map(T)}return{slideSizes:h,slideSizesWithGaps:v,startGap:x,endGap:m}}function un(e,t,n,o,i,s,r,u,a){const{startEdge:c,endEdge:x,direction:m}=e,h=Ae(n);function v(p,b){return he(p).filter(j=>j%b===0).map(j=>p.slice(j,j+b))}function f(p){return p.length?he(p).reduce((b,j,E)=>{const O=R(b)||0,C=O===0,S=j===ve(p),w=i[c]-s[O][c],k=i[c]-s[j][x],A=!o&&C?m(r):0,L=!o&&S?m(u):0,V=T(k-L-(w+A));return E&&V>t+a&&b.push(j),S&&b.push(p.length),b},[]).map((b,j,E)=>{const O=Math.max(E[j-1]||0);return p.slice(O,b)}):[]}function l(p){return h?v(p,n):f(p)}return{groupSlides:l}}function dn(e,t,n,o,i,s,r){const{align:u,axis:a,direction:c,startIndex:x,loop:m,duration:h,dragFree:v,dragThreshold:f,inViewThreshold:l,slidesToScroll:g,skipSnaps:p,containScroll:b,watchResize:j,watchSlides:E,watchDrag:O,watchFocus:C}=s,S=2,w=Gt(),k=w.measure(t),A=n.map(w.measure),L=Bt(a,c),V=L.measureSize(k),$=Qt(V),B=Rt(u,V),H=!m&&!!b,W=m||!!b,{slideSizes:X,slideSizesWithGaps:Q,startGap:U,endGap:ae}
1=ln(L,k,A,n,W,i),q=un(L,V,g,m,k,A,U,ae,S),{snaps:re,snapsAligned:oe}=en(L,B,k,A,q),K=-R(re)+R(Q),{snapsContained:le,scrollContainLimit:ue}=Jt(V,K,oe,b,S),z=H?le:oe,{limit:D}=Xt(K,z,m),Y=nt(ve(z),x,m),F=Y.clone(),P=he(n),y=({dragHandler:ie,scrollBody:Le,scrollBounds:Ie,options:{loop:ye}})=>{ye||Ie.constrain(ie.pointerDown()),Le.seek()},I=({scrollBody:ie,translate:Le,location:Ie,offsetLocation:ye,previousLocation:mt,scrollLooper:pt,slideLooper:gt,dragHandler:ht,animation:xt,eventHandler:$e,scrollBounds:bt,options:{loop:Be}},He)=>{const qe=ie.settled(),vt=!bt.shouldConstrain(),Ge=Be?qe:qe&&vt,Qe=Ge&&!ht.pointerDown();Qe&&xt.stop();const yt=Ie.get()*He+mt.get()*(1-He);ye.set(yt),Be&&(pt.loop(ie.direction()),gt.loop()),Le.to(ye.get()),Qe&&$e.emit("settle"),Ge||$e.emit("scroll")},_=$t(o,i,()=>y(ke),ie=>I(ke,ie)),M=.68,G=z[Y.get()],J=pe(G),ee=pe(G),Z=pe(G),te=pe(G),de=Kt(J,Z,ee,te,h,M),Ee=nn(m,z,K,D,te),Ce=sn(_,Y,F,de,Ee,te,r),ze=Wt(D),Fe=be(),dt=an(t,n,r,l),{slideRegistry:Re}=tn(H,b,z,ue,q,P),ft=rn(e,n,Re,Ce,de,Fe,r,C),ke={ownerDocument:o,ownerWindow:i,eventHandler:r,containerRect:k,slideRects:A,animation:_,axis:L,dragHandler:Ht(L,e,o,i,te,qt(L,i),J,_,Ce,de,Ee,Y,r,$,v,f,p,M,O),eventStore:Fe,percentOfView:$,index:Y,indexPrevious:F,limit:D,location:J,offsetLocation:Z,previousLocation:ee,options:s,resizeHandler:Ut(t,r,i,n,L,j,w),scrollBody:de,scrollBounds:Yt(D,Z,te,de,$),scrollLooper:Zt(K,D,Z,[J,Z,ee,te]),scrollProgress:ze,scrollSnapList:z.map(ze.get),scrollSnaps:z,scrollTarget:Ee,scrollTo:Ce,slideLooper:on(L,V,K,X,Q,re,z,Z,n),slideFocus:ft,slidesHandler:cn(t,r,E),slidesInView:dt,slideIndexes:P,slideRegistry:Re,slidesToScroll:q,target:te,translate:st(L,t)};return ke}function fn(){let e={},t;function n(c){t=c}function o(c){return e[c]||[]}function i(c){return o(c).forEach(x=>x(t,c)),a}function s(c,x){return e[c]=o(c).concat([x]),a}function r(c,x){return e[c]=o(c).filter(m=>m!==x),a}function u(){e={}}const a={init:n,emit:i,off:r,on:s,clear:u};return a}const mn={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function pn(e){function t(s,r){return tt(s,r||{})}function n(s){const r=s.breakpoints||{},u=xe(r).filter(a=>e.matchMedia(a).matches).map(a=>r[a]).reduce((a,c)=>t(a,c),{});return t(s,u)}function o(s){return s.map(r=>xe(r.breakpoints||{})).reduce((r,u)=>r.concat(u),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:o}}function gn(e){let t=[];function n(s,r){return t=r.filter(({options:u})=>e.optionsAtMedia(u).active!==!1),t.forEach(u=>u.init(s,e)),r.reduce((u,a)=>Object.assign(u,{[a.name]:a}),{})}function o(){t=t.filter(s=>s.destroy())}return{init:n,destroy:o}}function je(e,t,n){const o=e.ownerDocument,i=o.defaultView,s=pn(i),r=gn(s),u=be(),a=fn(),{mergeOptions:c,optionsAtMedia:x,optionsMediaQueries:m}=s,{on:h,off:v,emit:f}=a,l=L;let g=!1,p,b=c(mn,je.globalOptions),j=c(b),E=[],O,C,S;function w(){const{container:P,slides:y}=j;C=(Oe(P)?e.querySelector(P):P)||e.children[0];const _=Oe(y)?C.querySelectorAll(y):y;S=[].slice.call(_||C.children)}function k(P){const y=dn(e,C,S,o,i,P,a);if(P.loop&&!y.slideLooper.canLoop()){const I=Object.assign({},P,{loop:!1});return k(I)}return y}function A(P,y){g||(b=c(b,P),j=x(b),E=y||E,w(),p=k(j),m([b,...E.map(({options:I})=>I)]).forEach(I=>u.add(I,"change",L)),j.active&&(p.translate.to(p.location.get()),p.animation.init(),p.slidesInView.init(),p.slideFocus.init(F),p.eventHandler.init(F),p.resizeHandler.init(F),p.slidesHandler.init(F),p.options.loop&&p.slideLooper.loop(),C.offsetParent&&S.length&&p.dragHandler.init(F),O=r.init(F,E)))}function L(P,y){const I=q();V(),A(c({startIndex:I},P),y),a.emit("reInit")}function V(){p.dragHandler.destroy(),p.eventStore.clear(),p.translate.clear(),p.slideLooper.clear(),p.resizeHandler.destroy(),p.slidesHandler.destroy(),p.slidesInView.destroy(),p.animation.destroy(),r.destroy(),u.clear()}function $(){g||(g=!0,u.clear(),V(),a.emit("destroy"),a.clear())}function B(P,y,I){!j.active||g||(p.scrollBody.useBaseFriction().useDuration(y===!0?0:j.duration),p.scrollTo.index(P,I||0))}function H(P){const y=p.index.add(1).get();B(y,P,-1)}function W(P){const y=p.index.add(-1).get();B(y,P,1)}function X(){return p.index.add(1).get()!==q()}function Q(){return p.index.add(-1).get()!==q()}function U(){return p.scrollSnapList}function ae(){return p.scrollProgress.get(p.offsetLocation.get())}function q(){return p.index.get()}function re(){return p.indexPrevious.get()}function oe(){return p.slidesInView.get()}function K(){return p.slidesInView.get(!1)}function le(){return O}function ue(){return p}function z(){return e}function D(){return C}function Y(){return S}const F={canScrollNext:X,canScrollPrev:Q,containerNode:D,internalEngine:ue,destroy:$,off:v,on:h,emit:f,plugins:le,previousScrollSnap:re,reInit:l,rootNode:z,scrollNext:H,scrollPrev:W,scrollProgress:ae,scrollSnapList:U,scrollTo:B,selectedScrollSnap:q,slideNodes:Y,slidesInView:oe,slidesNotInView:K};return A(t,n),setTimeout(()=>a.emit("init"),0),F}je.globalOptions=void 0;function Me(e={},t=[]){const n=N.useRef(e),o=N.useRef(t),[i,s]=N.useState(),[r,u]=N.useState(),a=N.useCallback(()=>{i&&i.reInit(n.current,o.current)},[i]);return N.useEffect(()=>{Te(n.current,e)||(n.current=e,a())},[e,a]),N.useEffect(()=>{Vt(o.current,t)||(o.current=t,a())},[t,a]),N.useEffect(()=>{if(Mt()&&r){je.globalOptions=Me.globalOptions;const c=je(r,n.current,o.current);return s(c),()=>c.destroy()}else s(void 0)},[r,s]),[u,i]}Me.globalOptions=void 0;var hn=Symbol.for("react.lazy"),Ne=jt[" use ".trim().toString()];function xn(e){return typeof e=="object"&&e!==null&&"then"in e}function rt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===hn&&"_payload"in e&&xn(e._payload)}function bn(e){const t=yn(e),n=N.forwardRef((o,i)=>{let{children:s,...r}=o;rt(s)&&typeof Ne=="function"&&(s=Ne(s._payload));const u=N.Children.toArray(s),a=u.find(Nn);if(a){const c=a.props.children,x=u.map(m=>m===a?N.Children.count(c)>1?N.Children.only(null):N.isValidElement(c)?c.props.children:null:m);return d.jsx(t,{...r,ref:i,children:N.isValidElement(c)?N.cloneElement(c,void 0,x):null})}return d.jsx(t,{...r,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var vn=bn("Slot");function yn(e){const t=N.forwardRef((n,o)=>{let{children:i,...s}=n;
1if(rt(i)&&typeof Ne=="function"&&(i=Ne(i._payload)),N.isValidElement(i)){const r=wn(i),u=Sn(s,i.props);return i.type!==N.Fragment&&(u.ref=o?It(o,r):r),N.cloneElement(i,u)}return N.Children.count(i)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var jn=Symbol("radix.slottable");function Nn(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===jn}function Sn(e,t){const n={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?n[o]=(...u)=>{const a=s(...u);return i(...u),a}:i&&(n[o]=i):o==="style"?n[o]={...i,...s}:o==="className"&&(n[o]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function wn(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Ze=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,We=Lt,En=(e,t)=>n=>{var o;if(t?.variants==null)return We(e,n?.class,n?.className);const{variants:i,defaultVariants:s}=t,r=Object.keys(i).map(c=>{const x=n?.[c],m=s?.[c];if(x===null)return null;const h=Ze(x)||Ze(m);return i[c][h]}),u=n&&Object.entries(n).reduce((c,x)=>{let[m,h]=x;return h===void 0||(c[m]=h),c},{}),a=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((c,x)=>{let{class:m,className:h,...v}=x;return Object.entries(v).every(f=>{let[l,g]=f;return Array.isArray(g)?g.includes({...s,...u}[l]):{...s,...u}[l]===g})?[...c,m,h]:c},[]);return We(e,r,a,n?.class,n?.className)},Cn=En("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ve=N.forwardRef(({className:e,variant:t,size:n,asChild:o=!1,...i},s)=>{const r=o?vn:"button";return d.jsx(r,{className:ce(Cn({variant:t,size:n,className:e})),ref:s,...i})});Ve.displayName="Button";const ot=N.createContext(null);function we(){const e=N.useContext(ot);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const it=N.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:o,className:i,children:s,...r},u)=>{const[a,c]=Me({...t,axis:e==="horizontal"?"x":"y"},o),[x,m]=N.useState(!1),[h,v]=N.useState(!1),f=N.useCallback(b=>{b&&(m(b.canScrollPrev()),v(b.canScrollNext()))},[]),l=N.useCallback(()=>{c?.scrollPrev()},[c]),g=N.useCallback(()=>{c?.scrollNext()},[c]),p=N.useCallback(b=>{b.key==="ArrowLeft"?(b.preventDefault(),l()):b.key==="ArrowRight"&&(b.preventDefault(),g())},[l,g]);return N.useEffect(()=>{!c||!n||n(c)},[c,n]),N.useEffect(()=>{if(c)return f(c),c.on("reInit",f),c.on("select",f),()=>{c?.off("select",f)}},[c,f]),d.jsx(ot.Provider,{value:{carouselRef:a,api:c,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:l,scrollNext:g,canScrollPrev:x,canScrollNext:h},children:d.jsx("div",{ref:u,onKeyDownCapture:p,className:ce("relative",i),role:"region","aria-roledescription":"carousel",...r,children:s})})});it.displayName="Carousel";const ct=N.forwardRef(({className:e,...t},n)=>{const{carouselRef:o,orientation:i}=we();return d.jsx("div",{ref:o,className:"overflow-hidden",children:d.jsx("div",{ref:n,className:ce("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});
1ct.displayName="CarouselContent";const at=N.forwardRef(({className:e,...t},n)=>{const{orientation:o}=we();return d.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:ce("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",e),...t})});at.displayName="CarouselItem";const lt=N.forwardRef(({className:e,variant:t="outline",size:n="icon",...o},i)=>{const{orientation:s,scrollPrev:r,canScrollPrev:u}=we();return d.jsxs(Ve,{ref:i,variant:t,size:n,className:ce("absolute h-8 w-8 rounded-full",s==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:r,...o,children:[d.jsx(Ot,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Previous slide"})]})});lt.displayName="CarouselPrevious";const ut=N.forwardRef(({className:e,variant:t="outline",size:n="icon",...o},i)=>{const{orientation:s,scrollNext:r,canScrollNext:u}=we();return d.jsxs(Ve,{ref:i,variant:t,size:n,className:ce("absolute h-8 w-8 rounded-full",s==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:r,...o,children:[d.jsx(At,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Next slide"})]})});ut.displayName="CarouselNext";const kn="/assets/hero-christmas-CbYmWNIV.jpg",me={eyebrow:"Desde 1992 · Fabricação própria",titulo:"O Natal começa no ambiente.",subtitulo:"Há mais de 30 anos transformando espaços em experiências natalinas sofisticadas para shoppings, hotéis, empresas e decoradores.",cta_label:"Conheça os projetos",cta_link:"/projetos"},Ln=6e3;function Fn(){const{data:e}=fe(Nt()),{data:t}=fe(St()),{data:n}=fe(wt()),{data:o}=fe(Et()),{data:i}=fe(Ct()),s=e.length>0?e:[null],[r,u]=N.useState(0);N.useEffect(()=>{if(s.length<=1)return;const l=setInterval(()=>u(g=>(g+1)%s.length),Ln);return()=>clearInterval(l)},[s.length]);const a=s[r],c=a?.eyebrow?.trim()||me.eyebrow,x=a?.titulo?.trim()||me.titulo,m=a?.subtitulo?.trim()||me.subtitulo,h=a?.cta_label?.trim()||me.cta_label,v=a?.cta_link?.trim()||me.cta_link,f=[{n:t.stat1_numero,l:t.stat1_label},{n:t.stat2_numero,l:t.stat2_label},{n:t.stat3_numero,l:t.stat3_label}].filter(l=>l.n||l.l);return d.jsxs(kt,{children:[d.jsxs("section",{className:"relative h-screen min-h-[720px] w-full overflow-hidden",children:[s.map((l,g)=>{const p=l?.tipo==="video"&&!!l?.media_url,b=!p&&l?.media_url||kn;return d.jsxs("div",{className:`absolute inset-0 transition-opacity duration-[1200ms] ease-in-out ${g===r?"opacity-100":"opacity-0 pointer-events-none"}`,"aria-hidden":g!==r,children:[p?d.jsx("video",{src:l.media_url,poster:l?.poster_url??void 0,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"h-full w-full object-cover"}):d.jsx("img",{src:b,alt:l?.titulo??"Decoração natalina sofisticada Vitória Christmas",className:"h-full w-full object-cover animate-ken-burns",width:1920,height:1080}),d.jsx("div",{className:"absolute inset-0",style:{background:"var(--gradient-hero)"}})]},g)}),d.jsx("div",{className:"relative z-10 flex h-full flex-col justify-end pb-24 md:pb-32 text-[color:var(--champagne)]",children:d.jsxs("div",{className:"container-editorial",children:[d.jsx("p",{className:"eyebrow animate-fade-in",children:c},`eb-${r}`),d.jsx("h1",{className:"display mt-6 text-5xl md:text-7xl lg:text-[5.5rem] max-w-5xl animate-fade-up",children:x},`t-${r}`),d.jsx("p",{className:"mt-8 max-w-xl text-base md:text-lg leading-relaxed opacity-90 animate-fade-up",children:m},`s-${r}`),d.jsxs("div",{className:"mt-10 flex flex-wrap gap-4 animate-fade-up",children:[d.jsxs("a",{href:v,className:"group inline-flex items-center gap-2 btn-gold px-7 py-4 text-xs tracking-[0.22em] uppercase font-medium",children:[h,d.jsx(Ue,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),d.jsx(ne,{to:"/contato",className:"inline-flex items-center gap-2 border border-[color:var(--champagne)]/40 px-7 py-4 text-xs tracking-[0.22em] uppercase hover:bg-[color:var(--champagne)]/10 transition-colors",children:"Atendimento consultivo"})]},`c-${r}`),s.length>1&&d.jsx("div",{className:"mt-12 flex items-center gap-3",children:s.map((l,g)=>d.jsx("button",{type:"button","aria-label":`Ir para banner ${g+1}`,onClick:()=>u(g),className:`h-[2px] transition-all duration-500 ${g===r?"w-12 bg-[color:var(--gold)]":"w-6 bg-[color:var(--champagne)]/40 hover:bg-[color:var(--champagne)]/70"}`},g))})]})}),s.length<=1&&d.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 text-[color:var(--champagne)]/70 text-[0.65rem] tracking-[0.3em] uppercase",children:"Role para descobrir"})]}),d.jsx("section",{className:"py-32",children:d.jsxs("div",{className:"container-editorial grid gap-12 lg:grid-cols-12",children:[d.jsx("div",{className:"lg:col-span-4",children:d.jsx("p",{className:"eyebrow",children:t.manifesto_eyebrow})}),d.jsxs("div",{className:"lg:col-span-8",children:[d.jsxs("p",{className:"display text-3xl md:text-5xl leading-[1.15]",children:[t.manifesto_texto," ",d.jsx("span",{className:"text-[color:var(--gold)]",children:t.manifesto_destaque})]}),f.length>0&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"hairline mt-12 max-w-xs"}),d.jsx("div",{className:"mt-12 grid sm:grid-cols-3 gap-10",children:f.map((l,g)=>d.jsxs("div",{children:[d.jsx("div",{className:"font-serif text-5xl text-[color:var(--forest)]",children:l.n}),d.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:l.l})]},g))})]})]})]})}),i.length>0&&d.jsx("section",{className:"py-24",children:d.jsxs("div",{className:"container-editorial",children:[d.jsxs("div",{className:"flex items-end justify-between flex-wrap gap-6 mb-12",children:[d.jsxs("div",{children:[d.jsx("p",{className:"eyebrow",children:"Catálogo · Destaques"}),d.jsx("h2",{className:"display text-4xl md:text-6xl mt-4 max-w-2xl",children:"Peças que assinam o ambiente."})]}),d.jsx(ne,{to:"/catalogo",className:"text-sm tracking-[0.18em] uppercase border-b border-[color:var(--ink)] pb-1 hover:border-[color:var(--gold)] hover:text-[color:var(--gold)] transition-colors",children:"Ver catálogo completo â"})]}),d.jsxs(it,{opts:{align:"start",loop:i.length>4},className:"relative",children:[d.jsx(ct,{className:"-ml-4",children:i.map(l=>d.jsx(at,{className:"pl-4 basis-full sm:basis-1/2 lg:basis-1/3 xl:basis-1/4",children:d.jsxs(ne,{to:"/produto/$slug",params:{slug:l.slug},className:"group block",children:[d.jsx("div",{className:"relative overflow-hidden aspect-[4/5] bg-[color:var(--champagne)]/30",children:l.image&&d.jsx("img",{src:l.image,alt:l.name,loading:"lazy",className:"h-full w-full object-contain p-4 transition-transform duration-[900ms] ease-out group-hover:scale-105"})}),d.jsxs("div",{className:"mt-4",children:[d.jsxs("p",{className:"text-[0.65rem] tracking-[0.25em] uppercase text-[color:var(--gold)]",children:[l.category,l.subcategory?` · ${l.subcategory}`:""]}),d.jsx("h3",{className:"mt-2 font-serif text-xl group-hover:text-[color:var(--forest)] transition-colors",children:l.name})]})]})},l.id))}),d.jsx(lt,{className:"hidden md:flex -left-4"}),d.jsx(ut,{className:"hidden md:flex -right-4"})]})]})}),n.length>0&&d.jsx("section",{className:"py-24 bg-[color:var(--champagne)]/40",children:d.jsxs("div",{className:"container-editorial",children:[d.jsxs("div",{className:"flex items-end justify-between flex-wrap gap-6 mb-16",children:[d.jsxs("div",{children:[d.jsx("p",{className:"eyebrow",children:t.projetos_eyebrow}),d.jsx("h2",{className:"display text-4xl md:text-6xl mt-4 max-w-2xl",children:t.projetos_titulo})]}),d.jsx(ne,{to:"/projetos",className:"text-sm tracking-[0.18em] uppercase border-b border-[color:var(--ink)] pb-1 hover:border-[color:var(--gold)] hover:text-[color:var(--gold)] transition-colors",children:"Ver todos â"})]}),d.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:n.slice(0,5).map((l,g)=>d.jsx(ne,{to:"/projetos",className:`group block ${g===0?"lg:row-span-2 lg:col-span-2":""}`,children:d.jsxs("div",{className:"relative overflow-hidden bg-muted aspect-[4/5]",children:[l.imagem&&d.jsx("img",{src:l.imagem,alt:l.titulo,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-[1200ms] ease-out group-hover:scale-105"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-trans
1parent to-transparent"}),d.jsxs("div",{className:"absolute inset-x-0 bottom-0 p-6 text-[color:var(--champagne)]",children:[d.jsxs("p",{className:"text-[0.65rem] tracking-[0.25em] uppercase text-[color:var(--gold)]",children:[l.segmento,l.ano?` · ${l.ano}`:""]}),d.jsx("h3",{className:"mt-2 font-serif text-2xl",children:l.titulo})]})]})},l.id))})]})}),d.jsx("section",{className:"py-32",children:d.jsxs("div",{className:"container-editorial grid gap-16 lg:grid-cols-2 items-center",children:[d.jsx("div",{className:"relative aspect-[5/6] overflow-hidden",children:d.jsx("img",{src:t.fabricacao_imagem||Pt,alt:t.fabricacao_titulo,loading:"lazy",className:"h-full w-full object-cover"})}),d.jsxs("div",{children:[d.jsx("p",{className:"eyebrow",children:t.fabricacao_eyebrow}),d.jsx("h2",{className:"display text-4xl md:text-6xl mt-6",children:t.fabricacao_titulo}),d.jsx("p",{className:"mt-8 text-lg text-muted-foreground leading-relaxed",children:t.fabricacao_texto}),d.jsx(ne,{to:"/fabricacao",className:"mt-10 inline-flex items-center gap-2 text-sm tracking-[0.18em] uppercase border-b border-[color:var(--ink)] pb-1 hover:border-[color:var(--gold)] hover:text-[color:var(--gold)]",children:"Conheça o processo â"})]})]})}),o.length>0&&d.jsx("section",{className:"py-24 bg-[color:var(--ink)] text-[color:var(--champagne)]",children:d.jsxs("div",{className:"container-editorial",children:[d.jsx("p",{className:"eyebrow",children:t.segmentos_eyebrow}),d.jsxs("h2",{className:"display text-4xl md:text-6xl mt-6 max-w-3xl",children:[t.segmentos_titulo," ",d.jsx("span",{className:"italic text-[color:var(--gold)]",children:t.segmentos_destaque})]}),d.jsx("div",{className:"mt-16 grid gap-px bg-white/10 md:grid-cols-3",children:o.map(l=>d.jsxs("div",{className:"bg-[color:var(--ink)] p-8 hover:bg-[color:var(--forest)] transition-colors",children:[d.jsx("p",{className:"font-serif text-2xl",children:l.nome}),d.jsx("p",{className:"mt-3 text-sm opacity-70 leading-relaxed",children:l.descricao})]},l.id))})]})}),d.jsx("section",{className:"py-32",children:d.jsxs("div",{className:"container-editorial text-center max-w-3xl mx-auto",children:[d.jsx("p",{className:"eyebrow",children:t.cta_eyebrow}),d.jsx("h2",{className:"display text-4xl md:text-6xl mt-6",children:t.cta_titulo}),d.jsx("p",{className:"mt-6 text-lg text-muted-foreground",children:t.cta_texto}),d.jsxs(ne,{to:t.cta_link||"/orcamento",className:"mt-10 inline-flex items-center gap-2 btn-gold px-8 py-4 text-xs tracking-[0.22em] uppercase font-medium",children:[t.cta_label,d.jsx(Ue,{className:"h-4 w-4"})]})]})})]})}export{Fn as component};
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.