PageSourceSearch

https://merge.rocks/_next/static/chunks/1431-8060e694ffa5d93c.js

js merge.rocks collected 2026-09-28 07:22:07 UTC 13,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1431],{81917:function(e,t,n){n.d(t,{Z:function(){return h}});var r=n(45697),i=n.n(r),o=n(67294),s="undefined"!==typeof document,c=[{hidden:"hidden",event:"visibilitychange",state:"visibilityState"},{hidden:"webkitHidden",event:"webkitvisibilitychange",state:"webkitVisibilityState"},{hidden:"mozHidden",event:"mozvisibilitychange",state:"mozVisibilityState"},{hidden:"msHidden",event:"msvisibilitychange",state:"msVisibilityState"},{hidden:"oHidden",event:"ovisibilitychange",state:"oVisibilityState"}],f=s&&Boolean(document.addEventListener),u=function(){if(!f)return null;var e=!0,t=!1,n=void 0;try{for(var r,i=c[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=r.value;if(o.hidden in document)return o}}catch(s){t=!0,n=s}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}return null}(),a=function(){if(!u)return[!0,"visible"];var e=u.hidden,t=u.state;return[!document[e],document[t]]},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSupported:f&&u},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),d(t,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(u.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(u.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var e;"function"===typeof this.props.onChange&&(e=this.props).onChange.apply(e,p(a()));"function"===typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"===typeof this.props.children?this.state.isSupported?(e=this.props).children.apply(e,p(a())):this.props.children():o.Children.only(this.props.children):null;var e}}]),t}(o.Component);l.displayName="PageVisibility",l.propTypes={onChange:i().func,children:i().oneOfType([i().node,i().func])};var h=l},62093:function(e,t,n){n.r(t);var r=n(67294),i=n(45697),o=function(e,t){var n=void 0;return function(){var r=this,i=arguments,o=function(){return e.apply(r,i)};clearTimeout(n),n=setTimeout(o,t)}},s=function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()};function c(e){var t=0;return e.forEach((function(e){e.rect&&e.rect.height>t&&(t=e.rect.height)})),t}function f(e){var t=e.rect,n=e.mode,r=(e.prevOffset,e.position),i=e.direction,o=e.width;return"chain"===n&&("toRight"===i?r.from>0:t.width+r.from<=o)}function u(e){var t=e.mode,n=e.from,r=e.direction,i=e.rect,o=e.width,s=n||0;switch(t){case"await":return"toRight"===r?o:-i.width;case"smooth":return"toRight"===r?i.width>o?0:o-i.width:i.width>o?o-i.width:0;default:return"toRight"===r?0:i.width+s>o?o-i.width:o-i.left-i.width}}var a=function(e){var t=e.mode,n=e.index,r=e.rect,i=e.offset,o=e.width,s=e.direction,c=function(e){var t=e.index,n=e.rect,r=e.offset,i=e.width,o=e.direction;return 0===t?r:"number"===typeof r?function(e){var t=e.rect,n=e.offset;return"toRight"===e.direction?n-t.width:n}({rect:n,offset:r,direction:o}):"toRight"===o?-n.width:i}({index:n,rect:r,offset:i,width:o,direction:s}),f=function(e){var t=e.rect,n=e.width;return"toRight"===e.direction?n:-t.width}({rect:r,width:o,direction:s});return{from:c,to:f,next:u({mode:t,from:c,direction:s,rect:r,width:o})}};function d(e){var t=e.from,n=e.rect;return"toRight"===e.direction?t:t+n.width}function p(e){var t=e.offset,n=e.rect,r=e.direction,i=e.width;if("run-in"===t)return"toRight"===r?-n.width:i;if("string"===typeof t){var o=Number(t.replace("%",""));if(o)return i/100*o}return t}var l=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},g=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},y=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},b=function(e){function t(){var e,n,i;l(this,t);for(var o=arguments.length,s=Array(o),c=0;c<o;c++)s[c]=arguments[c];return n=i=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.state={children:i.props.children({index:i.props.index}),move:i.props.move,position:{from:void 0,to:void 0,next:void 0},offset:i.props.offset,rect:null},i.x=0,i.isMoving=!1,i.nextTriggered=!1,i.elementRef=r.createRef(),i.raf=null,i.componentDidMount=function(){i.setPosition(!0),i.observer=new MutationObserver(i.onMutation),i.observer.observe(i.elementRef.current,{characterData:!0,childList:!0,subtree:!0})},i.componentWillUnmount=function(){i.observer.disconnect()},i.onMutation=function(){i.setPosition()},i.componentDidUpdate=function(e,t){i.x||t.position.from===i.state.position.from||(i.x=i.state.position.from,i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)"),i.x!==i.state.position.from&&e.prevRect&&i.props.prevRect&&e.prevRect.width!==i.props.prevRect.width&&(i.props.offset?i.x=i.x+(i.props.offset-e.offset):i.x=i.x+(i.props.prevRect.width-e.prevRect.width),i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)"),i.props.move&&!e.start&&i.props.start&&i.animate(),i.props.start&&!e.move&&i.props.move&&i.animate(),e.move&&!i.props.move&&(i.isMoving=!1,window.cancelAnimationFrame(i.raf))},i.setPosition=function(e){var t=i.props,n=t.mode,r=t.width,o=t.id,s=t.onNext,c=t.direction,u=t.index,l=t.setRect,h=i.elementRef.current.getBoundingClientRect();if(0!==h.width){var m=0===i.props.index?p({offset:i.props.offset,rect:h,direction:c,width:r}):i.props.offset,v=a({mode:n,rect:h,index:u,offset:m,width:r,direction:c});if(l({index:i.props.index,rect:h,offset:m,nextOffset:d({from:v.from,rect:h,direction:c})}),e){var g=f({mode:n,rect:h,position:v,offset:m,direction:c,width:r});g&&s({id:o,index:u,rect:h,nextOffset:d({from:v.from,rect:h,direction:c})}),g||!m&&0!==u||s({id:o,index:u,rect:h}),i.nextTriggered=g}
1i.setState({rect:h,offset:m,position:v})}},i.shouldTriggerNext=function(){return!i.nextTriggered&&("toLeft"===i.props.direction?i.x<=i.state.position.next:i.x>=i.state.position.next)},i.triggerNext=function(){i.shouldTriggerNext()&&(i.nextTriggered=!0,i.props.onNext({id:i.props.id,index:i.props.index,rect:i.state.rect}))},i.shouldFinish=function(){return"toRight"===i.props.direction?i.x>=i.state.position.to:i.x<=i.state.position.to},i.animate=function(){if(!i.isMoving){i.isMoving=!0;var e=null;i.raf=window.requestAnimationFrame((function t(n){if(i.isMoving&&i.elementRef.current){var r=e?n-e:0;i.x="toLeft"===i.props.direction?i.x-r/100*i.props.speed:i.x+r/100*i.props.speed,i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)",i.triggerNext(),i.shouldFinish()?(i.isMoving=!1,e=null,i.props.onFinish(i.props.id)):(e=n,i.raf=window.requestAnimationFrame(t))}}))}},i.render=function(){return r.createElement("div",{className:"ticker__element",style:{willChange:"transform",position:"absolute",left:0,top:0,transform:"translate3d("+i.x+"px, 0, 0)"},ref:i.elementRef},i.state.children)},g(i,n)}return v(t,e),t}(r.Component);b.propTypes={children:(0,i.oneOfType)([i.node,i.func]).isRequired,direction:i.string.isRequired,speed:i.number.isRequired,id:i.string.isRequired,index:i.number.isRequired,mode:i.string.isRequired,move:i.bool.isRequired,onNext:i.func.isRequired,onFinish:i.func.isRequired,setRect:i.func.isRequired,start:i.bool.isRequired,offset:(0,i.oneOfType)([i.number,i.string]),prevRect:i.object,width:i.number},b.defaultProps={offset:void 0,width:void 0,prevRect:null};var w=function(e,t){return{elements:[{id:s(),index:0,height:0,start:!1,offset:e,rect:null,prevRect:null}],width:t,height:0}},x=function(e){function t(){var e,n,i;l(this,t);for(var f=arguments.length,u=Array(f),a=0;a<f;a++)u[a]=arguments[a];return n=i=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.next=null,i.state=w(i.props.offset),i.tickerRef=r.createRef(),i.dOnResize=o((function(){return i.onResize()}),150),i.componentDidMount=function(){i.setState({width:i.tickerRef.current.offsetWidth,height:i.props.height}),window.addEventListener("resize",i.dOnResize)},i.componentWillUnmount=function(){window.removeEventListener("resize",i.dOnResize)},i.setRect=function(e){var t=e.index,n=e.rect,r=(e.offset,e.nextOffset);i.setState((function(e){var o=e.elements.map((function(e){var i=e;return e.index===t&&(i.rect=n),e.index===t+1&&(i.prevRect=n,i.offset&&(i.offset=r)),i}));return{elements:o,height:i.props.height?e.height:c(o)}}))},i.onResize=function(){i.tickerRef.current&&i.tickerRef.current.offsetWidth!==i.state.width&&i.setState(m({},w(i.props.offset,i.tickerRef.current.offsetWidth),{height:i.props.height}))},i.onFinish=function(e){i.props.onFinish(),i.setState((function(t){return{elements:t.elements.filter((function(t){return t.id!==e}))}}))},i.onNext=function(e){e.id;var t=e.index,n=e.rect,r=e.nextOffset;i.props.onNext(t),i.setState((function(e){return{elements:[].concat(y(e.elements.map((function(e){var r=e;return e.index===t&&(r.rect=n),(0===e.index||e.offset||r.index===t+1)&&(r.start=!0),r}))),[{id:s(),index:e.elements[e.elements.length-1].index+1,height:0,start:!1,offset:r,rect:null,prevRect:n}])}}))},g(i,n)}return v(t,e),h(t,[{key:"render",value:function(){var e=this;return r.createElement("div",{className:"ticker",ref:this.tickerRef,style:{position:"relative",overflow:"hidden",height:this.state.height&&this.state.height+"px"}},this.state.width&&this.state.elements.map((function(t){return r.createElement(b,{key:t.id,id:t.id,index:t.index,start:t.start,offset:t.offset,prevRect:t.prevRect,direction:e.props.direction,mode:e.props.mode,move:e.props.move,speed:e.props.speed,onFinish:e.onFinish,onNext:e.onNext,setRect:e.setRect,width:e.state.width},e.props.children)})))}}]),t}(r.Component);x.propTypes={children:(0,i.oneOfType)([i.node,i.func]).isRequired,direction:i.string,mode:i.string,move:i.bool,offset:(0,i.oneOfType)([i.number,i.string]),speed:i.number,height:(0,i.oneOfType)([i.number,i.string]),onNext:i.func,onFinish:i.func},x.defaultProps={offset:0,speed:5,direction:"toLeft",mode:"chain",move:!0,height:void 0,onNext:function(){},onFinish:function(){}},t.default=x},97482:function(e,t,n){n.d(t,{Y:function(){return s}});var r=n(67294);!function(e){let t}((()=>void 0!==window.ScrollTimeline));new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);new WeakSet;const i={some:0,all:1};function o(e,t,{root:n,margin:r,amount:o="some"}={}){const s=function(e,t,n){var r;if(e instanceof Element)return[e];if("string"===typeof e){let i=document;t&&(i=t.current);const o=null!==(r=null===n||void 0===n?void 0:n[e])&&void 0!==r?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}(e),c=new WeakMap,f=new IntersectionObserver((e=>{e.forEach((e=>{const n=c.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);"function"===typeof n?c.set(e.target,n):f.unobserve(e.target)}else"function"===typeof n&&(n(e),c.delete(e.target))}))}),{root:n,rootMargin:r,threshold:"number"===typeof o?o:i[o]});
1return s.forEach((e=>f.observe(e))),()=>f.disconnect()}function s(e,{root:t,margin:n,amount:i,once:s=!1}={}){const[c,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{if(!e.current||s&&c)return;const r={root:t&&t.current||void 0,margin:n,amount:i};return o(e.current,(()=>(f(!0),s?void 0:()=>f(!1))),r)}),[t,e,n,s,i]),c}}}]);

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.