Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
hoveredSpanStyles: DayStyleShape,
[5500] Fix | Delete
selectedSpanStyles: DayStyleShape,
[5501] Fix | Delete
lastInRangeStyles: DayStyleShape,
[5502] Fix | Delete
selectedStyles: DayStyleShape,
[5503] Fix | Delete
selectedStartStyles: DayStyleShape,
[5504] Fix | Delete
selectedEndStyles: DayStyleShape,
[5505] Fix | Delete
afterHoveredStartStyles: DayStyleShape,
[5506] Fix | Delete
[5507] Fix | Delete
// internationalization
[5508] Fix | Delete
phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases))
[5509] Fix | Delete
}));
[5510] Fix | Delete
[5511] Fix | Delete
var defaultStyles = exports.defaultStyles = {
[5512] Fix | Delete
border: '1px solid ' + String(color.core.borderLight),
[5513] Fix | Delete
color: color.text,
[5514] Fix | Delete
background: color.background,
[5515] Fix | Delete
[5516] Fix | Delete
hover: {
[5517] Fix | Delete
background: color.core.borderLight,
[5518] Fix | Delete
border: '1px double ' + String(color.core.borderLight),
[5519] Fix | Delete
color: 'inherit'
[5520] Fix | Delete
}
[5521] Fix | Delete
};
[5522] Fix | Delete
[5523] Fix | Delete
var outsideStyles = exports.outsideStyles = {
[5524] Fix | Delete
background: color.outside.backgroundColor,
[5525] Fix | Delete
border: 0,
[5526] Fix | Delete
color: color.outside.color
[5527] Fix | Delete
};
[5528] Fix | Delete
[5529] Fix | Delete
var highlightedCalendarStyles = exports.highlightedCalendarStyles = {
[5530] Fix | Delete
background: color.highlighted.backgroundColor,
[5531] Fix | Delete
color: color.highlighted.color,
[5532] Fix | Delete
[5533] Fix | Delete
hover: {
[5534] Fix | Delete
background: color.highlighted.backgroundColor_hover,
[5535] Fix | Delete
color: color.highlighted.color_active
[5536] Fix | Delete
}
[5537] Fix | Delete
};
[5538] Fix | Delete
[5539] Fix | Delete
var blockedMinNightsStyles = exports.blockedMinNightsStyles = {
[5540] Fix | Delete
background: color.minimumNights.backgroundColor,
[5541] Fix | Delete
border: '1px solid ' + String(color.minimumNights.borderColor),
[5542] Fix | Delete
color: color.minimumNights.color,
[5543] Fix | Delete
[5544] Fix | Delete
hover: {
[5545] Fix | Delete
background: color.minimumNights.backgroundColor_hover,
[5546] Fix | Delete
color: color.minimumNights.color_active
[5547] Fix | Delete
}
[5548] Fix | Delete
};
[5549] Fix | Delete
[5550] Fix | Delete
var blockedCalendarStyles = exports.blockedCalendarStyles = {
[5551] Fix | Delete
background: color.blocked_calendar.backgroundColor,
[5552] Fix | Delete
border: '1px solid ' + String(color.blocked_calendar.borderColor),
[5553] Fix | Delete
color: color.blocked_calendar.color,
[5554] Fix | Delete
[5555] Fix | Delete
hover: {
[5556] Fix | Delete
background: color.blocked_calendar.backgroundColor_hover,
[5557] Fix | Delete
border: '1px solid ' + String(color.blocked_calendar.borderColor),
[5558] Fix | Delete
color: color.blocked_calendar.color_active
[5559] Fix | Delete
}
[5560] Fix | Delete
};
[5561] Fix | Delete
[5562] Fix | Delete
var blockedOutOfRangeStyles = exports.blockedOutOfRangeStyles = {
[5563] Fix | Delete
background: color.blocked_out_of_range.backgroundColor,
[5564] Fix | Delete
border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
[5565] Fix | Delete
color: color.blocked_out_of_range.color,
[5566] Fix | Delete
[5567] Fix | Delete
hover: {
[5568] Fix | Delete
background: color.blocked_out_of_range.backgroundColor_hover,
[5569] Fix | Delete
border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
[5570] Fix | Delete
color: color.blocked_out_of_range.color_active
[5571] Fix | Delete
}
[5572] Fix | Delete
};
[5573] Fix | Delete
[5574] Fix | Delete
var hoveredSpanStyles = exports.hoveredSpanStyles = {
[5575] Fix | Delete
background: color.hoveredSpan.backgroundColor,
[5576] Fix | Delete
border: '1px solid ' + String(color.hoveredSpan.borderColor),
[5577] Fix | Delete
color: color.hoveredSpan.color,
[5578] Fix | Delete
[5579] Fix | Delete
hover: {
[5580] Fix | Delete
background: color.hoveredSpan.backgroundColor_hover,
[5581] Fix | Delete
border: '1px solid ' + String(color.hoveredSpan.borderColor),
[5582] Fix | Delete
color: color.hoveredSpan.color_active
[5583] Fix | Delete
}
[5584] Fix | Delete
};
[5585] Fix | Delete
[5586] Fix | Delete
var selectedSpanStyles = exports.selectedSpanStyles = {
[5587] Fix | Delete
background: color.selectedSpan.backgroundColor,
[5588] Fix | Delete
border: '1px solid ' + String(color.selectedSpan.borderColor),
[5589] Fix | Delete
color: color.selectedSpan.color,
[5590] Fix | Delete
[5591] Fix | Delete
hover: {
[5592] Fix | Delete
background: color.selectedSpan.backgroundColor_hover,
[5593] Fix | Delete
border: '1px solid ' + String(color.selectedSpan.borderColor),
[5594] Fix | Delete
color: color.selectedSpan.color_active
[5595] Fix | Delete
}
[5596] Fix | Delete
};
[5597] Fix | Delete
[5598] Fix | Delete
var lastInRangeStyles = exports.lastInRangeStyles = {
[5599] Fix | Delete
borderRight: color.core.primary
[5600] Fix | Delete
};
[5601] Fix | Delete
[5602] Fix | Delete
var selectedStyles = exports.selectedStyles = {
[5603] Fix | Delete
background: color.selected.backgroundColor,
[5604] Fix | Delete
border: '1px solid ' + String(color.selected.borderColor),
[5605] Fix | Delete
color: color.selected.color,
[5606] Fix | Delete
[5607] Fix | Delete
hover: {
[5608] Fix | Delete
background: color.selected.backgroundColor_hover,
[5609] Fix | Delete
border: '1px solid ' + String(color.selected.borderColor),
[5610] Fix | Delete
color: color.selected.color_active
[5611] Fix | Delete
}
[5612] Fix | Delete
};
[5613] Fix | Delete
[5614] Fix | Delete
var defaultProps = {
[5615] Fix | Delete
day: (0, _moment2['default'])(),
[5616] Fix | Delete
daySize: _constants.DAY_SIZE,
[5617] Fix | Delete
isOutsideDay: false,
[5618] Fix | Delete
modifiers: new Set(),
[5619] Fix | Delete
isFocused: false,
[5620] Fix | Delete
tabIndex: -1,
[5621] Fix | Delete
onDayClick: function () {
[5622] Fix | Delete
function onDayClick() {}
[5623] Fix | Delete
[5624] Fix | Delete
return onDayClick;
[5625] Fix | Delete
}(),
[5626] Fix | Delete
onDayMouseEnter: function () {
[5627] Fix | Delete
function onDayMouseEnter() {}
[5628] Fix | Delete
[5629] Fix | Delete
return onDayMouseEnter;
[5630] Fix | Delete
}(),
[5631] Fix | Delete
onDayMouseLeave: function () {
[5632] Fix | Delete
function onDayMouseLeave() {}
[5633] Fix | Delete
[5634] Fix | Delete
return onDayMouseLeave;
[5635] Fix | Delete
}(),
[5636] Fix | Delete
[5637] Fix | Delete
renderDayContents: null,
[5638] Fix | Delete
ariaLabelFormat: 'dddd, LL',
[5639] Fix | Delete
[5640] Fix | Delete
// style defaults
[5641] Fix | Delete
defaultStyles: defaultStyles,
[5642] Fix | Delete
outsideStyles: outsideStyles,
[5643] Fix | Delete
todayStyles: {},
[5644] Fix | Delete
highlightedCalendarStyles: highlightedCalendarStyles,
[5645] Fix | Delete
blockedMinNightsStyles: blockedMinNightsStyles,
[5646] Fix | Delete
blockedCalendarStyles: blockedCalendarStyles,
[5647] Fix | Delete
blockedOutOfRangeStyles: blockedOutOfRangeStyles,
[5648] Fix | Delete
hoveredSpanStyles: hoveredSpanStyles,
[5649] Fix | Delete
selectedSpanStyles: selectedSpanStyles,
[5650] Fix | Delete
lastInRangeStyles: lastInRangeStyles,
[5651] Fix | Delete
selectedStyles: selectedStyles,
[5652] Fix | Delete
selectedStartStyles: {},
[5653] Fix | Delete
selectedEndStyles: {},
[5654] Fix | Delete
afterHoveredStartStyles: {},
[5655] Fix | Delete
firstDayOfWeekStyles: {},
[5656] Fix | Delete
lastDayOfWeekStyles: {},
[5657] Fix | Delete
[5658] Fix | Delete
// internationalization
[5659] Fix | Delete
phrases: _defaultPhrases.CalendarDayPhrases
[5660] Fix | Delete
};
[5661] Fix | Delete
[5662] Fix | Delete
var CustomizableCalendarDay = function (_React$Component) {
[5663] Fix | Delete
_inherits(CustomizableCalendarDay, _React$Component);
[5664] Fix | Delete
[5665] Fix | Delete
function CustomizableCalendarDay() {
[5666] Fix | Delete
var _ref;
[5667] Fix | Delete
[5668] Fix | Delete
_classCallCheck(this, CustomizableCalendarDay);
[5669] Fix | Delete
[5670] Fix | Delete
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
[5671] Fix | Delete
args[_key] = arguments[_key];
[5672] Fix | Delete
}
[5673] Fix | Delete
[5674] Fix | Delete
var _this = _possibleConstructorReturn(this, (_ref = CustomizableCalendarDay.__proto__ || Object.getPrototypeOf(CustomizableCalendarDay)).call.apply(_ref, [this].concat(args)));
[5675] Fix | Delete
[5676] Fix | Delete
_this.state = {
[5677] Fix | Delete
isHovered: false
[5678] Fix | Delete
};
[5679] Fix | Delete
[5680] Fix | Delete
_this.setButtonRef = _this.setButtonRef.bind(_this);
[5681] Fix | Delete
return _this;
[5682] Fix | Delete
}
[5683] Fix | Delete
[5684] Fix | Delete
_createClass(CustomizableCalendarDay, [{
[5685] Fix | Delete
key: 'shouldComponentUpdate',
[5686] Fix | Delete
value: function () {
[5687] Fix | Delete
function shouldComponentUpdate(nextProps, nextState) {
[5688] Fix | Delete
return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
[5689] Fix | Delete
}
[5690] Fix | Delete
[5691] Fix | Delete
return shouldComponentUpdate;
[5692] Fix | Delete
}()
[5693] Fix | Delete
}, {
[5694] Fix | Delete
key: 'componentDidUpdate',
[5695] Fix | Delete
value: function () {
[5696] Fix | Delete
function componentDidUpdate(prevProps) {
[5697] Fix | Delete
var _props = this.props,
[5698] Fix | Delete
isFocused = _props.isFocused,
[5699] Fix | Delete
tabIndex = _props.tabIndex;
[5700] Fix | Delete
[5701] Fix | Delete
if (tabIndex === 0) {
[5702] Fix | Delete
if (isFocused || tabIndex !== prevProps.tabIndex) {
[5703] Fix | Delete
this.buttonRef.focus();
[5704] Fix | Delete
}
[5705] Fix | Delete
}
[5706] Fix | Delete
}
[5707] Fix | Delete
[5708] Fix | Delete
return componentDidUpdate;
[5709] Fix | Delete
}()
[5710] Fix | Delete
}, {
[5711] Fix | Delete
key: 'onDayClick',
[5712] Fix | Delete
value: function () {
[5713] Fix | Delete
function onDayClick(day, e) {
[5714] Fix | Delete
var onDayClick = this.props.onDayClick;
[5715] Fix | Delete
[5716] Fix | Delete
onDayClick(day, e);
[5717] Fix | Delete
}
[5718] Fix | Delete
[5719] Fix | Delete
return onDayClick;
[5720] Fix | Delete
}()
[5721] Fix | Delete
}, {
[5722] Fix | Delete
key: 'onDayMouseEnter',
[5723] Fix | Delete
value: function () {
[5724] Fix | Delete
function onDayMouseEnter(day, e) {
[5725] Fix | Delete
var onDayMouseEnter = this.props.onDayMouseEnter;
[5726] Fix | Delete
[5727] Fix | Delete
this.setState({ isHovered: true });
[5728] Fix | Delete
onDayMouseEnter(day, e);
[5729] Fix | Delete
}
[5730] Fix | Delete
[5731] Fix | Delete
return onDayMouseEnter;
[5732] Fix | Delete
}()
[5733] Fix | Delete
}, {
[5734] Fix | Delete
key: 'onDayMouseLeave',
[5735] Fix | Delete
value: function () {
[5736] Fix | Delete
function onDayMouseLeave(day, e) {
[5737] Fix | Delete
var onDayMouseLeave = this.props.onDayMouseLeave;
[5738] Fix | Delete
[5739] Fix | Delete
this.setState({ isHovered: false });
[5740] Fix | Delete
onDayMouseLeave(day, e);
[5741] Fix | Delete
}
[5742] Fix | Delete
[5743] Fix | Delete
return onDayMouseLeave;
[5744] Fix | Delete
}()
[5745] Fix | Delete
}, {
[5746] Fix | Delete
key: 'onKeyDown',
[5747] Fix | Delete
value: function () {
[5748] Fix | Delete
function onKeyDown(day, e) {
[5749] Fix | Delete
var onDayClick = this.props.onDayClick;
[5750] Fix | Delete
var key = e.key;
[5751] Fix | Delete
[5752] Fix | Delete
if (key === 'Enter' || key === ' ') {
[5753] Fix | Delete
onDayClick(day, e);
[5754] Fix | Delete
}
[5755] Fix | Delete
}
[5756] Fix | Delete
[5757] Fix | Delete
return onKeyDown;
[5758] Fix | Delete
}()
[5759] Fix | Delete
}, {
[5760] Fix | Delete
key: 'setButtonRef',
[5761] Fix | Delete
value: function () {
[5762] Fix | Delete
function setButtonRef(ref) {
[5763] Fix | Delete
this.buttonRef = ref;
[5764] Fix | Delete
}
[5765] Fix | Delete
[5766] Fix | Delete
return setButtonRef;
[5767] Fix | Delete
}()
[5768] Fix | Delete
}, {
[5769] Fix | Delete
key: 'render',
[5770] Fix | Delete
value: function () {
[5771] Fix | Delete
function render() {
[5772] Fix | Delete
var _this2 = this;
[5773] Fix | Delete
[5774] Fix | Delete
var _props2 = this.props,
[5775] Fix | Delete
day = _props2.day,
[5776] Fix | Delete
ariaLabelFormat = _props2.ariaLabelFormat,
[5777] Fix | Delete
daySize = _props2.daySize,
[5778] Fix | Delete
isOutsideDay = _props2.isOutsideDay,
[5779] Fix | Delete
modifiers = _props2.modifiers,
[5780] Fix | Delete
tabIndex = _props2.tabIndex,
[5781] Fix | Delete
renderDayContents = _props2.renderDayContents,
[5782] Fix | Delete
styles = _props2.styles,
[5783] Fix | Delete
phrases = _props2.phrases,
[5784] Fix | Delete
defaultStylesWithHover = _props2.defaultStyles,
[5785] Fix | Delete
outsideStylesWithHover = _props2.outsideStyles,
[5786] Fix | Delete
todayStylesWithHover = _props2.todayStyles,
[5787] Fix | Delete
firstDayOfWeekStylesWithHover = _props2.firstDayOfWeekStyles,
[5788] Fix | Delete
lastDayOfWeekStylesWithHover = _props2.lastDayOfWeekStyles,
[5789] Fix | Delete
highlightedCalendarStylesWithHover = _props2.highlightedCalendarStyles,
[5790] Fix | Delete
blockedMinNightsStylesWithHover = _props2.blockedMinNightsStyles,
[5791] Fix | Delete
blockedCalendarStylesWithHover = _props2.blockedCalendarStyles,
[5792] Fix | Delete
blockedOutOfRangeStylesWithHover = _props2.blockedOutOfRangeStyles,
[5793] Fix | Delete
hoveredSpanStylesWithHover = _props2.hoveredSpanStyles,
[5794] Fix | Delete
selectedSpanStylesWithHover = _props2.selectedSpanStyles,
[5795] Fix | Delete
lastInRangeStylesWithHover = _props2.lastInRangeStyles,
[5796] Fix | Delete
selectedStylesWithHover = _props2.selectedStyles,
[5797] Fix | Delete
selectedStartStylesWithHover = _props2.selectedStartStyles,
[5798] Fix | Delete
selectedEndStylesWithHover = _props2.selectedEndStyles,
[5799] Fix | Delete
afterHoveredStartStylesWithHover = _props2.afterHoveredStartStyles;
[5800] Fix | Delete
var isHovered = this.state.isHovered;
[5801] Fix | Delete
[5802] Fix | Delete
[5803] Fix | Delete
if (!day) return _react2['default'].createElement('td', null);
[5804] Fix | Delete
[5805] Fix | Delete
var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases),
[5806] Fix | Delete
daySizeStyles = _getCalendarDaySettin.daySizeStyles,
[5807] Fix | Delete
useDefaultCursor = _getCalendarDaySettin.useDefaultCursor,
[5808] Fix | Delete
selected = _getCalendarDaySettin.selected,
[5809] Fix | Delete
hoveredSpan = _getCalendarDaySettin.hoveredSpan,
[5810] Fix | Delete
isOutsideRange = _getCalendarDaySettin.isOutsideRange,
[5811] Fix | Delete
ariaLabel = _getCalendarDaySettin.ariaLabel;
[5812] Fix | Delete
[5813] Fix | Delete
return _react2['default'].createElement(
[5814] Fix | Delete
'td',
[5815] Fix | Delete
_extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, daySizeStyles, getStyles(defaultStylesWithHover, isHovered), isOutsideDay && getStyles(outsideStylesWithHover, isHovered), modifiers.has('today') && getStyles(todayStylesWithHover, isHovered), modifiers.has('first-day-of-week') && getStyles(firstDayOfWeekStylesWithHover, isHovered), modifiers.has('last-day-of-week') && getStyles(lastDayOfWeekStylesWithHover, isHovered), modifiers.has('highlighted-calendar') && getStyles(highlightedCalendarStylesWithHover, isHovered), modifiers.has('blocked-minimum-nights') && getStyles(blockedMinNightsStylesWithHover, isHovered), modifiers.has('blocked-calendar') && getStyles(blockedCalendarStylesWithHover, isHovered), hoveredSpan && getStyles(hoveredSpanStylesWithHover, isHovered), modifiers.has('after-hovered-start') && getStyles(afterHoveredStartStylesWithHover, isHovered), modifiers.has('selected-span') && getStyles(selectedSpanStylesWithHover, isHovered), modifiers.has('last-in-range') && getStyles(lastInRangeStylesWithHover, isHovered), selected && getStyles(selectedStylesWithHover, isHovered), modifiers.has('selected-start') && getStyles(selectedStartStylesWithHover, isHovered), modifiers.has('selected-end') && getStyles(selectedEndStylesWithHover, isHovered), isOutsideRange && getStyles(blockedOutOfRangeStylesWithHover, isHovered)), {
[5816] Fix | Delete
role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role
[5817] Fix | Delete
, ref: this.setButtonRef,
[5818] Fix | Delete
'aria-label': ariaLabel,
[5819] Fix | Delete
onMouseEnter: function () {
[5820] Fix | Delete
function onMouseEnter(e) {
[5821] Fix | Delete
_this2.onDayMouseEnter(day, e);
[5822] Fix | Delete
}
[5823] Fix | Delete
[5824] Fix | Delete
return onMouseEnter;
[5825] Fix | Delete
}(),
[5826] Fix | Delete
onMouseLeave: function () {
[5827] Fix | Delete
function onMouseLeave(e) {
[5828] Fix | Delete
_this2.onDayMouseLeave(day, e);
[5829] Fix | Delete
}
[5830] Fix | Delete
[5831] Fix | Delete
return onMouseLeave;
[5832] Fix | Delete
}(),
[5833] Fix | Delete
onMouseUp: function () {
[5834] Fix | Delete
function onMouseUp(e) {
[5835] Fix | Delete
e.currentTarget.blur();
[5836] Fix | Delete
}
[5837] Fix | Delete
[5838] Fix | Delete
return onMouseUp;
[5839] Fix | Delete
}(),
[5840] Fix | Delete
onClick: function () {
[5841] Fix | Delete
function onClick(e) {
[5842] Fix | Delete
_this2.onDayClick(day, e);
[5843] Fix | Delete
}
[5844] Fix | Delete
[5845] Fix | Delete
return onClick;
[5846] Fix | Delete
}(),
[5847] Fix | Delete
onKeyDown: function () {
[5848] Fix | Delete
function onKeyDown(e) {
[5849] Fix | Delete
_this2.onKeyDown(day, e);
[5850] Fix | Delete
}
[5851] Fix | Delete
[5852] Fix | Delete
return onKeyDown;
[5853] Fix | Delete
}(),
[5854] Fix | Delete
tabIndex: tabIndex
[5855] Fix | Delete
}),
[5856] Fix | Delete
renderDayContents ? renderDayContents(day, modifiers) : day.format('D')
[5857] Fix | Delete
);
[5858] Fix | Delete
}
[5859] Fix | Delete
[5860] Fix | Delete
return render;
[5861] Fix | Delete
}()
[5862] Fix | Delete
}]);
[5863] Fix | Delete
[5864] Fix | Delete
return CustomizableCalendarDay;
[5865] Fix | Delete
}(_react2['default'].Component);
[5866] Fix | Delete
[5867] Fix | Delete
CustomizableCalendarDay.propTypes = propTypes;
[5868] Fix | Delete
CustomizableCalendarDay.defaultProps = defaultProps;
[5869] Fix | Delete
[5870] Fix | Delete
exports.PureCustomizableCalendarDay = CustomizableCalendarDay;
[5871] Fix | Delete
exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
[5872] Fix | Delete
var font = _ref2.reactDates.font;
[5873] Fix | Delete
return {
[5874] Fix | Delete
CalendarDay: {
[5875] Fix | Delete
boxSizing: 'border-box',
[5876] Fix | Delete
cursor: 'pointer',
[5877] Fix | Delete
fontSize: font.size,
[5878] Fix | Delete
textAlign: 'center',
[5879] Fix | Delete
[5880] Fix | Delete
':active': {
[5881] Fix | Delete
outline: 0
[5882] Fix | Delete
}
[5883] Fix | Delete
},
[5884] Fix | Delete
[5885] Fix | Delete
CalendarDay__defaultCursor: {
[5886] Fix | Delete
cursor: 'default'
[5887] Fix | Delete
}
[5888] Fix | Delete
};
[5889] Fix | Delete
})(CustomizableCalendarDay);
[5890] Fix | Delete
[5891] Fix | Delete
/***/ }),
[5892] Fix | Delete
[5893] Fix | Delete
/***/ "GG7f":
[5894] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[5895] Fix | Delete
[5896] Fix | Delete
// eslint-disable-next-line import/no-unresolved
[5897] Fix | Delete
__webpack_require__("H24B");
[5898] Fix | Delete
[5899] Fix | Delete
[5900] Fix | Delete
/***/ }),
[5901] Fix | Delete
[5902] Fix | Delete
/***/ "GK4x":
[5903] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[5904] Fix | Delete
[5905] Fix | Delete
"use strict";
[5906] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[5907] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[5908] Fix | Delete
/**
[5909] Fix | Delete
* WordPress dependencies
[5910] Fix | Delete
*/
[5911] Fix | Delete
[5912] Fix | Delete
var ToolbarContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
[5913] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (ToolbarContext);
[5914] Fix | Delete
[5915] Fix | Delete
[5916] Fix | Delete
/***/ }),
[5917] Fix | Delete
[5918] Fix | Delete
/***/ "GRId":
[5919] Fix | Delete
/***/ (function(module, exports) {
[5920] Fix | Delete
[5921] Fix | Delete
(function() { module.exports = window["wp"]["element"]; }());
[5922] Fix | Delete
[5923] Fix | Delete
/***/ }),
[5924] Fix | Delete
[5925] Fix | Delete
/***/ "Gn0q":
[5926] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[5927] Fix | Delete
[5928] Fix | Delete
"use strict";
[5929] Fix | Delete
[5930] Fix | Delete
[5931] Fix | Delete
var define = __webpack_require__("82c2");
[5932] Fix | Delete
var getPolyfill = __webpack_require__("5yQQ");
[5933] Fix | Delete
[5934] Fix | Delete
module.exports = function shimContains() {
[5935] Fix | Delete
var polyfill = getPolyfill();
[5936] Fix | Delete
if (typeof document !== 'undefined') {
[5937] Fix | Delete
define(
[5938] Fix | Delete
document,
[5939] Fix | Delete
{ contains: polyfill },
[5940] Fix | Delete
{ contains: function () { return document.contains !== polyfill; } }
[5941] Fix | Delete
);
[5942] Fix | Delete
if (typeof Element !== 'undefined') {
[5943] Fix | Delete
define(
[5944] Fix | Delete
Element.prototype,
[5945] Fix | Delete
{ contains: polyfill },
[5946] Fix | Delete
{ contains: function () { return Element.prototype.contains !== polyfill; } }
[5947] Fix | Delete
);
[5948] Fix | Delete
}
[5949] Fix | Delete
}
[5950] Fix | Delete
return polyfill;
[5951] Fix | Delete
};
[5952] Fix | Delete
[5953] Fix | Delete
[5954] Fix | Delete
/***/ }),
[5955] Fix | Delete
[5956] Fix | Delete
/***/ "GoyQ":
[5957] Fix | Delete
/***/ (function(module, exports) {
[5958] Fix | Delete
[5959] Fix | Delete
/**
[5960] Fix | Delete
* Checks if `value` is the
[5961] Fix | Delete
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
[5962] Fix | Delete
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
[5963] Fix | Delete
*
[5964] Fix | Delete
* @static
[5965] Fix | Delete
* @memberOf _
[5966] Fix | Delete
* @since 0.1.0
[5967] Fix | Delete
* @category Lang
[5968] Fix | Delete
* @param {*} value The value to check.
[5969] Fix | Delete
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
[5970] Fix | Delete
* @example
[5971] Fix | Delete
*
[5972] Fix | Delete
* _.isObject({});
[5973] Fix | Delete
* // => true
[5974] Fix | Delete
*
[5975] Fix | Delete
* _.isObject([1, 2, 3]);
[5976] Fix | Delete
* // => true
[5977] Fix | Delete
*
[5978] Fix | Delete
* _.isObject(_.noop);
[5979] Fix | Delete
* // => true
[5980] Fix | Delete
*
[5981] Fix | Delete
* _.isObject(null);
[5982] Fix | Delete
* // => false
[5983] Fix | Delete
*/
[5984] Fix | Delete
function isObject(value) {
[5985] Fix | Delete
var type = typeof value;
[5986] Fix | Delete
return value != null && (type == 'object' || type == 'function');
[5987] Fix | Delete
}
[5988] Fix | Delete
[5989] Fix | Delete
module.exports = isObject;
[5990] Fix | Delete
[5991] Fix | Delete
[5992] Fix | Delete
/***/ }),
[5993] Fix | Delete
[5994] Fix | Delete
/***/ "H24B":
[5995] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[5996] Fix | Delete
[5997] Fix | Delete
"use strict";
[5998] Fix | Delete
[5999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function