Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Autoría | Ultima modificación | Ver Log |

"use strict";(self.webpackChunkleaderslinked=self.webpackChunkleaderslinked||[]).push([[3240],{70917:(e,t,n)=>{n.d(t,{F4:()=>c,iv:()=>u,xB:()=>a});var r=n(67294),o=(n(66751),n(52443)),i=(n(8679),n(70444)),l=n(7784),s=n(27278),a=(0,o.w)((function(e,t){var n=e.styles,a=(0,l.O)([n],void 0,(0,r.useContext)(o.T)),u=(0,r.useRef)();return(0,s.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+a.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),u.current=[n,r],function(){n.flush()}}),[t]),(0,s.j)((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==a.next&&(0,i.My)(t,a.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",a,n,!1)}}),[t,a.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.O)(t)}var c=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},23240:(e,t,n)=>{n.d(t,{Z:()=>I});var r=n(32793),o=n(1048),i=n(67294),l=n(93680),s=n(94780),a=n(90948),u=n(71657),c=n(51705),p=n(2068),d=n(79674);var h=n(91890),f=n(7419);function m(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function b(e,t,n){return null!=n[t]?n[t]:e.props[t]}function v(e,t,n){var r=m(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var l in e)l in t?i.length&&(o[l]=i,i=[]):i.push(l);var s={};for(var a in t){if(o[a])for(r=0;r<o[a].length;r++){var u=o[a][r];s[o[a][r]]=n(u)}s[a]=n(a)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(l){var s=o[l];if((0,i.isValidElement)(s)){var a=l in t,u=l in r,c=t[l],p=(0,i.isValidElement)(c)&&!c.props.in;!u||a&&!p?u||!a||p?u&&a&&(0,i.isValidElement)(c)&&(o[l]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:c.props.in,exit:b(s,"exit",e),enter:b(s,"enter",e)})):o[l]=(0,i.cloneElement)(s,{in:!1}):o[l]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:b(s,"exit",e),enter:b(s,"enter",e)})}})),o}var y=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},g=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,h.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,o=t.children,l=t.handleExited;return{children:t.firstRender?(n=e,r=l,m(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:b(e,"appear",n),enter:b(e,"enter",n),exit:b(e,"exit",n)})}))):v(e,o,l),firstRender:!1}},n.handleExited=function(e,t){var n=m(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,r.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,o.Z)(e,["component","childFactory"]),l=this.state.contextValue,s=y(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(f.Z.Provider,{value:l},s):i.createElement(f.Z.Provider,{value:l},i.createElement(t,r,s))},t}(i.Component);g.propTypes={},g.defaultProps={component:"div",childFactory:function(e){return e}};const Z=g;var x=n(70917),R=n(85893);const M=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:u,onExited:c,timeout:p}=e,[d,h]=i.useState(!1),f=(0,l.Z)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-a/2+s,left:-a/2+o},b=(0,l.Z)(n.child,d&&n.childLeaving,r&&n.childPulsate);return u||d||h(!0),i.useEffect((()=>{if(!u&&null!=c){const e=setTimeout(c,p);return()=>{clearTimeout(e)}}}),[c,u,p]),(0,R.jsx)("span",{className:f,style:m,children:(0,R.jsx)("span",{className:b})})};var E=n(42615);const k=["center","classes","className"];let T,C,P,w,S=e=>e;const V=(0,x.F4)(T||(T=S`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),j=(0,x.F4)(C||(C=S`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),$=(0,x.F4)(P||(P=S`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),O=(0,a.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),D=(0,a.ZP)(M,{name:"MuiTouchRipple",slot:"Ripple"})(w||(w=S`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),E.Z.rippleVisible,V,550,(({theme:e})=>e.transitions.easing.easeInOut),E.Z.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),E.Z.child,E.Z.childLeaving,j,550,(({theme:e})=>e.transitions.easing.easeInOut),E.Z.childPulsate,$,(({theme:e})=>e.transitions.easing.easeInOut)),F=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:c}=n,p=(0,o.Z)(n,k),[d,h]=i.useState([]),f=i.useRef(0),m=i.useRef(null);i.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[d]);const b=i.useRef(!1),v=i.useRef(null),y=i.useRef(null),g=i.useRef(null);i.useEffect((()=>()=>{clearTimeout(v.current)}),[]);const x=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;h((e=>[...e,(0,R.jsx)(D,{classes:{ripple:(0,l.Z)(a.ripple,E.Z.ripple),rippleVisible:(0,l.Z)(a.rippleVisible,E.Z.rippleVisible),ripplePulsate:(0,l.Z)(a.ripplePulsate,E.Z.ripplePulsate),child:(0,l.Z)(a.child,E.Z.child),childLeaving:(0,l.Z)(a.childLeaving,E.Z.childLeaving),childPulsate:(0,l.Z)(a.childPulsate,E.Z.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},f.current)])),f.current+=1,m.current=i}),[a]),M=i.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:o=s||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&b.current)return void(b.current=!1);"touchstart"===(null==e?void 0:e.type)&&(b.current=!0);const l=i?null:g.current,a=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,p;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(a.width/2),c=Math.round(a.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-a.left),c=Math.round(n-a.top)}if(o)p=Math.sqrt((2*a.width**2+a.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===y.current&&(y.current=()=>{x({pulsate:r,rippleX:u,rippleY:c,rippleSize:p,cb:n})},v.current=setTimeout((()=>{y.current&&(y.current(),y.current=null)}),80)):x({pulsate:r,rippleX:u,rippleY:c,rippleSize:p,cb:n})}),[s,x]),T=i.useCallback((()=>{M({},{pulsate:!0})}),[M]),C=i.useCallback(((e,t)=>{if(clearTimeout(v.current),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void(v.current=setTimeout((()=>{C(e,t)})));y.current=null,h((e=>e.length>0?e.slice(1):e)),m.current=t}),[]);return i.useImperativeHandle(t,(()=>({pulsate:T,start:M,stop:C})),[T,M,C]),(0,R.jsx)(O,(0,r.Z)({className:(0,l.Z)(E.Z.root,a.root,c),ref:g},p,{children:(0,R.jsx)(Z,{component:null,exit:!0,children:d})}))}));var B=n(45063);const L=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],N=(0,a.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"},[`&.${B.Z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),I=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:a,centerRipple:h=!1,children:f,className:m,component:b="button",disabled:v=!1,disableRipple:y=!1,disableTouchRipple:g=!1,focusRipple:Z=!1,LinkComponent:x="a",onBlur:M,onClick:E,onContextMenu:k,onDragLeave:T,onFocus:C,onFocusVisible:P,onKeyDown:w,onKeyUp:S,onMouseDown:V,onMouseLeave:j,onMouseUp:$,onTouchEnd:O,onTouchMove:D,onTouchStart:I,tabIndex:z=0,TouchRippleProps:_,touchRippleRef:X,type:A}=n,U=(0,o.Z)(n,L),Y=i.useRef(null),K=i.useRef(null),H=(0,c.Z)(K,X),{isFocusVisibleRef:W,onFocus:q,onBlur:G,ref:J}=(0,d.Z)(),[Q,ee]=i.useState(!1);v&&Q&&ee(!1),i.useImperativeHandle(a,(()=>({focusVisible:()=>{ee(!0),Y.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!y&&!v;function oe(e,t,n=g){return(0,p.Z)((r=>{t&&t(r);return!n&&K.current&&K.current[e](r),!0}))}i.useEffect((()=>{Q&&Z&&!y&&te&&K.current.pulsate()}),[y,Z,Q,te]);const ie=oe("start",V),le=oe("stop",k),se=oe("stop",T),ae=oe("stop",$),ue=oe("stop",(e=>{Q&&e.preventDefault(),j&&j(e)})),ce=oe("start",I),pe=oe("stop",O),de=oe("stop",D),he=oe("stop",(e=>{G(e),!1===W.current&&ee(!1),M&&M(e)}),!1),fe=(0,p.Z)((e=>{Y.current||(Y.current=e.currentTarget),q(e),!0===W.current&&(ee(!0),P&&P(e)),C&&C(e)})),me=()=>{const e=Y.current;return b&&"button"!==b&&!("A"===e.tagName&&e.href)},be=i.useRef(!1),ve=(0,p.Z)((e=>{Z&&!be.current&&Q&&K.current&&" "===e.key&&(be.current=!0,K.current.stop(e,(()=>{K.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!v&&(e.preventDefault(),E&&E(e))})),ye=(0,p.Z)((e=>{Z&&" "===e.key&&K.current&&Q&&!e.defaultPrevented&&(be.current=!1,K.current.stop(e,(()=>{K.current.pulsate(e)}))),S&&S(e),E&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&E(e)}));let ge=b;"button"===ge&&(U.href||U.to)&&(ge=x);const Ze={};"button"===ge?(Ze.type=void 0===A?"button":A,Ze.disabled=v):(U.href||U.to||(Ze.role="button"),v&&(Ze["aria-disabled"]=v));const xe=(0,c.Z)(t,J,Y);const Re=(0,r.Z)({},n,{centerRipple:h,component:b,disabled:v,disableRipple:y,disableTouchRipple:g,focusRipple:Z,tabIndex:z,focusVisible:Q}),Me=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},l=(0,s.Z)(i,B.$,o);return n&&r&&(l.root+=` ${r}`),l})(Re);return(0,R.jsxs)(N,(0,r.Z)({as:ge,className:(0,l.Z)(Me.root,m),ownerState:Re,onBlur:he,onClick:E,onContextMenu:le,onFocus:fe,onKeyDown:ve,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ue,onMouseUp:ae,onDragLeave:se,onTouchEnd:pe,onTouchMove:de,onTouchStart:ce,ref:xe,tabIndex:v?-1:z,type:A},Ze,U,{children:[f,re?(0,R.jsx)(F,(0,r.Z)({ref:H,center:h},_)):null]}))}))},45063:(e,t,n)=>{n.d(t,{$:()=>i,Z:()=>l});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiButtonBase",e)}const l=(0,r.Z)("MuiButtonBase",["root","disabled","focusVisible"])},42615:(e,t,n)=>{n.d(t,{H:()=>i,Z:()=>l});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiTouchRipple",e)}const l=(0,r.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},7419:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n(67294).createContext(null)},91890:(e,t,n)=>{function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})}}]);