PageSourceSearch

https://www.infobip.com/wp-content/themes/infobip2024/public/58156-e49f79c56180af50.js

js infobip.com collected 2026-09-24 08:27:03 UTC 26,669 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkinfobip2024=self.webpackChunkinfobip2024||[]).push([[58156],{58156(e,t,n){var r=n(38408),a=n(27723);function o(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.getContext("2d"),i=Math.min(window.devicePixelRatio||1,2),c=null!=(t=a.count)?t:2e3,u=null!=(n=a.radiusFrac)?n:.34;function s(){var t=e.getBoundingClientRect();e.width=Math.max(1,Math.floor(t.width*i)),e.height=Math.max(1,Math.floor(t.height*i))}s();var l=new ResizeObserver(s);l.observe(e);for(var v=Array(c),h=Math.PI*(3-Math.sqrt(5)),d=0;d<c;d++){var f=1-d/(c-1)*2,m=Math.sqrt(1-f*f),p=h*d,g=Math.cos(p)*m,b=Math.sin(p)*m,y=1+(Math.random()-.5)*.06;v[d]={ox:g*y,oy:f*y,oz:b*y,seed:Math.random()}}var M={x:.5,y:.5,lx:.5,ly:.5,active:0,target:0,vel:0},w=[],x={level:0,bass:0,mid:0,high:0,bins:null,active:0,target:0};function O(t){var n=e.getBoundingClientRect();M.x=(t.clientX-n.left)/n.width,M.y=(t.clientY-n.top)/n.height,M.target=1}function P(){M.target=0}function j(){M.target=1}function A(t){var n=e.getBoundingClientRect();w.push({t0:(performance.now()-L)/1e3,mx:(t.clientX-n.left)/n.width,my:(t.clientY-n.top)/n.height}),w.length>6&&w.shift()}e.addEventListener("pointermove",O),e.addEventListener("pointerleave",P),e.addEventListener("pointerenter",j),e.addEventListener("pointerdown",A);var S=0,C=0,E=new Float32Array(c),L=performance.now(),k=L,z=2*Math.PI,q=[],R=function(e,t){return e.z-t.z};return r=requestAnimationFrame(function t(){var n=performance.now(),a=(n-L)/1e3,s=Math.max(.001,(n-k)/1e3);k=n;var l=1-Math.pow(.04,s);M.active+=(M.target-M.active)*l;var h=M.x-M.lx,d=M.y-M.ly,f=Math.sqrt(h*h+d*d)/s;M.vel+=(f-M.vel)*Math.min(1,3*s),M.lx=M.x,M.ly=M.y;var m=(M.x-.5)*.9*M.active,p=-(.9*(M.y-.5))*M.active,g=.08*Math.sin(.18*a),b=1-Math.pow(.05,s);S+=(p+g-S)*b,C+=(m+.12*a-C)*b;var y=e.width,O=e.height,P=y/2,j=O/2,A=Math.min(y,O)*u;o.clearRect(0,0,y,O);var F=Math.cos(S),T=Math.sin(S),D=Math.cos(C),I=Math.sin(C),B=(M.x-.5)*2,_=-(2*(M.y-.5)),X=w.map(function(e){return{age:a-e.t0,mx:(e.mx-.5)*2,my:-(2*(e.my-.5))}}).filter(function(e){return e.age>=0&&e.age<2.6}).map(function(e){var t,n;return t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={ring:1.55*e.age,decay:1-e.age/2.6},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t}),Y=(q.length===c||(q.length=c),q);x.active+=(x.target-x.active)*(1-Math.pow(.04,s));for(var G=.55*a,N=x.level*x.active,U=1+.18*N,W=x.bins,H=W?W.length:0,J=0;J<c;J++){var K=v[J],Q=(1+.018*Math.sin(G+6.2831*K.seed))*U,V=0;H&&x.active>.01&&(V=.22*(W[Math.floor((Math.atan2(K.oz,K.ox)/Math.PI+1)*.5*H*.7)%H]/255)*(1-Math.abs(K.oy))*x.active),E[J]+=(V-E[J])*(1-Math.pow(.18,s));for(var Z=Q+E[J],$=K.ox*Z,ee=K.oy*Z,et=K.oz*Z,en=$*D+et*I,er=-$*I+et*D,ea=ee*F-er*T,eo=ee*T+er*F,ei=en-B,ec=ea-_,eu=.18*Math.exp(-(2.4*(ei*ei+ec*ec)))*M.active,es=0,el=0;el<X.length;el++){var ev=X[el],eh=en-ev.mx,ed=ea-ev.my;es+=Math.exp(-Math.pow((Math.sqrt(eh*eh+ed*ed)-ev.ring)/.28,2))*ev.decay*.22}var ef=1+eu+es,em=en*ef,ep=ea*ef,eg=eo*ef,eb=1/(1-.32*eg),ey=P+em*A*eb,eM=j-ep*A*eb;Y[J]=Y[J]||{sx:0,sy:0,z:0,alpha:0,size:0,heat:0};var ew=Y[J];ew.sx=ey,ew.sy=eM,ew.z=eg;var ex=(eg+1)*.5;ew.alpha=.1+.85*ex,ew.size=(.55+.95*ex)*i*eb;var eO=ey-M.x*y,eP=eM-M.y*O;ew.heat=Math.exp(-(Math.sqrt(eO*eO+eP*eP)/Math.min(y,O)*5.2))*M.active+1.4*es+2.4*E[J]}Y.sort(R);for(var ej=0;ej<c;ej++){var eA=Y[ej],eS=Math.min(1,eA.heat),eC=void 0,eE=void 0,eL=void 0;eS>.01?(eC=Math.round(235+20*eS),eE=Math.round(232+-84*eS),eL=Math.round(227+-157*eS)):(eC=235,eE=232,eL=227),o.fillStyle="rgba(".concat(eC,",").concat(eE,",").concat(eL,",").concat(eA.alpha,")"),o.beginPath(),o.arc(eA.sx,eA.sy,eA.size,0,z),o.fill()}r=requestAnimationFrame(t)}),{setAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.level,n=e.bass,r=e.mid,a=e.high,o=e.bins,i=e.enabled;x.level=void 0===t?0:t,x.bass=void 0===n?0:n,x.mid=void 0===r?0:r,x.high=void 0===a?0:a,x.bins=void 0===o?null:o,x.target=+!!(void 0!==i&&i)},destroy:function(){cancelAnimationFrame(r),l.disconnect(),e.removeEventListener("pointermove",O),e.removeEventListener("pointerleave",P),e.removeEventListener("pointerenter",j),e.removeEventListener("pointerdown",A)}}}var i=Math.min(window.devicePixelRatio||1,2),c=2*Math.PI,u=[255,255,255],s=[255,160,92];function l(e,t){return"rgba(".concat(e[0],",").concat(e[1],",").concat(e[2],",").concat(t,")")}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var d=Math.min(window.devicePixelRatio||1,2),f=2*Math.PI;function m(e){function t(){var t=e.getBoundingClientRect();e.width=Math.max(1,Math.floor(t.width*d)),e.height=Math.max(1,Math.floor(t.height*d))}t();var n=new ResizeObserver(t);n.observe(e);var r={x:.5,y:.5,lx:.5,ly:.5,active:0,target:0,vel:0},a=[],o={level:0,bass:0,mid:0,high:0,active:0,target:0},i=performance.now();function c(t){var n=e.getBoundingClientRect();r.x=(t.clientX-n.left)/n.width,r.y=(t.clientY-n.top)/n.height,r.target=1}function u(){r.target=0}function s(){r.target=1}function l(t){var n=e.getBoundingClientRect();a.push({t0:(performance.now()-i)/1e3,mx:(t.clientX-n.left)/n.width,my:(t.clientY-n.top)/n.height}),a.length>6&&a.shift()}return e.addEventListener("pointermove",c),e.addEventListener("pointerleave",u),e.addEventListener("pointerenter",s),e.addEventListener("pointerdown",l),{mouse:r,pulses:a,audio:o,startT:i,teardown:function(){n.disconnect(),e.removeEventListener("pointermove",c),e.removeEventListener("pointerleave",u),e.removeEventListener("pointerenter",s),e.removeEventListener("pointerdown",l)},setAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.level,n=e.bass,r=e.mid,a=e.high,i=e.enabled;o.level=void 0===t?0:t,o.bass=void 0===n?0:n,o.mid=void 0===r?0:r,o.high=void 0===a?0:a,o.target=+!!(void 0!==i&&i)}}}function p(e,t){var n=1-Math.pow(.04,t);e.mouse.active+=(e.mouse.target-e.mouse.active)*n,e.audio.active+=(e.audio.target-e.audio.active)*n;var r=e.mouse.x-e.mouse.lx,a=e.mouse.y-e.mouse.ly,o=Math.sqrt(r*r+a*a)/t;e.mouse.vel+=(o-e.mouse.vel)*Math.min(1,3*t),e.mouse.lx=e.mouse.x,e.mouse.ly=e.mouse.y}function g(e){var t,n,r;if(e>.01){var a=Math.min(1,e);t=Math.round(235+20*a),n=Math.round(232+-84*a),r=Math.round(227+-157*a)}else t=235,n=232,r=227;return[t,n,r]}function b(e,t){return"rgba(".concat(e[0],",").concat(e[1],",").concat(e[2],",").concat(t,")")}function y(e){for(var t,n=e.getContext("2d"),r=m(e),a=Array(520),o=0;o<520;o++){var i=Math.PI+o/519*Math.PI,c=(Math.random()-.5)*.04;a[o]={ang:i+c,base:.72+.22*Math.random(),speed:.4+.5*Math.random(),seed:Math.random()}}var u=performance.now();return t=requestAnimationFrame(function o(){var i=performance.now(),c=(i-r.startT)/1e3,s=Math.max(.001,(i-u)/1e3);u=i,p(r,s);var l=e.width,m=e.height,y=l/2+(r.mouse.x-.5)*r.mouse.active*l*.06,M=.92*m+(r.mouse.y-.5)*r.mouse.active*m*.04,w=.8*Math.min(l,m);n.clearRect(0,0,l,m);var x=r.audio.level*r.audio.active,O=r.audio.bass*r.audio.active,P=r.audio.high*r.audio.active,j=r.pulses.map(function(e){return{age:c-e.t0,mx:e.mx,my:e.my}}).filter(function(e){return e.age>=0&&e.age<2.4}).map(function(e){return h(v({},e),{ring:1.6*e.age,decay:1-e.age/2.4})});n.lineWidth=.6*d,n.lineCap="round";for(var A=0;A<520;A++){var S=a[A],C=1+.015*Math.sin(.6*c+6*S.seed),E=1+.5*x*(.4+.6*Math.sin(c*S.speed*4+7*S.seed)),L=S.base*C*E;L*=1+.12*O;var k=r.mouse.x-y/l,z=Math.atan2(-(M/m-r.mouse.y),k),q=S.ang-z,R=Math.exp(-Math.pow((q=(q+Math.PI)%f-Math.PI)/.4,2))*r.mouse.active*.35;L*=1+R;for(var F=0,T=0;T<j.length;T++){var D=j[T];F+=Math.exp(-Math.pow((D.age-S.seed)/.4,2))*D.decay}L*=1+.25*F;var I=Math.cos(S.ang),B=Math.sin(S.ang),_=y+I*L*w,X=M+B*L*w,Y=1.4*R+1.5*F+.4*x+.2*P,G=g(Y),N=n.createLinearGradient(y,M,_,X);N.addColorStop(0,b(G,.02)),N.addColorStop(.4,b(G,.15+.2*Y)),N.addColorStop(1,b(G,.55+.35*Y)),n.strokeStyle=N,n.beginPath(),n.moveTo(y,M),n.lineTo(_,X),n.stroke(),n.fillStyle=b(G,Math.min(1,.7+.3*Y)),n.beginPath(),n.arc(_,X,1.5*d+.7*Y*d,0,f),n.fill()}t=requestAnimationFrame(o)}),{setAudio:r.setAudio,destroy:function(){cancelAnimationFrame(t),r.teardown()}}}function M(e){var t,n=e.getContext("2d"),r=m(e),a=performance.now();return t=requestAnimationFrame(function o(){var i=performance.now(),c=(i-r.startT)/1e3,u=Math.max(.001,(i-a)/1e3);a=i,p(r,u);var s=e.width,l=e.height,f=s/2,m=.55*l,y=.42*Math.min(s,l);n.clearRect(0,0,s,l);var M=r.audio.level*r.audio.active,w=r.audio.high*r.audio.active,x=(r.mouse.x-.5)*2,O=-(2*(r.mouse.y-.55)),P=r.pulses.map(function(e){return{age:c-e.t0,mx:(e.mx-.5)*2,mz:-(2*(e.my-.55))}}).filter(function(e){return e.age>=0&&e.age<2.6}).map(function(e){return h(v({},e),{ring:1.5*e.age,decay:1-e.age/2.6})});n.lineWidth=.9*d,n.lineCap="round";for(var j=0;j<22;j++){for(var A=j/21*2-1,S=0,C=Array(96),E=.7*c+.05*j,L=0;L<96;L++){var k=L/95*2-1,z=.11*Math.sin(3.5*k+E);z+=.05*Math.sin(7.2*k-1.3*E+.4*j)+.06*Math.sin(2.2*k+.55*E+.2*j),z*=(1-.55*Math.abs(A))*(1+2.5*M);var q=k-x,R=A-O;z+=.18*Math.exp(-(2*Math.sqrt(q*q+R*R)))*r.mouse.active;for(var F=0,T=0;T<P.length;T++){var D=P[T];F+=Math.exp(-Math.pow((Math.sqrt(Math.pow(k-D.mx,2)+Math.pow(A-D.mz,2))-D.ring)/.28,2))*D.decay}var I=.8525245220595057*(z+=.17*F)-.5226872289306592*A,B=.5226872289306592*z+.8525245220595057*A,_=1/(1-.38*B),X=f+k*y*_*1.45,Y=m-I*y*_*1.1;C[L]={sx:X,sy:Y,z:B};var G=X-r.mouse.x*s,N=Y-r.mouse.y*l;S+=Math.exp(-(Math.sqrt(G*G+N*N)/Math.min(s,l)*4))*r.mouse.active*.7+1.4*F+.55*M+.3*w}var U=S/96,W=((C[0].z+C[95].z)*.5+1)*.5;n.strokeStyle=b(g(U),.16+.65*W+.2*U),n.beginPath(),n.moveTo(C[0].sx,C[0].sy);for(var H=1;H<96;H++)n.lineTo(C[H].sx,C[H].sy);n.stroke()}t=requestAnimationFrame(o)}),{setAudio:r.setAudio,destroy:function(){cancelAnimationFrame(t),r.teardown()}}}var w=Math.min(window.devicePixelRatio||1,2),x=2*Math.PI;function O(e){var t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function P(e,t){return"rgba(".concat(e[0],",").concat(e[1],",").concat(e[2],",").concat(t,")")}var j={sphere:function(e,t){return o(e,t)},columns:function(e){return function(e){for(var t,n=e.getContext("2d"),r=function(e){function t(){var t=e.getBoundingClientRect();e.width=Math.max(1,Math.floor(t.width*w)),e.height=Math.max(1,Math.floor(t.height*w))}t();var n=new ResizeObserver(t);n.observe(e);var r={x:.5,y:.5,active:0,target:0},a=[],o={level:0,bass:0,mid:0,high:0,active:0,target:0},i=performance.now();function c(t){var n=e.getBoundingClientRect();r.x=(t.clientX-n.left)/n.width,r.y=(t.clientY-n.top)/n.height,r.target=1}function u(){r.target=0}function s(){r.target=1}function l(t){var n=e.getBoundingClientRect();a.push({t0:(performance.now()-i)/1e3,mx:(t.clientX-n.left)/n.width,my:(t.clientY-n.top)/n.height}),a.length>6&&a.shift()}return e.addEventListener("pointermove",c),e.addEventListener("pointerleave",u),e.addEventListener("pointerenter",s),e.addEventListener("pointerdown",l),{mouse:r,pulses:a,audio:o,startT:i,teardown:function(){n.disconnect(),e.removeEventListener("pointermove",c),e.removeEventListener("pointerleave",u),e.removeEventListener("pointerenter",s),e.removeEventListener("pointerdown",l)},setAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.level,n=e.bass,r=e.mid,a=e.high,i=e.enabled;o.level=void 0===t?0:t,o.bass=void 0===n?0:n,o.mid=void 0===r?0:r,o.high=void 0===a?0:a,o.target=+!!(void 0!==i&&i)}}}(e),a=Array(128),o=new Float32Array(128),i=new Float32Array(128),
1c=new Float32Array(128),u=0;u<128;u++)a[u]={x:u/127,seed:Math.random()};var s=performance.now();return t=requestAnimationFrame(function u(){var l,v=performance.now(),h=(v-r.startT)/1e3,d=Math.max(.001,(v-s)/1e3);s=v,l=1-Math.pow(.04,d),r.mouse.active+=(r.mouse.target-r.mouse.active)*l,r.audio.active+=(r.audio.target-r.audio.active)*l;var f=e.width,m=e.height,p=.6*h,g=r.mouse.x,b=r.mouse.active,y=.58*m+Math.sin(.18*p)*m*.02,M=.24*m+Math.cos(.16*p)*m*.02,j=.72+.06*Math.sin(.13*p),A=m*(.03+.05*Math.sin(.3*p+1.2));n.clearRect(0,0,f,m);for(var S=r.audio.level*r.audio.active,C=r.audio.bass*r.audio.active,E=r.audio.mid*r.audio.active,L=r.audio.high*r.audio.active,k=r.pulses.map(function(e){return{age:h-e.t0,mx:e.mx,my:e.my}}).filter(function(e){return e.age>=0&&e.age<2.5}).map(function(e){var t,n;return t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={ring:1.6*e.age,decay:1-e.age/2.5},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t}),z=0;z<128;z++){var q=a[z].x,R=.06*Math.sin(3*q+p)+.03*Math.sin(5.2*q-1.3*p+1.2)+.012*Math.sin(11.5*q+.45*p+2.4),F=y+(A-y)*O(q/j),T=A+(M-A)*O((q-j)/(1-j)),D=q<=j?F:T;D+=R*m,D+=(.012*S+.008*C+.004*E+.003*L)*m,D+=Math.sin(.45*p+1.4*q)*m*.02;for(var I=Math.exp(-(10*Math.abs(q-g)))*b,B=0,_=0;_<k.length;_++){var X=k[_],Y=Math.exp(-Math.pow((Math.abs(q-X.mx)-.18*X.ring)/.08,2));B+=Y*X.decay,D-=Y*X.decay*m*.1}D-=I*m*.08,o[z]=D,i[z]=I,c[z]=B}n.lineCap="round",n.lineWidth=Math.max(1,.9*w);for(var G=0;G<128;G++){var N=a[G].x*f,U=o[G],W=c[G],H=Math.min(1,.85*i[G]+1.1*W),J=Math.min(1,.14+(1-Math.max(0,U/(.98*m)))*.22),K=n.createLinearGradient(N,U,N,m);if(K.addColorStop(0,P([255,255,255],J)),K.addColorStop(.45,P([255,255,255],.7*J)),K.addColorStop(1,"rgba(255,255,255,0)"),n.strokeStyle=K,n.beginPath(),n.moveTo(N,U),n.lineTo(N,m),n.stroke(),H>.01){var Q=n.createLinearGradient(N,U,N,m);Q.addColorStop(0,P([255,148,70],.65*H)),Q.addColorStop(.3,P([255,148,70],.28*H)),Q.addColorStop(1,"rgba(255,148,70,0)"),n.strokeStyle=Q,n.beginPath(),n.moveTo(N,U),n.lineTo(N,m),n.stroke()}n.fillStyle=H>.01?P([255,172,106],Math.min(1,.7+.3*H)):"rgba(255,255,255,0.92)",n.beginPath(),n.arc(N,U,1.6*w,0,x),n.fill()}t=requestAnimationFrame(u)}),{setAudio:r.setAudio,destroy:function(){cancelAnimationFrame(t),r.teardown()}}}(e)},waves:function(e){return M(e)},fibers:function(e){return y(e)},rings:function(e){return function(e){for(var t,n=e.getContext("2d"),r=function(e){function t(){var t=e.getBoundingClientRect();e.width=Math.max(1,Math.floor(t.width*i)),e.height=Math.max(1,Math.floor(t.height*i))}t();var n=new ResizeObserver(t);n.observe(e);var r={x:.5,y:.5,active:0,target:0,lx:.5,ly:.5},a=[],o={level:0,bass:0,mid:0,high:0,active:0,target:0},c=performance.now();function u(t){var n=e.getBoundingClientRect();r.x=(t.clientX-n.left)/n.width,r.y=(t.clientY-n.top)/n.height,r.target=1}function s(){r.target=0}function l(){r.target=1}function v(t){var n=e.getBoundingClientRect();a.push({t0:(performance.now()-c)/1e3,mx:(t.clientX-n.left)/n.width,my:(t.clientY-n.top)/n.height}),a.length>6&&a.shift()}return e.addEventListener("pointermove",u),e.addEventListener("pointerleave",s),e.addEventListener("pointerenter",l),e.addEventListener("pointerdown",v),{mouse:r,pulses:a,audio:o,startT:c,teardown:function(){n.disconnect(),e.removeEventListener("pointermove",u),e.removeEventListener("pointerleave",s),e.removeEventListener("pointerenter",l),e.removeEventListener("pointerdown",v)},setAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.level,n=e.bass,r=e.mid,a=e.high,i=e.enabled;o.level=void 0===t?0:t,o.bass=void 0===n?0:n,o.mid=void 0===r?0:r,o.high=void 0===a?0:a,o.target=+!!(void 0!==i&&i)}}}(e),a=[],o=1;o<=14;o++)for(var v=o/14,h=Math.floor(22+7*o),d=0;d<h;d++){var f=d/h*c+.17*o;a.push({ringIdx:o,radius:v,baseTh:f,seed:Math.random()})}for(var m=a.length,p=Array(m),g=0;g<m;g++)p[g]={sx:0,sy:0,z:0,alpha:0,size:0,heat:0};var b=performance.now(),y=0,M=0;return t=requestAnimationFrame(function o(){var v,h=performance.now(),d=(h-r.startT)/1e3,f=Math.max(.001,(h-b)/1e3);b=h,v=1-Math.pow(.04,f),r.mouse.active+=(r.mouse.target-r.mouse.active)*v,r.audio.active+=(r.audio.target-r.audio.active)*v;
1var g=e.width,w=e.height,x=g/2,O=5*w,P=.4675*Math.min(g,w);n.fillStyle="#0a0a0b",n.fillRect(0,0,g,w);var j=n.createRadialGradient(x,.92*O,0,x,.92*O,.7*Math.max(g,w));j.addColorStop(0,"rgba(255,255,255,0.025)"),j.addColorStop(1,"rgba(255,255,255,0)"),n.fillStyle=j,n.fillRect(0,0,g,w);var A=r.audio.level*r.audio.active,S=r.audio.bass*r.audio.active,C=Math.min(1,1.8*A+.3*S),E=(r.mouse.x-.5)*.357*r.mouse.active,L=-(.357*(r.mouse.y-.58))*r.mouse.active;y+=(E-y)*Math.min(1,3.5*f),M+=(L-M)*Math.min(1,3.5*f);for(var k=r.pulses.map(function(e){return{age:d-e.t0,mx:(e.mx-.5)*.42,mz:-(.42*(e.my-.58))}}).filter(function(e){return e.age>=0&&e.age<3}).map(function(e){var t,n;return t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={ring:.58*e.age,decay:1-e.age/3},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t}),z=1+.0085*Math.sin(.6*d)+.187*S+2*C,q=1+.102*S,R=0;R<m;R++){var F=a[R],T=F.baseTh+d*(.04+.004*F.ringIdx),D=z*(1+.012*Math.sin(.5*d+.45*F.ringIdx)),I=Math.cos(T)*F.radius*D*q,B=Math.sin(T)*F.radius*D*q;I+=y,B+=M;var _=.0034*Math.sin(.8*d+.6*F.ringIdx+6*F.seed);_+=C*Math.sin(5*d+.7*F.ringIdx)*.14;for(var X=0,Y=0;Y<k.length;Y++){var G=k[Y],N=Math.exp(-Math.pow((Math.sqrt(Math.pow(I-G.mx,2)+Math.pow(B-G.mz,2))-G.ring)/.065,2));_+=N*G.decay*.08,X+=N*G.decay}var U=Math.exp(-(5.2*Math.sqrt(Math.pow(I-y,2)+Math.pow(B-M,2))))*(.04675+.22*C)*r.mouse.active,W=.5816830894638836*(_+=U)-.8134155047893737*B,H=.8134155047893737*_+.5816830894638836*B,J=1/(1-.42*H),K=x+I*P*J,Q=O-W*P*J,V=Math.max(0,Math.min(1,(H+.5)/1)),Z=p[R];Z.sx=K,Z.sy=Q,Z.z=H,Z.alpha=.15+.7*V+.16*C,Z.size=(.5+.9*V)*i*J;var $=K-r.mouse.x*g,ee=Q-r.mouse.y*w;Z.heat=Math.min(1,Math.exp(-(Math.sqrt($*$+ee*ee)/Math.min(g,w)*2.8))*r.mouse.active*.697+1.445*X+1.9*C+8*U),Z.pulse=Math.min(1,1.02*X+.8*C)}p.sort(function(e,t){return e.z-t.z});for(var et=0;et<m;et++){var en=p[et];!function(e,t,n,r,a,o,i){var v,h=Math.max(0,Math.min(1,o)),d=Math.max(0,Math.min(1,i));e.fillStyle=l((v=Math.max(.16,Math.max(.08*h,d)),[Math.round(u[0]+(s[0]-u[0])*v),Math.round(u[1]+(s[1]-u[1])*v),Math.round(u[2]+(s[2]-u[2])*v)]),a*(.92*d+.16*h)),e.beginPath(),e.arc(t,n,r*(1.2+.48*d+.008*h),0,c),e.fill(),e.fillStyle=l(u,a*(.45+(1-h)*.32)),e.beginPath(),e.arc(t,n,r*(.42+.06*h),0,c),e.fill()}(n,en.sx,en.sy,en.size,en.alpha,en.heat,en.pulse)}t=requestAnimationFrame(o)}),{setAudio:r.setAudio,destroy:function(){cancelAnimationFrame(t),r.teardown()}}}(e)},fabric:function(e){return M(e)},glass:function(e,t){return o(e,t)},hourglass:function(e){var t,n,r,a;return n=e.getContext("2d"),r=m(e),a=performance.now(),t=requestAnimationFrame(function o(){var i=performance.now(),c=(i-r.startT)/1e3,u=Math.max(.001,(i-a)/1e3);a=i,p(r,u);var s=e.width,l=e.height;n.clearRect(0,0,s,l);var m=r.audio.level*r.audio.active,y=r.audio.bass*r.audio.active,M=r.audio.high*r.audio.active,w=r.pulses.map(function(e){return{age:c-e.t0,mx:e.mx}}).filter(function(e){return e.age>=0&&e.age<2.6}).map(function(e){return h(v({},e),{ring:1.4*e.age,decay:1-e.age/2.6})});n.lineWidth=.7*d,n.lineCap="round";for(var x=0;x<160;x++){var O=x/159,P=.5*Number(c),j=.18+.1*Math.sin(5*O+Number(P))+.05*Math.sin(9.2*O-1.6*P+1.3)+.06*Math.sin(2.4*O+.6*P);j-=.06*y,j-=.04*M*Math.sin(30*O+8*c);var A=Math.abs(O-r.mouse.x);j-=.12*Math.exp(-(14*A))*r.mouse.active;for(var S=0,C=0;C<w.length;C++){var E=w[C],L=Math.exp(-Math.pow((Math.abs(O-E.mx)-E.ring)/.05,2));j-=L*E.decay*.07,S+=L*E.decay}var k=O*s,z=j*l,q=+l,R=Math.exp(-(4*A))*r.mouse.active*.6+1.5*S+.45*m+.25*M,F=g(R),T=n.createLinearGradient(k,z,k,q);T.addColorStop(0,b(F,.55+.35*R)),T.addColorStop(.5,b(F,.12+.18*R)),T.addColorStop(1,b(F,.02)),n.strokeStyle=T,n.beginPath(),n.moveTo(k,z),n.lineTo(k,q),n.stroke(),n.fillStyle=b(F,Math.min(1,.7+.3*R)),n.beginPath(),n.arc(k,z,1.6*d+.6*R*d,0,f),n.fill()}t=requestAnimationFrame(o)}),{setAudio:r.setAudio,destroy:function(){cancelAnimationFrame(t),r.teardown()}}},dome:function(e){return y(e)},sunburst:function(e){return y(e)},network:function(e,t){return o(e,t)},vortex:function(e,t){return o(e,t)},voice:function(e,t){return o(e,t)},conversation:function(e,t){return o(e,t)}};function A(e,t,n,r,a,o,i){try{var c=e[o](i),u=c.value}catch(e){n(e);return}c.done?t(u):Promise.resolve(u).then(r,a)}var S=".js-block-".concat(r.blockName),C=document.querySelectorAll(S),E=Symbol("vocalizeInteractiveDestroy"),L="__vocalizeInteractiveMicSession",k={idle:(0,a.__)("Start microphone","infobip2024"),live:(0,a.__)("Stop microphone","infobip2024"),unavailable:(0,a.__)("Microphone unavailable","infobip2024"),blocked:(0,a.__)("Microphone blocked","infobip2024")};
1C.forEach(function(e){var t=e.dataset.animation,n=e.querySelector("canvas"),r=e.querySelector("button");if(n){"function"==typeof e[E]&&e[E]();var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return{setAudio:function(){},destroy:function(){}};var r=(j[String(e||"sphere").toLowerCase()]||j.sphere)(t,n)||{};return{setAudio:function(e){"function"==typeof r.setAudio&&r.setAudio(e)},destroy:function(){"function"==typeof r.destroy&&r.destroy()}}}(t,n),o=function(e,t){if(!e)return function(){};var n=null,r=null,a=null,o=null,i=null,c=null,u=0,s="idle",l=function(t,n){s=t,e.dataset.state=t,e.setAttribute("aria-pressed","live"===t?"true":"false"),e.textContent=n},v=function(){var s=window[L];s&&s.button===e&&(window[L]=null),o&&cancelAnimationFrame(o),o=null,a&&a.getTracks().forEach(function(e){return e.stop()}),a=null,n&&n.close(),n=null,r=null,i=null,c=null,u=0,t.setAudio({enabled:!1}),l("idle",k.idle)},h=function(){if(r&&i&&c){r.getByteFrequencyData(i),r.getByteTimeDomainData(c);for(var e=0,n=0;n<c.length;n++){var a=(c[n]-128)/128;e+=a*a}var s=Math.min(1,Math.pow(2.2*Math.sqrt(e/c.length),.85));u+=(s-u)*.25;for(var l=0,v=0,d=0,f=i.length,m=Math.floor(.12*f),p=Math.floor(.45*f),g=0;g<m;g++)l+=i[g];for(var b=m;b<p;b++)v+=i[b];for(var y=p;y<f;y++)d+=i[y];l=l/m/255,v=v/(p-m)/255,d=d/(f-p)/255,t.setAudio({enabled:!0,level:u,bass:l,mid:v,high:d,bins:i}),o=requestAnimationFrame(h)}},d=function(){var t;return(t=function(){var t,o,u;return function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),c=Object.defineProperty;return c(i,"next",{value:u(0)}),c(i,"throw",{value:u(1)}),c(i,"return",{value:u(2)}),"function"==typeof Symbol&&c(i,Symbol.iterator,{value:function(){return this}}),i;function u(c){return function(u){var s=[c,u];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)return l("error",k.unavailable),[2];(t=window[L])&&t.button!==e&&t.stop(),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0},video:!1})];case 2:return a=s.sent(),[3,4];case 3:return l("error",(o=s.sent())&&"NotAllowedError"===o.name?k.blocked:k.unavailable),[2];case 4:if("suspended"!==(n=new(window.AudioContext||window.webkitAudioContext)).state)return[3,6];return[4,n.resume()];case 5:s.sent(),s.label=6;case 6:return u=n.createMediaStreamSource(a),(r=n.createAnalyser()).fftSize=256,r.smoothingTimeConstant=.78,u.connect(r),i=new Uint8Array(r.frequencyBinCount),c=new Uint8Array(r.fftSize),l("live",k.live),window[L]={button:e,stop:v},h(),[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,a){var o=t.apply(e,n);function i(e){A(o,r,a,i,c,"next",e)}function c(e){A(o,r,a,i,c,"throw",e)}i(void 0)})})()},f=function(){"live"===s?v():d()};return e.addEventListener("click",f),t.setAudio({enabled:!1}),l("idle",k.idle),function(){e.removeEventListener("click",f),v()}}(r,a);e[E]=function(){o(),a.destroy()}}})}}]);

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.