PageSourceSearch

https://auf2.go.ke/assets/animations-Cp8pQyQb.js

js auf2.go.ke collected 2026-10-07 03:26:30 UTC 9,910 bytes, 2 lines download raw bytes

vendor: 6,527 bytes, line 1
1import{r as t,t as n,u as e,a as r,i as o,w as s,o as a,s as i,g as u}from"./vendor-DZ94mGlV.js";function c(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}const l=(t,n,e)=>Math.min(Math.max(e,t),n),p=.001;function f({duration:t=800,bounce:n=.25,velocity:e=0,mass:r=1}){let o,s,a=1-n;a=l(.05,1,a),t=l(.01,10,t/1e3),a<1?(o=n=>{const r=n*a,o=r*t,s=r-e,i=d(n,a),u=Math.exp(-o);return p-s/i*u},s=n=>{const r=n*a*t,s=r*e+e,i=Math.pow(a,2)*Math.pow(n,2)*t,u=Math.exp(-r),c=d(Math.pow(n,2),a);return(-o(n)+p>0?-1:1)*((s-i)*u)/c}):(o=n=>Math.exp(-n*t)*((n-e)*t+1)-.001,s=n=>Math.exp(-n*t)*(t*t*(e-n)));const i=function(t,n,e){let r=e;for(let o=1;o<h;o++)r-=t(r)/n(r);return r}(o,s,5/t);if(t*=1e3,isNaN(i))return{stiffness:100,damping:10,duration:t};{const n=Math.pow(i,2)*r;return{stiffness:n,damping:2*a*Math.sqrt(r*n),duration:t}}}const h=12;function d(t,n){return t*Math.sqrt(1-n*n)}const m=["duration","bounce"],y=["stiffness","damping","mass"];function v(t,n){return n.some(n=>void 0!==t[n])}function g(t){var{from:n=0,to:e=1,restSpeed:r=2,restDelta:o}=t,s=c(t,["from","to","restSpeed","restDelta"]);const a={done:!1,value:n};let{stiffness:i,damping:u,mass:l,velocity:p,duration:h,isResolvedFromDuration:g}=function(t){let n=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!v(t,y)&&v(t,m)){const e=f(t);n=Object.assign(Object.assign(Object.assign({},n),e),{velocity:0,mass:1}),n.isResolvedFromDuration=!0}return n}(s),b=M,O=M;function x(){const t=p?-p/1e3:0,r=e-n,s=u/(2*Math.sqrt(i*l)),a=Math.sqrt(i/l)/1e3;if(void 0===o&&(o=Math.min(Math.abs(e-n)/100,.4)),s<1){const n=d(a,s);b=o=>{const i=Math.exp(-s*a*o);return e-i*((t+s*a*r)/n*Math.sin(n*o)+r*Math.cos(n*o))},O=e=>{const o=Math.exp(-s*a*e);return s*a*o*(Math.sin(n*e)*(t+s*a*r)/n+r*Math.cos(n*e))-o*(Math.cos(n*e)*(t+s*a*r)-n*r*Math.sin(n*e))}}else if(1===s)b=n=>e-Math.exp(-a*n)*(r+(t+a*r)*n);else{const n=a*Math.sqrt(s*s-1);b=o=>{const i=Math.exp(-s*a*o),u=Math.min(n*o,300);return e-i*((t+s*a*r)*Math.sinh(u)+n*r*Math.cosh(u))/n}}}return x(),{next:t=>{const n=b(t);if(g)a.done=t>=h;else{const s=1e3*O(t),i=Math.abs(s)<=r,u=Math.abs(e-n)<=o;a.done=i&&u}return a.value=a.done?e:n,a},flipTarget:()=>{p=-p,[n,e]=[e,n],x()}}}g.needsInterpolation=(t,n)=>"string"==typeof t||"string"==typeof n;const M=t=>0,b=(t,n,e)=>{const r=n-t;return 0===r?1:(e-t)/r},O=(t,n,e)=>-e*t+e*n+t;function x(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(n-t)*e:e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function w({hue:t,saturation:n,lightness:e,alpha:r}){t/=360,e/=100;let o=0,s=0,a=0;if(n/=100){const r=e<.5?e*(1+n):e+n-e*n,i=2*e-r;o=x(i,r,t+1/3),s=x(i,r,t),a=x(i,r,t-1/3)}else o=s=a=e;return{red:Math.round(255*o),green:Math.round(255*s),blue:Math.round(255*a),alpha:r}}const j=(t,n,e)=>{const r=t*t,o=n*n;return Math.sqrt(Math.max(0,e*(o-r)+r))},S=[e,n,t],A=t=>S.find(n=>n.test(t)),D=(e,r)=>{let o=A(e),s=A(r),a=o.parse(e),i=s.parse(r);o===t&&(a=w(a),o=n),s===t&&(i=w(i),s=n);const u=Object.assign({},a);return t=>{for(const n in u)"alpha"!==n&&(u[n]=j(a[n],i[n],t));return u.alpha=O(a.alpha,i.alpha,t),o.transform(u)}},R=t=>"number"==typeof t,T=(t,n)=>e=>n(t(e)),q=(...t)=>t.reduce(T);function P(t,n){return R(t)?e=>O(t,n,e):o.test(t)?D(t,n):F(t,n)}const C=(t,n)=>{const e=[...t],r=e.length,o=t.map((t,e)=>P(t,n[e]));return t=>{for(let n=0;n<r;n++)e[n]=o[n](t);return e}},U=(t,n)=>{const e=Object.assign(Object.assign({},t),n),r={};for(const o in e)void 0!==t[o]&&void 0!==n[o]&&(r[o]=P(t[o],n[o]));return t=>{for(const n in r)e[n]=r[n](t);return e}};function N(t){const n=r.parse(t),e=n.length;let o=0,s=0,a=0;for(let r=0;r<e;r++)o||"number"==typeof n[r]?o++:void 0!==n[r].hue?a++:s++;return{parsed:n,numNumbers:o,numRGB:s,numHSL:a}}const F=(t,n)=>{const e=r.createTransformer(n),o=N(t),s=N(n);return o.numHSL===s.numHSL&&o.numRGB===s.numRGB&&o.numNumbers>=s.numNumbers?q(C(o.parsed,s.parsed),e):e=>`${e>0?n:t}`},k=(t,n)=>e=>O(t,n,e);function z(t,n,e){const r=[],s=e||("number"==typeof(a=t[0])?k:"string"==typeof a?o.test(a)?D:F:Array.isArray(a)?C:"object"==typeof a?U:void 0);var a;const i=t.length-1;for(let o=0;o<i;o++){let e=s(t[o],t[o+1]);if(n){const t=Array.isArray(n)?n[o]:n;e=q(t,e)}r.push(e)}return r}function B(t,n,{clamp:e=!0,ease:r,mixer:o}={}){const a=t.length;s(a===n.length),s(!r||!Array.isArray(r)||r.length===a-1),t[0]>t[a-1]&&(t=[].concat(t),n=[].concat(n),t.reverse(),n.reverse());const i=z(n,r,o),u=2===a?function([t,n],[e]){return r=>e(b(t,n,r))}(t,i):function(t,n){const e=t.length,r=e-1;return o=>{let s=0,a=!1;if(o<=t[0]?a=!0:o>=t[r]&&(s=r-1,a=!0),!a){let n=1;for(;n<e&&!(t[n]>o||n===r);n++);s=n-1}const i=b(t[s],t[s+1],o);return n[s](i)}}(t,i);return e?n=>u(l(t[0],t[a-1],n)):u}const G=t=>n=>1-t(1-n),H=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,I=t=>n=>n*n*((t+1)*n-t),L=4/11,E=8/11,$=t=>t,J=(K=2,t=>Math.pow(t,K));var K;const Q=G(J),V=H(J),W=t=>1-Math.sin(Math.acos(t)),X=G(W),Y=H(X),Z=I(1.525),_=G(Z),tt=H(Z),nt=(t=>{const n=I(t);return t=>(t*=2)<1?.5*n(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),et=4356/361,rt=35442/1805,ot=16061/1805,st=t=>{if(1===t||0===t)return t;const n=t*t;return t<L?7.5625*n:t<E?9.075*n-9.9*t+3.4:t<.9?et*n-rt*t+ot:10.8*t*t-20.52*t+10.72},at=G(st),it=t=>t<.5?.5*(1-st(1-2*t)):.5*st(2*t-1)+.5;function ut(t,n){return t.map(()=>n||V).splice(0,t.length-1)}function ct({from:t=0,to:n=1,ease:e,offset:r,duration:o=300}){const s={done:!1,value:t},a=Array.isArray(n)?n:[t,n],i=function(t,n){return t.map(t=>t*n)}(r&&r.length===a.length?r:function(t){const n=t.length;return t.map((t,e)=>0!==e?e/(n-1):0)}(a),o);function u(){return B(i,a,{ease:Array.isArray(e)?e:ut(a,e)})}let c=u();return{next:t=>(s.value=c(t),s.done=t>=o,s),flipTarget:()=>{a.reverse(),c=u()}}}const lt={keyframes:ct,spring:g,decay:function({velocity:t=0,from:n=0,power:e=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:s}){const a={done:!1,value:n};let i=e*t;const u=n+i,c=void 0===s?u:s(u);return c!==u&&(i=c-n),{next:t=>{const n=-i*Math.exp(-t/r);return a.done=!(n>o||n<-o),a.value=a.done?c:c+n,a},flipTarget:()=>{}}}};function pt(t,n,e=0){return t-n-e}const ft=t=>{const n=({delta:n})=>t(n);return{start:()=>i.update(n,!0),stop:()=>a.update(n)}};function ht(t){var n,e,{from:r,autoplay:o=!0,driver:s=ft,elapsed:a=0,repeat:i=0,repeatType:u="loop",repeatDelay:l=0,onPlay:
vendor: 3,383 bytes, lines 1-2
1p,onStop:f,onComplete:h,onRepeat:d,onUpdate:m}=t,y=c(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,M,b,{to:O}=y,x=0,w=y.duration,j=!1,S=!0;const A=function(t){if(Array.isArray(t.to))return ct;if(lt[t.type])return lt[t.type];const n=new Set(Object.keys(t));return n.has("ease")||n.has("duration")&&!n.has("dampingRatio")?ct:n.has("dampingRatio")||n.has("stiffness")||n.has("mass")||n.has("damping")||n.has("restSpeed")||n.has("restDelta")?g:ct}(y);(null===(e=(n=A).needsInterpolation)||void 0===e?void 0:e.call(n,r,O))&&(b=B([0,100],[r,O],{clamp:!1}),r=0,O=100);const D=A(Object.assign(Object.assign({},y),{from:r,to:O}));function R(){x++,"reverse"===u?(S=x%2==0,a=function(t,n,e=0,r=!0){return r?pt(n+-t,n,e):n-(t-n)+e}(a,w,l,S)):(a=pt(a,w,l),"mirror"===u&&D.flipTarget()),j=!1,d&&d()}function T(t){if(S||(t=-t),a+=t,!j){const t=D.next(Math.max(0,a));M=t.value,b&&(M=b(M)),j=S?t.done:a<=0}null==m||m(M),j&&(0===x&&(null!=w||(w=a)),x<i?function(t,n,e,r){return r?t>=n+e:t<=-e}(a,w,l,S)&&R():(v.stop(),h&&h()))}return o&&(null==p||p(),v=s(T),v.start()),{stop:()=>{null==f||f(),v.stop()}}}function dt(t,n){return n?t*(1e3/n):0}function mt({from:t=0,velocity:n=0,min:e,max:r,power:o=.8,timeConstant:s=750,bounceStiffness:a=500,bounceDamping:i=10,restDelta:c=1,modifyTarget:l,driver:p,onUpdate:f,onComplete:h,onStop:d}){let m;function y(t){return void 0!==e&&t<e||void 0!==r&&t>r}function v(t){return void 0===e?r:void 0===r||Math.abs(e-t)<Math.abs(r-t)?e:r}function g(t){null==m||m.stop(),m=ht(Object.assign(Object.assign({},t),{driver:p,onUpdate:n=>{var e;null==f||f(n),null===(e=t.onUpdate)||void 0===e||e.call(t,n)},onComplete:h,onStop:d}))}function M(t){g(Object.assign({type:"spring",stiffness:a,damping:i,restDelta:c},t))}if(y(t))M({from:t,velocity:n,to:v(t)});else{let r=o*n+t;void 0!==l&&(r=l(r));const a=v(r),i=a===e?-1:1;let p,f;const h=t=>{p=f,f=t,n=dt(t-p,u().delta),(1===i&&t>a||-1===i&&t<a)&&M({from:t,to:a,velocity:n})};g({type:"decay",from:t,velocity:n,timeConstant:s,power:o,restDelta:c,modifyTarget:l,onUpdate:y(r)?h:void 0})}return{stop:()=>null==m?void 0:m.stop()}}const yt=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),vt=t=>yt(t)&&t.hasOwnProperty("z"),gt=(t,n)=>Math.abs(t-n);function Mt(t,n){if(R(t)&&R(n))return gt(t,n);if(yt(t)&&yt(n)){const e=gt(t.x,n.x),r=gt(t.y,n.y),o=vt(t)&&vt(n)?gt(t.z,n.z):0;return Math.sqrt(Math.pow(e,2)+Math.pow(r,2)+Math.pow(o,2))}}const bt=(t,n)=>1-3*n+3*t,Ot=(t,n)=>3*n-6*t,xt=t=>3*t,wt=(t,n,e)=>((bt(n,e)*t+Ot(n,e))*t+xt(n))*t,jt=(t,n,e)=>3*bt(n,e)*t*t+2*Ot(n,e)*t+xt(n);const St=.1;function At(t,n,e,r){if(t===n&&e===r)return $;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=wt(a*St,t,e);function s(n){let r=0,s=1;for(;10!==s&&o[s]<=n;++s)r+=St;--s;const a=r+(n-o[s])/(o[s+1]-o[s])*St,i=jt(a,t,e);return i>=.001?function(t,n,e,r){for(let o=0;o<8;++o){const o=jt(n,e,r);if(0===o)return n;n-=(wt(n,e,r)-t)/o}return n}(n,a,t,e):0===i?a:function(t,n,e,r,o){let s,a,i=0;do{a=n+(e-n)/2,s=wt(a,r,o)-t,s>0?e=a:n=a}while(Math.abs(s)>1e-7&&++i<10);return a}(n,r,r+St,t,e)}return t=>0===t||1===t?t:wt(s(t),n,r)}export{it as a,st as b,At as c,at as d,nt as e,_ as f,tt as g,Z as h,X as i,Y as j,W as k,Q as l,V as m,J as n,$ as o,mt as p,ht as q,O as r,Mt as s,b as t,l as u,dt as v,q as w};
2//# sourceMappingURL=animations-Cp8pQyQb.js.map

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.