1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,11241,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],11241)},88653,e=>{"use strict";e.i(47167);var t=e.i(43476),a=e.i(71645),n=e.i(31178),r=e.i(47414),s=e.i(74008),i=e.i(21476),o=e.i(72846),l=a,u=e.i(37806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class m extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,a=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,r=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=a-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:r,anchorY:s,root:i,pop:o}){let p=(0,l.useId)(),f=(0,l.useRef)(null),h=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,l.useContext)(u.MotionConfigContext),y=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,n=e.map(e=>{let n=c(e,t);return a||"function"!=typeof n||(a=!0),n});if(a)return()=>{for(let t=0;t<n.length;t++){let a=n[t];"function"==typeof a?a():c(e[t],null)}}}}(...e),e)}(f,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:a,left:l,right:u,bottom:c,direction:m}=h.current;if(n||!1===o||!f.current||!e||!t)return;let d="rtl"===m,y="left"===r?d?`right: ${u}`:`left: ${l}`:d?`left: ${l}`:`right: ${u}`,x="bottom"===s?`bottom: ${c}`:`top: ${a}`;f.current.dataset.motionPopId=p;let v=document.createElement("style");g&&(v.nonce=g);let b=i??document.head;return b.appendChild(v),v.sheet&&v.sheet.insertRule(` 2 [data-motion-pop-id="${p}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${y}px !important; 7 ${x}px !important; 8 } 9 `),()=>{f.current?.removeAttribute("data-motion-pop-id"),b.contains(v)&&b.removeChild(v)}},[n]),(0,t.jsx)(m,{isPresent:n,childRef:f,sizeRef:h,pop:o,children:!1===o?e:l.cloneElement(e,{ref:y})})}let p=({children:e,initial:n,isPresent:o,onExitComplete:l,custom:u,presenceAffectsLayout:c,mode:m,anchorX:p,anchorY:h,root:g})=>{let y=(0,r.useConstant)(f),x=(0,a.useId)(),v=(0,a.useRef)(o),b=(0,a.useRef)(l);(0,s.useIsomorphicLayoutEffect)(()=>{v.current=o,b.current=l});let j=!0,E=(0,a.useMemo)(()=>(j=!1,{id:x,initial:n,isPresent:o,custom:u,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;l&&l()},register:e=>(y.set(e,!1),()=>{y.delete(e),v.current||y.size||b.current?.()})}),[o,y,l]);return c&&j&&(E={...E}),(0,a.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[o]),a.useEffect(()=>{o||y.size||!l||l()},[o]),e=(0,t.jsx)(d,{pop:"popLayout"===m,isPresent:o,anchorX:p,anchorY:h,root:g,children:e}),(0,t.jsx)(i.PresenceContext.Provider,{value:E,children:e})};function f(){return new Map}var h=e.i(64978);let g=e=>e.key||"";function y(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:i,initial:o=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:m=!1,anchorX:d="left",anchorY:f="top",root:x})=>{let[v,b]=(0,h.usePresence)(m),j=(0,a.useMemo)(()=>y(e),[e]),E=m&&!v?[]:j.map(g),w=(0,a.useRef)(!0),A=(0,a.useRef)(j),N=(0,r.useConstant)(()=>new Map),S=(0,a.useRef)(new Set),[P,k]=(0,a.useState)(j),[C,M]=(0,a.useState)(j);(0,s.useIsomorphicLayoutEffect)(()=>{w.current=!1,A.current=j;for(let e=0;e<C.length;e++){let t=g(C[e]);E.includes(t)?(N.delete(t),S.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[C,E.length,E.join("-")]);let $=[];if(j!==P){let e=[...j];for(let t=0;t<C.length;t++){let a=C[t],n=g(a);E.includes(n)||(e.splice(t,0,a),$.push(a))}return"wait"===c&&$.length&&(e=$),M(y(e)),k(j),null}let{forceRender:q}=(0,a.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:C.map(e=>{let a=g(e),n=(!m||!!v)&&(j===C||E.includes(a));return(0,t.jsx)(p,{isPresent:n,initial:(!w.current||!!o)&&void 0,custom:i,presenceAffectsLayout:u,mode:c,root:x,onExitComplete:n?void 0:()=>
9{if(S.current.has(a)||!N.has(a))return;S.current.add(a),N.set(a,!0);let e=!0;N.forEach(t=>{t||(e=!1)}),e&&(q?.(),M(A.current),m&&b?.(),l&&l())},anchorX:d,anchorY:f,children:e},a)})})}],88653)},68877,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],68877)},89664,e=>{"use strict";let t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],89664)},25919,e=>{"use strict";let t="d5757ea2-e8a3-45c3-9aab-bda63e556c88";e.s(["WEB3FORMS_ACCESS_KEY",0,t,"WEB3FORMS_ENDPOINT",0,"https://api.web3forms.com/submit","web3formsReady",0,()=>/^[0-9a-f-]{20,}$/i.test(t)])},85868,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(68877);let r=(0,e.i(56420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);var s=e.i(25919);let i="[email protected]",o="w-full rounded-full border border-white/10 bg-white/5 px-5 py-3.5 text-sm text-cream placeholder:text-mist transition-colors focus:border-lime focus:outline-none",l={pt:"Nome completo",en:"Full name"},u={pt:"E-mail",en:"Email"},c={pt:"Telefone / Telemóvel",en:"Phone"},m={pt:"Nome da empresa",en:"Company name"},d={pt:"Ãrea de atuação",en:"Industry"},p={pt:"PaÃs / Cidade",en:"Country / City"},f={pt:"Tipo de serviço",en:"Service type"},h={pt:"Texto / observações e requisitos do projeto",en:"Message, project details and requirements"},g={pt:"Enviar Pedido",en:"Send Request"},y={pt:"A enviarâ¦",en:"Sendingâ¦"},x={pt:"Enviar",en:"Send"},v={pt:"Pedido enviado! Entraremos em contacto em breve.",en:"Request sent! We'll get back to you shortly."},b={pt:"Não foi possÃvel enviar. Tente novamente ou escreva para",en:"Couldn't send. Please try again or write to"},j={pt:"Pedido de orçamento",en:"Quote request"},E={pt:{name:"Nome",email:"Email",phone:"Telefone",company:"Empresa",area:"Ãrea de atuação",local:"PaÃs / Cidade",service:"Tipo de serviço",notes:"Observações / requisitos:"},en:{name:"Name",email:"Email",phone:"Phone",company:"Company",area:"Industry",local:"Country / City",service:"Service type",notes:"Notes / requirements:"}},w={pt:["Website","Loja Online (E-commerce)","Design & Branding","SEO & Performance","Aplicação Web ou Móvel","Outro"],en:["Website","Online Store (E-commerce)","Design & Branding","SEO & Performance","Web or Mobile App","Other"]};e.s(["BudgetForm",0,function({lockedService:e,lang:A="pt"}){let[N,S]=(0,a.useState)("idle"),P=E[A];async function k(e){e.preventDefault();let t=e.currentTarget,a=new FormData(t),n=e=>String(a.get(e)||"");if(!(0,s.web3formsReady)()){let e,t;e=`${j[A]}${n("nome")?` â ${n("nome")}`:""}`,t=[`${P.name}: ${n("nome")}`,`${P.email}: ${n("email")}`,`${P.phone}: ${n("telefone")}`,`${P.company}: ${n("empresa")}`,`${P.area}: ${n("area")}`,`${P.local}: ${n("local")}`,`${P.service}: ${n("servico")}`,"",P.notes,n("observacoes")].join("\n"),window.location.href=`mailto:${i}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(t)}`,S("ok");return}S("sending");let r=new FormData;r.append("access_key",s.WEB3FORMS_ACCESS_KEY),r.append("from_name","EMP Designs â Orçamento"),r.append("subject",`${j[A]}${n("nome")?` â ${n("nome")}`:""}`),r.append("replyto",n("email")),r.append(P.name,n("nome")),r.append(P.email,n("email")),r.append(P.phone,n("telefone")),r.append(P.company,n("empresa")),r.append(P.area,n("area")),r.append(P.local,n("local")),r.append(P.service,n("servico")),r.append(P.notes,n("observacoes")),r.append("botcheck",n("botcheck"));try{let e=await fetch(s.WEB3FORMS_ENDPOINT,{method:"POST",body:r});(await e.json()).success?(S("ok"),t.reset()):S("error")}catch{S("error")}}return(0,t.jsxs)("form",{onSubmit:k,className:"space-y-3",children:[(0,t.jsx)("input",{type:"checkbox",name:"botcheck",className:"hidden",style:{display:"none"},tabIndex:-1,autoComplete:"off","aria-hidden":!0}),(0,t.jsx)("input",{name:"nome",placeholder:l[A],required:!0,className:o}),(0,t.jsx)("input",{name:"email",type:"email",placeholder:u[A],required:!0,className:o}),(0,t.jsx)("input",{name:"telefone",type:"tel",placeholder:c[A],className:o}),(0,t.jsx)("input",{name:"empresa",placeholder:m[A],className:o}),(0,t.jsx)("input",{name:"area",placeholder:d[A],className:o}),(0,t.jsx)("input",{name:"local",placeholder:p[A],className:o}),e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"hidden",name:"servico",value:e}),(0,t.jsxs)("div",{"aria-label":f[A],className:`${o} flex cursor-not-allowed items-center justify-between !border-lime/40`,children:[(0,t.jsx)("span",{className:"text-cream",children:e}),(0,t.jsx)(r,{className:"size-4 shrink-0 text-lime"})]})]}):(0,t.jsxs)("select",{name:"servico",defaultValue:"",required:!0,className:`${o} appearance-none [&>option]:bg-cream [&>option]:text-ink`,children:[(0,t.jsx)("option",{value:"",disabled:!0,children:f[A]}),w[A].map(e=>(0,t.jsx)("option",{children:e},e))]}),(0,t.jsx)("textarea",{name:"observacoes",rows:4,placeholder:h[A],required:!0,className:"w-full resize-none rounded-2xl border border-white/10 bg-white/5 px-5 py-3.5 text-sm text-cream placeholder:text-mist transition-colors focus:border-lime focus:outline-none"}),(0,t.jsxs)("div",{className:"flex items-center gap-3 pt-2",children:[(0,t.jsx)("button",{type:"submit",disabled:"sending"===N,className:"inline-flex items-center gap-2 rounded-full bg-lime px-6 py-3 text-sm font-bold uppercase tracking-wide text-ink transition-transform hover:scale-105 disabled:cursor-not-allowed disabled:opacity-60",children:"sending"===N?y[A]:g[A]}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===N,"aria-label":x[A],className:"grid size-11 shrink-0 place-items-center rounded-full bg-lime text-ink transition-transform hover:scale-105 disabled:cursor-not-allowed disabled:opacity-60",children:(0,t.jsx)(n.ArrowRight,{className:"size-5"})})]}),"ok"===N&&(0,t.jsx)("p",{className:"text-sm font-medium text-lime",children:v[A]}),"error"===N&&(0,t.jsxs)("p",{className:"text-sm text-moss",children:[b[A]," ",(0,t.jsx)("a",{href:`mailto:${i}`,className:"text-lime underline",children:i}),"."]})]})}],85868)},50262,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.s(["HeroVideo",0,function({src:e,poster:n,ariaLabel:r}){let s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=s.current;e&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(e.removeAttribute("autoplay"),e.pause(),e.currentTime=0)},[]),(0,t.jsx)("video",{ref:s,className:"h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInl
9ine:!0,preload:"auto",poster:n,width:1376,height:768,"aria-label":r,children:(0,t.jsx)("source",{src:e,type:"video/mp4"})})}])},87652,e=>{"use strict";var t=e.i(71645),a=e.i(49652);let n={some:0,all:1};e.s(["useInView",0,function(e,{root:r,margin:s,amount:i,once:o=!1,initial:l=!1}={}){let[u,c]=(0,t.useState)(l);return(0,t.useEffect)(()=>{if(!e.current||o&&u)return;let t={root:r&&r.current||void 0,margin:s,amount:i};return function(e,t,{root:r,margin:s,amount:i="some"}={}){let o=(0,a.resolveElements)(e),l=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let a=l.get(e.target);if(!!a!==e.isIntersecting)if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?l.set(e.target,a):u.unobserve(e.target)}else"function"==typeof a&&(a(e),l.delete(e.target))})},{root:r,rootMargin:s,threshold:"number"==typeof i?i:n[i]});return o.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(c(!0),o?void 0:()=>c(!1)),t)},[r,e,s,o,i]),u}],87652)},22334,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(88653),r=e.i(32181);let s=(0,e.i(56420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),i=[{q:"Preciso de ter empresa ou atividade aberta para vender online?",a:"Para vender de forma legal em Portugal precisa de ter atividade aberta nas Finanças (como empresário em nome individual ou empresa) e emitir fatura. Ajudamo-lo a preparar a loja para cumprir estes requisitos, incluindo a integração de faturação certificada."},{q:"Que métodos de pagamento posso oferecer aos meus clientes?",a:"Integramos os métodos mais usados em Portugal: MB Way, Multibanco (referência), cartão de crédito/débito e ainda PayPal ou transferência. Quantos mais métodos de confiança, maior a taxa de conversão."},{q:"Quanto tempo demora a criar a loja online?",a:"Como é desenvolvida de raiz, uma loja Essencial fica normalmente pronta em 2 a 3 semanas. Projetos Profissionais ou com integrações à medida podem levar de 6 a 10 semanas, dependendo do número de produtos e da complexidade."},{q:"Usam WooCommerce, Shopify ou algum construtor de sites?",a:"Não. Programamos a sua loja de raiz, com código próprio. Isso traduz-se em mais desempenho, sem comissões por venda, personalização ilimitada e propriedade total, a loja é 100% sua, sem dependência de plataformas nem templates."},{q:"Porquê uma loja feita de raiz e não uma loja grátis ou de template?",a:"As lojas grátis e os templates partilhados servem para testar uma ideia, mas têm limites sérios: comissões por venda, SEO fraco, código pesado e pouca personalização. Uma loja feita de raiz é mais rápida, única, sem barreiras de crescimento e realmente sua, compensando o investimento a médio prazo."},{q:"Quanto custa manter a loja depois de criada?",a:"Como a loja é feita de raiz, não paga mensalidades de plataforma nem comissões por venda. Os únicos custos recorrentes são o alojamento e o domÃnio (a partir de ~25â¬/mês no nosso plano de manutenção) e, opcionalmente, um plano de manutenção para manter tudo seguro, rápido e atualizado."}];e.s(["Faq",0,function({items:e=i,title:o="Dúvidas sobre criar loja online?",lang:l="pt"}){let[u,c]=(0,a.useState)(0);return(0,t.jsx)("section",{id:"faq",className:"relative bg-ink px-5 py-24 sm:px-8 sm:py-32",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("span",{className:"text-xs font-bold uppercase tracking-[0.3em] text-lime",children:"en"===l?"// Frequently asked questions":"// Perguntas frequentes"}),(0,t.jsx)("h2",{className:"mt-4 font-display text-4xl uppercase leading-[0.95] tracking-tight text-cream sm:text-5xl",children:o})]}),(0,t.jsx)("div",{className:"mt-12 flex flex-col gap-3",children:e.map((e,a)=>{let i=u===a;return(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-white/10 bg-teal/40",children:[(0,t.jsxs)("button",{onClick:()=>c(i?null:a),className:"flex w-full items-center justify-between gap-4 px-6 py-5 text-left","aria-expanded":i,children:[(0,t.jsx)("span",{className:"text-base font-bold text-cream",children:e.q}),(0,t.jsx)(r.motion.span,{animate:{rotate:45*!!i},transition:{duration:.25},className:"grid size-8 shrink-0 place-items-center rounded-full bg-lime text-ink",children:(0,t.jsx)(s,{className:"size-4"})})]}),(0,t.jsx)(n.AnimatePresence,{initial:!1,children:i&&(0,t.jsx)(r.motion.div,{initial:{height:0,opacity:0}
9,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},children:(0,t.jsx)("p",{className:"px-6 pb-6 text-sm leading-relaxed text-mist",children:e.a})})})]},e.q)})})]})})}],22334)},49492,e=>{"use strict";class t{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let a=0;a<this.animations.length;a++)this.animations[a][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return a(this.animations,"duration")}get iterationDuration(){return a(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(e,t){let a=0;for(let n=0;n<e.length;n++){let r=e[n][t];null!==r&&r>a&&(a=r)}return a}class n extends t{then(e,t){return this.finished.finally(e).then(()=>{})}}var r=e.i(33887),s=e.i(86427),i=e.i(28409),o=e.i(83411),l=e.i(15923),u=e.i(97307),c=e.i(21748),m=e.i(15932),d=e.i(83920),p=e.i(63074),f=e.i(65566),h=e.i(30151),g=e.i(93544);function y(e,t){var a;let n;return(0,g.isEasingArray)(e)?e[a=e.length,((t-0)%(n=a-0)+n)%n+0]:e}var x=e.i(49652);function v(e){return"object"==typeof e&&!Array.isArray(e)}function b(e,t,a,n){return null==e?[]:"string"==typeof e&&v(t)?(0,x.resolveElements)(e,a,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function j(e,t,a,n){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?a:t.startsWith("<")?Math.max(0,a+parseFloat(t.slice(1))):n.get(t)??e}var E=e.i(706);function w(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function A(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function N(e,t){return t[e]||(t[e]=[]),t[e]}let S=e=>"number"==typeof e,P=e=>e.every(S);var k=e.i(68705),C=e.i(72094),M=e.i(72323),$=e.i(89026),q=e.i(36331),O=e.i(75737),R=e.i(86783),T=e.i(30162),I=e.i(17218);class z extends I.VisualElement{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let a=e[t];if("string"==typeof a||"number"==typeof a)return a}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,T.createBox)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function V(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},a=(0,$.isSVGElement)(e)&&!(0,q.isSVGSVGElement)(e)?new O.SVGVisualElement(t):new R.HTMLVisualElement(t);a.mount(e),C.visualElementStore.set(e,a)}function F(e){let t=new z({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),C.visualElementStore.set(e,t)}function W(e,t,a,n){let r=[];if((0,o.isMotionValue)(e)||"number"==typeof e||"string"==typeof e&&!v(t))r.push((0,k.animateSingleValue)(e,v(t)&&t.default||t,a&&a.default||a));else{if(null==e)return r;let s=b(e,t,n),i=s.length;(0,f.invariant)(!!i,"No valid elements provided.","no-valid-elements");for(let e=0;e<i;e++){let n=s[e],o=n instanceof Element?V:F;C.visualElementStore.has(n)||o(n);let l=C.visualElementStore.get(n),u={...a};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,i)),r.push(...(0,M.animateTarget)(l,{...t,transition:u},{}))}}return r}let B=function(e={}){let{scope:t,reduceMotion:a,skipAnimations:g}=e;return function(e,x,v){var S;let k,C=[],M={};if(void 0!==a&&(M.reduceMotion=a),void 0!==g&&(M.skipAnimations=g),Array.isArray(e)&&e.some(Array.isArray)){let a,{onComplete:n,...g}=x||{};"function"==typeof n&&(k=n),S={...M,...g},a=[],(function(e,{defaultTransition:t={},...a}={},n,s){let i=t.duration||.3,g=new Map,x=new Map,v={},S=new Map,k=0,C=0,M=0;for(let a=0;a<e.length;a++){let d=e[a];if("string"==typeof d){S.set(d,C);continue}if(!Array.isArray(d)){S.set(d.name,j(C,d.at,k,S));continue}let[g,w,O={}]=d;void 0!==O.at&&(C=j(C,O.at,k,S));let R=0,T=(e,a,n,o=0,d=0)=>{var g;let x=Array.isArray(g=e)?g:[g],{delay:v=0,times:b=(0,l.defaultOffset)(x),type:j=t.type||"ke
9yframes",repeat:w,repeatType:A,repeatDelay:N=0,...S}=a,{ease:k=t.ease||"easeOut",duration:$}=a,q="function"==typeof v?v(o,d):v,O=x.length,T=(0,u.isGenerator)(j)?j:s?.[j||"keyframes"];if(O<=2&&T){let e=100;2===O&&P(x)&&(e=Math.abs(x[1]-x[0]));let a={...t,...S};void 0!==$&&(a.duration=(0,p.secondsToMilliseconds)($));let n=(0,c.createGeneratorEasing)(a,e,T);k=n.ease,$=n.duration}$??($=i);let I=C+q;1===b.length&&0===b[0]&&(b[1]=1);let z=b.length-x.length;if(z>0&&(0,m.fillOffset)(b,z),1===x.length&&x.unshift(null),w&&(0,f.warning)(w<20,`Sequence segments can't repeat ${w} times â ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),w&&w<20){let e=$>0?N/$:0;$=$*(w+1)+N*w;let t=[...x],a=[...b],n=[...k=Array.isArray(k)?[...k]:[k]],r="reverse"===A||"mirror"===A,s=t,i=n;r&&(s=[...t].reverse(),"reverse"===A&&(i=[...n].reverse().map(e=>"function"==typeof e?(0,h.reverseEasing)(e):e)));for(let o=0;o<w;o++){let l=r&&o%2==0,u=l?s:t,c=l?i:n,m=(o+1)*(1+e);e>0&&(x.push(x[x.length-1]),b.push(m),k.push("linear")),x.push(...u);for(let e=0;e<u.length;e++)b.push(a[e]+m),k.push(0===e?"linear":y(c,e-1))}!function(e,t,a=0){let n=t+1+t*a;for(let t=0;t<e.length;t++)e[t]=e[t]/n}(b,w,e)}let V=I+$;!function(e,t,a,n,s,i){for(let t=0;t<e.length;t++){let a=e[t];a.at>s&&a.at<i&&((0,r.removeItem)(e,a),t--)}for(let r=0;r<t.length;r++)e.push({value:t[r],at:(0,E.mixNumber)(s,i,n[r]),easing:y(a,r)})}(n,x,k,b,I,V),R=Math.max(q+$,R),M=Math.max(V,M)};if((0,o.isMotionValue)(g))T(w,O,N("default",A(g,x)));else{let e=b(g,w,n,v),t=e.length;for(let a=0;a<t;a++){let n=A(e[a],x);for(let e in w){var $,q;T(w[e],($=O,q=e,$&&$[q]?{...$,...$[q]}:{...$}),N(e,n),a,t)}}}k=C,C+=R}return x.forEach((e,n)=>{for(let r in e){let s=e[r];s.sort(w);let i=[],o=[],l=[];for(let e=0;e<s.length;e++){let{at:t,value:a,easing:n}=s[e];i.push(a),o.push((0,d.progress)(0,M,t)),l.push(n||"easeOut")}0!==o[0]&&(o.unshift(0),i.unshift(i[0]),l.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),i.push(null)),g.has(n)||g.set(n,{keyframes:{},transition:{}});let u=g.get(n);u.keyframes[r]=i;let{type:c,...m}=t;u.transition[r]={...m,duration:M,ease:l,times:o,...a}}}),g})(e.map(e=>{if(Array.isArray(e)&&"function"==typeof e[0]){let t=e[0],a=(0,s.motionValue)(0);return(a.on("change",t),1===e.length)?[a,[0,1]]:2===e.length?[a,[0,1],e[1]]:[a,e[1],e[2]]}return e}),S,t,{spring:i.spring}).forEach(({keyframes:e,transition:t},n)=>{a.push(...W(n,e,t))}),C=a}else{let{onComplete:a,...n}=v||{};"function"==typeof a&&(k=a),C=W(e,x,{...M,...n},t)}let $=new n(C);return k&&$.finished.then(k),t&&(t.animations.push($),$.finished.then(()=>{(0,r.removeItem)(t.animations,$)})),$}}();e.s(["animate",0,B],49492)}]);
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.