PageSourceSearch

https://www.kompan.com/_next/static/chunks/2800.79e3ffaba8e975b1.js

js kompan.com collected 2026-10-01 13:06:28 UTC 7,265 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2800],{8415:(t,e,n)=>{n.d(e,{i:()=>q});class r{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return a(this.animations,"duration")}get iterationDuration(){return a(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(t,e){let n=0;for(let r=0;r<t.length;r++){let a=t[r][e];null!==a&&a>n&&(n=a)}return n}class i extends r{then(t,e){return this.finished.finally(t).then(()=>{})}}var s=n(51442),l=n(27813),o=n(92858),u=n(60824),f=n(48047),h=n(35773),c=n(76748),p=n(90432),m=n(79509),g=n(71816),d=n(90319);function y(t,e){var n;let r;return(0,d.h)(t)?t[n=t.length,((e-0)%(r=n-0)+r)%r+0]:t}var A=n(608),v=n(23195);function w(t){return"object"==typeof t&&!Array.isArray(t)}function b(t,e,n,r){return null==t?[]:"string"==typeof t&&w(e)?(0,v.K)(t,n,r):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(t=>null!=t):[t]}function X(t,e,n,r){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):r.get(e)??t}var k=n(61419);function x(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function C(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function E(t,e){return e[t]||(e[t]=[]),e[t]}let M=t=>"number"==typeof t,O=t=>t.every(M);var Y=n(47710),F=n(17269),S=n(50048),V=n(61751),W=n(91354),B=n(72046),I=n(37183),N=n(16964),R=n(26721);class T extends R.BX{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,N.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function j(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,V.x)(t)&&!(0,W.h)(t)?new B.l(e):new I.M(e);n.mount(t),F.C.set(t,n)}function _(t){let e=new T({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),F.C.set(t,e)}function P(t,e,n,r){let a=[];if((0,p.S)(t)||"number"==typeof t||"string"==typeof t&&!w(e))a.push((0,Y.z)(t,w(e)&&e.default||e,n&&n.default||n));else{if(null==t)return a;let i=b(t,e,r),s=i.length;(0,g.V)(!!s,"No valid elements provided.","no-valid-elements");for(let t=0;t<s;t++){let r=i[t],l=r instanceof Element?j:_;F.C.has(r)||l(r);let o=F.C.get(r),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,s)),a.push(...(0,S.$)(o,{...e,transition:u},{}))}}return a}let q=function(t={}){let{scope:e,reduceMotion:n}=t;return function(t,r,a){var d;let v,w=[];if(Array.isArray(t)&&t.some(Array.isArray)){let a,{onComplete:i,...M}=r||{};"function"==typeof i&&(v=i),d=void 0!==n?{reduceMotion:n,...M}:M,a=[],(function(t,{defaultTransition:e={},...n}={},r,a){let i=e.duration||.3,l=new Map,o=new Map,d={},v=new Map,w=0,M=0,Y=0;for(let n=0;n<t.length;n++){let l=t[n];if("string"==typeof l){v.set(l,M);continue}if(!Array.isArray(l)){v.set(l.name,X(M,l.at,w,v));continue}let[A,x,V={}]=l;void 0!==V.at&&(M=X(M,V.at,w,v));let W=0,B=(t,n,r,l=0,o=0)=>{var p;let d=Array.isArray(p=t)?p:[p],{delay:A=0,times:v=(0,u.Z)(d),type:w=e.type||"ke
1yframes",repeat:b,repeatType:X,repeatDelay:x=0,...C}=n,{ease:E=e.ease||"easeOut",duration:F}=n,S="function"==typeof A?A(l,o):A,V=d.length,B=(0,f.W)(w)?w:a?.[w||"keyframes"];if(V<=2&&B){let t=100;2===V&&O(d)&&(t=Math.abs(d[1]-d[0]));let n={...e,...C};void 0!==F&&(n.duration=(0,m.f)(F));let r=(0,h.X)(n,t,B);E=r.ease,F=r.duration}F??(F=i);let I=M+S;1===v.length&&0===v[0]&&(v[1]=1);let N=v.length-d.length;if(N>0&&(0,c.f)(v,N),1===d.length&&d.unshift(null),b){(0,g.V)(b<20,"Repeat count too high, must be less than 20","repeat-count-high"),F*=b+1;let t=[...d],e=[...v],n=[...E=Array.isArray(E)?[...E]:[E]];for(let r=0;r<b;r++){d.push(...t);for(let a=0;a<t.length;a++)v.push(e[a]+(r+1)),E.push(0===a?"linear":y(n,a-1))}for(let t=0;t<v.length;t++)v[t]=v[t]/(b+1)}let R=I+F;!function(t,e,n,r,a,i){for(let e=0;e<t.length;e++){let n=t[e];n.at>a&&n.at<i&&((0,s.Ai)(t,n),e--)}for(let s=0;s<e.length;s++)t.push({value:e[s],at:(0,k.k)(a,i,r[s]),easing:y(n,s)})}(r,d,E,v,I,R),W=Math.max(S+F,W),Y=Math.max(R,Y)};if((0,p.S)(A))B(x,V,E("default",C(A,o)));else{let t=b(A,x,r,d),e=t.length;for(let n=0;n<e;n++){let r=C(t[n],o);for(let t in x){var F,S;B(x[t],(F=V,S=t,F&&F[S]?{...F,...F[S]}:{...F}),E(t,r),n,e)}}}w=M,M+=W}return o.forEach((t,r)=>{for(let a in t){let i=t[a];i.sort(x);let s=[],o=[],u=[];for(let t=0;t<i.length;t++){let{at:e,value:n,easing:r}=i[t];s.push(n),o.push((0,A.q)(0,Y,e)),u.push(r||"easeOut")}0!==o[0]&&(o.unshift(0),s.unshift(s[0]),u.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),s.push(null)),l.has(r)||l.set(r,{keyframes:{},transition:{}});let f=l.get(r);f.keyframes[a]=s;let{type:h,...c}=e;f.transition[a]={...c,duration:Y,ease:u,times:o,...n}}}),l})(t.map(t=>{if(Array.isArray(t)&&"function"==typeof t[0]){let e=t[0],n=(0,l.OQ)(0);return(n.on("change",e),1===t.length)?[n,[0,1]]:2===t.length?[n,[0,1],t[1]]:[n,t[1],t[2]]}return t}),d,e,{spring:o.o}).forEach(({keyframes:t,transition:e},n)=>{a.push(...P(n,t,e))}),w=a}else{let{onComplete:i,...s}=a||{};"function"==typeof i&&(v=i),w=P(t,r,void 0!==n?{reduceMotion:n,...s}:s,e)}let M=new i(w);return v&&M.finished.then(v),e&&(e.animations.push(M),M.finished.then(()=>{(0,s.Ai)(e.animations,M)})),M}}()},23196:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(62544);let a=function(t){(0,r.useEffect)(t,[])},i=function(t){var e=(0,r.useRef)(t);e.current=t,a(function(){return function(){return e.current()}})},s=function(t){var e=(0,r.useRef)(0),n=(0,r.useState)(t),a=n[0],s=n[1],l=(0,r.useCallback)(function(t){cancelAnimationFrame(e.current),e.current=requestAnimationFrame(function(){s(t)})},[]);return i(function(){cancelAnimationFrame(e.current)}),[a,l]};var l=n(59422);let o=function(t){var e=s({docX:0,docY:0,posX:0,posY:0,elX:0,elY:0,elH:0,elW:0}),n=e[0],a=e[1];return(0,r.useEffect)(function(){var e=function(e){if(t&&t.current){var n=t.current.getBoundingClientRect(),r=n.left,i=n.top,s=n.width,l=n.height,o=r+window.pageXOffset,u=i+window.pageYOffset,f=e.pageX-o,h=e.pageY-u;a({docX:e.pageX,docY:e.pageY,posX:o,posY:u,elX:f,elY:h,elH:l,elW:s})}};return(0,l.on)(document,"mousemove",e),function(){(0,l.AU)(document,"mousemove",e)}},[t]),n}}}]);
2//# sourceMappingURL=2800.79e3ffaba8e975b1.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.