Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),z=(0,R.F4)(C||(C=$`
  0% {
    opacity: 1;
  }

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

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),O=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),j=(0,s.ZP)(M,{name:"MuiTouchRipple",slot:"Ripple"})(w||(w=$`
  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,P,550,(({theme:e})=>e.transitions.easing.easeInOut),E.Z.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),E.Z.child,E.Z.childLeaving,z,550,(({theme:e})=>e.transitions.easing.easeInOut),E.Z.childPulsate,V,(({theme:e})=>e.transitions.easing.easeInOut)),B=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:u}=n,p=(0,r.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),g=i.useRef(null),Z=i.useRef(null);i.useEffect((()=>()=>{clearTimeout(v.current)}),[]);const R=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:o,rippleSize:r,cb:i}=e;h((e=>[...e,(0,x.jsx)(j,{classes:{ripple:(0,a.Z)(s.ripple,E.Z.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,E.Z.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,E.Z.ripplePulsate),child:(0,a.Z)(s.child,E.Z.child),childLeaving:(0,a.Z)(s.childLeaving,E.Z.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,E.Z.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:o,rippleSize:r},f.current)])),f.current+=1,m.current=i}),[s]),M=i.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:r=l||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 a=i?null:Z.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,p;if(r||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(r)p=Math.sqrt((2*s.width**2+s.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===g.current&&(g.current=()=>{R({pulsate:o,rippleX:c,rippleY:u,rippleSize:p,cb:n})},v.current=setTimeout((()=>{g.current&&(g.current(),g.current=null)}),80)):R({pulsate:o,rippleX:c,rippleY:u,rippleSize:p,cb:n})}),[l,R]),T=i.useCallback((()=>{M({},{pulsate:!0})}),[M]),C=i.useCallback(((e,t)=>{if(clearTimeout(v.current),"touchend"===(null==e?void 0:e.type)&&g.current)return g.current(),g.current=null,void(v.current=setTimeout((()=>{C(e,t)})));g.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,x.jsx)(O,(0,o.Z)({className:(0,a.Z)(E.Z.root,s.root,u),ref:Z},p,{children:(0,x.jsx)(y,{component:null,exit:!0,children:d})}))}));var F=n(45063);const I=["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"],L=(0,s.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"},[`&.${F.Z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),D=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:h=!1,children:f,className:m,component:b="button",disabled:v=!1,disableRipple:g=!1,disableTouchRipple:Z=!1,focusRipple:y=!1,LinkComponent:R="a",onBlur:M,onClick:E,onContextMenu:k,onDragLeave:T,onFocus:C,onFocusVisible:S,onKeyDown:w,onKeyUp:$,onMouseDown:P,onMouseLeave:z,onMouseUp:V,onTouchEnd:O,onTouchMove:j,onTouchStart:D,tabIndex:N=0,TouchRippleProps:_,touchRippleRef:A,type:U}=n,X=(0,r.Z)(n,I),Y=i.useRef(null),K=i.useRef(null),q=(0,u.Z)(K,A),{isFocusVisibleRef:H,onFocus:W,onBlur:G,ref:J}=(0,d.Z)(),[Q,ee]=i.useState(!1);v&&Q&&ee(!1),i.useImperativeHandle(s,(()=>({focusVisible:()=>{ee(!0),Y.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const oe=te&&!g&&!v;function re(e,t,n=Z){return(0,p.Z)((o=>{t&&t(o);return!n&&K.current&&K.current[e](o),!0}))}i.useEffect((()=>{Q&&y&&!g&&te&&K.current.pulsate()}),[g,y,Q,te]);const ie=re("start",P),ae=re("stop",k),le=re("stop",T),se=re("stop",V),ce=re("stop",(e=>{Q&&e.preventDefault(),z&&z(e)})),ue=re("start",D),pe=re("stop",O),de=re("stop",j),he=re("stop",(e=>{G(e),!1===H.current&&ee(!1),M&&M(e)}),!1),fe=(0,p.Z)((e=>{Y.current||(Y.current=e.currentTarget),W(e),!0===H.current&&(ee(!0),S&&S(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=>{y&&!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))})),ge=(0,p.Z)((e=>{y&&" "===e.key&&K.current&&Q&&!e.defaultPrevented&&(be.current=!1,K.current.stop(e,(()=>{K.current.pulsate(e)}))),$&&$(e),E&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&E(e)}));let Ze=b;"button"===Ze&&(X.href||X.to)&&(Ze=R);const ye={};"button"===Ze?(ye.type=void 0===U?"button":U,ye.disabled=v):(X.href||X.to||(ye.role="button"),v&&(ye["aria-disabled"]=v));const Re=(0,u.Z)(t,J,Y);const xe=(0,o.Z)({},n,{centerRipple:h,component:b,disabled:v,disableRipple:g,disableTouchRipple:Z,focusRipple:y,tabIndex:N,focusVisible:Q}),Me=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:r}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,l.Z)(i,F.$,r);return n&&o&&(a.root+=` ${o}`),a})(xe);return(0,x.jsxs)(L,(0,o.Z)({as:Ze,className:(0,a.Z)(Me.root,m),ownerState:xe,onBlur:he,onClick:E,onContextMenu:ae,onFocus:fe,onKeyDown:ve,onKeyUp:ge,onMouseDown:ie,onMouseLeave:ce,onMouseUp:se,onDragLeave:le,onTouchEnd:pe,onTouchMove:de,onTouchStart:ue,ref:Re,tabIndex:v?-1:N,type:U},ye,X,{children:[f,oe?(0,x.jsx)(B,(0,o.Z)({ref:q,center:h},_)):null]}))}))},45063:(e,t,n)=>{n.d(t,{$:()=>i,Z:()=>a});var o=n(1588),r=n(34867);function i(e){return(0,r.Z)("MuiButtonBase",e)}const a=(0,o.Z)("MuiButtonBase",["root","disabled","focusVisible"])},42615:(e,t,n)=>{n.d(t,{H:()=>i,Z:()=>a});var o=n(1588),r=n(34867);function i(e){return(0,r.Z)("MuiTouchRipple",e)}const a=(0,o.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},54799:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(1048),r=n(32793),i=n(67294),a=n(93680),l=n(94780),s=n(41796),c=n(90948),u=n(71657),p=n(23240),d=n(98216),h=n(96239),f=n(85893);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],b=(0,c.ZP)(p.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,d.Z)(n.color)}`],n.edge&&t[`edge${(0,d.Z)(n.edge)}`],t[`size${(0,d.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,r.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const o=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,r.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,r.Z)({color:null==o?void 0:o.main},!t.disableRipple&&{"&:hover":(0,r.Z)({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(o.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${h.Z.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),v=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:c,color:p="default",disabled:v=!1,disableFocusRipple:g=!1,size:Z="medium"}=n,y=(0,o.Z)(n,m),R=(0,r.Z)({},n,{edge:i,color:p,disabled:v,disableFocusRipple:g,size:Z}),x=(e=>{const{classes:t,disabled:n,color:o,edge:r,size:i}=e,a={root:["root",n&&"disabled","default"!==o&&`color${(0,d.Z)(o)}`,r&&`edge${(0,d.Z)(r)}`,`size${(0,d.Z)(i)}`]};return(0,l.Z)(a,h.r,t)})(R);return(0,f.jsx)(b,(0,r.Z)({className:(0,a.Z)(x.root,c),centerRipple:!0,focusRipple:!g,disabled:v,ref:t,ownerState:R},y,{children:s}))}))},96239:(e,t,n)=>{n.d(t,{Z:()=>a,r:()=>i});var o=n(1588),r=n(34867);function i(e){return(0,r.Z)("MuiIconButton",e)}const a=(0,o.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},74113:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o.Z,getIconButtonUtilityClass:()=>r.r,iconButtonClasses:()=>r.Z});var o=n(54799),r=n(96239)},7419:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(67294).createContext(null)},91890:(e,t,n)=>{function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}n.d(t,{Z:()=>r})}}]);