PageSourceSearch

https://react-page.github.io/_next/static/chunks/5482-faf7e577e49cb056.js

js react-page.github.io collected 2026-10-03 09:49:49 UTC 11,856 bytes, 75 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5482],{25482:function(e,t,n){let r,i,o,l;n.d(t,{Z:function(){return D}});var u=n(25773),a=n(30808),c=n(27378),s=n(38944),p=n(82267),d=n(95147),f=n(93596),h=n(50128),m=n(39055),b=n(10026),v=n(42344),g=n(10043),y=n(24246),x=n(44124);let E=(0,x.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Z=["center","classes","className"],R=(0,g.F4)(r||(r=(e=>e)`
2  0% {
3    transform: scale(0);
4    opacity: 0.1;
5  }
6
7  100% {
8    transform: scale(1);
9    opacity: 0.3;
10  }
11`)),M=(0,g.F4)(i||(i=(e=>e)`
12  0% {
13    opacity: 1;
14  }
15
16  100% {
17    opacity: 0;
18  }
19`)),k=(0,g.F4)(o||(o=(e=>e)`
20  0% {
21    transform: scale(1);
22  }
23
24  50% {
25    transform: scale(0.92);
26  }
27
28  100% {
29    transform: scale(1);
30  }
31`)),P=(0,d.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),T=(0,d.ZP)(function(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:l,in:u,onExited:a,timeout:p}=e,[d,f]=c.useState(!1),h=(0,s.default)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m=(0,s.default)(n.child,d&&n.childLeaving,r&&n.childPulsate);return u||d||f(!0),c.useEffect(()=>{if(!u&&null!=a){let e=setTimeout(a,p);return()=>{clearTimeout(e)}}},[a,u,p]),(0,y.jsx)("span",{className:h,style:{width:l,height:l,top:-(l/2)+o,left:-(l/2)+i},children:(0,y.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(l||(l=(e=>e)`
32  opacity: 0;
33  position: absolute;
34
35  &.${0} {
36    opacity: 0.3;
37    transform: scale(1);
38    animation-name: ${0};
39    animation-duration: ${0}ms;
40    animation-timing-function: ${0};
41  }
42
43  &.${0} {
44    animation-duration: ${0}ms;
45  }
46
47  & .${0} {
48    opacity: 1;
49    display: block;
50    width: 100%;
51    height: 100%;
52    border-radius: 50%;
53    background-color: currentColor;
54  }
55
56  & .${0} {
57    opacity: 0;
58    animation-name: ${0};
59    animation-duration: ${0}ms;
60    animation-timing-function: ${0};
61  }
62
63  & .${0} {
64    position: absolute;
65    /* @noflip */
66    left: 0px;
67    top: 0;
68    animation-name: ${0};
69    animation-duration: 2500ms;
70    animation-timing-function: ${0};
71    animation-iteration-count: infinite;
72    animation-delay: 200ms;
73  }
74`),E.rippleVisible,R,550,({theme:e})=>e.transitions.easing.easeInOut,E.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,E.child,E.childLeaving,M,550,({theme:e})=>e.transitions.easing.easeInOut,E.childPulsate,k,({theme:e})=>e.transitions.easing.easeInOut),C=c.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:i={},className:o}=n,l=(0,a.Z)(n,Z),[p,d]=c.useState([]),h=c.useRef(0),m=c.useRef(null);c.useEffect(()=>{m.current&&(m.current(),m.current=null)},[p]);let b=c.useRef(!1),g=c.useRef(null),x=c.useRef(null),R=c.useRef(null);c.useEffect(()=>()=>{clearTimeout(g.current)},[]);let M=c.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:l}=e;d(e=>[...e,(0,y.jsx)(T,{classes:{ripple:(0,s.default)(i.ripple,E.ripple),rippleVisible:(0,s.default)(i.rippleVisible,E.rippleVisible),ripplePulsate:(0,s.default)(i.ripplePulsate,E.ripplePulsate),child:(0,s.default)(i.child,E.child),childLeaving:(0,s.default)(i.childLeaving,E.childLeaving),childPulsate:(0,s.default)(i.childPulsate,E.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)]),h.current+=1,m.current=l},[i]),k=c.useCallback((e={},t={},n=()=>{})=>{let i,o,l;let{pulsate:u=!1,center:a=r||t.pulsate,fakeElement:c=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&b.current){b.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(b.current=!0);let s=c?null:R.current,p=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!a&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:d,clientY:f}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(d-p.left),o=Math.round(f-p.top)}else i=Math.round(p.width/2),o=Math.round(p.height/2);if(a)(l=Math.sqrt((2*p.width**2+p.height**2)/3))%2==0&&(l+=1);else{let h=2*Math.max(Math.abs((s?s.clientWidth:0)-i),i)+2,m=2*Math.max(Math.abs((s?s.clientHeight:0)-o),o)+2;l=Math.sqrt(h**2+m**2)}null!=e&&e.touches?null===x.current&&(x.current=()=>{M({pulsate:u,rippleX:i,rippleY:o,rippleSize:l,cb:n})},g.current=setTimeout(()=>{x.current&&(x.current(),x.current=null)},80)):M({pulsate:u,rippleX:i,rippleY:o,rippleSize:l,cb:n})},[r,M]),C=c.useCallback(()=>{k({},{pulsate:!0})},[k]),V=c.useCallback((e,t)=>{if(clearTimeout(g.current),(null==e?void 0:e.type)==="touchend"&&x.current){x.current(),x.current=null,g.current=setTimeout(()=>{V(e,t)});return}x.current=null,d(e=>e.length>0?e.slice(1):e),m.current=t},[]);return c.useImperativeHandle(t,()=>({pulsate:C,start:k,stop:V}),[C,k,V]),(0,y.jsx)(P,(0,u.Z)({className:(0,s.default)(E.root,i.root,o),ref:R},l,{children:(0,y.jsx)(v.Z,{component:null,exit:!0,children:p})}))});var V=n(6749);function j(e){return(0,V.Z)("MuiButtonBase",e)}let w=(0,x.Z)("MuiButtonBase",["root","disabled","focusVisible"]),$=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onF
74ocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],S=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=(0,p.Z)({root:["root",t&&"disabled",n&&"focusVisible"]},j,i);return n&&r&&(o.root+=` ${r}`),o},O=(0,d.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${w.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),B=c.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:i=!1,children:o,className:l,component:p="button",disabled:d=!1,disableRipple:v=!1,disableTouchRipple:g=!1,focusRipple:x=!1,LinkComponent:E="a",onBlur:Z,onClick:R,onContextMenu:M,onDragLeave:k,onFocus:P,onFocusVisible:T,onKeyDown:V,onKeyUp:j,onMouseDown:w,onMouseLeave:B,onMouseUp:D,onTouchEnd:F,onTouchMove:L,onTouchStart:N,tabIndex:I=0,TouchRippleProps:_,touchRippleRef:z,type:A}=n,U=(0,a.Z)(n,$),H=c.useRef(null),K=c.useRef(null),W=(0,h.Z)(K,z),{isFocusVisibleRef:X,onFocus:q,onBlur:Y,ref:G}=(0,b.Z)(),[J,Q]=c.useState(!1);d&&J&&Q(!1),c.useImperativeHandle(r,()=>({focusVisible:()=>{Q(!0),H.current.focus()}}),[]);let[ee,et]=c.useState(!1);function en(e,t,n=g){return(0,m.Z)(r=>(t&&t(r),!n&&K.current&&K.current[e](r),!0))}c.useEffect(()=>{et(!0)},[]),c.useEffect(()=>{J&&x&&!v&&ee&&K.current.pulsate()},[v,x,J,ee]);let er=en("start",w),ei=en("stop",M),eo=en("stop",k),el=en("stop",D),eu=en("stop",e=>{J&&e.preventDefault(),B&&B(e)}),ea=en("start",N),ec=en("stop",F),es=en("stop",L),ep=en("stop",e=>{Y(e),!1===X.current&&Q(!1),Z&&Z(e)},!1),ed=(0,m.Z)(e=>{H.current||(H.current=e.currentTarget),q(e),!0===X.current&&(Q(!0),T&&T(e)),P&&P(e)}),ef=()=>{let e=H.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},eh=c.useRef(!1),em=(0,m.Z)(e=>{x&&!eh.current&&J&&K.current&&" "===e.key&&(eh.current=!0,K.current.stop(e,()=>{K.current.start(e)})),e.target===e.currentTarget&&ef()&&" "===e.key&&e.preventDefault(),V&&V(e),e.target===e.currentTarget&&ef()&&"Enter"===e.key&&!d&&(e.preventDefault(),R&&R(e))}),eb=(0,m.Z)(e=>{x&&" "===e.key&&K.current&&J&&!e.defaultPrevented&&(eh.current=!1,K.current.stop(e,()=>{K.current.pulsate(e)})),j&&j(e),R&&e.target===e.currentTarget&&ef()&&" "===e.key&&!e.defaultPrevented&&R(e)}),ev=p;"button"===ev&&(U.href||U.to)&&(ev=E);let eg={};"button"===ev?(eg.type=void 0===A?"button":A,eg.disabled=d):(U.href||U.to||(eg.role="button"),d&&(eg["aria-disabled"]=d));let ey=(0,h.Z)(t,G,H),ex=(0,u.Z)({},n,{centerRipple:i,component:p,disabled:d,disableRipple:v,disableTouchRipple:g,focusRipple:x,tabIndex:I,focusVisible:J}),eE=S(ex);return(0,y.jsxs)(O,(0,u.Z)({as:ev,className:(0,s.default)(eE.root,l),ownerState:ex,onBlur:ep,onClick:R,onContextMenu:ei,onFocus:ed,onKeyDown:em,onKeyUp:eb,onMouseDown:er,onMouseLeave:eu,onMouseUp:el,onDragLeave:eo,onTouchEnd:ec,onTouchMove:es,onTouchStart:ea,ref:ey,tabIndex:d?-1:I,type:A},eg,U,{children:[o,!ee||v||d?null:(0,y.jsx)(C,(0,u.Z)({ref:W,center:i},_))]}))});var D=B},42344:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(30808),i=n(25773),o=n(47169),l=n(40351),u=n(27378),a=n(16897);function c(e,t){var n=Object.create(null);return e&&u.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=t&&(0,u.isValidElement)(e)?t(e):e}),n}function s(e,t,n){return null!=n[t]?n[t]:e.props[t]}var p=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,l.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;
74return{children:t.firstRender?c(e.children,function(t){return(0,u.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:s(t,"appear",e),enter:s(t,"enter",e),exit:s(t,"exit",e)})}):(Object.keys(r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var l in e)l in t?o.length&&(i[l]=o,o=[]):o.push(l);var u={};for(var a in t){if(i[a])for(r=0;r<i[a].length;r++){var c=i[a][r];u[i[a][r]]=n(c)}u[a]=n(a)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}(i,n=c(e.children))).forEach(function(t){var l=r[t];if((0,u.isValidElement)(l)){var a=t in i,c=t in n,p=i[t],d=(0,u.isValidElement)(p)&&!p.props.in;c&&(!a||d)?r[t]=(0,u.cloneElement)(l,{onExited:o.bind(null,l),in:!0,exit:s(l,"exit",e),enter:s(l,"enter",e)}):c||!a||d?c&&a&&(0,u.isValidElement)(p)&&(r[t]=(0,u.cloneElement)(l,{onExited:o.bind(null,l),in:p.props.in,exit:s(l,"exit",e),enter:s(l,"enter",e)})):r[t]=(0,u.cloneElement)(l,{in:!1})}}),r),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.Z)(e,["component","childFactory"]),o=this.state.contextValue,l=p(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===t)?u.createElement(a.Z.Provider,{value:o},l):u.createElement(a.Z.Provider,{value:o},u.createElement(t,i,l))},t}(u.Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};var f=d},16897:function(e,t,n){var r=n(27378);t.Z=r.createContext(null)},47169:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},40351:function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return i}})}}]);
75//# sourceMappingURL=5482-faf7e577e49cb056.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.