Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6753 | Rev 6795 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6753 Rev 6754
Línea 5... Línea 5...
5
 *
5
 *
6
 * Copyright (c) Facebook, Inc. and its affiliates.
6
 * Copyright (c) Facebook, Inc. and its affiliates.
7
 *
7
 *
8
 * This source code is licensed under the MIT license found in the
8
 * This source code is licensed under the MIT license found in the
9
 * LICENSE file in the root directory of this source tree.
9
 * LICENSE file in the root directory of this source tree.
10
 */function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case a:case s:case i:case p:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case u:case h:case f:case l:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference")},76607:(e,t,n)=>{n(63023)},63106:(e,t,n)=>{n.d(t,{ZP:()=>v});var o=n(1048),r=n(91890),a=n(67294),i=n(73935);const s=!1;var l=n(7419),d="unmounted",c="exited",u="entering",p="entered",m="exiting",f=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,a=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?a?(r=c,o.appearStatus=u):r=p:r=t.unmountOnExit||t.mountOnEnter?d:c,o.state={status:r},o.nextCallback=null,o}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==p&&(t=u):n!==u&&n!==p||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===u){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[i.findDOMNode(this),o],a=r[0],l=r[1],d=this.getTimeouts(),c=o?d.appear:d.enter;!e&&!n||s?this.safeSetState({status:p},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,l),this.safeSetState({status:u},(function(){t.props.onEntering(a,l),t.onTransitionEnd(c,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(a,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!s?(this.props.onExit(o),this.safeSetState({status:m},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=r[0],s=r[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,r):a.cloneElement(a.Children.only(n),r))},t}(a.Component);function h(){}f.contextType=l.Z,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED=d,f.EXITED=c,f.ENTERING=u,f.ENTERED=p,f.EXITING=m;const v=f},2734:(e,t,n)=>{n.d(t,{Z:()=>a});n(67294);var o=n(77878),r=n(90247);function a(){return(0,o.Z)(r.Z)}},30577:(e,t,n)=>{n.d(t,{C:()=>r,n:()=>o});const o=e=>e.scrollTop;function r(e,t){var n,o;const{timeout:r,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=i.transitionTimingFunction)?o:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}},39707:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(54695),r=n(60916),a=n(59766),i=n(38010);const s=["sx"];function l(e){const{sx:t}=e,n=(0,r.Z)(e,s),{systemProps:l,otherProps:d}=(e=>{var t,n;const o={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:i.Z;return Object.keys(e).forEach((t=>{r[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]})),o})(n);let c;return c=Array.isArray(t)?[l,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,a.P)(n)?(0,o.Z)({},l,n):l}:(0,o.Z)({},l,t),(0,o.Z)({},d,{sx:c})}}}]);
-
 
11
10
 */function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case a:case s:case i:case p:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case u:case h:case f:case l:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference")},76607:(e,t,n)=>{n(63023)},63106:(e,t,n)=>{n.d(t,{ZP:()=>v});var o=n(1048),r=n(91890),a=n(67294),i=n(73935);const s=!1;var l=n(7419),d="unmounted",c="exited",u="entering",p="entered",m="exiting",f=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,a=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?a?(r=c,o.appearStatus=u):r=p:r=t.unmountOnExit||t.mountOnEnter?d:c,o.state={status:r},o.nextCallback=null,o}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==p&&(t=u):n!==u&&n!==p||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===u){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[i.findDOMNode(this),o],a=r[0],l=r[1],d=this.getTimeouts(),c=o?d.appear:d.enter;!e&&!n||s?this.safeSetState({status:p},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,l),this.safeSetState({status:u},(function(){t.props.onEntering(a,l),t.onTransitionEnd(c,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(a,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!s?(this.props.onExit(o),this.safeSetState({status:m},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=r[0],s=r[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,r):a.cloneElement(a.Children.only(n),r))},t}(a.Component);function h(){}f.contextType=l.Z,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED=d,f.EXITED=c,f.ENTERING=u,f.ENTERED=p,f.EXITING=m;const v=f},2734:(e,t,n)=>{n.d(t,{Z:()=>a});n(67294);var o=n(77878),r=n(90247);function a(){return(0,o.Z)(r.Z)}},30577:(e,t,n)=>{n.d(t,{C:()=>r,n:()=>o});const o=e=>e.scrollTop;function r(e,t){var n,o;const{timeout:r,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=i.transitionTimingFunction)?o:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}},39707:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(54695),r=n(60916),a=n(59766),i=n(38010);const s=["sx"],l=e=>{var t,n;const o={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:i.Z;return Object.keys(e).forEach((t=>{r[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]})),o};function d(e){const{sx:t}=e,n=(0,r.Z)(e,s),{systemProps:i,otherProps:d}=l(n);let c;return c=Array.isArray(t)?[i,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,a.P)(n)?(0,o.Z)({},i,n):i}:(0,o.Z)({},i,t),(0,o.Z)({},d,{sx:c})}}}]);
-
 
11
12
12