PageSourceSearch

https://absc.vercel.app/js/BF-RknKI.js

js absc.vercel.app collected 2026-10-03 06:03:19 UTC 8,959 bytes, 1 lines download raw bytes

vendor: 4,825 bytes, line 1
1import{i as ue,V as me,f as fe,g as he,h as pe,k as ne,l as se,n as de,p as ge,q as ye,t as ve,u as Ae,v as xe,w as be,x as je,S as we,H as Se,y as R,z as Ve,A as Ee,C as _e,D as De,r as U,j as o,b as F,s as Ne,d as P,e as ie}from"./index.CF3o8iR6.js";const Me=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t};function re(t,e){return ue(t)?t[Me(0,t.length,e)]:t}class Oe{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,n){for(let s=0;s<this.animations.length;s++)this.animations[s][e]=n}attachTimeline(e){const n=this.animations.map(s=>s.attachTimeline(e));return()=>{n.forEach((s,i)=>{s&&s(),this.animations[i].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 Z(this.animations,"duration")}get iterationDuration(){return Z(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Z(t,e){let n=0;for(let s=0;s<t.length;s++){const i=t[s][e];i!==null&&i>n&&(n=i)}return n}class Ie extends Oe{then(e,n){return this.finished.finally(e).then(()=>{})}}function Te(t,e){return t in e}class Ce extends me{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,n){if(Te(n,e)){const s=e[n];if(typeof s=="string"||typeof s=="number")return s}}getBaseTargetFromProps(){}removeValueFromRenderState(e,n){delete n.output[e]}measureInstanceViewportBox(){return fe()}build(e,n){Object.assign(e.output,n)}renderInstance(e,{output:n}){Object.assign(e,n)}sortInstanceNodePosition(){return 0}}function q(t){return typeof t=="object"&&!Array.isArray(t)}function ae(t,e,n,s){return t==null?[]:typeof t=="string"&&q(e)?he(t,n,s):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(i=>i!=null):[t]}function Fe(t,e,n){return t*(e+1)}function $(t,e,n,s){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):s.get(e)??t}function Ge(t,e,n){for(let s=0;s<t.length;s++){const i=t[s];i.at>e&&i.at<n&&(ne(t,i),s--)}}function Ke(t,e,n,s,i,m){Ge(t,i,m);for(let r=0;r<e.length;r++)t.push({value:e[r],at:pe(i,m,s[r]),easing:re(n,r)})}function Be(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}function Le(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const Pe="easeInOut";function Re(t,{defaultTransition:e={},...n}={},s,i){const m=e.duration||.3,r=new Map,u=new Map,l={},h=new Map;let d=0,a=0,G=0;for(let E=0;E<t.length;E++){const y=t[E];if(typeof y=="string"){h.set(y,a);continue}else if(!Array.isArray(y)){h.set(y.name,$(a,y.at,d,h));continue}let[S,v,p={}]=y;p.at!==void 0&&(a=$(a,p.at,d,h));let g=0;const _=(A,D,j,V=0,M=0)=>{const c=We(A),{delay:O=0,times:x=de(c),type:W=e.type||"keyframes",repeat:K,repeatType:it,repeatDelay:rt=0,...ce}=D;let{ease:w=e.ease||"easeOut",duration:b}=D;const H=typeof O=="function"?O(V,M):O,k=c.length,J=ve(W)?W:i?.[W||"keyframes"];if(k<=2&&J){let I=100;if(k===2&&qe(c)){const T=c[1]-c[0];I=Math.abs(T)}const B={...e,...ce};b!==void 0&&(B.duration=Ae(b));const L=ge(B,I,J);w=L.ease,b=L.duration}b??(b=m);const Q=a+H;x.length===1&&x[0]===0&&(x[1]=1);const X=x.length-c.length;if(X>0&&ye(x,X),c.length===1&&c.unshift(null),K){b=Fe(b,K);const I=[...c],B=[...x];w=Array.isArray(w)?[...w]:[w];const L=[...w];for(let T=0;T<K;T++){c.push(...I);for(let C=0;C<I.length;C++)x.push(B[C]+(T+1)),w.push(C===0?"linear":re(L,C-1))}Be(x,K)}const Y=Q+b;Ke(j,c,w,x,Q,Y),g=Math.max(H+b,g),G=Math.max(Y,G)};if(se(S)){const A=ee(S,u);_(v,p,te("default",A))}else{const A=ae(S,v,s,l),D=A.length;for(let j=0;j<D;j++){v=v,p=p;const V=A[j],M=ee(V,u);for(const c in v)_(v[c],Ue(p,c),te(c,M),j,D)}}d=a,a+=g}return u.forEach((E,y)=>{for(const S in E){const v=E[S];v.sort(Le);const p=[],g=[],_=[];for(let V=0;V<v.length;V++){const{at:M,value:c,easing:O}=v[V];p.push(c),g.push(xe(0,G,M)),_.push(O||"easeOut")}g[0]!==0&&(g.unshift(0),p.unshift(p[0]),_.unshift(Pe)),g[g.length-1]!==1&&(g.push(1),p.push(null)),r.has(y)||r.set(y,{keyframes:{},transition:{}});const A=r.get(y);A.keyframes[S]=p;const{type:D,...j}=e;A.transition[S]={...j,duration:G,ease:_,times:g,...n}}}),r}function ee(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function te(t,e){return e[t]||(e[t]=[]),e[t]}function We(t){return Array.isArray(t)?t:[t]}function Ue(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const ze=t=>typeof t=="number",qe=t=>t.every(ze);function He(t){const e={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=be(t)&&!je(t)?new we(e):new Se(e);n.mount(t),R.set(t,n)}function ke(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Ce(e);n.mount(t),R.set(t,n)}function Je(t,e){return se(t)||typeof t=="number"||typeof t=="string"&&!q(e)}function oe(t,e,n,s){const i=[];if(Je(t,e))i.push(Ve(t,q(e)&&e.default||e,n&&(n.default||n)));else{if(t==null)return i;const m=ae(t,e,s),r=m.length;for(let u=0;u<r;u++){const l=m[u],h=l instanceof Element?He:ke;R.has(l)||h(l);const d=R.get(l),a={...n};"delay"in a&&typeof a.delay=="function"&&(a.delay=a.delay(u,r)),i.push(...Ee(d,{...e,transition:a},{}))}}return i}function Qe(t,e,n){const s=[],i=t.map(r=>{if(Array.isArray(r)&&typeof r[0]=="function"){const u=r[0],l=_e(0);return l.on("change",u),r.length===1?[l,[0,1]]:r.length===2?[l,[0,1],r[1]]:[l,r[1],r[2]]}return r});return Re(i,e,n,{spring:De}).forEach(({keyframes:r,transition:u},l)=>{s.push(...oe(l,r,u))}),s}function Xe(t){return Array.isArray(t)&&t.some(Array.isArray)}function Ye(t={}){const{scope:e,reduceMotion:n}=t;function s(i,m,r){let u=[],l;if(Xe(i)){const{onComplete:d,...a}=m||{};typeof d=="function"&&(l=d),u=Qe(i,n!==void 0?{reduceMotion:n,...a}:a,e)}else{const{onComplete:d,...a}=r||{};typeof d=="function"&&(l=d),u=oe(i,m,n!==void 0?{reduceMotion:n,...a}:a,e)}const h=new Ie(u);return l&&h.finished.then(l),e&&(e.animations.push(h),h.finished.then(()=>{ne(e.animations,h)})),h}return s}const Ze=Ye(),$e="_section_t9cjw_1",et="_container_t9cjw_6",tt="_column_t9cjw_18",nt="_counter_t9cjw_35",f={section:$e,container:et,column:tt,"metric-value":"_metric-value_t9cjw_24",counter:nt,"metric-label":"_metric-label_t9cjw_39"};var st=Object.getOwnPropertyDescriptor,le=(t,e,n,s)=>{for(var i=s>1?void 0:s?st(e,n):e,m=t.length-1,r;m>=0;m--)(r=t[m])&&(i=r(i)||i);return i};let N=class extends U.Component{ref=U.createRef();observer=null;animated=!1;componentDidMount(){this.observer=new IntersectionObserver(([t])=>{t.isIntersecting&&!this.animated&&(this.animated=!0,this.startAnimation())},{threshold:.5}),this.ref.current&&this.observer.observe(this.ref.current)}componentWillUnmount(){this.observer?.disconnect()}startAnimation(){const{value:t,decimals:e=0,useComma:n=!1}=this.props,s=new Intl.NumberFormat("en-US",{minimumFractionDigits:e,maximumFractionDigits:e,useGrouping:n});Ze(0,t,{type:"spring",bounce:0,duration:2.5,stiffness:50,damping:25,onUpdate:i=>{this.ref.current&&(this.ref.current.textContent=s.format(i))}})}render(){return o.jsx("span",{className:f.counter,ref:this.ref,children:"0"})}};N=le([ie],N);let z=class extends U.Component{render(){return o.jsx("section",{className:f.section,children:o.jsxs(F.div,{className:f.container,id:"metrics",variants:Ne,children:[o.jsxs(F.div,{variants:P,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.35},className:f.column,children:[o.jsxs("strong",{className:f["metric-value"],children:[o.jsx(N,{value:50}),"+"]}),o.jsx("span",{className:f["metric-label"],children:"Реализованных проектов"})]}),o.jsxs(F.div,{variants:P,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.35},className:f.column,children:[o.jsxs("strong",{className:f["metric-value"],children:[o.jsx(N,{value:120}),"+"]}),o.jsx("span",{className:f["metric-label"],children:"Медицинских организаций"})]}),o.jsxs(F.div,{variants:P,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.35},className:f.column,children:[o.jsxs("strong",{className:f["metric-value"],children:[o.jsx(N,{value:1}),"млн+"]}),o.jsx("span",{className:f["metric-label"],children:"Пользователей платформ"})]}),o.jsxs(F.div,{variants:P,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.35},className:f.column,children:[o.jsxs("strong",{className:f["metric-value"],children:[o.jsx(N,{value:99.9,decimals:1}),"%"]}),o.jsx("span",{className:f["metric-label"],children:"Доступность сервисов"})]})]})})}};z=le([ie],z);const ot=z;export{ot as default};

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.