PageSourceSearch

https://pathogen.watch/_next/static/chunks/7099.7d2aa8cfcc4769f0.js

js pathogen.watch collected 2026-09-25 15:03:29 UTC 30,754 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4a7d75c4-1937-4387-a486-b51ac6e7e6ee",t._sentryDebugIdIdentifier="sentry-dbid-4a7d75c4-1937-4387-a486-b51ac6e7e6ee")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7099],{53316:function(t){function e(t,e,i,s){var o=null==s||"number"==typeof s||"boolean"==typeof s?s:i(s),r=e.get(o);return void 0===r&&(r=t.call(this,s),e.set(o,r)),r}function i(t,e,i){var s=Array.prototype.slice.call(arguments,3),o=i(s),r=e.get(o);return void 0===r&&(r=t.apply(this,s),e.set(o,r)),r}function s(){return JSON.stringify(arguments)}function o(){this.cache=Object.create(null)}o.prototype.has=function(t){return t in this.cache},o.prototype.get=function(t){return this.cache[t]},o.prototype.set=function(t,e){this.cache[t]=e};var r={create:function(){return new o}};t.exports=function(t,o){var n=o&&o.cache?o.cache:r,a=o&&o.serializer?o.serializer:s;return(o&&o.strategy?o.strategy:function(t,s){var o,r,n=1===t.length?e:i;return o=s.cache.create(),r=s.serializer,n.bind(this,t,o,r)})(t,{cache:n,serializer:a})},t.exports.strategies={variadic:function(t,e){var s,o;return s=e.cache.create(),o=e.serializer,i.bind(this,t,s,o)},monadic:function(t,i){var s,o;return s=i.cache.create(),o=i.serializer,e.bind(this,t,s,o)}}},55276:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"m5.58 16.89 5.77-4.07c.56-.4.56-1.24 0-1.63L5.58 7.11C4.91 6.65 4 7.12 4 7.93v8.14c0 .81.91 1.28 1.58.82zM13 7.93v8.14c0 .81.91 1.28 1.58.82l5.77-4.07c.56-.4.56-1.24 0-1.63l-5.77-4.07c-.67-.47-1.58 0-1.58.81z"}),"FastForwardRounded");e.Z=n},4574:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"M11 16.07V7.93c0-.81-.91-1.28-1.58-.82l-5.77 4.07c-.56.4-.56 1.24 0 1.63l5.77 4.07c.67.47 1.58 0 1.58-.81zm1.66-3.25 5.77 4.07c.66.47 1.58-.01 1.58-.82V7.93c0-.81-.91-1.28-1.58-.82l-5.77 4.07c-.57.4-.57 1.24 0 1.64z"}),"FastRewindRounded");e.Z=n},65450:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z"}),"PauseRounded");e.Z=n},8418:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");e.Z=n},52743:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"m7.58 16.89 5.77-4.07c.56-.4.56-1.24 0-1.63L7.58 7.11C6.91 6.65 6 7.12 6 7.93v8.14c0 .81.91 1.28 1.58.82zM16 7v10c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1s-1 .45-1 1z"}),"SkipNextRounded");e.Z=n},41026:function(t,e,i){"use strict";var s=i(64836);e.Z=void 0;var o=s(i(40631)),r=i(85893),n=(0,o.default)((0,r.jsx)("path",{d:"M7 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1zm3.66 6.82 5.77 4.07c.66.47 1.58-.01 1.58-.82V7.93c0-.81-.91-1.28-1.58-.82l-5.77 4.07c-.57.4-.57 1.24 0 1.64z"}),"SkipPreviousRounded");e.Z=n},42663:function(t,e,i){"use strict";i.d(e,{s:function(){return O}});var s,o,r=i(67294),n=i(61193),a=i.n(n),h=(s=function(t,e){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),p=function(){return(p=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},l={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){e.props.onResizeStart(t,e.props.direction)},e.onTouchStart=function(t){e.props.onResizeStart(t,e.props.direction)},e}return h(e,t),e.prototype.render=function(){return r.createElement("div",{className:this.props.className||"",style:p(p({position:"absolute",userSelect:"none"},l[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},e}(r.PureComponent),u=i(53316),c=i.n(u),f=(o=function(t,e){return(o=Object.
1setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),g=function(){return(g=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},b={width:"auto",height:"auto"},z=c()(function(t,e,i){return Math.max(Math.min(t,i),e)}),m=c()(function(t,e){return Math.round(t/e)*e}),v=c()(function(t,e){return RegExp(t,"i").test(e)}),w=function(t){return!!(t.touches&&t.touches.length)},y=c()(function(t,e,i){void 0===i&&(i=0);var s=e.reduce(function(i,s,o){return Math.abs(s-t)<Math.abs(e[i]-t)?o:i},0),o=Math.abs(e[s]-t);return 0===i||o<i?e[s]:t}),x=c()(function(t,e){return t.substr(t.length-e.length,e.length)===e}),S=c()(function(t){return"auto"===(t=t.toString())||x(t,"px")||x(t,"%")||x(t,"vh")||x(t,"vw")||x(t,"vmax")||x(t,"vmin")?t:t+"px"}),R=function(t,e,i,s){if(t&&"string"==typeof t){if(x(t,"px"))return Number(t.replace("px",""));if(x(t,"%")){var o=Number(t.replace("%",""))/100;return e*o}if(x(t,"vw")){var o=Number(t.replace("vw",""))/100;return i*o}if(x(t,"vh")){var o=Number(t.replace("vh",""))/100;return s*o}}return t},W=c()(function(t,e,i,s,o,r,n){return s=R(s,t.width,e,i),o=R(o,t.height,e,i),r=R(r,t.width,e,i),n=R(n,t.height,e,i),{maxWidth:void 0===s?void 0:Number(s),maxHeight:void 0===o?void 0:Number(o),minWidth:void 0===r?void 0:Number(r),minHeight:void 0===n?void 0:Number(n)}}),H=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],P="__resizable_base__",E=function(t){function e(e){var i=t.call(this,e)||this;return i.ratio=1,i.resizable=null,i.parentLeft=0,i.parentTop=0,i.resizableLeft=0,i.resizableRight=0,i.resizableTop=0,i.resizableBottom=0,i.targetLeft=0,i.targetTop=0,i.appendBase=function(){if(!i.resizable||!i.window)return null;var t=i.parentNode;if(!t)return null;var e=i.window.document.createElement("div");return e.style.width="100%",e.style.height="100%",e.style.position="absolute",e.style.transform="scale(0, 0)",e.style.left="0",e.style.flex="0 0 100%",e.classList?e.classList.add(P):e.className+=P,t.appendChild(e),e},i.removeBase=function(t){var e=i.parentNode;e&&e.removeChild(t)},i.ref=function(t){t&&(i.resizable=t)},i.state={isResizing:!1,width:void 0===(i.propsSize&&i.propsSize.width)?"auto":i.propsSize&&i.propsSize.width,height:void 0===(i.propsSize&&i.propsSize.height)?"auto":i.propsSize&&i.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},i.onResizeStart=i.onResizeStart.bind(i),i.onMouseMove=i.onMouseMove.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i}return f(e,t),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||b},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){var t=0,e=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,s=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),t="auto"!==this.resizable.style.width?this.resizable.offsetWidth:i,e="auto"!==this.resizable.style.height?this.resizable.offsetHeight:s,this.resizable.style.position=o}return{width:t,height:e}}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sizeStyle",{get:function(){var t=this,e=this.props.size,i=function(e){if(void 0===t.state[e]||"auto"===t.state[e])return"auto";if(t.propsSize&&t.propsSize[e]&&x(t.propsSize[e].toString(),"%")){if(x(t.state[e].toString(),"%"))return t.state[e].toString();var i=t.getParentSize();return Number(t.state[e].toString().replace("px",""))/i[e]*100+"%"}return S(t.state[e])};return{width:e&&void 0!==e.width&&!this.state.isResizing?S(e.width):i("width"),height:e&&void 0!==e.height&&!this.state.isResizing?S(e.height):i("height")}},enumerable:!1,configurable:!0}),e.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var e=!1,i=this.parentNode.style.flexWrap;"wrap"!==i&&(e=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%",t.style.minHeight="100%";var s={width:t.offsetWidth,height:t.offsetHeight};return e&&(this.parentNode.style.flexWrap=i),this.removeBase(t),s},e.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},e.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},e.prototype.componentDidMount=function(){if(this.resizable&&this.window){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==t.flexBasis?t.flexBasis:void 0})}},e.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},e.prototype.createSizeForCssProperty=function(t,e){var i=this.propsSize&&this.propsSize[e];return"auto"===this.state[e]&&this.state.original[e]===t&&(void 0===i||"auto"===i)?"auto":t},e.prototype.calculateNewMaxFromBoundary=function(t,e){var i,s,o=this.props.boundsByDirection,r=this.state.direction,n=o&&v("left",r),a=o&&v("top",r);if("parent"===this.props.bounds){var h=this.parentNode;h&&(i=n?this.resizableRight-this.parentLeft:h.offsetWidth+(this.parentLeft-this.resizableLeft),s=a?this.resizableBottom-this.parentTop:h.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(i=n?this.resizableRight:this.window.innerWidth-this.resizableLeft,s=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(i=n?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),s=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return i&&Number.isFinite(i)&&(t=t&&t<i?t:i),s&&Number.isFinite(s)&&(e=e&&e<s?e:s),{maxWidth:t,maxHeight:e}},e.prototype.calculateNewSizeFromDirection=function(t,e){var i=this.props.scale||1,s=this.props.resizeRatio||1,o=this.state,r=o.direction,n=o.original,a=this.props,h=a.lockAspectRatio,p=a.lockAspectRatioExtraHeight,l=a.lockAspectRatioExtraWidth,d=n.width,u=n.height,c=p||0,f=l||0;return v("right",r)&&(d=n.width+(t-n.x)*s/i,h&&(u=(d-f)/this.ratio+c)),v("left",r)&&(d=n.width-(t-n.x)*s/i,h&&(u=(d-f)/this.ratio+c)),v("bottom",r)&&(u=n.height+(e-n.y)*s/i,h&&(d=(u-c)*this.ratio+f)),v("top",r)&&(u=n.height-(e-n.y)*s/i,h&&(d=(u-c)*this.ratio+f)),{newWidth:d,newHeight:u}},e.prototype.calculateNewSizeFromAspectRatio=function(t,e,i,s){var o=this.props,r=o.lockAspectRatio,n=o.lockAspectRatioExtraHeight,a=o.lockAspectRatioExtraWidth,h=void 0===s.width?10:s.width,p=void 0===i.width||i.width<0?t:i.width,l=void 0===s.height?10:s.height,d=void 0===i.height||i.height<0?e:i.height,u=n||0,c=a||0;if(r){var f=(l-u)*this.ratio+c,g=(d-u)*this.ratio+c,b=(h-c)/this.ratio+u,m=(p-c)/this.ratio+u;t=z(t,Math.max(h,f),Math.min(p,g)),e=z(e,Math.max(l,b),Math.min(d,m))}else t=z(t,h,p),e=z(e,l,d);return{newWidth:t,newHeight:e}},e.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var t=this.parentNode;if(t){var e=t.getBoundingClientRect();this.parentLeft=e.left,this.parentTop=e.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var s=this.resizable.getBoundingClientRect(),o=s.left,r=s.top,n=s.right,a=s.bottom;this.resizableLeft=o,this.resizableRight=n,this.resizableTop=r,this.resizableBottom=a}},e.prototype.onResizeStart=function(t,e){if(this.resizable&&this.window){var i,s,o=0,r=0;
1if(t.nativeEvent&&((i=t.nativeEvent).clientX||0===i.clientX)&&(i.clientY||0===i.clientY)?(o=t.nativeEvent.clientX,r=t.nativeEvent.clientY):t.nativeEvent&&w(t.nativeEvent)&&(o=t.nativeEvent.touches[0].clientX,r=t.nativeEvent.touches[0].clientY),!this.props.onResizeStart||!this.resizable||!1!==this.props.onResizeStart(t,e,this.resizable)){this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var n=this.window.getComputedStyle(this.resizable);if("auto"!==n.flexBasis){var a=this.parentNode;if(a){var h=this.window.getComputedStyle(a).flexDirection;this.flexDir=h.startsWith("row")?"row":"column",s=n.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var p={original:{x:o,y:r,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:g(g({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:e,flexBasis:s};this.setState(p)}}},e.prototype.onMouseMove=function(t){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&w(t))try{t.preventDefault(),t.stopPropagation()}catch(t){}var e=this.props,i=e.maxWidth,s=e.maxHeight,o=e.minWidth,r=e.minHeight,n=w(t)?t.touches[0].clientX:t.clientX,a=w(t)?t.touches[0].clientY:t.clientY,h=this.state,p=h.direction,l=h.original,d=h.width,u=h.height,c=this.getParentSize(),f=W(c,this.window.innerWidth,this.window.innerHeight,i,s,o,r);i=f.maxWidth,s=f.maxHeight,o=f.minWidth,r=f.minHeight;var g=this.calculateNewSizeFromDirection(n,a),b=g.newHeight,z=g.newWidth,v=this.calculateNewMaxFromBoundary(i,s);this.props.snap&&this.props.snap.x&&(z=y(z,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(b=y(b,this.props.snap.y,this.props.snapGap));var S=this.calculateNewSizeFromAspectRatio(z,b,{width:v.maxWidth,height:v.maxHeight},{width:o,height:r});if(z=S.newWidth,b=S.newHeight,this.props.grid){var R=m(z,this.props.grid[0]),H=m(b,this.props.grid[1]),P=this.props.snapGap||0;z=0===P||Math.abs(R-z)<=P?R:z,b=0===P||Math.abs(H-b)<=P?H:b}var E={width:z-l.width,height:b-l.height};if(d&&"string"==typeof d){if(x(d,"%")){var M=z/c.width*100;z=M+"%"}else if(x(d,"vw")){var D=z/this.window.innerWidth*100;z=D+"vw"}else if(x(d,"vh")){var N=z/this.window.innerHeight*100;z=N+"vh"}}if(u&&"string"==typeof u){if(x(u,"%")){var M=b/c.height*100;b=M+"%"}else if(x(u,"vw")){var D=b/this.window.innerWidth*100;b=D+"vw"}else if(x(u,"vh")){var N=b/this.window.innerHeight*100;b=N+"vh"}}var C={width:this.createSizeForCssProperty(z,"width"),height:this.createSizeForCssProperty(b,"height")};"row"===this.flexDir?C.flexBasis=C.width:"column"===this.flexDir&&(C.flexBasis=C.height),this.setState(C),this.props.onResize&&this.props.onResize(t,p,this.resizable,E)}},e.prototype.onMouseUp=function(t){var e=this.state,i=e.isResizing,s=e.direction,o=e.original;if(i&&this.resizable){var r={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(t,s,this.resizable,r),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:g(g({},this.state.backgroundStyle),{cursor:"auto"})})}},e.prototype.updateSize=function(t){this.setState({width:t.width,height:t.height})},e.prototype.renderResizer=function(){var t=this,e=this.props,i=e.enable,s=e.handleStyles,o=e.handleClasses,n=e.handleWrapperStyle,a=e.handleWrapperClass,h=e.handleComponent;if(!i)return null;var p=Object.keys(i).map(function(e){return!1!==i[e]?r.createElement(d,{key:e,direction:e,onResizeStart:t.onResizeStart,replaceStyles:s&&s[e],className:o&&o[e]},h&&h[e]?h[e]:null):null});return r.createElement("div",{className:a,style:n},p)},e.prototype.render=function(){var t=this,e=Object.keys(this.props).reduce(function(e,i){return -1!==H.indexOf(i)||(e[i]=t.props[i]),e},{}),i=g(g(g({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var s=this.props.as||"div";return r.createElement(s,g({ref:this.ref,style:i,className:this.props.className},e),this.state.isResizing&&r.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},e.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{}
1,grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},e}(r.PureComponent),M=function(t,e){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},D=function(){return(D=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},N=a(),C={width:"auto",height:"auto",display:"inline-block",position:"absolute",top:0,left:0},O=function(t){function e(e){var i=t.call(this,e)||this;return i.resizingPosition={x:0,y:0},i.offsetFromParent={left:0,top:0},i.resizableElement={current:null},i.originalPosition={x:0,y:0},i.refDraggable=function(t){t&&(i.draggable=t)},i.refResizable=function(t){t&&(i.resizable=t,i.resizableElement.current=t.resizable)},i.state={resizing:!1,bounds:{top:0,right:0,bottom:0,left:0},maxWidth:e.maxWidth,maxHeight:e.maxHeight},i.onResizeStart=i.onResizeStart.bind(i),i.onResize=i.onResize.bind(i),i.onResizeStop=i.onResizeStop.bind(i),i.onDragStart=i.onDragStart.bind(i),i.onDrag=i.onDrag.bind(i),i.onDragStop=i.onDragStop.bind(i),i.getMaxSizesFromProps=i.getMaxSizesFromProps.bind(i),i}return function(t,e){function i(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(e,t),e.prototype.componentDidMount=function(){this.updateOffsetFromParent();var t=this.offsetFromParent,e=t.left,i=t.top,s=this.getDraggablePosition(),o=s.x,r=s.y;this.draggable.setState({x:o-e,y:r-i}),this.forceUpdate()},e.prototype.getDraggablePosition=function(){var t=this.draggable.state;return{x:t.x,y:t.y}},e.prototype.getParent=function(){return this.resizable&&this.resizable.parentNode},e.prototype.getParentSize=function(){return this.resizable.getParentSize()},e.prototype.getMaxSizesFromProps=function(){return{maxWidth:void 0===this.props.maxWidth?Number.MAX_SAFE_INTEGER:this.props.maxWidth,maxHeight:void 0===this.props.maxHeight?Number.MAX_SAFE_INTEGER:this.props.maxHeight}},e.prototype.getSelfElement=function(){return this.resizable&&this.resizable.resizable},e.prototype.getOffsetHeight=function(t){var e=this.props.scale;switch(this.props.bounds){case"window":return window.innerHeight/e;case"body":return document.body.offsetHeight/e;default:return t.offsetHeight}},e.prototype.getOffsetWidth=function(t){var e=this.props.scale;switch(this.props.bounds){case"window":return window.innerWidth/e;case"body":return document.body.offsetWidth/e;default:return t.offsetWidth}},e.prototype.onDragStart=function(t,e){this.props.onDragStart&&this.props.onDragStart(t,e);var i,s=this.getDraggablePosition();if(this.originalPosition=s,this.props.bounds){var o=this.getParent(),r=this.props.scale;if("parent"===this.props.bounds)i=o;else if("body"===this.props.bounds){var n=o.getBoundingClientRect(),a=n.left,h=n.top,p=document.body.getBoundingClientRect(),l=-(a-o.offsetLeft*r-p.left)/r,d=-(h-o.offsetTop*r-p.top)/r,u=(document.body.offsetWidth-this.resizable.size.width*r)/r+l,c=(document.body.offsetHeight-this.resizable.size.height*r)/r+d;return this.setState({bounds:{top:d,right:u,bottom:c,left:l}})}else if("window"===this.props.bounds){if(!this.resizable)return;var f=o.getBoundingClientRect(),g=f.left,b=f.top,z=-(g-o.offsetLeft*r)/r,m=-(b-o.offsetTop*r)/r,u=(window.innerWidth-this.resizable.size.width*r)/r+z,c=(window.innerHeight-this.resizable.size.height*r)/r+m;return this.setState({bounds:{top:m,right:u,bottom:c,left:z}})}else"string"==typeof this.props.bounds?i=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(i=this.props.bounds);if(i instanceof HTMLElement&&o instanceof HTMLElement){var v=i.getBoundingClientRect(),w=v.left,y=v.top,x=o.getBoundingClientRect(),S=x.left,R=x.top,W=(w-S)/r,H=y-R;if(this.resizable){this.updateOffsetFromParent();var P=this.offsetFromParent;this.setState({bounds:{top:H-P.top,right:W+(i.offsetWidth-this.resizable.size.width)-P.left/r,bottom:H+(i.offsetHeight-this.resizable.size.height)-P.top,left
1:W-P.left/r}})}}}},e.prototype.onDrag=function(t,e){if(this.props.onDrag){var i=this.offsetFromParent,s=i.left,o=i.top;if(!this.props.dragAxis||"both"===this.props.dragAxis)return this.props.onDrag(t,D(D({},e),{x:e.x-s,y:e.y-o}));if("x"===this.props.dragAxis)return this.props.onDrag(t,D(D({},e),{x:e.x+s,y:this.originalPosition.y+o,deltaY:0}));if("y"===this.props.dragAxis)return this.props.onDrag(t,D(D({},e),{x:this.originalPosition.x+s,y:e.y+o,deltaX:0}))}},e.prototype.onDragStop=function(t,e){if(this.props.onDragStop){var i=this.offsetFromParent,s=i.left,o=i.top;if(!this.props.dragAxis||"both"===this.props.dragAxis)return this.props.onDragStop(t,D(D({},e),{x:e.x+s,y:e.y+o}));if("x"===this.props.dragAxis)return this.props.onDragStop(t,D(D({},e),{x:e.x+s,y:this.originalPosition.y+o,deltaY:0}));if("y"===this.props.dragAxis)return this.props.onDragStop(t,D(D({},e),{x:this.originalPosition.x+s,y:e.y+o,deltaX:0}))}},e.prototype.onResizeStart=function(t,e,i){t.stopPropagation(),this.setState({resizing:!0});var s=this.props.scale,o=this.offsetFromParent,r=this.getDraggablePosition();if(this.resizingPosition={x:r.x+o.left,y:r.y+o.top},this.originalPosition=r,this.props.bounds){var n=this.getParent(),a=void 0;"parent"===this.props.bounds?a=n:"body"===this.props.bounds?a=document.body:"window"===this.props.bounds?a=window:"string"==typeof this.props.bounds?a=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(a=this.props.bounds);var h=this.getSelfElement();if(h instanceof Element&&(a instanceof HTMLElement||a===window)&&n instanceof HTMLElement){var p=this.getMaxSizesFromProps(),l=p.maxWidth,d=p.maxHeight,u=this.getParentSize();if(l&&"string"==typeof l){if(l.endsWith("%")){var c=Number(l.replace("%",""))/100;l=u.width*c}else l.endsWith("px")&&(l=Number(l.replace("px","")))}if(d&&"string"==typeof d){if(d.endsWith("%")){var c=Number(d.replace("%",""))/100;d=u.width*c}else d.endsWith("px")&&(d=Number(d.replace("px","")))}var f=h.getBoundingClientRect(),g=f.left,b=f.top,z="window"===this.props.bounds?{left:0,top:0}:a.getBoundingClientRect(),m=z.left,v=z.top,w=this.getOffsetWidth(a),y=this.getOffsetHeight(a),x=e.toLowerCase().endsWith("left"),S=e.toLowerCase().endsWith("right"),R=e.startsWith("top"),W=e.startsWith("bottom");if((x||R)&&this.resizable){var H=(g-m)/s+this.resizable.size.width;this.setState({maxWidth:H>Number(l)?l:H})}if(S||this.props.lockAspectRatio&&!x&&!R){var H=w+(m-g)/s;this.setState({maxWidth:H>Number(l)?l:H})}if((R||x)&&this.resizable){var H=(b-v)/s+this.resizable.size.height;this.setState({maxHeight:H>Number(d)?d:H})}if(W||this.props.lockAspectRatio&&!R&&!x){var H=y+(v-b)/s;this.setState({maxHeight:H>Number(d)?d:H})}}}else this.setState({maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight});this.props.onResizeStart&&this.props.onResizeStart(t,e,i)},e.prototype.onResize=function(t,e,i,s){var o={x:this.originalPosition.x,y:this.originalPosition.y},r=-s.width,n=-s.height;-1!==["top","left","topLeft","bottomLeft","topRight"].indexOf(e)&&("bottomLeft"===e?o.x+=r:("topRight"===e||(o.x+=r),o.y+=n)),(o.x!==this.draggable.state.x||o.y!==this.draggable.state.y)&&this.draggable.setState(o),this.updateOffsetFromParent();var a=this.offsetFromParent,h=this.getDraggablePosition().x+a.left,p=this.getDraggablePosition().y+a.top;this.resizingPosition={x:h,y:p},this.props.onResize&&this.props.onResize(t,e,i,s,{x:h,y:p})},e.prototype.onResizeStop=function(t,e,i,s){this.setState({resizing:!1});var o=this.getMaxSizesFromProps(),r=o.maxWidth,n=o.maxHeight;this.setState({maxWidth:r,maxHeight:n}),this.props.onResizeStop&&this.props.onResizeStop(t,e,i,s,this.resizingPosition)},e.prototype.updateSize=function(t){this.resizable&&this.resizable.updateSize({width:t.width,height:t.height})},e.prototype.updatePosition=function(t){this.draggable.setState(t)},e.prototype.updateOffsetFromParent=function(){var t=this.props.scale,e=this.getParent(),i=this.getSelfElement();if(!e||null===i)return{top:0,left:0};var s=e.getBoundingClientRect(),o=s.left,r=s.top,n=i.getBoundingClientRect(),a=this.getDraggablePosition(),h=e.scrollLeft,p=e.scrollTop;this.offsetFromParent={left:n.left-o+h-a.x*t,top:n.top-r+p-a.y*t}},e.prototype.render=function(){var t,e=this.props,i=e.disableDragging,s=e.style,o=e.dragHandleClassName,n=e.position,a=e.onMouseDown,h=e.onMouseUp,p=e.dragAxis,l=e.dragGrid,d=e.bounds,u=e.enableUserSelectHack,c=e.cancel,f=e.children,g=(e.onResizeStart,e.onResize,e.onResizeStop,e.onDragStart,e.onDrag,e.onDragStop,e.resizeHandleStyles),b=e.resizeHandleClasses,z=e.resizeHandleComponent,m=e.enableResizing,v=e.resizeGrid,w=e.resizeHandleWrapperClass,y=e.resizeHandleWrapperStyle,x=e.scale,S=e.allowAnyClick,R=function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&0>e.indexOf(s)&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,s=Object.getOwnPropertySymbols(t);o<s.length;o++)0>e.indexOf(s[o])&&Object.prototype.propertyIsEnumerable.call(t,s[o])&&(i[s[o]]=t[s[o]]);return i}(e,["disableDragging","style","dragHandleClassName","position","onMouseDown","onMouseUp","dragAxis","dragGrid","boun
1ds","enableUserSelectHack","cancel","children","onResizeStart","onResize","onResizeStop","onDragStart","onDrag","onDragStop","resizeHandleStyles","resizeHandleClasses","resizeHandleComponent","enableResizing","resizeGrid","resizeHandleWrapperClass","resizeHandleWrapperStyle","scale","allowAnyClick"]),W=this.props.default?D({},this.props.default):void 0;delete R.default;var H=D(D(D({},C),i||o?{cursor:"auto"}:{cursor:"move"}),s),P=this.offsetFromParent,M=P.left,O=P.top;n&&(t={x:n.x-M,y:n.y-O});var A=this.state.resizing?void 0:t,L=this.state.resizing?"both":p;return(0,r.createElement)(N,{ref:this.refDraggable,handle:o?".".concat(o):void 0,defaultPosition:W,onMouseDown:a,onMouseUp:h,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,axis:L,disabled:i,grid:l,bounds:d?this.state.bounds:void 0,position:A,enableUserSelectHack:u,cancel:c,scale:x,allowAnyClick:S,nodeRef:this.resizableElement},(0,r.createElement)(E,D({},R,{ref:this.refResizable,defaultSize:W,size:this.props.size,enable:"boolean"==typeof m?{bottom:m,bottomLeft:m,bottomRight:m,left:m,right:m,top:m,topLeft:m,topRight:m}:m,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,style:H,minWidth:this.props.minWidth,minHeight:this.props.minHeight,maxWidth:this.state.resizing?this.state.maxWidth:this.props.maxWidth,maxHeight:this.state.resizing?this.state.maxHeight:this.props.maxHeight,grid:v,handleWrapperClass:w,handleWrapperStyle:y,lockAspectRatio:this.props.lockAspectRatio,lockAspectRatioExtraWidth:this.props.lockAspectRatioExtraWidth,lockAspectRatioExtraHeight:this.props.lockAspectRatioExtraHeight,handleStyles:g,handleClasses:b,handleComponent:z,scale:this.props.scale}),f))},e.defaultProps={maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,scale:1,onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},onDragStart:function(){},onDrag:function(){},onDragStop:function(){}},e}(r.PureComponent)}}]);

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.