You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.4 MiB
2 lines
1.4 MiB
3 years ago
|
/*! For license information please see 35.d33764ab.chunk.js.LICENSE.txt */
|
||
|
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[35,4],{1041:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDefaultRenderer=e.createMarkerStylesWithLeftOffset=void 0;var i,r=(i=n(2))&&i.__esModule?i:{default:i};function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a={position:"absolute",top:0,bottom:0,width:"2px",backgroundColor:"black",pointerEvents:"none"};e.createMarkerStylesWithLeftOffset=function(t){return function(t){for(var e=1;e<arguments.length;e++)if(e%2){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){o(t,e,n[e])}))}else Object.defineProperties(t,Object.getOwnPropertyDescriptors(arguments[e]));return t}({},a,{left:t})};e.createDefaultRenderer=function(t){return function(t){var e=t.styles;return r.default.createElement("div",{style:e})}}},1042:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=s(n(2)),r=s(n(79)),o=n(954),a=n(1150);function s(t){return t&&t.__esModule?t:{default:t}}function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t){for(var e=1;e<arguments.length;e++)if(e%2){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){_(t,e,n[e])}))}else Object.defineProperties(t,Object.getOwnPropertyDescriptors(arguments[e]));return t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?p(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=function(t){function e(){var t,n;u(this,e);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return _(p(n=h(this,(t=f(e)).call.apply(t,[this].concat(r)))),"getRootProps",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.style,i=n.props.variant===a.RIGHT_VARIANT?n.props.rightSidebarWidth:n.props.leftSidebarWidth;return{style:c({},e,{width:i})}})),_(p(n),"getStateAndHelpers",(function(){return{getRootProps:n.getRootProps,data:n.props.headerData}})),n}var n,r,o;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(e,t),n=e,(r=[{key:"render",value:function(){var t=this.getStateAndHelpers(),e=this.props.children;return i.default.createElement(e,t)}}])&&d(n.prototype,r),o&&d(n,o),e}(i.default.PureComponent);_(m,"propTypes",{children:r.default.func.isRequired,rightSidebarWidth:r.default.number,leftSidebarWidth:r.default.number.isRequired,variant:r.default.string,headerData:r.default.object});var v=function(t){var e=t.children,n=t.variant,r=t.headerData;return i.default.createElement(o.TimelineHeadersConsumer,null,(function(t){var o=t.leftSidebarWidth,a=t.rightSidebarWidth;return i.default.createElement(m,{l
|