PageSourceSearch

https://appcasacor.com.br/_next/static/chunks/4693-cdd9494db4102e8f.js

js appcasacor.com.br collected 2026-10-02 03:41:58 UTC 32,560 bytes, 54 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4693],{44510:function(t,e,o){"use strict";var n=o(64836);e.Z=void 0;var r=n(o(64938)),i=o(85893),a=(0,r.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");e.Z=a},22961:function(t,e,o){"use strict";var n=o(64836);e.Z=void 0;var r=n(o(64938)),i=o(85893),a=(0,r.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=a},72450:function(t,e,o){"use strict";var n=o(64836);e.Z=void 0;var r=n(o(64938)),i=o(85893),a=(0,r.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");e.Z=a},75545:function(t,e,o){"use strict";var n=o(88169),r=o(85893);e.Z=(0,n.Z)((0,r.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseSharp")},64938:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=o(58372)},31812:function(t,e,o){"use strict";o.d(e,{Z:function(){return P}});var n=o(63366),r=o(87462),i=o(67294),a=o(98216),s=o(27909),c=o(75368),d=o(11496),p=o(33616),l=o(83321),h=o(98456),u=o(64719),f=o(72515);function g(t){return(0,u.Z)("MuiLoadingButton",t)}let m=(0,f.Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);var v=o(85893);let y=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],w=t=>{let{loading:e,loadingPosition:o,classes:n}=t,i={root:["root",e&&"loading"],startIcon:[e&&`startIconLoading${(0,a.Z)(o)}`],endIcon:[e&&`endIconLoading${(0,a.Z)(o)}`],loadingIndicator:["loadingIndicator",e&&`loadingIndicator${(0,a.Z)(o)}`]},s=(0,c.Z)(i,g,n);return(0,r.Z)({},n,s)},x=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,C=(0,d.ZP)(l.Z,{shouldForwardProp:t=>x(t)||"classes"===t,name:"MuiLoadingButton",slot:"Root",overridesResolver:(t,e)=>[e.root,e.startIconLoadingStart&&{[`& .${m.startIconLoadingStart}`]:e.startIconLoadingStart},e.endIconLoadingEnd&&{[`& .${m.endIconLoadingEnd}`]:e.endIconLoadingEnd}]})(({ownerState:t,theme:e})=>(0,r.Z)({[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},"center"===t.loadingPosition&&{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${m.loading}`]:{color:"transparent"}},"start"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginLeft:-8}})),S=(0,d.ZP)("div",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>{let{ownerState:o}=t;return[e.loadingIndicator,e[`loadingIndicator${(0,a.Z)(o.loadingPosition)}`]]}})(({theme:t,ownerState:e})=>(0,r.Z)({position:"absolute",visibility:"visible",display:"flex"},"start"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{left:"small"===e.size?10:14},"start"===e.loadingPosition&&"text"===e.variant&&{left:6},"center"===e.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:t.palette.action.disabled},"end"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{right:"small"===e.size?10:14},"end"===e.loadingPosition&&"text"===e.variant&&{right:6},"start"===e.loadingPosition&&e.fullWidth&&{position:"relative",left:-10},"end"===e.loadingPosition&&e.fullWidth&&{position:"relative",right:-10})),Z=i.forwardRef(function(t,e){let o=(0,p.Z)({props:t,name:"MuiLoadingButton"}),{children:a,disabled:c=!1,id:d,loading:l=!1,loadingIndicator:u,loadingPosition:f="center",variant:g="text"}=o,m=(0,n.Z)(o,y),x=(0,s.Z)(d),Z=null!=u?u:(0,v.jsx)(h.Z,{"aria-labelledby":x,color:"inherit",size:16}),P=(0,r.Z)({},o,{disabled:c,loading:l,loadingIndicator:Z,loadingPosition:f,variant:g}),b=w(P);return(0,v.jsx)(C,(0,r.Z)({disabled:c||l,id:x,ref:e},m,{variant:g,classes:b,ownerState:P,children:"end"===P.loadingPosition?(0,v.jsxs)(i.Fragment,{children:[a,l&&(0,v.jsx)(S,{className:b.loadingIndicator,ownerState:P,children:Z})]}):(0,v.jsxs)(i.Fragment,{children:[l&&(0,v.jsx)(S,{className:b.loadingIndicator,ownerState:P,children:Z}),a]})}))});var P=Z},98456:function(t,e,o){"use strict";o.d(e,{Z:function(){return R}});var n=o(63366),r=o(87462),i=o(67294),a=o(86010),s=o(27192),c=o(70917),d=o(98216),p=o(33616),l=o(11496),h=o(28979);function u(t){return(0,h.Z)("MuiCircularProgress",t)}(0,o(76087).Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var f=o(85893);let g=["className","color","disableShrink","size","style","thickness","value","variant"],m=t=>t,v,y,w,x,C=(0,c.F4)(v||(v=m`
2  0% {
3    transform: rotate(0deg);
4  }
5
6  100% {
7    transform: rotate(360deg);
8  }
9`)),S=(0,c.F4)(y||(y=m`
10  0% {
11    stroke-dasharray: 1px, 200px;
12    stroke-dashoffset: 0;
13  }
14
15  50% {
16    stroke-dasharray: 100px, 200px;
17    stroke-dashoffset: -15px;
18  }
19
20  100% {
21    stroke-dasharray: 100px, 200px;
22    stroke-dashoffset: -125px;
23  }
24`)),Z=t=>{let{classes:e,variant:o,color:n,disableShrink:r}=t,i={root:["root",o,`color${(0,d.Z)(n)}
24`],svg:["svg"],circle:["circle",`circle${(0,d.Z)(o)}`,r&&"circleDisableShrink"]};return(0,s.Z)(i,u,e)},P=(0,l.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:o}=t;return[e.root,e[o.variant],e[`color${(0,d.Z)(o.color)}`]]}})(({ownerState:t,theme:e})=>(0,r.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:e.transitions.create("transform")},"inherit"!==t.color&&{color:e.palette[t.color].main}),({ownerState:t})=>"indeterminate"===t.variant&&(0,c.iv)(w||(w=m`
25      animation: ${0} 1.4s linear infinite;
26    `),C)),b=(0,l.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),M=(0,l.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{let{ownerState:o}=t;return[e.circle,e[`circle${(0,d.Z)(o.variant)}`],o.disableShrink&&e.circleDisableShrink]}})(({ownerState:t,theme:e})=>(0,r.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:e.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,c.iv)(x||(x=m`
27      animation: ${0} 1.4s ease-in-out infinite;
28    `),S)),z=i.forwardRef(function(t,e){let o=(0,p.Z)({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:c=!1,size:d=40,style:l,thickness:h=3.6,value:u=0,variant:m="indeterminate"}=o,v=(0,n.Z)(o,g),y=(0,r.Z)({},o,{color:s,disableShrink:c,size:d,thickness:h,value:u,variant:m}),w=Z(y),x={},C={},S={};if("determinate"===m){let t=2*Math.PI*((44-h)/2);x.strokeDasharray=t.toFixed(3),S["aria-valuenow"]=Math.round(u),x.strokeDashoffset=`${((100-u)/100*t).toFixed(3)}px`,C.transform="rotate(-90deg)"}return(0,f.jsx)(P,(0,r.Z)({className:(0,a.default)(w.root,i),style:(0,r.Z)({width:d,height:d},C,l),ownerState:y,ref:e,role:"progressbar"},S,v,{children:(0,f.jsx)(b,{className:w.svg,ownerState:y,viewBox:"22 22 44 44",children:(0,f.jsx)(M,{className:w.circle,style:x,ownerState:y,cx:44,cy:44,r:(44-h)/2,fill:"none",strokeWidth:h})})}))});var R=z},15861:function(t,e,o){"use strict";o.d(e,{Z:function(){return S}});var n=o(63366),r=o(87462),i=o(67294),a=o(86010),s=o(39707),c=o(27192),d=o(11496),p=o(33616),l=o(98216),h=o(28979);function u(t){return(0,h.Z)("MuiTypography",t)}(0,o(76087).Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var f=o(85893);let g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=t=>{let{align:e,gutterBottom:o,noWrap:n,paragraph:r,variant:i,classes:a}=t,s={root:["root",i,"inherit"!==t.align&&`align${(0,l.Z)(e)}`,o&&"gutterBottom",n&&"noWrap",r&&"paragraph"]};return(0,c.Z)(s,u,a)},v=(0,d.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:o}=t;return[e.root,o.variant&&e[o.variant],"inherit"!==o.align&&e[`align${(0,l.Z)(o.align)}`],o.noWrap&&e.noWrap,o.gutterBottom&&e.gutterBottom,o.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>(0,r.Z)({margin:0},e.variant&&t.typography[e.variant],"inherit"!==e.align&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=t=>w[t]||t,C=i.forwardRef(function(t,e){let o=(0,p.Z)({props:t,name:"MuiTypography"}),i=x(o.color),c=(0,s.Z)((0,r.Z)({},o,{color:i})),{align:d="inherit",className:l,component:h,gutterBottom:u=!1,noWrap:w=!1,paragraph:C=!1,variant:S="body1",variantMapping:Z=y}=c,P=(0,n.Z)(c,g),b=(0,r.Z)({},c,{align:d,color:i,className:l,component:h,gutterBottom:u,noWrap:w,paragraph:C,variant:S,variantMapping:Z}),M=h||(C?"p":Z[S]||y[S])||"span",z=m(b);return(0,f.jsx)(v,(0,r.Z)({as:M,ref:e,ownerState:b,className:(0,a.default)(z.root,l)},P))});var S=C},35893:function(t,e,o){"use strict";var n=o(49064);e.Z=n.Z},58372:function(t,e,o){"use strict";o.r(e),o.d(e,{capitalize:function(){return n.Z},createChainedFunction:function(){return r.Z},createSvgIcon:function(){return i.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return c.Z},ownerDocument:function(){return d.Z},ownerWindow:function(){return p.Z},requirePropFactory:function(){return l},setRef:function(){return h},unstable_ClassNameGenerator:function(){return x.Z},unstable_useEnhancedEffect:function(){return u.Z},unstable_useId:function(){return f.Z},unsupportedProp:function(){return g},useControlled:function(){return m.Z},useEventCallback:function(){return v.Z},useForkRef:function(){return y.Z},useIsFocusVisible:function(){return w.Z}});var n=o(98216),r=o(35893),i=o(88169),a=o(57144),s=function(t,e){return()=>null},c=o(71579),d=o(8038),p=o(5340);o(87462);var l=function(t,e){return()=>null},h=o(7960).Z,u=o(58974),f=o(27909),g=function(t,e,o,n,r){return null},m=o(49299),v=o(2068),y=o(51705),w=o(79674),x=o(49981)},27909:function(t,e,o){"use strict";var n=o(57579);e.Z=n.Z},39707:function(t,e,o){"use strict";o.d(e,{Z:function(){return d}});var n=o(87462),r=o(63366),i=o(59766),a=o(48528);let s=["sx"],c=t=>{let e={systemProps:{},otherProps:{}};return Object.keys(t).forEach(o=>
28{a.Gc[o]?e.systemProps[o]=t[o]:e.otherProps[o]=t[o]}),e};function d(t){let e;let{sx:o}=t,a=(0,r.Z)(t,s),{systemProps:d,otherProps:p}=c(a);return e=Array.isArray(o)?[d,...o]:"function"==typeof o?(...t)=>{let e=o(...t);return(0,i.P)(e)?(0,n.Z)({},d,e):d}:(0,n.Z)({},d,o),(0,n.Z)({},p,{sx:e})}},52796:function(t,e,o){t.exports=o(10643)},13264:function(t){"use strict";var e=!!("undefined"!=typeof window&&window.document&&window.document.createElement),o={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};t.exports=o},84518:function(t){var e,o,n,r,i,a,s,c,d,p,l,h,u,f,g,m=!1;function v(){if(!m){m=!0;var t=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),y=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(h=/\b(iPhone|iP[ao]d)/.exec(t),u=/\b(iP[ao]d)/.exec(t),p=/Android/i.exec(t),f=/FBAN\/\w+;/i.exec(t),g=/Mobile/i.exec(t),l=!!/Win64/.exec(t),v){(e=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN)&&document&&document.documentMode&&(e=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(t);a=w?parseFloat(w[1])+4:e,o=v[2]?parseFloat(v[2]):NaN,n=v[3]?parseFloat(v[3]):NaN,i=(r=v[4]?parseFloat(v[4]):NaN)&&(v=/(?:Chrome\/(\d+\.\d+))/.exec(t))&&v[1]?parseFloat(v[1]):NaN}else e=o=n=i=r=NaN;if(y){if(y[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);s=!x||parseFloat(x[1].replace("_","."))}else s=!1;c=!!y[2],d=!!y[3]}else s=c=d=!1}}var y={ie:function(){return v()||e},ieCompatibilityMode:function(){return v()||a>e},ie64:function(){return y.ie()&&l},firefox:function(){return v()||o},opera:function(){return v()||n},webkit:function(){return v()||r},safari:function(){return y.webkit()},chrome:function(){return v()||i},windows:function(){return v()||c},osx:function(){return v()||s},linux:function(){return v()||d},iphone:function(){return v()||h},mobile:function(){return v()||h||u||p||g},nativeApp:function(){return v()||f},android:function(){return v()||p},ipad:function(){return v()||u}};t.exports=y},96534:function(t,e,o){"use strict";var n,r=o(13264);r.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=/**
29 * Checks if an event is supported in the current execution environment.
30 *
31 * NOTE: This will not work correctly for non-generic events such as `change`,
32 * `reset`, `load`, `error`, and `select`.
33 *
34 * Borrows from Modernizr.
35 *
36 * @param {string} eventNameSuffix Event name, e.g. "click".
37 * @param {?boolean} capture Check if the capture phase is supported.
38 * @return {boolean} True if the event is supported.
39 * @internal
40 * @license Modernizr 3.0.0pre (Custom Build) | MIT
41 */function(t,e){if(!r.canUseDOM||e&&!("addEventListener"in document))return!1;var o="on"+t,i=o in document;if(!i){var a=document.createElement("div");a.setAttribute(o,"return;"),i="function"==typeof a[o]}return!i&&n&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},10643:function(t,e,o){"use strict";var n=o(84518),r=o(96534);function i(t){var e=0,o=0,n=0,r=0;return"detail"in t&&(o=t.detail),"wheelDelta"in t&&(o=-t.wheelDelta/120),"wheelDeltaY"in t&&(o=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=o,o=0),n=10*e,r=10*o,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(n=t.deltaX),(n||r)&&t.deltaMode&&(1==t.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!e&&(e=n<1?-1:1),r&&!o&&(o=r<1?-1:1),{spinX:e,spinY:o,pixelX:n,pixelY:r}}i.getEventType=function(){return n.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},t.exports=i},83913:function(t,e,o){"use strict";o.d(e,{Z:function(){return y}});/*! *****************************************************************************
42Copyright (c) Microsoft Corporation.
43
44Permission to use, copy, modify, and/or distribute this software for any
45purpose with or without fee is hereby granted.
46
47THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
48REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
49AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
50INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
51LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
52OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
53PERFORMANCE OF THIS SOFTWARE.
54***************************************************************************** */var n=function(t,e){return(n=Object.
54setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(t,e)},r=function(){return(r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},i=o(67294),a=o(52796),s=o.n(a);function c(t,e,o,n,r){void 0===r&&(r=0);var i=g(e.width,e.height,r),a=i.width,s=i.height;return{x:d(t.x,a,o.width,n),y:d(t.y,s,o.height,n)}}function d(t,e,o,n){var r=e*n/2-o/2;return m(t,-r,r)}function p(t,e){return Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2))}function l(t,e){return 180*Math.atan2(e.y-t.y,e.x-t.x)/Math.PI}function h(t,e){return Math.min(t,Math.max(0,e))}function u(t,e){return e}function f(t,e){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}function g(t,e,o){var n=o*Math.PI/180;return{width:Math.abs(Math.cos(n)*t)+Math.abs(Math.sin(n)*e),height:Math.abs(Math.sin(n)*t)+Math.abs(Math.cos(n)*e)}}function m(t,e,o){return Math.min(Math.max(t,e),o)}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return"string"==typeof t&&t.length>0}).join(" ").trim()}var y=function(t){function e(){var o=null!==t&&t.apply(this,arguments)||this;return o.imageRef=null,o.videoRef=null,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.lastPinchDistance=0,o.lastPinchRotation=0,o.rafDragTimeout=null,o.rafPinchTimeout=null,o.wheelTimer=null,o.state={cropSize:null,hasWheelJustStarted:!1},o.preventZoomSafari=function(t){return t.preventDefault()},o.cleanEvents=function(){document.removeEventListener("mousemove",o.onMouseMove),document.removeEventListener("mouseup",o.onDragStopped),document.removeEventListener("touchmove",o.onTouchMove),document.removeEventListener("touchend",o.onDragStopped)},o.clearScrollEvent=function(){o.containerRef&&o.containerRef.removeEventListener("wheel",o.onWheel),o.wheelTimer&&clearTimeout(o.wheelTimer)},o.onMediaLoad=function(){var t=o.computeSizes();t&&(o.emitCropData(),o.setInitialCrop(t)),o.props.onMediaLoaded&&o.props.onMediaLoaded(o.mediaSize)},o.setInitialCrop=function(t){if(o.props.initialCroppedAreaPercentages){var e,n,r,i,a,s,c,d=(e=o.props.initialCroppedAreaPercentages,n=o.mediaSize,r=o.props.rotation,i=o.props.minZoom,a=o.props.maxZoom,s=g(n.width,n.height,r),{crop:{x:(c=m(t.width/s.width*(100/e.width),i,a))*s.width/2-t.width/2-s.width*c*(e.x/100),y:c*s.height/2-t.height/2-s.height*c*(e.y/100)},zoom:c}),p=d.crop,l=d.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(l)}else if(o.props.initialCroppedAreaPixels){var h,u,f,v,y,w,x,C,S,Z=(h=o.props.initialCroppedAreaPixels,u=o.mediaSize,f=o.props.rotation,v=o.props.minZoom,y=o.props.maxZoom,void 0===f&&(f=0),w=g(u.naturalWidth,u.naturalHeight,f),C=m((x=u.width>u.height?u.width/u.naturalWidth:u.height/u.naturalHeight,t.height>t.width?t.height/(h.height*x):t.width/(h.width*x)),v,y),S=t.height>t.width?t.height/h.height:t.width/h.width,{crop:{x:((w.width-h.width)/2-h.x)*S,y:((w.height-h.height)/2-h.y)*S},zoom:C}),p=Z.crop,l=Z.zoom;o.props.onCropChange(p),o.props.onZoomChange&&o.props.onZoomChange(l)}},o.computeSizes=function(){var t,e,n,i,a,s,c=o.imageRef||o.videoRef;if(c&&o.containerRef){o.containerRect=o.containerRef.getBoundingClientRect();var d,p,l,h,u,f,m,v,y,w,x,C=o.containerRect.width/o.containerRect.height,S=(null===(t=o.imageRef)||void 0===t?void 0:t.naturalWidth)||(null===(e=o.videoRef)||void 0===e?void 0:e.videoWidth)||0,Z=(null===(n=o.imageRef)||void 0===n?void 0:n.naturalHeight)||(null===(i=o.videoRef)||void 0===i?void 0:i.videoHeight)||0,P=c.offsetWidth<S||c.offsetHeight<Z,b=S/Z,M=void 0;if(P)switch(o.props.objectFit){default:case"contain":M=C>b?{width:o.containerRect.height*b,height:o.containerRect.height}:{width:o.containerRect.width,height:o.containerRect.width/b};break;case"horizontal-cover":M={width:o.containerRect.width,height:o.containerRect.width/b};break;case"vertical-cover":M={width:o.containerRect.height*b,height:o.containerRect.height}}else M={width:c.offsetWidth,height:c.offsetHeight};o.mediaSize=r(r({}
54,M),{naturalWidth:S,naturalHeight:Z});var z=o.props.cropSize?o.props.cropSize:(d=o.mediaSize.width,p=o.mediaSize.height,l=o.containerRect.width,h=o.containerRect.height,u=o.props.aspect,void 0===(f=o.props.rotation)&&(f=0),v=(m=g(d,p,f)).width,y=m.height,(w=Math.min(v,l))>(x=Math.min(y,h))*u?{width:x*u,height:x}:{width:w,height:w/u});return((null===(a=o.state.cropSize)||void 0===a?void 0:a.height)!==z.height||(null===(s=o.state.cropSize)||void 0===s?void 0:s.width)!==z.width)&&o.props.onCropSizeChange&&o.props.onCropSizeChange(z),o.setState({cropSize:z},o.recomputeCropPosition),z}},o.onMouseDown=function(t){t.preventDefault(),document.addEventListener("mousemove",o.onMouseMove),document.addEventListener("mouseup",o.onDragStopped),o.onDragStart(e.getMousePoint(t))},o.onMouseMove=function(t){return o.onDrag(e.getMousePoint(t))},o.onTouchStart=function(t){(!o.props.onTouchRequest||o.props.onTouchRequest(t))&&(document.addEventListener("touchmove",o.onTouchMove,{passive:!1}),document.addEventListener("touchend",o.onDragStopped),2===t.touches.length?o.onPinchStart(t):1===t.touches.length&&o.onDragStart(e.getTouchPoint(t.touches[0])))},o.onTouchMove=function(t){t.preventDefault(),2===t.touches.length?o.onPinchMove(t):1===t.touches.length&&o.onDrag(e.getTouchPoint(t.touches[0]))},o.onDragStart=function(t){var e,n,i=t.x,a=t.y;o.dragStartPosition={x:i,y:a},o.dragStartCrop=r({},o.props.crop),null===(n=(e=o.props).onInteractionStart)||void 0===n||n.call(e)},o.onDrag=function(t){var e=t.x,n=t.y;o.rafDragTimeout&&window.cancelAnimationFrame(o.rafDragTimeout),o.rafDragTimeout=window.requestAnimationFrame(function(){if(o.state.cropSize&&void 0!==e&&void 0!==n){var t=e-o.dragStartPosition.x,r=n-o.dragStartPosition.y,i={x:o.dragStartCrop.x+t,y:o.dragStartCrop.y+r},a=o.props.restrictPosition?c(i,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):i;o.props.onCropChange(a)}})},o.onDragStopped=function(){var t,e;o.cleanEvents(),o.emitCropData(),null===(e=(t=o.props).onInteractionEnd)||void 0===e||e.call(t)},o.onWheel=function(t){if(!o.props.onWheelRequest||o.props.onWheelRequest(t)){t.preventDefault();var n=e.getMousePoint(t),r=s()(t).pixelY,i=o.props.zoom-r*o.props.zoomSpeed/200;o.setNewZoom(i,n),o.state.hasWheelJustStarted||o.setState({hasWheelJustStarted:!0},function(){var t,e;return null===(e=(t=o.props).onInteractionStart)||void 0===e?void 0:e.call(t)}),o.wheelTimer&&clearTimeout(o.wheelTimer),o.wheelTimer=window.setTimeout(function(){return o.setState({hasWheelJustStarted:!1},function(){var t,e;return null===(e=(t=o.props).onInteractionEnd)||void 0===e?void 0:e.call(t)})},250)}},o.getPointOnContainer=function(t){var e=t.x,n=t.y;if(!o.containerRect)throw Error("The Cropper is not mounted");return{x:o.containerRect.width/2-(e-o.containerRect.left),y:o.containerRect.height/2-(n-o.containerRect.top)}},o.getPointOnMedia=function(t){var e=t.x,n=t.y,r=o.props,i=r.crop,a=r.zoom;return{x:(e+i.x)/a,y:(n+i.y)/a}},o.setNewZoom=function(t,e){if(o.state.cropSize&&o.props.onZoomChange){var n=o.getPointOnContainer(e),r=o.getPointOnMedia(n),i=m(t,o.props.minZoom,o.props.maxZoom),a={x:r.x*i-n.x,y:r.y*i-n.y},s=o.props.restrictPosition?c(a,o.mediaSize,o.state.cropSize,i,o.props.rotation):a;o.props.onCropChange(s),o.props.onZoomChange(i)}},o.getCropData=function(){var t,e,n,i,a,s,d,p,l,f,m,v,y,w,x;return o.state.cropSize?(t=o.props.restrictPosition?c(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop,e=o.mediaSize,n=o.state.cropSize,i=o.getAspect(),a=o.props.zoom,s=o.props.rotation,d=o.props.restrictPosition,void 0===s&&(s=0),void 0===d&&(d=!0),p=d?h:u,l=g(e.width,e.height,s),f=g(e.naturalWidth,e.naturalHeight,s),m={x:p(100,((l.width-n.width/a)/2-t.x/a)/l.width*100),y:p(100,((l.height-n.height/a)/2-t.y/a)/l.height*100),width:p(100,n.width/l.width*100/a),height:p(100,n.height/l.height*100/a)},v=Math.round(p(f.width,m.width*f.width/100)),y=Math.round(p(f.height,m.height*f.height/100)),x=r(r({},w=f.width>=f.height*i?{width:Math.round(y*i),height:y}:{width:v,height:Math.round(v/i)}),{x:Math.round(p(f.width-w.width,m.x*f.width/100)),y:Math.round(p(f.height-w.height,m.y*f.height/100))}),{croppedAreaPercentages:m,croppedAreaPixels:x}):null},o.emitCropData=function(){var t=o.getCropData();if(t){var e=t.croppedAreaPercentages,n=t.croppedAreaPixels;o.props.onCropComplete&&o.props.onCropComplete(e,n),o.props.onCropAreaChange&&o.props.onCropAreaChange(e,n)}},o.emitCropAreaChange=function(){var t=o.getCropData();if(t){var e=t.croppedAreaPercentages,n=t.croppedAreaPixels;o.props.onCropAreaChange&&o.props.onCropAreaChange(e,n)}},o.recomputeCropPosition=function(){if(o.state.cropSize){var t=o.props.restrictPosition?c(o.props.crop,o.mediaSize,o.state.cropSize,o.props.zoom,o.props.rotation):o.props.crop;o.props.onCropChange(t),o.emitCropData()}},o}return!function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(e,t),e.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),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}
54\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",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},e.prototype.componentWillUnmount=function(){var t;window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&(null===(t=this.styleRef.parentNode)||void 0===t||t.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},e.prototype.componentDidUpdate=function(t){var e,o,n,r,i,a,s,c,d;t.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):t.aspect!==this.props.aspect?this.computeSizes():t.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(e=t.cropSize)||void 0===e?void 0:e.height)!==(null===(o=this.props.cropSize)||void 0===o?void 0:o.height)||(null===(n=t.cropSize)||void 0===n?void 0:n.width)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.width)?this.computeSizes():((null===(i=t.crop)||void 0===i?void 0:i.x)!==(null===(a=this.props.crop)||void 0===a?void 0:a.x)||(null===(s=t.crop)||void 0===s?void 0:s.y)!==(null===(c=this.props.crop)||void 0===c?void 0:c.y))&&this.emitCropAreaChange(),t.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),t.video!==this.props.video&&(null===(d=this.videoRef)||void 0===d||d.load())},e.prototype.getAspect=function(){var t=this.props,e=t.cropSize,o=t.aspect;return e?e.width/e.height:o},e.prototype.onPinchStart=function(t){var o=e.getTouchPoint(t.touches[0]),n=e.getTouchPoint(t.touches[1]);this.lastPinchDistance=p(o,n),this.lastPinchRotation=l(o,n),this.onDragStart(f(o,n))},e.prototype.onPinchMove=function(t){var o=this,n=e.getTouchPoint(t.touches[0]),r=e.getTouchPoint(t.touches[1]),i=f(n,r);this.onDrag(i),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame(function(){var t=p(n,r),e=o.props.zoom*(t/o.lastPinchDistance);o.setNewZoom(e,i),o.lastPinchDistance=t;var a=l(n,r),s=o.props.rotation+(a-o.lastPinchRotation);o.props.onRotationChange&&o.props.onRotationChange(s),o.lastPinchRotation=a})},e.prototype.render=function(){var t=this,e=this.props,o=e.image,n=e.video,a=e.mediaProps,s=e.transform,c=e.crop,d=c.x,p=c.y,l=e.rotation,h=e.zoom,u=e.cropShape,f=e.showGrid,g=e.style,m=g.containerStyle,y=g.cropAreaStyle,w=g.mediaStyle,x=e.classes,C=x.containerClassName,S=x.cropAreaClassName,Z=x.mediaClassName,P=e.objectFit;return i.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(e){return t.containerRef=e},"data-testid":"container",style:m,className:v("reactEasyCrop_Container",C)},o?i.createElement("img",r({alt:"",className:v("reactEasyCrop_Image","contain"===P&&"reactEasyCrop_Contain","horizontal-cover"===P&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===P&&"reactEasyCrop_Cover_Vertical",Z)},a,{src:o,ref:function(e){return t.imageRef=e},style:r(r({},w),{transform:s||"translate("+d+"px, "+p+"px) rotate("+l+"deg) scale("+h+")"}),onLoad:this.onMediaLoad})):n&&i.createElement("video",r({autoPlay:!0,loop:!0,muted:!0,className:v("reactEasyCrop_Video","contain"===P&&"reactEasyCrop_Contain","horizontal-cover"===P&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===P&&"reactEasyCrop_Cover_Vertical",Z)},a,{ref:function(e){return t.videoRef=e},onLoadedMetadata:this.onMediaLoad,style:r(r({},w),{transform:s||"translate("+d+"px, "+p+"px) rotate("+l+"deg) scale("+h+")"}),controls:!1}),(Array.isArray(n)?n:[{src:n}]).map(function(t){return i.createElement("source",r({key:t.src},t))})),this.state.cropSize&&i.createElement("div",{style:r(r({},y),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:v("reactEasyCrop_CropArea","round"===u&&"reactEasyCrop_CropAreaRound",f&&"reactEasyCrop_CropAreaGrid",S)}))},e.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},e.getMousePoint=function(t){return{x:Number(t.clientX),y:Number(t.clientY)}},e.getTouchPoint=function(t){return{x:Number(t.clientX),y:Number(t.clientY)}},e}(i.Component)},64836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}}
54,t.exports.__esModule=!0,t.exports.default=t.exports}}]);

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.