PageSourceSearch

https://www.elevationrhythm.com/_next/static/chunks/4560.6c5267a7f13d448e.js

js elevationrhythm.com collected 2026-10-04 02:58:10 UTC 15,380 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4560],{608:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},14370:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},18291:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},19699:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(60894);let r=t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},19897:(t,e,i)=>{i.d(e,{j:()=>D});var n=i(25553),r=i(71816),s=i(49029),a=i(64659),l=i(66157),o=i(8696),h=i(81765);function u(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var d=i(50937);function m(t,e){return i=>i>0?e:t}var p=i(61419);let c=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},f=[o.u,d.B,h.V];function v(t){let e=f.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=u(l,n,t+1/3),s=u(l,n,t),a=u(l,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let y=(t,e)=>{let i=v(t),n=v(e);if(!i||!n)return m(t,e);let r={...i};return t=>(r.red=c(i.red,n.red,t),r.green=c(i.green,n.green,t),r.blue=c(i.blue,n.blue,t),r.alpha=(0,p.k)(i.alpha,n.alpha,t),d.B.transform(r))},g=new Set(["none","hidden"]);function T(t,e){return i=>(0,p.k)(t,e,i)}function M(t){return"number"==typeof t?T:"string"==typeof t?(0,s.pG)(t)?m:a.y.test(t)?y:x:Array.isArray(t)?b:"object"==typeof t?a.y.test(t)?y:k:m}function b(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>M(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function k(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=M(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let x=(t,e)=>{let i=l.f.createTransformer(e),s=(0,l.V)(t),a=(0,l.V)(e);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?g.has(t)&&!a.values.length||g.has(e)&&!s.values.length?function(t,e){return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,n.F)(b(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][n[s]],l=t.values[a]??0;i[r]=l,n[s]++}return i}(s,a),a.values),i):((0,r.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),m(t,e))};function D(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):M(t)(t,e)}},20347:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},23195:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}},25553:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},27708:(t,e,i)=>{i.d(e,{G:()=>u});var n=i(26809),r=i(8665),s=i(25553),a=i(71816),l=i(608),o=i(33892),h=i(19897);function u(t,e,{clamp:i=!0,ease:d,mixer:m}={}){let p=t.length;if((0,a.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let c=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let a=[],l=i||n.W.mix||h.j,o=t.length-1;for(let i=0;i<o;i++){let n=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}a.push(n)}return a}(e,d,m),v=f.length,y=i=>{if(c&&i<t[0])return e[0];let n=0;if(v>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,l.q)(t[n],t[n+1],i);return f[n](r)};return i?e=>y((0,o.q)(t[0],t[p-1],e)):y}},47575:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(79090),r=i(84374);
1function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:o,min:h,max:u,restDelta:d=.5,restSpeed:m}){let p,c,f=t[0],v={done:!1,value:f},y=i*e,g=f+y,T=void 0===o?g:o(g);T!==g&&(y=T-f);let M=t=>-y*Math.exp(-t/s),b=t=>T+M(t),k=t=>{let e=M(t),i=b(t);v.done=Math.abs(e)<=d,v.value=v.done?T:i},x=t=>{let e;if(e=v.value,void 0!==h&&e<h||void 0!==u&&e>u){var i;p=t,c=(0,n.o)({keyframes:[v.value,(i=v.value,void 0===h?u:void 0===u||Math.abs(h-i)<Math.abs(u-i)?h:u)],velocity:(0,r.z)(b,t,v.value),damping:a,stiffness:l,restDelta:d,restSpeed:m})}};return x(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==p||(e=!0,k(t),x(t)),void 0!==p&&t>=p)?c.next(t-p):(e||k(t),v)}}}},47634:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>l,yT:()=>a});var n=i(18291),r=i(14370);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),l=(0,n.V)(s)},56050:(t,e,i)=>{i.d(e,{s:()=>T});var n=i(25553),r=i(33892),s=i(79509),a=i(87474),l=i(93071),o=i(19897),h=i(15184);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>h.Gt.update(e,t),stop:()=>(0,h.WG)(e),now:()=>h.uv.isProcessing?h.uv.timestamp:a.k.now()}};var d=i(47575),m=i(84056),p=i(20347),c=i(84374),f=i(39233),v=i(94571),y=i(92841);let g=t=>t/100;class T extends y.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},l.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,v.E)(t);let{type:e=m.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:a=0}=t,{keyframes:l}=t,h=e||m.i;h!==m.i&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,n.F)(g,(0,o.j)(l[0],l[1])),l=[0,100]);let u=h({...t,keyframes:l});"mirror"===s&&(this.mirroredGenerator=h({...t,keyframes:[...l].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,p.t)(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:a,mirroredGenerator:l,resolvedDuration:o,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:m,repeat:p,repeatType:c,repeatDelay:v,type:y,onUpdate:g,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let M=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?M<0:M>s;this.currentTime=Math.max(M,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let k=this.currentTime,x=n;if(p){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===c?(i=1-i,v&&(i-=v/o)):"mirror"===c&&(x=l)),k=(0,r.q)(0,1,i)*o}b?(this.delayState.value=m[0],i=this.delayState):i=x.next(k),a&&!b&&(i.value=a(i.value));let{done:D}=i;b||null===h||(D=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&D);return S&&y!==d.B&&(i.value=(0,f.X)(m,this.options,T,this.speed)),g&&g(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,c.z)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(a.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,l.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}},60894:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>o,dg:()=>l});var n=i(97137),r=i(18291),s=i(14370);let a=(0,n.A)(.33,1.53,.69,.99),l=(0,s.G)(a),o=(0,r.V)(l)},77206:(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(608),r=i(61419);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,a))}}(e,t.length-1),e}},79090:(t,e,i)=>{i.d(e,{o:()=>p});var n=i(71816),r=i(79509),s=i(33892),a=i(98660),l=i(20347);let o={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function h(t,e){return t*Math.sqrt(1-e*e)}let u=["duration","bounce"],d=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function p(t=o.visualDuration,e=o.bounce){let i,c,f,v,y,g,T="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:M,restDelta:b}=T,k=T.keyframes[0],x=T.keyframes[T.keyframes.length-1],D={done:!1,value:k},{stiffness:S,damping:w,mass:q,duration:A,velocity:V,isResolvedFromDuration:F}=function(t){let e={velocity:o.velocity,stiffness:o.stiffness,damping:o.damping,mass:o.mass,isResolvedFromDuration:!1,...t};if(!m(t,d)&&m(t,u))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:o.mass,stiffness:n,damping:r}}else{let i=function({duration:t=o.duration,bounce:e=o.bounce,velocity:i=o.velocity,mass:a=o.mass}){let l,u;(0,n.$)(t<=(0,r.f)(o.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-e;d=(0,s.q)(o.minDamping,o.maxDamping,d),t=(0,s.q)(o.minDuration,o.maxDuration,(0,r.X)(t)),d<1?(l=e=>{let n=e*d,r=n*t;return .001-(n-i)/h(e,d)*Math.exp(-r)},u=e=>{let n=e*d*t,r=Math.pow(d,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=h(Math.pow(e,2),d);return(n*i+i-r)*s*(-l(e)+.001>0?-1:1)/a}):(l=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),u=e=>t*t*(i-e)*Math.exp(-e*t));let m=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(l,u,5/t);if(t=(0,r.f)(t),isNaN(m))return{stiffness:o.stiffness,damping:o.damping,duration:t};{let e=Math.pow(m,2)*a;return{stiffness:e,damping:2*d*Math.sqrt(a*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:o.mass}).isResolvedFromDuration=!0}return e}({...T,velocity:-(0,r.X)(T.velocity||0)}),G=V||0,I=w/(2*Math.sqrt(S*q)),X=x-k,O=(0,r.X)(Math.sqrt(S/q)),z=5>Math.abs(X);if(M||(M=z?o.restSpeed.granular:o.restSpeed.default),b||(b=z?o.restDelta.granular:o.restDelta.default),I<1)f=h(O,I),v=(G+I*O*X)/f,i=t=>x-Math.exp(-I*O*t)*(v*Math.sin(f*t)+X*Math.cos(f*t)),y=I*O*v+X*f,g=I*O*X-v*f,c=t=>Math.exp(-I*O*t)*(y*Math.sin(f*t)+g*Math.cos(f*t));else if(1===I){i=t=>x-Math.exp(-O*t)*(X+(G+O*X)*t);let t=G+O*X;c=e=>Math.exp(-O*e)*(O*t*e-G)}else{let t=O*Math.sqrt(I*I-1);i=e=>{let i=Math.exp(-I*O*e),n=Math.min(t*e,300);return x-i*((G+I*O*X)*Math.sinh(n)+t*X*Math.cosh(n))/t};let e=(G+I*O*X)/t,n=I*O*e-X*t,r=I*O*X-e*t;c=e=>{let i=Math.exp(-I*O*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let B={calculatedDuration:F&&A||null,velocity:t=>(0,r.f)(c(t)),next:t=>{if(!F&&I<1){let e=Math.exp(-I*O*t),i=Math.sin(f*t),n=Math.cos(f*t),s=x-e*(v*i+X*n);return D.done=Math.abs((0,r.f)(e*(y*i+g*n)))<=M&&Math.abs(x-s)<=b,D.value=D.done?x:s,D}let e=i(t);return F?D.done=t>=A:D.done=Math.abs((0,r.f)(c(t)))<=M&&Math.abs(x-e)<=b,D.value=D.done?x:e,D},toString:()=>{let t=Math.min((0,l.t)(B),l.Y),e=(0,a.K)(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}p.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min((0,l.t)(n),l.Y);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,r.X)(s)}}(t,100,p);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},84056:(t,e,i)=>{i.d(e,{i:()=>y});var n=i(97137);
1let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1);var l=i(71816),o=i(8665),h=i(19699),u=i(60894),d=i(47634),m=i(30063);let p={linear:o.l,easeIn:r,easeInOut:a,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:u.dg,backInOut:u.ZZ,backOut:u.Sz,anticipate:h.b},c=t=>{if((0,m.D)(t)){(0,l.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,l.V)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var f=i(27708),v=i(77206);function y({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(c):c(n),l={done:!1,value:e[0]},o=(r=i&&i.length===e.length?i:(0,v.Z)(e),r.map(e=>e*t)),h=(0,f.G)(o,e,{ease:Array.isArray(s)?s:e.map(()=>s||a).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}},84374:(t,e,i)=>{i.d(e,{z:()=>r});var n=i(58017);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},94571:(t,e,i)=>{i.d(e,{E:()=>l});var n=i(47575),r=i(84056),s=i(79090);let a={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function l(t){"string"==typeof t.type&&(t.type=a[t.type])}},97137:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(8665);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let a,l,o=0;do(a=r(l=e+(i-e)/2,n,s)-t)>0?i=l:e=l;while(Math.abs(a)>1e-7&&++o<12);return l}(n,0,1,t,i),e,s)}}}]);

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.