PageSourceSearch

https://xynergy.ai/_next/static/chunks/5960-2b43a5b91bf7bb47.js

js xynergy.ai collected 2026-10-05 16:01:48 UTC 27,304 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5960],{2416:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},19208:e=>{"use strict";var t=!!("u">typeof window&&window.document&&window.document.createElement);e.exports={canUseDOM:t,canUseWorkers:"u">typeof Worker,canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t}},20290:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},22573:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},27335:e=>{var t,o,r,i,n,a,s,c,h,p,u,d,l,v,m,f=!1;function g(){if(!f){f=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Ice
1weasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),l=/\b(iP[ao]d)/.exec(e),p=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),u=!!/Win64/.exec(e),g){(t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,o=g[2]?parseFloat(g[2]):NaN,r=g[3]?parseFloat(g[3]):NaN,n=(i=g[4]?parseFloat(g[4]):NaN)&&(g=/(?:Chrome\/(\d+\.\d+))/.exec(e))&&g[1]?parseFloat(g[1]):NaN}else t=o=r=n=i=NaN;if(y){if(y[1]){var C=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!C||parseFloat(C[1].replace("_","."))}else s=!1;c=!!y[2],h=!!y[3]}else s=c=h=!1}}var y={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||a>t},ie64:function(){return y.ie()&&u},firefox:function(){return g()||o},opera:function(){return g()||r},webkit:function(){return g()||i},safari:function(){return y.webkit()},chrome:function(){return g()||n},windows:function(){return g()||c},osx:function(){return g()||s},linux:function(){return g()||h},iphone:function(){return g()||d},mobile:function(){return g()||d||l||p||m},nativeApp:function(){return g()||v},android:function(){return g()||p},ipad:function(){return g()||l}};e.exports=y},32898:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},42176:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},43125:(e,t,o)=>{"use strict";var r,i=o(19208);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,n=o in document;if(!n){var a=document.createElement("div");a.setAttribute(o,"return;"),n="function"==typeof a[o]}return!n&&r&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}},51475:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},51577:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},51976:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]])},61828:(e,t,o)=>{e.exports=o(62037)},61997:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},62037:(e,t,o)=>{"use strict";var r=o(27335),i=o(43125);function n(e){var t=0,o=0,r=0,i=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=10*t,i=10*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),r&&!t&&(t=r<1?-1:1),i&&!o&&(o=i<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:i}}n.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=n},67592:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},76842:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});
1let r=(0,o(46775).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},78308:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},79982:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>f});var r=o(29024),i=o(31615),n=o(61828);function a(e,t,o,r,i){void 0===i&&(i=0);var n=l(t.width,t.height,i),a=n.width,c=n.height;return{x:s(e.x,a,o.width,r),y:s(e.y,c,o.height,r)}}function s(e,t,o,r){var i=Math.abs(t*r/2-o/2);return v(e,-i,i)}function c(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function h(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function p(e,t){return Math.min(e,Math.max(0,t))}function u(e,t){return t}function d(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function l(e,t,o){var r=o*Math.PI/180;return{width:Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t),height:Math.abs(Math.sin(r)*e)+Math.abs(Math.cos(r)*t)}}function v(e,t,o){return Math.min(Math.max(e,t),o)}function m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return"string"==typeof e&&!!(e.length>0)}).join(" ").trim()}var f=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.cropperRef=i.createRef(),o.imageRef=i.createRef(),o.videoRef=i.createRef(),o.containerPosition={x:0,y:0},o.containerRef=null,o.styleRef=null,o.containerRect=null,o.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},o.dragStartPosition={x:0,y:0},o.dragStartCrop={x:0,y:0},o.gestureZoomStart=0,o.gestureRotationStart=0,o.isTouching=!1,o.lastPinchDistance=0,o.lastPinchRotation=0,o.rafDragTimeout=null,o.rafPinchTimeout=null,o.wheelTimer=null,o.currentDoc="u">typeof document?document:null,o.currentWindow="u">typeof window?window:null,o.resizeObserver=null,o.previousCropSize=null,o.isInitialized=!1,o.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},o.initResizeObserver=function(){if(void 0!==window.ResizeObserver&&o.containerRef){var e=!0;o.resizeObserver=new window.ResizeObserver(function(t){if(e){e=!1;return}o.computeSizes()}),o.resizeObserver.observe(o.containerRef)}},o.preventZoomSafari=function(e){return e.preventDefault()},o.cleanEvents=function(){o.currentDoc&&(o.currentDoc.removeEventListener("mousemove",o.onMouseMove),o.currentDoc.removeEventListener("mouseup",o.onDragStopped),o.currentDoc.removeEventListener("touchmove",o.onTouchMove),o.currentDoc.removeEventListener("touchend",o.onDragStopped),o.currentDoc.removeEventListener("gesturechange",o.onGestureChange),o.currentDoc.removeEventListener("gestureend",o.onGestureEnd),o.currentDoc.removeEventListener("scroll",o.onScroll))},o.clearScrollEvent=function(){o.containerRef&&o.containerRef.removeEventListener("wheel",o.onWheel),o.wheelTimer&&clearTimeout(o.wheelTimer)},o.onMediaLoad=function(){var e=o.computeSizes();e&&(o.previousCropSize=e,o.emitCropData(),o.setInitialCrop(e),o.isInitialized=!0),o.props.onMediaLoaded&&o.props.onMediaLoaded(o.mediaSize)},o.setInitialCrop=function(e){if(o.props.initialCroppedAreaPercentages){var t,r,i,n,a,s,c,h=(t=o.props.initialCroppedAreaPercentages,r=o.mediaSize,i=o.props.rotation,n=o.props.minZoom,a=o.props.maxZoom,s=l(r.width,r.height,i),{crop:{x:(c=v(e.width/s.width*(100/t.width),n,a))*s.width/2-e.width/2-s.width*c*(t.x/100),y:c*s.height/2-e.height/2-s.height*c*(t.y/100)},zoom:c}
1),p=h.crop,u=h.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(u)}else if(o.props.initialCroppedAreaPixels){var d,m,f,g,y,w,C,S,z,x=(d=o.props.initialCroppedAreaPixels,m=o.mediaSize,f=o.props.rotation,g=o.props.minZoom,y=o.props.maxZoom,void 0===f&&(f=0),w=l(m.naturalWidth,m.naturalHeight,f),S=v((C=m.width>m.height?m.width/m.naturalWidth:m.height/m.naturalHeight,e.height>e.width?e.height/(d.height*C):e.width/(d.width*C)),g,y),z=e.height>e.width?e.height/d.height:e.width/d.width,{crop:{x:((w.width-d.width)/2-d.x)*z,y:((w.height-d.height)/2-d.y)*z},zoom:S}),p=x.crop,u=x.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(u)}},o.computeSizes=function(){var e,t,i,n,a,s,c=o.imageRef.current||o.videoRef.current;if(c&&o.containerRef){o.containerRect=o.containerRef.getBoundingClientRect(),o.saveContainerPosition();var h,p,u,d,v,m,f,g,y,w,C,S=o.containerRect.width/o.containerRect.height,z=(null==(e=o.imageRef.current)?void 0:e.naturalWidth)||(null==(t=o.videoRef.current)?void 0:t.videoWidth)||0,x=(null==(i=o.imageRef.current)?void 0:i.naturalHeight)||(null==(n=o.videoRef.current)?void 0:n.videoHeight)||0,R=c.offsetWidth<z||c.offsetHeight<x,M=z/x,b=void 0;if(R)switch(o.state.mediaObjectFit){default:case"contain":b=S>M?{width:o.containerRect.height*M,height:o.containerRect.height}:{width:o.containerRect.width,height:o.containerRect.width/M};break;case"horizontal-cover":b={width:o.containerRect.width,height:o.containerRect.width/M};break;case"vertical-cover":b={width:o.containerRect.height*M,height:o.containerRect.height}}else b={width:c.offsetWidth,height:c.offsetHeight};o.mediaSize=(0,r.Cl)((0,r.Cl)({},b),{naturalWidth:z,naturalHeight:x}),o.props.setMediaSize&&o.props.setMediaSize(o.mediaSize);var D=o.props.cropSize?o.props.cropSize:(h=o.mediaSize.width,p=o.mediaSize.height,u=o.containerRect.width,d=o.containerRect.height,v=o.props.aspect,void 0===(m=o.props.rotation)&&(m=0),g=(f=l(h,p,m)).width,y=f.height,(w=Math.min(g,u))>(C=Math.min(y,d))*v?{width:C*v,height:C}:{width:w,height:w/v});return((null==(a=o.state.cropSize)?void 0:a.height)!==D.height||(null==(s=o.state.cropSize)?void 0:s.width)!==D.width)&&o.props.onCropSizeChange&&o.props.onCropSizeChange(D),o.setState({cropSize:D},o.recomputeCropPosition),o.props.setCropSize&&o.props.setCropSize(D),D}},o.saveContainerPosition=function(){if(o.containerRef){var e=o.containerRef.getBoundingClientRect();o.containerPosition={x:e.left,y:e.top}}},o.onMouseDown=function(e){o.currentDoc&&(e.preventDefault(),o.currentDoc.addEventListener("mousemove",o.onMouseMove),o.currentDoc.addEventListener("mouseup",o.onDragStopped),o.saveContainerPosition(),o.onDragStart(t.getMousePoint(e)))},o.onMouseMove=function(e){return o.onDrag(t.getMousePoint(e))},o.onScroll=function(e){o.currentDoc&&(e.preventDefault(),o.saveContainerPosition())},o.onTouchStart=function(e){!o.currentDoc||(o.isTouching=!0,(!o.props.onTouchRequest||o.props.onTouchRequest(e))&&(o.currentDoc.addEventListener("touchmove",o.onTouchMove,{passive:!1}),o.currentDoc.addEventListener("touchend",o.onDragStopped),o.saveContainerPosition(),2===e.touches.length?o.onPinchStart(e):1===e.touches.length&&o.onDragStart(t.getTouchPoint(e.touches[0]))))},o.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?o.onPinchMove(e):1===e.touches.length&&o.onDrag(t.getTouchPoint(e.touches[0]))},o.onGestureStart=function(e){o.currentDoc&&(e.preventDefault(),o.currentDoc.addEventListener("gesturechange",o.onGestureChange),o.currentDoc.addEventListener("gestureend",o.onGestureEnd),o.gestureZoomStart=o.props.zoom,o.gestureRotationStart=o.props.rotation)},o.onGestureChange=function(e){if(e.preventDefault(),!o.isTouching){var r=t.getMousePoint(e),i=o.gestureZoomStart-1+e.scale;if(o.setNewZoom(i,r,{shouldUpdatePosition:!0}),o.props.onRotationChange){var n=o.gestureRotationStart+e.rotation;o.props.onRotationChange(n)}}},o.onGestureEnd=function(e){o.cleanEvents()},o.onDragStart=function(e){var t,i;o.dragStartPosition={x:e.x,y:e.y},o.dragStartCrop=(0,r.Cl)({},o.props.crop),null==(i=(t=o.props).onInteractionStart)||i.call(t)},o.onDrag=function(e){var t=e.x,r=e.y;o.currentWindow&&(o.rafDragTimeout&&o.currentWindow.cancelAnimationFrame(o.rafDragTimeout),o.rafDragTimeout=o.currentWindow.requestAnimationFrame(function(){if(o.state.cropSize&&void 0!==t&&void 0!==r){var e=t-o.dragStartPosition.x,i=r-o.dragStartPosition.y,n={x:o.dragStartCrop.x+e,y:o.dragStartCrop.y+i},s=o.props.restrictPosition?a(n,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):n;o.props.onCropChange(s)}}))},o.onDragStopped=function(){var e,t;o.isTouching=!1,o.cleanEvents(),o.emitCropData(),null==(t=(e=o.props).onInteractionEnd)||t.call(e)},o.onWheel=function(e){if(o.currentWindow&&(!o.props.onWheelRequest||o.props.onWheelRequest(e))){e.preventDefault();var r=t.getMousePoint(e),i=n(e).pixelY,a=o.props.zoom-i*o.props.zoomSpeed/200;o.setNewZoom(a,r,{shouldUpdatePosition:!0}),o.state.hasWheelJustStarted||o.setState({hasWheelJustStarted:!0},function(){var e,t;return null==(t=(e=o.props).onInteractionStart)?void 0:t.call(e)}),o.wheelTimer&&clearTimeout(o.wheelTimer),o.wheelTimer=o.currentWindow.setTimeout(function(){return o.setState({hasWheelJustStarted:!1},function(){var e,t;return null==(t=(e=o.props).onInteractionEnd)?void 0:t.call(e)})},250)}},o.getPointOnContainer=function(e,t){var r=e.x,i=e.y;if(!o.containerRect)throw Error("The Cropper is not mounted");return{x:o.containerRect.width/2-(r-t.x),y:o.containerRect.height/2-(i-t.y)}},o.getPointOnMedia=function(e){var t=e.x,r=e.y,i=o.props,n=i.crop,a=i.zoom;return{x:(t+n.x)/a,y:(r+n.y)/a}},o.setNewZoom=function(e,t,r){var i=(void 0===r?{}:r).shouldUpdatePosition;if(o.state.cropSize&&o.props.onZoomChange){var n=v(e,o.props.minZoom,o.props.maxZoom);if(void 0===i||i){var s=o.getPointOnContainer(t,o.containerPosition),c=o.getPointOnMedia(s),h={x:c.x*n-s.x,y:c.y*n-s.y},p=o.props.restrictPosition?a(h,o.mediaSize,o.state.cropSize,n,o.props.rotation):h;o.props.onCropChange(p)}o.props.onZoomChange(n)}},o.getCropData=function(){var e,t,i,n,s,c,h,d,v,m,f,g,y,w,C;return o.state.cropSize?(e=o.props.restrictPosition?a(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop,t=o.mediaSize,i=o.state.cropSize,n=o.getAspect(),s=o.props.zoom,c=o.props.rotation,h=o.props.restrictPosition,void 0===c&&(c=0),void 0===h&&(h=!0),d=h?p:u,v=l(t.width,t.height,c),m=l(t.naturalWi
1dth,t.naturalHeight,c),f={x:d(100,((v.width-i.width/s)/2-e.x/s)/v.width*100),y:d(100,((v.height-i.height/s)/2-e.y/s)/v.height*100),width:d(100,i.width/v.width*100/s),height:d(100,i.height/v.height*100/s)},g=Math.round(d(m.width,f.width*m.width/100)),y=Math.round(d(m.height,f.height*m.height/100)),w=m.width>=m.height*n?{width:Math.round(y*n),height:y}:{width:g,height:Math.round(g/n)},C=(0,r.Cl)((0,r.Cl)({},w),{x:Math.round(d(m.width-w.width,f.x*m.width/100)),y:Math.round(d(m.height-w.height,f.y*m.height/100))}),{croppedAreaPercentages:f,croppedAreaPixels:C}):null},o.emitCropData=function(){var e=o.getCropData();if(e){var t=e.croppedAreaPercentages,r=e.croppedAreaPixels;o.props.onCropComplete&&o.props.onCropComplete(t,r),o.props.onCropAreaChange&&o.props.onCropAreaChange(t,r)}},o.emitCropAreaChange=function(){var e=o.getCropData();if(e){var t=e.croppedAreaPercentages,r=e.croppedAreaPixels;o.props.onCropAreaChange&&o.props.onCropAreaChange(t,r)}},o.recomputeCropPosition=function(){if(o.state.cropSize){var e,t,r=o.props.crop;if(o.isInitialized&&(null==(e=o.previousCropSize)?void 0:e.width)&&(null==(t=o.previousCropSize)?void 0:t.height)&&(Math.abs(o.previousCropSize.width-o.state.cropSize.width)>1e-6||Math.abs(o.previousCropSize.height-o.state.cropSize.height)>1e-6)){var i=o.state.cropSize.width/o.previousCropSize.width,n=o.state.cropSize.height/o.previousCropSize.height;r={x:o.props.crop.x*i,y:o.props.crop.y*n}}var s=o.props.restrictPosition?a(r,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):r;o.previousCropSize=o.state.cropSize,o.props.onCropChange(s),o.emitCropData()}},o.onKeyDown=function(e){var t,i,n=o.props,s=n.crop,c=n.onCropChange,h=n.keyboardStep,p=n.zoom,u=n.rotation,d=h;if(o.state.cropSize){e.shiftKey&&(d*=.2);var l=(0,r.Cl)({},s);switch(e.key){case"ArrowUp":l.y-=d,e.preventDefault();break;case"ArrowDown":l.y+=d,e.preventDefault();break;case"ArrowLeft":l.x-=d,e.preventDefault();break;case"ArrowRight":l.x+=d,e.preventDefault();break;default:return}o.props.restrictPosition&&(l=a(l,o.mediaSize,o.state.cropSize,p,u)),e.repeat||null==(i=(t=o.props).onInteractionStart)||i.call(t),c(l)}},o.onKeyUp=function(e){var t,r;switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":e.preventDefault();break;default:return}o.emitCropData(),null==(r=(t=o.props).onInteractionEnd)||r.call(t)},o}return(0,r.C6)(t,e),t.prototype.componentDidMount=function(){this.currentDoc&&this.currentWindow&&(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),void 0===window.ResizeObserver&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=".reactEasyCrop_Container {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow: hidden;\n  user-select: none;\n  touch-action: none;\n  cursor: move;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n  max-width: 100%;\n  max-height: 100%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n  width: 100%;\n  height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n  width: auto;\n  height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  box-sizing: border-box;\n  box-shadow: 0 0 0 9999em;\n  color: rgba(0, 0, 0, 0.5);\n  overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n  border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 0;\n  bottom: 0;\n  left: 33.33%;\n  right: 33.33%;\n  border-top: 0;\n  border-bottom: 0;\n}
1\n\n.reactEasyCrop_CropAreaGrid::after {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 33.33%;\n  bottom: 33.33%;\n  left: 0;\n  right: 0;\n  border-left: 0;\n  border-right: 0;\n}\n",this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},t.prototype.componentWillUnmount=function(){var e,t;this.currentDoc&&this.currentWindow&&(void 0===window.ResizeObserver&&this.currentWindow.removeEventListener("resize",this.computeSizes),null==(e=this.resizeObserver)||e.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&(null==(t=this.styleRef.parentNode)||t.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(e){e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect||e.objectFit!==this.props.objectFit?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null==(t=e.cropSize)?void 0:t.height)!==(null==(o=this.props.cropSize)?void 0:o.height)||(null==(r=e.cropSize)?void 0:r.width)!==(null==(i=this.props.cropSize)?void 0:i.width)?this.computeSizes():((null==(n=e.crop)?void 0:n.x)!==(null==(a=this.props.crop)?void 0:a.x)||(null==(s=e.crop)?void 0:s.y)!==(null==(c=this.props.crop)?void 0:c.y))&&this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),e.video!==this.props.video&&(null==(h=this.videoRef.current)||h.load());var t,o,r,i,n,a,s,c,h,p=this.getObjectFit();p!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:p},this.computeSizes)},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,o=e.aspect;return t?t.width/t.height:o},t.prototype.getObjectFit=function(){var e,t,o,r;if("cover"===this.props.objectFit){if((this.imageRef.current||this.videoRef.current)&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var i=this.containerRect.width/this.containerRect.height;return((null==(e=this.imageRef.current)?void 0:e.naturalWidth)||(null==(t=this.videoRef.current)?void 0:t.videoWidth)||0)/((null==(o=this.imageRef.current)?void 0:o.naturalHeight)||(null==(r=this.videoRef.current)?void 0:r.videoHeight)||0)<i?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(e){var o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=c(o,r),this.lastPinchRotation=h(o,r),this.onDragStart(d(o,r))},t.prototype.onPinchMove=function(e){var o=this;if(this.currentDoc&&this.currentWindow){var r=t.getTouchPoint(e.touches[0]),i=t.getTouchPoint(e.touches[1]),n=d(r,i);this.onDrag(n),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var e=c(r,i),t=o.props.zoom*(e/o.lastPinchDistance);o.setNewZoom(t,n,{shouldUpdatePosition:!1}),o.lastPinchDistance=e;var a=h(r,i),s=o.props.rotation+(a-o.lastPinchRotation);o.props.onRotationChange&&o.props.onRotationChange(s),o.lastPinchRotation=a})}},t.prototype.render=function(){var e,t=this,o=this.props,n=o.image,a=o.video,s=o.mediaProps,c=o.cropperProps,h=o.transform,p=o.crop,u=p.x,d=p.y,l=o.rotation,v=o.zoom,f=o.cropShape,g=o.showGrid,y=o.roundCropAreaPixels,w=o.style,C=w.containerStyle,S=w.cropAreaStyle,z=w.mediaStyle,x=o.classes,R=x.containerClassName,M=x.cropAreaClassName,b=x.mediaClassName,D=null!=(e=this.state.mediaObjectFit)?e:this.getObjectFit();return i.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(e){return t.containerRef
1=e},"data-testid":"container",style:C,className:m("reactEasyCrop_Container",R)},n?i.createElement("img",(0,r.Cl)({alt:"",className:m("reactEasyCrop_Image","contain"===D&&"reactEasyCrop_Contain","horizontal-cover"===D&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===D&&"reactEasyCrop_Cover_Vertical",b)},s,{src:n,ref:this.imageRef,style:(0,r.Cl)((0,r.Cl)({},z),{transform:h||"translate(".concat(u,"px, ").concat(d,"px) rotate(").concat(l,"deg) scale(").concat(v,")")}),onLoad:this.onMediaLoad})):a&&i.createElement("video",(0,r.Cl)({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:m("reactEasyCrop_Video","contain"===D&&"reactEasyCrop_Contain","horizontal-cover"===D&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===D&&"reactEasyCrop_Cover_Vertical",b)},s,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:(0,r.Cl)((0,r.Cl)({},z),{transform:h||"translate(".concat(u,"px, ").concat(d,"px) rotate(").concat(l,"deg) scale(").concat(v,")")}),controls:!1}),(Array.isArray(a)?a:[{src:a}]).map(function(e){return i.createElement("source",(0,r.Cl)({key:e.src},e))})),this.state.cropSize&&i.createElement("div",(0,r.Cl)({ref:this.cropperRef,style:(0,r.Cl)((0,r.Cl)({},S),{width:y?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:y?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:m("reactEasyCrop_CropArea","round"===f&&"reactEasyCrop_CropAreaRound",g&&"reactEasyCrop_CropAreaGrid",M)},c)))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:1},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(i.Component)},80345:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},85183:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},86754:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]])},88660:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(46775).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])}}]);

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.