PageSourceSearch

https://transilvaniamarketing.ro/_astro/contact.astro_astro_type_script_index_0_lang.cT26HjDt.js

js transilvaniamarketing.ro collected 2026-09-28 06:11:20 UTC 5,679 bytes, 1 lines download raw bytes

1(function(){var r=document.getElementById("qBudget"),t=document.getElementById("qRoas");if(!r||!t)return;var i=document.getElementById("qBudgetV"),s=document.getElementById("qRoasV"),a=document.getElementById("qEst"),n=new Intl.NumberFormat("ro-RO");function o(c){var d=(c.value-c.min)/(c.max-c.min)*100;c.style.setProperty("--fill",d+"%")}function e(){o(r),o(t),i.textContent=n.format(+r.value)+" €",s.textContent=+t.value+"×",a.textContent="≈ "+n.format(Math.round(r.value*t.value))+" € vânzări"}r.addEventListener("input",e),t.addEventListener("input",e),e()})();function m(r){if(r.dataset.done==="1")return;r.dataset.done="1";const t=parseFloat(r.dataset.to),i=parseInt(r.dataset.dec||"0",10),s=r.dataset.suffix||"",a=r.dataset.prefix||"",n=1500,o=performance.now(),e=l=>1-Math.pow(1-l,3),c=l=>a+(i?l.toFixed(i):Math.round(l).toLocaleString("ro-RO"))+s;function d(l){const u=Math.max(0,Math.min(1,(l-o)/n));r.textContent=c(t*e(u)),u<1?requestAnimationFrame(d):r.textContent=c(t)}requestAnimationFrame(d),setTimeout(()=>{r.textContent=c(t)},n+250)}(function(){const t=Array.from(document.querySelectorAll(".reveal")),i=Array.from(document.querySelectorAll(".num-anim"));if(!("IntersectionObserver"in window)){t.forEach(n=>n.classList.add("in")),i.forEach(n=>m(n));return}const s=new IntersectionObserver(n=>{n.forEach(o=>{if(!o.isIntersecting)return;const e=o.target;e.classList.contains("reveal")&&e.classList.add("in"),e.classList.contains("num-anim")&&m(e),s.unobserve(e)})},{threshold:.2,rootMargin:"0px 0px -40px 0px"});t.forEach(n=>
1s.observe(n)),i.forEach(n=>s.observe(n));const a=()=>{const n=window.innerHeight||document.documentElement.clientHeight;t.forEach(o=>{const e=o.getBoundingClientRect();e.top<n&&e.bottom>0&&o.classList.add("in")}),i.forEach(o=>{if(o.dataset.done==="1")return;const e=o.getBoundingClientRect();e.top<n+60&&e.bottom>0&&m(o)})};a(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),setTimeout(()=>t.forEach(n=>n.classList.add("in")),2500),setTimeout(()=>{document.querySelectorAll(".overview .num-anim").forEach(n=>{n.dataset.done!=="1"&&m(n)})},450)})();(function(){const t=document.getElementById("ordersList");if(!t)return;let i=48211;const s=[127,89,214,163,76,198,142,95,254,118],a=["Cluj","Sibiu","București","Brașov","Timișoara","Iași","Oradea"];let n=0;function o(e,c){const d=document.createElement("div");return d.className="order-row",d.innerHTML='<span class="ok">✓</span><span class="oid">#'+i+" · "+a[Math.floor(Math.random()*a.length)]+'</span><span class="oamt">€'+e+".00</span>",i--,d}for(let e=0;e<4;e++)t.appendChild(o(s[n++%s.length]));setInterval(()=>{const e=o(s[n++%s.length]);for(t.insertBefore(e,t.firstChild);t.children.length>5;)t.removeChild(t.lastChild)},3600)})();(function(){const t=Array.from(document.querySelectorAll(".stage"));if(!t.length)return;t.forEach(n=>{const o=n.querySelector(".stage-rail");if(o&&!o.querySelector(".rail-fill")){const e=document.createElement("div");e.className="rail-fill",o.appendChild(e)}});let i=!1;function s(){i=!1;const o=(window.innerHeight||document.documentElement.clientHeight)*.42;t.forEach(e=>{const c=e.querySelector(".stage-rail"),d=e.querySelector(".rail-fill"),l=e.getBoundingClientRect();if(!c||!d)return;const u=c.getBoundingClientRect().height;let f=(o-l.top)/l.height;f=Math.max(0,Math.min(1,f)),d.style.height=f*u+"px";const h=l.top<o&&l.bottom>o;e.classList.toggle("active",h),e.classList.toggle("passed",l.bottom<=o)})}function a(){i||(i=!0,requestAnimationFrame(s))}window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),s()})();(function(){const t=document.querySelector(".chart-line"),i=document.querySelector(".growth");if(!t||!i)return;let s=0;try{s=t.getTotalLength()}catch{s=900}t.style.strokeDasharray=s,t.style.strokeDashoffset=s;const a=()=>{t.style.strokeDashoffset="0",i.classList.add("in")};if(!("IntersectionObserver"in window)){a();return}const n=new IntersectionObserver(e=>{e.forEach(c=>{c.isIntersecting&&(a(),n.disconnect())})},{threshold:.35});n.observe(i);const o=i.getBoundingClientRect();o.top<(window.innerHeight||800)&&o.bottom>0&&(a(),n.disconnect()),setTimeout(a,3e3)})();(function(){window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||window.matchMedia&&window.matchMedia("(pointer: coarse)").matches||document.querySelectorAll(".btn-primary").forEach(t=>{t.addEventListener("mousemove",i=>{const s=t.getBoundingClientRect(),a=i.clientX-s.left-s.width/2,n=i.clientY-s.top-s.height/2;t.style.transform="translate("+a*.18+"px,"+n*.28+"px)"}),t.addEventListener("mouseleave",()=>{t.style.transform=""})})})();(function(){document.querySelectorAll(".bcard").forEach(function(r){r.addEventListener("mousemove",function(t){var i=r.getBoundingClientRect();r.style.setProperty("--mx",t.clientX-i.left+"px"),r.style.setProperty("--my",t.clientY-i.top+"px")})})})();(function(){var r=document.getElementById("dcList");if(!r)return;var t=r.querySelectorAll(".dc-item"),i=document.getElementById("dcNum"),s=document.getElementById("dcMsg"),a=document.getElementById("dcFoot");function n(e){return e===0?"Bifează ce te doare — îți spunem pe loc cât de tare te frânează.":e<=2?"Câteva fricțiuni mici — se rezolvă rapid la un rebuild.":e<=4?"<b>Pierzi vânzări lună de lună.</b> Un magazin nou se amortizează rapid.":"<b>Magazinul te frânează serios.</b> Hai să-l reconstruim de la zero."}function o(){var e=r.querySelectorAll(".dc-item.on").length;i.textContent=e,s.innerHTML=n(e),a.classList.toggle("hot",e>=3)}t.forEach(function(e){e.addEventListener("click",function(){e.classList.toggle("on"),o()})})})();

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.