` by default. You can change this
- * behavior by providing a `component` prop.
- * If you use React v16+ and would like to avoid a wrapping `
` element
- * you can pass in `component={null}`. This is useful if the wrapping div
- * borks your css styles.
- */
- component: _propTypes.default.any,
+module.exports = setToString;
- /**
- * A set of `
` components, that are toggled `in` and out as they
- * leave. the `` will inject specific transition props, so
- * remember to spread them through if you are wrapping the `` as
- * with our `` example.
- *
- * While this component is meant for multiple `Transition` or `CSSTransition`
- * children, sometimes you may want to have a single transition child with
- * content that you want to be transitioned out and in when you change it
- * (e.g. routes, images etc.) In that case you can change the `key` prop of
- * the transition child as you change its content, this will cause
- * `TransitionGroup` to transition the child out and back in.
- */
- children: _propTypes.default.node,
- /**
- * A convenience prop that enables or disables appear animations
- * for all children. Note that specifying this will override any defaults set
- * on individual children Transitions.
- */
- appear: _propTypes.default.bool,
+/***/ }),
+/* 194 */
+/*!**********************************************************************!*\
+ !*** ./node_modules/element-resize-detector/src/collection-utils.js ***!
+ \**********************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
- /**
- * A convenience prop that enables or disables enter animations
- * for all children. Note that specifying this will override any defaults set
- * on individual children Transitions.
- */
- enter: _propTypes.default.bool,
+"use strict";
- /**
- * A convenience prop that enables or disables exit animations
- * for all children. Note that specifying this will override any defaults set
- * on individual children Transitions.
- */
- exit: _propTypes.default.bool,
- /**
- * You may need to apply reactive updates to a child as it is exiting.
- * This is generally done by using `cloneElement` however in the case of an exiting
- * child the element has already been removed and not accessible to the consumer.
- *
- * If you do need to update a child as it leaves you can provide a `childFactory`
- * to wrap every child, even the ones that are leaving.
- *
- * @type Function(child: ReactElement) -> ReactElement
- */
- childFactory: _propTypes.default.func
-} : {};
-TransitionGroup.defaultProps = defaultProps;
+var utils = module.exports = {};
-var _default = (0, _reactLifecyclesCompat.polyfill)(TransitionGroup);
+/**
+ * Loops through the collection and calls the callback for each element. if the callback returns truthy, the loop is broken and returns the same value.
+ * @public
+ * @param {*} collection The collection to loop through. Needs to have a length property set and have indices set from 0 to length - 1.
+ * @param {function} callback The callback to be called for each element. The element will be given as a parameter to the callback. If this callback returns truthy, the loop is broken and the same value is returned.
+ * @returns {*} The value that a callback has returned (if truthy). Otherwise nothing.
+ */
+utils.forEach = function(collection, callback) {
+ for(var i = 0; i < collection.length; i++) {
+ var result = callback(collection[i]);
+ if(result) {
+ return result;
+ }
+ }
+};
-exports.default = _default;
-module.exports = exports["default"];
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
/***/ }),
-/* 160 */
-/*!**********************************************!*\
- !*** ./src/blocks/info-box/inline-styles.js ***!
- \**********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* 195 */
+/*!**********************************************************************!*\
+ !*** ./node_modules/element-resize-detector/src/browser-detector.js ***!
+ \**********************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 4);
-/**
- * Returns Dynamic Generated CSS
- */
+var detector = module.exports = {};
+detector.isIE = function(version) {
+ function isAnyIeVersion() {
+ var agent = navigator.userAgent.toLowerCase();
+ return agent.indexOf("msie") !== -1 || agent.indexOf("trident") !== -1 || agent.indexOf(" edge/") !== -1;
+ }
-function InfoBoxStyle(props) {
- var _props$attributes = props.attributes,
- classMigrate = _props$attributes.classMigrate,
- headingAlign = _props$attributes.headingAlign,
- headingColor = _props$attributes.headingColor,
- subHeadingColor = _props$attributes.subHeadingColor,
- prefixColor = _props$attributes.prefixColor,
- prefixFontSize = _props$attributes.prefixFontSize,
- prefixFontSizeType = _props$attributes.prefixFontSizeType,
- prefixFontSizeTablet = _props$attributes.prefixFontSizeTablet,
- prefixFontSizeMobile = _props$attributes.prefixFontSizeMobile,
- prefixFontFamily = _props$attributes.prefixFontFamily,
- prefixFontWeight = _props$attributes.prefixFontWeight,
- prefixLineHeightType = _props$attributes.prefixLineHeightType,
- prefixLineHeight = _props$attributes.prefixLineHeight,
- prefixLineHeightTablet = _props$attributes.prefixLineHeightTablet,
- prefixLineHeightMobile = _props$attributes.prefixLineHeightMobile,
- headFontSize = _props$attributes.headFontSize,
- headFontSizeType = _props$attributes.headFontSizeType,
- headFontSizeTablet = _props$attributes.headFontSizeTablet,
- headFontSizeMobile = _props$attributes.headFontSizeMobile,
- headFontFamily = _props$attributes.headFontFamily,
- headFontWeight = _props$attributes.headFontWeight,
- headLineHeightType = _props$attributes.headLineHeightType,
- headLineHeight = _props$attributes.headLineHeight,
- headLineHeightTablet = _props$attributes.headLineHeightTablet,
- headLineHeightMobile = _props$attributes.headLineHeightMobile,
- subHeadFontSize = _props$attributes.subHeadFontSize,
- subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
- subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
- subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
- subHeadFontFamily = _props$attributes.subHeadFontFamily,
- subHeadFontWeight = _props$attributes.subHeadFontWeight,
- subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
- subHeadLineHeight = _props$attributes.subHeadLineHeight,
- subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet,
- subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
- separatorWidthType = _props$attributes.separatorWidthType,
- headSpace = _props$attributes.headSpace,
- subHeadSpace = _props$attributes.subHeadSpace,
- iconColor = _props$attributes.iconColor,
- iconSize = _props$attributes.iconSize,
- iconimgPosition = _props$attributes.iconimgPosition,
- iconHover = _props$attributes.iconHover,
- iconimgBorderRadius = _props$attributes.iconimgBorderRadius,
- seperatorStyle = _props$attributes.seperatorStyle,
- seperatorWidth = _props$attributes.seperatorWidth,
- seperatorColor = _props$attributes.seperatorColor,
- seperatorThickness = _props$attributes.seperatorThickness,
- seperatorSpace = _props$attributes.seperatorSpace,
- ctaLinkColor = _props$attributes.ctaLinkColor,
- ctaFontSize = _props$attributes.ctaFontSize,
- ctaFontSizeType = _props$attributes.ctaFontSizeType,
- ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
- ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
- ctaFontFamily = _props$attributes.ctaFontFamily,
- ctaFontWeight = _props$attributes.ctaFontWeight,
- ctaBtnLinkColor = _props$attributes.ctaBtnLinkColor,
- ctaBgColor = _props$attributes.ctaBgColor,
- ctaBtnVertPadding = _props$attributes.ctaBtnVertPadding,
- ctaBtnHrPadding = _props$attributes.ctaBtnHrPadding,
- ctaBorderStyle = _props$attributes.ctaBorderStyle,
- ctaBorderColor = _props$attributes.ctaBorderColor,
- ctaBorderWidth = _props$attributes.ctaBorderWidth,
- ctaBorderRadius = _props$attributes.ctaBorderRadius,
- prefixSpace = _props$attributes.prefixSpace,
- iconLeftMargin = _props$attributes.iconLeftMargin,
- iconRightMargin = _props$attributes.iconRightMargin,
- iconTopMargin = _props$attributes.iconTopMargin,
- iconBottomMargin = _props$attributes.iconBottomMargin,
- imageWidth = _props$attributes.imageWidth,
- imageWidthType = _props$attributes.imageWidthType,
- ctaLinkHoverColor = _props$attributes.ctaLinkHoverColor,
- ctaBgHoverColor = _props$attributes.ctaBgHoverColor,
- ctaBorderhoverColor = _props$attributes.ctaBorderhoverColor,
- ctaIconSpace = _props$attributes.ctaIconSpace;
+ if(!isAnyIeVersion()) {
+ return false;
+ }
+ if(!version) {
+ return true;
+ }
- var selectors = {
- // Icon css
- " .uagb-ifb-icon": {
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px")
- },
- " .uagb-ifb-icon > span": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
- "color": iconColor,
- "fill": iconColor,
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px")
- },
- " .uagb-ifb-icon > svg": {
- "fill": iconColor
- },
- " .uagb-ifb-icon:hover > span": {
- "color": iconHover
- },
- " .uagb-ifb-icon:hover > svg": {
- "fill": iconHover
- },
- " .uagb-infobox_cta-type-all:hover .uagb-ifb-icon svg": {
- "fill": iconHover
- },
- " .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap": {
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconLeftMargin, "px"),
- "margin-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconRightMargin, "px"),
- "margin-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconTopMargin, "px"),
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconBottomMargin, "px")
- },
- " .uagb-infobox .uagb-ifb-image-content img": {
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconimgBorderRadius, "px")
- },
- // CTA style
- " .uagb-infobox-cta-link": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "font-family": ctaFontFamily,
- "font-weight": ctaFontWeight,
- "color": ctaLinkColor
- },
- " .uagb-infobox-cta-link:hover": {
- "color": ctaLinkHoverColor
- },
- " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link svg": {
- "fill": ctaLinkColor
- },
- " .uagb-infobox-cta-link:hover svg": {
- "fill": ctaLinkHoverColor
- },
- " .uagb-ifb-button-wrapper .uagb-infobox-cta-link": {
- "color": ctaBtnLinkColor,
- "background-color": ctaBgColor,
- "border-style": ctaBorderStyle,
- "border-color": ctaBorderColor,
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBorderRadius, "px"),
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBorderWidth, "px"),
- "padding-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBtnVertPadding, "px"),
- "padding-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBtnVertPadding, "px"),
- "padding-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBtnHrPadding, "px"),
- "padding-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaBtnHrPadding, "px")
- },
- " .uagb-ifb-button-wrapper:hover .uagb-infobox-cta-link": {
- "color": ctaLinkHoverColor,
- "background-color": ctaBgHoverColor,
- "border-color": ctaBorderhoverColor
- },
- " .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg": {
- "fill": ctaBtnLinkColor
- },
- " .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg": {
- "fill": ctaLinkHoverColor
- },
- // Prefix Style
- " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixFontSize, prefixFontSizeType),
- "font-family": prefixFontFamily,
- "font-weight": prefixFontWeight,
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixLineHeight, prefixLineHeightType),
- "color": prefixColor,
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixSpace, "px")
- },
- // Title Style
- " .block-editor-rich-text__editable.uagb-ifb-title a": {
- "color": headingColor
- },
- " .block-editor-rich-text__editable.uagb-ifb-title": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSize, headFontSizeType),
- "font-family": headFontFamily,
- "font-weight": headFontWeight,
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeight, headLineHeightType),
- "color": headingColor,
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headSpace, "px")
- },
- // Description Style
- " .block-editor-rich-text__editable.uagb-ifb-desc": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSize, subHeadFontSizeType),
- "font-family": subHeadFontFamily,
- "font-weight": subHeadFontWeight,
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeight, subHeadLineHeightType),
- "color": subHeadingColor,
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadSpace, "px")
- },
- // Seperator
- " .uagb-ifb-separator": {
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](seperatorWidth, separatorWidthType),
- "border-top-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](seperatorThickness, "px"),
- "border-top-color": seperatorColor,
- "border-top-style": seperatorStyle
- },
- " .uagb-ifb-separator-parent": {
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](seperatorSpace, "px")
- },
- " .uagb-ifb-content": {
- "padding": typeof blockPadding != "undefined" ? blockPadding + "px" : "inherit"
- },
- " .uagb-ifb-align-icon-after": {
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaIconSpace, "px")
- },
- " .uagb-ifb-align-icon-before": {
- "margin-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaIconSpace, "px")
- }
- };
+ //Shamelessly stolen from https://gist.github.com/padolsey/527683
+ var ieVersion = (function(){
+ var undef,
+ v = 3,
+ div = document.createElement("div"),
+ all = div.getElementsByTagName("i");
- if (imageWidthType) {
- // Image
- selectors[" .uagb-ifb-image-content img"] = {
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](imageWidth, "px"),
- "max-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](imageWidth, "px")
- };
- }
+ do {
+ div.innerHTML = "";
+ }
+ while (all[0]);
- if (iconimgPosition == "above-title" || iconimgPosition == "below-title") {
- selectors[" .uagb-infobox__content-wrap"] = {
- "text-align": headingAlign
- };
- }
+ return v > 4 ? v : undef;
+ }());
- var tablet_selectors = {
- " .block-editor-rich-text__editable.uagb-ifb-desc": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeTablet, subHeadFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightTablet, subHeadLineHeightType)
- },
- " .block-editor-rich-text__editable.uagb-ifb-title": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeTablet, headFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightTablet, headLineHeightType)
- },
- " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixFontSizeTablet, prefixFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixLineHeightTablet, prefixLineHeightType)
- },
- " .uagb-infobox-cta-link": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType)
- }
- };
+ return version === ieVersion;
+};
- var mobile_selectors = {
- " .block-editor-rich-text__editable.uagb-ifb-desc": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeMobile, subHeadFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightMobile, subHeadLineHeightType)
- },
- " .block-editor-rich-text__editable.uagb-ifb-title": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeMobile, headFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightMobile, headLineHeightType)
- },
- " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixFontSizeMobile, prefixFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](prefixLineHeightMobile, prefixLineHeightType)
- },
- " .uagb-infobox-cta-link": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType)
- },
- " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType)
- }
- };
+detector.isLegacyOpera = function() {
+ return !!window.opera;
+};
- var id = ".block-editor-page #wpwrap .uagb-block-" + props.clientId.substr(0, 8);
- var styling_css = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](selectors, id);
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](tablet_selectors, id, true, "tablet");
+/***/ }),
+/* 196 */
+/*!***************************************!*\
+ !*** ./node_modules/lodash/keysIn.js ***!
+ \***************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 157),
+ baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ 433),
+ isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](mobile_selectors, id, true, "mobile");
- return styling_css;
+/**
+ * Creates an array of the own and inherited enumerable property names of `object`.
+ *
+ * **Note:** Non-object values are coerced to objects.
+ *
+ * @static
+ * @memberOf _
+ * @since 3.0.0
+ * @category Object
+ * @param {Object} object The object to query.
+ * @returns {Array} Returns the array of property names.
+ * @example
+ *
+ * function Foo() {
+ * this.a = 1;
+ * this.b = 2;
+ * }
+ *
+ * Foo.prototype.c = 3;
+ *
+ * _.keysIn(new Foo);
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
+ */
+function keysIn(object) {
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
}
-/* harmony default export */ __webpack_exports__["a"] = (InfoBoxStyle);
+module.exports = keysIn;
+
/***/ }),
-/* 161 */
-/*!*****************************************************!*\
- !*** ./src/blocks/info-box/components/IconImage.js ***!
- \*****************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* 197 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_getSymbolsIn.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
-"use strict";
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+var arrayPush = __webpack_require__(/*! ./_arrayPush */ 78),
+ getPrototype = __webpack_require__(/*! ./_getPrototype */ 100),
+ getSymbols = __webpack_require__(/*! ./_getSymbols */ 79),
+ stubArray = __webpack_require__(/*! ./stubArray */ 156);
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/* Built-in method references for those with the same name as other `lodash` methods. */
+var nativeGetSymbols = Object.getOwnPropertySymbols;
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+/**
+ * Creates an array of the own and inherited enumerable symbols of `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @returns {Array} Returns the array of symbols.
+ */
+var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
+ var result = [];
+ while (object) {
+ arrayPush(result, getSymbols(object));
+ object = getPrototype(object);
+ }
+ return result;
+};
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+module.exports = getSymbolsIn;
-var RichText = wp.blockEditor.RichText;
-var __ = wp.i18n.__;
-var InfoBoxIconImage = function (_React$Component) {
- _inherits(InfoBoxIconImage, _React$Component);
+/***/ }),
+/* 198 */
+/*!***********************************************!*\
+ !*** ./node_modules/react-slick/lib/index.js ***!
+ \***********************************************/
+/*! dynamic exports provided */
+/*! exports used: default */
+/***/ (function(module, exports, __webpack_require__) {
- function InfoBoxIconImage() {
- _classCallCheck(this, InfoBoxIconImage);
+"use strict";
- return _possibleConstructorReturn(this, (InfoBoxIconImage.__proto__ || Object.getPrototypeOf(InfoBoxIconImage)).apply(this, arguments));
- }
- _createClass(InfoBoxIconImage, [{
- key: "render",
- value: function render() {
- var attributes = this.props.attributes;
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+var _slider = _interopRequireDefault(__webpack_require__(/*! ./slider */ 465));
- var url_chk = "";
- if (typeof attributes.iconImage !== "undefined" && attributes.iconImage !== null && attributes.iconImage !== "") {
- url_chk = attributes.iconImage.url;
- }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
- var url = "";
- if (url_chk !== "") {
- var size = attributes.iconImage.sizes;
- var imageSize = attributes.imageSize;
+var _default = _slider["default"];
+exports["default"] = _default;
- if (typeof size !== "undefined" && typeof size[imageSize] !== "undefined") {
- url = size[imageSize].url;
- } else {
- url = url_chk;
- }
+/***/ }),
+/* 199 */
+/*!*********************************************!*\
+ !*** ./node_modules/enquire.js/src/Util.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
- return wp.element.createElement(
- "div",
- { className: "uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap" },
- wp.element.createElement(
- "div",
- { className: "uagb-ifb-image" },
- wp.element.createElement(
- "div",
- { className: "uagb-ifb-image-content" },
- wp.element.createElement("img", {
- className: "uagb-ifb-img-src",
- src: url,
- alt: attributes.iconImage.alt
- })
- )
- )
- );
- } else {
- return null;
- }
- }
- }]);
+/**
+ * Helper function for iterating over a collection
+ *
+ * @param collection
+ * @param fn
+ */
+function each(collection, fn) {
+ var i = 0,
+ length = collection.length,
+ cont;
- return InfoBoxIconImage;
-}(React.Component);
+ for(i; i < length; i++) {
+ cont = fn(collection[i], i);
+ if(cont === false) {
+ break; //allow early exit
+ }
+ }
+}
+
+/**
+ * Helper function for determining whether target object is an array
+ *
+ * @param target the object under test
+ * @return {Boolean} true if array, false otherwise
+ */
+function isArray(target) {
+ return Object.prototype.toString.apply(target) === '[object Array]';
+}
+
+/**
+ * Helper function for determining whether target object is a function
+ *
+ * @param target the object under test
+ * @return {Boolean} true if function, false otherwise
+ */
+function isFunction(target) {
+ return typeof target === 'function';
+}
+
+module.exports = {
+ isFunction : isFunction,
+ isArray : isArray,
+ each : each
+};
-/* harmony default export */ __webpack_exports__["a"] = (InfoBoxIconImage);
/***/ }),
-/* 162 */
-/*!*******************************************!*\
- !*** ./src/blocks/info-box/attributes.js ***!
- \*******************************************/
+/* 200 */
+/*!******************************************!*\
+ !*** ./src/blocks/section/attributes.js ***!
+ \******************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/**
- * BLOCK: Info Box - Attributes
+ * BLOCK: UAGB Section Attributes
*/
-
var attributes = {
- inheritFromTheme: {
- type: "boolean",
- default: false
- },
- prefixTitle: {
- source: "html",
- selector: "span.uagb-ifb-title-prefix",
- default: "Prefix"
- },
classMigrate: {
type: "boolean",
default: false
},
- infoBoxTitle: {
- source: "html",
- selector: "h1,h2,h3,h4,h5,h6",
- default: "Info Box"
- },
- headingDesc: {
- source: "html",
- selector: "p",
- default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
- },
- headingAlign: {
+ align: {
type: "string",
default: "center"
},
- headingColor: {
- type: "string"
- },
- subHeadingColor: {
+ block_id: {
type: "string"
},
- prefixColor: {
- type: "string"
+ mobilePaddingType: {
+ type: "string",
+ default: 'px'
},
- icon: {
+ tabletPaddingType: {
type: "string",
- default: "fa fa-star"
+ default: 'px'
},
- iconimgPosition: {
+ desktopPaddingType: {
type: "string",
- default: "above-title"
+ default: 'px'
},
- iconSize: {
+ topPadding: {
type: "number",
- default: 40
+ default: 20
},
- iconHover: {
- type: "string",
- default: ""
+ bottomPadding: {
+ type: "number",
+ default: 20
},
- iconBgHover: {
- type: "string",
- default: ""
+ leftPadding: {
+ type: "number",
+ default: 20
},
- iconColor: {
- type: "string",
- default: "#333"
+ rightPadding: {
+ type: "number",
+ default: 20
},
- prefixTag: {
+ mobileMarginType: {
type: "string",
- default: "h3"
- },
- prefixFontSize: {
- type: "number"
+ default: 'px'
},
- prefixFontSizeType: {
+ tabletMarginType: {
type: "string",
- default: "px"
- },
- prefixFontSizeTablet: {
- type: "number"
- },
- prefixFontSizeMobile: {
- type: "number"
+ default: 'px'
},
- prefixFontFamily: {
+ desktopMarginType: {
type: "string",
- default: "Default"
+ default: 'px'
},
- prefixFontWeight: {
- type: "string"
+ topMargin: {
+ type: "number",
+ default: 0
},
- prefixFontSubset: {
- type: "string"
+ bottomMargin: {
+ type: "number",
+ default: 0
},
- prefixLineHeightType: {
- type: "string",
- default: "em"
+ leftMargin: {
+ type: "number",
+ default: 0
},
- prefixLineHeight: {
- type: "number"
+ rightMargin: {
+ type: "number",
+ default: 0
},
- prefixLineHeightTablet: {
- type: "number"
+
+ topPaddingTablet: {
+ type: "number",
+ default: ""
},
- prefixLineHeightMobile: {
- type: "number"
+ bottomPaddingTablet: {
+ type: "number",
+ default: ""
},
- prefixLoadGoogleFonts: {
- type: "boolean",
- default: false
+ leftPaddingTablet: {
+ type: "number",
+ default: ""
},
- headingTag: {
- type: "string",
- default: "h3"
+ rightPaddingTablet: {
+ type: "number",
+ default: ""
},
- headFontSize: {
- type: "number"
+ topMarginTablet: {
+ type: "number",
+ default: ""
},
- headFontSizeType: {
- type: "string",
- default: "px"
+ bottomMarginTablet: {
+ type: "number",
+ default: ""
},
- headFontSizeTablet: {
- type: "number"
+ leftMarginTablet: {
+ type: "number",
+ default: ""
},
- headFontSizeMobile: {
- type: "number"
+ rightMarginTablet: {
+ type: "number",
+ default: ""
},
- headFontFamily: {
- type: "string",
- default: "Default"
+
+ topPaddingMobile: {
+ type: "number",
+ default: ""
},
- headFontWeight: {
- type: "string"
+ bottomPaddingMobile: {
+ type: "number",
+ default: ""
},
- headFontSubset: {
- type: "string"
+ leftPaddingMobile: {
+ type: "number",
+ default: ""
},
- headLineHeightType: {
- type: "string",
- default: "em"
+ rightPaddingMobile: {
+ type: "number",
+ default: ""
},
- headLineHeight: {
- type: "number"
- },
- headLineHeightTablet: {
- type: "number"
- },
- headLineHeightMobile: {
- type: "number"
- },
- headLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- subHeadFontSize: {
- type: "number"
- },
- subHeadFontSizeType: {
- type: "string",
- default: "px"
- },
- subHeadFontSizeTablet: {
- type: "number"
- },
- subHeadFontSizeMobile: {
- type: "number"
- },
- subHeadFontFamily: {
- type: "string",
- default: "Default"
- },
- subHeadFontWeight: {
- type: "string"
- },
- subHeadFontSubset: {
- type: "string"
- },
- subHeadLineHeightType: {
- type: "string",
- default: "em"
- },
- subHeadLineHeight: {
- type: "number"
- },
- subHeadLineHeightTablet: {
- type: "number"
- },
- subHeadLineHeightMobile: {
- type: "number"
- },
- subHeadLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- headSpace: {
+ topMarginMobile: {
type: "number",
- default: 10
+ default: ""
},
- subHeadSpace: {
+ bottomMarginMobile: {
type: "number",
- default: 10
+ default: ""
},
- seperatorSpace: {
+ leftMarginMobile: {
type: "number",
- default: 10
+ default: ""
},
- iconimgBorderRadius: {
+ rightMarginMobile: {
type: "number",
- default: 0
+ default: ""
},
- source_type: {
+ contentWidth: {
type: "string",
- default: "icon"
+ default: "boxed"
},
- block_id: {
- type: "string",
- default: "not_set"
+ width: {
+ type: "number",
+ default: 900
},
- sourceAlign: {
+ innerWidth: {
+ type: "number",
+ default: 1140
+ },
+ innerWidthType: {
type: "string",
- default: "top"
+ default: "px"
},
- ctaTarget: {
+ themeWidth: {
type: "boolean",
default: false
},
- ctaIcon: {
+ tag: {
type: "string",
- default: ""
+ default: "section"
},
- ctaIconPosition: {
- type: "string",
- default: "after"
+ backgroundType: {
+ type: "string"
},
- ctaIconSpace: {
- type: "number",
- default: 5
+ backgroundImage: {
+ type: "object"
},
- seperatorPosition: {
+ backgroundPosition: {
type: "string",
- default: "after_title"
+ default: "center-center"
},
- seperatorStyle: {
+ backgroundSize: {
type: "string",
- default: "solid"
+ default: "cover"
},
- seperatorColor: {
+ backgroundRepeat: {
type: "string",
- default: "#333"
- },
- seperatorWidth: {
- type: "number",
- default: 30
+ default: "no-repeat"
},
- separatorWidthType: {
+ backgroundAttachment: {
type: "string",
- default: "%"
+ default: "scroll"
},
- seperatorThickness: {
- type: "number",
- default: 2
+ backgroundVideo: {
+ type: "object"
},
- ctaType: {
- type: "string",
- default: "none"
+ backgroundColor: {
+ type: "string"
},
- ctaText: {
- type: "html",
- default: "Read More"
+ gradientColor1: {
+ type: "string"
},
- ctaLink: {
- type: "string",
- default: "#"
+ gradientColor2: {
+ type: "string"
},
- ctaLinkColor: {
+ gradientType: {
type: "string",
- default: "#333"
+ default: "linear"
},
- ctaFontSize: {
- type: "number"
+ gradientLocation1: {
+ type: "number",
+ default: 0
},
- ctaFontSizeType: {
- type: "string",
- default: "px"
+ gradientLocation2: {
+ type: "number",
+ default: 100
},
- ctaFontSizeMobile: {
- type: "number"
+ gradientAngle: {
+ type: "number",
+ default: 0
},
- ctaFontSizeTablet: {
+ gradientPosition: {
+ type: "string",
+ default: "center center"
+ },
+ backgroundOpacity: {
type: "number"
},
- ctaFontFamily: {
- type: "string",
- default: "Default"
+ backgroundVideoOpacity: {
+ type: "number",
+ default: 50
},
- ctaFontWeight: {
+ backgroundVideoColor: {
type: "string"
},
- ctaFontSubset: {
+ backgroundImageColor: {
type: "string"
},
- ctaLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- ctaBtnLinkColor: {
+ borderStyle: {
type: "string",
- default: "#333"
+ default: "none"
},
- ctaLinkHoverColor: {
- type: "string",
- default: ""
+ borderWidth: {
+ type: "number",
+ default: 1
},
- ctaBgColor: {
- type: "string",
- default: "transparent"
+ borderRadius: {
+ type: "number"
},
- ctaBgHoverColor: {
- type: "string",
- default: "transparent"
+ borderColor: {
+ type: "string"
},
- ctaBorderColor: {
+ overlayType: {
type: "string",
- default: "#333"
+ default: "color"
},
- ctaBorderhoverColor: {
- type: "string",
- default: ""
+ gradientOverlayColor1: {
+ type: "string"
},
- ctaBorderStyle: {
- type: "string",
- default: "solid"
+ gradientOverlayColor2: {
+ type: "string"
},
- ctaBtnVertPadding: {
- type: "number",
- default: 10
+ gradientOverlayType: {
+ type: "string",
+ default: "linear"
},
- ctaBtnHrPadding: {
+ gradientOverlayLocation1: {
type: "number",
- default: 14
+ default: 0
},
- ctaBorderWidth: {
+ gradientOverlayLocation2: {
type: "number",
- default: 1
+ default: 100
},
- ctaBorderRadius: {
+ gradientOverlayAngle: {
type: "number",
default: 0
},
- prefixSpace: {
- type: "number",
- default: 5
+ gradientOverlayPosition: {
+ type: "string",
+ default: "center center"
},
- iconLeftMargin: {
- type: "number",
- default: 10
+ boxShadowColor: {
+ type: "string"
},
- iconRightMargin: {
+ boxShadowHOffset: {
type: "number",
- default: 10
+ default: 0
},
- iconTopMargin: {
+ boxShadowVOffset: {
type: "number",
- default: 5
+ default: 0
},
- iconBottomMargin: {
- type: "number",
- default: 5
+ boxShadowBlur: {
+ type: "number"
},
- iconImage: {
- type: "object",
- default: {
- "url": "",
- "alt": "InfoBox placeholder img"
- }
+ boxShadowSpread: {
+ type: "number"
},
- imageSize: {
+ boxShadowPosition: {
type: "string",
- default: "thumbnail"
- },
- imageWidth: {
- type: "number",
- default: 120
- },
- imageWidthType: {
- type: "boolean",
- default: true
+ default: "outset"
},
- stack: {
+ gradientValue: {
type: "string",
- default: "tablet"
- },
- showPrefix: {
- type: "boolean",
- default: true
- },
- showTitle: {
- type: "boolean",
- default: true
- },
- showDesc: {
- type: "boolean",
- default: true
+ default: ""
}
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 163 */
-/*!****************************************************!*\
- !*** ./src/blocks/testimonial/components/Image.js ***!
- \****************************************************/
+/* 201 */
+/*!*********************************************!*\
+ !*** ./src/blocks/section/inline-styles.js ***!
+ \*********************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
+/**
+ * Returns Dynamic Generated CSS
+ */
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-var RichText = wp.blockEditor.RichText;
-var __ = wp.i18n.__;
+function inlineStyles(props, isEditor) {
+ var _props$attributes = props.attributes,
+ align = _props$attributes.align,
+ contentWidth = _props$attributes.contentWidth,
+ leftPadding = _props$attributes.leftPadding,
+ rightPadding = _props$attributes.rightPadding,
+ topPadding = _props$attributes.topPadding,
+ bottomPadding = _props$attributes.bottomPadding,
+ leftMargin = _props$attributes.leftMargin,
+ rightMargin = _props$attributes.rightMargin,
+ topMargin = _props$attributes.topMargin,
+ bottomMargin = _props$attributes.bottomMargin,
+ width = _props$attributes.width,
+ backgroundPosition = _props$attributes.backgroundPosition,
+ backgroundSize = _props$attributes.backgroundSize,
+ backgroundAttachment = _props$attributes.backgroundAttachment,
+ backgroundImage = _props$attributes.backgroundImage,
+ backgroundColor = _props$attributes.backgroundColor,
+ backgroundOpacity = _props$attributes.backgroundOpacity,
+ backgroundRepeat = _props$attributes.backgroundRepeat,
+ backgroundType = _props$attributes.backgroundType,
+ gradientColor1 = _props$attributes.gradientColor1,
+ gradientColor2 = _props$attributes.gradientColor2,
+ gradientLocation1 = _props$attributes.gradientLocation1,
+ gradientLocation2 = _props$attributes.gradientLocation2,
+ gradientType = _props$attributes.gradientType,
+ gradientAngle = _props$attributes.gradientAngle,
+ borderStyle = _props$attributes.borderStyle,
+ borderWidth = _props$attributes.borderWidth,
+ borderRadius = _props$attributes.borderRadius,
+ borderColor = _props$attributes.borderColor,
+ desktopMarginType = _props$attributes.desktopMarginType,
+ desktopPaddingType = _props$attributes.desktopPaddingType;
-var TestimonialImage = function (_React$Component) {
- _inherits(TestimonialImage, _React$Component);
- function TestimonialImage() {
- _classCallCheck(this, TestimonialImage);
+ var style = {
+ "padding-top": Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(topPadding, desktopPaddingType),
+ "padding-bottom": Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bottomPadding, desktopPaddingType),
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(leftPadding, desktopPaddingType),
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(rightPadding, desktopPaddingType),
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderRadius, "px")
+ };
- return _possibleConstructorReturn(this, (TestimonialImage.__proto__ || Object.getPrototypeOf(TestimonialImage)).apply(this, arguments));
+ if ("right" == align) {
+ style["margin-left"] = "auto";
+ style["margin-top"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(topMargin, desktopMarginType);
+ style["margin-bottom"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bottomMargin, desktopMarginType);
+ style["margin-right"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(rightMargin, desktopMarginType);
+ } else if ("left" == align) {
+ style["margin-right"] = "auto";
+ style["margin-top"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(topMargin, desktopMarginType);
+ style["margin-bottom"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bottomMargin, desktopMarginType);
+ style["margin-left"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(leftMargin, desktopMarginType);
+ } else if ("center" == align) {
+ style["margin-right"] = "auto";
+ style["margin-left"] = "auto";
+ style["margin-top"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(topMargin, desktopMarginType);
+ style["margin-bottom"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bottomMargin, desktopMarginType);
+ } else {
+ style["margin-top"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(topMargin, desktopMarginType);
+ style["margin-bottom"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bottomMargin, desktopMarginType);
}
- _createClass(TestimonialImage, [{
- key: "render",
- value: function render() {
- var _props = this.props,
- attributes = _props.attributes,
- index_value = _props.index_value;
+ if (borderStyle != "none") {
+ style["border-style"] = borderStyle;
+ style["border-width"] = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderWidth, "px");
+ style["border-color"] = borderColor;
+ }
- var url_check = "";
+ var position = backgroundPosition.replace("-", " ");
- var image_arr = attributes.test_block[index_value];
+ var section_width = "100%";
- if (image_arr && typeof image_arr !== "undefined") {
- var image = image_arr["image"];
- var url = "";
+ if ("boxed" == contentWidth) {
+ if ("" != width) {
+ section_width = width + "px";
+ }
+ }
- if (typeof image !== "undefined" && image !== null && image !== "") {
- url_check = image.url;
- }
+ style["max-width"] = section_width;
- if (url_check !== "") {
- var size = image.sizes;
- var imageSize = attributes.imageSize;
- if (typeof size !== "undefined" && typeof size[imageSize] !== "undefined") {
- url = size[imageSize].url;
- } else {
- url = url_check;
- }
+ if ("image" === backgroundType) {
- return wp.element.createElement(
- "div",
- { className: "uagb-tm__image-content", key: "tm_img-wrap-" + index_value },
- wp.element.createElement(
- "div",
- { className: "uagb-tm__image", key: "tm_img-" + index_value },
- wp.element.createElement("img", {
- className: "uagb-tm-img-src",
- src: url,
- alt: image.alt
- })
- )
- );
- } else {
- return null;
- }
- } else {
- return null;
- }
- }
- }]);
+ style["background-image"] = backgroundImage ? "url(" + backgroundImage.url + ")" : null;
+ style["background-position"] = position;
+ style["background-attachment"] = backgroundAttachment;
+ style["background-repeat"] = backgroundRepeat;
+ style["background-size"] = backgroundSize;
+ }
- return TestimonialImage;
-}(React.Component);
+ return style;
+}
-/* harmony default export */ __webpack_exports__["a"] = (TestimonialImage);
+/* harmony default export */ __webpack_exports__["a"] = (inlineStyles);
/***/ }),
-/* 164 */
-/*!**********************************************!*\
- !*** ./src/blocks/testimonial/attributes.js ***!
- \**********************************************/
+/* 202 */
+/*!******************************************!*\
+ !*** ./src/blocks/buttons/attributes.js ***!
+ \******************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-var _attributes;
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
- * BLOCK: Testimonial - Attributes
- */
-
-var ITEM_COUNT = 3;
+var ITEM_COUNT = 2;
-var testimonial_block = [];
+var buttons = [];
for (var i = 1; i <= ITEM_COUNT; i++) {
- var desc_text = "I have been working with these guys since years now! With lots of hard work and timely communication they made sure they delivered the best to me. Highly recommended!";
- var author_text = "John Doe ";
- var company_text = "Company" + i;
- testimonial_block.push({
- "description": desc_text,
- "name": author_text,
- "company": company_text,
- "image": ""
+ var label = "#Click Here";
+ var link = "#";
+ buttons.push({
+ "label": label,
+ "link": link,
+ "target": "_self",
+ "size": "",
+ "vPadding": 10,
+ "hPadding": 14,
+ "borderWidth": 1,
+ "borderRadius": 2,
+ "borderStyle": "solid",
+ "borderColor": "#333",
+ "borderHColor": "#333",
+ "color": "#333",
+ "background": "",
+ "hColor": "#333",
+ "hBackground": "",
+ "sizeType": "px",
+ "sizeMobile": "",
+ "sizeTablet": "",
+ "lineHeight": "",
+ "lineHeightType": "em",
+ "lineHeightMobile": "",
+ "lineHeightTablet": ""
});
}
-var attributes = (_attributes = {
- test_item_count: {
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ btn_count: {
type: "number",
default: ITEM_COUNT
},
+ buttons: {
+ type: "array",
+ default: buttons
+ },
classMigrate: {
type: "boolean",
default: false
},
- test_block: {
- type: "array",
- default: testimonial_block
+ childMigrate: {
+ type: "boolean",
+ default: false
},
- headingAlign: {
+ align: {
type: "string",
default: "center"
},
- descColor: {
- type: "string",
- default: "#333"
+ gap: {
+ type: "number",
+ default: 10
},
- companyColor: {
+ stack: {
type: "string",
- default: "#888888"
+ default: "none"
},
- authorColor: {
- type: "string",
- default: "#333"
- },
- iconimgStyle: {
- type: "string",
- default: "circle"
- },
- imagePosition: {
- type: "string",
- default: "bottom"
- },
- imageAlignment: {
- type: "string",
- default: "top"
- },
-
- nameFontSizeType: {
- type: "string",
- default: "px"
- },
- nameFontSize: {
- type: "number"
- },
- nameFontSizeTablet: {
- type: "number"
- },
- nameFontSizeMobile: {
- type: "number"
+ loadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- nameFontFamily: {
+ fontFamily: {
type: "string",
default: "Default"
},
- nameFontWeight: {
+ fontWeight: {
type: "string"
},
- nameFontSubset: {
+ fontSubset: {
type: "string"
- },
- nameLineHeightType: {
- type: "string",
- default: "em"
- },
- nameLineHeight: {
- type: "number"
- },
- nameLineHeightTablet: {
- type: "number"
- },
- nameLineHeightMobile: {
- type: "number"
- },
- nameLoadGoogleFonts: {
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 203 */
+/*!************************************************!*\
+ !*** ./src/blocks/buttons-child/attributes.js ***!
+ \************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Buttons Child - Attributes
+ */
+
+var attributes = {
+ inheritFromTheme: {
type: "boolean",
default: false
},
-
- companyFontSizeType: {
- type: "string",
- default: "px"
- },
- companyFontSize: {
- type: "number"
- },
- companyFontSizeTablet: {
- type: "number"
- },
- companyFontSizeMobile: {
- type: "number"
- },
- companyFontFamily: {
- type: "string",
- default: "Default"
- },
- companyFontWeight: {
- type: "string"
- },
- companyFontSubset: {
+ block_id: {
type: "string"
},
- companyLineHeightType: {
+ align: {
type: "string",
- default: "em"
- },
- companyLineHeight: {
- type: "number"
+ default: "center"
},
- companyLineHeightTablet: {
- type: "number"
+ gap: {
+ type: "number",
+ default: 10
},
- companyLineHeightMobile: {
- type: "number"
+ stack: {
+ type: "string",
+ default: "none"
},
- companyLoadGoogleFonts: {
+ loadGoogleFonts: {
type: "boolean",
default: false
},
-
- descFontSizeType: {
- type: "string",
- default: "px"
- },
- descFontSize: {
- type: "number"
- },
- descFontSizeTablet: {
- type: "number"
- },
- descFontSizeMobile: {
- type: "number"
- },
- descFontFamily: {
+ fontFamily: {
type: "string",
default: "Default"
},
- descFontWeight: {
+ fontWeight: {
type: "string"
},
- descFontSubset: {
+ fontSubset: {
type: "string"
},
- descLineHeightType: {
- type: "string",
- default: "em"
- },
- descLineHeight: {
- type: "number"
- },
- descLineHeightTablet: {
- type: "number"
- },
- descLineHeightMobile: {
- type: "number"
- },
- descLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
-
- nameSpace: {
- type: "number",
- default: 5
+ label: {
+ type: "html",
+ default: '#Click Here'
},
- descSpace: {
- type: "number",
- default: 15
+ link: {
+ type: "string",
+ default: ""
},
- block_id: {
+ target: {
type: "string",
- default: "not_set"
+ default: "_self"
},
- authorSpace: {
- type: "number",
- default: 5
+ size: {
+ type: "number"
},
- imgVrPadding: {
+ vPadding: {
type: "number",
default: 10
},
- imgHrPadding: {
+ hPadding: {
type: "number",
- default: 10
+ default: 14
},
- imgTopPadding: {
+ borderWidth: {
type: "number",
- default: 10
+ default: 1
},
- imgBottomPadding: {
+ borderRadius: {
type: "number",
- default: 10
- },
- iconImage: {
- type: "object",
- default: {
- "url": "",
- "alt": "InfoBox placeholder img"
- }
+ default: 2
},
- imageSize: {
+ borderStyle: {
type: "string",
- default: "thumbnail"
- },
- imageWidth: {
- type: "number",
- default: 60
- },
- columns: {
- type: "number",
- default: 1
- },
- tcolumns: {
- type: "number",
- default: 1
+ default: "solid"
},
- mcolumns: {
- type: "number",
- default: 1
+ borderColor: {
+ type: "string",
+ default: "#333"
},
- pauseOnHover: {
- type: "boolean",
- default: true
+ borderHColor: {
+ type: "string",
+ default: "#333"
},
- infiniteLoop: {
- type: "boolean",
- default: true
+ color: {
+ type: "string",
+ default: "#333"
},
- transitionSpeed: {
- type: "number",
- default: 500
+ background: {
+ type: "string",
+ default: ""
},
- autoplay: {
- type: "boolean",
- default: true
+ hColor: {
+ type: "string",
+ default: "#333"
},
- autoplaySpeed: {
- type: "number",
- default: 2000
+ hBackground: {
+ type: "string",
+ default: ""
},
- arrowDots: {
+ sizeType: {
type: "string",
- default: "arrows_dots"
+ default: "px"
},
- arrowSize: {
+ sizeMobile: {
type: "number",
- default: 20
+ default: ""
},
- arrowBorderSize: {
+ sizeTablet: {
type: "number",
- default: 1
+ default: ""
},
- arrowBorderRadius: {
+ lineHeight: {
type: "number",
- default: 0
+ default: ""
},
- arrowColor: {
+ lineHeightType: {
type: "string",
- default: "#aaaaaa"
- },
- rowGap: {
- type: "number",
- default: 10
+ default: "em"
},
- columnGap: {
+ lineHeightMobile: {
type: "number",
- default: 10
+ default: ""
},
- contentPadding: {
+ lineHeightTablet: {
type: "number",
- default: 5
- },
- backgroundType: {
- type: "string"
- },
- backgroundImage: {
- type: "object"
- },
- backgroundPosition: {
- type: "string",
- default: "center-center"
+ default: ""
},
- backgroundSize: {
- type: "string",
- default: "cover"
+ opensInNewTab: {
+ type: "boolean"
},
- backgroundRepeat: {
+ icon: {
type: "string",
- default: "no-repeat"
- },
- backgroundColor: {
- type: "string"
- },
- backgroundImageColor: {
- type: "string"
+ default: ""
},
- borderStyle: {
+ iconPosition: {
type: "string",
- default: "none"
- },
- borderWidth: {
- type: "number",
- default: "1"
- },
- borderRadius: {
- type: "number"
- },
- borderColor: {
- type: "string"
+ default: "after"
},
- backgroundOpacity: {
+ iconSpace: {
type: "number",
- default: 50
+ default: 8
}
-}, _defineProperty(_attributes, "arrowColor", {
- type: "string",
- default: "#333"
-}), _defineProperty(_attributes, "stack", {
- type: "string",
- default: "tablet"
-}), _attributes);
+};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 165 */
-/*!***************************************!*\
- !*** ./src/blocks/team/attributes.js ***!
- \***************************************/
+/* 204 */
+/*!************************************************************************************************!*\
+ !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/extends.js ***!
+ \************************************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-/**
- * BLOCK: UAGB Team Block Attributes
+/* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
+function _extends() {
+ _extends = Object.assign || function (target) {
+ for (var i = 1; i < arguments.length; i++) {
+ var source = arguments[i];
+
+ for (var key in source) {
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
+ target[key] = source[key];
+ }
+ }
+ }
+
+ return target;
+ };
+
+ return _extends.apply(this, arguments);
+}
+
+/***/ }),
+/* 205 */
+/*!***********************************************************!*\
+ !*** ./node_modules/react-transition-group/esm/config.js ***!
+ \***********************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* harmony default export */ __webpack_exports__["a"] = ({
+ disabled: false
+});
+
+/***/ }),
+/* 206 */
+/*!********************************************************************!*\
+ !*** ./node_modules/react-transition-group/esm/utils/PropTypes.js ***!
+ \********************************************************************/
+/*! exports provided: timeoutsShape, classNamesShape */
+/*! exports used: classNamesShape, timeoutsShape */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return timeoutsShape; });
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return classNamesShape; });
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(/*! prop-types */ 15);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
+
+var timeoutsShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number,
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number,
+ appear: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number
+}).isRequired]) : null;
+var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ active: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string
+}), __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ enterDone: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ enterActive: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ exitDone: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
+ exitActive: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string
+})]) : null;
+/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../../process/browser.js */ 6)))
+
+/***/ }),
+/* 207 */
+/*!********************************************************************!*\
+ !*** ./node_modules/react-transition-group/esm/TransitionGroup.js ***!
+ \********************************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ 66);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ 204);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ 523);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ 43);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(/*! prop-types */ 15);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(/*! react */ 5);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(/*! ./TransitionGroupContext */ 106);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(/*! ./utils/ChildMapping */ 524);
+
+
+
+
+
+
+
+
+
+var values = Object.values || function (obj) {
+ return Object.keys(obj).map(function (k) {
+ return obj[k];
+ });
+};
+
+var defaultProps = {
+ component: 'div',
+ childFactory: function childFactory(child) {
+ return child;
+ }
+};
+/**
+ * The `` component manages a set of transition components
+ * (`` and ``) in a list. Like with the transition
+ * components, `` is a state machine for managing the mounting
+ * and unmounting of components over time.
+ *
+ * Consider the example below. As items are removed or added to the TodoList the
+ * `in` prop is toggled automatically by the ``.
+ *
+ * Note that `` does not define any animation behavior!
+ * Exactly _how_ a list item animates is up to the individual transition
+ * component. This means you can mix and match animations across different list
+ * items.
*/
-var attributes = {
- block_id: {
- type: "string"
- },
- classMigrate: {
- type: "boolean",
- default: false
- },
- align: {
- type: "string",
- default: "center"
- },
- tag: {
- type: "string",
- default: "h3"
- },
- title: {
- selector: "h1,h2,h3,h4,h5,h6",
- default: "John Doe"
- },
- prefix: {
- selector: "div.uagb-team__prefix",
- default: "Designation"
- },
- description_text: {
- selector: "p",
- default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
- },
- titleColor: {
- type: "string"
- },
- prefixColor: {
- type: "string",
- default: "#888888"
- },
- descColor: {
- type: "string"
- },
- socialColor: {
- type: "string",
- default: "#333"
- },
- socialHoverColor: {
- type: "string"
- },
- titleFontFamily: {
- type: "string",
- default: "Default"
- },
- titleFontWeight: {
- type: "string"
- },
- titleFontSubset: {
- type: "string"
- },
- titleFontSizeType: {
- type: "string",
- default: "px"
- },
- titleLineHeightType: {
- type: "string",
- default: "em"
- },
- titleFontSize: {
- type: "number"
- },
- titleFontSizeTablet: {
- type: "number"
- },
- titleFontSizeMobile: {
- type: "number"
- },
- titleLineHeight: {
- type: "number"
- },
- titleLineHeightTablet: {
- type: "number"
- },
- titleLineHeightMobile: {
- type: "number"
- },
- prefixFontFamily: {
- type: "string",
- default: "Default"
- },
- prefixFontWeight: {
- type: "string"
- },
- prefixFontSubset: {
- type: "string"
- },
- prefixFontSizeType: {
- type: "string",
- default: "px"
- },
- prefixLineHeightType: {
- type: "string",
- default: "em"
- },
- prefixFontSize: {
- type: "number",
- default: 15
- },
- prefixFontSizeTablet: {
- type: "number"
- },
- prefixFontSizeMobile: {
- type: "number"
- },
- prefixLineHeight: {
- type: "number"
- },
- prefixLineHeightTablet: {
- type: "number"
- },
- prefixLineHeightMobile: {
- type: "number"
- },
- descFontFamily: {
- type: "string",
- default: "Default"
- },
- descFontWeight: {
- type: "string"
- },
- descFontSubset: {
- type: "string"
- },
- descFontSizeType: {
- type: "string",
- default: "px"
- },
- descLineHeightType: {
- type: "string",
- default: "em"
- },
- descFontSize: {
- type: "number"
- },
- descFontSizeTablet: {
- type: "number"
- },
- descFontSizeMobile: {
- type: "number"
- },
- descLineHeight: {
- type: "number"
- },
- descLineHeightTablet: {
- type: "number"
- },
- descLineHeightMobile: {
- type: "number"
- },
- socialFontSize: {
- type: "number",
- default: 20
- },
- socialFontSizeType: {
- type: "string",
- default: "px"
- },
- socialFontSizeMobile: {
- type: "number"
- },
- socialFontSizeTablet: {
- type: "number"
- },
- image: {
- type: "object"
- },
- imgStyle: {
- type: "string",
- default: "normal"
- },
- imgPosition: {
- type: "string",
- default: "above"
- },
- imgAlign: {
- type: "string",
- default: "top"
- },
- imgSize: {
- type: "string",
- default: "thumbnail"
- },
- imgWidth: {
- type: "number",
- default: 120
- },
- titleSpace: {
- type: "number"
- },
- prefixSpace: {
- type: "number"
- },
- descSpace: {
- type: "number",
- default: 10
- },
- imgLeftMargin: {
- type: "number",
- default: 20
- },
- imgRightMargin: {
- type: "number",
- default: 20
- },
- imgTopMargin: {
- type: "number",
- default: 15
- },
- imgBottomMargin: {
- type: "number",
- default: 15
- },
- socialEnable: {
- type: "boolean",
- default: true
- },
- socialSpace: {
- type: "number",
- default: 20
- },
- socialTarget: {
- type: "boolean",
- default: false
- },
- twitterIcon: {
- type: "string",
- default: "fab fa-twitter"
- },
- fbIcon: {
- type: "string",
- default: "fab fa-facebook"
- },
- linkedinIcon: {
- type: "string",
- default: "fab fa-linkedin"
- },
- pinIcon: {
- type: "string",
- default: "fab fa-pinterest"
- },
- twitterLink: {
- type: "string",
- default: "#"
- },
- fbLink: {
- type: "string",
- default: "#"
- },
- linkedinLink: {
- type: "string",
- default: "#"
- },
- pinLink: {
- type: "string",
- default: "#"
- },
- stack: {
- type: "string",
- default: "tablet"
- },
- titleLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- prefixLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- descLoadGoogleFonts: {
- type: "boolean",
- default: false
- }
-};
+var TransitionGroup = /*#__PURE__*/function (_React$Component) {
+ Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(TransitionGroup, _React$Component);
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
+ function TransitionGroup(props, context) {
+ var _this;
-/***/ }),
-/* 166 */
-/*!***********************************************!*\
- !*** ./src/blocks/social-share/attributes.js ***!
- \***********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ _this = _React$Component.call(this, props, context) || this;
-"use strict";
-/**
- * BLOCK: UAGB Social Share Attributes
- */
+ var handleExited = _this.handleExited.bind(Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)); // Initial children should all be entering, dependent on appear
-var ITEM_COUNT = 1;
-var socials = [];
+ _this.state = {
+ contextValue: {
+ isMounting: true
+ },
+ handleExited: handleExited,
+ firstRender: true
+ };
+ return _this;
+ }
-for (var i = 1; i <= ITEM_COUNT; i++) {
- socials.push({
- "type": "facebook",
- "image_icon": "icon",
- "icon": "fab fa-facebook",
- "image": "",
- "icon_color": "#3a3a3a",
- "icon_hover_color": "",
- "icon_bg_color": "",
- "icon_bg_hover_color": ""
- });
-}
+ var _proto = TransitionGroup.prototype;
-var attributes = {
- classMigrate: {
- type: "boolean",
- default: false
- },
- childMigrate: {
- type: "boolean",
- default: false
- },
- block_id: {
- type: "string"
- },
- current_url: {
- type: "string"
- },
- align: {
- type: "string",
- default: "center"
- },
- social_count: {
- type: "number",
- default: ITEM_COUNT
- },
- socials: {
- type: "array",
- default: socials
- },
- gap: {
- type: "number",
- default: 10
- },
- size: {
- type: "number",
- default: 40
- },
- sizeType: {
- type: "string",
- default: "px"
- },
- sizeMobile: {
- type: "number"
- },
- sizeTablet: {
- type: "number"
- },
- bgSize: {
- type: "number",
- default: 0
- },
- bgSizeType: {
- type: "string",
- default: "px"
- },
- bgSizeMobile: {
- type: "number"
- },
- bgSizeTablet: {
- type: "number"
- },
- borderRadius: {
- type: "number",
- default: 0
- },
- social_layout: {
- type: "string",
- default: "horizontal"
- },
- stack: {
- type: "string",
- default: "none"
- }
-};
+ _proto.componentDidMount = function componentDidMount() {
+ this.mounted = true;
+ this.setState({
+ contextValue: {
+ isMounting: false
+ }
+ });
+ };
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
+ _proto.componentWillUnmount = function componentWillUnmount() {
+ this.mounted = false;
+ };
-/***/ }),
-/* 167 */
-/*!*****************************************************!*\
- !*** ./src/blocks/social-share-child/attributes.js ***!
- \*****************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
+ var prevChildMapping = _ref.children,
+ handleExited = _ref.handleExited,
+ firstRender = _ref.firstRender;
+ return {
+ children: firstRender ? Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["b" /* getInitialChildMapping */])(nextProps, handleExited) : Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["c" /* getNextChildMapping */])(nextProps, prevChildMapping, handleExited),
+ firstRender: false
+ };
+ } // node is `undefined` when user provided `nodeRef` prop
+ ;
-"use strict";
-/**
- * BLOCK: Social Share Child - Attributes
- */
+ _proto.handleExited = function handleExited(child, node) {
+ var currentChildMapping = Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["a" /* getChildMapping */])(this.props.children);
+ if (child.key in currentChildMapping) return;
-var attributes = {
- block_id: {
- type: "string"
- },
- type: {
- type: "string",
- default: "facebook"
- },
- image_icon: {
- type: "string",
- default: "icon"
- },
- current_url: {
- type: "string"
- },
- icon: {
- type: "string",
- default: "fab fa-facebook"
- },
- image: {
- type: "object"
- },
- icon_color: {
- type: "string",
- default: "#3a3a3a"
- },
- icon_hover_color: {
- type: "string"
- },
- icon_bg_color: {
- type: "string"
- },
- icon_bg_hover_color: {
- type: "string"
- }
-};
+ if (child.props.onExited) {
+ child.props.onExited(node);
+ }
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
+ if (this.mounted) {
+ this.setState(function (state) {
+ var children = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, state.children);
-/***/ }),
-/* 168 */
-/*!************************************************!*\
- !*** ./src/blocks/social-share-child/links.js ***!
- \************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ delete children[child.key];
+ return {
+ children: children
+ };
+ });
+ }
+ };
-"use strict";
-var links = {
- facebook: "https://www.facebook.com/sharer.php?u=",
- twitter: "https://twitter.com/share?url=",
- google: "https://plus.google.com/share?url=",
- linkedin: "https://www.linkedin.com/shareArticle?url=",
- digg: "http://digg.com/submit?url=",
- blogger: "https://www.blogger.com/blog_this.pyra?t&u=",
- reddit: "https://reddit.com/submit?url=",
- stumbleupon: "https://www.stumbleupon.com/submit?url=",
- tumblr: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=",
- myspace: "https://myspace.com/post?u=",
- email: "mailto:?body=",
- pinterest: "https://pinterest.com/pin/create/link/?url=",
- vk: 'https://vkontakte.ru/share.php?url=',
- odnoklassniki: 'https://connect.ok.ru/offer?url=',
- pocket: 'https://getpocket.com/edit?url=',
- whatsapp: 'https://api.whatsapp.com/send?text=', // whatsapp://send?text=*{title}*\n{text}\n{url}',//https://api.whatsapp.com/send?text=textToshare
- xing: 'https://www.xing.com/app/user?op=share&url=',
- telegram: 'https://telegram.me/share/url?url=',
- skype: 'https://web.skype.com/share?url=',
- buffer: 'https://buffer.com/add?url='
-};
+ _proto.render = function render() {
+ var _this$props = this.props,
+ Component = _this$props.component,
+ childFactory = _this$props.childFactory,
+ props = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_this$props, ["component", "childFactory"]);
-/* harmony default export */ __webpack_exports__["a"] = (links);
+ var contextValue = this.state.contextValue;
+ var children = values(this.state.children).map(childFactory);
+ delete props.appear;
+ delete props.enter;
+ delete props.exit;
+
+ if (Component === null) {
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
+ value: contextValue
+ }, children);
+ }
+
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
+ value: contextValue
+ }, /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(Component, props, children));
+ };
+
+ return TransitionGroup;
+}(__WEBPACK_IMPORTED_MODULE_5_react___default.a.Component);
+
+TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
+ /**
+ * `` renders a `` by default. You can change this
+ * behavior by providing a `component` prop.
+ * If you use React v16+ and would like to avoid a wrapping `
` element
+ * you can pass in `component={null}`. This is useful if the wrapping div
+ * borks your css styles.
+ */
+ component: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.any,
+
+ /**
+ * A set of `
` components, that are toggled `in` and out as they
+ * leave. the `` will inject specific transition props, so
+ * remember to spread them through if you are wrapping the `` as
+ * with our `` example.
+ *
+ * While this component is meant for multiple `Transition` or `CSSTransition`
+ * children, sometimes you may want to have a single transition child with
+ * content that you want to be transitioned out and in when you change it
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
+ * the transition child as you change its content, this will cause
+ * `TransitionGroup` to transition the child out and back in.
+ */
+ children: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.node,
+
+ /**
+ * A convenience prop that enables or disables appear animations
+ * for all children. Note that specifying this will override any defaults set
+ * on individual children Transitions.
+ */
+ appear: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
+
+ /**
+ * A convenience prop that enables or disables enter animations
+ * for all children. Note that specifying this will override any defaults set
+ * on individual children Transitions.
+ */
+ enter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
+
+ /**
+ * A convenience prop that enables or disables exit animations
+ * for all children. Note that specifying this will override any defaults set
+ * on individual children Transitions.
+ */
+ exit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
+
+ /**
+ * You may need to apply reactive updates to a child as it is exiting.
+ * This is generally done by using `cloneElement` however in the case of an exiting
+ * child the element has already been removed and not accessible to the consumer.
+ *
+ * If you do need to update a child as it leaves you can provide a `childFactory`
+ * to wrap every child, even the ones that are leaving.
+ *
+ * @type Function(child: ReactElement) -> ReactElement
+ */
+ childFactory: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func
+} : {};
+TransitionGroup.defaultProps = defaultProps;
+/* harmony default export */ __webpack_exports__["a"] = (TransitionGroup);
+/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../process/browser.js */ 6)))
/***/ }),
-/* 169 */
-/*!********************************************!*\
- !*** ./src/blocks/icon-list/attributes.js ***!
- \********************************************/
+/* 208 */
+/*!**********************************************!*\
+ !*** ./src/blocks/info-box/inline-styles.js ***!
+ \**********************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
/**
- * BLOCK: Icon List - Attributes
+ * Returns Dynamic Generated CSS
*/
-var ITEM_COUNT = 1;
-var icons = [];
-for (var i = 1; i <= ITEM_COUNT; i++) {
- icons.push({
- "label": "#Label",
- "image_icon": "icon",
- "icon": "fab fa-arrow-circle-right",
- "image": "",
- "icon_color": "#3a3a3a",
- "label_color": "",
- "icon_hover_color": "",
- "label_hover_color": "",
- "icon_bg_color": "",
- "icon_bg_hover_color": "",
- "icon_border_color": "",
- "icon_border_hover_color": "",
- "link": "#",
- "target": false,
- "disableLink": true,
- "hideLabel": false
- });
-}
-var attributes = {
- block_id: {
- type: "string"
- },
- classMigrate: {
- type: "boolean",
- default: false
- },
- childMigrate: {
- type: "boolean",
- default: false
- },
- align: {
- type: "string",
- default: "left"
- },
- icon_count: {
- type: "number",
- default: ITEM_COUNT
+function InfoBoxStyle(props) {
+ var _props$attributes = props.attributes,
+ classMigrate = _props$attributes.classMigrate,
+ headingAlign = _props$attributes.headingAlign,
+ headingColor = _props$attributes.headingColor,
+ subHeadingColor = _props$attributes.subHeadingColor,
+ prefixColor = _props$attributes.prefixColor,
+ prefixFontSize = _props$attributes.prefixFontSize,
+ prefixFontSizeType = _props$attributes.prefixFontSizeType,
+ prefixFontSizeTablet = _props$attributes.prefixFontSizeTablet,
+ prefixFontSizeMobile = _props$attributes.prefixFontSizeMobile,
+ prefixFontFamily = _props$attributes.prefixFontFamily,
+ prefixFontWeight = _props$attributes.prefixFontWeight,
+ prefixLineHeightType = _props$attributes.prefixLineHeightType,
+ prefixLineHeight = _props$attributes.prefixLineHeight,
+ prefixLineHeightTablet = _props$attributes.prefixLineHeightTablet,
+ prefixLineHeightMobile = _props$attributes.prefixLineHeightMobile,
+ headFontSize = _props$attributes.headFontSize,
+ headFontSizeType = _props$attributes.headFontSizeType,
+ headFontSizeTablet = _props$attributes.headFontSizeTablet,
+ headFontSizeMobile = _props$attributes.headFontSizeMobile,
+ headFontFamily = _props$attributes.headFontFamily,
+ headFontWeight = _props$attributes.headFontWeight,
+ headLineHeightType = _props$attributes.headLineHeightType,
+ headLineHeight = _props$attributes.headLineHeight,
+ headLineHeightTablet = _props$attributes.headLineHeightTablet,
+ headLineHeightMobile = _props$attributes.headLineHeightMobile,
+ subHeadFontSize = _props$attributes.subHeadFontSize,
+ subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
+ subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
+ subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
+ subHeadFontFamily = _props$attributes.subHeadFontFamily,
+ subHeadFontWeight = _props$attributes.subHeadFontWeight,
+ subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
+ subHeadLineHeight = _props$attributes.subHeadLineHeight,
+ subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet,
+ subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
+ separatorWidthType = _props$attributes.separatorWidthType,
+ headSpace = _props$attributes.headSpace,
+ subHeadSpace = _props$attributes.subHeadSpace,
+ iconColor = _props$attributes.iconColor,
+ iconSize = _props$attributes.iconSize,
+ iconimgPosition = _props$attributes.iconimgPosition,
+ iconHover = _props$attributes.iconHover,
+ iconimgBorderRadius = _props$attributes.iconimgBorderRadius,
+ seperatorStyle = _props$attributes.seperatorStyle,
+ seperatorWidth = _props$attributes.seperatorWidth,
+ seperatorColor = _props$attributes.seperatorColor,
+ seperatorThickness = _props$attributes.seperatorThickness,
+ seperatorSpace = _props$attributes.seperatorSpace,
+ ctaLinkColor = _props$attributes.ctaLinkColor,
+ ctaFontSize = _props$attributes.ctaFontSize,
+ ctaFontSizeType = _props$attributes.ctaFontSizeType,
+ ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
+ ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
+ ctaFontFamily = _props$attributes.ctaFontFamily,
+ ctaFontWeight = _props$attributes.ctaFontWeight,
+ ctaBtnLinkColor = _props$attributes.ctaBtnLinkColor,
+ ctaBgColor = _props$attributes.ctaBgColor,
+ ctaBtnVertPadding = _props$attributes.ctaBtnVertPadding,
+ ctaBtnHrPadding = _props$attributes.ctaBtnHrPadding,
+ ctaBorderStyle = _props$attributes.ctaBorderStyle,
+ ctaBorderColor = _props$attributes.ctaBorderColor,
+ ctaBorderWidth = _props$attributes.ctaBorderWidth,
+ ctaBorderRadius = _props$attributes.ctaBorderRadius,
+ prefixSpace = _props$attributes.prefixSpace,
+ iconLeftMargin = _props$attributes.iconLeftMargin,
+ iconRightMargin = _props$attributes.iconRightMargin,
+ iconTopMargin = _props$attributes.iconTopMargin,
+ iconBottomMargin = _props$attributes.iconBottomMargin,
+ imageWidth = _props$attributes.imageWidth,
+ imageWidthType = _props$attributes.imageWidthType,
+ ctaLinkHoverColor = _props$attributes.ctaLinkHoverColor,
+ ctaBgHoverColor = _props$attributes.ctaBgHoverColor,
+ ctaBorderhoverColor = _props$attributes.ctaBorderhoverColor,
+ ctaIconSpace = _props$attributes.ctaIconSpace;
+
+
+ var selectors = {
+ // Icon css
+ " .uagb-ifb-icon": {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px")
+ },
+ " .uagb-ifb-icon > span": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "color": iconColor,
+ "fill": iconColor,
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px")
+ },
+ " .uagb-ifb-icon > svg": {
+ "fill": iconColor
+ },
+ " .uagb-ifb-icon:hover > span": {
+ "color": iconHover
+ },
+ " .uagb-ifb-icon:hover > svg": {
+ "fill": iconHover
+ },
+ " .uagb-infobox_cta-type-all:hover .uagb-ifb-icon svg": {
+ "fill": iconHover
+ },
+ " .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconLeftMargin, "px"),
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconRightMargin, "px"),
+ "margin-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconTopMargin, "px"),
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconBottomMargin, "px")
+ },
+ " .uagb-infobox .uagb-ifb-image-content img": {
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconimgBorderRadius, "px")
+ },
+ // CTA style
+ " .uagb-infobox-cta-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "font-family": ctaFontFamily,
+ "font-weight": ctaFontWeight,
+ "color": ctaLinkColor
+ },
+ " .uagb-infobox-cta-link:hover": {
+ "color": ctaLinkHoverColor
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link svg": {
+ "fill": ctaLinkColor
+ },
+ " .uagb-infobox-cta-link:hover svg": {
+ "fill": ctaLinkHoverColor
+ },
+ " .uagb-ifb-button-wrapper .uagb-infobox-cta-link": {
+ "color": ctaBtnLinkColor,
+ "background-color": ctaBgColor,
+ "border-style": ctaBorderStyle,
+ "border-color": ctaBorderColor,
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBorderRadius, "px"),
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBorderWidth, "px"),
+ "padding-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBtnVertPadding, "px"),
+ "padding-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBtnVertPadding, "px"),
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBtnHrPadding, "px"),
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBtnHrPadding, "px")
+ },
+ " .uagb-ifb-button-wrapper:hover .uagb-infobox-cta-link": {
+ "color": ctaLinkHoverColor,
+ "background-color": ctaBgHoverColor,
+ "border-color": ctaBorderhoverColor
+ },
+ " .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg": {
+ "fill": ctaBtnLinkColor
+ },
+ " .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg": {
+ "fill": ctaLinkHoverColor
+ },
+ // Prefix Style
+ " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixFontSize, prefixFontSizeType),
+ "font-family": prefixFontFamily,
+ "font-weight": prefixFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixLineHeight, prefixLineHeightType),
+ "color": prefixColor,
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixSpace, "px")
+ },
+ // Title Style
+ " .block-editor-rich-text__editable.uagb-ifb-title a": {
+ "color": headingColor
+ },
+ " .block-editor-rich-text__editable.uagb-ifb-title": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "color": headingColor,
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headSpace, "px")
+ },
+ // Description Style
+ " .block-editor-rich-text__editable.uagb-ifb-desc": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSize, subHeadFontSizeType),
+ "font-family": subHeadFontFamily,
+ "font-weight": subHeadFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeight, subHeadLineHeightType),
+ "color": subHeadingColor,
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadSpace, "px")
+ },
+ // Seperator
+ " .uagb-ifb-separator": {
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(seperatorWidth, separatorWidthType),
+ "border-top-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(seperatorThickness, "px"),
+ "border-top-color": seperatorColor,
+ "border-top-style": seperatorStyle
+ },
+ " .uagb-ifb-separator-parent": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(seperatorSpace, "px")
+ },
+ " .uagb-ifb-content": {
+ "padding": typeof blockPadding != "undefined" ? blockPadding + "px" : "inherit"
+ },
+ " .uagb-ifb-align-icon-after": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaIconSpace, "px")
+ },
+ " .uagb-ifb-align-icon-before": {
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaIconSpace, "px")
+ }
+ };
+
+ if (imageWidthType) {
+ // Image
+ selectors[" .uagb-ifb-image-content img"] = {
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(imageWidth, "px"),
+ "max-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(imageWidth, "px")
+ };
+ }
+
+ if (iconimgPosition == "above-title" || iconimgPosition == "below-title") {
+ selectors[" .uagb-infobox__content-wrap"] = {
+ "text-align": headingAlign
+ };
+ }
+
+ var tablet_selectors = {
+ " .block-editor-rich-text__editable.uagb-ifb-desc": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeTablet, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightTablet, subHeadLineHeightType)
+ },
+ " .block-editor-rich-text__editable.uagb-ifb-title": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ },
+ " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixFontSizeTablet, prefixFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixLineHeightTablet, prefixLineHeightType)
+ },
+ " .uagb-infobox-cta-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType)
+ }
+ };
+
+ var mobile_selectors = {
+ " .block-editor-rich-text__editable.uagb-ifb-desc": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeMobile, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightMobile, subHeadLineHeightType)
+ },
+ " .block-editor-rich-text__editable.uagb-ifb-title": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ },
+ " .block-editor-rich-text__editable.uagb-ifb-title-prefix": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixFontSizeMobile, prefixFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(prefixLineHeightMobile, prefixLineHeightType)
+ },
+ " .uagb-infobox-cta-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-text-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType)
+ },
+ " .uagb-infobox-cta-link .uagb-ifb-button-icon": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType)
+ }
+ };
+
+ var id = ".block-editor-page #wpwrap .uagb-block-" + props.clientId.substr(0, 8);
+ var styling_css = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(selectors, id);
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(tablet_selectors, id, true, "tablet");
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(mobile_selectors, id, true, "mobile");
+ return styling_css;
+}
+
+/* harmony default export */ __webpack_exports__["a"] = (InfoBoxStyle);
+
+/***/ }),
+/* 209 */
+/*!*****************************************************!*\
+ !*** ./src/blocks/info-box/components/IconImage.js ***!
+ \*****************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+var RichText = wp.blockEditor.RichText;
+var __ = wp.i18n.__;
+
+var InfoBoxIconImage = function (_React$Component) {
+ _inherits(InfoBoxIconImage, _React$Component);
+
+ function InfoBoxIconImage() {
+ _classCallCheck(this, InfoBoxIconImage);
+
+ return _possibleConstructorReturn(this, (InfoBoxIconImage.__proto__ || Object.getPrototypeOf(InfoBoxIconImage)).apply(this, arguments));
+ }
+
+ _createClass(InfoBoxIconImage, [{
+ key: "render",
+ value: function render() {
+ var attributes = this.props.attributes;
+
+
+ var url_chk = "";
+ if (typeof attributes.iconImage !== "undefined" && attributes.iconImage !== null && attributes.iconImage !== "") {
+ url_chk = attributes.iconImage.url;
+ }
+
+ var url = "";
+ if (url_chk !== "") {
+ var size = attributes.iconImage.sizes;
+ var imageSize = attributes.imageSize;
+
+ if (typeof size !== "undefined" && typeof size[imageSize] !== "undefined") {
+ url = size[imageSize].url;
+ } else {
+ url = url_chk;
+ }
+
+ return wp.element.createElement(
+ "div",
+ { className: "uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap" },
+ wp.element.createElement(
+ "div",
+ { className: "uagb-ifb-image" },
+ wp.element.createElement(
+ "div",
+ { className: "uagb-ifb-image-content" },
+ wp.element.createElement("img", {
+ className: "uagb-ifb-img-src",
+ src: url,
+ alt: attributes.iconImage.alt
+ })
+ )
+ )
+ );
+ } else {
+ return null;
+ }
+ }
+ }]);
+
+ return InfoBoxIconImage;
+}(React.Component);
+
+/* harmony default export */ __webpack_exports__["a"] = (InfoBoxIconImage);
+
+/***/ }),
+/* 210 */
+/*!*******************************************!*\
+ !*** ./src/blocks/info-box/attributes.js ***!
+ \*******************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Info Box - Attributes
+ */
+
+var attributes = {
+ inheritFromTheme: {
+ type: "boolean",
+ default: false
},
- icons: {
- type: "array",
- default: icons
+ prefixTitle: {
+ source: "html",
+ selector: "span.uagb-ifb-title-prefix",
+ default: "Prefix"
},
- gap: {
- type: "number",
- default: 10
+ classMigrate: {
+ type: "boolean",
+ default: false
},
- inner_gap: {
- type: "number",
- default: 15
+ infoBoxTitle: {
+ source: "html",
+ selector: "h1,h2,h3,h4,h5,h6",
+ default: "Info Box"
},
- iconPosition: {
+ headingDesc: {
+ source: "html",
+ selector: "p",
+ default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
+ },
+ headingAlign: {
type: "string",
- default: "middle"
+ default: "center"
},
- size: {
- type: "number",
- default: 16
+ headingColor: {
+ type: "string"
},
- sizeType: {
- type: "string",
- default: "px"
+ subHeadingColor: {
+ type: "string"
},
- sizeMobile: {
- type: "number"
+ prefixColor: {
+ type: "string"
},
- sizeTablet: {
- type: "number"
+ icon: {
+ type: "string",
+ default: "fa fa-star"
},
- bgSize: {
- type: "number",
- default: 0
+ iconimgPosition: {
+ type: "string",
+ default: "above-title"
},
- border: {
+ iconSize: {
type: "number",
- default: 0
+ default: 40
},
- borderRadius: {
- type: "number",
- default: 0
+ iconHover: {
+ type: "string",
+ default: ""
},
- hideLabel: {
- type: "boolean",
- default: false
+ iconBgHover: {
+ type: "string",
+ default: ""
},
- fontSize: {
+ iconColor: {
+ type: "string",
+ default: "#333"
+ },
+ prefixTag: {
+ type: "string",
+ default: "h3"
+ },
+ prefixFontSize: {
type: "number"
},
- fontSizeType: {
+ prefixFontSizeType: {
type: "string",
default: "px"
},
- fontSizeMobile: {
+ prefixFontSizeTablet: {
type: "number"
},
- fontSizeTablet: {
+ prefixFontSizeMobile: {
type: "number"
},
- fontFamily: {
+ prefixFontFamily: {
type: "string",
default: "Default"
},
- fontWeight: {
+ prefixFontWeight: {
type: "string"
},
- fontSubset: {
+ prefixFontSubset: {
type: "string"
},
- lineHeightType: {
+ prefixLineHeightType: {
type: "string",
default: "em"
},
- lineHeight: {
+ prefixLineHeight: {
type: "number"
},
- lineHeightTablet: {
+ prefixLineHeightTablet: {
type: "number"
},
- lineHeightMobile: {
+ prefixLineHeightMobile: {
type: "number"
},
- loadGoogleFonts: {
+ prefixLoadGoogleFonts: {
type: "boolean",
default: false
},
- icon_layout: {
- type: "string",
- default: "vertical"
- },
- stack: {
+ headingTag: {
type: "string",
- default: "none"
- }
-};
-
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
-
-/***/ }),
-/* 170 */
-/*!**************************************************!*\
- !*** ./src/blocks/icon-list-child/attributes.js ***!
- \**************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/**
- * BLOCK: Icon List Child - Attributes
- */
-
-var attributes = {
- block_id: {
- type: "string"
+ default: "h3"
},
- label: {
- type: 'html',
- selector: ".uagb-icon-list__label",
- default: "#Label"
+ headFontSize: {
+ type: "number"
},
- image_icon: {
+ headFontSizeType: {
type: "string",
- default: "icon"
- },
- hideLabel: {
- type: "boolean",
- default: false
+ default: "px"
},
- icon: {
- type: "string",
- default: "fab fa-arrow-circle-right"
+ headFontSizeTablet: {
+ type: "number"
},
- image: {
- type: "object"
+ headFontSizeMobile: {
+ type: "number"
},
- icon_color: {
+ headFontFamily: {
type: "string",
- default: "#3a3a3a"
+ default: "Default"
},
- label_color: {
+ headFontWeight: {
type: "string"
},
- icon_hover_color: {
+ headFontSubset: {
type: "string"
},
- label_hover_color: {
- type: "string"
+ headLineHeightType: {
+ type: "string",
+ default: "em"
},
- icon_bg_color: {
- type: "string"
+ headLineHeight: {
+ type: "number"
},
- icon_bg_hover_color: {
- type: "string"
+ headLineHeightTablet: {
+ type: "number"
},
- icon_border_color: {
- type: "string"
+ headLineHeightMobile: {
+ type: "number"
},
- icon_border_hover_color: {
- type: "string"
+ headLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- link: {
- type: "string",
- default: "#"
+ subHeadFontSize: {
+ type: "number"
},
- target: {
- type: "boolean",
- default: false
+ subHeadFontSizeType: {
+ type: "string",
+ default: "px"
},
- disableLink: {
- type: "boolean",
- default: true
- }
-};
-
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
-
-/***/ }),
-/* 171 */
-/*!*********************************************!*\
- !*** ./src/blocks/price-list/attributes.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/**
- * BLOCK: Price List - Attributes
- */
-var __ = wp.i18n.__;
-
-var ITEM_COUNT = 4;
-
-var rest_menu_block = [];
-
-for (var i = 1; i <= ITEM_COUNT; i++) {
- var desc_text = __("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
- var title_text = __("Menu Item " + i);
- var price_text = __("$9");
- rest_menu_block.push({
- "description": desc_text,
- "title": title_text,
- "price": price_text,
- "image": ""
- });
-}
-
-var attributes = {
- classMigrate: {
- type: "boolean",
- default: false
+ subHeadFontSizeTablet: {
+ type: "number"
},
- childMigrate: {
- type: "boolean",
- default: false
+ subHeadFontSizeMobile: {
+ type: "number"
},
- menu_item_count: {
- type: "number",
- default: ITEM_COUNT
+ subHeadFontFamily: {
+ type: "string",
+ default: "Default"
},
- rest_menu_item_arr: {
- type: "array",
- default: rest_menu_block
+ subHeadFontWeight: {
+ type: "string"
},
- headingAlign: {
+ subHeadFontSubset: {
+ type: "string"
+ },
+ subHeadLineHeightType: {
type: "string",
- default: "left"
+ default: "em"
},
- priceSpace: {
+ subHeadLineHeight: {
+ type: "number"
+ },
+ subHeadLineHeightTablet: {
+ type: "number"
+ },
+ subHeadLineHeightMobile: {
+ type: "number"
+ },
+ subHeadLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ headSpace: {
type: "number",
- default: 5
+ default: 10
},
- descSpace: {
+ subHeadSpace: {
type: "number",
- default: 15
+ default: 10
},
- titleSpace: {
+ seperatorSpace: {
type: "number",
default: 10
},
+ iconimgBorderRadius: {
+ type: "number",
+ default: 0
+ },
+ source_type: {
+ type: "string",
+ default: "icon"
+ },
block_id: {
type: "string",
default: "not_set"
},
- imgVrPadding: {
- type: "number",
- default: 0
+ sourceAlign: {
+ type: "string",
+ default: "top"
},
- imgHrPadding: {
- type: "number",
- default: 0
+ ctaTarget: {
+ type: "boolean",
+ default: false
},
- imgTopPadding: {
+ ctaIcon: {
+ type: "string",
+ default: ""
+ },
+ ctaIconPosition: {
+ type: "string",
+ default: "after"
+ },
+ ctaIconSpace: {
type: "number",
- default: 0
+ default: 5
},
- imgBottomPadding: {
+ seperatorPosition: {
+ type: "string",
+ default: "after_title"
+ },
+ seperatorStyle: {
+ type: "string",
+ default: "solid"
+ },
+ seperatorColor: {
+ type: "string",
+ default: "#333"
+ },
+ seperatorWidth: {
type: "number",
- default: 0
+ default: 30
},
- columns: {
+ separatorWidthType: {
+ type: "string",
+ default: "%"
+ },
+ seperatorThickness: {
type: "number",
default: 2
},
- tcolumns: {
+ ctaType: {
+ type: "string",
+ default: "none"
+ },
+ ctaText: {
+ type: "html",
+ default: "Read More"
+ },
+ ctaLink: {
+ type: "string",
+ default: "#"
+ },
+ ctaLinkColor: {
+ type: "string",
+ default: "#333"
+ },
+ ctaFontSize: {
+ type: "number"
+ },
+ ctaFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ ctaFontSizeMobile: {
+ type: "number"
+ },
+ ctaFontSizeTablet: {
+ type: "number"
+ },
+ ctaFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ ctaFontWeight: {
+ type: "string"
+ },
+ ctaFontSubset: {
+ type: "string"
+ },
+ ctaLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ ctaBtnLinkColor: {
+ type: "string",
+ default: "#333"
+ },
+ ctaLinkHoverColor: {
+ type: "string",
+ default: ""
+ },
+ ctaBgColor: {
+ type: "string",
+ default: "transparent"
+ },
+ ctaBgHoverColor: {
+ type: "string",
+ default: "transparent"
+ },
+ ctaBorderColor: {
+ type: "string",
+ default: "#333"
+ },
+ ctaBorderhoverColor: {
+ type: "string",
+ default: ""
+ },
+ ctaBorderStyle: {
+ type: "string",
+ default: "solid"
+ },
+ ctaBtnVertPadding: {
type: "number",
- default: 2
+ default: 10
},
- mcolumns: {
+ ctaBtnHrPadding: {
+ type: "number",
+ default: 14
+ },
+ ctaBorderWidth: {
type: "number",
default: 1
},
- rowGap: {
+ ctaBorderRadius: {
+ type: "number",
+ default: 0
+ },
+ prefixSpace: {
+ type: "number",
+ default: 5
+ },
+ iconLeftMargin: {
type: "number",
default: 10
},
- columnGap: {
+ iconRightMargin: {
type: "number",
default: 10
},
- contentVrPadding: {
+ iconTopMargin: {
type: "number",
default: 5
},
- contentHrPadding: {
+ iconBottomMargin: {
type: "number",
default: 5
},
-
+ iconImage: {
+ type: "object",
+ default: {
+ "url": "",
+ "alt": "InfoBox placeholder img"
+ }
+ },
+ imageSize: {
+ type: "string",
+ default: "thumbnail"
+ },
+ imageWidth: {
+ type: "number",
+ default: 120
+ },
+ imageWidthType: {
+ type: "boolean",
+ default: true
+ },
stack: {
type: "string",
default: "tablet"
},
- seperatorStyle: {
- type: "string",
- default: "dashed"
+ showPrefix: {
+ type: "boolean",
+ default: true
},
- seperatorWidth: {
- type: "number",
- default: "100"
+ showTitle: {
+ type: "boolean",
+ default: true
},
- seperatorThickness: {
+ showDesc: {
+ type: "boolean",
+ default: true
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 211 */
+/*!****************************************************!*\
+ !*** ./src/blocks/testimonial/components/Image.js ***!
+ \****************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+var RichText = wp.blockEditor.RichText;
+var __ = wp.i18n.__;
+
+var TestimonialImage = function (_React$Component) {
+ _inherits(TestimonialImage, _React$Component);
+
+ function TestimonialImage() {
+ _classCallCheck(this, TestimonialImage);
+
+ return _possibleConstructorReturn(this, (TestimonialImage.__proto__ || Object.getPrototypeOf(TestimonialImage)).apply(this, arguments));
+ }
+
+ _createClass(TestimonialImage, [{
+ key: "render",
+ value: function render() {
+ var _props = this.props,
+ attributes = _props.attributes,
+ index_value = _props.index_value;
+
+ var url_check = "";
+
+ var image_arr = attributes.test_block[index_value];
+
+ if (image_arr && typeof image_arr !== "undefined") {
+ var image = image_arr["image"];
+ var url = "";
+
+ if (typeof image !== "undefined" && image !== null && image !== "") {
+ url_check = image.url;
+ }
+
+ if (url_check !== "") {
+ var size = image.sizes;
+ var imageSize = attributes.imageSize;
+ if (typeof size !== "undefined" && typeof size[imageSize] !== "undefined") {
+ url = size[imageSize].url;
+ } else {
+ url = url_check;
+ }
+
+ return wp.element.createElement(
+ "div",
+ { className: "uagb-tm__image-content", key: "tm_img-wrap-" + index_value },
+ wp.element.createElement(
+ "div",
+ { className: "uagb-tm__image", key: "tm_img-" + index_value },
+ wp.element.createElement("img", {
+ className: "uagb-tm-img-src",
+ src: url,
+ alt: image.alt
+ })
+ )
+ );
+ } else {
+ return null;
+ }
+ } else {
+ return null;
+ }
+ }
+ }]);
+
+ return TestimonialImage;
+}(React.Component);
+
+/* harmony default export */ __webpack_exports__["a"] = (TestimonialImage);
+
+/***/ }),
+/* 212 */
+/*!**********************************************!*\
+ !*** ./src/blocks/testimonial/attributes.js ***!
+ \**********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+var _attributes;
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+ * BLOCK: Testimonial - Attributes
+ */
+
+var ITEM_COUNT = 3;
+
+var testimonial_block = [];
+
+for (var i = 1; i <= ITEM_COUNT; i++) {
+ var desc_text = "I have been working with these guys since years now! With lots of hard work and timely communication they made sure they delivered the best to me. Highly recommended!";
+ var author_text = "John Doe ";
+ var company_text = "Company" + i;
+ testimonial_block.push({
+ "description": desc_text,
+ "name": author_text,
+ "company": company_text,
+ "image": ""
+ });
+}
+
+var attributes = (_attributes = {
+ test_item_count: {
type: "number",
- default: "1"
+ default: ITEM_COUNT
},
- seperatorColor: {
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ test_block: {
+ type: "array",
+ default: testimonial_block
+ },
+ headingAlign: {
type: "string",
- default: "#b2b4b5"
+ default: "center"
},
descColor: {
type: "string",
default: "#333"
},
- priceColor: {
+ companyColor: {
type: "string",
default: "#888888"
},
- titleColor: {
+ authorColor: {
type: "string",
default: "#333"
},
- titleFontSizeType: {
+ iconimgStyle: {
+ type: "string",
+ default: "circle"
+ },
+ imagePosition: {
+ type: "string",
+ default: "bottom"
+ },
+ imageAlignment: {
+ type: "string",
+ default: "top"
+ },
+
+ nameFontSizeType: {
type: "string",
default: "px"
},
- titleFontSize: {
+ nameFontSize: {
type: "number"
},
- titleFontSizeTablet: {
+ nameFontSizeTablet: {
type: "number"
},
- titleFontSizeMobile: {
+ nameFontSizeMobile: {
type: "number"
},
- titleFontFamily: {
+ nameFontFamily: {
type: "string",
default: "Default"
},
- titleFontWeight: {
+ nameFontWeight: {
type: "string"
},
- titleFontSubset: {
+ nameFontSubset: {
type: "string"
},
- titleLineHeightType: {
+ nameLineHeightType: {
type: "string",
default: "em"
},
- titleLineHeight: {
+ nameLineHeight: {
type: "number"
},
- titleLineHeightTablet: {
+ nameLineHeightTablet: {
type: "number"
},
- titleLineHeightMobile: {
+ nameLineHeightMobile: {
type: "number"
},
- titleLoadGoogleFonts: {
+ nameLoadGoogleFonts: {
type: "boolean",
default: false
},
- priceFontSizeType: {
+ companyFontSizeType: {
type: "string",
default: "px"
},
- priceFontSize: {
+ companyFontSize: {
type: "number"
},
- priceFontSizeTablet: {
+ companyFontSizeTablet: {
type: "number"
},
- priceFontSizeMobile: {
+ companyFontSizeMobile: {
type: "number"
},
- priceFontFamily: {
+ companyFontFamily: {
type: "string",
default: "Default"
},
- priceFontWeight: {
+ companyFontWeight: {
type: "string"
},
- priceFontSubset: {
+ companyFontSubset: {
type: "string"
},
- priceLineHeightType: {
+ companyLineHeightType: {
type: "string",
default: "em"
},
- priceLineHeight: {
+ companyLineHeight: {
type: "number"
},
- priceLineHeightTablet: {
+ companyLineHeightTablet: {
type: "number"
},
- priceLineHeightMobile: {
+ companyLineHeightMobile: {
type: "number"
},
- priceLoadGoogleFonts: {
+ companyLoadGoogleFonts: {
type: "boolean",
default: false
},
@@ -19103,303 +18913,163 @@ var attributes = {
type: "boolean",
default: false
},
- headingTag: {
- type: "string",
- default: "h4"
- },
- imagePosition: {
- type: "string",
- default: "top"
+
+ nameSpace: {
+ type: "number",
+ default: 5
},
- imageAlignment: {
- type: "string",
- default: "top"
+ descSpace: {
+ type: "number",
+ default: 15
},
- imageSize: {
+ block_id: {
type: "string",
- default: "medium"
+ default: "not_set"
+ },
+ authorSpace: {
+ type: "number",
+ default: 5
+ },
+ imgVrPadding: {
+ type: "number",
+ default: 10
+ },
+ imgHrPadding: {
+ type: "number",
+ default: 10
+ },
+ imgTopPadding: {
+ type: "number",
+ default: 10
+ },
+ imgBottomPadding: {
+ type: "number",
+ default: 10
+ },
+ iconImage: {
+ type: "object",
+ default: {
+ "url": "",
+ "alt": "InfoBox placeholder img"
+ }
+ },
+ imageSize: {
+ type: "string",
+ default: "thumbnail"
},
imageWidth: {
type: "number",
- default: ""
- }
-};
-
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
-
-/***/ }),
-/* 172 */
-/*!****************************************!*\
- !*** ./src/blocks/timeline/style.scss ***!
- \****************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 173 */
-/*!************************************************************!*\
- !*** ./src/blocks/timeline/content-timeline/attributes.js ***!
- \************************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-var _attributes;
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
- * BLOCK: UAGB Timeline Attributes
- */
-
-var __ = wp.i18n.__;
-
-
-var item = [];
-var date_arr = [];
-
-for (var i = 1; i <= 5; i++) {
-
- item.push({
- "time_heading": __("Timeline Heading ") + i,
- "time_desc": __("This is Timeline description, you can change me anytime click here ")
- });
-
- var j = i - 1;
- var today = new Date("1/1/2019");
- var dd = today.getDate();
- var mm = today.getMonth() + 1; //January is 0!
- var yyyy = today.getFullYear() - j;
-
- if (dd < 10) {
- dd = "0" + dd;
- }
-
- if (mm < 10) {
- mm = "0" + mm;
- }
-
- today = mm + "/" + dd + "/" + yyyy;
- var p = { "title": today };
-
- date_arr.push({
- "title": today
- });
-}
-
-var attributes = (_attributes = {
- tm_content: {
- type: "array",
- default: item
+ default: 60
},
- classMigrate: {
+ columns: {
+ type: "number",
+ default: 1
+ },
+ tcolumns: {
+ type: "number",
+ default: 1
+ },
+ mcolumns: {
+ type: "number",
+ default: 1
+ },
+ pauseOnHover: {
type: "boolean",
- default: false
+ default: true
},
- dateFormat: {
+ infiniteLoop: {
+ type: "boolean",
+ default: true
+ },
+ transitionSpeed: {
+ type: "number",
+ default: 500
+ },
+ autoplay: {
+ type: "boolean",
+ default: true
+ },
+ autoplaySpeed: {
+ type: "number",
+ default: 2000
+ },
+ arrowDots: {
type: "string",
- default: "F j, Y"
+ default: "arrows_dots"
},
- align: {
+ arrowSize: {
+ type: "number",
+ default: 20
+ },
+ arrowBorderSize: {
+ type: "number",
+ default: 1
+ },
+ arrowBorderRadius: {
+ type: "number",
+ default: 0
+ },
+ arrowColor: {
type: "string",
- default: "center"
+ default: "#aaaaaa"
},
- headingColor: {
- type: "string"
+ rowGap: {
+ type: "number",
+ default: 10
},
- subHeadingColor: {
+ columnGap: {
+ type: "number",
+ default: 10
+ },
+ contentPadding: {
+ type: "number",
+ default: 5
+ },
+ backgroundType: {
type: "string"
},
- separatorBg: {
- type: "string",
- default: "#eee"
+ backgroundImage: {
+ type: "object"
},
- backgroundColor: {
+ backgroundPosition: {
type: "string",
- default: "#eee"
+ default: "center-center"
},
- separatorColor: {
+ backgroundSize: {
type: "string",
- default: "#eee"
+ default: "cover"
},
- separatorFillColor: {
+ backgroundRepeat: {
type: "string",
- default: "#61ce70"
+ default: "no-repeat"
},
- separatorBorder: {
- type: "string",
- default: "#eee"
+ backgroundColor: {
+ type: "string"
},
- borderFocus: {
- type: "string",
- default: "#5cb85c"
+ backgroundImageColor: {
+ type: "string"
},
- headingTag: {
+ borderStyle: {
type: "string",
- default: "h4"
- },
- horizontalSpace: {
- type: "number",
- default: 10
+ default: "none"
},
- verticalSpace: {
+ borderWidth: {
type: "number",
- default: 15
+ default: "1"
},
- headFontSize: {
+ borderRadius: {
type: "number"
},
- headFontSizeType: {
- type: "string",
- default: "px"
+ borderColor: {
+ type: "string"
+ },
+ backgroundOpacity: {
+ type: "number",
+ default: 50
}
-}, _defineProperty(_attributes, "headFontSize", {
- type: "number"
-}), _defineProperty(_attributes, "headFontSizeTablet", {
- type: "number"
-}), _defineProperty(_attributes, "headFontSizeMobile", {
- type: "number"
-}), _defineProperty(_attributes, "headFontFamily", {
- type: "string",
- default: "Default"
-}), _defineProperty(_attributes, "headFontWeight", {
- type: "string"
-}), _defineProperty(_attributes, "headFontSubset", {
- type: "string"
-}), _defineProperty(_attributes, "headLineHeightType", {
- type: "string",
- default: "em"
-}), _defineProperty(_attributes, "headLineHeight", {
- type: "number"
-}), _defineProperty(_attributes, "headLineHeightTablet", {
- type: "number"
-}), _defineProperty(_attributes, "headLineHeightMobile", {
- type: "number"
-}), _defineProperty(_attributes, "headLoadGoogleFonts", {
- type: "boolean",
- default: false
-}), _defineProperty(_attributes, "timelinAlignment", {
- type: "string",
- default: "center"
-}), _defineProperty(_attributes, "arrowlinAlignment", {
- type: "string",
- default: "center"
-}), _defineProperty(_attributes, "subHeadFontSizeType", {
- type: "string",
- default: "px"
-}), _defineProperty(_attributes, "subHeadFontSize", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadFontSizeTablet", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadFontSizeMobile", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadFontFamily", {
- type: "string",
- default: "Default"
-}), _defineProperty(_attributes, "subHeadFontWeight", {
- type: "string"
-}), _defineProperty(_attributes, "subHeadFontSubset", {
- type: "string"
-}), _defineProperty(_attributes, "subHeadLineHeightType", {
- type: "string",
- default: "em"
-}), _defineProperty(_attributes, "subHeadLineHeight", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadLineHeightTablet", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadLineHeightMobile", {
- type: "number"
-}), _defineProperty(_attributes, "subHeadLoadGoogleFonts", {
- type: "boolean",
- default: false
-}), _defineProperty(_attributes, "headSpace", {
- type: "number",
- default: 5
-}), _defineProperty(_attributes, "separatorwidth", {
- type: "number",
- default: 3
-}), _defineProperty(_attributes, "borderwidth", {
- type: "number",
- default: 0
-}), _defineProperty(_attributes, "iconColor", {
- type: "string",
- default: "#333"
-}), _defineProperty(_attributes, "iconFocus", {
- type: "string",
- default: "#fff"
-}), _defineProperty(_attributes, "iconBgFocus", {
- type: "string",
- default: "#61ce70"
-}), _defineProperty(_attributes, "dateColor", {
+}, _defineProperty(_attributes, "arrowColor", {
type: "string",
default: "#333"
-}), _defineProperty(_attributes, "dateFontsizeType", {
- type: "string",
- default: "px"
-}), _defineProperty(_attributes, "dateFontsize", {
- type: "number"
-}), _defineProperty(_attributes, "dateFontsizeTablet", {
- type: "number"
-}), _defineProperty(_attributes, "dateFontsizeMobile", {
- type: "number"
-}), _defineProperty(_attributes, "dateFontFamily", {
- type: "string",
- default: "Default"
-}), _defineProperty(_attributes, "dateFontWeight", {
- type: "string"
-}), _defineProperty(_attributes, "dateFontSubset", {
- type: "string"
-}), _defineProperty(_attributes, "dateLineHeightType", {
- type: "string",
- default: "em"
-}), _defineProperty(_attributes, "dateLineHeight", {
- type: "number"
-}), _defineProperty(_attributes, "dateLineHeightTablet", {
- type: "number"
-}), _defineProperty(_attributes, "dateLineHeightMobile", {
- type: "number"
-}), _defineProperty(_attributes, "dateLoadGoogleFonts", {
- type: "boolean",
- default: false
-}), _defineProperty(_attributes, "connectorBgsize", {
- type: "number",
- default: 35
-}), _defineProperty(_attributes, "subHeadSpace", {
- type: "number",
- default: 5
-}), _defineProperty(_attributes, "dateBottomspace", {
- type: "number",
- default: 5
-}), _defineProperty(_attributes, "block_id", {
- type: "string",
- default: "0"
-}), _defineProperty(_attributes, "timelineItem", {
- type: "number",
- default: 5
-}), _defineProperty(_attributes, "tm_client_id", {
- type: "string",
- default: "not_set"
-}), _defineProperty(_attributes, "borderRadius", {
- type: "number",
- default: 2
-}), _defineProperty(_attributes, "bgPadding", {
- type: "number",
- default: 20
-}), _defineProperty(_attributes, "iconSize", {
- type: "number",
- default: 12
-}), _defineProperty(_attributes, "icon", {
- type: "string",
- default: "fab fa fa-calendar-alt"
-}), _defineProperty(_attributes, "t_date", {
- type: "array",
- default: date_arr
-}), _defineProperty(_attributes, "displayPostDate", {
- type: "boolean",
- default: true
}), _defineProperty(_attributes, "stack", {
type: "string",
default: "tablet"
@@ -19408,68 +19078,63 @@ var attributes = (_attributes = {
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 174 */
-/*!*************************************************!*\
- !*** ./src/blocks/call-to-action/attributes.js ***!
- \*************************************************/
+/* 213 */
+/*!***************************************!*\
+ !*** ./src/blocks/team/attributes.js ***!
+ \***************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/**
- * BLOCK: Call To Action - Attributes
+ * BLOCK: UAGB Team Block Attributes
*/
var attributes = {
- inheritFromTheme: {
+ block_id: {
+ type: "string"
+ },
+ classMigrate: {
type: "boolean",
default: false
},
- ctaTitle: {
- source: "html",
+ align: {
+ type: "string",
+ default: "center"
+ },
+ tag: {
+ type: "string",
+ default: "h3"
+ },
+ title: {
selector: "h1,h2,h3,h4,h5,h6",
- default: "Call To Action"
+ default: "John Doe"
},
- classMigrate: {
- type: "boolean",
- default: false
+ prefix: {
+ selector: "div.uagb-team__prefix",
+ default: "Designation"
},
- description: {
- source: "html",
+ description_text: {
selector: "p",
default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
},
- textAlign: {
- type: "string",
- default: "left"
- },
titleColor: {
type: "string"
},
- descColor: {
- type: "string"
- },
- ctaPosition: {
- type: "string",
- default: "right"
- },
- titleTag: {
+ prefixColor: {
type: "string",
- default: "h3"
+ default: "#888888"
},
- titleFontSize: {
- type: "number"
+ descColor: {
+ type: "string"
},
- titleFontSizeType: {
+ socialColor: {
type: "string",
- default: "px"
- },
- titleFontSizeMobile: {
- type: "number"
+ default: "#333"
},
- titleFontSizeTablet: {
- type: "number"
+ socialHoverColor: {
+ type: "string"
},
titleFontFamily: {
type: "string",
@@ -19481,10 +19146,23 @@ var attributes = {
titleFontSubset: {
type: "string"
},
+ titleFontSizeType: {
+ type: "string",
+ default: "px"
+ },
titleLineHeightType: {
type: "string",
default: "em"
},
+ titleFontSize: {
+ type: "number"
+ },
+ titleFontSizeTablet: {
+ type: "number"
+ },
+ titleFontSizeMobile: {
+ type: "number"
+ },
titleLineHeight: {
type: "number"
},
@@ -19494,21 +19172,41 @@ var attributes = {
titleLineHeightMobile: {
type: "number"
},
- titleLoadGoogleFonts: {
- type: "boolean",
- default: false
+ prefixFontFamily: {
+ type: "string",
+ default: "Default"
},
- descFontSize: {
- type: "number"
+ prefixFontWeight: {
+ type: "string"
},
- descFontSizeType: {
+ prefixFontSubset: {
+ type: "string"
+ },
+ prefixFontSizeType: {
type: "string",
default: "px"
},
- descFontSizeMobile: {
+ prefixLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ prefixFontSize: {
+ type: "number",
+ default: 15
+ },
+ prefixFontSizeTablet: {
type: "number"
},
- descFontSizeTablet: {
+ prefixFontSizeMobile: {
+ type: "number"
+ },
+ prefixLineHeight: {
+ type: "number"
+ },
+ prefixLineHeightTablet: {
+ type: "number"
+ },
+ prefixLineHeightMobile: {
type: "number"
},
descFontFamily: {
@@ -19521,10 +19219,23 @@ var attributes = {
descFontSubset: {
type: "string"
},
+ descFontSizeType: {
+ type: "string",
+ default: "px"
+ },
descLineHeightType: {
type: "string",
default: "em"
},
+ descFontSize: {
+ type: "number"
+ },
+ descFontSizeTablet: {
+ type: "number"
+ },
+ descFontSizeMobile: {
+ type: "number"
+ },
descLineHeight: {
type: "number"
},
@@ -19534,2534 +19245,3050 @@ var attributes = {
descLineHeightMobile: {
type: "number"
},
- descLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- titleSpace: {
- type: "number",
- default: 10
- },
- descSpace: {
+ socialFontSize: {
type: "number",
- default: 10
+ default: 20
},
- block_id: {
+ socialFontSizeType: {
type: "string",
- default: "not_set"
+ default: "px"
},
- buttonAlign: {
- type: "string",
- default: "middle"
+ socialFontSizeMobile: {
+ type: "number"
},
- ctaTarget: {
- type: "boolean",
- default: false
+ socialFontSizeTablet: {
+ type: "number"
},
- ctaIcon: {
+ image: {
+ type: "object"
+ },
+ imgStyle: {
type: "string",
- default: ""
+ default: "normal"
},
- ctaIconPosition: {
+ imgPosition: {
type: "string",
- default: "after"
+ default: "above"
},
- ctaIconSpace: {
- type: "number",
- default: 5
+ imgAlign: {
+ type: "string",
+ default: "top"
},
- ctaType: {
+ imgSize: {
type: "string",
- default: "button"
+ default: "thumbnail"
},
- ctaText: {
- type: "html",
- default: "Read More"
+ imgWidth: {
+ type: "number",
+ default: 120
},
- ctaLink: {
- type: "string",
- default: "#"
+ titleSpace: {
+ type: "number"
},
- ctaFontSize: {
+ prefixSpace: {
type: "number"
},
- ctaFontSizeType: {
- type: "string",
- default: "px"
+ descSpace: {
+ type: "number",
+ default: 10
},
- ctaFontSizeMobile: {
- type: "number"
+ imgLeftMargin: {
+ type: "number",
+ default: 20
},
- ctaFontSizeTablet: {
- type: "number"
+ imgRightMargin: {
+ type: "number",
+ default: 20
},
- ctaFontFamily: {
- type: "string",
- default: "Default"
+ imgTopMargin: {
+ type: "number",
+ default: 15
},
- ctaFontWeight: {
- type: "string"
+ imgBottomMargin: {
+ type: "number",
+ default: 15
},
- ctaFontSubset: {
- type: "string"
+ socialEnable: {
+ type: "boolean",
+ default: true
},
- ctaLoadGoogleFonts: {
+ socialSpace: {
+ type: "number",
+ default: 20
+ },
+ socialTarget: {
type: "boolean",
default: false
},
- contentWidth: {
- type: "number",
- default: "70"
+ twitterIcon: {
+ type: "string",
+ default: "fab fa-twitter"
},
- ctaBtnLinkColor: {
+ fbIcon: {
type: "string",
- default: "#333"
+ default: "fab fa-facebook"
},
- ctaLinkHoverColor: {
+ linkedinIcon: {
type: "string",
- default: ""
+ default: "fab fa-linkedin"
},
- ctaBgColor: {
+ pinIcon: {
type: "string",
- default: "transparent"
+ default: "fab fa-pinterest"
},
- ctaBgHoverColor: {
+ twitterLink: {
type: "string",
- default: "transparent"
+ default: "#"
},
- ctaBorderColor: {
+ fbLink: {
type: "string",
- default: "#333"
+ default: "#"
},
- ctaBorderhoverColor: {
+ linkedinLink: {
type: "string",
- default: ""
+ default: "#"
},
- ctaBorderStyle: {
+ pinLink: {
type: "string",
- default: "solid"
+ default: "#"
},
- ctaBtnVertPadding: {
- type: "number",
- default: 10
+ stack: {
+ type: "string",
+ default: "tablet"
},
- ctaBtnHrPadding: {
- type: "number",
- default: 14
+ titleLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- ctaBorderWidth: {
- type: "number",
- default: 1
- },
- ctaBorderRadius: {
- type: "number",
- default: 0
- },
- stack: {
- type: "string",
- default: "tablet"
- },
- ctaLeftSpace: {
- type: "number",
- default: 5
+ prefixLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- ctaRightSpace: {
- type: "number",
- default: 5
+ descLoadGoogleFonts: {
+ type: "boolean",
+ default: false
}
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 175 */
-/*!*****************************************!*\
- !*** ./src/blocks/column/attributes.js ***!
- \*****************************************/
+/* 214 */
+/*!***********************************************!*\
+ !*** ./src/blocks/social-share/attributes.js ***!
+ \***********************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
+/**
+ * BLOCK: UAGB Social Share Attributes
+ */
+
+var ITEM_COUNT = 1;
+
+var socials = [];
+
+for (var i = 1; i <= ITEM_COUNT; i++) {
+ socials.push({
+ "type": "facebook",
+ "image_icon": "icon",
+ "icon": "fab fa-facebook",
+ "image": "",
+ "icon_color": "#3a3a3a",
+ "icon_hover_color": "",
+ "icon_bg_color": "",
+ "icon_bg_hover_color": ""
+ });
+}
+
var attributes = {
- block_id: {
- type: "string"
- },
classMigrate: {
type: "boolean",
default: false
},
- align: {
- type: "string",
- default: "center"
+ childMigrate: {
+ type: "boolean",
+ default: false
},
- alignTablet: {
- type: "string",
- default: ""
+ block_id: {
+ type: "string"
},
- alignMobile: {
+ current_url: {
+ type: "string"
+ },
+ align: {
type: "string",
- default: ""
+ default: "center"
},
- topPadding: {
+ social_count: {
type: "number",
- default: ""
+ default: ITEM_COUNT
},
- bottomPadding: {
- type: "number",
- default: ""
+ socials: {
+ type: "array",
+ default: socials
},
- leftPadding: {
+ gap: {
type: "number",
- default: ""
+ default: 10
},
- rightPadding: {
+ size: {
type: "number",
- default: ""
+ default: 40
},
- topMargin: {
- type: "number",
- default: ""
+ sizeType: {
+ type: "string",
+ default: "px"
},
- bottomMargin: {
- type: "number",
- default: ""
+ sizeMobile: {
+ type: "number"
},
- leftMargin: {
- type: "number",
- default: ""
+ sizeTablet: {
+ type: "number"
},
- rightMargin: {
+ bgSize: {
type: "number",
- default: ""
+ default: 0
},
- topPaddingTablet: {
- type: "number",
- default: ""
+ bgSizeType: {
+ type: "string",
+ default: "px"
},
- bottomPaddingTablet: {
- type: "number",
- default: ""
+ bgSizeMobile: {
+ type: "number"
},
- leftPaddingTablet: {
- type: "number",
- default: ""
+ bgSizeTablet: {
+ type: "number"
},
- rightPaddingTablet: {
+ borderRadius: {
type: "number",
- default: ""
+ default: 0
},
- topMarginTablet: {
- type: "number",
- default: ""
+ social_layout: {
+ type: "string",
+ default: "horizontal"
},
- bottomMarginTablet: {
- type: "number",
- default: ""
+ stack: {
+ type: "string",
+ default: "none"
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 215 */
+/*!*****************************************************!*\
+ !*** ./src/blocks/social-share-child/attributes.js ***!
+ \*****************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Social Share Child - Attributes
+ */
+
+var attributes = {
+ block_id: {
+ type: "string"
},
- leftMarginTablet: {
- type: "number",
- default: ""
+ type: {
+ type: "string",
+ default: "facebook"
},
- rightMarginTablet: {
- type: "number",
- default: ""
+ image_icon: {
+ type: "string",
+ default: "icon"
},
-
- topPaddingMobile: {
- type: "number",
- default: ""
+ current_url: {
+ type: "string"
},
- bottomPaddingMobile: {
- type: "number",
- default: ""
+ icon: {
+ type: "string",
+ default: "fab fa-facebook"
},
- leftPaddingMobile: {
- type: "number",
- default: ""
+ image: {
+ type: "object"
},
- rightPaddingMobile: {
- type: "number",
- default: ""
+ icon_color: {
+ type: "string",
+ default: "#3a3a3a"
},
- topMarginMobile: {
- type: "number",
- default: ""
+ icon_hover_color: {
+ type: "string"
},
- bottomMarginMobile: {
- type: "number",
- default: ""
+ icon_bg_color: {
+ type: "string"
},
- leftMarginMobile: {
- type: "number",
- default: ""
+ icon_bg_hover_color: {
+ type: "string"
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 216 */
+/*!************************************************!*\
+ !*** ./src/blocks/social-share-child/links.js ***!
+ \************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+var links = {
+ facebook: "https://www.facebook.com/sharer.php?u=",
+ twitter: "https://twitter.com/share?url=",
+ google: "https://plus.google.com/share?url=",
+ linkedin: "https://www.linkedin.com/shareArticle?url=",
+ digg: "http://digg.com/submit?url=",
+ blogger: "https://www.blogger.com/blog_this.pyra?t&u=",
+ reddit: "https://reddit.com/submit?url=",
+ stumbleupon: "https://www.stumbleupon.com/submit?url=",
+ tumblr: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=",
+ myspace: "https://myspace.com/post?u=",
+ email: "mailto:?body=",
+ pinterest: "https://pinterest.com/pin/create/link/?url=",
+ vk: 'https://vkontakte.ru/share.php?url=',
+ odnoklassniki: 'https://connect.ok.ru/offer?url=',
+ pocket: 'https://getpocket.com/edit?url=',
+ whatsapp: 'https://api.whatsapp.com/send?text=', // whatsapp://send?text=*{title}*\n{text}\n{url}',//https://api.whatsapp.com/send?text=textToshare
+ xing: 'https://www.xing.com/app/user?op=share&url=',
+ telegram: 'https://telegram.me/share/url?url=',
+ skype: 'https://web.skype.com/share?url=',
+ buffer: 'https://buffer.com/add?url='
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (links);
+
+/***/ }),
+/* 217 */
+/*!********************************************!*\
+ !*** ./src/blocks/icon-list/attributes.js ***!
+ \********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Icon List - Attributes
+ */
+
+var ITEM_COUNT = 1;
+
+var icons = [];
+
+for (var i = 1; i <= ITEM_COUNT; i++) {
+ icons.push({
+ "label": "#Label",
+ "image_icon": "icon",
+ "icon": "fab fa-arrow-circle-right",
+ "image": "",
+ "icon_color": "#3a3a3a",
+ "label_color": "",
+ "icon_hover_color": "",
+ "label_hover_color": "",
+ "icon_bg_color": "",
+ "icon_bg_hover_color": "",
+ "icon_border_color": "",
+ "icon_border_hover_color": "",
+ "link": "#",
+ "target": false,
+ "disableLink": true,
+ "hideLabel": false
+ });
+}
+
+var attributes = {
+ block_id: {
+ type: "string"
},
- rightMarginMobile: {
- type: "number",
- default: ""
+ classMigrate: {
+ type: "boolean",
+ default: false
},
- colWidth: {
- type: "number",
- default: ""
+ childMigrate: {
+ type: "boolean",
+ default: false
},
- colWidthTablet: {
- type: "number",
- default: ""
+ align: {
+ type: "string",
+ default: "left"
},
- colWidthMobile: {
+ icon_count: {
type: "number",
- default: ""
+ default: ITEM_COUNT
},
- backgroundType: {
- type: "string"
+ icons: {
+ type: "array",
+ default: icons
},
- backgroundImage: {
- type: "object"
+ gap: {
+ type: "number",
+ default: 10
},
- backgroundPosition: {
- type: "string",
- default: "center-center"
+ inner_gap: {
+ type: "number",
+ default: 15
},
- backgroundSize: {
+ iconPosition: {
type: "string",
- default: "cover"
+ default: "middle"
},
- backgroundRepeat: {
- type: "string",
- default: "no-repeat"
+ size: {
+ type: "number",
+ default: 16
},
- backgroundAttachment: {
+ sizeType: {
type: "string",
- default: "scroll"
- },
- backgroundColor: {
- type: "string"
- },
- gradientColor1: {
- type: "string"
+ default: "px"
},
- gradientColor2: {
- type: "string"
+ sizeMobile: {
+ type: "number"
},
- gradientType: {
- type: "string",
- default: "linear"
+ sizeTablet: {
+ type: "number"
},
- gradientLocation1: {
+ bgSize: {
type: "number",
default: 0
},
- gradientLocation2: {
+ border: {
type: "number",
- default: 100
+ default: 0
},
- gradientAngle: {
+ borderRadius: {
type: "number",
default: 0
},
- backgroundOpacity: {
- type: "number"
+ hideLabel: {
+ type: "boolean",
+ default: false
},
- backgroundImageColor: {
- type: "string"
+ fontSize: {
+ type: "number"
},
- borderStyle: {
+ fontSizeType: {
type: "string",
- default: "none"
- },
- borderWidth: {
- type: "number",
- default: 1
+ default: "px"
},
- borderRadius: {
+ fontSizeMobile: {
type: "number"
},
- borderColor: {
- type: "string"
+ fontSizeTablet: {
+ type: "number"
},
- overlayType: {
+ fontFamily: {
type: "string",
- default: "color"
+ default: "Default"
},
- gradientOverlayColor1: {
+ fontWeight: {
type: "string"
},
- gradientOverlayColor2: {
+ fontSubset: {
type: "string"
},
- gradientOverlayType: {
- type: "string",
- default: "linear"
- },
- gradientOverlayLocation1: {
- type: "number",
- default: 0
- },
- gradientOverlayLocation2: {
- type: "number",
- default: 100
- },
- gradientOverlayAngle: {
- type: "number",
- default: 0
- },
- mobileMarginType: {
+ lineHeightType: {
type: "string",
- default: 'px'
+ default: "em"
},
- tabletMarginType: {
- type: "string",
- default: 'px'
+ lineHeight: {
+ type: "number"
},
- desktopMarginType: {
- type: "string",
- default: 'px'
+ lineHeightTablet: {
+ type: "number"
},
- mobilePaddingType: {
- type: "string",
- default: 'px'
+ lineHeightMobile: {
+ type: "number"
},
- tabletPaddingType: {
- type: "string",
- default: 'px'
+ loadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- desktopPaddingType: {
+ icon_layout: {
type: "string",
- default: 'px'
+ default: "vertical"
},
- gradientValue: {
+ stack: {
type: "string",
- default: ""
+ default: "none"
}
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 176 */
-/*!******************************************!*\
- !*** ./src/blocks/columns/attributes.js ***!
- \******************************************/
+/* 218 */
+/*!**************************************************!*\
+ !*** ./src/blocks/icon-list-child/attributes.js ***!
+ \**************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/**
- * BLOCK: Columns - Attributes
+ * BLOCK: Icon List Child - Attributes
*/
var attributes = {
block_id: {
type: "string"
},
- classMigrate: {
+ label: {
+ type: 'html',
+ selector: ".uagb-icon-list__label",
+ default: "#Label"
+ },
+ image_icon: {
+ type: "string",
+ default: "icon"
+ },
+ hideLabel: {
type: "boolean",
default: false
},
- columns: {
- type: "number",
- default: 2
+ icon: {
+ type: "string",
+ default: "fab fa-arrow-circle-right"
},
- align: {
- type: "string"
+ image: {
+ type: "object"
},
- vAlign: {
+ icon_color: {
+ type: "string",
+ default: "#3a3a3a"
+ },
+ label_color: {
type: "string"
},
- stack: {
- type: "string",
- default: "mobile"
+ icon_hover_color: {
+ type: "string"
},
- columnGap: {
- type: "string",
- default: "10"
+ label_hover_color: {
+ type: "string"
},
- topPadding: {
- type: "number",
- default: 20
+ icon_bg_color: {
+ type: "string"
},
- bottomPadding: {
- type: "number",
- default: 20
+ icon_bg_hover_color: {
+ type: "string"
},
- leftPadding: {
- type: "number",
- default: 20
+ icon_border_color: {
+ type: "string"
},
- rightPadding: {
+ icon_border_hover_color: {
+ type: "string"
+ },
+ link: {
+ type: "string",
+ default: "#"
+ },
+ target: {
+ type: "boolean",
+ default: false
+ },
+ disableLink: {
+ type: "boolean",
+ default: true
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 219 */
+/*!*********************************************!*\
+ !*** ./src/blocks/price-list/attributes.js ***!
+ \*********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Price List - Attributes
+ */
+var __ = wp.i18n.__;
+
+var ITEM_COUNT = 4;
+
+var rest_menu_block = [];
+
+for (var i = 1; i <= ITEM_COUNT; i++) {
+ var desc_text = __("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");
+ var title_text = __("Menu Item " + i);
+ var price_text = __("$9");
+ rest_menu_block.push({
+ "description": desc_text,
+ "title": title_text,
+ "price": price_text,
+ "image": ""
+ });
+}
+
+var attributes = {
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ childMigrate: {
+ type: "boolean",
+ default: false
+ },
+ menu_item_count: {
type: "number",
- default: 20
+ default: ITEM_COUNT
},
- topPaddingTablet: {
- type: "number"
+ rest_menu_item_arr: {
+ type: "array",
+ default: rest_menu_block
},
- bottomPaddingTablet: {
- type: "number"
+ headingAlign: {
+ type: "string",
+ default: "left"
},
- leftPaddingTablet: {
- type: "number"
+ priceSpace: {
+ type: "number",
+ default: 5
},
- rightPaddingTablet: {
- type: "number"
+ descSpace: {
+ type: "number",
+ default: 15
},
- topPaddingMobile: {
- type: "number"
+ titleSpace: {
+ type: "number",
+ default: 10
},
- bottomPaddingMobile: {
- type: "number"
+ block_id: {
+ type: "string",
+ default: "not_set"
},
- leftPaddingMobile: {
- type: "number"
+ imgVrPadding: {
+ type: "number",
+ default: 0
},
- rightPaddingMobile: {
- type: "number"
+ imgHrPadding: {
+ type: "number",
+ default: 0
},
- topMargin: {
+ imgTopPadding: {
type: "number",
default: 0
},
- bottomMargin: {
+ imgBottomPadding: {
type: "number",
default: 0
},
- topMarginMobile: {
- type: "number"
+ columns: {
+ type: "number",
+ default: 2
},
- bottomMarginMobile: {
- type: "number"
+ tcolumns: {
+ type: "number",
+ default: 2
},
- topMarginTablet: {
- type: "number"
+ mcolumns: {
+ type: "number",
+ default: 1
},
- bottomMarginTablet: {
- type: "number"
+ rowGap: {
+ type: "number",
+ default: 10
},
- contentWidth: {
- type: "string",
- default: "theme"
+ columnGap: {
+ type: "number",
+ default: 10
},
- width: {
+ contentVrPadding: {
type: "number",
- default: 900
+ default: 5
},
- widthType: {
+ contentHrPadding: {
+ type: "number",
+ default: 5
+ },
+
+ stack: {
type: "string",
- default: "px"
+ default: "tablet"
},
- tag: {
+ seperatorStyle: {
type: "string",
- default: "section"
+ default: "dashed"
},
- backgroundType: {
- type: "string"
+ seperatorWidth: {
+ type: "number",
+ default: "100"
},
- backgroundImage: {
- type: "object"
+ seperatorThickness: {
+ type: "number",
+ default: "1"
},
- backgroundPosition: {
+ seperatorColor: {
type: "string",
- default: "center-center"
+ default: "#b2b4b5"
},
- backgroundSize: {
+ descColor: {
type: "string",
- default: "cover"
+ default: "#333"
},
- backgroundRepeat: {
+ priceColor: {
type: "string",
- default: "no-repeat"
+ default: "#888888"
},
- backgroundAttachment: {
+ titleColor: {
type: "string",
- default: "scroll"
+ default: "#333"
},
- backgroundVideo: {
- type: "object"
+ titleFontSizeType: {
+ type: "string",
+ default: "px"
},
- backgroundColor: {
- type: "string"
+ titleFontSize: {
+ type: "number"
},
- gradientColor1: {
- type: "string"
+ titleFontSizeTablet: {
+ type: "number"
},
- gradientColor2: {
- type: "string"
+ titleFontSizeMobile: {
+ type: "number"
},
- gradientType: {
+ titleFontFamily: {
type: "string",
- default: "linear"
- },
- gradientLocation1: {
- type: "number",
- default: 0
+ default: "Default"
},
- gradientLocation2: {
- type: "number",
- default: 100
+ titleFontWeight: {
+ type: "string"
},
- gradientAngle: {
- type: "number",
- default: 0
+ titleFontSubset: {
+ type: "string"
},
- gradientPosition: {
+ titleLineHeightType: {
type: "string",
- default: "center center"
+ default: "em"
},
- backgroundOpacity: {
+ titleLineHeight: {
type: "number"
},
- backgroundVideoOpacity: {
- type: "number",
- default: 50
+ titleLineHeightTablet: {
+ type: "number"
},
- backgroundVideoColor: {
- type: "string"
+ titleLineHeightMobile: {
+ type: "number"
},
- backgroundImageColor: {
- type: "string"
+ titleLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- borderStyle: {
+
+ priceFontSizeType: {
type: "string",
- default: "none"
+ default: "px"
},
- borderWidth: {
- type: "number",
- default: 1
+ priceFontSize: {
+ type: "number"
},
- borderRadius: {
+ priceFontSizeTablet: {
type: "number"
},
- borderColor: {
- type: "string"
+ priceFontSizeMobile: {
+ type: "number"
},
- bottomType: {
+ priceFontFamily: {
type: "string",
- default: "none"
+ default: "Default"
},
- bottomColor: {
+ priceFontWeight: {
type: "string"
},
- bottomHeight: {
- type: "number"
+ priceFontSubset: {
+ type: "string"
},
- bottomHeightTablet: {
- type: "number"
+ priceLineHeightType: {
+ type: "string",
+ default: "em"
},
- bottomHeightMobile: {
+ priceLineHeight: {
type: "number"
},
- bottomWidth: {
+ priceLineHeightTablet: {
type: "number"
},
- topType: {
- type: "string",
- default: "none"
+ priceLineHeightMobile: {
+ type: "number"
},
- topColor: {
- type: "string"
+ priceLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- topHeight: {
- type: "number"
+
+ descFontSizeType: {
+ type: "string",
+ default: "px"
},
- topHeightTablet: {
+ descFontSize: {
type: "number"
},
- topHeightMobile: {
+ descFontSizeTablet: {
type: "number"
},
- topWidth: {
+ descFontSizeMobile: {
type: "number"
},
- topFlip: {
- type: "boolean",
- default: false
+ descFontFamily: {
+ type: "string",
+ default: "Default"
},
- bottomFlip: {
- type: "boolean",
- default: false
+ descFontWeight: {
+ type: "string"
},
- reverseTablet: {
- type: "boolean",
- default: false
+ descFontSubset: {
+ type: "string"
},
- reverseMobile: {
- type: "boolean",
- default: false
+ descLineHeightType: {
+ type: "string",
+ default: "em"
},
- topDividerOpacity: {
- type: "number",
- default: 100
+ descLineHeight: {
+ type: "number"
},
- bottomDividerOpacity: {
- type: "number",
- default: 100
+ descLineHeightTablet: {
+ type: "number"
},
- topContentAboveShape: {
- type: "boolean",
- default: false
+ descLineHeightMobile: {
+ type: "number"
},
- bottomContentAboveShape: {
+ descLoadGoogleFonts: {
type: "boolean",
default: false
},
- mobileMarginType: {
- type: "string",
- default: 'px'
- },
- tabletMarginType: {
- type: "string",
- default: 'px'
- },
- desktopMarginType: {
+ headingTag: {
type: "string",
- default: 'px'
+ default: "h4"
},
- mobilePaddingType: {
+ imagePosition: {
type: "string",
- default: 'px'
+ default: "top"
},
- tabletPaddingType: {
+ imageAlignment: {
type: "string",
- default: 'px'
+ default: "top"
},
- desktopPaddingType: {
+ imageSize: {
type: "string",
- default: 'px'
- },
- boxShadowColor: {
- type: "string"
- },
- boxShadowHOffset: {
- type: "number",
- default: 0
+ default: "medium"
},
- boxShadowVOffset: {
+ imageWidth: {
type: "number",
- default: 0
- },
- boxShadowBlur: {
- type: "number"
- },
- boxShadowSpread: {
- type: "number"
- },
- boxShadowPosition: {
- type: "string",
- default: "outset"
- },
- gradientValue: {
- type: "string",
default: ""
}
-
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 177 */
-/*!*************************************!*\
- !*** ./src/blocks/columns/icons.js ***!
- \*************************************/
+/* 220 */
+/*!************************************************************!*\
+ !*** ./src/blocks/timeline/content-timeline/attributes.js ***!
+ \************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/**
- * WordPress dependencies
+ * BLOCK: UAGB Timeline Attributes
*/
-var _wp$components = wp.components,
- Path = _wp$components.Path,
- SVG = _wp$components.SVG,
- G = _wp$components.G;
-/**
- * Custom icons
- */
+var __ = wp.i18n.__;
-var rowIcons = {};
-rowIcons.colOne = wp.element.createElement(
- SVG,
- { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
- wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z" })
-);
+var ITEM_COUNT = 5;
-rowIcons.layout5050 = wp.element.createElement(
- SVG,
- { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
- wp.element.createElement(
- G,
- { fillRule: "evenodd" },
- wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
- wp.element.createElement(Path, { d: "m24 2h2v22h-2z" })
- )
-);
+var item = [];
+var date_arr = [];
-rowIcons.layout502525 = wp.element.createElement(
- SVG,
- { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
- wp.element.createElement(
- G,
- { fillRule: "evenodd" },
- wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
- wp.element.createElement(Path, { d: "m36 2h2v22h-2z" }),
- wp.element.createElement(Path, { d: "m24 2h2v22h-2z" })
- )
-);
+for (var i = 1; i <= ITEM_COUNT; i++) {
-rowIcons.layout25252525 = wp.element.createElement(
- SVG,
- { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
- wp.element.createElement(
- G,
- { fillRule: "evenodd" },
- wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
- wp.element.createElement(Path, { d: "m12 2h2v22h-2z" }),
- wp.element.createElement(Path, { d: "m24 2h2v22h-2z" }),
- wp.element.createElement(Path, { d: "m36 2h2v22h-2z" })
- )
-);
+ item.push({
+ "time_heading": __("Timeline Heading ", 'ultimate-addons-for-gutenberg') + i,
+ "time_desc": __("This is Timeline description, you can change me anytime click here ", 'ultimate-addons-for-gutenberg')
+ });
-rowIcons.layout3366 = wp.element.createElement(
- SVG,
- { width: "48", height: "48", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" },
- wp.element.createElement(Path, {
- fillRule: "evenodd",
- clipRule: "evenodd",
- d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"
- })
-);
+ var j = i - 1;
+ var today = new Date("1/1/2019");
+ var dd = today.getDate();
+ var mm = today.getMonth() + 1; //January is 0!
+ var yyyy = today.getFullYear() - j;
-rowIcons.layout6633 = wp.element.createElement(
- SVG,
- {
- width: "48",
- height: "48",
- viewBox: "0 0 48 48",
- xmlns: "http://www.w3.org/2000/svg"
- },
- wp.element.createElement(Path, {
- fillRule: "evenodd",
- clipRule: "evenodd",
- d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"
- })
-);
+ if (dd < 10) {
+ dd = "0" + dd;
+ }
-rowIcons.layout333333 = wp.element.createElement(
- SVG,
- {
- width: "48",
- height: "48",
- viewBox: "0 0 48 48",
- xmlns: "http://www.w3.org/2000/svg"
- },
- wp.element.createElement(Path, {
- fillRule: "evenodd",
- d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"
- })
-);
+ if (mm < 10) {
+ mm = "0" + mm;
+ }
-rowIcons.layout255025 = wp.element.createElement(
- SVG,
- {
- width: "48",
- height: "48",
- viewBox: "0 0 48 48",
- xmlns: "http://www.w3.org/2000/svg"
- },
- wp.element.createElement(Path, {
- fillRule: "evenodd",
- d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"
- })
-);
+ today = mm + "/" + dd + "/" + yyyy;
+ var p = { "title": today };
-/* harmony default export */ __webpack_exports__["a"] = (rowIcons);
-
-/***/ }),
-/* 178 */
-/*!*********************************************!*\
- !*** ./src/blocks/blockquote/attributes.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/**
- * BLOCK: UAGB Quote Block Attributes
- */
+ date_arr.push({
+ "title": today
+ });
+}
var attributes = {
- block_id: {
+ content_class: {
type: "string"
},
+ tm_content: {
+ type: "array",
+ default: item
+ },
classMigrate: {
type: "boolean",
default: false
},
- skinStyle: {
+ childMigrate: {
+ type: "boolean",
+ default: false
+ },
+ dateFormat: {
type: "string",
- default: "border"
+ default: "F j, Y"
},
align: {
type: "string",
- default: "left"
+ default: "center"
},
- descriptionText: {
- selector: "div.uagb-blockquote__content",
- default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
+ headingColor: {
+ type: "string"
},
- descColor: {
+ subHeadingColor: {
type: "string"
},
- descFontSize: {
+ separatorBg: {
+ type: "string",
+ default: "#eee"
+ },
+ backgroundColor: {
+ type: "string",
+ default: "#eee"
+ },
+ separatorColor: {
+ type: "string",
+ default: "#eee"
+ },
+ separatorFillColor: {
+ type: "string",
+ default: "#61ce70"
+ },
+ separatorBorder: {
+ type: "string",
+ default: "#eee"
+ },
+ borderFocus: {
+ type: "string",
+ default: "#5cb85c"
+ },
+ headingTag: {
+ type: "string",
+ default: "h4"
+ },
+ horizontalSpace: {
+ type: "number",
+ default: 10
+ },
+ verticalSpace: {
+ type: "number",
+ default: 15
+ },
+ headFontSize: {
type: "number"
},
- descFontSizeType: {
+ headFontSizeType: {
type: "string",
default: "px"
},
- descFontSizeTablet: {
+ headFontSizeTablet: {
type: "number"
},
- descFontSizeMobile: {
+ headFontSizeMobile: {
type: "number"
},
- descFontFamily: {
+ headFontFamily: {
type: "string",
default: "Default"
},
- descFontWeight: {
+ headFontWeight: {
type: "string"
},
- descFontSubset: {
+ headFontSubset: {
type: "string"
},
- descLineHeightType: {
+ headLineHeightType: {
type: "string",
default: "em"
},
- descLineHeight: {
+ headLineHeight: {
type: "number"
},
- descLineHeightTablet: {
+ headLineHeightTablet: {
type: "number"
},
- descLineHeightMobile: {
+ headLineHeightMobile: {
type: "number"
},
- descLoadGoogleFonts: {
+ headLoadGoogleFonts: {
type: "boolean",
default: false
},
- descSpace: {
- type: "number",
- default: 20
- },
- author: {
- selector: ".uagb-blockquote__author",
- default: "Author"
- },
- authorColor: {
+ timelinAlignment: {
type: "string",
- default: "#888888"
+ default: "center"
},
- authorFontSize: {
- type: "number"
+ arrowlinAlignment: {
+ type: "string",
+ default: "center"
},
- authorFontSizeType: {
+ subHeadFontSizeType: {
type: "string",
default: "px"
},
- authorFontSizeTablet: {
+ subHeadFontSize: {
type: "number"
},
- authorFontSizeMobile: {
+ subHeadFontSizeTablet: {
type: "number"
},
- authorFontFamily: {
+ subHeadFontSizeMobile: {
+ type: "number"
+ },
+ subHeadFontFamily: {
type: "string",
default: "Default"
},
- authorFontWeight: {
+ subHeadFontWeight: {
type: "string"
},
- authorFontSubset: {
+ subHeadFontSubset: {
type: "string"
},
- authorLineHeightType: {
+ subHeadLineHeightType: {
type: "string",
default: "em"
},
- authorLineHeight: {
+ subHeadLineHeight: {
type: "number"
},
- authorLineHeightTablet: {
+ subHeadLineHeightTablet: {
type: "number"
},
- authorLineHeightMobile: {
+ subHeadLineHeightMobile: {
type: "number"
},
- authorLoadGoogleFonts: {
+ subHeadLoadGoogleFonts: {
type: "boolean",
default: false
},
- authorSpace: {
+ headSpace: {
type: "number",
- default: 10
- },
- authorImage: {
- type: "object",
- default: {
- "url": "",
- "alt": "Author Image"
- }
- },
- authorImageSize: {
- type: "string",
- default: "thumbnail"
+ default: 5
},
- authorImageWidth: {
+ separatorwidth: {
type: "number",
- default: 40
+ default: 3
},
- authorImgBorderRadius: {
+ borderwidth: {
type: "number",
- default: 100
- },
- authorImgPosition: {
- type: "string",
- default: "left"
- },
- stack: {
- type: "string",
- default: "none"
- },
- enableTweet: {
- type: "boolean",
- default: true
- },
- iconView: {
- type: "string",
- default: "icon_text"
- },
- iconSkin: {
- type: "string",
- default: "classic"
- },
- iconLabel: {
- type: "string",
- default: "Tweet"
- },
- iconShareVia: {
- type: "string",
- default: ""
- },
- iconTargetUrl: {
- type: "string",
- default: "current"
- },
- customUrl: {
- type: "string"
+ default: 0
},
- tweetLinkColor: {
+ iconColor: {
type: "string",
- default: "#1DA1F2"
+ default: "#333"
},
- tweetBtnColor: {
+ iconFocus: {
type: "string",
default: "#fff"
},
- tweetBtnBgColor: {
+ iconBgFocus: {
type: "string",
- default: "#1DA1F2"
- },
- tweetBtnHoverColor: {
- type: "string"
+ default: "#61ce70"
},
- tweetBtnBgHoverColor: {
+ dateColor: {
type: "string",
- default: "#1DA1F2"
- },
- tweetBtnFontSize: {
- type: "number",
- default: 15
+ default: "#333"
},
- tweetBtnFontSizeType: {
+ dateFontsizeType: {
type: "string",
default: "px"
},
- tweetBtnFontSizeTablet: {
+ dateFontsize: {
type: "number"
},
- tweetBtnFontSizeMobile: {
+ dateFontsizeTablet: {
type: "number"
},
- tweetBtnFontFamily: {
+ dateFontsizeMobile: {
+ type: "number"
+ },
+ dateFontFamily: {
type: "string",
default: "Default"
},
- tweetBtnFontWeight: {
+ dateFontWeight: {
type: "string"
},
- tweetBtnFontSubset: {
+ dateFontSubset: {
type: "string"
},
- tweetBtnLineHeightType: {
+ dateLineHeightType: {
type: "string",
default: "em"
},
- tweetBtnLineHeight: {
+ dateLineHeight: {
type: "number"
},
- tweetBtnLineHeightTablet: {
+ dateLineHeightTablet: {
type: "number"
},
- tweetBtnLineHeightMobile: {
+ dateLineHeightMobile: {
type: "number"
},
- tweetBtnLoadGoogleFonts: {
+ dateLoadGoogleFonts: {
type: "boolean",
default: false
},
- tweetBtnHrPadding: {
+ connectorBgsize: {
type: "number",
- default: 10
+ default: 35
},
- tweetBtnVrPadding: {
+ subHeadSpace: {
type: "number",
- default: 10
+ default: 5
},
- tweetIconSpacing: {
+ dateBottomspace: {
type: "number",
- default: 10
- },
- borderColor: {
- type: "string",
- default: "#abb8c3"
+ default: 5
},
- borderStyle: {
+ block_id: {
type: "string",
- default: "solid"
- },
- borderWidth: {
- type: "number",
- default: 4
+ default: "0"
},
- borderGap: {
+ timelineItem: {
type: "number",
- default: 15
- },
- verticalPadding: {
- type: "number"
- },
- quoteStyle: {
- type: "string",
- default: "style_2"
+ default: ITEM_COUNT
},
- quoteColor: {
+ tm_client_id: {
type: "string",
- default: "#abb8c3"
+ default: "not_set"
},
- quoteSize: {
+ borderRadius: {
type: "number",
- default: 25
- },
- quoteSizeType: {
- type: "string",
- default: "px"
- },
- quoteSizeTablet: {
- type: "number"
- },
- quoteSizeMobile: {
- type: "number"
+ default: 2
},
- quotePadding: {
+ bgPadding: {
type: "number",
- default: 10
- },
- quotePaddingType: {
- type: "string",
- default: "px"
- },
- quotePaddingTablet: {
- type: "number"
- },
- quotePaddingMobile: {
- type: "number"
+ default: 20
},
- quoteBorderRadius: {
+ iconSize: {
type: "number",
- default: 100
+ default: 12
},
- quoteBgColor: {
+ icon: {
type: "string",
- default: "#333"
- },
- quoteTopMargin: {
- type: "number"
- },
- quoteBottomMargin: {
- type: "number"
+ default: "fab fa fa-calendar-alt"
},
- quoteLeftMargin: {
- type: "number"
- },
- quoteRightMargin: {
- type: "number",
- default: 20
- },
- quoteHoverColor: {
- type: "string"
+ t_date: {
+ type: "array",
+ default: date_arr
},
- quoteBgHoverColor: {
- type: "string"
+ displayPostDate: {
+ type: "boolean",
+ default: true
},
- borderHoverColor: {
- type: "string"
+ stack: {
+ type: "string",
+ default: "tablet"
}
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 179 */
-/*!***************************************************!*\
- !*** ./src/blocks/marketing-button/attributes.js ***!
- \***************************************************/
+/* 221 */
+/*!**********************************************!*\
+ !*** ./src/blocks/timeline/inline-styles.js ***!
+ \**********************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-var __ = wp.i18n.__;
-
-
-var attributes = {
- block_id: {
- type: "string"
- },
- classMigrate: {
- type: "boolean",
- default: false
- },
- align: {
- type: "string",
- default: "center"
- },
- textAlign: {
- type: "string",
- default: "center"
- },
- link: {
- type: "string",
- default: "#"
- },
- linkTarget: {
- type: "boolean",
- default: false
- },
- titleSpace: {
- type: "number",
- default: 0
- },
-
- // Border
- borderStyle: {
- type: "string",
- default: "solid"
- },
- borderWidth: {
- type: "number",
- default: 1
- },
- borderRadius: {
- type: "number"
- },
- borderColor: {
- type: "string",
- default: "#333"
- },
- borderHoverColor: {
- type: "string"
- },
-
- // Background
- vPadding: {
- type: "number",
- default: 8
- },
- hPadding: {
- type: "number",
- default: 20
- },
- vPaddingTablet: {
- type: "number"
- },
- hPaddingTablet: {
- type: "number"
- },
- vPaddingMobile: {
- type: "number"
- },
- hPaddingMobile: {
- type: "number"
- },
- paddingType: {
- type: "string",
- default: "px"
- },
- backgroundType: {
- type: "string",
- default: "color"
- },
- backgroundColor: {
- type: "string",
- default: "#eeeeee"
- },
- backgroundHoverColor: {
- type: "string"
- },
- gradientColor1: {
- type: "string"
- },
- gradientColor2: {
- type: "string"
- },
- gradientType: {
- type: "string",
- default: "linear"
- },
- gradientLocation1: {
- type: "number",
- default: 0
- },
- gradientLocation2: {
- type: "number",
- default: 100
- },
- gradientAngle: {
- type: "number",
- default: 0
- },
- backgroundOpacity: {
- type: "number"
- },
- backgroundHoverOpacity: {
- type: "number"
- },
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
+/**
+ * Returns Dynamic Generated CSS
+ */
- //Colors
- titleColor: {
- type: "string",
- default: "#333"
- },
- titleHoverColor: {
- type: "string"
- },
- iconColor: {
- type: "string",
- default: "#333"
- },
- iconHoverColor: {
- type: "string"
- },
- prefixColor: {
- type: "string",
- default: "#333"
- },
- prefixHoverColor: {
- type: "string"
- },
- // Label and Sub Label
- heading: {
- source: "html",
- selector: "h1,h2,h3,h4,h5,h6,p,span",
- default: "Subscribe Now"
- },
- prefix: {
- source: "html",
- selector: "p",
- default: "Get access to Premium Features for FREE for a year!"
- },
- // Icon attributes
- icon: {
- type: "string",
- default: "external-link-alt"
- },
- iconPosition: {
- type: "string",
- default: "before"
- },
- iconSpace: {
- type: "number",
- default: 10
- },
- // Typography
- // Title Font Family
- titleLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- titleFontFamily: {
- type: "string",
- default: "Default"
- },
- titleFontWeight: {
- type: "string"
- },
- titleFontSubset: {
- type: "string"
- },
- // Title Font Size
- titleFontSize: {
- type: "number",
- default: 20
- },
- titleFontSizeType: {
- type: "string",
- default: "px"
- },
- titleFontSizeTablet: {
- type: "number",
- default: 20
- },
- titleFontSizeMobile: {
- type: "number",
- default: 20
- },
- // Title Line Height
- titleLineHeightType: {
- type: "string",
- default: "em"
- },
- titleLineHeight: {
- type: "number"
- },
- titleLineHeightTablet: {
- type: "number"
- },
- titleLineHeightMobile: {
- type: "number"
- },
- titleTag: {
- type: "string",
- default: "h6"
- },
- // Prefix Font Family
- prefixLoadGoogleFonts: {
- type: "boolean",
- default: false
- },
- prefixFontFamily: {
- type: "string",
- default: "Default"
- },
- prefixFontWeight: {
- type: "string"
- },
- prefixFontSubset: {
- type: "string"
- },
- // Prefix Font Size
- prefixFontSize: {
- type: "number",
- default: 14
- },
- prefixFontSizeType: {
- type: "string",
- default: "px"
- },
- prefixFontSizeTablet: {
- type: "number",
- default: 14
- },
- prefixFontSizeMobile: {
- type: "number",
- default: 14
- },
- // Prefix Line Height
- prefixLineHeightType: {
- type: "string",
- default: "em"
- },
- prefixLineHeight: {
- type: "number"
- },
- prefixLineHeightTablet: {
- type: "number"
- },
- prefixLineHeightMobile: {
- type: "number"
- },
- // Icon Font Size
- iconFontSize: {
- type: "number",
- default: 20
- },
- iconFontSizeType: {
- type: "string",
- default: "px"
- },
- iconFontSizeTablet: {
- type: "number",
- default: 20
- },
- iconFontSizeMobile: {
- type: "number",
- default: 20
+function contentTimelineStyle(props) {
+ var _props$attributes = props.attributes,
+ dateBottomspace = _props$attributes.dateBottomspace,
+ backgroundColor = _props$attributes.backgroundColor,
+ separatorColor = _props$attributes.separatorColor,
+ separatorFillColor = _props$attributes.separatorFillColor,
+ separatorBg = _props$attributes.separatorBg,
+ separatorBorder = _props$attributes.separatorBorder,
+ borderFocus = _props$attributes.borderFocus,
+ verticalSpace = _props$attributes.verticalSpace,
+ horizontalSpace = _props$attributes.horizontalSpace,
+ separatorwidth = _props$attributes.separatorwidth,
+ borderwidth = _props$attributes.borderwidth,
+ connectorBgsize = _props$attributes.connectorBgsize,
+ borderRadius = _props$attributes.borderRadius,
+ bgPadding = _props$attributes.bgPadding,
+ width = _props$attributes.width,
+ readMoreText = _props$attributes.readMoreText,
+ icon = _props$attributes.icon,
+ iconColor = _props$attributes.iconColor,
+ dateFontsizeType = _props$attributes.dateFontsizeType,
+ dateFontsize = _props$attributes.dateFontsize,
+ dateFontsizeTablet = _props$attributes.dateFontsizeTablet,
+ dateFontsizeMobile = _props$attributes.dateFontsizeMobile,
+ dateFontFamily = _props$attributes.dateFontFamily,
+ dateFontWeight = _props$attributes.dateFontWeight,
+ dateFontSubset = _props$attributes.dateFontSubset,
+ dateLineHeightType = _props$attributes.dateLineHeightType,
+ dateLineHeight = _props$attributes.dateLineHeight,
+ dateLineHeightTablet = _props$attributes.dateLineHeightTablet,
+ dateLineHeightMobile = _props$attributes.dateLineHeightMobile,
+ dateLoadGoogleFonts = _props$attributes.dateLoadGoogleFonts,
+ dateColor = _props$attributes.dateColor,
+ iconSize = _props$attributes.iconSize,
+ iconFocus = _props$attributes.iconFocus,
+ iconBgFocus = _props$attributes.iconBgFocus,
+ block_id = _props$attributes.block_id,
+ headFontSizeType = _props$attributes.headFontSizeType,
+ headFontSize = _props$attributes.headFontSize,
+ headFontSizeTablet = _props$attributes.headFontSizeTablet,
+ headFontSizeMobile = _props$attributes.headFontSizeMobile,
+ headFontFamily = _props$attributes.headFontFamily,
+ headFontWeight = _props$attributes.headFontWeight,
+ headFontSubset = _props$attributes.headFontSubset,
+ headLineHeightType = _props$attributes.headLineHeightType,
+ headLineHeight = _props$attributes.headLineHeight,
+ headLineHeightTablet = _props$attributes.headLineHeightTablet,
+ headLineHeightMobile = _props$attributes.headLineHeightMobile,
+ headLoadGoogleFonts = _props$attributes.headLoadGoogleFonts,
+ align = _props$attributes.align,
+ headingColor = _props$attributes.headingColor,
+ headSpace = _props$attributes.headSpace,
+ subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
+ subHeadFontSize = _props$attributes.subHeadFontSize,
+ subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
+ subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
+ subHeadFontFamily = _props$attributes.subHeadFontFamily,
+ subHeadFontWeight = _props$attributes.subHeadFontWeight,
+ subHeadFontSubset = _props$attributes.subHeadFontSubset,
+ subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
+ subHeadLineHeight = _props$attributes.subHeadLineHeight,
+ subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet,
+ subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
+ subHeadLoadGoogleFonts = _props$attributes.subHeadLoadGoogleFonts,
+ subHeadingColor = _props$attributes.subHeadingColor,
+ authorSpace = _props$attributes.authorSpace,
+ authorColor = _props$attributes.authorColor,
+ authorFontSizeType = _props$attributes.authorFontSizeType,
+ authorFontSize = _props$attributes.authorFontSize,
+ authorFontSizeTablet = _props$attributes.authorFontSizeTablet,
+ authorFontSizeMobile = _props$attributes.authorFontSizeMobile,
+ authorFontFamily = _props$attributes.authorFontFamily,
+ authorFontWeight = _props$attributes.authorFontWeight,
+ authorFontSubset = _props$attributes.authorFontSubset,
+ authorLineHeightType = _props$attributes.authorLineHeightType,
+ authorLineHeight = _props$attributes.authorLineHeight,
+ authorLineHeightTablet = _props$attributes.authorLineHeightTablet,
+ authorLineHeightMobile = _props$attributes.authorLineHeightMobile,
+ authorLoadGoogleFonts = _props$attributes.authorLoadGoogleFonts,
+ ctaColor = _props$attributes.ctaColor,
+ ctaFontSizeType = _props$attributes.ctaFontSizeType,
+ ctaFontSize = _props$attributes.ctaFontSize,
+ ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
+ ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
+ ctaFontFamily = _props$attributes.ctaFontFamily,
+ ctaFontWeight = _props$attributes.ctaFontWeight,
+ ctaFontSubset = _props$attributes.ctaFontSubset,
+ ctaLineHeightType = _props$attributes.ctaLineHeightType,
+ ctaLineHeight = _props$attributes.ctaLineHeight,
+ ctaLineHeightTablet = _props$attributes.ctaLineHeightTablet,
+ ctaLineHeightMobile = _props$attributes.ctaLineHeightMobile,
+ ctaLoadGoogleFonts = _props$attributes.ctaLoadGoogleFonts,
+ ctaBackground = _props$attributes.ctaBackground;
+
+
+ var resp_selectors = "left";
+
+ var selectors = {
+ " .uagb-timeline__heading": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "text-align": align,
+ "color": headingColor
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "text-align": align,
+ "color": headingColor
+ },
+ " .uagb-timeline__heading-text": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headSpace, "px")
+ },
+ " .uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSize, subHeadFontSizeType),
+ "font-family": subHeadFontFamily,
+ "font-weight": subHeadFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeight, subHeadLineHeightType),
+ "text-align": align,
+ "color": subHeadingColor
+ },
+ " .uagb-timeline__events-new": {
+ "text-align": align
+ },
+ " .uagb-timeline__date-inner": {
+ "text-align": align
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-left-color": backgroundColor
+ },
+ " .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-left-color": backgroundColor
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__line__inner": {
+ "background-color": separatorFillColor
+ },
+ " .uagb-timeline__line": {
+ "background-color": separatorColor,
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(separatorwidth, "px")
+ },
+ " .uagb-timeline__right-block .uagb-timeline__line": {
+ "right": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__left-block .uagb-timeline__line": {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__center-block .uagb-timeline__line": {
+ "right": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__marker": {
+ "background-color": separatorBg,
+ "min-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "min-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "border": borderwidth + "px solid" + separatorBorder
+ },
+ " .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow": {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ },
+ " .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow": {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ },
+ " .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow": {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ },
+ " .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow": {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ },
+ " .uagb-timeline__center-block .uagb-timeline__marker": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px"),
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__field:not(:last-child)": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(verticalSpace, "px")
+ },
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateBottomspace, "px"),
+ "color": dateColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsize, dateFontsizeType),
+ "font-family": dateFontFamily,
+ "font-weight": dateFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeight, dateLineHeightType),
+ "text-align": align
+ },
+ " .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right": {
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__date-new": {
+ "color": dateColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsize, dateFontsizeType),
+ "font-family": dateFontFamily,
+ "font-weight": dateFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeight, dateLineHeightType)
+ },
+ " .uagb-timeline__events-inner-new": {
+ "background-color": backgroundColor,
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderRadius, "px"),
+ "padding": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bgPadding, "px")
+ },
+ " .uagb-timeline__main .uagb-timeline__icon-new": {
+ "color": iconColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px")
+ },
+ " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon": {
+ "background": iconBgFocus,
+ "border-color": borderFocus
+ },
+ " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new": {
+ "color": iconFocus
+ },
+ " .uagb-timeline__main .uagb-timeline__icon-new svg": {
+ "fill": iconColor
+ },
+ " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg": {
+ "fill": iconFocus
+ },
+
+ //Author and CTA
+ " .uagb-timeline__author": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorSpace, "px"),
+ "text-align": align
+ },
+ " .uagb-timeline__author .dashicons-admin-users": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSize, authorFontSizeType),
+ "font-weight": authorFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeight, authorLineHeightType),
+ "color": authorColor
+ },
+ " .uagb-timeline__author-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSize, authorFontSizeType),
+ "font-family": authorFontFamily,
+ "font-weight": authorFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeight, authorLineHeightType),
+ "color": authorColor
+ },
+
+ " .uagb-timeline__link_parent": {
+ "text-align": align
+ },
+ " .uagb-timeline__link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "font-family": ctaFontFamily,
+ "font-weight": ctaFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeight, ctaLineHeightType),
+ "color": ctaColor,
+ "background-color": ctaBackground
+ }
+
+ /* Generate Responsive CSS for timeline */
+ };var tablet_selectors = {
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeTablet, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightTablet, dateLineHeightType)
+ },
+ " .uagb-timeline__date-new": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeTablet, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightTablet, dateLineHeightType)
+ },
+ " .uagb-timeline__heading": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ },
+ " .uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeTablet, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightTablet, subHeadLineHeightType)
+ },
+ " .uagb-timeline__center-block .uagb-timeline__marker": {
+ "margin-left": 0,
+ "margin-right": 0
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line": {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a": {
+ "text-align": resp_selectors
+ },
+
+ // CTA AUTHOR.
+ " .uagb-timeline__author .dashicons-admin-users": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeTablet, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightTablet, authorLineHeightType)
+ },
+ " .uagb-timeline__author-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeTablet, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightTablet, authorLineHeightType)
+ },
+ " .uagb-timeline__link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeightTablet, ctaLineHeightType)
+ }
+ };
+
+ var mobile_selectors = {
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeMobile, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightMobile, dateLineHeightType)
+ },
+ " .uagb-timeline__date-new": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeMobile, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightMobile, dateLineHeightType)
+ },
+ " .uagb-timeline__heading": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ },
+ " .uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeMobile, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightMobile, subHeadLineHeightType)
+ },
+ " .uagb-timeline__center-block .uagb-timeline__marker": {
+ "margin-left": 0,
+ "margin-right": 0
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line": {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__author": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__link_parent": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a": {
+ "text-align": resp_selectors
+ },
+
+ // CTA AUthor
+ " .uagb-timeline__author .dashicons-admin-users": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeMobile, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightMobile, authorLineHeightType)
+ },
+ " .uagb-timeline__author-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeMobile, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightMobile, authorLineHeightType)
+ },
+ " .uagb-timeline__link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeightMobile, ctaLineHeightType)
+ }
+ };
+
+ var styling_css = "";
+ var id = ".block-editor-page #wpwrap .uagb-block-" + props.clientId;
+
+ styling_css = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(selectors, id);
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(tablet_selectors, id, true, "tablet");
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(mobile_selectors, id, true, "mobile");
+
+ return styling_css;
+}
+
+/* harmony default export */ __webpack_exports__["a"] = (contentTimelineStyle);
+
+/***/ }),
+/* 222 */
+/*!**********************************************!*\
+ !*** ./src/blocks/timeline/align-classes.js ***!
+ \**********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * Function name: AlignClass
+ * @param array attributes settign array of attributes.
+ * @param int index_val index values.
+ */
+function AlignClass(attributes, index_val) {
+
+ var align_class = "";
+ if ("left" == attributes.timelinAlignment) {
+ align_class = "uagb-timeline__widget uagb-timeline__left";
+ } else if ("right" == attributes.timelinAlignment) {
+ align_class = "uagb-timeline__widget uagb-timeline__right";
+ } else if ("center" == attributes.timelinAlignment) {
+ if (index_val % 2 == "0") {
+ align_class = "uagb-timeline__widget uagb-timeline__right";
+ } else {
+ align_class = "uagb-timeline__widget uagb-timeline__left";
+ }
}
-};
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
+ return [align_class];
+}
+
+/* harmony default export */ __webpack_exports__["a"] = (AlignClass);
/***/ }),
-/* 180 */
-/*!****************************************************!*\
- !*** ./src/blocks/table-of-contents/attributes.js ***!
- \****************************************************/
+/* 223 */
+/*!**************************************************!*\
+ !*** ./src/blocks/timeline/day-align-classes.js ***!
+ \**************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-var __ = wp.i18n.__;
+/**
+ * Returns Dynamic Generated Classes
+ */
+function DayAlignClass(attributes, index_val) {
-var attributes = {
- block_id: {
- type: "string",
- default: "not_set"
- },
- classMigrate: {
- type: "boolean",
- default: false
- },
- disableBullets: {
- type: "boolean",
- default: false
- },
- makeCollapsible: {
- type: "boolean",
- default: false
- },
- initialCollapse: {
- type: "boolean",
- default: false
- },
- icon: {
- type: "string",
- default: "fa-angle-down"
- },
- iconSize: {
- type: "number"
- },
- iconColor: {
- type: "string"
- },
- bulletColor: {
+ var day_align_class = "";
+
+ if ("left" == attributes.timelinAlignment) {
+ day_align_class = "uagb-timeline__day-new uagb-timeline__day-left";
+ } else if ("right" == attributes.timelinAlignment) {
+ day_align_class = "uagb-timeline__day-new uagb-timeline__day-right";
+ } else if ("center" == attributes.timelinAlignment) {
+ if (index_val % 2 == "0") {
+ day_align_class = "uagb-timeline__day-new uagb-timeline__day-right";
+ } else {
+ day_align_class = "uagb-timeline__day-new uagb-timeline__day-left";
+ }
+ }
+
+ return [day_align_class];
+}
+
+/* harmony default export */ __webpack_exports__["a"] = (DayAlignClass);
+
+/***/ }),
+/* 224 */
+/*!*********************************************************!*\
+ !*** ./src/blocks/timeline/content-timeline/styling.js ***!
+ \*********************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/generateCSS */ 4);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+ * Returns Dynamic Generated CSS
+ */
+
+
+
+
+function contentTimelineStyle(props) {
+ var _selectors;
+
+ var _props$attributes = props.attributes,
+ dateBottomspace = _props$attributes.dateBottomspace,
+ backgroundColor = _props$attributes.backgroundColor,
+ separatorColor = _props$attributes.separatorColor,
+ separatorFillColor = _props$attributes.separatorFillColor,
+ separatorBg = _props$attributes.separatorBg,
+ separatorBorder = _props$attributes.separatorBorder,
+ borderFocus = _props$attributes.borderFocus,
+ verticalSpace = _props$attributes.verticalSpace,
+ horizontalSpace = _props$attributes.horizontalSpace,
+ separatorwidth = _props$attributes.separatorwidth,
+ borderwidth = _props$attributes.borderwidth,
+ connectorBgsize = _props$attributes.connectorBgsize,
+ borderRadius = _props$attributes.borderRadius,
+ bgPadding = _props$attributes.bgPadding,
+ iconColor = _props$attributes.iconColor,
+ dateFontsizeType = _props$attributes.dateFontsizeType,
+ dateFontsize = _props$attributes.dateFontsize,
+ dateFontsizeTablet = _props$attributes.dateFontsizeTablet,
+ dateFontsizeMobile = _props$attributes.dateFontsizeMobile,
+ dateFontFamily = _props$attributes.dateFontFamily,
+ dateFontWeight = _props$attributes.dateFontWeight,
+ dateLineHeightType = _props$attributes.dateLineHeightType,
+ dateLineHeight = _props$attributes.dateLineHeight,
+ dateLineHeightTablet = _props$attributes.dateLineHeightTablet,
+ dateLineHeightMobile = _props$attributes.dateLineHeightMobile,
+ dateColor = _props$attributes.dateColor,
+ iconSize = _props$attributes.iconSize,
+ iconFocus = _props$attributes.iconFocus,
+ iconBgFocus = _props$attributes.iconBgFocus,
+ block_id = _props$attributes.block_id,
+ headFontSizeType = _props$attributes.headFontSizeType,
+ headFontSize = _props$attributes.headFontSize,
+ headFontSizeTablet = _props$attributes.headFontSizeTablet,
+ headFontSizeMobile = _props$attributes.headFontSizeMobile,
+ headFontFamily = _props$attributes.headFontFamily,
+ headFontWeight = _props$attributes.headFontWeight,
+ headLineHeightType = _props$attributes.headLineHeightType,
+ headLineHeight = _props$attributes.headLineHeight,
+ headLineHeightTablet = _props$attributes.headLineHeightTablet,
+ headLineHeightMobile = _props$attributes.headLineHeightMobile,
+ align = _props$attributes.align,
+ headingColor = _props$attributes.headingColor,
+ headSpace = _props$attributes.headSpace,
+ subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
+ subHeadFontSize = _props$attributes.subHeadFontSize,
+ subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
+ subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
+ subHeadFontFamily = _props$attributes.subHeadFontFamily,
+ subHeadFontWeight = _props$attributes.subHeadFontWeight,
+ subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
+ subHeadLineHeight = _props$attributes.subHeadLineHeight,
+ subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet,
+ subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
+ subHeadingColor = _props$attributes.subHeadingColor,
+ authorSpace = _props$attributes.authorSpace,
+ authorColor = _props$attributes.authorColor,
+ authorFontSizeType = _props$attributes.authorFontSizeType,
+ authorFontSize = _props$attributes.authorFontSize,
+ authorFontSizeTablet = _props$attributes.authorFontSizeTablet,
+ authorFontSizeMobile = _props$attributes.authorFontSizeMobile,
+ authorFontFamily = _props$attributes.authorFontFamily,
+ authorFontWeight = _props$attributes.authorFontWeight,
+ authorLineHeightType = _props$attributes.authorLineHeightType,
+ authorLineHeight = _props$attributes.authorLineHeight,
+ authorLineHeightTablet = _props$attributes.authorLineHeightTablet,
+ authorLineHeightMobile = _props$attributes.authorLineHeightMobile,
+ ctaColor = _props$attributes.ctaColor,
+ ctaFontSizeType = _props$attributes.ctaFontSizeType,
+ ctaFontSize = _props$attributes.ctaFontSize,
+ ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
+ ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
+ ctaFontFamily = _props$attributes.ctaFontFamily,
+ ctaFontWeight = _props$attributes.ctaFontWeight,
+ ctaLineHeightType = _props$attributes.ctaLineHeightType,
+ ctaLineHeight = _props$attributes.ctaLineHeight,
+ ctaLineHeightTablet = _props$attributes.ctaLineHeightTablet,
+ ctaLineHeightMobile = _props$attributes.ctaLineHeightMobile,
+ ctaBackground = _props$attributes.ctaBackground;
+
+
+ var resp_selectors = "left";
+
+ var selectors = (_selectors = {
+ " .uagb-timeline__heading.rich-text": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "text-align": align,
+ "color": headingColor
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "text-align": align,
+ "color": headingColor
+ },
+ " .uagb-timeline__heading-text": {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headSpace, "px")
+ },
+ " p.uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSize, subHeadFontSizeType),
+ "font-family": subHeadFontFamily,
+ "font-weight": subHeadFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeight, subHeadLineHeightType),
+ "text-align": align,
+ "color": subHeadingColor
+ },
+ " .uagb-timeline__events-new": {
+ "text-align": align
+ },
+ " .uagb-timeline__date-inner": {
+ "text-align": align
+ },
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after': {
+ 'border-left-color': backgroundColor
+ }
+ }, _defineProperty(_selectors, " .uagb-timeline__day-right .uagb-timeline__arrow:after", {
+ 'border-right-color': backgroundColor
+ }), _defineProperty(_selectors, " .uagb-timeline__day-right .uagb-timeline__arrow:after", {
+ 'border-left-color': backgroundColor
+ }), _defineProperty(_selectors, " .uagb-timeline__day-right .uagb-timeline__arrow:after", {
+ 'border-right-color': backgroundColor
+ }), _defineProperty(_selectors, ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after', {
+ 'border-left-color': backgroundColor
+ }), _defineProperty(_selectors, ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after', {
+ 'border-left-color': backgroundColor
+ }), _defineProperty(_selectors, ' .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after', {
+ 'border-left-color': backgroundColor
+ }), _defineProperty(_selectors, ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after', {
+ 'border-right-color': backgroundColor
+ }), _defineProperty(_selectors, ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after', {
+ 'border-right-color': backgroundColor
+ }), _defineProperty(_selectors, " .uagb-timeline__line__inner", {
+ "background-color": separatorFillColor
+ }), _defineProperty(_selectors, " .uagb-timeline__line", {
+ "background-color": separatorColor,
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(separatorwidth, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__right-block .uagb-timeline__line", {
+ "right": "calc( " + connectorBgsize + "px / 2 )"
+ }), _defineProperty(_selectors, " .uagb-timeline__left-block .uagb-timeline__line", {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ }), _defineProperty(_selectors, " .uagb-timeline__center-block .uagb-timeline__line", {
+ "right": "calc( " + connectorBgsize + "px / 2 )"
+ }), _defineProperty(_selectors, " .uagb-timeline__marker", {
+ "background-color": separatorBg,
+ "min-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "min-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px"),
+ "border": borderwidth + "px solid" + separatorBorder
+ }), _defineProperty(_selectors, " .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow", {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow", {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow", {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow", {
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(connectorBgsize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__center-block .uagb-timeline__marker", {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px"),
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__field", {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(verticalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__date-hide.uagb-timeline__date-inner", {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateBottomspace, "px"),
+ "color": dateColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsize, dateFontsizeType),
+ "font-family": dateFontFamily,
+ "font-weight": dateFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeight, dateLineHeightType),
+ "text-align": align
+ }), _defineProperty(_selectors, " .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-left", {
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left", {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-right", {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right", {
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__date-new", {
+ "color": dateColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsize, dateFontsizeType),
+ "font-family": dateFontFamily,
+ "font-weight": dateFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeight, dateLineHeightType)
+ }), _defineProperty(_selectors, " .uagb-timeline__events-inner-new", {
+ "background-color": backgroundColor,
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderRadius, "px"),
+ "padding": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(bgPadding, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__icon-new", {
+ "color": iconColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__icon-new svg", {
+ "fill": iconColor,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px"),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(iconSize, "px")
+ }), _defineProperty(_selectors, " .uagb-timeline__marker.uagb-timeline__in-view-icon", {
+ "background": iconBgFocus,
+ "border-color": borderFocus
+ }), _defineProperty(_selectors, " .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new", {
+ "color": iconFocus
+ }), _defineProperty(_selectors, " .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg", {
+ "fill": iconColor
+ }), _defineProperty(_selectors, " .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg", {
+ "fill": iconFocus
+ }), _defineProperty(_selectors, " .uagb-timeline__author", {
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorSpace, "px"),
+ "text-align": align
+ }), _defineProperty(_selectors, " .uagb-timeline__author .dashicons-admin-users", {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSize, authorFontSizeType),
+ "font-weight": authorFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeight, authorLineHeightType),
+ "color": authorColor
+ }), _defineProperty(_selectors, " .uagb-timeline__author-link", {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSize, authorFontSizeType),
+ "font-family": authorFontFamily,
+ "font-weight": authorFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeight, authorLineHeightType),
+ "color": authorColor
+ }), _defineProperty(_selectors, " .uagb-timeline__link_parent", {
+ "text-align": align
+ }), _defineProperty(_selectors, " .uagb-timeline__link", {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
+ "font-family": ctaFontFamily,
+ "font-weight": ctaFontWeight,
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeight, ctaLineHeightType),
+ "color": ctaColor,
+ "background-color": ctaBackground
+ }), _selectors);
+
+ /* Generate Responsive CSS for timeline */
+ var tablet_selectors = {
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeTablet, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightTablet, dateLineHeightType)
+ },
+ " .uagb-timeline__date-new": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeTablet, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightTablet, dateLineHeightType)
+ },
+ " .uagb-timeline__heading": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ },
+ " p.uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeTablet, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightTablet, subHeadLineHeightType)
+ },
+ " .uagb-timeline__center-block .uagb-timeline__marker": {
+ "margin-left": 0,
+ "margin-right": 0
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet p.uagb-timeline-desc-content": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line": {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a": {
+ "text-align": resp_selectors
+ },
+
+ // CTA AUTHOR.
+ " .uagb-timeline__author .dashicons-admin-users": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeTablet, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightTablet, authorLineHeightType)
+ },
+ " .uagb-timeline__author-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeTablet, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightTablet, authorLineHeightType)
+ },
+ " .uagb-timeline__link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeightTablet, ctaLineHeightType)
+ }
+ };
+
+ var mobile_selectors = {
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeMobile, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightMobile, dateLineHeightType)
+ },
+ " .uagb-timeline__date-new": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateFontsizeMobile, dateFontsizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(dateLineHeightMobile, dateLineHeightType)
+ },
+ " .uagb-timeline__heading": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ },
+ " .uagb-timeline__heading a": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ },
+ " p.uagb-timeline-desc-content": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeMobile, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightMobile, subHeadLineHeightType)
+ },
+ " .uagb-timeline__center-block .uagb-timeline__marker": {
+ "margin-left": 0,
+ "margin-right": 0
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right": {
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(horizontalSpace, "px")
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile p.uagb-timeline-desc-content": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after": {
+ "border-right-color": backgroundColor
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line": {
+ "left": "calc( " + connectorBgsize + "px / 2 )"
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__author": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__link_parent": {
+ "text-align": resp_selectors
+ },
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a": {
+ "text-align": resp_selectors
+ },
+
+ // CTA AUthor
+ " .uagb-timeline__author .dashicons-admin-users": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeMobile, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightMobile, authorLineHeightType)
+ },
+ " .uagb-timeline__author-link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorFontSizeMobile, authorFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(authorLineHeightMobile, authorLineHeightType)
+ },
+ " .uagb-timeline__link": {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeightMobile, ctaLineHeightType)
+ }
+ };
+
+ var styling_css = "";
+ var id = ".uagb-block-" + props.clientId;
+
+ styling_css = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(selectors, id);
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(tablet_selectors, id, true, "tablet");
+
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(mobile_selectors, id, true, "mobile");
+
+ return styling_css;
+}
+
+/* harmony default export */ __webpack_exports__["a"] = (contentTimelineStyle);
+
+/***/ }),
+/* 225 */
+/*!******************************************************************!*\
+ !*** ./src/blocks/timeline/content-timeline-child/attributes.js ***!
+ \******************************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: UAGB Timeline Child Attributes
+ */
+
+var __ = wp.i18n.__;
+
+
+var attributes = {
+ content_class: {
type: "string"
},
- smoothScroll: {
- type: "boolean",
- default: true
- },
- smoothScrollDelay: {
- type: "number",
- default: 800
- },
- smoothScrollOffset: {
- type: "number",
- default: 30
- },
- scrollToTop: {
- type: "boolean",
- default: false
- },
- scrollToTopColor: {
+ dayalign_class: {
type: "string"
},
- scrollToTopBgColor: {
- type: "string"
+ time_heading: {
+ type: "string",
+ default: __("Timeline Heading ", 'ultimate-addons-for-gutenberg')
},
- mappingHeaders: {
- type: 'array',
- default: Array(6).fill(true)
+ time_desc: {
+ type: "string",
+ default: __("This is Timeline description, you can change me anytime click here ", 'ultimate-addons-for-gutenberg')
},
- headerLinks: {
- type: 'html',
- default: ''
+ dateFormat: {
+ type: "string",
+ default: "F j, Y"
},
align: {
type: "string",
- default: "left"
- },
- heading: {
- source: "html",
- selector: ".uagb-toc__title",
- default: "Table Of Contents"
+ default: "center"
},
- customWidth: {
- type: "boolean",
- default: false
+ headingTag: {
+ type: "string",
+ default: "h4"
},
- widthTypeDesktop: {
+ timelinAlignment: {
type: "string",
- default: "%"
+ default: "center"
},
- widthTypeTablet: {
+ arrowlinAlignment: {
type: "string",
- default: "%"
+ default: "center"
},
- widthTypeMobile: {
+ block_id: {
type: "string",
- default: "%"
+ default: "0"
},
- widthDesktop: {
+ timelineItem: {
type: "number",
- default: 100
- },
- widthTablet: {
- type: "number"
+ default: 5
},
- widthMobile: {
- type: "number"
+ tm_client_id: {
+ type: "string",
+ default: "not_set"
},
- tColumnsDesktop: {
+ iconSize: {
type: "number",
- default: 1
+ default: 12
},
- tColumnsTablet: {
- type: "number",
- default: 1
+ icon: {
+ type: "string",
+ default: "fab fa fa-calendar-alt"
},
- tColumnsMobile: {
- type: "number",
- default: 1
+ t_date: {
+ type: "string",
+ default: '1/1/2019'
},
-
- // Color
- backgroundColor: {
+ displayPostDate: {
+ type: "boolean"
+ },
+ stack: {
type: "string",
- default: "#eee"
+ default: "tablet"
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 226 */
+/*!*************************************************!*\
+ !*** ./src/blocks/call-to-action/attributes.js ***!
+ \*************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Call To Action - Attributes
+ */
+
+var attributes = {
+ inheritFromTheme: {
+ type: "boolean",
+ default: false
},
- linkColor: {
+ ctaTitle: {
+ source: "html",
+ selector: "h1,h2,h3,h4,h5,h6",
+ default: "Call To Action"
+ },
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ description: {
+ source: "html",
+ selector: "p",
+ default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
+ },
+ textAlign: {
type: "string",
- default: "#333"
+ default: "left"
},
- linkHoverColor: {
+ titleColor: {
type: "string"
},
- headingColor: {
+ descColor: {
type: "string"
},
-
- // Padding
- vPaddingDesktop: {
- type: "number",
- default: 30
+ ctaPosition: {
+ type: "string",
+ default: "right"
},
- hPaddingDesktop: {
- type: "number",
- default: 30
+ titleTag: {
+ type: "string",
+ default: "h3"
},
- vPaddingTablet: {
+ titleFontSize: {
type: "number"
},
- hPaddingTablet: {
- type: "number"
+ titleFontSizeType: {
+ type: "string",
+ default: "px"
},
- vPaddingMobile: {
+ titleFontSizeMobile: {
type: "number"
},
- hPaddingMobile: {
+ titleFontSizeTablet: {
type: "number"
},
- // Margin
- vMarginDesktop: {
- type: "number"
+ titleFontFamily: {
+ type: "string",
+ default: "Default"
},
- hMarginDesktop: {
- type: "number"
+ titleFontWeight: {
+ type: "string"
},
- vMarginTablet: {
- type: "number"
+ titleFontSubset: {
+ type: "string"
},
- hMarginTablet: {
+ titleLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ titleLineHeight: {
type: "number"
},
- vMarginMobile: {
+ titleLineHeightTablet: {
type: "number"
},
- hMarginMobile: {
+ titleLineHeightMobile: {
type: "number"
},
- marginTypeDesktop: {
- type: "string",
- default: "px"
+ titleLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- marginTypeTablet: {
- type: "string",
- default: "px"
+ descFontSize: {
+ type: "number"
},
- marginTypeMobile: {
+ descFontSizeType: {
type: "string",
default: "px"
},
- headingBottom: {
+ descFontSizeMobile: {
type: "number"
},
- paddingTypeDesktop: {
- type: "string",
- default: "px"
+ descFontSizeTablet: {
+ type: "number"
},
- paddingTypeTablet: {
+ descFontFamily: {
type: "string",
- default: "px"
+ default: "Default"
},
- paddingTypeMobile: {
+ descFontWeight: {
+ type: "string"
+ },
+ descFontSubset: {
+ type: "string"
+ },
+ descLineHeightType: {
type: "string",
- default: "px"
+ default: "em"
},
-
- // Content Padding
- contentPaddingDesktop: {
+ descLineHeight: {
type: "number"
},
- contentPaddingTablet: {
+ descLineHeightTablet: {
type: "number"
},
- contentPaddingMobile: {
+ descLineHeightMobile: {
type: "number"
},
- contentPaddingTypeDesktop: {
- type: "string",
- default: "px"
+ descLoadGoogleFonts: {
+ type: "boolean",
+ default: false
},
- contentPaddingTypeTablet: {
- type: "string",
- default: "px"
+ titleSpace: {
+ type: "number",
+ default: 10
},
- contentPaddingTypeMobile: {
+ descSpace: {
+ type: "number",
+ default: 10
+ },
+ block_id: {
type: "string",
- default: "px"
+ default: "not_set"
},
-
- // Border
- borderStyle: {
+ buttonAlign: {
type: "string",
- default: "solid"
+ default: "middle"
},
- borderWidth: {
- type: "number",
- default: 1
+ ctaTarget: {
+ type: "boolean",
+ default: false
},
- borderRadius: {
- type: "number"
+ ctaIcon: {
+ type: "string",
+ default: ""
},
- borderColor: {
+ ctaIconPosition: {
type: "string",
- default: "#333"
+ default: "after"
},
-
- // Typography
- // Link Font Family
- loadGoogleFonts: {
- type: "boolean",
- default: false
+ ctaIconSpace: {
+ type: "number",
+ default: 5
},
- fontFamily: {
+ ctaType: {
type: "string",
- default: "Default"
+ default: "button"
},
- fontWeight: {
- type: "string"
+ ctaText: {
+ type: "html",
+ default: "Read More"
},
- fontSubset: {
- type: "string"
+ ctaLink: {
+ type: "string",
+ default: "#"
},
- // Link Font Size
- fontSize: {
+ ctaFontSize: {
type: "number"
},
- fontSizeType: {
+ ctaFontSizeType: {
type: "string",
default: "px"
},
- fontSizeTablet: {
+ ctaFontSizeMobile: {
type: "number"
},
- fontSizeMobile: {
+ ctaFontSizeTablet: {
type: "number"
},
- // Link Line Height
- lineHeightType: {
+ ctaFontFamily: {
type: "string",
- default: "em"
- },
- lineHeight: {
- type: "number"
+ default: "Default"
},
- lineHeightTablet: {
- type: "number"
+ ctaFontWeight: {
+ type: "string"
},
- lineHeightMobile: {
- type: "number"
+ ctaFontSubset: {
+ type: "string"
},
-
- // Link Font Family
- headingLoadGoogleFonts: {
+ ctaLoadGoogleFonts: {
type: "boolean",
default: false
},
- headingFontFamily: {
- type: "string",
- default: "Default"
+ contentWidth: {
+ type: "number",
+ default: "70"
},
- headingFontWeight: {
+ ctaBtnLinkColor: {
type: "string",
- default: "500"
+ default: "#333"
},
- headingFontSubset: {
- type: "string"
+ ctaLinkHoverColor: {
+ type: "string",
+ default: ""
},
- // Link Font Size
- headingFontSize: {
- type: "number",
- default: 20
+ ctaBgColor: {
+ type: "string",
+ default: "transparent"
},
- headingFontSizeType: {
+ ctaBgHoverColor: {
type: "string",
- default: "px"
+ default: "transparent"
},
- headingFontSizeTablet: {
- type: "number"
+ ctaBorderColor: {
+ type: "string",
+ default: "#333"
},
- headingFontSizeMobile: {
- type: "number"
+ ctaBorderhoverColor: {
+ type: "string",
+ default: ""
},
- // Link Line Height
- headingLineHeightType: {
+ ctaBorderStyle: {
type: "string",
- default: "em"
+ default: "solid"
},
- headingLineHeight: {
- type: "number"
+ ctaBtnVertPadding: {
+ type: "number",
+ default: 10
},
- headingLineHeightTablet: {
- type: "number"
+ ctaBtnHrPadding: {
+ type: "number",
+ default: 14
},
- headingLineHeightMobile: {
- type: "number"
+ ctaBorderWidth: {
+ type: "number",
+ default: 1
},
- headingAlignment: {
+ ctaBorderRadius: {
+ type: "number",
+ default: 0
+ },
+ stack: {
type: "string",
- default: "left"
+ default: "tablet"
+ },
+ ctaLeftSpace: {
+ type: "number",
+ default: 5
+ },
+ ctaRightSpace: {
+ type: "number",
+ default: 5
}
};
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 181 */
-/*!*********************************************!*\
- !*** ./src/blocks/table-of-contents/toc.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var __ = wp.i18n.__;
-
-var TableOfContents = function (_React$Component) {
- _inherits(TableOfContents, _React$Component);
-
- function TableOfContents() {
- _classCallCheck(this, TableOfContents);
-
- return _possibleConstructorReturn(this, (TableOfContents.__proto__ || Object.getPrototypeOf(TableOfContents)).apply(this, arguments));
- }
-
- _createClass(TableOfContents, [{
- key: 'render',
- value: function render() {
- var _props = this.props,
- mappingHeaders = _props.mappingHeaders,
- headers = _props.headers;
-
-
- var makeHeaderArray = function makeHeaderArray(origHeaders) {
- var arrays = [];
-
- origHeaders.filter(function (header) {
- return mappingHeaders[header.tag - 1];
- }).forEach(function (header) {
- var last = arrays.length - 1;
- if (arrays.length === 0 || arrays[last][0].tag < header.tag) {
- arrays.push([header]);
- } else if (arrays[last][0].tag === header.tag) {
- arrays[last].push(header);
- } else {
- while (arrays[last][0].tag > header.tag) {
- if (arrays.length > 1) {
- arrays[arrays.length - 2].push(arrays.pop());
- last = arrays.length - 1;
- } else break;
- }
- if (arrays[last][0].tag === header.tag) {
- arrays[last].push(header);
- }
- }
- });
-
- while (arrays.length > 1 && arrays[arrays.length - 1][0].tag > arrays[arrays.length - 2][0].tag) {
- arrays[arrays.length - 2].push(arrays.pop());
- }
-
- return arrays[0];
- };
-
- var filterArray = function filterArray(origHeaders) {
- var arrays = [];
- headers.forEach(function (heading, key) {
- if (mappingHeaders[heading.tag - 1]) {
- arrays.push(heading);
- }
- });
- return makeHeaderArray(arrays);
- };
-
- var counter = 0;
- var ul_counter = 0;
-
- var parseList = function parseList(list) {
- var items = [];
- list.forEach(function (item) {
-
- if (Array.isArray(item)) {
- items.push(parseList(item));
- } else {
-
- items.push(wp.element.createElement(
- 'li',
- { key: counter },
- wp.element.createElement('a', {
- href: '#' + item.link,
- dangerouslySetInnerHTML: {
- __html: item.text
- }
- })
- ));
- counter++;
- }
- });
- ul_counter++;
- return wp.element.createElement(
- 'ul',
- { key: counter + '-' + ul_counter, className: 'uagb-toc__list' },
- items
- );
- };
-
- if (mappingHeaders != 'undefined' && headers && headers.length > 0 && headers.filter(function (header) {
- return mappingHeaders[header.tag - 1];
- }).length > 0) {
- return wp.element.createElement(
- 'div',
- { className: 'uagb-toc__list-wrap' },
- parseList(filterArray(headers))
- );
- } else {
- return wp.element.createElement(
- 'p',
- { className: 'uagb_table-of-contents-placeholder' },
- __('Add a header to begin generating the table of contents')
- );
- }
- }
- }]);
-
- return TableOfContents;
-}(React.Component);
-
-/* harmony default export */ __webpack_exports__["a"] = (TableOfContents);
-
-/***/ }),
-/* 182 */
-/*!*************************************************!*\
- !*** ./node_modules/striptags/src/striptags.js ***!
- \*************************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-var __WEBPACK_AMD_DEFINE_RESULT__;
-
-(function (global) {
-
- // minimal symbol polyfill for IE11 and others
- if (typeof Symbol !== 'function') {
- var Symbol = function(name) {
- return name;
- }
-
- Symbol.nonNative = true;
- }
-
- const STATE_PLAINTEXT = Symbol('plaintext');
- const STATE_HTML = Symbol('html');
- const STATE_COMMENT = Symbol('comment');
-
- const ALLOWED_TAGS_REGEX = /<(\w*)>/g;
- const NORMALIZE_TAG_REGEX = /<\/?([^\s\/>]+)/;
-
- function striptags(html, allowable_tags, tag_replacement) {
- html = html || '';
- allowable_tags = allowable_tags || [];
- tag_replacement = tag_replacement || '';
-
- let context = init_context(allowable_tags, tag_replacement);
-
- return striptags_internal(html, context);
- }
-
- function init_striptags_stream(allowable_tags, tag_replacement) {
- allowable_tags = allowable_tags || [];
- tag_replacement = tag_replacement || '';
-
- let context = init_context(allowable_tags, tag_replacement);
-
- return function striptags_stream(html) {
- return striptags_internal(html || '', context);
- };
- }
-
- striptags.init_streaming_mode = init_striptags_stream;
-
- function init_context(allowable_tags, tag_replacement) {
- allowable_tags = parse_allowable_tags(allowable_tags);
-
- return {
- allowable_tags : allowable_tags,
- tag_replacement: tag_replacement,
-
- state : STATE_PLAINTEXT,
- tag_buffer : '',
- depth : 0,
- in_quote_char : ''
- };
- }
-
- function striptags_internal(html, context) {
- let allowable_tags = context.allowable_tags;
- let tag_replacement = context.tag_replacement;
-
- let state = context.state;
- let tag_buffer = context.tag_buffer;
- let depth = context.depth;
- let in_quote_char = context.in_quote_char;
- let output = '';
-
- for (let idx = 0, length = html.length; idx < length; idx++) {
- let char = html[idx];
-
- if (state === STATE_PLAINTEXT) {
- switch (char) {
- case '<':
- state = STATE_HTML;
- tag_buffer += char;
- break;
-
- default:
- output += char;
- break;
- }
- }
-
- else if (state === STATE_HTML) {
- switch (char) {
- case '<':
- // ignore '<' if inside a quote
- if (in_quote_char) {
- break;
- }
-
- // we're seeing a nested '<'
- depth++;
- break;
-
- case '>':
- // ignore '>' if inside a quote
- if (in_quote_char) {
- break;
- }
-
- // something like this is happening: '<<>>'
- if (depth) {
- depth--;
-
- break;
- }
-
- // this is closing the tag in tag_buffer
- in_quote_char = '';
- state = STATE_PLAINTEXT;
- tag_buffer += '>';
-
- if (allowable_tags.has(normalize_tag(tag_buffer))) {
- output += tag_buffer;
- } else {
- output += tag_replacement;
- }
-
- tag_buffer = '';
- break;
-
- case '"':
- case '\'':
- // catch both single and double quotes
-
- if (char === in_quote_char) {
- in_quote_char = '';
- } else {
- in_quote_char = in_quote_char || char;
- }
-
- tag_buffer += char;
- break;
-
- case '-':
- if (tag_buffer === '':
- if (tag_buffer.slice(-2) == '--') {
- // close the comment
- state = STATE_PLAINTEXT;
- }
-
- tag_buffer = '';
- break;
-
- default:
- tag_buffer += char;
- break;
- }
- }
- }
-
- // save the context for future iterations
- context.state = state;
- context.tag_buffer = tag_buffer;
- context.depth = depth;
- context.in_quote_char = in_quote_char;
-
- return output;
- }
-
- function parse_allowable_tags(allowable_tags) {
- let tag_set = new Set();
-
- if (typeof allowable_tags === 'string') {
- let match;
-
- while ((match = ALLOWED_TAGS_REGEX.exec(allowable_tags))) {
- tag_set.add(match[1]);
- }
- }
-
- else if (!Symbol.nonNative &&
- typeof allowable_tags[Symbol.iterator] === 'function') {
-
- tag_set = new Set(allowable_tags);
- }
-
- else if (typeof allowable_tags.forEach === 'function') {
- // IE11 compatible
- allowable_tags.forEach(tag_set.add, tag_set);
- }
-
- return tag_set;
- }
-
- function normalize_tag(tag_buffer) {
- let match = NORMALIZE_TAG_REGEX.exec(tag_buffer);
-
- return match ? match[1].toLowerCase() : null;
- }
-
- if (true) {
- // AMD
- !(__WEBPACK_AMD_DEFINE_RESULT__ = function module_factory() { return striptags; }.call(exports, __webpack_require__, exports, module),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- }
-
- else if (typeof module === 'object' && module.exports) {
- // Node
- module.exports = striptags;
- }
-
- else {
- // Browser
- global.striptags = striptags;
- }
-}(this));
-
-
-/***/ }),
-/* 183 */
+/* 227 */
/*!*****************************************!*\
- !*** ./src/blocks/how-to/attributes.js ***!
+ !*** ./src/blocks/column/attributes.js ***!
\*****************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-/**
- * BLOCK: UAGB How-To Schema Attributes
- */
-
-var __ = wp.i18n.__;
-
-
-var tools = [];
-
-var materials = [];
-
-tools.push({
- "add_required_tools": __("- A Computer.")
-});
-
-materials.push({
- "add_required_materials": __("- A WordPress Website.")
-});
-
var attributes = {
block_id: {
type: "string"
},
- overallAlignment: {
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ align: {
type: "string",
- default: "left"
+ default: "center"
},
- toolsTitle: {
- type: "html",
- default: __("Required Tools:")
+ alignTablet: {
+ type: "string",
+ default: ""
},
- materialTitle: {
- type: "html",
- default: __("Things Needed?")
+ alignMobile: {
+ type: "string",
+ default: ""
},
- stepsTitle: {
- type: "html",
- default: __("Steps to configure the How-to Schema:")
+ topPadding: {
+ type: "number",
+ default: ""
},
- tools_count: {
+ bottomPadding: {
type: "number",
- default: 1
+ default: ""
},
- material_count: {
+ leftPadding: {
type: "number",
- default: 1
+ default: ""
},
- tools: {
- type: "array",
- default: tools
+ rightPadding: {
+ type: "number",
+ default: ""
},
- materials: {
- type: "array",
- default: materials
+ topMargin: {
+ type: "number",
+ default: ""
},
- showTotaltime: {
- type: "boolean",
- default: true
+ bottomMargin: {
+ type: "number",
+ default: ""
},
- showEstcost: {
- type: "boolean",
- default: true
+ leftMargin: {
+ type: "number",
+ default: ""
},
- showTools: {
- type: "boolean",
- default: true
+ rightMargin: {
+ type: "number",
+ default: ""
},
- showMaterials: {
- type: "boolean",
- default: true
+ topPaddingTablet: {
+ type: "number",
+ default: ""
},
- mainimage: {
- type: "object",
- default: {
- "url": ""
- }
+ bottomPaddingTablet: {
+ type: "number",
+ default: ""
},
- estCost: {
- type: "html",
- default: __("Total Cost:")
+ leftPaddingTablet: {
+ type: "number",
+ default: ""
},
- timeNeeded: {
- type: "html",
- default: __("Total Time Needed :")
+ rightPaddingTablet: {
+ type: "number",
+ default: ""
},
- timeIn: {
- type: "html",
- default: __(" Minutes")
+ topMarginTablet: {
+ type: "number",
+ default: ""
},
- imgSize: {
- type: "string",
- default: "thumbnail"
+ bottomMarginTablet: {
+ type: "number",
+ default: ""
},
- timeSpace: {
+ leftMarginTablet: {
type: "number",
- default: 5
+ default: ""
},
- costSpace: {
+ rightMarginTablet: {
type: "number",
- default: 5
+ default: ""
},
- time: {
- type: "string",
- default: "30"
+
+ topPaddingMobile: {
+ type: "number",
+ default: ""
},
- cost: {
- type: "string",
- default: "65"
+ bottomPaddingMobile: {
+ type: "number",
+ default: ""
},
- headingTitle: {
- source: "html",
- selector: "h1,h2,h3,h4,h5,h6",
- default: __("How To Configure How-To Schema In Ultimate Addons For Gutenberg?")
+ leftPaddingMobile: {
+ type: "number",
+ default: ""
},
- currencyType: {
- type: "html",
- default: " USD"
+ rightPaddingMobile: {
+ type: "number",
+ default: ""
},
- headingDesc: {
- source: "html",
- selector: "p",
- default: __("So to get started, you will just need to drag-n-drop the How-to Schema block in the Gutenberg editor. The How-to Schema block can be used on pages that contain a How-to in their title and describe steps to achieve certain requirements.")
+ topMarginMobile: {
+ type: "number",
+ default: ""
},
- headingAlign: {
+ bottomMarginMobile: {
+ type: "number",
+ default: ""
+ },
+ leftMarginMobile: {
+ type: "number",
+ default: ""
+ },
+ rightMarginMobile: {
+ type: "number",
+ default: ""
+ },
+ colWidth: {
+ type: "number",
+ default: ""
+ },
+ colWidthTablet: {
+ type: "number",
+ default: ""
+ },
+ colWidthMobile: {
+ type: "number",
+ default: ""
+ },
+ backgroundType: {
+ type: "string"
+ },
+ backgroundImage: {
+ type: "object"
+ },
+ backgroundPosition: {
type: "string",
- default: "left"
+ default: "center-center"
},
- descriptionAlign: {
+ backgroundSize: {
type: "string",
- default: "left"
+ default: "cover"
},
- headingColor: {
+ backgroundRepeat: {
+ type: "string",
+ default: "no-repeat"
+ },
+ backgroundAttachment: {
+ type: "string",
+ default: "scroll"
+ },
+ backgroundColor: {
type: "string"
},
- showEstcostcolor: {
+ gradientColor1: {
type: "string"
},
- showTotaltimecolor: {
+ gradientColor2: {
+ type: "string"
+ },
+ gradientType: {
type: "string",
- default: ""
+ default: "linear"
},
- subHeadingColor: {
+ gradientLocation1: {
+ type: "number",
+ default: 0
+ },
+ gradientLocation2: {
+ type: "number",
+ default: 100
+ },
+ gradientAngle: {
+ type: "number",
+ default: 0
+ },
+ backgroundOpacity: {
+ type: "number"
+ },
+ backgroundImageColor: {
+ type: "string"
+ },
+ borderStyle: {
type: "string",
- default: ""
+ default: "none"
},
- headingTag: {
+ borderWidth: {
+ type: "number",
+ default: 1
+ },
+ borderRadius: {
+ type: "number"
+ },
+ borderColor: {
+ type: "string"
+ },
+ overlayType: {
type: "string",
- default: "h3"
+ default: "color"
},
- headSpace: {
+ gradientOverlayColor1: {
+ type: "string"
+ },
+ gradientOverlayColor2: {
+ type: "string"
+ },
+ gradientOverlayType: {
+ type: "string",
+ default: "linear"
+ },
+ gradientOverlayLocation1: {
type: "number",
- default: 15
+ default: 0
},
- headFontFamily: {
+ gradientOverlayLocation2: {
+ type: "number",
+ default: 100
+ },
+ gradientOverlayAngle: {
+ type: "number",
+ default: 0
+ },
+ mobileMarginType: {
type: "string",
- default: "Default"
+ default: 'px'
},
- headFontWeight: {
+ tabletMarginType: {
+ type: "string",
+ default: 'px'
+ },
+ desktopMarginType: {
+ type: "string",
+ default: 'px'
+ },
+ mobilePaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ tabletPaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ desktopPaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ gradientValue: {
+ type: "string",
+ default: ""
+ }
+};
+
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+
+/***/ }),
+/* 228 */
+/*!******************************************!*\
+ !*** ./src/blocks/columns/attributes.js ***!
+ \******************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * BLOCK: Columns - Attributes
+ */
+
+var attributes = {
+ block_id: {
type: "string"
},
- headFontSubset: {
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ columns: {
+ type: "number",
+ default: 2
+ },
+ align: {
type: "string"
},
- headFontSizeType: {
+ vAlign: {
+ type: "string"
+ },
+ stack: {
type: "string",
- default: "px"
+ default: "mobile"
},
- headLineHeightType: {
+ columnGap: {
type: "string",
- default: "em"
+ default: "10"
},
- headFontSize: {
+ topPadding: {
+ type: "number",
+ default: 20
+ },
+ bottomPadding: {
+ type: "number",
+ default: 20
+ },
+ leftPadding: {
+ type: "number",
+ default: 20
+ },
+ rightPadding: {
+ type: "number",
+ default: 20
+ },
+ topPaddingTablet: {
type: "number"
},
- headFontSizeTablet: {
+ bottomPaddingTablet: {
type: "number"
},
- headFontSizeMobile: {
+ leftPaddingTablet: {
type: "number"
},
- headLineHeight: {
+ rightPaddingTablet: {
type: "number"
},
- headLineHeightTablet: {
+ topPaddingMobile: {
type: "number"
},
- headLineHeightMobile: {
+ bottomPaddingMobile: {
type: "number"
},
- subHeadFontFamily: {
+ leftPaddingMobile: {
+ type: "number"
+ },
+ rightPaddingMobile: {
+ type: "number"
+ },
+ topMargin: {
+ type: "number",
+ default: 0
+ },
+ bottomMargin: {
+ type: "number",
+ default: 0
+ },
+ topMarginMobile: {
+ type: "number"
+ },
+ bottomMarginMobile: {
+ type: "number"
+ },
+ topMarginTablet: {
+ type: "number"
+ },
+ bottomMarginTablet: {
+ type: "number"
+ },
+ contentWidth: {
type: "string",
- default: "Default"
+ default: "theme"
},
- subHeadFontWeight: {
+ width: {
+ type: "number",
+ default: 900
+ },
+ widthType: {
+ type: "string",
+ default: "px"
+ },
+ tag: {
+ type: "string",
+ default: "section"
+ },
+ backgroundType: {
type: "string"
},
- subHeadFontSubset: {
+ backgroundImage: {
+ type: "object"
+ },
+ backgroundPosition: {
+ type: "string",
+ default: "center-center"
+ },
+ backgroundSize: {
+ type: "string",
+ default: "cover"
+ },
+ backgroundRepeat: {
+ type: "string",
+ default: "no-repeat"
+ },
+ backgroundAttachment: {
+ type: "string",
+ default: "scroll"
+ },
+ backgroundVideo: {
+ type: "object"
+ },
+ backgroundColor: {
type: "string"
},
- subHeadFontSize: {
- type: "number"
+ gradientColor1: {
+ type: "string"
},
- subHeadFontSizeType: {
+ gradientColor2: {
+ type: "string"
+ },
+ gradientType: {
type: "string",
- default: "px"
+ default: "linear"
},
- subHeadFontSizeTablet: {
- type: "number"
+ gradientLocation1: {
+ type: "number",
+ default: 0
},
- subHeadFontSizeMobile: {
- type: "number"
+ gradientLocation2: {
+ type: "number",
+ default: 100
},
- subHeadLineHeight: {
- type: "number"
+ gradientAngle: {
+ type: "number",
+ default: 0
},
- subHeadLineHeightType: {
+ gradientPosition: {
type: "string",
- default: "em"
+ default: "center center"
},
- subHeadLineHeightTablet: {
+ backgroundOpacity: {
type: "number"
},
- subHeadLineHeightMobile: {
- type: "number"
+ backgroundVideoOpacity: {
+ type: "number",
+ default: 50
},
- separatorSpace: {
+ backgroundVideoColor: {
+ type: "string"
+ },
+ backgroundImageColor: {
+ type: "string"
+ },
+ borderStyle: {
+ type: "string",
+ default: "none"
+ },
+ borderWidth: {
type: "number",
- default: 15
+ default: 1
},
- headLoadGoogleFonts: {
- type: "boolean",
- default: false
+ borderRadius: {
+ type: "number"
},
- subHeadLoadGoogleFonts: {
- type: "boolean",
- default: false
+ borderColor: {
+ type: "string"
},
- priceFontSizeType: {
+ bottomType: {
type: "string",
- default: "px"
+ default: "none"
},
- priceFontSize: {
+ bottomColor: {
+ type: "string"
+ },
+ bottomHeight: {
type: "number"
},
- priceFontSizeTablet: {
+ bottomHeightTablet: {
type: "number"
},
- priceFontSizeMobile: {
+ bottomHeightMobile: {
type: "number"
},
- priceFontFamily: {
- type: "string",
- default: "Default"
+ bottomWidth: {
+ type: "number"
},
- priceFontWeight: {
- type: "string"
+ topType: {
+ type: "string",
+ default: "none"
},
- priceFontSubset: {
+ topColor: {
type: "string"
},
- priceLineHeightType: {
- type: "string",
- default: "em"
+ topHeight: {
+ type: "number"
},
- priceLineHeight: {
+ topHeightTablet: {
type: "number"
},
- priceLineHeightTablet: {
+ topHeightMobile: {
type: "number"
},
- priceLineHeightMobile: {
+ topWidth: {
type: "number"
},
- priceLoadGoogleFonts: {
+ topFlip: {
type: "boolean",
default: false
},
- row_gap: {
+ bottomFlip: {
+ type: "boolean",
+ default: false
+ },
+ reverseTablet: {
+ type: "boolean",
+ default: false
+ },
+ reverseMobile: {
+ type: "boolean",
+ default: false
+ },
+ topDividerOpacity: {
type: "number",
- default: 20
+ default: 100
},
- step_gap: {
- type: "number"
+ bottomDividerOpacity: {
+ type: "number",
+ default: 100
},
- schema: {
- type: "html",
- default: ""
+ topContentAboveShape: {
+ type: "boolean",
+ default: false
},
- timeInMins: {
- type: "number"
-
+ bottomContentAboveShape: {
+ type: "boolean",
+ default: false
},
- timeInHours: {
- type: "number"
+ mobileMarginType: {
+ type: "string",
+ default: 'px'
},
- timeInDays: {
- type: "number"
+ tabletMarginType: {
+ type: "string",
+ default: 'px'
},
- timeInMonths: {
+ desktopMarginType: {
+ type: "string",
+ default: 'px'
+ },
+ mobilePaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ tabletPaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ desktopPaddingType: {
+ type: "string",
+ default: 'px'
+ },
+ boxShadowColor: {
+ type: "string"
+ },
+ boxShadowHOffset: {
+ type: "number",
+ default: 0
+ },
+ boxShadowVOffset: {
+ type: "number",
+ default: 0
+ },
+ boxShadowBlur: {
type: "number"
},
- timeInYears: {
+ boxShadowSpread: {
type: "number"
+ },
+ boxShadowPosition: {
+ type: "string",
+ default: "outset"
+ },
+ gradientValue: {
+ type: "string",
+ default: ""
}
};
@@ -22069,3924 +22296,7408 @@ var attributes = {
/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 184 */
-/*!**************************************!*\
- !*** ./src/blocks/how-to/style.scss ***!
- \**************************************/
-/*! no static exports found */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 185 */
-/*!********************************************!*\
- !*** ./src/blocks/faq-child/attributes.js ***!
- \********************************************/
+/* 229 */
+/*!*************************************!*\
+ !*** ./src/blocks/columns/icons.js ***!
+ \*************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-var __ = wp.i18n.__;
+/**
+ * WordPress dependencies
+ */
+var _wp$components = wp.components,
+ Path = _wp$components.Path,
+ SVG = _wp$components.SVG,
+ G = _wp$components.G;
+/**
+ * Custom icons
+ */
-var attributes = {
- block_id: {
- type: "string"
- },
- question: {
- type: "html",
- default: __("What is FAQ?")
- },
- answer: {
- type: "html",
- default: __("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.")
- },
- icon: {
- type: "html",
- default: "fas fa-plus"
+var rowIcons = {};
+
+rowIcons.colOne = wp.element.createElement(
+ SVG,
+ { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
+ wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z" })
+);
+
+rowIcons.layout5050 = wp.element.createElement(
+ SVG,
+ { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
+ wp.element.createElement(
+ G,
+ { fillRule: "evenodd" },
+ wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
+ wp.element.createElement(Path, { d: "m24 2h2v22h-2z" })
+ )
+);
+
+rowIcons.layout502525 = wp.element.createElement(
+ SVG,
+ { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
+ wp.element.createElement(
+ G,
+ { fillRule: "evenodd" },
+ wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
+ wp.element.createElement(Path, { d: "m36 2h2v22h-2z" }),
+ wp.element.createElement(Path, { d: "m24 2h2v22h-2z" })
+ )
+);
+
+rowIcons.layout25252525 = wp.element.createElement(
+ SVG,
+ { className: "dashicon", height: "26", viewBox: "0 0 50 26", width: "50", xmlns: "http://www.w3.org/2000/svg" },
+ wp.element.createElement(
+ G,
+ { fillRule: "evenodd" },
+ wp.element.createElement(Path, { d: "m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z", fillRule: "nonzero" }),
+ wp.element.createElement(Path, { d: "m12 2h2v22h-2z" }),
+ wp.element.createElement(Path, { d: "m24 2h2v22h-2z" }),
+ wp.element.createElement(Path, { d: "m36 2h2v22h-2z" })
+ )
+);
+
+rowIcons.layout3366 = wp.element.createElement(
+ SVG,
+ { width: "48", height: "48", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" },
+ wp.element.createElement(Path, {
+ fillRule: "evenodd",
+ clipRule: "evenodd",
+ d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"
+ })
+);
+
+rowIcons.layout6633 = wp.element.createElement(
+ SVG,
+ {
+ width: "48",
+ height: "48",
+ viewBox: "0 0 48 48",
+ xmlns: "http://www.w3.org/2000/svg"
},
- iconActive: {
- type: "html",
- default: "fas fa-minus"
+ wp.element.createElement(Path, {
+ fillRule: "evenodd",
+ clipRule: "evenodd",
+ d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"
+ })
+);
+
+rowIcons.layout333333 = wp.element.createElement(
+ SVG,
+ {
+ width: "48",
+ height: "48",
+ viewBox: "0 0 48 48",
+ xmlns: "http://www.w3.org/2000/svg"
},
- layout: {
- type: "string",
- default: "accordion"
+ wp.element.createElement(Path, {
+ fillRule: "evenodd",
+ d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"
+ })
+);
+
+rowIcons.layout255025 = wp.element.createElement(
+ SVG,
+ {
+ width: "48",
+ height: "48",
+ viewBox: "0 0 48 48",
+ xmlns: "http://www.w3.org/2000/svg"
},
- headingTag: {
- type: "html",
- selector: "span,p,h1,h2,h3,h4,h5,h6",
- default: "span"
- }
-};
+ wp.element.createElement(Path, {
+ fillRule: "evenodd",
+ d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"
+ })
+);
-/* harmony default export */ __webpack_exports__["a"] = (attributes);
+/* harmony default export */ __webpack_exports__["a"] = (rowIcons);
/***/ }),
-/* 186 */
-/*!*****************************************!*\
- !*** ./src/blocks/review/components.js ***!
- \*****************************************/
-/*! exports provided: Stars, ReviewBody */
-/*! exports used: ReviewBody, Stars */
+/* 230 */
+/*!*********************************************!*\
+ !*** ./src/blocks/blockquote/attributes.js ***!
+ \*********************************************/
+/*! exports provided: default */
+/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return Stars; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ReviewBody; });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ 6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/**
+ * BLOCK: UAGB Quote Block Attributes
+ */
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ skinStyle: {
+ type: "string",
+ default: "border"
+ },
+ align: {
+ type: "string",
+ default: "left"
+ },
+ descriptionText: {
+ selector: "div.uagb-blockquote__content",
+ default: "Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."
+ },
+ descColor: {
+ type: "string"
+ },
+ descFontSize: {
+ type: "number"
+ },
+ descFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ descFontSizeTablet: {
+ type: "number"
+ },
+ descFontSizeMobile: {
+ type: "number"
+ },
+ descFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ descFontWeight: {
+ type: "string"
+ },
+ descFontSubset: {
+ type: "string"
+ },
+ descLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ descLineHeight: {
+ type: "number"
+ },
+ descLineHeightTablet: {
+ type: "number"
+ },
+ descLineHeightMobile: {
+ type: "number"
+ },
+ descLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ descSpace: {
+ type: "number",
+ default: 20
+ },
+ author: {
+ selector: ".uagb-blockquote__author",
+ default: "Author"
+ },
+ authorColor: {
+ type: "string",
+ default: "#888888"
+ },
+ authorFontSize: {
+ type: "number"
+ },
+ authorFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ authorFontSizeTablet: {
+ type: "number"
+ },
+ authorFontSizeMobile: {
+ type: "number"
+ },
+ authorFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ authorFontWeight: {
+ type: "string"
+ },
+ authorFontSubset: {
+ type: "string"
+ },
+ authorLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ authorLineHeight: {
+ type: "number"
+ },
+ authorLineHeightTablet: {
+ type: "number"
+ },
+ authorLineHeightMobile: {
+ type: "number"
+ },
+ authorLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ authorSpace: {
+ type: "number",
+ default: 10
+ },
+ authorImage: {
+ type: "object",
+ default: {
+ "url": "",
+ "alt": "Author Image"
+ }
+ },
+ authorImageSize: {
+ type: "string",
+ default: "thumbnail"
+ },
+ authorImageWidth: {
+ type: "number",
+ default: 40
+ },
+ authorImgBorderRadius: {
+ type: "number",
+ default: 100
+ },
+ authorImgPosition: {
+ type: "string",
+ default: "left"
+ },
+ stack: {
+ type: "string",
+ default: "none"
+ },
+ enableTweet: {
+ type: "boolean",
+ default: true
+ },
+ iconView: {
+ type: "string",
+ default: "icon_text"
+ },
+ iconSkin: {
+ type: "string",
+ default: "classic"
+ },
+ iconLabel: {
+ type: "string",
+ default: "Tweet"
+ },
+ iconShareVia: {
+ type: "string",
+ default: ""
+ },
+ iconTargetUrl: {
+ type: "string",
+ default: "current"
+ },
+ customUrl: {
+ type: "string"
+ },
+ tweetLinkColor: {
+ type: "string",
+ default: "#1DA1F2"
+ },
+ tweetBtnColor: {
+ type: "string",
+ default: "#fff"
+ },
+ tweetBtnBgColor: {
+ type: "string",
+ default: "#1DA1F2"
+ },
+ tweetBtnHoverColor: {
+ type: "string"
+ },
+ tweetBtnBgHoverColor: {
+ type: "string",
+ default: "#1DA1F2"
+ },
+ tweetBtnFontSize: {
+ type: "number",
+ default: 15
+ },
+ tweetBtnFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ tweetBtnFontSizeTablet: {
+ type: "number"
+ },
+ tweetBtnFontSizeMobile: {
+ type: "number"
+ },
+ tweetBtnFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ tweetBtnFontWeight: {
+ type: "string"
+ },
+ tweetBtnFontSubset: {
+ type: "string"
+ },
+ tweetBtnLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ tweetBtnLineHeight: {
+ type: "number"
+ },
+ tweetBtnLineHeightTablet: {
+ type: "number"
+ },
+ tweetBtnLineHeightMobile: {
+ type: "number"
+ },
+ tweetBtnLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ tweetBtnHrPadding: {
+ type: "number",
+ default: 10
+ },
+ tweetBtnVrPadding: {
+ type: "number",
+ default: 10
+ },
+ tweetIconSpacing: {
+ type: "number",
+ default: 10
+ },
+ borderColor: {
+ type: "string",
+ default: "#abb8c3"
+ },
+ borderStyle: {
+ type: "string",
+ default: "solid"
+ },
+ borderWidth: {
+ type: "number",
+ default: 4
+ },
+ borderGap: {
+ type: "number",
+ default: 15
+ },
+ verticalPadding: {
+ type: "number"
+ },
+ quoteStyle: {
+ type: "string",
+ default: "style_2"
+ },
+ quoteColor: {
+ type: "string",
+ default: "#abb8c3"
+ },
+ quoteSize: {
+ type: "number",
+ default: 25
+ },
+ quoteSizeType: {
+ type: "string",
+ default: "px"
+ },
+ quoteSizeTablet: {
+ type: "number"
+ },
+ quoteSizeMobile: {
+ type: "number"
+ },
+ quotePadding: {
+ type: "number",
+ default: 10
+ },
+ quotePaddingType: {
+ type: "string",
+ default: "px"
+ },
+ quotePaddingTablet: {
+ type: "number"
+ },
+ quotePaddingMobile: {
+ type: "number"
+ },
+ quoteBorderRadius: {
+ type: "number",
+ default: 100
+ },
+ quoteBgColor: {
+ type: "string",
+ default: "#333"
+ },
+ quoteTopMargin: {
+ type: "number"
+ },
+ quoteBottomMargin: {
+ type: "number"
+ },
+ quoteLeftMargin: {
+ type: "number"
+ },
+ quoteRightMargin: {
+ type: "number",
+ default: 20
+ },
+ quoteHoverColor: {
+ type: "string"
+ },
+ quoteBgHoverColor: {
+ type: "string"
+ },
+ borderHoverColor: {
+ type: "string"
+ }
+};
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
-var _ref = wp.blockEditor || wp.editor,
- RichText = _ref.RichText;
+/***/ }),
+/* 231 */
+/*!***************************************************!*\
+ !*** ./src/blocks/marketing-button/attributes.js ***!
+ \***************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+"use strict";
var __ = wp.i18n.__;
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ align: {
+ type: "string",
+ default: "center"
+ },
+ textAlign: {
+ type: "string",
+ default: "center"
+ },
+ link: {
+ type: "string",
+ default: "#"
+ },
+ linkTarget: {
+ type: "boolean",
+ default: false
+ },
+ titleSpace: {
+ type: "number",
+ default: 0
+ },
-var Stars = function (_Component) {
- _inherits(Stars, _Component);
-
- function Stars(props) {
- _classCallCheck(this, Stars);
-
- var _this = _possibleConstructorReturn(this, (Stars.__proto__ || Object.getPrototypeOf(Stars)).call(this, props));
-
- _this.state = {
- displayValue: _this.props.value,
- displayColor: _this.props.activeStarColor
- };
- _this.mouseHover = _this.mouseHover.bind(_this);
- _this.mouseLeave = _this.mouseLeave.bind(_this);
- _this.mouseClick = _this.mouseClick.bind(_this);
- return _this;
- }
-
- _createClass(Stars, [{
- key: "mouseHover",
- value: function mouseHover(i) {
- this.setState({
- displayValue: i + (this.props.value - i === 1 ? 0.5 : 1),
- displayColor: this.props.selectedStarColor
- });
- }
- }, {
- key: "mouseLeave",
- value: function mouseLeave() {
- this.setState({
- displayValue: this.props.value,
- displayColor: this.props.activeStarColor
- });
- }
- }, {
- key: "mouseClick",
- value: function mouseClick(i) {
- var _props = this.props,
- setValue = _props.setValue,
- value = _props.value;
-
- setValue(value === i + 1 ? i + 0.5 : i + 1);
- this.setState({
- displayValue: value === i + 1 ? i + 0.5 : i + 1
- });
- }
- }, {
- key: "componentWillReceiveProps",
- value: function componentWillReceiveProps(newProps) {
- var value = newProps.value,
- activeStarColor = newProps.activeStarColor;
-
- if (this.props.onHover || this.state.displayValue !== value) {
- this.setState({
- displayValue: value,
- displayColor: activeStarColor
- });
- } else {
- this.setState({ displayColor: activeStarColor });
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var displayValue = this.state.displayValue;
- var _props2 = this.props,
- limit = _props2.limit,
- id = _props2.id,
- className = _props2.className,
- inactiveStarColor = _props2.inactiveStarColor,
- onHover = _props2.onHover,
- _onClick = _props2.onClick,
- style = _props2.style,
- starOutlineColor = _props2.starOutlineColor;
-
- return wp.element.createElement(
- "div",
- {
- className: className,
- style: Object.assign({
- display: "flex",
- flexDirection: "flex-row"
- }, style)
- },
- [].concat(_toConsumableArray(Array(limit).keys())).map(function (i) {
- return wp.element.createElement(
- "svg",
- {
- xmlns: "http://www.w3.org/2000/svg",
- key: i,
- height: "20",
- width: "20",
- viewBox: "0 0 150 150",
- onMouseOver: function onMouseOver() {
- return onHover || _this2.mouseHover(i);
- },
- onMouseOut: function onMouseOut() {
- return _this2.mouseLeave();
- },
- onClick: function onClick() {
- return _onClick || _this2.mouseClick(i);
- }
- },
- wp.element.createElement(
- "defs",
- null,
- wp.element.createElement(
- "mask",
- { id: "uagb_review_star_filter-" + id + "-" + i },
- wp.element.createElement("rect", {
- height: "150",
- width: (displayValue - i > 0 ? displayValue - i < 1 ? displayValue - i : 1 : 0) * 150,
- y: "0",
- x: "0",
- fill: "#fff"
- })
- )
- ),
- wp.element.createElement("path", {
- fill: inactiveStarColor,
- strokeWidth: "2.5",
- d: "m0.75,56.89914l56.02207,0l17.31126,-56.14914l17.31126,56.14914l56.02206,0l-45.32273,34.70168l17.31215,56.14914l-45.32274,-34.70262l-45.32274,34.70262l17.31215,-56.14914l-45.32274,-34.70168z",
- stroke: starOutlineColor
- }),
- wp.element.createElement("path", {
- className: "star",
- id: "star" + i,
- mask: "url(#uagb_review_star_filter-" + id + "-" + i + ")",
- fill: _this2.state.displayColor,
- strokeWidth: "2.5",
- d: "m0.75,56.89914l56.02207,0l17.31126,-56.14914l17.31126,56.14914l56.02206,0l-45.32273,34.70168l17.31215,56.14914l-45.32274,-34.70262l-45.32274,34.70262l17.31215,-56.14914l-45.32274,-34.70168z",
- stroke: starOutlineColor
- })
- );
- })
- );
- }
- }]);
+ // Border
+ borderStyle: {
+ type: "string",
+ default: "solid"
+ },
+ borderWidth: {
+ type: "number",
+ default: 1
+ },
+ borderRadius: {
+ type: "number"
+ },
+ borderColor: {
+ type: "string",
+ default: "#333"
+ },
+ borderHoverColor: {
+ type: "string"
+ },
- return Stars;
-}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
+ // Background
+ vPadding: {
+ type: "number",
+ default: 8
+ },
+ hPadding: {
+ type: "number",
+ default: 20
+ },
+ vPaddingTablet: {
+ type: "number"
+ },
+ hPaddingTablet: {
+ type: "number"
+ },
+ vPaddingMobile: {
+ type: "number"
+ },
+ hPaddingMobile: {
+ type: "number"
+ },
+ paddingType: {
+ type: "string",
+ default: "px"
+ },
+ backgroundType: {
+ type: "string",
+ default: "color"
+ },
+ backgroundColor: {
+ type: "string",
+ default: "#eeeeee"
+ },
+ backgroundHoverColor: {
+ type: "string"
+ },
+ gradientColor1: {
+ type: "string"
+ },
+ gradientColor2: {
+ type: "string"
+ },
+ gradientType: {
+ type: "string",
+ default: "linear"
+ },
+ gradientLocation1: {
+ type: "number",
+ default: 0
+ },
+ gradientLocation2: {
+ type: "number",
+ default: 100
+ },
+ gradientAngle: {
+ type: "number",
+ default: 0
+ },
+ backgroundOpacity: {
+ type: "number"
+ },
+ backgroundHoverOpacity: {
+ type: "number"
+ },
-var ReviewBody = function (_Component2) {
- _inherits(ReviewBody, _Component2);
+ //Colors
+ titleColor: {
+ type: "string",
+ default: "#333"
+ },
+ titleHoverColor: {
+ type: "string"
+ },
+ iconColor: {
+ type: "string",
+ default: "#333"
+ },
+ iconHoverColor: {
+ type: "string"
+ },
+ prefixColor: {
+ type: "string",
+ default: "#333"
+ },
+ prefixHoverColor: {
+ type: "string"
+ },
- function ReviewBody(props) {
- _classCallCheck(this, ReviewBody);
+ // Label and Sub Label
+ heading: {
+ source: "html",
+ selector: "h1,h2,h3,h4,h5,h6,p,span",
+ default: "Subscribe Now"
+ },
+ prefix: {
+ source: "html",
+ selector: "p",
+ default: "Get access to Premium Features for FREE for a year!"
+ },
- var _this3 = _possibleConstructorReturn(this, (ReviewBody.__proto__ || Object.getPrototypeOf(ReviewBody)).call(this, props));
+ // Icon attributes
+ icon: {
+ type: "string",
+ default: "external-link-alt"
+ },
+ iconPosition: {
+ type: "string",
+ default: "before"
+ },
+ iconSpace: {
+ type: "number",
+ default: 10
+ },
- _this3.state = {
- average: _this3.props.items.map(function (i) {
- return i.value;
- }).reduce(function (total, v) {
- return total + v;
- }) / _this3.props.items.length
- };
- return _this3;
+ // Typography
+ // Title Font Family
+ titleLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ titleFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ titleFontWeight: {
+ type: "string"
+ },
+ titleFontSubset: {
+ type: "string"
+ },
+ // Title Font Size
+ titleFontSize: {
+ type: "number",
+ default: 20
+ },
+ titleFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ titleFontSizeTablet: {
+ type: "number",
+ default: 20
+ },
+ titleFontSizeMobile: {
+ type: "number",
+ default: 20
+ },
+ // Title Line Height
+ titleLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ titleLineHeight: {
+ type: "number"
+ },
+ titleLineHeightTablet: {
+ type: "number"
+ },
+ titleLineHeightMobile: {
+ type: "number"
+ },
+ titleTag: {
+ type: "string",
+ default: "h6"
+ },
+ // Prefix Font Family
+ prefixLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ prefixFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ prefixFontWeight: {
+ type: "string"
+ },
+ prefixFontSubset: {
+ type: "string"
+ },
+ // Prefix Font Size
+ prefixFontSize: {
+ type: "number",
+ default: 14
+ },
+ prefixFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ prefixFontSizeTablet: {
+ type: "number",
+ default: 14
+ },
+ prefixFontSizeMobile: {
+ type: "number",
+ default: 14
+ },
+ // Prefix Line Height
+ prefixLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ prefixLineHeight: {
+ type: "number"
+ },
+ prefixLineHeightTablet: {
+ type: "number"
+ },
+ prefixLineHeightMobile: {
+ type: "number"
+ },
+ // Icon Font Size
+ iconFontSize: {
+ type: "number",
+ default: 20
+ },
+ iconFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ iconFontSizeTablet: {
+ type: "number",
+ default: 20
+ },
+ iconFontSizeMobile: {
+ type: "number",
+ default: 20
}
+};
- _createClass(ReviewBody, [{
- key: "render",
- value: function render() {
- var _this4 = this;
-
- var _props3 = this.props,
- ID = _props3.ID,
- items = _props3.items,
- summaryTitle = _props3.summaryTitle,
- summaryDescription = _props3.summaryDescription,
- starCount = _props3.starCount,
- setItems = _props3.setItems,
- setSummaryDescription = _props3.setSummaryDescription,
- setSummaryTitle = _props3.setSummaryTitle,
- setTitle = _props3.setTitle,
- setDescription = _props3.setDescription,
- setAuthorName = _props3.setAuthorName,
- inactiveStarColor = _props3.inactiveStarColor,
- activeStarColor = _props3.activeStarColor,
- selectedStarColor = _props3.selectedStarColor,
- starOutlineColor = _props3.starOutlineColor,
- ctaTarget = _props3.ctaTarget,
- ctaLink = _props3.ctaLink,
- setActiveStarIndex = _props3.setActiveStarIndex,
- rTitle = _props3.rTitle,
- rContent = _props3.rContent,
- rAuthor = _props3.rAuthor,
- headingTag = _props3.headingTag,
- image_icon_html = _props3.image_icon_html,
- showfeature = _props3.showfeature,
- imageEnabled = _props3.imageEnabled,
- descriptionEnabled = _props3.descriptionEnabled,
- showauthor = _props3.showauthor;
- var average = this.state.average;
-
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
- var newAverage = items.map(function (i) {
- return i.value;
- }).reduce(function (total, v) {
- return total + v;
- }) / items.length;
+/***/ }),
+/* 232 */
+/*!****************************************************!*\
+ !*** ./src/blocks/table-of-contents/attributes.js ***!
+ \****************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
- if (average !== newAverage) {
- this.setState({ average: newAverage });
- }
+"use strict";
+var __ = wp.i18n.__;
- var target = "_self";
- var rel = "noopener noreferrer";
- if (ctaTarget) {
- target = "_blank";
- }
-
- return wp.element.createElement(
- "div",
- { className: "uagb_review_block" },
- wp.element.createElement(
- "a",
- {
- href: ctaLink,
- className: "uagb-rating-link-wrapper",
- target: target,
- rel: rel
- },
- wp.element.createElement(RichText, {
- tagName: headingTag,
- placeholder: __('Title of the review', 'ultimate-addons-for-gutenberg'),
- keepPlaceholderOnFocus: true,
- value: rTitle,
- className: "uagb-rating-title",
- onChange: function onChange(text) {
- return setTitle(text);
- }
- })
- ),
- descriptionEnabled === true && wp.element.createElement(RichText, {
- tagName: "p",
- placeholder: __('Review Description', 'ultimate-addons-for-gutenberg'),
- keepPlaceholderOnFocus: true,
- value: rContent,
- className: "uagb-rating-desc",
- onChange: function onChange(text) {
- return setDescription(text);
- }
- }),
- showauthor === true && wp.element.createElement(RichText, {
- tagName: "p",
- placeholder: __('Review Author', 'ultimate-addons-for-gutenberg'),
- keepPlaceholderOnFocus: true,
- value: rAuthor,
- className: "uagb-rating-author",
- onChange: function onChange(text) {
- return setAuthorName(text);
- }
- }),
- imageEnabled === true && wp.element.createElement(
- "div",
- { className: "uagb-rating__source-wrap" },
- image_icon_html
- ),
- items.map(function (j, i) {
- return showfeature === true && wp.element.createElement(
- "div",
- { className: "uagb_review_entry" },
- wp.element.createElement(RichText, {
- style: { marginRight: "auto" },
- key: i,
- placeholder: __("Edit feature"),
- value: j.label,
- onChange: function onChange(text) {
- return setItems([].concat(_toConsumableArray(items.slice(0, i)), [{ label: text, value: j.value }], _toConsumableArray(items.slice(i + 1))));
- }
- }),
- wp.element.createElement(
- "div",
- {
- key: i,
- style: {
- marginLeft: "auto",
- minWidth: items.length > 1 ? 120 : 100
- }
- },
- items.length > 1 && wp.element.createElement("div", {
- className: "dashicons dashicons-trash",
- onClick: function onClick() {
- var newItems = items.slice(0, i).concat(items.slice(i + 1, items.length));
- setItems(newItems);
- _this4.setState({
- average: newItems.map(function (i) {
- return i.value;
- }).reduce(function (total, v) {
- return total + v;
- }) / newItems.length
- });
- }
- }),
- wp.element.createElement(Stars, {
- id: ID + "-" + i,
- key: i,
- value: j.value,
- limit: starCount,
- setValue: function setValue(newValue) {
- var newArray = [].concat(_toConsumableArray(items.slice(0, i)), [{ label: j.label, value: newValue }], _toConsumableArray(items.slice(i + 1)));
- setItems(newArray);
- setActiveStarIndex(i);
- _this4.setState({
- average: newArray.map(function (i) {
- return i.value;
- }).reduce(function (total, v) {
- return total + v;
- }) / newArray.length
- });
- },
- inactiveStarColor: inactiveStarColor,
- activeStarColor: activeStarColor,
- selectedStarColor: selectedStarColor,
- starOutlineColor: starOutlineColor
- })
- )
- );
- }),
- showfeature === true && wp.element.createElement("div", {
- title: __("Insert new review entry"),
- onClick: function onClick() {
- setItems([].concat(_toConsumableArray(items), [{ label: "", value: 0 }]));
- _this4.setState({
- average: average / (items.length + 1)
- });
- },
- className: "uagb_review_add_entry dashicons dashicons-plus-alt"
- }),
- wp.element.createElement(
- "div",
- { className: "uagb_review_summary" },
- wp.element.createElement(RichText, {
- className: "uagb_review_summary_title",
- placeholder: __("Title of the summary goes here"),
- tagName: "p",
- onChange: function onChange(text) {
- return setSummaryTitle(text);
- },
- value: summaryTitle
- }),
- wp.element.createElement(
- "div",
- { className: "uagb_review_overall_value" },
- wp.element.createElement(RichText, {
- placeholder: __("Summary of the review goes here"),
- onChange: function onChange(text) {
- return setSummaryDescription(text);
- },
- value: summaryDescription
- }),
- wp.element.createElement(
- "div",
- { className: "uagb_review_average" },
- wp.element.createElement(
- "span",
- { className: "uagb_review_rating" },
- Math.round(average * 10) / 10
- ),
- wp.element.createElement(Stars, {
- id: ID + "-average",
- className: "uagb_review_average_stars",
- onHover: function onHover() {
- return null;
- },
- onClick: function onClick() {
- return null;
- },
- value: average,
- limit: starCount,
- inactiveStarColor: inactiveStarColor,
- activeStarColor: activeStarColor,
- selectedStarColor: selectedStarColor,
- starOutlineColor: starOutlineColor
- })
- )
- )
- )
- );
- }
- }]);
-
- return ReviewBody;
-}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
-
-/***/ }),
-/* 187 */
-/*!***********************!*\
- !*** ./src/blocks.js ***!
- \***********************/
-/*! exports provided: */
-/*! all exports used */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_advanced_heading_block_js__ = __webpack_require__(/*! ./blocks/advanced-heading/block.js */ 188);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__blocks_post_block_js__ = __webpack_require__(/*! ./blocks/post/block.js */ 288);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__blocks_section_block_js__ = __webpack_require__(/*! ./blocks/section/block.js */ 390);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__blocks_buttons_block_js__ = __webpack_require__(/*! ./blocks/buttons/block.js */ 397);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__blocks_buttons_child_block_js__ = __webpack_require__(/*! ./blocks/buttons-child/block.js */ 405);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__blocks_info_box_block_js__ = __webpack_require__(/*! ./blocks/info-box/block.js */ 420);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__blocks_testimonial_block_js__ = __webpack_require__(/*! ./blocks/testimonial/block.js */ 429);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__blocks_team_block_js__ = __webpack_require__(/*! ./blocks/team/block.js */ 437);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__blocks_social_share_block_js__ = __webpack_require__(/*! ./blocks/social-share/block.js */ 444);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__blocks_social_share_child_block_js__ = __webpack_require__(/*! ./blocks/social-share-child/block.js */ 452);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__blocks_google_map_block_js__ = __webpack_require__(/*! ./blocks/google-map/block.js */ 459);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__blocks_icon_list_block_js__ = __webpack_require__(/*! ./blocks/icon-list/block.js */ 461);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__blocks_icon_list_child_block_js__ = __webpack_require__(/*! ./blocks/icon-list-child/block.js */ 469);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__blocks_price_list_block_js__ = __webpack_require__(/*! ./blocks/price-list/block.js */ 476);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__blocks_price_list_child_block_js__ = __webpack_require__(/*! ./blocks/price-list-child/block.js */ 483);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__blocks_timeline_block_js__ = __webpack_require__(/*! ./blocks/timeline/block.js */ 488);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__blocks_call_to_action_block_js__ = __webpack_require__(/*! ./blocks/call-to-action/block.js */ 507);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__blocks_column_block_js__ = __webpack_require__(/*! ./blocks/column/block.js */ 515);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__blocks_columns_block_js__ = __webpack_require__(/*! ./blocks/columns/block.js */ 523);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__blocks_cf7_styler_block_js__ = __webpack_require__(/*! ./blocks/cf7-styler/block.js */ 542);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__blocks_gf_styler_block_js__ = __webpack_require__(/*! ./blocks/gf-styler/block.js */ 547);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__blocks_blockquote_block_js__ = __webpack_require__(/*! ./blocks/blockquote/block.js */ 552);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__blocks_marketing_button_block_js__ = __webpack_require__(/*! ./blocks/marketing-button/block.js */ 560);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__blocks_table_of_contents_block_js__ = __webpack_require__(/*! ./blocks/table-of-contents/block.js */ 567);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__blocks_how_to_block_js__ = __webpack_require__(/*! ./blocks/how-to/block.js */ 576);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__blocks_faq_block_js__ = __webpack_require__(/*! ./blocks/faq/block.js */ 583);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__blocks_faq_child_block_js__ = __webpack_require__(/*! ./blocks/faq-child/block.js */ 590);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__blocks_inline_notice_block_js__ = __webpack_require__(/*! ./blocks/inline-notice/block.js */ 596);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__blocks_wp_search_block_js__ = __webpack_require__(/*! ./blocks/wp-search/block.js */ 603);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__blocks_review_block_js__ = __webpack_require__(/*! ./blocks/review/block.js */ 610);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__blocks_taxonomy_list_block_js__ = __webpack_require__(/*! ./blocks/taxonomy-list/block.js */ 618);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../dist/blocks/uagb-controls/block-icons */ 1);
-/**
- * Gutenberg Blocks
- *
- * All blocks related JavaScript files should be imported here.
- * You can create a new block folder in this dir and include code
- * for that block here as well.
- *
- * All blocks should be included here since this is the file that
- * Webpack is compiling as the input file.
- */
+var attributes = {
+ block_id: {
+ type: "string",
+ default: "not_set"
+ },
+ classMigrate: {
+ type: "boolean",
+ default: false
+ },
+ disableBullets: {
+ type: "boolean",
+ default: false
+ },
+ makeCollapsible: {
+ type: "boolean",
+ default: false
+ },
+ initialCollapse: {
+ type: "boolean",
+ default: false
+ },
+ icon: {
+ type: "string",
+ default: "fa-angle-down"
+ },
+ iconSize: {
+ type: "number"
+ },
+ iconColor: {
+ type: "string"
+ },
+ bulletColor: {
+ type: "string"
+ },
+ smoothScroll: {
+ type: "boolean",
+ default: true
+ },
+ smoothScrollDelay: {
+ type: "number",
+ default: 800
+ },
+ smoothScrollOffset: {
+ type: "number",
+ default: 30
+ },
+ scrollToTop: {
+ type: "boolean",
+ default: false
+ },
+ scrollToTopColor: {
+ type: "string"
+ },
+ scrollToTopBgColor: {
+ type: "string"
+ },
+ mappingHeaders: {
+ type: 'array',
+ default: Array(6).fill(true)
+ },
+ align: {
+ type: "string",
+ default: "left"
+ },
+ headerLinks: {
+ type: 'html',
+ default: ''
+ },
+ heading: {
+ type: "string",
+ selector: ".uagb-toc__title",
+ default: __("Table Of Contents", 'ultimate-addons-for-gutenberg')
+ },
+ customWidth: {
+ type: "boolean",
+ default: false
+ },
+ widthTypeDesktop: {
+ type: "string",
+ default: "%"
+ },
+ widthTypeTablet: {
+ type: "string",
+ default: "%"
+ },
+ widthTypeMobile: {
+ type: "string",
+ default: "%"
+ },
+ widthDesktop: {
+ type: "number",
+ default: 100
+ },
+ widthTablet: {
+ type: "number"
+ },
+ widthMobile: {
+ type: "number"
+ },
+ tColumnsDesktop: {
+ type: "number",
+ default: 1
+ },
+ tColumnsTablet: {
+ type: "number",
+ default: 1
+ },
+ tColumnsMobile: {
+ type: "number",
+ default: 1
+ },
+ // Color
+ backgroundColor: {
+ type: "string",
+ default: "#eee"
+ },
+ linkColor: {
+ type: "string",
+ default: "#333"
+ },
+ linkHoverColor: {
+ type: "string"
+ },
+ headingColor: {
+ type: "string"
+ },
+ // Padding
+ vPaddingDesktop: {
+ type: "number",
+ default: 30
+ },
+ hPaddingDesktop: {
+ type: "number",
+ default: 30
+ },
+ vPaddingTablet: {
+ type: "number"
+ },
+ hPaddingTablet: {
+ type: "number"
+ },
+ vPaddingMobile: {
+ type: "number"
+ },
+ hPaddingMobile: {
+ type: "number"
+ },
+ // Margin
+ vMarginDesktop: {
+ type: "number"
+ },
+ hMarginDesktop: {
+ type: "number"
+ },
+ vMarginTablet: {
+ type: "number"
+ },
+ hMarginTablet: {
+ type: "number"
+ },
+ vMarginMobile: {
+ type: "number"
+ },
+ hMarginMobile: {
+ type: "number"
+ },
+ marginTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ marginTypeTablet: {
+ type: "string",
+ default: "px"
+ },
+ marginTypeMobile: {
+ type: "string",
+ default: "px"
+ },
+ headingBottom: {
+ type: "number"
+ },
+ paddingTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ paddingTypeTablet: {
+ type: "string",
+ default: "px"
+ },
+ paddingTypeMobile: {
+ type: "string",
+ default: "px"
+ },
+ // Content Padding
+ contentPaddingDesktop: {
+ type: "number"
+ },
+ contentPaddingTablet: {
+ type: "number"
+ },
+ contentPaddingMobile: {
+ type: "number"
+ },
+ contentPaddingTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ contentPaddingTypeTablet: {
+ type: "string",
+ default: "px"
+ },
+ contentPaddingTypeMobile: {
+ type: "string",
+ default: "px"
+ },
+ // Border
+ borderStyle: {
+ type: "string",
+ default: "solid"
+ },
+ borderWidth: {
+ type: "number",
+ default: 1
+ },
+ borderRadius: {
+ type: "number"
+ },
+ borderColor: {
+ type: "string",
+ default: "#333"
+ },
+ // Typography
+ // Link Font Family
+ loadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ fontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ fontWeight: {
+ type: "string"
+ },
+ fontSubset: {
+ type: "string"
+ },
+ // Link Font Size
+ fontSize: {
+ type: "number"
+ },
+ fontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ fontSizeTablet: {
+ type: "number"
+ },
+ fontSizeMobile: {
+ type: "number"
+ },
+ // Link Line Height
+ lineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ lineHeight: {
+ type: "number"
+ },
+ lineHeightTablet: {
+ type: "number"
+ },
+ lineHeightMobile: {
+ type: "number"
+ },
+ // Link Font Family
+ headingLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ headingFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ headingFontWeight: {
+ type: "string",
+ default: "500"
+ },
+ headingFontSubset: {
+ type: "string"
+ },
+ // Link Font Size
+ headingFontSize: {
+ type: "number",
+ default: 20
+ },
+ headingFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ headingFontSizeTablet: {
+ type: "number"
+ },
+ headingFontSizeMobile: {
+ type: "number"
+ },
+ // Link Line Height
+ headingLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ headingLineHeight: {
+ type: "number"
+ },
+ headingLineHeightTablet: {
+ type: "number"
+ },
+ headingLineHeightMobile: {
+ type: "number"
+ },
+ headingAlignment: {
+ type: "string",
+ default: "left"
+ },
+ emptyHeadingTeaxt: {
+ type: "string",
+ default: __('Add a header to begin generating the table of contents', 'ultimate-addons-for-gutenberg')
+ }
+};
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+/***/ }),
+/* 233 */
+/*!*********************************************!*\
+ !*** ./src/blocks/table-of-contents/toc.js ***!
+ \*********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+"use strict";
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+var __ = wp.i18n.__;
+var TableOfContents = function (_React$Component) {
+ _inherits(TableOfContents, _React$Component);
+ function TableOfContents() {
+ _classCallCheck(this, TableOfContents);
+ return _possibleConstructorReturn(this, (TableOfContents.__proto__ || Object.getPrototypeOf(TableOfContents)).apply(this, arguments));
+ }
+ _createClass(TableOfContents, [{
+ key: 'render',
+ value: function render() {
+ var _props = this.props,
+ mappingHeaders = _props.mappingHeaders,
+ headers = _props.headers;
+ var makeHeaderArray = function makeHeaderArray(origHeaders) {
+ var arrays = [];
+ origHeaders.filter(function (header) {
+ return mappingHeaders[header.tag - 1];
+ }).forEach(function (header) {
+ var last = arrays.length - 1;
+ if (arrays.length === 0 || arrays[last][0].tag < header.tag) {
+ arrays.push([header]);
+ } else if (arrays[last][0].tag === header.tag) {
+ arrays[last].push(header);
+ } else {
+ while (arrays[last][0].tag > header.tag) {
+ if (arrays.length > 1) {
+ arrays[arrays.length - 2].push(arrays.pop());
+ last = arrays.length - 1;
+ } else break;
+ }
+ if (arrays[last][0].tag === header.tag) {
+ arrays[last].push(header);
+ }
+ }
+ });
+ while (arrays.length > 1 && arrays[arrays.length - 1][0].tag > arrays[arrays.length - 2][0].tag) {
+ arrays[arrays.length - 2].push(arrays.pop());
+ }
+ return arrays[0];
+ };
+ var filterArray = function filterArray(origHeaders) {
+ var arrays = [];
+ headers.forEach(function (heading, key) {
+ if (mappingHeaders[heading.tag - 1]) {
+ arrays.push(heading);
+ }
+ });
+ return makeHeaderArray(arrays);
+ };
+ var counter = 0;
+ var ul_counter = 0;
+ var parseList = function parseList(list) {
+ var items = [];
+ if (list !== 'undefined' && list && list.length > 0) {
+ list.forEach(function (item) {
+ if (Array.isArray(item)) {
+ items.push(parseList(item));
+ } else {
+ items.push(wp.element.createElement(
+ 'li',
+ { key: counter },
+ wp.element.createElement('a', {
+ href: '#' + item.link,
+ dangerouslySetInnerHTML: {
+ __html: item.text
+ }
+ })
+ ));
+ counter++;
+ }
+ });
+ ul_counter++;
+ return wp.element.createElement(
+ 'ul',
+ { key: counter + '-' + ul_counter, className: 'uagb-toc__list' },
+ items
+ );
+ }
+ };
+ if (mappingHeaders != 'undefined' && headers && headers.length > 0 && headers.filter(function (header) {
+ return mappingHeaders[header.tag - 1];
+ }).length > 0) {
+ return wp.element.createElement(
+ 'div',
+ { className: 'uagb-toc__list-wrap' },
+ parseList(filterArray(headers))
+ );
+ } else {
+ return wp.element.createElement(
+ 'p',
+ { className: 'uagb_table-of-contents-placeholder' },
+ __('Add a header to begin generating the table of contents')
+ );
+ }
+ }
+ }]);
+ return TableOfContents;
+}(React.Component);
+/* harmony default export */ __webpack_exports__["a"] = (TableOfContents);
+/***/ }),
+/* 234 */
+/*!*************************************************!*\
+ !*** ./node_modules/striptags/src/striptags.js ***!
+ \*************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
-var updateCategory = wp.blocks.updateCategory;
+"use strict";
+var __WEBPACK_AMD_DEFINE_RESULT__;
+(function (global) {
-updateCategory("uagb", {
- icon: __WEBPACK_IMPORTED_MODULE_31__dist_blocks_uagb_controls_block_icons__["a" /* default */].logo
-});
+ // minimal symbol polyfill for IE11 and others
+ if (typeof Symbol !== 'function') {
+ var Symbol = function(name) {
+ return name;
+ }
-/***/ }),
-/* 188 */
-/*!**********************************************!*\
- !*** ./src/blocks/advanced-heading/block.js ***!
- \**********************************************/
-/*! exports provided: */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ Symbol.nonNative = true;
+ }
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 110);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 189);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 285);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 286);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__transform__ = __webpack_require__(/*! ./transform */ 287);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 140);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);
-/**
- * BLOCK: Advanced Heading
- */
+ const STATE_PLAINTEXT = Symbol('plaintext');
+ const STATE_HTML = Symbol('html');
+ const STATE_COMMENT = Symbol('comment');
+ const ALLOWED_TAGS_REGEX = /<(\w*)>/g;
+ const NORMALIZE_TAG_REGEX = /<\/?([^\s\/>]+)/;
+ function striptags(html, allowable_tags, tag_replacement) {
+ html = html || '';
+ allowable_tags = allowable_tags || [];
+ tag_replacement = tag_replacement || '';
+ let context = init_context(allowable_tags, tag_replacement);
+ return striptags_internal(html, context);
+ }
+ function init_striptags_stream(allowable_tags, tag_replacement) {
+ allowable_tags = allowable_tags || [];
+ tag_replacement = tag_replacement || '';
+ let context = init_context(allowable_tags, tag_replacement);
+ return function striptags_stream(html) {
+ return striptags_internal(html || '', context);
+ };
+ }
+ striptags.init_streaming_mode = init_striptags_stream;
-var __ = wp.i18n.__;
-var registerBlockType = wp.blocks.registerBlockType;
+ function init_context(allowable_tags, tag_replacement) {
+ allowable_tags = parse_allowable_tags(allowable_tags);
+ return {
+ allowable_tags : allowable_tags,
+ tag_replacement: tag_replacement,
-registerBlockType("uagb/advanced-heading", {
+ state : STATE_PLAINTEXT,
+ tag_buffer : '',
+ depth : 0,
+ in_quote_char : ''
+ };
+ }
- title: uagb_blocks_info.blocks["uagb/advanced-heading"]["title"],
- description: uagb_blocks_info.blocks["uagb/advanced-heading"]["description"],
- icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].advanced_heading,
- keywords: [__("advanced heading"), __("uag"), __("heading")],
- supports: {
- anchor: true
- },
- example: {
- attributes: {
- headingTitle: __('Write a Heading'),
- headingDesc: __('Write a Description')
- }
- },
- category: uagb_blocks_info.category,
- attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
- transform: __WEBPACK_IMPORTED_MODULE_5__transform__["a" /* default */],
- edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
- save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
- deprecated: __WEBPACK_IMPORTED_MODULE_4__deprecated__["a" /* default */]
-});
+ function striptags_internal(html, context) {
+ let allowable_tags = context.allowable_tags;
+ let tag_replacement = context.tag_replacement;
-/***/ }),
-/* 189 */
-/*!*********************************************!*\
- !*** ./src/blocks/advanced-heading/edit.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ let state = context.state;
+ let tag_buffer = context.tag_buffer;
+ let depth = context.depth;
+ let in_quote_char = context.in_quote_char;
+ let output = '';
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */ 190);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 140);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+ for (let idx = 0, length = html.length; idx < length; idx++) {
+ let char = html[idx];
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+ if (state === STATE_PLAINTEXT) {
+ switch (char) {
+ case '<':
+ state = STATE_HTML;
+ tag_buffer += char;
+ break;
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+ default:
+ output += char;
+ break;
+ }
+ }
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+ else if (state === STATE_HTML) {
+ switch (char) {
+ case '<':
+ // ignore '<' if inside a quote
+ if (in_quote_char) {
+ break;
+ }
-/**
- * BLOCK: Advanced Heading
- */
+ // we're seeing a nested '<'
+ depth++;
+ break;
-// Import block dependencies and components.
+ case '>':
+ // ignore '>' if inside a quote
+ if (in_quote_char) {
+ break;
+ }
+ // something like this is happening: '<<>>'
+ if (depth) {
+ depth--;
+ break;
+ }
-// Import all of our Text Options requirements.
+ // this is closing the tag in tag_buffer
+ in_quote_char = '';
+ state = STATE_PLAINTEXT;
+ tag_buffer += '>';
+ if (allowable_tags.has(normalize_tag(tag_buffer))) {
+ output += tag_buffer;
+ } else {
+ output += tag_replacement;
+ }
-// Import Web font loader for google fonts.
+ tag_buffer = '';
+ break;
+ case '"':
+ case '\'':
+ // catch both single and double quotes
-// Import CSS.
+ if (char === in_quote_char) {
+ in_quote_char = '';
+ } else {
+ in_quote_char = in_quote_char || char;
+ }
+ tag_buffer += char;
+ break;
-var __ = wp.i18n.__;
-var createBlock = wp.blocks.createBlock;
-var _wp$blockEditor = wp.blockEditor,
- AlignmentToolbar = _wp$blockEditor.AlignmentToolbar,
- BlockControls = _wp$blockEditor.BlockControls,
- InspectorControls = _wp$blockEditor.InspectorControls,
- RichText = _wp$blockEditor.RichText,
- ColorPalette = _wp$blockEditor.ColorPalette;
-var _wp$components = wp.components,
- PanelBody = _wp$components.PanelBody,
- SelectControl = _wp$components.SelectControl,
- RangeControl = _wp$components.RangeControl,
- ButtonGroup = _wp$components.ButtonGroup,
- Button = _wp$components.Button;
-var withSelect = wp.data.withSelect;
-var _wp$element = wp.element,
- Component = _wp$element.Component,
- Fragment = _wp$element.Fragment;
+ case '-':
+ if (tag_buffer === '':
+ if (tag_buffer.slice(-2) == '--') {
+ // close the comment
+ state = STATE_PLAINTEXT;
+ }
- // Assigning block_id in the attribute.
- this.props.setAttributes({ classMigrate: true });
+ tag_buffer = '';
+ break;
- var level_val = parseInt(this.props.attributes.headingTag.replace('h', ''));
- this.props.setAttributes({ level: level_val });
+ default:
+ tag_buffer += char;
+ break;
+ }
+ }
+ }
- // Pushing Style tag for this block css.
- var $style = document.createElement("style");
- $style.setAttribute("id", "uagb-adv-heading-style-" + this.props.clientId.substr(0, 8));
- document.head.appendChild($style);
- }
- }, {
- key: "componentDidUpdate",
- value: function componentDidUpdate(prevProps, prevState) {
- var element = document.getElementById("uagb-adv-heading-style-" + this.props.clientId.substr(0, 8));
+ // save the context for future iterations
+ context.state = state;
+ context.tag_buffer = tag_buffer;
+ context.depth = depth;
+ context.in_quote_char = in_quote_char;
- if (null !== element && undefined !== element) {
- element.innerHTML = __WEBPACK_IMPORTED_MODULE_1__styling__["a" /* default */](this.props);
- }
- }
+ return output;
+ }
- /*
- * Heading Tag Change
- */
+ function parse_allowable_tags(allowable_tags) {
+ let tag_set = new Set();
- }, {
- key: "onTagChange",
- value: function onTagChange(value) {
- var setAttributes = this.props.setAttributes;
+ if (typeof allowable_tags === 'string') {
+ let match;
+ while ((match = ALLOWED_TAGS_REGEX.exec(allowable_tags))) {
+ tag_set.add(match[1]);
+ }
+ }
- var level_val = parseInt(value.replace('h', ''));
+ else if (!Symbol.nonNative &&
+ typeof allowable_tags[Symbol.iterator] === 'function') {
- setAttributes({ level: level_val });
- setAttributes({ headingTag: value });
- }
- }, {
- key: "splitBlock",
- value: function splitBlock(before, after) {
- var _props = this.props,
- attributes = _props.attributes,
- insertBlocksAfter = _props.insertBlocksAfter,
- setAttributes = _props.setAttributes,
- onReplace = _props.onReplace;
+ tag_set = new Set(allowable_tags);
+ }
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- blocks[_key - 2] = arguments[_key];
- }
+ else if (typeof allowable_tags.forEach === 'function') {
+ // IE11 compatible
+ allowable_tags.forEach(tag_set.add, tag_set);
+ }
- if (after) {
- // Append "After" content as a new paragraph block to the end of
- // any other blocks being inserted after the current paragraph.
- blocks.push(createBlock("core/paragraph", { content: after }));
- }
+ return tag_set;
+ }
- if (blocks.length && insertBlocksAfter) {
- insertBlocksAfter(blocks);
- }
+ function normalize_tag(tag_buffer) {
+ let match = NORMALIZE_TAG_REGEX.exec(tag_buffer);
- var content = attributes.content;
+ return match ? match[1].toLowerCase() : null;
+ }
- if (!before) {
- // If before content is omitted, treat as intent to delete block.
- onReplace([]);
- } else if (content !== before) {
- // Only update content if it has in-fact changed. In case that user
- // has created a new paragraph at end of an existing one, the value
- // of before will be strictly equal to the current content.
- setAttributes({ content: before });
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
+ if (true) {
+ // AMD
+ !(__WEBPACK_AMD_DEFINE_RESULT__ = (function module_factory() { return striptags; }).call(exports, __webpack_require__, exports, module),
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+ }
- // Setup the attributes
- var _props2 = this.props,
- className = _props2.className,
- attributes = _props2.attributes,
- setAttributes = _props2.setAttributes,
- insertBlocksAfter = _props2.insertBlocksAfter,
- mergeBlocks = _props2.mergeBlocks,
- onReplace = _props2.onReplace,
- _props2$attributes = _props2.attributes,
- headingTitle = _props2$attributes.headingTitle,
- headingDesc = _props2$attributes.headingDesc,
- headingAlign = _props2$attributes.headingAlign,
- headingColor = _props2$attributes.headingColor,
- subHeadingColor = _props2$attributes.subHeadingColor,
- separatorColor = _props2$attributes.separatorColor,
- headingTag = _props2$attributes.headingTag,
- headFontFamily = _props2$attributes.headFontFamily,
- headFontWeight = _props2$attributes.headFontWeight,
- headFontSubset = _props2$attributes.headFontSubset,
- headFontSizeType = _props2$attributes.headFontSizeType,
- headFontSize = _props2$attributes.headFontSize,
- headFontSizeMobile = _props2$attributes.headFontSizeMobile,
- headFontSizeTablet = _props2$attributes.headFontSizeTablet,
- headLineHeightType = _props2$attributes.headLineHeightType,
- headLineHeight = _props2$attributes.headLineHeight,
- headLineHeightMobile = _props2$attributes.headLineHeightMobile,
- headLineHeightTablet = _props2$attributes.headLineHeightTablet,
- subHeadFontFamily = _props2$attributes.subHeadFontFamily,
- subHeadFontWeight = _props2$attributes.subHeadFontWeight,
- subHeadFontSubset = _props2$attributes.subHeadFontSubset,
- subHeadFontSize = _props2$attributes.subHeadFontSize,
- subHeadFontSizeType = _props2$attributes.subHeadFontSizeType,
- subHeadFontSizeMobile = _props2$attributes.subHeadFontSizeMobile,
- subHeadFontSizeTablet = _props2$attributes.subHeadFontSizeTablet,
- subHeadLineHeight = _props2$attributes.subHeadLineHeight,
- subHeadLineHeightType = _props2$attributes.subHeadLineHeightType,
- subHeadLineHeightMobile = _props2$attributes.subHeadLineHeightMobile,
- subHeadLineHeightTablet = _props2$attributes.subHeadLineHeightTablet,
- separatorWidth = _props2$attributes.separatorWidth,
- separatorWidthType = _props2$attributes.separatorWidthType,
- seperatorStyle = _props2$attributes.seperatorStyle,
- separatorHeight = _props2$attributes.separatorHeight,
- headSpace = _props2$attributes.headSpace,
- separatorSpace = _props2$attributes.separatorSpace,
- headLoadGoogleFonts = _props2$attributes.headLoadGoogleFonts,
- subHeadLoadGoogleFonts = _props2$attributes.subHeadLoadGoogleFonts;
+ else if (typeof module === 'object' && module.exports) {
+ // Node
+ module.exports = striptags;
+ }
+ else {
+ // Browser
+ global.striptags = striptags;
+ }
+}(this));
- var loadHeadingGoogleFonts = void 0;
- var loadSubHeadingGoogleFonts = void 0;
- if (headLoadGoogleFonts == true) {
+/***/ }),
+/* 235 */
+/*!*****************************************!*\
+ !*** ./src/blocks/how-to/attributes.js ***!
+ \*****************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
- var hconfig = {
- google: {
- families: [headFontFamily + (headFontWeight ? ':' + headFontWeight : '')]
- }
- };
+"use strict";
+/**
+ * BLOCK: UAGB How-To Schema Attributes
+ */
- loadHeadingGoogleFonts = wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__["a" /* default */], { config: hconfig });
- }
+var __ = wp.i18n.__;
- if (subHeadLoadGoogleFonts == true) {
- var sconfig = {
- google: {
- families: [subHeadFontFamily + (subHeadFontWeight ? ':' + subHeadFontWeight : '')]
- }
- };
+var tools = [];
- loadSubHeadingGoogleFonts = wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__["a" /* default */], { config: sconfig });
- }
+var materials = [];
- return wp.element.createElement(
- Fragment,
- null,
- wp.element.createElement(
- BlockControls,
- { key: "controls" },
- wp.element.createElement(AlignmentToolbar, {
- value: headingAlign,
- onChange: function onChange(value) {
- return setAttributes({ headingAlign: value });
- }
- })
- ),
- wp.element.createElement(
- InspectorControls,
- null,
- wp.element.createElement(
- PanelBody,
- { title: __("Advanced Heading") },
- wp.element.createElement(
- "h2",
- null,
- __("Heading")
- ),
- wp.element.createElement(SelectControl, {
- label: __("Heading Tag"),
- value: headingTag,
- onChange: function onChange(value) {
- _this2.onTagChange(value);
- },
- options: [{ value: "h1", label: __("H1") }, { value: "h2", label: __("H2") }, { value: "h3", label: __("H3") }, { value: "h4", label: __("H4") }, { value: "h5", label: __("H5") }, { value: "h6", label: __("H6") }]
- }),
- wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
- label: __("Typography"),
- attributes: attributes,
- setAttributes: setAttributes,
- loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
- fontFamily: { value: headFontFamily, label: 'headFontFamily' },
- fontWeight: { value: headFontWeight, label: 'headFontWeight' },
- fontSubset: { value: headFontSubset, label: 'headFontSubset' },
- fontSizeType: { value: headFontSizeType, label: 'headFontSizeType' },
- fontSize: { value: headFontSize, label: 'headFontSize' },
- fontSizeMobile: { value: headFontSizeMobile, label: 'headFontSizeMobile' },
- fontSizeTablet: { value: headFontSizeTablet, label: 'headFontSizeTablet' },
- lineHeightType: { value: headLineHeightType, label: 'headLineHeightType' },
- lineHeight: { value: headLineHeight, label: 'headLineHeight' },
- lineHeightMobile: { value: headLineHeightMobile, label: 'headLineHeightMobile' },
- lineHeightTablet: { value: headLineHeightTablet, label: 'headLineHeightTablet' }
- }),
- wp.element.createElement(
- "p",
- { className: "uagb-setting-label" },
- __("Heading Color"),
- wp.element.createElement(
- "span",
- { className: "components-base-control__label" },
- wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: headingColor } })
- )
- ),
- wp.element.createElement(ColorPalette, {
- value: headingColor,
- onChange: function onChange(value) {
- return setAttributes({ headingColor: value });
- },
- allowReset: true
- }),
- wp.element.createElement("hr", { className: "uagb-editor__separator" }),
- wp.element.createElement(
- "h2",
- null,
- __("Sub-Heading")
- ),
- wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
- label: __("Typography"),
- attributes: attributes,
- setAttributes: setAttributes,
- loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
- fontFamily: { value: subHeadFontFamily, label: 'subHeadFontFamily' },
- fontWeight: { value: subHeadFontWeight, label: 'subHeadFontWeight' },
- fontSubset: { value: subHeadFontSubset, label: 'subHeadFontSubset' },
- fontSizeType: { value: subHeadFontSizeType, label: 'subHeadFontSizeType' },
- fontSize: { value: subHeadFontSize, label: 'subHeadFontSize' },
- fontSizeMobile: { value: subHeadFontSizeMobile, label: 'subHeadFontSizeMobile' },
- fontSizeTablet: { value: subHeadFontSizeTablet, label: 'subHeadFontSizeTablet' },
- lineHeightType: { value: subHeadLineHeightType, label: 'subHeadLineHeightType' },
- lineHeight: { value: subHeadLineHeight, label: 'subHeadLineHeight' },
- lineHeightMobile: { value: subHeadLineHeightMobile, label: 'subHeadLineHeightMobile' },
- lineHeightTablet: { value: subHeadLineHeightTablet, label: 'subHeadLineHeightTablet' }
- }),
- wp.element.createElement(
- "p",
- { className: "uagb-setting-label" },
- __("Sub Heading Color"),
- wp.element.createElement(
- "span",
- { className: "components-base-control__label" },
- wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: subHeadingColor } })
- )
- ),
- wp.element.createElement(ColorPalette, {
- value: subHeadingColor,
- onChange: function onChange(value) {
- return setAttributes({ subHeadingColor: value });
- },
- allowReset: true
- })
- ),
- wp.element.createElement(
- PanelBody,
- { title: __("Separator"), initialOpen: false },
- wp.element.createElement(SelectControl, {
- label: __("Style"),
- value: seperatorStyle,
- onChange: function onChange(value) {
- return setAttributes({ seperatorStyle: value });
- },
- options: [{ value: "none", label: __("None") }, { value: "solid", label: __("Solid") }, { value: "double", label: __("Double") }, { value: "dashed", label: __("Dashed") }, { value: "dotted", label: __("Dotted") }]
- }),
- seperatorStyle !== "none" && wp.element.createElement(
- Fragment,
- null,
- wp.element.createElement(RangeControl, {
- label: __("Thickness (px)"),
- value: separatorHeight,
- onChange: function onChange(value) {
- return setAttributes({ separatorHeight: value });
- },
- min: 0,
- max: 20,
- beforeIcon: "",
- allowReset: true,
- initialPosition: 3
- }),
- wp.element.createElement(
- ButtonGroup,
- { className: "uagb-size-type-field", "aria-label": __("Size Type") },
- wp.element.createElement(
- Button,
- { key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
- return setAttributes({ separatorWidthType: "px" });
- } },
- "px"
- ),
- wp.element.createElement(
- Button,
- { key: "%", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "%", "aria-pressed": separatorWidthType === "%", onClick: function onClick() {
- return setAttributes({ separatorWidthType: "%" });
- } },
- "%"
- )
- ),
- wp.element.createElement(RangeControl, {
- label: __("Width"),
- value: separatorWidth,
- onChange: function onChange(value) {
- return setAttributes({ separatorWidth: value });
- },
- min: 0,
- max: "%" == separatorWidthType ? 100 : 500,
- beforeIcon: "",
- allowReset: true,
- initialPosition: 20
- }),
- seperatorStyle !== "none" && wp.element.createElement(
- Fragment,
- null,
- wp.element.createElement(
- "p",
- { className: "uagb-setting-label" },
- __("Separator Color"),
- wp.element.createElement(
- "span",
- { className: "components-base-control__label" },
- wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: separatorColor } })
- )
- ),
- wp.element.createElement(ColorPalette, {
- value: separatorColor,
- onChange: function onChange(colorValue) {
- return setAttributes({ separatorColor: colorValue });
- },
- allowReset: true
- })
- )
- )
- ),
- wp.element.createElement(
- PanelBody,
- { title: __("Spacing"), initialOpen: false },
- wp.element.createElement(RangeControl, {
- label: __("Heading Bottom Spacing (px)"),
- value: headSpace,
- onChange: function onChange(value) {
- return setAttributes({ headSpace: value });
- },
- min: 0,
- max: 500,
- beforeIcon: "",
- allowReset: true,
- initialPosition: 0
- }),
- seperatorStyle !== "none" && wp.element.createElement(RangeControl, {
- label: __("Separator Bottom Spacing (px)"),
- value: separatorSpace,
- onChange: function onChange(value) {
- return setAttributes({ separatorSpace: value });
- },
- min: 0,
- max: 500,
- beforeIcon: "",
- allowReset: true,
- initialPosition: 0
- })
- )
- ),
- wp.element.createElement(
- "div",
- {
- className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a(className, "uagb-block-" + this.props.clientId.substr(0, 8))
- },
- wp.element.createElement(RichText, {
- tagName: headingTag,
- placeholder: __("Write a Heading"),
- value: headingTitle,
- className: "uagb-heading-text",
- multiline: false,
- onChange: function onChange(value) {
- setAttributes({ headingTitle: value });
- },
- onMerge: mergeBlocks,
- unstableOnSplit: insertBlocksAfter ? function (before, after) {
- for (var _len2 = arguments.length, blocks = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
- blocks[_key2 - 2] = arguments[_key2];
- }
+tools.push({
+ "add_required_tools": __("- A Computer.", 'ultimate-addons-for-gutenberg')
+});
- setAttributes({ content: before });
- insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
- } : undefined,
- onRemove: function onRemove() {
- return onReplace([]);
- }
- }),
- seperatorStyle !== "none" && wp.element.createElement(
- "div",
- { className: "uagb-separator-wrap" },
- wp.element.createElement("div", { className: "uagb-separator" })
- ),
- wp.element.createElement(RichText, {
- tagName: "p",
- placeholder: __("Write a Description"),
- value: headingDesc,
- className: "uagb-desc-text",
- onChange: function onChange(value) {
- return setAttributes({ headingDesc: value });
- },
- onMerge: mergeBlocks,
- unstableOnSplit: this.splitBlock,
- onRemove: function onRemove() {
- return onReplace([]);
- }
- })
- ),
- loadHeadingGoogleFonts,
- loadSubHeadingGoogleFonts
- );
+materials.push({
+ "add_required_materials": __("- A WordPress Website.", 'ultimate-addons-for-gutenberg')
+});
+
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ overallAlignment: {
+ type: "string",
+ default: "left"
+ },
+ toolsTitle: {
+ type: "html",
+ default: __("Required Tools:", 'ultimate-addons-for-gutenberg')
+ },
+ materialTitle: {
+ type: "html",
+ default: __("Things Needed?", 'ultimate-addons-for-gutenberg')
+ },
+ stepsTitle: {
+ type: "html",
+ default: __("Steps to configure the How-to Schema:", 'ultimate-addons-for-gutenberg')
+ },
+ tools_count: {
+ type: "number",
+ default: 1
+ },
+ material_count: {
+ type: "number",
+ default: 1
+ },
+ tools: {
+ type: "array",
+ default: tools
+ },
+ materials: {
+ type: "array",
+ default: materials
+ },
+ showTotaltime: {
+ type: "boolean",
+ default: true
+ },
+ showEstcost: {
+ type: "boolean",
+ default: true
+ },
+ showTools: {
+ type: "boolean",
+ default: true
+ },
+ showMaterials: {
+ type: "boolean",
+ default: true
+ },
+ mainimage: {
+ type: "object",
+ default: {
+ "url": ""
}
- }]);
+ },
+ estCost: {
+ type: "html",
+ default: __("Total Cost:", 'ultimate-addons-for-gutenberg')
+ },
+ timeNeeded: {
+ type: "html",
+ default: __("Total Time Needed :", 'ultimate-addons-for-gutenberg')
+ },
+ timeIn: {
+ type: "html",
+ default: __(" Minutes", 'ultimate-addons-for-gutenberg')
+ },
+ imgSize: {
+ type: "string",
+ default: "thumbnail"
+ },
+ timeSpace: {
+ type: "number",
+ default: 5
+ },
+ costSpace: {
+ type: "number",
+ default: 5
+ },
+ time: {
+ type: "string",
+ default: "30"
+ },
+ cost: {
+ type: "string",
+ default: "65"
+ },
+ headingTitle: {
+ source: "html",
+ selector: "h1,h2,h3,h4,h5,h6",
+ default: __("How To Configure How-To Schema In Ultimate Addons For Gutenberg?", 'ultimate-addons-for-gutenberg')
+ },
+ currencyType: {
+ type: "html",
+ default: " USD"
+ },
+ headingDesc: {
+ source: "html",
+ selector: "p",
+ default: __("So to get started, you will just need to drag-n-drop the How-to Schema block in the Gutenberg editor. The How-to Schema block can be used on pages that contain a How-to in their title and describe steps to achieve certain requirements.", 'ultimate-addons-for-gutenberg')
+ },
+ headingAlign: {
+ type: "string",
+ default: "left"
+ },
+ descriptionAlign: {
+ type: "string",
+ default: "left"
+ },
+ headingColor: {
+ type: "string"
+ },
+ showEstcostcolor: {
+ type: "string"
+ },
+ showTotaltimecolor: {
+ type: "string",
+ default: ""
+ },
+ subHeadingColor: {
+ type: "string",
+ default: ""
+ },
+ headingTag: {
+ type: "string",
+ default: "h3"
+ },
+ headSpace: {
+ type: "number",
+ default: 15
+ },
+ headFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ headFontWeight: {
+ type: "string"
+ },
+ headFontSubset: {
+ type: "string"
+ },
+ headFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ headLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ headFontSize: {
+ type: "number"
+ },
+ headFontSizeTablet: {
+ type: "number"
+ },
+ headFontSizeMobile: {
+ type: "number"
+ },
+ headLineHeight: {
+ type: "number"
+ },
+ headLineHeightTablet: {
+ type: "number"
+ },
+ headLineHeightMobile: {
+ type: "number"
+ },
+ subHeadFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ subHeadFontWeight: {
+ type: "string"
+ },
+ subHeadFontSubset: {
+ type: "string"
+ },
+ subHeadFontSize: {
+ type: "number"
+ },
+ subHeadFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ subHeadFontSizeTablet: {
+ type: "number"
+ },
+ subHeadFontSizeMobile: {
+ type: "number"
+ },
+ subHeadLineHeight: {
+ type: "number"
+ },
+ subHeadLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ subHeadLineHeightTablet: {
+ type: "number"
+ },
+ subHeadLineHeightMobile: {
+ type: "number"
+ },
+ separatorSpace: {
+ type: "number",
+ default: 15
+ },
+ headLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ subHeadLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ priceFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ priceFontSize: {
+ type: "number"
+ },
+ priceFontSizeTablet: {
+ type: "number"
+ },
+ priceFontSizeMobile: {
+ type: "number"
+ },
+ priceFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ priceFontWeight: {
+ type: "string"
+ },
+ priceFontSubset: {
+ type: "string"
+ },
+ priceLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ priceLineHeight: {
+ type: "number"
+ },
+ priceLineHeightTablet: {
+ type: "number"
+ },
+ priceLineHeightMobile: {
+ type: "number"
+ },
+ priceLoadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ row_gap: {
+ type: "number",
+ default: 20
+ },
+ step_gap: {
+ type: "number"
+ },
+ schema: {
+ type: "html",
+ default: ""
+ },
+ timeInMins: {
+ type: "number"
- return UAGBAdvancedHeading;
-}(Component);
+ },
+ timeInHours: {
+ type: "number"
+ },
+ timeInDays: {
+ type: "number"
+ },
+ timeInMonths: {
+ type: "number"
+ },
+ timeInYears: {
+ type: "number"
+ }
-/* harmony default export */ __webpack_exports__["a"] = (withSelect(function (select, props) {
- var attributes = props.attributes;
+};
- return {
- anchor: attributes.headingId
- };
-})(UAGBAdvancedHeading));
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 190 */
-/*!************************************************!*\
- !*** ./src/blocks/advanced-heading/styling.js ***!
- \************************************************/
+/* 236 */
+/*!**************************************!*\
+ !*** ./src/blocks/how-to/style.scss ***!
+ \**************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports) {
+
+// removed by extract-text-webpack-plugin
+
+/***/ }),
+/* 237 */
+/*!**************************************!*\
+ !*** ./src/blocks/faq/attributes.js ***!
+ \**************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 4);
-/**
- * Returns Dynamic Generated CSS
- */
-
-
-
-
-function styling(props) {
- var _props$attributes = props.attributes,
- classMigrate = _props$attributes.classMigrate,
- headingAlign = _props$attributes.headingAlign,
- headingTag = _props$attributes.headingTag,
- headingColor = _props$attributes.headingColor,
- headSpace = _props$attributes.headSpace,
- seperatorStyle = _props$attributes.seperatorStyle,
- separatorHeight = _props$attributes.separatorHeight,
- separatorWidth = _props$attributes.separatorWidth,
- separatorWidthType = _props$attributes.separatorWidthType,
- separatorColor = _props$attributes.separatorColor,
- separatorSpace = _props$attributes.separatorSpace,
- subHeadingColor = _props$attributes.subHeadingColor,
- headFontFamily = _props$attributes.headFontFamily,
- headFontWeight = _props$attributes.headFontWeight,
- headFontSize = _props$attributes.headFontSize,
- headFontSizeType = _props$attributes.headFontSizeType,
- headFontSizeMobile = _props$attributes.headFontSizeMobile,
- headFontSizeTablet = _props$attributes.headFontSizeTablet,
- headLineHeight = _props$attributes.headLineHeight,
- headLineHeightType = _props$attributes.headLineHeightType,
- headLineHeightMobile = _props$attributes.headLineHeightMobile,
- headLineHeightTablet = _props$attributes.headLineHeightTablet,
- subHeadFontFamily = _props$attributes.subHeadFontFamily,
- subHeadFontWeight = _props$attributes.subHeadFontWeight,
- subHeadFontSize = _props$attributes.subHeadFontSize,
- subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
- subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
- subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
- subHeadLineHeight = _props$attributes.subHeadLineHeight,
- subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
- subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
- subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet;
-
-
- var tablet_selectors = {};
- var mobile_selectors = {};
-
- var selectors = {
- " .uagb-separator-wrap": {
- "text-align": headingAlign
- },
- " .block-editor-rich-text__editable.uagb-desc-text": {
- "text-align": headingAlign,
- "font-family": subHeadFontFamily,
- "font-weight": subHeadFontWeight,
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSize, subHeadFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeight, subHeadLineHeightType),
- "color": subHeadingColor
- }
- };
-
- selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
- "text-align": headingAlign,
- "font-family": headFontFamily,
- "font-weight": headFontWeight,
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSize, headFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeight, headLineHeightType),
- "color": headingColor,
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headSpace, "px")
- };
-
- if (seperatorStyle !== "none") {
- selectors[" .uagb-separator"] = {
- "border-top-style": seperatorStyle,
- "border-top-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](separatorHeight, "px"),
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](separatorWidth, separatorWidthType),
- "border-color": separatorColor,
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](separatorSpace, "px")
- };
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ layout: {
+ type: "string",
+ default: "accordion"
+ },
+ inactiveOtherItems: {
+ type: "boolean",
+ default: true
+ },
+ expandFirstItem: {
+ type: "boolean",
+ default: false
+ },
+ enableSchemaSupport: {
+ type: "boolean",
+ default: false
+ },
+ align: {
+ type: "string",
+ default: "left"
+ },
+ enableSeparator: {
+ type: "boolean",
+ default: false
+ },
+ rowsGap: {
+ type: "number",
+ default: 10
+ },
+ columnsGap: {
+ type: "number",
+ default: 10
+ },
+ boxBgColor: {
+ type: "string",
+ default: "#FFFFFF"
+ },
+ boxPaddingTypeMobile: {
+ type: "string",
+ default: "px"
+ },
+ boxPaddingTypeTablet: {
+ type: "string",
+ default: "px"
+ },
+ boxPaddingTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ vBoxPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ hBoxPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ vBoxPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ hBoxPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ vBoxPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ hBoxPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ borderStyle: {
+ type: "string",
+ default: "solid"
+ },
+ borderWidth: {
+ type: "number",
+ default: 1
+ },
+ borderRadius: {
+ type: "number",
+ default: 2
+ },
+ borderColor: {
+ type: "string",
+ default: "#D2D2D2"
+ },
+ questionTextColor: {
+ type: "string",
+ default: "#313131"
+ },
+ questionTextActiveColor: {
+ type: "string",
+ default: "#656565"
+ },
+ questionPaddingTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ vquestionPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ vquestionPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ vquestionPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ hquestionPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ hquestionPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ hquestionPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ answerTextColor: {
+ type: "string",
+ default: "#313131"
+ },
+ answerPaddingTypeDesktop: {
+ type: "string",
+ default: "px"
+ },
+ vanswerPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ vanswerPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ vanswerPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ hanswerPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ hanswerPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ hanswerPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ iconColor: {
+ type: "string"
+ },
+ iconActiveColor: {
+ type: "string"
+ },
+ gapBtwIconQUestion: {
+ type: "number",
+ default: 10
+ },
+ questionloadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ answerloadGoogleFonts: {
+ type: "boolean",
+ default: false
+ },
+ questionFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ questionFontWeight: {
+ type: "string"
+ },
+ questionFontSubset: {
+ type: "string"
+ },
+ questionFontSize: {
+ type: "number"
+ },
+ questionFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ questionFontSizeTablet: {
+ type: "number"
+ },
+ questionFontSizeMobile: {
+ type: "number"
+ },
+ questionLineHeight: {
+ type: "number"
+ },
+ questionLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ questionLineHeightTablet: {
+ type: "number"
+ },
+ questionLineHeightMobile: {
+ type: "number"
+ },
+ answerFontFamily: {
+ type: "string",
+ default: "Default"
+ },
+ answerFontWeight: {
+ type: "string"
+ },
+ answerFontSubset: {
+ type: "string"
+ },
+ answerFontSize: {
+ type: "number"
+ },
+ answerFontSizeType: {
+ type: "string",
+ default: "px"
+ },
+ answerFontSizeTablet: {
+ type: "number"
+ },
+ answerFontSizeMobile: {
+ type: "number"
+ },
+ answerLineHeight: {
+ type: "number"
+ },
+ answerLineHeightType: {
+ type: "string",
+ default: "em"
+ },
+ answerLineHeightTablet: {
+ type: "number"
+ },
+ answerLineHeightMobile: {
+ type: "number"
+ },
+ icon: {
+ type: "string",
+ default: "fas fa-plus"
+ },
+ iconActive: {
+ type: "string",
+ default: "fas fa-minus"
+ },
+ iconAlign: {
+ type: "string",
+ default: "row"
+ },
+ iconSize: {
+ type: "number",
+ default: 12
+ },
+ iconSizeTablet: {
+ type: "number",
+ default: 12
+ },
+ iconSizeMobile: {
+ type: "number",
+ default: 12
+ },
+ iconSizeType: {
+ type: "string",
+ default: "px"
+ },
+ columns: {
+ type: "number",
+ default: 2
+ },
+ tcolumns: {
+ type: "number",
+ default: 2
+ },
+ mcolumns: {
+ type: "number",
+ default: 1
+ },
+ schema: {
+ type: "string",
+ default: ""
+ },
+ enableToggle: {
+ type: "boolean",
+ default: true
+ },
+ equalHeight: {
+ type: "boolean",
+ default: true
+ },
+ questionLeftPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ questionBottomPaddingTablet: {
+ type: "number",
+ default: 10
+ },
+ questionLeftPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ questionBottomPaddingDesktop: {
+ type: "number",
+ default: 10
+ },
+ questionLeftPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ questionBottomPaddingMobile: {
+ type: "number",
+ default: 10
+ },
+ headingTag: {
+ type: "html",
+ selector: "span,p,h1,h2,h3,h4,h5,h6",
+ default: "span"
}
-
- tablet_selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeTablet, headFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightTablet, headLineHeightType)
- };
- tablet_selectors[" .block-editor-rich-text__editable.uagb-desc-text"] = {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeTablet, subHeadFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightTablet, subHeadLineHeightType)
- };
-
- mobile_selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeMobile, headFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightMobile, headLineHeightType)
- };
- mobile_selectors[" .block-editor-rich-text__editable.uagb-desc-text"] = {
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeMobile, subHeadFontSizeType),
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightMobile, subHeadLineHeightType)
- };
-
- var base_selector = ".block-editor-page #wpwrap .uagb-block-" + props.clientId.substr(0, 8);
-
- var styling_css = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](selectors, base_selector);
-
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](tablet_selectors, base_selector, true, "tablet");
-
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](mobile_selectors, base_selector, true, "mobile");
-
- return styling_css;
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (styling);
+};
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
/***/ }),
-/* 191 */
-/*!******************************************************!*\
- !*** ./src/components/typography/font-typography.js ***!
- \******************************************************/
+/* 238 */
+/*!********************************************!*\
+ !*** ./src/blocks/faq-child/attributes.js ***!
+ \********************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map__ = __webpack_require__(/*! lodash/map */ 16);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__fonts__ = __webpack_require__(/*! ./fonts */ 258);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_select__ = __webpack_require__(/*! react-select */ 259);
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
- * WordPress dependencies
- */
var __ = wp.i18n.__;
-var SelectControl = wp.components.SelectControl;
-// Extend component
-var _wp$element = wp.element,
- Component = _wp$element.Component,
- Fragment = _wp$element.Fragment;
+var attributes = {
+ block_id: {
+ type: "string"
+ },
+ question: {
+ type: "html",
+ default: __("What is FAQ?", 'ultimate-addons-for-gutenberg')
+ },
+ answer: {
+ type: "html",
+ default: __("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.", 'ultimate-addons-for-gutenberg')
+ },
+ icon: {
+ type: "html",
+ default: "fas fa-plus"
+ },
+ iconActive: {
+ type: "html",
+ default: "fas fa-minus"
+ },
+ layout: {
+ type: "string",
+ default: "accordion"
+ },
+ headingTag: {
+ type: "html",
+ selector: "span,p,h1,h2,h3,h4,h5,h6",
+ default: "span"
+ }
+};
-/**
- * Internal dependencies
- */
+/* harmony default export */ __webpack_exports__["a"] = (attributes);
+/***/ }),
+/* 239 */
+/*!*****************************************!*\
+ !*** ./src/blocks/review/components.js ***!
+ \*****************************************/
+/*! exports provided: Stars, ReviewBody */
+/*! exports used: ReviewBody, Stars */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+"use strict";
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return Stars; });
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ReviewBody; });
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ 5);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-function FontFamilyControl(props) {
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
- var fonts = [{ value: "", label: __("Default"), weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Arial", label: "Arial", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Helvetica", label: "Helvetica", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Times New Roman", label: "Times New Roman", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Georgia", label: "Georgia", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }];
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
- var fontWeight = "";
- var fontSubset = "";
+var _ref = wp.blockEditor || wp.editor,
+ RichText = _ref.RichText;
- //Push Google Fonts into stytem fonts object
- Object.keys(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */]).map(function (k, v) {
- fonts.push({ value: k, label: k, weight: __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].weight });
+var __ = wp.i18n.__;
- if (k === props.fontFamily.value) {
- fontWeight = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].weight;
- fontSubset = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].subset;
- }
- });
- // check if the font is a system font and then apply the font weight accordingly.
- if (fontWeight === "") {
- fontWeight = fonts[0].weight;
- }
- var fontWeightObj = [];
+var Stars = function (_Component) {
+ _inherits(Stars, _Component);
- fontWeight.forEach(function (item) {
- fontWeightObj.push({ value: item, label: item });
- });
+ function Stars(props) {
+ _classCallCheck(this, Stars);
- var fontSubsetObj = [];
+ var _this = _possibleConstructorReturn(this, (Stars.__proto__ || Object.getPrototypeOf(Stars)).call(this, props));
- if ((typeof fontSubset === "undefined" ? "undefined" : _typeof(fontSubset)) == "object") {
- fontSubset.forEach(function (item) {
- fontSubsetObj.push({ value: item, label: item });
- });
+ _this.state = {
+ displayValue: _this.props.value,
+ displayColor: _this.props.activeStarColor
+ };
+ _this.mouseHover = _this.mouseHover.bind(_this);
+ _this.mouseLeave = _this.mouseLeave.bind(_this);
+ _this.mouseClick = _this.mouseClick.bind(_this);
+ return _this;
}
- var onFontfamilyChange = function onFontfamilyChange(value) {
- var loadGoogleFonts = props.loadGoogleFonts,
- fontFamily = props.fontFamily,
- fontWeight = props.fontWeight,
- fontSubset = props.fontSubset;
+ _createClass(Stars, [{
+ key: "mouseHover",
+ value: function mouseHover(i) {
+ this.setState({
+ displayValue: i + (this.props.value - i === 1 ? 0.5 : 1),
+ displayColor: this.props.selectedStarColor
+ });
+ }
+ }, {
+ key: "mouseLeave",
+ value: function mouseLeave() {
+ this.setState({
+ displayValue: this.props.value,
+ displayColor: this.props.activeStarColor
+ });
+ }
+ }, {
+ key: "mouseClick",
+ value: function mouseClick(i) {
+ var _props = this.props,
+ setValue = _props.setValue,
+ value = _props.value;
- props.setAttributes(_defineProperty({}, fontFamily.label, value.label));
- onLoadGoogleFonts(loadGoogleFonts, value.label);
- onFontChange(fontWeight, fontSubset, value.label);
- };
+ setValue(value === i + 1 ? i + 0.5 : i + 1);
+ this.setState({
+ displayValue: value === i + 1 ? i + 0.5 : i + 1
+ });
+ }
+ }, {
+ key: "componentWillReceiveProps",
+ value: function componentWillReceiveProps(newProps) {
+ var value = newProps.value,
+ activeStarColor = newProps.activeStarColor;
- var onFontChange = function onFontChange(fontWeight, fontSubset, fontFamily) {
+ if (this.props.onHover || this.state.displayValue !== value) {
+ this.setState({
+ displayValue: value,
+ displayColor: activeStarColor
+ });
+ } else {
+ this.setState({ displayColor: activeStarColor });
+ }
+ }
+ }, {
+ key: "render",
+ value: function render() {
+ var _this2 = this;
- var font_flag = void 0;
- var new_value = void 0;
+ var displayValue = this.state.displayValue;
+ var _props2 = this.props,
+ limit = _props2.limit,
+ id = _props2.id,
+ className = _props2.className,
+ inactiveStarColor = _props2.inactiveStarColor,
+ onHover = _props2.onHover,
+ _onClick = _props2.onClick,
+ style = _props2.style,
+ starOutlineColor = _props2.starOutlineColor;
- if (_typeof(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily]) == "object") {
+ return wp.element.createElement(
+ "div",
+ {
+ className: className,
+ style: Object.assign({
+ display: "flex",
+ flexDirection: "flex-row"
+ }, style)
+ },
+ [].concat(_toConsumableArray(Array(limit).keys())).map(function (i) {
+ return wp.element.createElement(
+ "svg",
+ {
+ xmlns: "http://www.w3.org/2000/svg",
+ key: i,
+ height: "20",
+ width: "20",
+ viewBox: "0 0 150 150",
+ onMouseOver: function onMouseOver() {
+ return onHover || _this2.mouseHover(i);
+ },
+ onMouseOut: function onMouseOut() {
+ return _this2.mouseLeave();
+ },
+ onClick: function onClick() {
+ return _onClick || _this2.mouseClick(i);
+ }
+ },
+ wp.element.createElement(
+ "defs",
+ null,
+ wp.element.createElement(
+ "mask",
+ { id: "uagb_review_star_filter-" + id + "-" + i },
+ wp.element.createElement("rect", {
+ height: "150",
+ width: (displayValue - i > 0 ? displayValue - i < 1 ? displayValue - i : 1 : 0) * 150,
+ y: "0",
+ x: "0",
+ fill: "#fff"
+ })
+ )
+ ),
+ wp.element.createElement("path", {
+ fill: inactiveStarColor,
+ strokeWidth: "2.5",
+ d: "m0.75,56.89914l56.02207,0l17.31126,-56.14914l17.31126,56.14914l56.02206,0l-45.32273,34.70168l17.31215,56.14914l-45.32274,-34.70262l-45.32274,34.70262l17.31215,-56.14914l-45.32274,-34.70168z",
+ stroke: starOutlineColor
+ }),
+ wp.element.createElement("path", {
+ className: "star",
+ id: "star" + i,
+ mask: "url(#uagb_review_star_filter-" + id + "-" + i + ")",
+ fill: _this2.state.displayColor,
+ strokeWidth: "2.5",
+ d: "m0.75,56.89914l56.02207,0l17.31126,-56.14914l17.31126,56.14914l56.02206,0l-45.32273,34.70168l17.31215,56.14914l-45.32274,-34.70262l-45.32274,34.70262l17.31215,-56.14914l-45.32274,-34.70168z",
+ stroke: starOutlineColor
+ })
+ );
+ })
+ );
+ }
+ }]);
- var gfontsObj = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily].weight;
- var gfontSubsetObj = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily].subset;
+ return Stars;
+}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
- if ((typeof gfontsObj === "undefined" ? "undefined" : _typeof(gfontsObj)) == "object") {
+var ReviewBody = function (_Component2) {
+ _inherits(ReviewBody, _Component2);
- gfontsObj.forEach(function (item) {
+ function ReviewBody(props) {
+ _classCallCheck(this, ReviewBody);
- if (fontWeight.value == item) {
- font_flag = false;
- } else {
- new_value = item;
- font_flag = true;
- props.setAttributes(_defineProperty({}, props.fontWeight.label, new_value));
- return;
- }
- });
+ var _this3 = _possibleConstructorReturn(this, (ReviewBody.__proto__ || Object.getPrototypeOf(ReviewBody)).call(this, props));
- gfontSubsetObj.forEach(function (item) {
+ _this3.state = {
+ average: _this3.props.items.map(function (i) {
+ return i.value;
+ }).reduce(function (total, v) {
+ return total + v;
+ }) / _this3.props.items.length
+ };
+ return _this3;
+ }
- if (fontSubset.value == item) {
- font_flag = false;
- } else {
- new_value = item;
- font_flag = true;
- props.setAttributes(_defineProperty({}, props.fontSubset.label, new_value));
- return;
- }
- });
- }
- }
- };
+ _createClass(ReviewBody, [{
+ key: "render",
+ value: function render() {
+ var _this4 = this;
- var onLoadGoogleFonts = function onLoadGoogleFonts(loadGoogleFonts, fontFamily) {
+ var _props3 = this.props,
+ ID = _props3.ID,
+ items = _props3.items,
+ summaryTitle = _props3.summaryTitle,
+ summaryDescription = _props3.summaryDescription,
+ starCount = _props3.starCount,
+ setItems = _props3.setItems,
+ setSummaryDescription = _props3.setSummaryDescription,
+ setSummaryTitle = _props3.setSummaryTitle,
+ setTitle = _props3.setTitle,
+ setDescription = _props3.setDescription,
+ setAuthorName = _props3.setAuthorName,
+ inactiveStarColor = _props3.inactiveStarColor,
+ activeStarColor = _props3.activeStarColor,
+ selectedStarColor = _props3.selectedStarColor,
+ starOutlineColor = _props3.starOutlineColor,
+ ctaTarget = _props3.ctaTarget,
+ ctaLink = _props3.ctaLink,
+ setActiveStarIndex = _props3.setActiveStarIndex,
+ rTitle = _props3.rTitle,
+ rContent = _props3.rContent,
+ rAuthor = _props3.rAuthor,
+ headingTag = _props3.headingTag,
+ image_icon_html = _props3.image_icon_html,
+ showfeature = _props3.showfeature,
+ imageEnabled = _props3.imageEnabled,
+ descriptionEnabled = _props3.descriptionEnabled,
+ showauthor = _props3.showauthor;
+ var average = this.state.average;
- var value = void 0;
- if (fontFamily != "" && _typeof(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily]) != "object") {
- value = false;
- } else {
- value = true;
+ var newAverage = items.map(function (i) {
+ return i.value;
+ }).reduce(function (total, v) {
+ return total + v;
+ }) / items.length;
+
+ if (average !== newAverage) {
+ this.setState({ average: newAverage });
+ }
+
+ var target = "_self";
+ var rel = "noopener noreferrer";
+ if (ctaTarget) {
+ target = "_blank";
+ }
+
+ return wp.element.createElement(
+ "div",
+ { className: "uagb_review_block" },
+ wp.element.createElement(
+ "a",
+ {
+ href: ctaLink,
+ className: "uagb-rating-link-wrapper",
+ target: target,
+ rel: rel
+ },
+ wp.element.createElement(RichText, {
+ tagName: headingTag,
+ placeholder: __('Title of the review', 'ultimate-addons-for-gutenberg'),
+ keepPlaceholderOnFocus: true,
+ value: rTitle,
+ className: "uagb-rating-title",
+ onChange: function onChange(text) {
+ return setTitle(text);
+ }
+ })
+ ),
+ descriptionEnabled === true && wp.element.createElement(RichText, {
+ tagName: "p",
+ placeholder: __('Review Description', 'ultimate-addons-for-gutenberg'),
+ keepPlaceholderOnFocus: true,
+ value: rContent,
+ className: "uagb-rating-desc",
+ onChange: function onChange(text) {
+ return setDescription(text);
+ }
+ }),
+ showauthor === true && wp.element.createElement(RichText, {
+ tagName: "p",
+ placeholder: __('Review Author', 'ultimate-addons-for-gutenberg'),
+ keepPlaceholderOnFocus: true,
+ value: rAuthor,
+ className: "uagb-rating-author",
+ onChange: function onChange(text) {
+ return setAuthorName(text);
+ }
+ }),
+ imageEnabled === true && wp.element.createElement(
+ "div",
+ { className: "uagb-rating__source-wrap" },
+ image_icon_html
+ ),
+ items.map(function (j, i) {
+ return showfeature === true && wp.element.createElement(
+ "div",
+ { className: "uagb_review_entry" },
+ wp.element.createElement(RichText, {
+ style: { marginRight: "auto" },
+ key: i,
+ placeholder: __("Edit feature"),
+ value: j.label,
+ onChange: function onChange(text) {
+ return setItems([].concat(_toConsumableArray(items.slice(0, i)), [{ label: text, value: j.value }], _toConsumableArray(items.slice(i + 1))));
+ }
+ }),
+ wp.element.createElement(
+ "div",
+ {
+ key: i,
+ style: {
+ marginLeft: "auto",
+ minWidth: items.length > 1 ? 120 : 100
+ }
+ },
+ items.length > 1 && wp.element.createElement("div", {
+ className: "dashicons dashicons-trash",
+ onClick: function onClick() {
+ var newItems = items.slice(0, i).concat(items.slice(i + 1, items.length));
+ setItems(newItems);
+ _this4.setState({
+ average: newItems.map(function (i) {
+ return i.value;
+ }).reduce(function (total, v) {
+ return total + v;
+ }) / newItems.length
+ });
+ }
+ }),
+ wp.element.createElement(Stars, {
+ id: ID + "-" + i,
+ key: i,
+ value: j.value,
+ limit: starCount,
+ setValue: function setValue(newValue) {
+ var newArray = [].concat(_toConsumableArray(items.slice(0, i)), [{ label: j.label, value: newValue }], _toConsumableArray(items.slice(i + 1)));
+ setItems(newArray);
+ setActiveStarIndex(i);
+ _this4.setState({
+ average: newArray.map(function (i) {
+ return i.value;
+ }).reduce(function (total, v) {
+ return total + v;
+ }) / newArray.length
+ });
+ },
+ inactiveStarColor: inactiveStarColor,
+ activeStarColor: activeStarColor,
+ selectedStarColor: selectedStarColor,
+ starOutlineColor: starOutlineColor
+ })
+ )
+ );
+ }),
+ showfeature === true && wp.element.createElement("div", {
+ title: __("Insert new review entry"),
+ onClick: function onClick() {
+ setItems([].concat(_toConsumableArray(items), [{ label: "", value: 0 }]));
+ _this4.setState({
+ average: average / (items.length + 1)
+ });
+ },
+ className: "uagb_review_add_entry dashicons dashicons-plus-alt"
+ }),
+ wp.element.createElement(
+ "div",
+ { className: "uagb_review_summary" },
+ wp.element.createElement(RichText, {
+ className: "uagb_review_summary_title",
+ placeholder: __("Title of the summary goes here", 'ultimate-addons-for-gutenberg'),
+ tagName: "p",
+ onChange: function onChange(text) {
+ return setSummaryTitle(text);
+ },
+ value: summaryTitle
+ }),
+ wp.element.createElement(
+ "div",
+ { className: "uagb_review_overall_value" },
+ wp.element.createElement(RichText, {
+ placeholder: __("Summary of the review goes here", 'ultimate-addons-for-gutenberg'),
+ onChange: function onChange(text) {
+ return setSummaryDescription(text);
+ },
+ value: summaryDescription
+ }),
+ wp.element.createElement(
+ "div",
+ { className: "uagb_review_average" },
+ wp.element.createElement(
+ "span",
+ { className: "uagb_review_rating" },
+ Math.round(average * 10) / 10
+ ),
+ wp.element.createElement(Stars, {
+ id: ID + "-average",
+ className: "uagb_review_average_stars",
+ onHover: function onHover() {
+ return null;
+ },
+ onClick: function onClick() {
+ return null;
+ },
+ value: average,
+ limit: starCount,
+ inactiveStarColor: inactiveStarColor,
+ activeStarColor: activeStarColor,
+ selectedStarColor: selectedStarColor,
+ starOutlineColor: starOutlineColor
+ })
+ )
+ )
+ )
+ );
}
+ }]);
- props.setAttributes(_defineProperty({}, loadGoogleFonts.label, value));
- };
+ return ReviewBody;
+}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
- return wp.element.createElement(
- "div",
- { className: "uag-typography-font-family-options" },
- wp.element.createElement(
- "label",
- { className: "uag-typography-font-family-label" },
- __("Font Family")
- ),
- wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2_react_select__["a" /* default */], {
- options: fonts,
- value: { value: props.fontFamily.value, label: props.fontFamily.value, weight: fontWeightObj },
- isMulti: false,
- maxMenuHeight: 300,
- onChange: onFontfamilyChange,
- className: "react-select-container",
- classNamePrefix: "react-select"
- }),
- wp.element.createElement(SelectControl, {
- label: __("Font Weight"),
- value: props.fontWeight.value,
- onChange: function onChange(value) {
- return props.setAttributes(_defineProperty({}, props.fontWeight.label, value));
- },
- options: fontWeightObj
- }),
- wp.element.createElement(SelectControl, {
- label: __("Font Subset"),
- value: props.fontSubset.value,
- onChange: function onChange(value) {
- return props.setAttributes(_defineProperty({}, props.fontSubset.label, value));
- },
- options: fontSubsetObj
- })
- );
-}
+/***/ }),
+/* 240 */
+/*!***************************************************************!*\
+ !*** ./src/blocks/forms/child-blocks/phone/country-option.js ***!
+ \***************************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-/* harmony default export */ __webpack_exports__["a"] = (FontFamilyControl);
+"use strict";
+var countryOptions = [wp.element.createElement(
+ "option",
+ { "data-countryCode": "GB", value: "+44" },
+ "UK (+44)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "US", value: "+1" },
+ "USA (+1)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DZ", value: "+213" },
+ "Algeria (+213)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AD", value: "+376" },
+ "Andorra (+376)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AO", value: "+244" },
+ "Angola (+244)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AI", value: "+1264" },
+ "Anguilla (+1264)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AG", value: "+1268" },
+ "Antigua & Barbuda (+1268)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AR", value: "+54" },
+ "Argentina (+54)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AM", value: "+374" },
+ "Armenia (+374)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AW", value: "+297" },
+ "Aruba (+297)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AU", value: "+61" },
+ "Australia (+61)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AT", value: "+43" },
+ "Austria (+43)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AZ", value: "+994" },
+ "Azerbaijan (+994)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BS", value: "+1242" },
+ "Bahamas (+1242)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BH", value: "+973" },
+ "Bahrain (+973)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BD", value: "+880" },
+ "Bangladesh (+880)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BB", value: "+1246" },
+ "Barbados (+1246)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BY", value: "+375" },
+ "Belarus (+375)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BE", value: "+32" },
+ "Belgium (+32)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BZ", value: "+501" },
+ "Belize (+501)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BJ", value: "+229" },
+ "Benin (+229)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BM", value: "+1441" },
+ "Bermuda (+1441)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BT", value: "+975" },
+ "Bhutan (+975)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BO", value: "+591" },
+ "Bolivia (+591)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BA", value: "+387" },
+ "Bosnia Herzegovina (+387)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BW", value: "+267" },
+ "Botswana (+267)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BR", value: "+55" },
+ "Brazil (+55)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BN", value: "+673" },
+ "Brunei (+673)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BG", value: "+359" },
+ "Bulgaria (+359)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BF", value: "+226" },
+ "Burkina Faso (+226)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "BI", value: "+257" },
+ "Burundi (+257)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KH", value: "+855" },
+ "Cambodia (+855)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CM", value: "+237" },
+ "Cameroon (+237)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CA", value: "+1" },
+ "Canada (+1)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CV", value: "+238" },
+ "Cape Verde Islands (+238)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KY", value: "+1345" },
+ "Cayman Islands (+1345)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CF", value: "+236" },
+ "Central African Republic (+236)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CL", value: "+56" },
+ "Chile (+56)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CN", value: "+86" },
+ "China (+86)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CO", value: "+57" },
+ "Colombia (+57)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KM", value: "+269" },
+ "Comoros (+269)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CG", value: "+242" },
+ "Congo (+242)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CK", value: "+682" },
+ "Cook Islands (+682)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CR", value: "+506" },
+ "Costa Rica (+506)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "HR", value: "+385" },
+ "Croatia (+385)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CU", value: "+53" },
+ "Cuba (+53)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CY", value: "+90392" },
+ "Cyprus North (+90392)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CY", value: "+357" },
+ "Cyprus South (+357)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CZ", value: "+42" },
+ "Czech Republic (+42)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DK", value: "+45" },
+ "Denmark (+45)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DJ", value: "+253" },
+ "Djibouti (+253)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DM", value: "+1809" },
+ "Dominica (+1809)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DO", value: "+1809" },
+ "Dominican Republic (+1809)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "EC", value: "+593" },
+ "Ecuador (+593)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "EG", value: "+20" },
+ "Egypt (+20)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SV", value: "+503" },
+ "El Salvador (+503)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GQ", value: "+240" },
+ "Equatorial Guinea (+240)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ER", value: "+291" },
+ "Eritrea (+291)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "EE", value: "+372" },
+ "Estonia (+372)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ET", value: "+251" },
+ "Ethiopia (+251)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FK", value: "+500" },
+ "Falkland Islands (+500)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FO", value: "+298" },
+ "Faroe Islands (+298)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FJ", value: "+679" },
+ "Fiji (+679)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FI", value: "+358" },
+ "Finland (+358)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FR", value: "+33" },
+ "France (+33)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GF", value: "+594" },
+ "French Guiana (+594)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PF", value: "+689" },
+ "French Polynesia (+689)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GA", value: "+241" },
+ "Gabon (+241)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GM", value: "+220" },
+ "Gambia (+220)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GE", value: "+7880" },
+ "Georgia (+7880)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "DE", value: "+49" },
+ "Germany (+49)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GH", value: "+233" },
+ "Ghana (+233)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GI", value: "+350" },
+ "Gibraltar (+350)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GR", value: "+30" },
+ "Greece (+30)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GL", value: "+299" },
+ "Greenland (+299)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GD", value: "+1473" },
+ "Grenada (+1473)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GP", value: "+590" },
+ "Guadeloupe (+590)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GU", value: "+671" },
+ "Guam (+671)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GT", value: "+502" },
+ "Guatemala (+502)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GN", value: "+224" },
+ "Guinea (+224)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GW", value: "+245" },
+ "Guinea - Bissau (+245)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "GY", value: "+592" },
+ "Guyana (+592)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "HT", value: "+509" },
+ "Haiti (+509)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "HN", value: "+504" },
+ "Honduras (+504)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "HK", value: "+852" },
+ "Hong Kong (+852)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "HU", value: "+36" },
+ "Hungary (+36)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IS", value: "+354" },
+ "Iceland (+354)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IN", value: "+91" },
+ "India (+91)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ID", value: "+62" },
+ "Indonesia (+62)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IR", value: "+98" },
+ "Iran (+98)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IQ", value: "+964" },
+ "Iraq (+964)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IE", value: "+353" },
+ "Ireland (+353)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IL", value: "+972" },
+ "Israel (+972)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "IT", value: "+39" },
+ "Italy (+39)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "JM", value: "+1876" },
+ "Jamaica (+1876)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "JP", value: "+81" },
+ "Japan (+81)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "JO", value: "+962" },
+ "Jordan (+962)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KZ", value: "+7" },
+ "Kazakhstan (+7)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KE", value: "+254" },
+ "Kenya (+254)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KI", value: "+686" },
+ "Kiribati (+686)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KP", value: "+850" },
+ "Korea North (+850)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KR", value: "+82" },
+ "Korea South (+82)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KW", value: "+965" },
+ "Kuwait (+965)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KG", value: "+996" },
+ "Kyrgyzstan (+996)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LA", value: "+856" },
+ "Laos (+856)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LV", value: "+371" },
+ "Latvia (+371)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LB", value: "+961" },
+ "Lebanon (+961)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LS", value: "+266" },
+ "Lesotho (+266)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LR", value: "+231" },
+ "Liberia (+231)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LY", value: "+218" },
+ "Libya (+218)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LI", value: "+417" },
+ "Liechtenstein (+417)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LT", value: "+370" },
+ "Lithuania (+370)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LU", value: "+352" },
+ "Luxembourg (+352)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MO", value: "+853" },
+ "Macao (+853)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MK", value: "+389" },
+ "Macedonia (+389)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MG", value: "+261" },
+ "Madagascar (+261)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MW", value: "+265" },
+ "Malawi (+265)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MY", value: "+60" },
+ "Malaysia (+60)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MV", value: "+960" },
+ "Maldives (+960)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ML", value: "+223" },
+ "Mali (+223)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MT", value: "+356" },
+ "Malta (+356)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MH", value: "+692" },
+ "Marshall Islands (+692)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MQ", value: "+596" },
+ "Martinique (+596)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MR", value: "+222" },
+ "Mauritania (+222)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "YT", value: "+269" },
+ "Mayotte (+269)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MX", value: "+52" },
+ "Mexico (+52)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "FM", value: "+691" },
+ "Micronesia (+691)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MD", value: "+373" },
+ "Moldova (+373)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MC", value: "+377" },
+ "Monaco (+377)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MN", value: "+976" },
+ "Mongolia (+976)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MS", value: "+1664" },
+ "Montserrat (+1664)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MA", value: "+212" },
+ "Morocco (+212)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MZ", value: "+258" },
+ "Mozambique (+258)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "MN", value: "+95" },
+ "Myanmar (+95)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NA", value: "+264" },
+ "Namibia (+264)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NR", value: "+674" },
+ "Nauru (+674)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NP", value: "+977" },
+ "Nepal (+977)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NL", value: "+31" },
+ "Netherlands (+31)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NC", value: "+687" },
+ "New Caledonia (+687)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NZ", value: "+64" },
+ "New Zealand (+64)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NI", value: "+505" },
+ "Nicaragua (+505)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NE", value: "+227" },
+ "Niger (+227)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NG", value: "+234" },
+ "Nigeria (+234)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NU", value: "+683" },
+ "Niue (+683)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NF", value: "+672" },
+ "Norfolk Islands (+672)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NP", value: "+670" },
+ "Northern Marianas (+670)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "NO", value: "+47" },
+ "Norway (+47)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "OM", value: "+968" },
+ "Oman (+968)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PW", value: "+680" },
+ "Palau (+680)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PA", value: "+507" },
+ "Panama (+507)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PG", value: "+675" },
+ "Papua New Guinea (+675)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PY", value: "+595" },
+ "Paraguay (+595)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PE", value: "+51" },
+ "Peru (+51)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PH", value: "+63" },
+ "Philippines (+63)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PL", value: "+48" },
+ "Poland (+48)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PT", value: "+351" },
+ "Portugal (+351)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "PR", value: "+1787" },
+ "Puerto Rico (+1787)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "QA", value: "+974" },
+ "Qatar (+974)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "RE", value: "+262" },
+ "Reunion (+262)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "RO", value: "+40" },
+ "Romania (+40)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "RU", value: "+7" },
+ "Russia (+7)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "RW", value: "+250" },
+ "Rwanda (+250)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SM", value: "+378" },
+ "San Marino (+378)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ST", value: "+239" },
+ "Sao Tome & Principe (+239)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SA", value: "+966" },
+ "Saudi Arabia (+966)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SN", value: "+221" },
+ "Senegal (+221)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CS", value: "+381" },
+ "Serbia (+381)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SC", value: "+248" },
+ "Seychelles (+248)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SL", value: "+232" },
+ "Sierra Leone (+232)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SG", value: "+65" },
+ "Singapore (+65)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SK", value: "+421" },
+ "Slovak Republic (+421)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SI", value: "+386" },
+ "Slovenia (+386)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SB", value: "+677" },
+ "Solomon Islands (+677)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SO", value: "+252" },
+ "Somalia (+252)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ZA", value: "+27" },
+ "South Africa (+27)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ES", value: "+34" },
+ "Spain (+34)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "LK", value: "+94" },
+ "Sri Lanka (+94)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SH", value: "+290" },
+ "St. Helena (+290)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "KN", value: "+1869" },
+ "St. Kitts (+1869)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SC", value: "+1758" },
+ "St. Lucia (+1758)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SD", value: "+249" },
+ "Sudan (+249)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SR", value: "+597" },
+ "Suriname (+597)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SZ", value: "+268" },
+ "Swaziland (+268)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SE", value: "+46" },
+ "Sweden (+46)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "CH", value: "+41" },
+ "Switzerland (+41)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "SI", value: "+963" },
+ "Syria (+963)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TW", value: "+886" },
+ "Taiwan (+886)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TJ", value: "+7" },
+ "Tajikstan (+7)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TH", value: "+66" },
+ "Thailand (+66)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TG", value: "+228" },
+ "Togo (+228)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TO", value: "+676" },
+ "Tonga (+676)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TT", value: "+1868" },
+ "Trinidad & Tobago (+1868)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TN", value: "+216" },
+ "Tunisia (+216)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TR", value: "+90" },
+ "Turkey (+90)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TM", value: "+7" },
+ "Turkmenistan (+7)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TM", value: "+993" },
+ "Turkmenistan (+993)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TC", value: "+1649" },
+ "Turks & Caicos Islands (+1649)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "TV", value: "+688" },
+ "Tuvalu (+688)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "UG", value: "+256" },
+ "Uganda (+256)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "UA", value: "+380" },
+ "Ukraine (+380)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "AE", value: "+971" },
+ "United Arab Emirates (+971)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "UY", value: "+598" },
+ "Uruguay (+598)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "UZ", value: "+7" },
+ "Uzbekistan (+7)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VU", value: "+678" },
+ "Vanuatu (+678)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VA", value: "+379" },
+ "Vatican City (+379)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VE", value: "+58" },
+ "Venezuela (+58)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VN", value: "+84" },
+ "Vietnam (+84)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VG", value: "+84" },
+ "Virgin Islands - British (+1284)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "VI", value: "+84" },
+ "Virgin Islands - US (+1340)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "WF", value: "+681" },
+ "Wallis & Futuna (+681)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "YE", value: "+969" },
+ "Yemen (North)(+969)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "YE", value: "+967" },
+ "Yemen (South)(+967)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ZM", value: "+260" },
+ "Zambia (+260)"
+), wp.element.createElement(
+ "option",
+ { "data-countryCode": "ZW", value: "+263" },
+ "Zimbabwe (+263)"
+)];
+
+/* harmony default export */ __webpack_exports__["a"] = (countryOptions);
/***/ }),
-/* 192 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_baseMatches.js ***!
- \*********************************************/
-/*! no static exports found */
+/* 241 */
+/*!******************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_ctx.js ***!
+ \******************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ 193),
- getMatchData = __webpack_require__(/*! ./_getMatchData */ 242),
- matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 126);
-
-/**
- * The base implementation of `_.matches` which doesn't clone `source`.
- *
- * @private
- * @param {Object} source The object of property values to match.
- * @returns {Function} Returns the new spec function.
- */
-function baseMatches(source) {
- var matchData = getMatchData(source);
- if (matchData.length == 1 && matchData[0][2]) {
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
+// optional / simple context binding
+var aFunction = __webpack_require__(/*! ./_a-function */ 824);
+module.exports = function (fn, that, length) {
+ aFunction(fn);
+ if (that === undefined) return fn;
+ switch (length) {
+ case 1: return function (a) {
+ return fn.call(that, a);
+ };
+ case 2: return function (a, b) {
+ return fn.call(that, a, b);
+ };
+ case 3: return function (a, b, c) {
+ return fn.call(that, a, b, c);
+ };
}
- return function(object) {
- return object === source || baseIsMatch(object, source, matchData);
+ return function (/* ...args */) {
+ return fn.apply(that, arguments);
};
-}
-
-module.exports = baseMatches;
+};
/***/ }),
-/* 193 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_baseIsMatch.js ***!
- \*********************************************/
-/*! no static exports found */
+/* 242 */
+/*!*****************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_ie8-dom-define.js ***!
+ \*****************************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var Stack = __webpack_require__(/*! ./_Stack */ 52),
- baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 115);
+module.exports = !__webpack_require__(/*! ./_descriptors */ 25) && !__webpack_require__(/*! ./_fails */ 38)(function () {
+ return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ 243)('div'), 'a', { get: function () { return 7; } }).a != 7;
+});
-/** Used to compose bitmasks for value comparisons. */
-var COMPARE_PARTIAL_FLAG = 1,
- COMPARE_UNORDERED_FLAG = 2;
-/**
- * The base implementation of `_.isMatch` without support for iteratee shorthands.
- *
- * @private
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property values to match.
- * @param {Array} matchData The property names, values, and compare flags to match.
- * @param {Function} [customizer] The function to customize comparisons.
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
- */
-function baseIsMatch(object, source, matchData, customizer) {
- var index = matchData.length,
- length = index,
- noCustomizer = !customizer;
+/***/ }),
+/* 243 */
+/*!*************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_dom-create.js ***!
+ \*************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
- if (object == null) {
- return !length;
- }
- object = Object(object);
- while (index--) {
- var data = matchData[index];
- if ((noCustomizer && data[2])
- ? data[1] !== object[data[0]]
- : !(data[0] in object)
- ) {
- return false;
- }
- }
- while (++index < length) {
- data = matchData[index];
- var key = data[0],
- objValue = object[key],
- srcValue = data[1];
-
- if (noCustomizer && data[2]) {
- if (objValue === undefined && !(key in object)) {
- return false;
- }
- } else {
- var stack = new Stack;
- if (customizer) {
- var result = customizer(objValue, srcValue, key, object, source, stack);
- }
- if (!(result === undefined
- ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
- : result
- )) {
- return false;
- }
- }
- }
- return true;
-}
-
-module.exports = baseIsMatch;
+var isObject = __webpack_require__(/*! ./_is-object */ 37);
+var document = __webpack_require__(/*! ./_global */ 20).document;
+// typeof document.createElement is 'object' in old IE
+var is = isObject(document) && isObject(document.createElement);
+module.exports = function (it) {
+ return is ? document.createElement(it) : {};
+};
/***/ }),
-/* 194 */
-/*!************************************************!*\
- !*** ./node_modules/lodash/_listCacheClear.js ***!
- \************************************************/
-/*! no static exports found */
+/* 244 */
+/*!***********************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_object-keys-internal.js ***!
+ \***********************************************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
-/**
- * Removes all key-value entries from the list cache.
- *
- * @private
- * @name clear
- * @memberOf ListCache
- */
-function listCacheClear() {
- this.__data__ = [];
- this.size = 0;
-}
+var has = __webpack_require__(/*! ./_has */ 26);
+var toIObject = __webpack_require__(/*! ./_to-iobject */ 39);
+var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ 826)(false);
+var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 136)('IE_PROTO');
-module.exports = listCacheClear;
+module.exports = function (object, names) {
+ var O = toIObject(object);
+ var i = 0;
+ var result = [];
+ var key;
+ for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
+ // Don't enum bug & hidden keys
+ while (names.length > i) if (has(O, key = names[i++])) {
+ ~arrayIndexOf(result, key) || result.push(key);
+ }
+ return result;
+};
/***/ }),
-/* 195 */
-/*!*************************************************!*\
- !*** ./node_modules/lodash/_listCacheDelete.js ***!
- \*************************************************/
-/*! no static exports found */
+/* 245 */
+/*!**********************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_iobject.js ***!
+ \**********************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 36);
+// fallback for non-array-like ES3 and non-enumerable old V8 strings
+var cof = __webpack_require__(/*! ./_cof */ 246);
+// eslint-disable-next-line no-prototype-builtins
+module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
+ return cof(it) == 'String' ? it.split('') : Object(it);
+};
-/** Used for built-in method references. */
-var arrayProto = Array.prototype;
-/** Built-in value references. */
-var splice = arrayProto.splice;
+/***/ }),
+/* 246 */
+/*!******************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_cof.js ***!
+ \******************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
-/**
- * Removes `key` and its value from the list cache.
- *
- * @private
- * @name delete
- * @memberOf ListCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
-function listCacheDelete(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
+var toString = {}.toString;
- if (index < 0) {
- return false;
- }
- var lastIndex = data.length - 1;
- if (index == lastIndex) {
- data.pop();
- } else {
- splice.call(data, index, 1);
- }
- --this.size;
- return true;
-}
+module.exports = function (it) {
+ return toString.call(it).slice(8, -1);
+};
-module.exports = listCacheDelete;
+
+/***/ }),
+/* 247 */
+/*!*************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_object-gpo.js ***!
+ \*************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
+var has = __webpack_require__(/*! ./_has */ 26);
+var toObject = __webpack_require__(/*! ./_to-object */ 140);
+var IE_PROTO = __webpack_require__(/*! ./_shared-key */ 136)('IE_PROTO');
+var ObjectProto = Object.prototype;
+
+module.exports = Object.getPrototypeOf || function (O) {
+ O = toObject(O);
+ if (has(O, IE_PROTO)) return O[IE_PROTO];
+ if (typeof O.constructor == 'function' && O instanceof O.constructor) {
+ return O.constructor.prototype;
+ } return O instanceof Object ? ObjectProto : null;
+};
/***/ }),
-/* 196 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_listCacheGet.js ***!
- \**********************************************/
-/*! no static exports found */
+/* 248 */
+/*!******************************************************!*\
+ !*** ./node_modules/babel-runtime/helpers/typeof.js ***!
+ \******************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 36);
+"use strict";
-/**
- * Gets the list cache value for `key`.
- *
- * @private
- * @name get
- * @memberOf ListCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
-function listCacheGet(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
- return index < 0 ? undefined : data[index][1];
-}
+exports.__esModule = true;
-module.exports = listCacheGet;
+var _iterator = __webpack_require__(/*! ../core-js/symbol/iterator */ 839);
+var _iterator2 = _interopRequireDefault(_iterator);
-/***/ }),
-/* 197 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_listCacheHas.js ***!
- \**********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+var _symbol = __webpack_require__(/*! ../core-js/symbol */ 850);
-var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 36);
+var _symbol2 = _interopRequireDefault(_symbol);
-/**
- * Checks if a list cache value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf ListCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
-function listCacheHas(key) {
- return assocIndexOf(this.__data__, key) > -1;
-}
+var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
-module.exports = listCacheHas;
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
+ return typeof obj === "undefined" ? "undefined" : _typeof(obj);
+} : function (obj) {
+ return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
+};
/***/ }),
-/* 198 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_listCacheSet.js ***!
- \**********************************************/
-/*! no static exports found */
+/* 249 */
+/*!**************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_iter-define.js ***!
+ \**************************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 36);
-
-/**
- * Sets the list cache `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf ListCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the list cache instance.
- */
-function listCacheSet(key, value) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
+"use strict";
- if (index < 0) {
- ++this.size;
- data.push([key, value]);
- } else {
- data[index][1] = value;
+var LIBRARY = __webpack_require__(/*! ./_library */ 71);
+var $export = __webpack_require__(/*! ./_export */ 23);
+var redefine = __webpack_require__(/*! ./_redefine */ 250);
+var hide = __webpack_require__(/*! ./_hide */ 36);
+var Iterators = __webpack_require__(/*! ./_iterators */ 141);
+var $iterCreate = __webpack_require__(/*! ./_iter-create */ 843);
+var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ 143);
+var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ 247);
+var ITERATOR = __webpack_require__(/*! ./_wks */ 40)('iterator');
+var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
+var FF_ITERATOR = '@@iterator';
+var KEYS = 'keys';
+var VALUES = 'values';
+
+var returnThis = function () { return this; };
+
+module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
+ $iterCreate(Constructor, NAME, next);
+ var getMethod = function (kind) {
+ if (!BUGGY && kind in proto) return proto[kind];
+ switch (kind) {
+ case KEYS: return function keys() { return new Constructor(this, kind); };
+ case VALUES: return function values() { return new Constructor(this, kind); };
+ } return function entries() { return new Constructor(this, kind); };
+ };
+ var TAG = NAME + ' Iterator';
+ var DEF_VALUES = DEFAULT == VALUES;
+ var VALUES_BUG = false;
+ var proto = Base.prototype;
+ var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
+ var $default = $native || getMethod(DEFAULT);
+ var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
+ var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
+ var methods, key, IteratorPrototype;
+ // Fix native
+ if ($anyNative) {
+ IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
+ if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
+ // Set @@toStringTag to native iterators
+ setToStringTag(IteratorPrototype, TAG, true);
+ // fix for some old engines
+ if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
+ }
+ }
+ // fix Array#{values, @@iterator}.name in V8 / FF
+ if (DEF_VALUES && $native && $native.name !== VALUES) {
+ VALUES_BUG = true;
+ $default = function values() { return $native.call(this); };
+ }
+ // Define iterator
+ if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
+ hide(proto, ITERATOR, $default);
+ }
+ // Plug for library
+ Iterators[NAME] = $default;
+ Iterators[TAG] = returnThis;
+ if (DEFAULT) {
+ methods = {
+ values: DEF_VALUES ? $default : getMethod(VALUES),
+ keys: IS_SET ? $default : getMethod(KEYS),
+ entries: $entries
+ };
+ if (FORCED) for (key in methods) {
+ if (!(key in proto)) redefine(proto, key, methods[key]);
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
}
- return this;
-}
-
-module.exports = listCacheSet;
+ return methods;
+};
/***/ }),
-/* 199 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_stackClear.js ***!
- \********************************************/
-/*! no static exports found */
+/* 250 */
+/*!***********************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_redefine.js ***!
+ \***********************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var ListCache = __webpack_require__(/*! ./_ListCache */ 35);
-
-/**
- * Removes all key-value entries from the stack.
- *
- * @private
- * @name clear
- * @memberOf Stack
- */
-function stackClear() {
- this.__data__ = new ListCache;
- this.size = 0;
-}
-
-module.exports = stackClear;
+module.exports = __webpack_require__(/*! ./_hide */ 36);
/***/ }),
-/* 200 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_stackDelete.js ***!
- \*********************************************/
-/*! no static exports found */
+/* 251 */
+/*!**************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_object-gopn.js ***!
+ \**************************************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
-
-/**
- * Removes `key` and its value from the stack.
- *
- * @private
- * @name delete
- * @memberOf Stack
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
-function stackDelete(key) {
- var data = this.__data__,
- result = data['delete'](key);
+/***/ (function(module, exports, __webpack_require__) {
- this.size = data.size;
- return result;
-}
+// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
+var $keys = __webpack_require__(/*! ./_object-keys-internal */ 244);
+var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ 138).concat('length', 'prototype');
-module.exports = stackDelete;
+exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
+ return $keys(O, hiddenKeys);
+};
/***/ }),
-/* 201 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_stackGet.js ***!
- \******************************************/
-/*! no static exports found */
+/* 252 */
+/*!**************************************************************!*\
+ !*** ./node_modules/core-js/library/modules/_object-gopd.js ***!
+ \**************************************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
-
-/**
- * Gets the stack value for `key`.
- *
- * @private
- * @name get
- * @memberOf Stack
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
-function stackGet(key) {
- return this.__data__.get(key);
-}
+/***/ (function(module, exports, __webpack_require__) {
-module.exports = stackGet;
+var pIE = __webpack_require__(/*! ./_object-pie */ 73);
+var createDesc = __webpack_require__(/*! ./_property-desc */ 69);
+var toIObject = __webpack_require__(/*! ./_to-iobject */ 39);
+var toPrimitive = __webpack_require__(/*! ./_to-primitive */ 133);
+var has = __webpack_require__(/*! ./_has */ 26);
+var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ 242);
+var gOPD = Object.getOwnPropertyDescriptor;
+
+exports.f = __webpack_require__(/*! ./_descriptors */ 25) ? gOPD : function getOwnPropertyDescriptor(O, P) {
+ O = toIObject(O);
+ P = toPrimitive(P, true);
+ if (IE8_DOM_DEFINE) try {
+ return gOPD(O, P);
+ } catch (e) { /* empty */ }
+ if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
+};
/***/ }),
-/* 202 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_stackHas.js ***!
- \******************************************/
-/*! no static exports found */
+/* 253 */
+/*!***********************!*\
+ !*** ./src/blocks.js ***!
+ \***********************/
+/*! no exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-/**
- * Checks if a stack value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf Stack
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+"use strict";
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js__ = __webpack_require__(/*! ./blocks/extensions/attributes.js */ 254);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__blocks_extensions_attributes_js__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__blocks_advanced_heading_block_js__ = __webpack_require__(/*! ./blocks/advanced-heading/block.js */ 255);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__blocks_post_block_js__ = __webpack_require__(/*! ./blocks/post/block.js */ 382);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__blocks_section_block_js__ = __webpack_require__(/*! ./blocks/section/block.js */ 497);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__blocks_buttons_block_js__ = __webpack_require__(/*! ./blocks/buttons/block.js */ 504);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__blocks_buttons_child_block_js__ = __webpack_require__(/*! ./blocks/buttons-child/block.js */ 512);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__blocks_info_box_block_js__ = __webpack_require__(/*! ./blocks/info-box/block.js */ 529);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__blocks_testimonial_block_js__ = __webpack_require__(/*! ./blocks/testimonial/block.js */ 538);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__blocks_team_block_js__ = __webpack_require__(/*! ./blocks/team/block.js */ 546);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__blocks_social_share_block_js__ = __webpack_require__(/*! ./blocks/social-share/block.js */ 553);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__blocks_social_share_child_block_js__ = __webpack_require__(/*! ./blocks/social-share-child/block.js */ 561);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__blocks_google_map_block_js__ = __webpack_require__(/*! ./blocks/google-map/block.js */ 568);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__blocks_icon_list_block_js__ = __webpack_require__(/*! ./blocks/icon-list/block.js */ 570);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__blocks_icon_list_child_block_js__ = __webpack_require__(/*! ./blocks/icon-list-child/block.js */ 577);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__blocks_price_list_block_js__ = __webpack_require__(/*! ./blocks/price-list/block.js */ 584);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__blocks_price_list_child_block_js__ = __webpack_require__(/*! ./blocks/price-list-child/block.js */ 591);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__blocks_timeline_block_js__ = __webpack_require__(/*! ./blocks/timeline/block.js */ 596);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__blocks_call_to_action_block_js__ = __webpack_require__(/*! ./blocks/call-to-action/block.js */ 621);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__blocks_column_block_js__ = __webpack_require__(/*! ./blocks/column/block.js */ 629);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__blocks_columns_block_js__ = __webpack_require__(/*! ./blocks/columns/block.js */ 637);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__blocks_cf7_styler_block_js__ = __webpack_require__(/*! ./blocks/cf7-styler/block.js */ 656);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__blocks_gf_styler_block_js__ = __webpack_require__(/*! ./blocks/gf-styler/block.js */ 661);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__blocks_blockquote_block_js__ = __webpack_require__(/*! ./blocks/blockquote/block.js */ 666);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__blocks_marketing_button_block_js__ = __webpack_require__(/*! ./blocks/marketing-button/block.js */ 674);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__blocks_table_of_contents_block_js__ = __webpack_require__(/*! ./blocks/table-of-contents/block.js */ 681);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__blocks_how_to_block_js__ = __webpack_require__(/*! ./blocks/how-to/block.js */ 689);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__blocks_faq_block_js__ = __webpack_require__(/*! ./blocks/faq/block.js */ 696);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__blocks_faq_child_block_js__ = __webpack_require__(/*! ./blocks/faq-child/block.js */ 703);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__blocks_inline_notice_block_js__ = __webpack_require__(/*! ./blocks/inline-notice/block.js */ 709);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__blocks_wp_search_block_js__ = __webpack_require__(/*! ./blocks/wp-search/block.js */ 716);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__blocks_review_block_js__ = __webpack_require__(/*! ./blocks/review/block.js */ 723);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__blocks_taxonomy_list_block_js__ = __webpack_require__(/*! ./blocks/taxonomy-list/block.js */ 731);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__blocks_forms_block_js__ = __webpack_require__(/*! ./blocks/forms/block.js */ 736);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__blocks_forms_child_blocks_name_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/name/block.js */ 744);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__blocks_forms_child_blocks_email_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/email/block.js */ 749);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__blocks_forms_child_blocks_hidden_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/hidden/block.js */ 754);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__blocks_forms_child_blocks_phone_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/phone/block.js */ 758);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__blocks_forms_child_blocks_textarea_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/textarea/block.js */ 763);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__blocks_forms_child_blocks_checkbox_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/checkbox/block.js */ 767);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__blocks_forms_child_blocks_radio_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/radio/block.js */ 772);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__blocks_forms_child_blocks_url_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/url/block.js */ 777);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__blocks_forms_child_blocks_select_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/select/block.js */ 781);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__blocks_forms_child_blocks_toggle_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/toggle/block.js */ 786);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__blocks_forms_child_blocks_date_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/date/block.js */ 791);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__blocks_forms_child_blocks_accept_block_js__ = __webpack_require__(/*! ./blocks/forms/child-blocks/accept/block.js */ 796);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__blocks_extensions_block_js__ = __webpack_require__(/*! ./blocks/extensions/block.js */ 801);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__blocks_tabs_block_js__ = __webpack_require__(/*! ./blocks/tabs/block.js */ 803);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__blocks_tabs_child_block_js__ = __webpack_require__(/*! ./blocks/tabs-child/block.js */ 810);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__blocks_lottie_block_js__ = __webpack_require__(/*! ./blocks/lottie/block.js */ 815);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../dist/blocks/uagb-controls/block-icons */ 1);
+/**
+ * Gutenberg Blocks
+ *
+ * All blocks related JavaScript files should be imported here.
+ * You can create a new block folder in this dir and include code
+ * for that block here as well.
+ *
+ * All blocks should be included here since this is the file that
+ * Webpack is compiling as the input file.
*/
-function stackHas(key) {
- return this.__data__.has(key);
-}
-module.exports = stackHas;
-/***/ }),
-/* 203 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_stackSet.js ***!
- \******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var ListCache = __webpack_require__(/*! ./_ListCache */ 35),
- Map = __webpack_require__(/*! ./_Map */ 53),
- MapCache = __webpack_require__(/*! ./_MapCache */ 55);
-/** Used as the size to enable large array optimizations. */
-var LARGE_ARRAY_SIZE = 200;
-/**
- * Sets the stack `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf Stack
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the stack cache instance.
- */
-function stackSet(key, value) {
- var data = this.__data__;
- if (data instanceof ListCache) {
- var pairs = data.__data__;
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
- pairs.push([key, value]);
- this.size = ++data.size;
- return this;
- }
- data = this.__data__ = new MapCache(pairs);
- }
- data.set(key, value);
- this.size = data.size;
- return this;
-}
-module.exports = stackSet;
-/***/ }),
-/* 204 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_baseIsNative.js ***!
- \**********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var isFunction = __webpack_require__(/*! ./isFunction */ 112),
- isMasked = __webpack_require__(/*! ./_isMasked */ 207),
- isObject = __webpack_require__(/*! ./isObject */ 13),
- toSource = __webpack_require__(/*! ./_toSource */ 114);
-/**
- * Used to match `RegExp`
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
- */
-var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
-/** Used to detect host constructors (Safari). */
-var reIsHostCtor = /^\[object .+?Constructor\]$/;
-/** Used for built-in method references. */
-var funcProto = Function.prototype,
- objectProto = Object.prototype;
-/** Used to resolve the decompiled source of functions. */
-var funcToString = funcProto.toString;
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
-/** Used to detect if a method is native. */
-var reIsNative = RegExp('^' +
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
-);
-/**
- * The base implementation of `_.isNative` without bad shim checks.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a native function,
- * else `false`.
- */
-function baseIsNative(value) {
- if (!isObject(value) || isMasked(value)) {
- return false;
- }
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
- return pattern.test(toSource(value));
-}
-module.exports = baseIsNative;
-/***/ }),
-/* 205 */
-/*!*******************************************!*\
- !*** ./node_modules/lodash/_getRawTag.js ***!
- \*******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var Symbol = __webpack_require__(/*! ./_Symbol */ 22);
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
-/**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
-var nativeObjectToString = objectProto.toString;
-/** Built-in value references. */
-var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
-/**
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the raw `toStringTag`.
- */
-function getRawTag(value) {
- var isOwn = hasOwnProperty.call(value, symToStringTag),
- tag = value[symToStringTag];
- try {
- value[symToStringTag] = undefined;
- var unmasked = true;
- } catch (e) {}
- var result = nativeObjectToString.call(value);
- if (unmasked) {
- if (isOwn) {
- value[symToStringTag] = tag;
- } else {
- delete value[symToStringTag];
- }
- }
- return result;
-}
-module.exports = getRawTag;
-/***/ }),
-/* 206 */
-/*!************************************************!*\
- !*** ./node_modules/lodash/_objectToString.js ***!
- \************************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
-/**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
-var nativeObjectToString = objectProto.toString;
-/**
- * Converts `value` to a string using `Object.prototype.toString`.
- *
- * @private
- * @param {*} value The value to convert.
- * @returns {string} Returns the converted string.
- */
-function objectToString(value) {
- return nativeObjectToString.call(value);
-}
-module.exports = objectToString;
-/***/ }),
-/* 207 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_isMasked.js ***!
- \******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var coreJsData = __webpack_require__(/*! ./_coreJsData */ 208);
-/** Used to detect methods masquerading as native. */
-var maskSrcKey = (function() {
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
- return uid ? ('Symbol(src)_1.' + uid) : '';
-}());
-/**
- * Checks if `func` has its source masked.
- *
- * @private
- * @param {Function} func The function to check.
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
- */
-function isMasked(func) {
- return !!maskSrcKey && (maskSrcKey in func);
-}
-module.exports = isMasked;
-/***/ }),
-/* 208 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_coreJsData.js ***!
- \********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var root = __webpack_require__(/*! ./_root */ 12);
-/** Used to detect overreaching core-js shims. */
-var coreJsData = root['__core-js_shared__'];
-module.exports = coreJsData;
-/***/ }),
-/* 209 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_getValue.js ***!
- \******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
-/**
- * Gets the value at `key` of `object`.
- *
- * @private
- * @param {Object} [object] The object to query.
- * @param {string} key The key of the property to get.
- * @returns {*} Returns the property value.
- */
-function getValue(object, key) {
- return object == null ? undefined : object[key];
-}
-module.exports = getValue;
-/***/ }),
-/* 210 */
-/*!***********************************************!*\
- !*** ./node_modules/lodash/_mapCacheClear.js ***!
- \***********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+var updateCategory = wp.blocks.updateCategory;
-var Hash = __webpack_require__(/*! ./_Hash */ 211),
- ListCache = __webpack_require__(/*! ./_ListCache */ 35),
- Map = __webpack_require__(/*! ./_Map */ 53);
-
-/**
- * Removes all key-value entries from the map.
- *
- * @private
- * @name clear
- * @memberOf MapCache
- */
-function mapCacheClear() {
- this.size = 0;
- this.__data__ = {
- 'hash': new Hash,
- 'map': new (Map || ListCache),
- 'string': new Hash
- };
-}
-
-module.exports = mapCacheClear;
+updateCategory("uagb", {
+ icon: __WEBPACK_IMPORTED_MODULE_49__dist_blocks_uagb_controls_block_icons__["a" /* default */].logo
+});
/***/ }),
-/* 211 */
-/*!**************************************!*\
- !*** ./node_modules/lodash/_Hash.js ***!
- \**************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+/* 254 */
+/*!*********************************************!*\
+ !*** ./src/blocks/extensions/attributes.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports) {
-var hashClear = __webpack_require__(/*! ./_hashClear */ 212),
- hashDelete = __webpack_require__(/*! ./_hashDelete */ 213),
- hashGet = __webpack_require__(/*! ./_hashGet */ 214),
- hashHas = __webpack_require__(/*! ./_hashHas */ 215),
- hashSet = __webpack_require__(/*! ./_hashSet */ 216);
+function addAttributes(settings) {
+ var excludeBlock = ['wpforms/form-selector'];
-/**
- * Creates a hash object.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
-function Hash(entries) {
- var index = -1,
- length = entries == null ? 0 : entries.length;
+ if (!excludeBlock.includes(settings.name)) {
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
+ if (settings.attributes) {
+ settings.attributes = Object.assign(settings.attributes, {
+ UAGUserRole: {
+ type: "string"
+ },
+ UAGBrowser: {
+ type: "string"
+ },
+ UAGSystem: {
+ type: "string"
+ },
+ UAGDisplayConditions: {
+ type: "string"
+ },
+ UAGHideDesktop: {
+ type: "boolean",
+ default: false
+ },
+ UAGHideMob: {
+ type: "boolean",
+ default: false
+ },
+ UAGHideTab: {
+ type: "boolean",
+ default: false
+ },
+ UAGLoggedIn: {
+ type: "boolean",
+ default: false
+ },
+ UAGLoggedOut: {
+ type: "boolean",
+ default: false
+ }
+ });
+ }
+ }
+ return settings;
}
-// Add methods to `Hash`.
-Hash.prototype.clear = hashClear;
-Hash.prototype['delete'] = hashDelete;
-Hash.prototype.get = hashGet;
-Hash.prototype.has = hashHas;
-Hash.prototype.set = hashSet;
-
-module.exports = Hash;
-
+wp.hooks.addFilter('blocks.registerBlockType', 'uagb/advanced-control-block', addAttributes);
/***/ }),
-/* 212 */
-/*!*******************************************!*\
- !*** ./node_modules/lodash/_hashClear.js ***!
- \*******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 38);
+/* 255 */
+/*!**********************************************!*\
+ !*** ./src/blocks/advanced-heading/block.js ***!
+ \**********************************************/
+/*! no exports provided */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-/**
- * Removes all key-value entries from the hash.
- *
- * @private
- * @name clear
- * @memberOf Hash
+"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/block-icons */ 1);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attributes__ = __webpack_require__(/*! ./attributes */ 146);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__edit__ = __webpack_require__(/*! ./edit */ 256);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__save__ = __webpack_require__(/*! ./save */ 380);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecated__ = __webpack_require__(/*! ./deprecated */ 381);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss__ = __webpack_require__(/*! ./style.scss */ 183);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__style_scss__);
+/**
+ * BLOCK: Advanced Heading
*/
-function hashClear() {
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
- this.size = 0;
-}
-
-module.exports = hashClear;
-
-
-/***/ }),
-/* 213 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_hashDelete.js ***!
- \********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
-/**
- * Removes `key` and its value from the hash.
- *
- * @private
- * @name delete
- * @memberOf Hash
- * @param {Object} hash The hash to modify.
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
-function hashDelete(key) {
- var result = this.has(key) && delete this.__data__[key];
- this.size -= result ? 1 : 0;
- return result;
-}
-module.exports = hashDelete;
-/***/ }),
-/* 214 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_hashGet.js ***!
- \*****************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 38);
-/** Used to stand-in for `undefined` hash values. */
-var HASH_UNDEFINED = '__lodash_hash_undefined__';
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+var __ = wp.i18n.__;
+var _wp$blocks = wp.blocks,
+ registerBlockType = _wp$blocks.registerBlockType,
+ createBlock = _wp$blocks.createBlock;
-/**
- * Gets the hash value for `key`.
- *
- * @private
- * @name get
- * @memberOf Hash
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
-function hashGet(key) {
- var data = this.__data__;
- if (nativeCreate) {
- var result = data[key];
- return result === HASH_UNDEFINED ? undefined : result;
- }
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
-}
-module.exports = hashGet;
+registerBlockType("uagb/advanced-heading", {
+ title: uagb_blocks_info.blocks["uagb/advanced-heading"]["title"],
+ description: uagb_blocks_info.blocks["uagb/advanced-heading"]["description"],
+ icon: __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_block_icons__["a" /* default */].advanced_heading,
+ keywords: [__("advanced heading", 'ultimate-addons-for-gutenberg'), __("uag", 'ultimate-addons-for-gutenberg'), __("heading", 'ultimate-addons-for-gutenberg')],
+ supports: {
+ anchor: true
+ },
+ example: {
+ attributes: {
+ headingTitle: __('Write a Heading', 'ultimate-addons-for-gutenberg'),
+ headingDesc: __('Write a Description', 'ultimate-addons-for-gutenberg')
+ }
+ },
+ category: uagb_blocks_info.category,
+ attributes: __WEBPACK_IMPORTED_MODULE_1__attributes__["a" /* default */],
+ edit: __WEBPACK_IMPORTED_MODULE_2__edit__["a" /* default */],
+ save: __WEBPACK_IMPORTED_MODULE_3__save__["a" /* default */],
+ deprecated: __WEBPACK_IMPORTED_MODULE_4__deprecated__["a" /* default */],
+ transforms: {
+ from: [{
+ type: 'block',
+ blocks: ['core/heading'],
+ transform: function transform(attributes) {
+ return createBlock('uagb/advanced-heading', {
+ headingTitle: attributes.content,
+ headingAlign: attributes.align,
+ className: 'uagb-heading-text'
+ });
+ }
+ }, {
+ type: 'block',
+ blocks: ['core/quote'],
+ transform: function transform(attributes) {
+ return createBlock('uagb/advanced-heading', {
+ headingTitle: attributes.value,
+ headingDesc: attributes.citation,
+ className: 'uagb-heading-text'
+ });
+ }
+ }],
+ to: [{
+ type: 'block',
+ blocks: ['core/heading'],
+ transform: function transform(attributes) {
+ return createBlock('core/heading', {
+ content: attributes.headingTitle,
+ align: attributes.headingAlign,
+ className: 'uagb-heading-text'
+ });
+ }
+ }, {
+ type: 'block',
+ blocks: ['core/quote'],
+ transform: function transform(attributes) {
+ return createBlock('core/quote', {
+ value: "" + attributes.headingTitle + "
",
+ citation: attributes.headingDesc,
+ className: 'uagb-heading-text'
+ });
+ }
+ }]
+ }
+});
/***/ }),
-/* 215 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_hashHas.js ***!
- \*****************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+/* 256 */
+/*!*********************************************!*\
+ !*** ./src/blocks/advanced-heading/edit.js ***!
+ \*********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 38);
+"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__styling__ = __webpack_require__(/*! ./styling */ 257);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_typography__ = __webpack_require__(/*! ../../components/typography */ 7);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__ = __webpack_require__(/*! ../../components/typography/fontloader */ 8);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss__ = __webpack_require__(/*! ./style.scss */ 183);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__style_scss__);
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-/**
- * Checks if a hash value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf Hash
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
-function hashHas(key) {
- var data = this.__data__;
- return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
-}
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-module.exports = hashHas;
+/**
+ * BLOCK: Advanced Heading
+ */
+// Import block dependencies and components.
-/***/ }),
-/* 216 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_hashSet.js ***!
- \*****************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 38);
-/** Used to stand-in for `undefined` hash values. */
-var HASH_UNDEFINED = '__lodash_hash_undefined__';
+// Import all of our Text Options requirements.
-/**
- * Sets the hash `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf Hash
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the hash instance.
- */
-function hashSet(key, value) {
- var data = this.__data__;
- this.size += this.has(key) ? 0 : 1;
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
- return this;
-}
-module.exports = hashSet;
+// Import Web font loader for google fonts.
-/***/ }),
-/* 217 */
-/*!************************************************!*\
- !*** ./node_modules/lodash/_mapCacheDelete.js ***!
- \************************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+// Import CSS.
-var getMapData = __webpack_require__(/*! ./_getMapData */ 39);
-/**
- * Removes `key` and its value from the map.
- *
- * @private
- * @name delete
- * @memberOf MapCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
-function mapCacheDelete(key) {
- var result = getMapData(this, key)['delete'](key);
- this.size -= result ? 1 : 0;
- return result;
-}
+var __ = wp.i18n.__;
+var createBlock = wp.blocks.createBlock;
+var _wp$blockEditor = wp.blockEditor,
+ AlignmentToolbar = _wp$blockEditor.AlignmentToolbar,
+ BlockControls = _wp$blockEditor.BlockControls,
+ InspectorControls = _wp$blockEditor.InspectorControls,
+ RichText = _wp$blockEditor.RichText,
+ ColorPalette = _wp$blockEditor.ColorPalette;
+var _wp$components = wp.components,
+ PanelBody = _wp$components.PanelBody,
+ SelectControl = _wp$components.SelectControl,
+ RangeControl = _wp$components.RangeControl,
+ ButtonGroup = _wp$components.ButtonGroup,
+ Button = _wp$components.Button;
+var withSelect = wp.data.withSelect;
+var _wp$element = wp.element,
+ Component = _wp$element.Component,
+ Fragment = _wp$element.Fragment;
-module.exports = mapCacheDelete;
+var UAGBAdvancedHeading = function (_Component) {
+ _inherits(UAGBAdvancedHeading, _Component);
+ function UAGBAdvancedHeading() {
+ _classCallCheck(this, UAGBAdvancedHeading);
-/***/ }),
-/* 218 */
-/*!*******************************************!*\
- !*** ./node_modules/lodash/_isKeyable.js ***!
- \*******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
+ var _this = _possibleConstructorReturn(this, (UAGBAdvancedHeading.__proto__ || Object.getPrototypeOf(UAGBAdvancedHeading)).apply(this, arguments));
-/**
- * Checks if `value` is suitable for use as unique object key.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
- */
-function isKeyable(value) {
- var type = typeof value;
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
- ? (value !== '__proto__')
- : (value === null);
-}
+ _this.splitBlock = _this.splitBlock.bind(_this);
+ return _this;
+ }
-module.exports = isKeyable;
+ _createClass(UAGBAdvancedHeading, [{
+ key: "componentDidMount",
+ value: function componentDidMount() {
+ // Assigning block_id in the attribute.
+ this.props.setAttributes({ block_id: this.props.clientId.substr(0, 8) });
-/***/ }),
-/* 219 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_mapCacheGet.js ***!
- \*********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+ // Assigning block_id in the attribute.
+ this.props.setAttributes({ classMigrate: true });
-var getMapData = __webpack_require__(/*! ./_getMapData */ 39);
+ var level_val = parseInt(this.props.attributes.headingTag.replace('h', ''));
+ this.props.setAttributes({ level: level_val });
-/**
- * Gets the map value for `key`.
- *
- * @private
- * @name get
- * @memberOf MapCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
-function mapCacheGet(key) {
- return getMapData(this, key).get(key);
-}
+ // Pushing Style tag for this block css.
+ var $style = document.createElement("style");
+ $style.setAttribute("id", "uagb-adv-heading-style-" + this.props.clientId.substr(0, 8));
+ document.head.appendChild($style);
+ }
+ }, {
+ key: "componentDidUpdate",
+ value: function componentDidUpdate(prevProps, prevState) {
+ var element = document.getElementById("uagb-adv-heading-style-" + this.props.clientId.substr(0, 8));
-module.exports = mapCacheGet;
+ if (null !== element && undefined !== element) {
+ element.innerHTML = Object(__WEBPACK_IMPORTED_MODULE_1__styling__["a" /* default */])(this.props);
+ }
+ }
+ /*
+ * Heading Tag Change
+ */
-/***/ }),
-/* 220 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_mapCacheHas.js ***!
- \*********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+ }, {
+ key: "onTagChange",
+ value: function onTagChange(value) {
+ var setAttributes = this.props.setAttributes;
-var getMapData = __webpack_require__(/*! ./_getMapData */ 39);
-/**
- * Checks if a map value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf MapCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
-function mapCacheHas(key) {
- return getMapData(this, key).has(key);
-}
+ var level_val = parseInt(value.replace('h', ''));
-module.exports = mapCacheHas;
+ setAttributes({ level: level_val });
+ setAttributes({ headingTag: value });
+ }
+ }, {
+ key: "splitBlock",
+ value: function splitBlock(before, after) {
+ var _props = this.props,
+ attributes = _props.attributes,
+ insertBlocksAfter = _props.insertBlocksAfter,
+ setAttributes = _props.setAttributes,
+ onReplace = _props.onReplace;
+ for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
+ blocks[_key - 2] = arguments[_key];
+ }
-/***/ }),
-/* 221 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_mapCacheSet.js ***!
- \*********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+ if (after) {
+ // Append "After" content as a new paragraph block to the end of
+ // any other blocks being inserted after the current paragraph.
+ blocks.push(createBlock("core/paragraph", { content: after }));
+ }
-var getMapData = __webpack_require__(/*! ./_getMapData */ 39);
+ if (blocks.length && insertBlocksAfter) {
+ insertBlocksAfter(blocks);
+ }
-/**
- * Sets the map `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf MapCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the map cache instance.
- */
-function mapCacheSet(key, value) {
- var data = getMapData(this, key),
- size = data.size;
+ var content = attributes.content;
- data.set(key, value);
- this.size += data.size == size ? 0 : 1;
- return this;
-}
+ if (!before) {
+ // If before content is omitted, treat as intent to delete block.
+ onReplace([]);
+ } else if (content !== before) {
+ // Only update content if it has in-fact changed. In case that user
+ // has created a new paragraph at end of an existing one, the value
+ // of before will be strictly equal to the current content.
+ setAttributes({ content: before });
+ }
+ }
+ }, {
+ key: "render",
+ value: function render() {
+ var _this2 = this;
-module.exports = mapCacheSet;
+ // Setup the attributes
+ var _props2 = this.props,
+ className = _props2.className,
+ attributes = _props2.attributes,
+ setAttributes = _props2.setAttributes,
+ insertBlocksAfter = _props2.insertBlocksAfter,
+ mergeBlocks = _props2.mergeBlocks,
+ onReplace = _props2.onReplace,
+ _props2$attributes = _props2.attributes,
+ headingTitle = _props2$attributes.headingTitle,
+ headingDesc = _props2$attributes.headingDesc,
+ headingAlign = _props2$attributes.headingAlign,
+ headingColor = _props2$attributes.headingColor,
+ subHeadingColor = _props2$attributes.subHeadingColor,
+ separatorColor = _props2$attributes.separatorColor,
+ headingTag = _props2$attributes.headingTag,
+ headFontFamily = _props2$attributes.headFontFamily,
+ headFontWeight = _props2$attributes.headFontWeight,
+ headFontSubset = _props2$attributes.headFontSubset,
+ headFontSizeType = _props2$attributes.headFontSizeType,
+ headFontSize = _props2$attributes.headFontSize,
+ headFontSizeMobile = _props2$attributes.headFontSizeMobile,
+ headFontSizeTablet = _props2$attributes.headFontSizeTablet,
+ headLineHeightType = _props2$attributes.headLineHeightType,
+ headLineHeight = _props2$attributes.headLineHeight,
+ headLineHeightMobile = _props2$attributes.headLineHeightMobile,
+ headLineHeightTablet = _props2$attributes.headLineHeightTablet,
+ subHeadFontFamily = _props2$attributes.subHeadFontFamily,
+ subHeadFontWeight = _props2$attributes.subHeadFontWeight,
+ subHeadFontSubset = _props2$attributes.subHeadFontSubset,
+ subHeadFontSize = _props2$attributes.subHeadFontSize,
+ subHeadFontSizeType = _props2$attributes.subHeadFontSizeType,
+ subHeadFontSizeMobile = _props2$attributes.subHeadFontSizeMobile,
+ subHeadFontSizeTablet = _props2$attributes.subHeadFontSizeTablet,
+ subHeadLineHeight = _props2$attributes.subHeadLineHeight,
+ subHeadLineHeightType = _props2$attributes.subHeadLineHeightType,
+ subHeadLineHeightMobile = _props2$attributes.subHeadLineHeightMobile,
+ subHeadLineHeightTablet = _props2$attributes.subHeadLineHeightTablet,
+ separatorWidth = _props2$attributes.separatorWidth,
+ separatorWidthType = _props2$attributes.separatorWidthType,
+ seperatorStyle = _props2$attributes.seperatorStyle,
+ separatorHeight = _props2$attributes.separatorHeight,
+ headSpace = _props2$attributes.headSpace,
+ separatorSpace = _props2$attributes.separatorSpace,
+ headLoadGoogleFonts = _props2$attributes.headLoadGoogleFonts,
+ subHeadLoadGoogleFonts = _props2$attributes.subHeadLoadGoogleFonts;
-/***/ }),
-/* 222 */
-/*!*************************************************!*\
- !*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
- \*************************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+ var loadHeadingGoogleFonts = void 0;
+ var loadSubHeadingGoogleFonts = void 0;
-var Stack = __webpack_require__(/*! ./_Stack */ 52),
- equalArrays = __webpack_require__(/*! ./_equalArrays */ 116),
- equalByTag = __webpack_require__(/*! ./_equalByTag */ 228),
- equalObjects = __webpack_require__(/*! ./_equalObjects */ 231),
- getTag = __webpack_require__(/*! ./_getTag */ 44),
- isArray = __webpack_require__(/*! ./isArray */ 14),
- isBuffer = __webpack_require__(/*! ./isBuffer */ 59),
- isTypedArray = __webpack_require__(/*! ./isTypedArray */ 123);
+ if (headLoadGoogleFonts == true) {
-/** Used to compose bitmasks for value comparisons. */
-var COMPARE_PARTIAL_FLAG = 1;
-
-/** `Object#toString` result references. */
-var argsTag = '[object Arguments]',
- arrayTag = '[object Array]',
- objectTag = '[object Object]';
-
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
+ var hconfig = {
+ google: {
+ families: [headFontFamily + (headFontWeight ? ':' + headFontWeight : '')]
+ }
+ };
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+ loadHeadingGoogleFonts = wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__["a" /* default */], { config: hconfig });
+ }
-/**
- * A specialized version of `baseIsEqual` for arrays and objects which performs
- * deep comparisons and tracks traversed objects enabling objects with circular
- * references to be compared.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} [stack] Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
- */
-function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
- var objIsArr = isArray(object),
- othIsArr = isArray(other),
- objTag = objIsArr ? arrayTag : getTag(object),
- othTag = othIsArr ? arrayTag : getTag(other);
+ if (subHeadLoadGoogleFonts == true) {
- objTag = objTag == argsTag ? objectTag : objTag;
- othTag = othTag == argsTag ? objectTag : othTag;
+ var sconfig = {
+ google: {
+ families: [subHeadFontFamily + (subHeadFontWeight ? ':' + subHeadFontWeight : '')]
+ }
+ };
- var objIsObj = objTag == objectTag,
- othIsObj = othTag == objectTag,
- isSameTag = objTag == othTag;
+ loadSubHeadingGoogleFonts = wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_typography_fontloader__["a" /* default */], { config: sconfig });
+ }
- if (isSameTag && isBuffer(object)) {
- if (!isBuffer(other)) {
- return false;
- }
- objIsArr = true;
- objIsObj = false;
- }
- if (isSameTag && !objIsObj) {
- stack || (stack = new Stack);
- return (objIsArr || isTypedArray(object))
- ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
- : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
- }
- if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
- othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
+ return wp.element.createElement(
+ Fragment,
+ null,
+ wp.element.createElement(
+ BlockControls,
+ { key: "controls" },
+ wp.element.createElement(AlignmentToolbar, {
+ value: headingAlign,
+ onChange: function onChange(value) {
+ return setAttributes({ headingAlign: value });
+ }
+ })
+ ),
+ wp.element.createElement(
+ InspectorControls,
+ null,
+ wp.element.createElement(
+ PanelBody,
+ { title: __("Advanced Heading", 'ultimate-addons-for-gutenberg') },
+ wp.element.createElement(
+ "h2",
+ null,
+ __("Heading", 'ultimate-addons-for-gutenberg')
+ ),
+ wp.element.createElement(SelectControl, {
+ label: __("Heading Tag", 'ultimate-addons-for-gutenberg'),
+ value: headingTag,
+ onChange: function onChange(value) {
+ _this2.onTagChange(value);
+ },
+ options: [{ value: "h1", label: __("H1", 'ultimate-addons-for-gutenberg') }, { value: "h2", label: __("H2", 'ultimate-addons-for-gutenberg') }, { value: "h3", label: __("H3", 'ultimate-addons-for-gutenberg') }, { value: "h4", label: __("H4", 'ultimate-addons-for-gutenberg') }, { value: "h5", label: __("H5", 'ultimate-addons-for-gutenberg') }, { value: "h6", label: __("H6", 'ultimate-addons-for-gutenberg') }]
+ }),
+ wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
+ label: __("Typography", 'ultimate-addons-for-gutenberg'),
+ attributes: attributes,
+ setAttributes: setAttributes,
+ loadGoogleFonts: { value: headLoadGoogleFonts, label: 'headLoadGoogleFonts' },
+ fontFamily: { value: headFontFamily, label: 'headFontFamily' },
+ fontWeight: { value: headFontWeight, label: 'headFontWeight' },
+ fontSubset: { value: headFontSubset, label: 'headFontSubset' },
+ fontSizeType: { value: headFontSizeType, label: 'headFontSizeType' },
+ fontSize: { value: headFontSize, label: 'headFontSize' },
+ fontSizeMobile: { value: headFontSizeMobile, label: 'headFontSizeMobile' },
+ fontSizeTablet: { value: headFontSizeTablet, label: 'headFontSizeTablet' },
+ lineHeightType: { value: headLineHeightType, label: 'headLineHeightType' },
+ lineHeight: { value: headLineHeight, label: 'headLineHeight' },
+ lineHeightMobile: { value: headLineHeightMobile, label: 'headLineHeightMobile' },
+ lineHeightTablet: { value: headLineHeightTablet, label: 'headLineHeightTablet' }
+ }),
+ wp.element.createElement(
+ "p",
+ { className: "uagb-setting-label" },
+ __("Heading Color", 'ultimate-addons-for-gutenberg'),
+ wp.element.createElement(
+ "span",
+ { className: "components-base-control__label" },
+ wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: headingColor } })
+ )
+ ),
+ wp.element.createElement(ColorPalette, {
+ value: headingColor,
+ onChange: function onChange(value) {
+ return setAttributes({ headingColor: value });
+ },
+ allowReset: true
+ }),
+ wp.element.createElement("hr", { className: "uagb-editor__separator" }),
+ wp.element.createElement(
+ "h2",
+ null,
+ __("Sub-Heading", 'ultimate-addons-for-gutenberg')
+ ),
+ wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_typography__["a" /* default */], {
+ label: __("Typography", 'ultimate-addons-for-gutenberg'),
+ attributes: attributes,
+ setAttributes: setAttributes,
+ loadGoogleFonts: { value: subHeadLoadGoogleFonts, label: 'subHeadLoadGoogleFonts' },
+ fontFamily: { value: subHeadFontFamily, label: 'subHeadFontFamily' },
+ fontWeight: { value: subHeadFontWeight, label: 'subHeadFontWeight' },
+ fontSubset: { value: subHeadFontSubset, label: 'subHeadFontSubset' },
+ fontSizeType: { value: subHeadFontSizeType, label: 'subHeadFontSizeType' },
+ fontSize: { value: subHeadFontSize, label: 'subHeadFontSize' },
+ fontSizeMobile: { value: subHeadFontSizeMobile, label: 'subHeadFontSizeMobile' },
+ fontSizeTablet: { value: subHeadFontSizeTablet, label: 'subHeadFontSizeTablet' },
+ lineHeightType: { value: subHeadLineHeightType, label: 'subHeadLineHeightType' },
+ lineHeight: { value: subHeadLineHeight, label: 'subHeadLineHeight' },
+ lineHeightMobile: { value: subHeadLineHeightMobile, label: 'subHeadLineHeightMobile' },
+ lineHeightTablet: { value: subHeadLineHeightTablet, label: 'subHeadLineHeightTablet' }
+ }),
+ wp.element.createElement(
+ "p",
+ { className: "uagb-setting-label" },
+ __("Sub Heading Color", 'ultimate-addons-for-gutenberg'),
+ wp.element.createElement(
+ "span",
+ { className: "components-base-control__label" },
+ wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: subHeadingColor } })
+ )
+ ),
+ wp.element.createElement(ColorPalette, {
+ value: subHeadingColor,
+ onChange: function onChange(value) {
+ return setAttributes({ subHeadingColor: value });
+ },
+ allowReset: true
+ })
+ ),
+ wp.element.createElement(
+ PanelBody,
+ { title: __("Separator", 'ultimate-addons-for-gutenberg'), initialOpen: false },
+ wp.element.createElement(SelectControl, {
+ label: __("Style", 'ultimate-addons-for-gutenberg'),
+ value: seperatorStyle,
+ onChange: function onChange(value) {
+ return setAttributes({ seperatorStyle: value });
+ },
+ options: [{ value: "none", label: __("None", 'ultimate-addons-for-gutenberg') }, { value: "solid", label: __("Solid", 'ultimate-addons-for-gutenberg') }, { value: "double", label: __("Double", 'ultimate-addons-for-gutenberg') }, { value: "dashed", label: __("Dashed", 'ultimate-addons-for-gutenberg') }, { value: "dotted", label: __("Dotted", 'ultimate-addons-for-gutenberg') }]
+ }),
+ seperatorStyle !== "none" && wp.element.createElement(
+ Fragment,
+ null,
+ wp.element.createElement(RangeControl, {
+ label: __("Thickness (px)", 'ultimate-addons-for-gutenberg'),
+ value: separatorHeight,
+ onChange: function onChange(value) {
+ return setAttributes({ separatorHeight: value });
+ },
+ min: 0,
+ max: 20,
+ beforeIcon: "",
+ allowReset: true,
+ initialPosition: 3
+ }),
+ wp.element.createElement(
+ ButtonGroup,
+ { className: "uagb-size-type-field", "aria-label": __("Size Type", 'ultimate-addons-for-gutenberg') },
+ wp.element.createElement(
+ Button,
+ { key: "px", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "px", "aria-pressed": separatorWidthType === "px", onClick: function onClick() {
+ return setAttributes({ separatorWidthType: "px" });
+ } },
+ "px"
+ ),
+ wp.element.createElement(
+ Button,
+ { key: "%", className: "uagb-size-btn", isSmall: true, isPrimary: separatorWidthType === "%", "aria-pressed": separatorWidthType === "%", onClick: function onClick() {
+ return setAttributes({ separatorWidthType: "%" });
+ } },
+ "%"
+ )
+ ),
+ wp.element.createElement(RangeControl, {
+ label: __("Width", 'ultimate-addons-for-gutenberg'),
+ value: separatorWidth,
+ onChange: function onChange(value) {
+ return setAttributes({ separatorWidth: value });
+ },
+ min: 0,
+ max: "%" == separatorWidthType ? 100 : 500,
+ beforeIcon: "",
+ allowReset: true,
+ initialPosition: 20
+ }),
+ seperatorStyle !== "none" && wp.element.createElement(
+ Fragment,
+ null,
+ wp.element.createElement(
+ "p",
+ { className: "uagb-setting-label" },
+ __("Separator Color", 'ultimate-addons-for-gutenberg'),
+ wp.element.createElement(
+ "span",
+ { className: "components-base-control__label" },
+ wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: separatorColor } })
+ )
+ ),
+ wp.element.createElement(ColorPalette, {
+ value: separatorColor,
+ onChange: function onChange(colorValue) {
+ return setAttributes({ separatorColor: colorValue });
+ },
+ allowReset: true
+ })
+ )
+ )
+ ),
+ wp.element.createElement(
+ PanelBody,
+ { title: __("Spacing", 'ultimate-addons-for-gutenberg'), initialOpen: false },
+ wp.element.createElement(RangeControl, {
+ label: __("Heading Bottom Spacing (px)", 'ultimate-addons-for-gutenberg'),
+ value: headSpace,
+ onChange: function onChange(value) {
+ return setAttributes({ headSpace: value });
+ },
+ min: 0,
+ max: 500,
+ beforeIcon: "",
+ allowReset: true,
+ initialPosition: 0
+ }),
+ seperatorStyle !== "none" && wp.element.createElement(RangeControl, {
+ label: __("Separator Bottom Spacing (px)", 'ultimate-addons-for-gutenberg'),
+ value: separatorSpace,
+ onChange: function onChange(value) {
+ return setAttributes({ separatorSpace: value });
+ },
+ min: 0,
+ max: 500,
+ beforeIcon: "",
+ allowReset: true,
+ initialPosition: 0
+ })
+ )
+ ),
+ wp.element.createElement(
+ "div",
+ {
+ className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, "uagb-block-" + this.props.clientId.substr(0, 8))
+ },
+ wp.element.createElement(RichText, {
+ tagName: headingTag,
+ placeholder: __("Write a Heading", 'ultimate-addons-for-gutenberg'),
+ value: headingTitle,
+ className: "uagb-heading-text",
+ multiline: false,
+ onChange: function onChange(value) {
+ setAttributes({ headingTitle: value });
+ },
+ onMerge: mergeBlocks,
+ onSplit: insertBlocksAfter ? function (before, after) {
+ for (var _len2 = arguments.length, blocks = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
+ blocks[_key2 - 2] = arguments[_key2];
+ }
- if (objIsWrapped || othIsWrapped) {
- var objUnwrapped = objIsWrapped ? object.value() : object,
- othUnwrapped = othIsWrapped ? other.value() : other;
+ setAttributes({ content: before });
+ insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
+ } : undefined,
+ onRemove: function onRemove() {
+ return onReplace([]);
+ }
+ }),
+ seperatorStyle !== "none" && wp.element.createElement(
+ "div",
+ { className: "uagb-separator-wrap" },
+ wp.element.createElement("div", { className: "uagb-separator" })
+ ),
+ wp.element.createElement(RichText, {
+ tagName: "p",
+ placeholder: __("Write a Description", 'ultimate-addons-for-gutenberg'),
+ value: headingDesc,
+ className: "uagb-desc-text",
+ onChange: function onChange(value) {
+ return setAttributes({ headingDesc: value });
+ },
+ onMerge: mergeBlocks,
+ onSplit: this.splitBlock,
+ onRemove: function onRemove() {
+ return onReplace([]);
+ }
+ })
+ ),
+ loadHeadingGoogleFonts,
+ loadSubHeadingGoogleFonts
+ );
+ }
+ }]);
- stack || (stack = new Stack);
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
- }
- }
- if (!isSameTag) {
- return false;
- }
- stack || (stack = new Stack);
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
-}
+ return UAGBAdvancedHeading;
+}(Component);
-module.exports = baseIsEqualDeep;
+/* harmony default export */ __webpack_exports__["a"] = (withSelect(function (select, props) {
+ var attributes = props.attributes;
+ return {
+ anchor: attributes.headingId
+ };
+})(UAGBAdvancedHeading));
/***/ }),
-/* 223 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_SetCache.js ***!
- \******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var MapCache = __webpack_require__(/*! ./_MapCache */ 55),
- setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ 224),
- setCacheHas = __webpack_require__(/*! ./_setCacheHas */ 225);
+/* 257 */
+/*!************************************************!*\
+ !*** ./src/blocks/advanced-heading/styling.js ***!
+ \************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-/**
- *
- * Creates an array cache object to store unique values.
- *
- * @private
- * @constructor
- * @param {Array} [values] The values to cache.
+"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
+/**
+ * Returns Dynamic Generated CSS
*/
-function SetCache(values) {
- var index = -1,
- length = values == null ? 0 : values.length;
- this.__data__ = new MapCache;
- while (++index < length) {
- this.add(values[index]);
- }
-}
-// Add methods to `SetCache`.
-SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
-SetCache.prototype.has = setCacheHas;
-module.exports = SetCache;
+function styling(props) {
+ var _props$attributes = props.attributes,
+ classMigrate = _props$attributes.classMigrate,
+ headingAlign = _props$attributes.headingAlign,
+ headingTag = _props$attributes.headingTag,
+ headingColor = _props$attributes.headingColor,
+ headSpace = _props$attributes.headSpace,
+ seperatorStyle = _props$attributes.seperatorStyle,
+ separatorHeight = _props$attributes.separatorHeight,
+ separatorWidth = _props$attributes.separatorWidth,
+ separatorWidthType = _props$attributes.separatorWidthType,
+ separatorColor = _props$attributes.separatorColor,
+ separatorSpace = _props$attributes.separatorSpace,
+ subHeadingColor = _props$attributes.subHeadingColor,
+ headFontFamily = _props$attributes.headFontFamily,
+ headFontWeight = _props$attributes.headFontWeight,
+ headFontSize = _props$attributes.headFontSize,
+ headFontSizeType = _props$attributes.headFontSizeType,
+ headFontSizeMobile = _props$attributes.headFontSizeMobile,
+ headFontSizeTablet = _props$attributes.headFontSizeTablet,
+ headLineHeight = _props$attributes.headLineHeight,
+ headLineHeightType = _props$attributes.headLineHeightType,
+ headLineHeightMobile = _props$attributes.headLineHeightMobile,
+ headLineHeightTablet = _props$attributes.headLineHeightTablet,
+ subHeadFontFamily = _props$attributes.subHeadFontFamily,
+ subHeadFontWeight = _props$attributes.subHeadFontWeight,
+ subHeadFontSize = _props$attributes.subHeadFontSize,
+ subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
+ subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
+ subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
+ subHeadLineHeight = _props$attributes.subHeadLineHeight,
+ subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
+ subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
+ subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet;
-/***/ }),
-/* 224 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_setCacheAdd.js ***!
- \*********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
-/** Used to stand-in for `undefined` hash values. */
-var HASH_UNDEFINED = '__lodash_hash_undefined__';
+ var tablet_selectors = {};
+ var mobile_selectors = {};
-/**
- * Adds `value` to the array cache.
- *
- * @private
- * @name add
- * @memberOf SetCache
- * @alias push
- * @param {*} value The value to cache.
- * @returns {Object} Returns the cache instance.
- */
-function setCacheAdd(value) {
- this.__data__.set(value, HASH_UNDEFINED);
- return this;
-}
+ var selectors = {
+ " .uagb-separator-wrap": {
+ "text-align": headingAlign
+ },
+ " .block-editor-rich-text__editable.uagb-desc-text": {
+ "text-align": headingAlign,
+ "font-family": subHeadFontFamily,
+ "font-weight": subHeadFontWeight,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSize, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeight, subHeadLineHeightType),
+ "color": subHeadingColor
+ }
+ };
-module.exports = setCacheAdd;
+ selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
+ "text-align": headingAlign,
+ "font-family": headFontFamily,
+ "font-weight": headFontWeight,
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSize, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeight, headLineHeightType),
+ "color": headingColor,
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headSpace, "px")
+ };
+ if (seperatorStyle !== "none") {
+ selectors[" .uagb-separator"] = {
+ "border-top-style": seperatorStyle,
+ "border-top-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(separatorHeight, "px"),
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(separatorWidth, separatorWidthType),
+ "border-color": separatorColor,
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(separatorSpace, "px")
+ };
+ }
-/***/ }),
-/* 225 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_setCacheHas.js ***!
- \*********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
+ tablet_selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeTablet, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightTablet, headLineHeightType)
+ };
+ tablet_selectors[" .block-editor-rich-text__editable.uagb-desc-text"] = {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeTablet, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightTablet, subHeadLineHeightType)
+ };
-/**
- * Checks if `value` is in the array cache.
- *
- * @private
- * @name has
- * @memberOf SetCache
- * @param {*} value The value to search for.
- * @returns {number} Returns `true` if `value` is found, else `false`.
- */
-function setCacheHas(value) {
- return this.__data__.has(value);
-}
+ mobile_selectors[" " + headingTag + ".block-editor-rich-text__editable.uagb-heading-text"] = {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headFontSizeMobile, headFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(headLineHeightMobile, headLineHeightType)
+ };
+ mobile_selectors[" .block-editor-rich-text__editable.uagb-desc-text"] = {
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadFontSizeMobile, subHeadFontSizeType),
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(subHeadLineHeightMobile, subHeadLineHeightType)
+ };
-module.exports = setCacheHas;
+ var base_selector = ".block-editor-page #wpwrap .uagb-block-" + props.clientId.substr(0, 8);
+ var styling_css = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(selectors, base_selector);
-/***/ }),
-/* 226 */
-/*!*******************************************!*\
- !*** ./node_modules/lodash/_arraySome.js ***!
- \*******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(tablet_selectors, base_selector, true, "tablet");
-/**
- * A specialized version of `_.some` for arrays without support for iteratee
- * shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {boolean} Returns `true` if any element passes the predicate check,
- * else `false`.
- */
-function arraySome(array, predicate) {
- var index = -1,
- length = array == null ? 0 : array.length;
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(mobile_selectors, base_selector, true, "mobile");
- while (++index < length) {
- if (predicate(array[index], index, array)) {
- return true;
- }
- }
- return false;
+ return styling_css;
}
-module.exports = arraySome;
-
+/* harmony default export */ __webpack_exports__["a"] = (styling);
/***/ }),
-/* 227 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_cacheHas.js ***!
- \******************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
+/* 258 */
+/*!******************************************************!*\
+ !*** ./src/components/typography/font-typography.js ***!
+ \******************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
-/**
- * Checks if a `cache` value for `key` exists.
- *
- * @private
- * @param {Object} cache The cache to query.
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+"use strict";
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map__ = __webpack_require__(/*! lodash/map */ 16);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_map__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__fonts__ = __webpack_require__(/*! ./fonts */ 325);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_select__ = __webpack_require__(/*! react-select */ 326);
+var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+ * WordPress dependencies
*/
-function cacheHas(cache, key) {
- return cache.has(key);
-}
+var __ = wp.i18n.__;
+var SelectControl = wp.components.SelectControl;
-module.exports = cacheHas;
+// Extend component
+var _wp$element = wp.element,
+ Component = _wp$element.Component,
+ Fragment = _wp$element.Fragment;
-/***/ }),
-/* 228 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_equalByTag.js ***!
- \********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * Internal dependencies
+ */
-var Symbol = __webpack_require__(/*! ./_Symbol */ 22),
- Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 117),
- eq = __webpack_require__(/*! ./eq */ 37),
- equalArrays = __webpack_require__(/*! ./_equalArrays */ 116),
- mapToArray = __webpack_require__(/*! ./_mapToArray */ 229),
- setToArray = __webpack_require__(/*! ./_setToArray */ 230);
-/** Used to compose bitmasks for value comparisons. */
-var COMPARE_PARTIAL_FLAG = 1,
- COMPARE_UNORDERED_FLAG = 2;
-/** `Object#toString` result references. */
-var boolTag = '[object Boolean]',
- dateTag = '[object Date]',
- errorTag = '[object Error]',
- mapTag = '[object Map]',
- numberTag = '[object Number]',
- regexpTag = '[object RegExp]',
- setTag = '[object Set]',
- stringTag = '[object String]',
- symbolTag = '[object Symbol]';
-var arrayBufferTag = '[object ArrayBuffer]',
- dataViewTag = '[object DataView]';
-/** Used to convert symbols to primitives and strings. */
-var symbolProto = Symbol ? Symbol.prototype : undefined,
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
+function FontFamilyControl(props) {
-/**
- * A specialized version of `baseIsEqualDeep` for comparing objects of
- * the same `toStringTag`.
- *
- * **Note:** This function only supports comparing values with tags of
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {string} tag The `toStringTag` of the objects to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} stack Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
- */
-function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
- switch (tag) {
- case dataViewTag:
- if ((object.byteLength != other.byteLength) ||
- (object.byteOffset != other.byteOffset)) {
- return false;
- }
- object = object.buffer;
- other = other.buffer;
+ var fonts = [{ value: "", label: __("Default", 'ultimate-addons-for-gutenberg'), weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Arial", label: "Arial", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Helvetica", label: "Helvetica", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Times New Roman", label: "Times New Roman", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }, { value: "Georgia", label: "Georgia", weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], google: false }];
- case arrayBufferTag:
- if ((object.byteLength != other.byteLength) ||
- !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
- return false;
- }
- return true;
+ var fontWeight = "";
+ var fontSubset = "";
- case boolTag:
- case dateTag:
- case numberTag:
- // Coerce booleans to `1` or `0` and dates to milliseconds.
- // Invalid dates are coerced to `NaN`.
- return eq(+object, +other);
+ //Push Google Fonts into stytem fonts object
+ Object.keys(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */]).map(function (k, v) {
+ fonts.push({ value: k, label: k, weight: __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].weight });
- case errorTag:
- return object.name == other.name && object.message == other.message;
+ if (k === props.fontFamily.value) {
+ fontWeight = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].weight;
+ fontSubset = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][k].subset;
+ }
+ });
- case regexpTag:
- case stringTag:
- // Coerce regexes to strings and treat strings, primitives and objects,
- // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
- // for more details.
- return object == (other + '');
+ // check if the font is a system font and then apply the font weight accordingly.
+ if (fontWeight === "") {
+ fontWeight = fonts[0].weight;
+ }
- case mapTag:
- var convert = mapToArray;
+ var fontWeightObj = [];
- case setTag:
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
- convert || (convert = setToArray);
+ fontWeight.forEach(function (item) {
+ fontWeightObj.push({ value: item, label: item });
+ });
- if (object.size != other.size && !isPartial) {
- return false;
- }
- // Assume cyclic values are equal.
- var stacked = stack.get(object);
- if (stacked) {
- return stacked == other;
- }
- bitmask |= COMPARE_UNORDERED_FLAG;
+ var fontSubsetObj = [];
- // Recursively compare objects (susceptible to call stack limits).
- stack.set(object, other);
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
- stack['delete'](object);
- return result;
+ if ((typeof fontSubset === "undefined" ? "undefined" : _typeof(fontSubset)) == "object") {
+ fontSubset.forEach(function (item) {
+ fontSubsetObj.push({ value: item, label: item });
+ });
+ }
- case symbolTag:
- if (symbolValueOf) {
- return symbolValueOf.call(object) == symbolValueOf.call(other);
- }
- }
- return false;
-}
+ var onFontfamilyChange = function onFontfamilyChange(value) {
+ var loadGoogleFonts = props.loadGoogleFonts,
+ fontFamily = props.fontFamily,
+ fontWeight = props.fontWeight,
+ fontSubset = props.fontSubset;
-module.exports = equalByTag;
+ props.setAttributes(_defineProperty({}, fontFamily.label, value.label));
+ onLoadGoogleFonts(loadGoogleFonts, value.label);
+ onFontChange(fontWeight, fontSubset, value.label);
+ };
+ var onFontChange = function onFontChange(fontWeight, fontSubset, fontFamily) {
-/***/ }),
-/* 229 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_mapToArray.js ***!
- \********************************************/
-/*! no static exports found */
-/*! all exports used */
-/***/ (function(module, exports) {
+ var font_flag = void 0;
+ var new_value = void 0;
-/**
- * Converts `map` to its key-value pairs.
- *
- * @private
- * @param {Object} map The map to convert.
- * @returns {Array} Returns the key-value pairs.
- */
-function mapToArray(map) {
- var index = -1,
- result = Array(map.size);
+ if (_typeof(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily]) == "object") {
- map.forEach(function(value, key) {
- result[++index] = [key, value];
- });
- return result;
-}
+ var gfontsObj = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily].weight;
+ var gfontSubsetObj = __WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily].subset;
-module.exports = mapToArray;
+ if ((typeof gfontsObj === "undefined" ? "undefined" : _typeof(gfontsObj)) == "object") {
+
+ gfontsObj.forEach(function (item) {
+
+ if (fontWeight.value == item) {
+ font_flag = false;
+ } else {
+ new_value = item;
+ font_flag = true;
+ props.setAttributes(_defineProperty({}, props.fontWeight.label, new_value));
+ return;
+ }
+ });
+
+ gfontSubsetObj.forEach(function (item) {
+
+ if (fontSubset.value == item) {
+ font_flag = false;
+ } else {
+ new_value = item;
+ font_flag = true;
+ props.setAttributes(_defineProperty({}, props.fontSubset.label, new_value));
+ return;
+ }
+ });
+ }
+ }
+ };
+
+ var onLoadGoogleFonts = function onLoadGoogleFonts(loadGoogleFonts, fontFamily) {
+
+ var value = void 0;
+
+ if (fontFamily != "" && _typeof(__WEBPACK_IMPORTED_MODULE_1__fonts__["a" /* default */][fontFamily]) != "object") {
+ value = false;
+ } else {
+ value = true;
+ }
+
+ props.setAttributes(_defineProperty({}, loadGoogleFonts.label, value));
+ };
+
+ return wp.element.createElement(
+ "div",
+ { className: "uag-typography-font-family-options" },
+ wp.element.createElement(
+ "label",
+ { className: "uag-typography-font-family-label" },
+ __("Font Family", 'ultimate-addons-for-gutenberg')
+ ),
+ wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2_react_select__["a" /* default */], {
+ options: fonts,
+ value: { value: props.fontFamily.value, label: props.fontFamily.value, weight: fontWeightObj },
+ isMulti: false,
+ maxMenuHeight: 300,
+ onChange: onFontfamilyChange,
+ className: "react-select-container",
+ classNamePrefix: "react-select"
+ }),
+ wp.element.createElement(SelectControl, {
+ label: __("Font Weight", 'ultimate-addons-for-gutenberg'),
+ value: props.fontWeight.value,
+ onChange: function onChange(value) {
+ return props.setAttributes(_defineProperty({}, props.fontWeight.label, value));
+ },
+ options: fontWeightObj
+ }),
+ wp.element.createElement(SelectControl, {
+ label: __("Font Subset", 'ultimate-addons-for-gutenberg'),
+ value: props.fontSubset.value,
+ onChange: function onChange(value) {
+ return props.setAttributes(_defineProperty({}, props.fontSubset.label, value));
+ },
+ options: fontSubsetObj
+ })
+ );
+}
+/* harmony default export */ __webpack_exports__["a"] = (FontFamilyControl);
/***/ }),
-/* 230 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_setToArray.js ***!
- \********************************************/
-/*! no static exports found */
+/* 259 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_baseMatches.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ 260),
+ getMatchData = __webpack_require__(/*! ./_getMatchData */ 309),
+ matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 162);
/**
- * Converts `set` to an array of its values.
+ * The base implementation of `_.matches` which doesn't clone `source`.
*
* @private
- * @param {Object} set The set to convert.
- * @returns {Array} Returns the values.
+ * @param {Object} source The object of property values to match.
+ * @returns {Function} Returns the new spec function.
*/
-function setToArray(set) {
- var index = -1,
- result = Array(set.size);
-
- set.forEach(function(value) {
- result[++index] = value;
- });
- return result;
+function baseMatches(source) {
+ var matchData = getMatchData(source);
+ if (matchData.length == 1 && matchData[0][2]) {
+ return matchesStrictComparable(matchData[0][0], matchData[0][1]);
+ }
+ return function(object) {
+ return object === source || baseIsMatch(object, source, matchData);
+ };
}
-module.exports = setToArray;
+module.exports = baseMatches;
/***/ }),
-/* 231 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_equalObjects.js ***!
- \**********************************************/
-/*! no static exports found */
+/* 260 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_baseIsMatch.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ 118);
+var Stack = __webpack_require__(/*! ./_Stack */ 74),
+ baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 151);
/** Used to compose bitmasks for value comparisons. */
-var COMPARE_PARTIAL_FLAG = 1;
-
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
-
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+var COMPARE_PARTIAL_FLAG = 1,
+ COMPARE_UNORDERED_FLAG = 2;
/**
- * A specialized version of `baseIsEqualDeep` for objects with support for
- * partial deep comparisons.
+ * The base implementation of `_.isMatch` without support for iteratee shorthands.
*
* @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} stack Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+ * @param {Object} object The object to inspect.
+ * @param {Object} source The object of property values to match.
+ * @param {Array} matchData The property names, values, and compare flags to match.
+ * @param {Function} [customizer] The function to customize comparisons.
+ * @returns {boolean} Returns `true` if `object` is a match, else `false`.
*/
-function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
- objProps = getAllKeys(object),
- objLength = objProps.length,
- othProps = getAllKeys(other),
- othLength = othProps.length;
+function baseIsMatch(object, source, matchData, customizer) {
+ var index = matchData.length,
+ length = index,
+ noCustomizer = !customizer;
- if (objLength != othLength && !isPartial) {
- return false;
+ if (object == null) {
+ return !length;
}
- var index = objLength;
+ object = Object(object);
while (index--) {
- var key = objProps[index];
- if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
+ var data = matchData[index];
+ if ((noCustomizer && data[2])
+ ? data[1] !== object[data[0]]
+ : !(data[0] in object)
+ ) {
return false;
}
}
- // Assume cyclic values are equal.
- var stacked = stack.get(object);
- if (stacked && stack.get(other)) {
- return stacked == other;
- }
- var result = true;
- stack.set(object, other);
- stack.set(other, object);
-
- var skipCtor = isPartial;
- while (++index < objLength) {
- key = objProps[index];
- var objValue = object[key],
- othValue = other[key];
-
- if (customizer) {
- var compared = isPartial
- ? customizer(othValue, objValue, key, other, object, stack)
- : customizer(objValue, othValue, key, object, other, stack);
- }
- // Recursively compare objects (susceptible to call stack limits).
- if (!(compared === undefined
- ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
- : compared
- )) {
- result = false;
- break;
- }
- skipCtor || (skipCtor = key == 'constructor');
- }
- if (result && !skipCtor) {
- var objCtor = object.constructor,
- othCtor = other.constructor;
+ while (++index < length) {
+ data = matchData[index];
+ var key = data[0],
+ objValue = object[key],
+ srcValue = data[1];
- // Non `Object` object instances with different constructors are not equal.
- if (objCtor != othCtor &&
- ('constructor' in object && 'constructor' in other) &&
- !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
- typeof othCtor == 'function' && othCtor instanceof othCtor)) {
- result = false;
+ if (noCustomizer && data[2]) {
+ if (objValue === undefined && !(key in object)) {
+ return false;
+ }
+ } else {
+ var stack = new Stack;
+ if (customizer) {
+ var result = customizer(objValue, srcValue, key, object, source, stack);
+ }
+ if (!(result === undefined
+ ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
+ : result
+ )) {
+ return false;
+ }
}
}
- stack['delete'](object);
- stack['delete'](other);
- return result;
+ return true;
}
-module.exports = equalObjects;
+module.exports = baseIsMatch;
/***/ }),
-/* 232 */
-/*!*********************************************!*\
- !*** ./node_modules/lodash/_arrayFilter.js ***!
- \*********************************************/
-/*! no static exports found */
+/* 261 */
+/*!************************************************!*\
+ !*** ./node_modules/lodash/_listCacheClear.js ***!
+ \************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports) {
/**
- * A specialized version of `_.filter` for arrays without support for
- * iteratee shorthands.
+ * Removes all key-value entries from the list cache.
*
* @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {Array} Returns the new filtered array.
+ * @name clear
+ * @memberOf ListCache
*/
-function arrayFilter(array, predicate) {
- var index = -1,
- length = array == null ? 0 : array.length,
- resIndex = 0,
- result = [];
-
- while (++index < length) {
- var value = array[index];
- if (predicate(value, index, array)) {
- result[resIndex++] = value;
- }
- }
- return result;
+function listCacheClear() {
+ this.__data__ = [];
+ this.size = 0;
}
-module.exports = arrayFilter;
+module.exports = listCacheClear;
/***/ }),
-/* 233 */
+/* 262 */
/*!*************************************************!*\
- !*** ./node_modules/lodash/_baseIsArguments.js ***!
+ !*** ./node_modules/lodash/_listCacheDelete.js ***!
\*************************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 20),
- isObjectLike = __webpack_require__(/*! ./isObjectLike */ 17);
+var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 47);
-/** `Object#toString` result references. */
-var argsTag = '[object Arguments]';
+/** Used for built-in method references. */
+var arrayProto = Array.prototype;
+
+/** Built-in value references. */
+var splice = arrayProto.splice;
/**
- * The base implementation of `_.isArguments`.
+ * Removes `key` and its value from the list cache.
*
* @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
+ * @name delete
+ * @memberOf ListCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
-function baseIsArguments(value) {
- return isObjectLike(value) && baseGetTag(value) == argsTag;
+function listCacheDelete(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ return false;
+ }
+ var lastIndex = data.length - 1;
+ if (index == lastIndex) {
+ data.pop();
+ } else {
+ splice.call(data, index, 1);
+ }
+ --this.size;
+ return true;
}
-module.exports = baseIsArguments;
+module.exports = listCacheDelete;
/***/ }),
-/* 234 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/stubFalse.js ***!
- \******************************************/
-/*! no static exports found */
+/* 263 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_listCacheGet.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
+
+var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 47);
/**
- * This method returns `false`.
- *
- * @static
- * @memberOf _
- * @since 4.13.0
- * @category Util
- * @returns {boolean} Returns `false`.
- * @example
+ * Gets the list cache value for `key`.
*
- * _.times(2, _.stubFalse);
- * // => [false, false]
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
-function stubFalse() {
- return false;
+function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
}
-module.exports = stubFalse;
+module.exports = listCacheGet;
/***/ }),
-/* 235 */
-/*!**************************************************!*\
- !*** ./node_modules/lodash/_baseIsTypedArray.js ***!
- \**************************************************/
-/*! no static exports found */
+/* 264 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_listCacheHas.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 20),
- isLength = __webpack_require__(/*! ./isLength */ 61),
- isObjectLike = __webpack_require__(/*! ./isObjectLike */ 17);
-
-/** `Object#toString` result references. */
-var argsTag = '[object Arguments]',
- arrayTag = '[object Array]',
- boolTag = '[object Boolean]',
- dateTag = '[object Date]',
- errorTag = '[object Error]',
- funcTag = '[object Function]',
- mapTag = '[object Map]',
- numberTag = '[object Number]',
- objectTag = '[object Object]',
- regexpTag = '[object RegExp]',
- setTag = '[object Set]',
- stringTag = '[object String]',
- weakMapTag = '[object WeakMap]';
-
-var arrayBufferTag = '[object ArrayBuffer]',
- dataViewTag = '[object DataView]',
- float32Tag = '[object Float32Array]',
- float64Tag = '[object Float64Array]',
- int8Tag = '[object Int8Array]',
- int16Tag = '[object Int16Array]',
- int32Tag = '[object Int32Array]',
- uint8Tag = '[object Uint8Array]',
- uint8ClampedTag = '[object Uint8ClampedArray]',
- uint16Tag = '[object Uint16Array]',
- uint32Tag = '[object Uint32Array]';
-
-/** Used to identify `toStringTag` values of typed arrays. */
-var typedArrayTags = {};
-typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
-typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
-typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
-typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
-typedArrayTags[uint32Tag] = true;
-typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
-typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
-typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
-typedArrayTags[errorTag] = typedArrayTags[funcTag] =
-typedArrayTags[mapTag] = typedArrayTags[numberTag] =
-typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
-typedArrayTags[setTag] = typedArrayTags[stringTag] =
-typedArrayTags[weakMapTag] = false;
+var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 47);
/**
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
+ * Checks if a list cache value for `key` exists.
*
* @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
+ * @name has
+ * @memberOf ListCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
-function baseIsTypedArray(value) {
- return isObjectLike(value) &&
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
+function listCacheHas(key) {
+ return assocIndexOf(this.__data__, key) > -1;
}
-module.exports = baseIsTypedArray;
+module.exports = listCacheHas;
/***/ }),
-/* 236 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_baseKeys.js ***!
- \******************************************/
-/*! no static exports found */
+/* 265 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_listCacheSet.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var isPrototype = __webpack_require__(/*! ./_isPrototype */ 43),
- nativeKeys = __webpack_require__(/*! ./_nativeKeys */ 237);
-
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
-
-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 47);
/**
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
+ * Sets the list cache `key` to `value`.
*
* @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
+ * @name set
+ * @memberOf ListCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the list cache instance.
*/
-function baseKeys(object) {
- if (!isPrototype(object)) {
- return nativeKeys(object);
- }
- var result = [];
- for (var key in Object(object)) {
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
- result.push(key);
- }
+function listCacheSet(key, value) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ if (index < 0) {
+ ++this.size;
+ data.push([key, value]);
+ } else {
+ data[index][1] = value;
}
- return result;
+ return this;
}
-module.exports = baseKeys;
+module.exports = listCacheSet;
/***/ }),
-/* 237 */
+/* 266 */
/*!********************************************!*\
- !*** ./node_modules/lodash/_nativeKeys.js ***!
+ !*** ./node_modules/lodash/_stackClear.js ***!
\********************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var overArg = __webpack_require__(/*! ./_overArg */ 124);
+var ListCache = __webpack_require__(/*! ./_ListCache */ 46);
-/* Built-in method references for those with the same name as other `lodash` methods. */
-var nativeKeys = overArg(Object.keys, Object);
+/**
+ * Removes all key-value entries from the stack.
+ *
+ * @private
+ * @name clear
+ * @memberOf Stack
+ */
+function stackClear() {
+ this.__data__ = new ListCache;
+ this.size = 0;
+}
-module.exports = nativeKeys;
+module.exports = stackClear;
/***/ }),
-/* 238 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_DataView.js ***!
- \******************************************/
-/*! no static exports found */
+/* 267 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_stackDelete.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
+/***/ (function(module, exports) {
-var getNative = __webpack_require__(/*! ./_getNative */ 19),
- root = __webpack_require__(/*! ./_root */ 12);
+/**
+ * Removes `key` and its value from the stack.
+ *
+ * @private
+ * @name delete
+ * @memberOf Stack
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+function stackDelete(key) {
+ var data = this.__data__,
+ result = data['delete'](key);
-/* Built-in method references that are verified to be native. */
-var DataView = getNative(root, 'DataView');
+ this.size = data.size;
+ return result;
+}
-module.exports = DataView;
+module.exports = stackDelete;
/***/ }),
-/* 239 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_Promise.js ***!
- \*****************************************/
-/*! no static exports found */
+/* 268 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_stackGet.js ***!
+ \******************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var getNative = __webpack_require__(/*! ./_getNative */ 19),
- root = __webpack_require__(/*! ./_root */ 12);
+/***/ (function(module, exports) {
-/* Built-in method references that are verified to be native. */
-var Promise = getNative(root, 'Promise');
+/**
+ * Gets the stack value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf Stack
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+function stackGet(key) {
+ return this.__data__.get(key);
+}
-module.exports = Promise;
+module.exports = stackGet;
/***/ }),
-/* 240 */
-/*!*************************************!*\
- !*** ./node_modules/lodash/_Set.js ***!
- \*************************************/
-/*! no static exports found */
+/* 269 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_stackHas.js ***!
+ \******************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var getNative = __webpack_require__(/*! ./_getNative */ 19),
- root = __webpack_require__(/*! ./_root */ 12);
+/***/ (function(module, exports) {
-/* Built-in method references that are verified to be native. */
-var Set = getNative(root, 'Set');
+/**
+ * Checks if a stack value for `key` exists.
+ *
+ * @private
+ * @name has
+ * @memberOf Stack
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function stackHas(key) {
+ return this.__data__.has(key);
+}
-module.exports = Set;
+module.exports = stackHas;
/***/ }),
-/* 241 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_WeakMap.js ***!
- \*****************************************/
-/*! no static exports found */
+/* 270 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_stackSet.js ***!
+ \******************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var getNative = __webpack_require__(/*! ./_getNative */ 19),
- root = __webpack_require__(/*! ./_root */ 12);
+var ListCache = __webpack_require__(/*! ./_ListCache */ 46),
+ Map = __webpack_require__(/*! ./_Map */ 75),
+ MapCache = __webpack_require__(/*! ./_MapCache */ 77);
-/* Built-in method references that are verified to be native. */
-var WeakMap = getNative(root, 'WeakMap');
+/** Used as the size to enable large array optimizations. */
+var LARGE_ARRAY_SIZE = 200;
-module.exports = WeakMap;
+/**
+ * Sets the stack `key` to `value`.
+ *
+ * @private
+ * @name set
+ * @memberOf Stack
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the stack cache instance.
+ */
+function stackSet(key, value) {
+ var data = this.__data__;
+ if (data instanceof ListCache) {
+ var pairs = data.__data__;
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
+ pairs.push([key, value]);
+ this.size = ++data.size;
+ return this;
+ }
+ data = this.__data__ = new MapCache(pairs);
+ }
+ data.set(key, value);
+ this.size = data.size;
+ return this;
+}
+
+module.exports = stackSet;
/***/ }),
-/* 242 */
+/* 271 */
/*!**********************************************!*\
- !*** ./node_modules/lodash/_getMatchData.js ***!
+ !*** ./node_modules/lodash/_baseIsNative.js ***!
\**********************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 125),
- keys = __webpack_require__(/*! ./keys */ 23);
+var isFunction = __webpack_require__(/*! ./isFunction */ 148),
+ isMasked = __webpack_require__(/*! ./_isMasked */ 274),
+ isObject = __webpack_require__(/*! ./isObject */ 13),
+ toSource = __webpack_require__(/*! ./_toSource */ 150);
/**
- * Gets the property names, values, and compare flags of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the match data of `object`.
+ * Used to match `RegExp`
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
*/
-function getMatchData(object) {
- var result = keys(object),
- length = result.length;
+var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
- while (length--) {
- var key = result[length],
- value = object[key];
+/** Used to detect host constructors (Safari). */
+var reIsHostCtor = /^\[object .+?Constructor\]$/;
- result[length] = [key, value, isStrictComparable(value)];
+/** Used for built-in method references. */
+var funcProto = Function.prototype,
+ objectProto = Object.prototype;
+
+/** Used to resolve the decompiled source of functions. */
+var funcToString = funcProto.toString;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/** Used to detect if a method is native. */
+var reIsNative = RegExp('^' +
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+);
+
+/**
+ * The base implementation of `_.isNative` without bad shim checks.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a native function,
+ * else `false`.
+ */
+function baseIsNative(value) {
+ if (!isObject(value) || isMasked(value)) {
+ return false;
}
- return result;
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
+ return pattern.test(toSource(value));
}
-module.exports = getMatchData;
+module.exports = baseIsNative;
/***/ }),
-/* 243 */
-/*!*****************************************************!*\
- !*** ./node_modules/lodash/_baseMatchesProperty.js ***!
- \*****************************************************/
-/*! no static exports found */
+/* 272 */
+/*!*******************************************!*\
+ !*** ./node_modules/lodash/_getRawTag.js ***!
+ \*******************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 115),
- get = __webpack_require__(/*! ./get */ 127),
- hasIn = __webpack_require__(/*! ./hasIn */ 247),
- isKey = __webpack_require__(/*! ./_isKey */ 62),
- isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 125),
- matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 126),
- toKey = __webpack_require__(/*! ./_toKey */ 26);
+var Symbol = __webpack_require__(/*! ./_Symbol */ 27);
-/** Used to compose bitmasks for value comparisons. */
-var COMPARE_PARTIAL_FLAG = 1,
- COMPARE_UNORDERED_FLAG = 2;
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
/**
- * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var nativeObjectToString = objectProto.toString;
+
+/** Built-in value references. */
+var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
+
+/**
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
*
* @private
- * @param {string} path The path of the property to get.
- * @param {*} srcValue The value to match.
- * @returns {Function} Returns the new spec function.
+ * @param {*} value The value to query.
+ * @returns {string} Returns the raw `toStringTag`.
*/
-function baseMatchesProperty(path, srcValue) {
- if (isKey(path) && isStrictComparable(srcValue)) {
- return matchesStrictComparable(toKey(path), srcValue);
+function getRawTag(value) {
+ var isOwn = hasOwnProperty.call(value, symToStringTag),
+ tag = value[symToStringTag];
+
+ try {
+ value[symToStringTag] = undefined;
+ var unmasked = true;
+ } catch (e) {}
+
+ var result = nativeObjectToString.call(value);
+ if (unmasked) {
+ if (isOwn) {
+ value[symToStringTag] = tag;
+ } else {
+ delete value[symToStringTag];
+ }
}
- return function(object) {
- var objValue = get(object, path);
- return (objValue === undefined && objValue === srcValue)
- ? hasIn(object, path)
- : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
- };
+ return result;
}
-module.exports = baseMatchesProperty;
+module.exports = getRawTag;
/***/ }),
-/* 244 */
-/*!**********************************************!*\
- !*** ./node_modules/lodash/_stringToPath.js ***!
- \**********************************************/
-/*! no static exports found */
+/* 273 */
+/*!************************************************!*\
+ !*** ./node_modules/lodash/_objectToString.js ***!
+ \************************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ 245);
+/***/ (function(module, exports) {
-/** Used to match property names within property paths. */
-var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
-/** Used to match backslashes in property paths. */
-var reEscapeChar = /\\(\\)?/g;
+/**
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var nativeObjectToString = objectProto.toString;
/**
- * Converts `string` to a property path array.
+ * Converts `value` to a string using `Object.prototype.toString`.
*
* @private
- * @param {string} string The string to convert.
- * @returns {Array} Returns the property path array.
+ * @param {*} value The value to convert.
+ * @returns {string} Returns the converted string.
*/
-var stringToPath = memoizeCapped(function(string) {
- var result = [];
- if (string.charCodeAt(0) === 46 /* . */) {
- result.push('');
- }
- string.replace(rePropName, function(match, number, quote, subString) {
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
- });
- return result;
-});
+function objectToString(value) {
+ return nativeObjectToString.call(value);
+}
-module.exports = stringToPath;
+module.exports = objectToString;
/***/ }),
-/* 245 */
-/*!***********************************************!*\
- !*** ./node_modules/lodash/_memoizeCapped.js ***!
- \***********************************************/
-/*! no static exports found */
+/* 274 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_isMasked.js ***!
+ \******************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var memoize = __webpack_require__(/*! ./memoize */ 246);
+var coreJsData = __webpack_require__(/*! ./_coreJsData */ 275);
-/** Used as the maximum memoize cache size. */
-var MAX_MEMOIZE_SIZE = 500;
+/** Used to detect methods masquerading as native. */
+var maskSrcKey = (function() {
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
+ return uid ? ('Symbol(src)_1.' + uid) : '';
+}());
/**
- * A specialized version of `_.memoize` which clears the memoized function's
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
+ * Checks if `func` has its source masked.
*
* @private
- * @param {Function} func The function to have its output memoized.
- * @returns {Function} Returns the new memoized function.
+ * @param {Function} func The function to check.
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
*/
-function memoizeCapped(func) {
- var result = memoize(func, function(key) {
- if (cache.size === MAX_MEMOIZE_SIZE) {
- cache.clear();
- }
- return key;
- });
-
- var cache = result.cache;
- return result;
+function isMasked(func) {
+ return !!maskSrcKey && (maskSrcKey in func);
}
-module.exports = memoizeCapped;
+module.exports = isMasked;
/***/ }),
-/* 246 */
-/*!****************************************!*\
- !*** ./node_modules/lodash/memoize.js ***!
- \****************************************/
-/*! no static exports found */
+/* 275 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_coreJsData.js ***!
+ \********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var MapCache = __webpack_require__(/*! ./_MapCache */ 55);
+var root = __webpack_require__(/*! ./_root */ 12);
-/** Error message constants. */
-var FUNC_ERROR_TEXT = 'Expected a function';
+/** Used to detect overreaching core-js shims. */
+var coreJsData = root['__core-js_shared__'];
+
+module.exports = coreJsData;
+
+
+/***/ }),
+/* 276 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_getValue.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
/**
- * Creates a function that memoizes the result of `func`. If `resolver` is
- * provided, it determines the cache key for storing the result based on the
- * arguments provided to the memoized function. By default, the first argument
- * provided to the memoized function is used as the map cache key. The `func`
- * is invoked with the `this` binding of the memoized function.
+ * Gets the value at `key` of `object`.
*
- * **Note:** The cache is exposed as the `cache` property on the memoized
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
- * constructor with one whose instances implement the
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to have its output memoized.
- * @param {Function} [resolver] The function to resolve the cache key.
- * @returns {Function} Returns the new memoized function.
- * @example
- *
- * var object = { 'a': 1, 'b': 2 };
- * var other = { 'c': 3, 'd': 4 };
- *
- * var values = _.memoize(_.values);
- * values(object);
- * // => [1, 2]
- *
- * values(other);
- * // => [3, 4]
- *
- * object.a = 2;
- * values(object);
- * // => [1, 2]
- *
- * // Modify the result cache.
- * values.cache.set(object, ['a', 'b']);
- * values(object);
- * // => ['a', 'b']
- *
- * // Replace `_.memoize.Cache`.
- * _.memoize.Cache = WeakMap;
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {string} key The key of the property to get.
+ * @returns {*} Returns the property value.
*/
-function memoize(func, resolver) {
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- var memoized = function() {
- var args = arguments,
- key = resolver ? resolver.apply(this, args) : args[0],
- cache = memoized.cache;
+function getValue(object, key) {
+ return object == null ? undefined : object[key];
+}
- if (cache.has(key)) {
- return cache.get(key);
- }
- var result = func.apply(this, args);
- memoized.cache = cache.set(key, result) || cache;
- return result;
+module.exports = getValue;
+
+
+/***/ }),
+/* 277 */
+/*!***********************************************!*\
+ !*** ./node_modules/lodash/_mapCacheClear.js ***!
+ \***********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var Hash = __webpack_require__(/*! ./_Hash */ 278),
+ ListCache = __webpack_require__(/*! ./_ListCache */ 46),
+ Map = __webpack_require__(/*! ./_Map */ 75);
+
+/**
+ * Removes all key-value entries from the map.
+ *
+ * @private
+ * @name clear
+ * @memberOf MapCache
+ */
+function mapCacheClear() {
+ this.size = 0;
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
};
- memoized.cache = new (memoize.Cache || MapCache);
- return memoized;
}
-// Expose `MapCache`.
-memoize.Cache = MapCache;
-
-module.exports = memoize;
+module.exports = mapCacheClear;
/***/ }),
-/* 247 */
+/* 278 */
/*!**************************************!*\
- !*** ./node_modules/lodash/hasIn.js ***!
+ !*** ./node_modules/lodash/_Hash.js ***!
\**************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ 248),
- hasPath = __webpack_require__(/*! ./_hasPath */ 249);
+var hashClear = __webpack_require__(/*! ./_hashClear */ 279),
+ hashDelete = __webpack_require__(/*! ./_hashDelete */ 280),
+ hashGet = __webpack_require__(/*! ./_hashGet */ 281),
+ hashHas = __webpack_require__(/*! ./_hashHas */ 282),
+ hashSet = __webpack_require__(/*! ./_hashSet */ 283);
/**
- * Checks if `path` is a direct or inherited property of `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path to check.
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
- * @example
- *
- * var object = _.create({ 'a': _.create({ 'b': 2 }) });
- *
- * _.hasIn(object, 'a');
- * // => true
- *
- * _.hasIn(object, 'a.b');
- * // => true
- *
- * _.hasIn(object, ['a', 'b']);
- * // => true
+ * Creates a hash object.
*
- * _.hasIn(object, 'b');
- * // => false
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
*/
-function hasIn(object, path) {
- return object != null && hasPath(object, path, baseHasIn);
+function Hash(entries) {
+ var index = -1,
+ length = entries == null ? 0 : entries.length;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
}
-module.exports = hasIn;
+// Add methods to `Hash`.
+Hash.prototype.clear = hashClear;
+Hash.prototype['delete'] = hashDelete;
+Hash.prototype.get = hashGet;
+Hash.prototype.has = hashHas;
+Hash.prototype.set = hashSet;
+
+module.exports = Hash;
/***/ }),
-/* 248 */
+/* 279 */
/*!*******************************************!*\
- !*** ./node_modules/lodash/_baseHasIn.js ***!
+ !*** ./node_modules/lodash/_hashClear.js ***!
\*******************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
+
+var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 49);
/**
- * The base implementation of `_.hasIn` without support for deep paths.
+ * Removes all key-value entries from the hash.
*
* @private
- * @param {Object} [object] The object to query.
- * @param {Array|string} key The key to check.
- * @returns {boolean} Returns `true` if `key` exists, else `false`.
+ * @name clear
+ * @memberOf Hash
*/
-function baseHasIn(object, key) {
- return object != null && key in Object(object);
+function hashClear() {
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
+ this.size = 0;
}
-module.exports = baseHasIn;
+module.exports = hashClear;
/***/ }),
-/* 249 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_hasPath.js ***!
- \*****************************************/
-/*! no static exports found */
+/* 280 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_hashDelete.js ***!
+ \********************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var castPath = __webpack_require__(/*! ./_castPath */ 25),
- isArguments = __webpack_require__(/*! ./isArguments */ 58),
- isArray = __webpack_require__(/*! ./isArray */ 14),
- isIndex = __webpack_require__(/*! ./_isIndex */ 40),
- isLength = __webpack_require__(/*! ./isLength */ 61),
- toKey = __webpack_require__(/*! ./_toKey */ 26);
+/***/ (function(module, exports) {
/**
- * Checks if `path` exists on `object`.
+ * Removes `key` and its value from the hash.
*
* @private
- * @param {Object} object The object to query.
- * @param {Array|string} path The path to check.
- * @param {Function} hasFunc The function to check properties.
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
+ * @name delete
+ * @memberOf Hash
+ * @param {Object} hash The hash to modify.
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
-function hasPath(object, path, hasFunc) {
- path = castPath(path, object);
-
- var index = -1,
- length = path.length,
- result = false;
-
- while (++index < length) {
- var key = toKey(path[index]);
- if (!(result = object != null && hasFunc(object, key))) {
- break;
- }
- object = object[key];
- }
- if (result || ++index != length) {
- return result;
- }
- length = object == null ? 0 : object.length;
- return !!length && isLength(length) && isIndex(key, length) &&
- (isArray(object) || isArguments(object));
+function hashDelete(key) {
+ var result = this.has(key) && delete this.__data__[key];
+ this.size -= result ? 1 : 0;
+ return result;
}
-module.exports = hasPath;
+module.exports = hashDelete;
/***/ }),
-/* 250 */
+/* 281 */
/*!*****************************************!*\
- !*** ./node_modules/lodash/property.js ***!
+ !*** ./node_modules/lodash/_hashGet.js ***!
\*****************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseProperty = __webpack_require__(/*! ./_baseProperty */ 130),
- basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ 251),
- isKey = __webpack_require__(/*! ./_isKey */ 62),
- toKey = __webpack_require__(/*! ./_toKey */ 26);
+var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 49);
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
/**
- * Creates a function that returns the value at `path` of a given object.
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Util
- * @param {Array|string} path The path of the property to get.
- * @returns {Function} Returns the new accessor function.
- * @example
- *
- * var objects = [
- * { 'a': { 'b': 2 } },
- * { 'a': { 'b': 1 } }
- * ];
- *
- * _.map(objects, _.property('a.b'));
- * // => [2, 1]
+ * Gets the hash value for `key`.
*
- * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
- * // => [1, 2]
+ * @private
+ * @name get
+ * @memberOf Hash
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
-function property(path) {
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
+function hashGet(key) {
+ var data = this.__data__;
+ if (nativeCreate) {
+ var result = data[key];
+ return result === HASH_UNDEFINED ? undefined : result;
+ }
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
}
-module.exports = property;
+module.exports = hashGet;
/***/ }),
-/* 251 */
-/*!**************************************************!*\
- !*** ./node_modules/lodash/_basePropertyDeep.js ***!
- \**************************************************/
-/*! no static exports found */
+/* 282 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_hashHas.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseGet = __webpack_require__(/*! ./_baseGet */ 45);
+var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 49);
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
/**
- * A specialized version of `baseProperty` which supports deep paths.
+ * Checks if a hash value for `key` exists.
*
* @private
- * @param {Array|string} path The path of the property to get.
- * @returns {Function} Returns the new accessor function.
+ * @name has
+ * @memberOf Hash
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
-function basePropertyDeep(path) {
- return function(object) {
- return baseGet(object, path);
- };
+function hashHas(key) {
+ var data = this.__data__;
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
}
-module.exports = basePropertyDeep;
+module.exports = hashHas;
/***/ }),
-/* 252 */
+/* 283 */
/*!*****************************************!*\
- !*** ./node_modules/lodash/_baseMap.js ***!
+ !*** ./node_modules/lodash/_hashSet.js ***!
\*****************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseEach = __webpack_require__(/*! ./_baseEach */ 253),
- isArrayLike = __webpack_require__(/*! ./isArrayLike */ 24);
+var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 49);
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
/**
- * The base implementation of `_.map` without support for iteratee shorthands.
+ * Sets the hash `key` to `value`.
*
* @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns the new mapped array.
+ * @name set
+ * @memberOf Hash
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the hash instance.
*/
-function baseMap(collection, iteratee) {
- var index = -1,
- result = isArrayLike(collection) ? Array(collection.length) : [];
-
- baseEach(collection, function(value, key, collection) {
- result[++index] = iteratee(value, key, collection);
- });
- return result;
+function hashSet(key, value) {
+ var data = this.__data__;
+ this.size += this.has(key) ? 0 : 1;
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+ return this;
}
-module.exports = baseMap;
+module.exports = hashSet;
/***/ }),
-/* 253 */
-/*!******************************************!*\
- !*** ./node_modules/lodash/_baseEach.js ***!
- \******************************************/
-/*! no static exports found */
+/* 284 */
+/*!************************************************!*\
+ !*** ./node_modules/lodash/_mapCacheDelete.js ***!
+ \************************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 254),
- createBaseEach = __webpack_require__(/*! ./_createBaseEach */ 257);
+var getMapData = __webpack_require__(/*! ./_getMapData */ 50);
/**
- * The base implementation of `_.forEach` without support for iteratee shorthands.
+ * Removes `key` and its value from the map.
*
* @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array|Object} Returns `collection`.
+ * @name delete
+ * @memberOf MapCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
-var baseEach = createBaseEach(baseForOwn);
+function mapCacheDelete(key) {
+ var result = getMapData(this, key)['delete'](key);
+ this.size -= result ? 1 : 0;
+ return result;
+}
-module.exports = baseEach;
+module.exports = mapCacheDelete;
/***/ }),
-/* 254 */
-/*!********************************************!*\
- !*** ./node_modules/lodash/_baseForOwn.js ***!
- \********************************************/
-/*! no static exports found */
+/* 285 */
+/*!*******************************************!*\
+ !*** ./node_modules/lodash/_isKeyable.js ***!
+ \*******************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports, __webpack_require__) {
-
-var baseFor = __webpack_require__(/*! ./_baseFor */ 255),
- keys = __webpack_require__(/*! ./keys */ 23);
+/***/ (function(module, exports) {
/**
- * The base implementation of `_.forOwn` without support for iteratee shorthands.
+ * Checks if `value` is suitable for use as unique object key.
*
* @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Object} Returns `object`.
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
*/
-function baseForOwn(object, iteratee) {
- return object && baseFor(object, iteratee, keys);
+function isKeyable(value) {
+ var type = typeof value;
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
+ ? (value !== '__proto__')
+ : (value === null);
}
-module.exports = baseForOwn;
+module.exports = isKeyable;
/***/ }),
-/* 255 */
-/*!*****************************************!*\
- !*** ./node_modules/lodash/_baseFor.js ***!
- \*****************************************/
-/*! no static exports found */
+/* 286 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_mapCacheGet.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ 256);
+var getMapData = __webpack_require__(/*! ./_getMapData */ 50);
/**
- * The base implementation of `baseForOwn` which iterates over `object`
- * properties returned by `keysFunc` and invokes `iteratee` for each property.
- * Iteratee functions may exit iteration early by explicitly returning `false`.
+ * Gets the map value for `key`.
*
* @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {Function} keysFunc The function to get the keys of `object`.
- * @returns {Object} Returns `object`.
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
-var baseFor = createBaseFor();
+function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
+}
-module.exports = baseFor;
+module.exports = mapCacheGet;
/***/ }),
-/* 256 */
-/*!***********************************************!*\
- !*** ./node_modules/lodash/_createBaseFor.js ***!
- \***********************************************/
-/*! no static exports found */
+/* 287 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_mapCacheHas.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
-/***/ (function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
+
+var getMapData = __webpack_require__(/*! ./_getMapData */ 50);
/**
- * Creates a base function for methods like `_.forIn` and `_.forOwn`.
+ * Checks if a map value for `key` exists.
*
* @private
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new base function.
+ * @name has
+ * @memberOf MapCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
-function createBaseFor(fromRight) {
- return function(object, iteratee, keysFunc) {
- var index = -1,
- iterable = Object(object),
- props = keysFunc(object),
- length = props.length;
-
- while (length--) {
- var key = props[fromRight ? length : ++index];
- if (iteratee(iterable[key], key, iterable) === false) {
- break;
- }
- }
- return object;
- };
+function mapCacheHas(key) {
+ return getMapData(this, key).has(key);
}
-module.exports = createBaseFor;
+module.exports = mapCacheHas;
/***/ }),
-/* 257 */
-/*!************************************************!*\
- !*** ./node_modules/lodash/_createBaseEach.js ***!
- \************************************************/
-/*! no static exports found */
+/* 288 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_mapCacheSet.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
-var isArrayLike = __webpack_require__(/*! ./isArrayLike */ 24);
+var getMapData = __webpack_require__(/*! ./_getMapData */ 50);
/**
- * Creates a `baseEach` or `baseEachRight` function.
+ * Sets the map `key` to `value`.
*
* @private
- * @param {Function} eachFunc The function to iterate over a collection.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new base function.
+ * @name set
+ * @memberOf MapCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the map cache instance.
*/
-function createBaseEach(eachFunc, fromRight) {
- return function(collection, iteratee) {
- if (collection == null) {
- return collection;
- }
- if (!isArrayLike(collection)) {
- return eachFunc(collection, iteratee);
- }
- var length = collection.length,
- index = fromRight ? length : -1,
- iterable = Object(collection);
+function mapCacheSet(key, value) {
+ var data = getMapData(this, key),
+ size = data.size;
- while ((fromRight ? index-- : ++index < length)) {
- if (iteratee(iterable[index], index, iterable) === false) {
- break;
- }
- }
- return collection;
- };
+ data.set(key, value);
+ this.size += data.size == size ? 0 : 1;
+ return this;
}
-module.exports = createBaseEach;
+module.exports = mapCacheSet;
/***/ }),
-/* 258 */
-/*!********************************************!*\
- !*** ./src/components/typography/fonts.js ***!
- \********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* 289 */
+/*!*************************************************!*\
+ !*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
+ \*************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
-"use strict";
-/**
- * Google Fonts for the FontFamily component.
- */
+var Stack = __webpack_require__(/*! ./_Stack */ 74),
+ equalArrays = __webpack_require__(/*! ./_equalArrays */ 152),
+ equalByTag = __webpack_require__(/*! ./_equalByTag */ 295),
+ equalObjects = __webpack_require__(/*! ./_equalObjects */ 298),
+ getTag = __webpack_require__(/*! ./_getTag */ 55),
+ isArray = __webpack_require__(/*! ./isArray */ 14),
+ isBuffer = __webpack_require__(/*! ./isBuffer */ 81),
+ isTypedArray = __webpack_require__(/*! ./isTypedArray */ 159);
-var fonts = {};
-fonts["ABeeZee"] = { "v": ["regular", "italic"], "subset": ["latin"], "weight": ["400"], "i": ["normal", "italic"] };
-fonts["Abel"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Abhaya Libre"] = { "v": ["regular", "500", "600", "700", "800"], "subset": ["latin-ext", "sinhala", "latin"], "weight": ["400", "500", "600", "700", "800"], "i": ["normal"] };
-fonts["Abril Fatface"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Aclonica"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Acme"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Actor"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Adamina"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Advent Pro"] = { "v": ["100", "200", "300", "regular", "500", "600", "700"], "subset": ["latin-ext", "greek", "latin"], "weight": ["100", "200", "300", "400", "500", "600", "700"], "i": ["normal"] };
-fonts["Aguafina Script"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Akronim"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Aladin"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Aldrich"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
-fonts["Alef"] = { "v": ["regular", "700"], "subset": ["hebrew", "latin"], "weight": ["400", "700"], "i": ["normal"] };
-fonts["Alegreya"] = { "v": ["regular", "italic", "500", "500italic", "700", "700italic", "800", "800italic", "900", "900italic"], "subset": ["cyrillic", "cyrillic-ext", "greek-ext", "latin-ext", "greek", "vietnamese", "latin"], "weight": ["400", "500", "700", "800", "900"], "i": ["normal", "italic"] };
+/** Used to compose bitmasks for value comparisons. */
+var COMPARE_PARTIAL_FLAG = 1;
+
+/** `Object#toString` result references. */
+var argsTag = '[object Arguments]',
+ arrayTag = '[object Array]',
+ objectTag = '[object Object]';
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
+ * deep comparisons and tracks traversed objects enabling objects with circular
+ * references to be compared.
+ *
+ * @private
+ * @param {Object} object The object to compare.
+ * @param {Object} other The other object to compare.
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
+ * @param {Function} customizer The function to customize comparisons.
+ * @param {Function} equalFunc The function to determine equivalents of values.
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+ */
+function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
+ var objIsArr = isArray(object),
+ othIsArr = isArray(other),
+ objTag = objIsArr ? arrayTag : getTag(object),
+ othTag = othIsArr ? arrayTag : getTag(other);
+
+ objTag = objTag == argsTag ? objectTag : objTag;
+ othTag = othTag == argsTag ? objectTag : othTag;
+
+ var objIsObj = objTag == objectTag,
+ othIsObj = othTag == objectTag,
+ isSameTag = objTag == othTag;
+
+ if (isSameTag && isBuffer(object)) {
+ if (!isBuffer(other)) {
+ return false;
+ }
+ objIsArr = true;
+ objIsObj = false;
+ }
+ if (isSameTag && !objIsObj) {
+ stack || (stack = new Stack);
+ return (objIsArr || isTypedArray(object))
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
+ }
+ if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
+ othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
+
+ if (objIsWrapped || othIsWrapped) {
+ var objUnwrapped = objIsWrapped ? object.value() : object,
+ othUnwrapped = othIsWrapped ? other.value() : other;
+
+ stack || (stack = new Stack);
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
+ }
+ }
+ if (!isSameTag) {
+ return false;
+ }
+ stack || (stack = new Stack);
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
+}
+
+module.exports = baseIsEqualDeep;
+
+
+/***/ }),
+/* 290 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_SetCache.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var MapCache = __webpack_require__(/*! ./_MapCache */ 77),
+ setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ 291),
+ setCacheHas = __webpack_require__(/*! ./_setCacheHas */ 292);
+
+/**
+ *
+ * Creates an array cache object to store unique values.
+ *
+ * @private
+ * @constructor
+ * @param {Array} [values] The values to cache.
+ */
+function SetCache(values) {
+ var index = -1,
+ length = values == null ? 0 : values.length;
+
+ this.__data__ = new MapCache;
+ while (++index < length) {
+ this.add(values[index]);
+ }
+}
+
+// Add methods to `SetCache`.
+SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
+SetCache.prototype.has = setCacheHas;
+
+module.exports = SetCache;
+
+
+/***/ }),
+/* 291 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_setCacheAdd.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/** Used to stand-in for `undefined` hash values. */
+var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+/**
+ * Adds `value` to the array cache.
+ *
+ * @private
+ * @name add
+ * @memberOf SetCache
+ * @alias push
+ * @param {*} value The value to cache.
+ * @returns {Object} Returns the cache instance.
+ */
+function setCacheAdd(value) {
+ this.__data__.set(value, HASH_UNDEFINED);
+ return this;
+}
+
+module.exports = setCacheAdd;
+
+
+/***/ }),
+/* 292 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_setCacheHas.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * Checks if `value` is in the array cache.
+ *
+ * @private
+ * @name has
+ * @memberOf SetCache
+ * @param {*} value The value to search for.
+ * @returns {number} Returns `true` if `value` is found, else `false`.
+ */
+function setCacheHas(value) {
+ return this.__data__.has(value);
+}
+
+module.exports = setCacheHas;
+
+
+/***/ }),
+/* 293 */
+/*!*******************************************!*\
+ !*** ./node_modules/lodash/_arraySome.js ***!
+ \*******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * A specialized version of `_.some` for arrays without support for iteratee
+ * shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
+ * else `false`.
+ */
+function arraySome(array, predicate) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
+
+ while (++index < length) {
+ if (predicate(array[index], index, array)) {
+ return true;
+ }
+ }
+ return false;
+}
+
+module.exports = arraySome;
+
+
+/***/ }),
+/* 294 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_cacheHas.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * Checks if a `cache` value for `key` exists.
+ *
+ * @private
+ * @param {Object} cache The cache to query.
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+function cacheHas(cache, key) {
+ return cache.has(key);
+}
+
+module.exports = cacheHas;
+
+
+/***/ }),
+/* 295 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_equalByTag.js ***!
+ \********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
+ Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 153),
+ eq = __webpack_require__(/*! ./eq */ 48),
+ equalArrays = __webpack_require__(/*! ./_equalArrays */ 152),
+ mapToArray = __webpack_require__(/*! ./_mapToArray */ 296),
+ setToArray = __webpack_require__(/*! ./_setToArray */ 297);
+
+/** Used to compose bitmasks for value comparisons. */
+var COMPARE_PARTIAL_FLAG = 1,
+ COMPARE_UNORDERED_FLAG = 2;
+
+/** `Object#toString` result references. */
+var boolTag = '[object Boolean]',
+ dateTag = '[object Date]',
+ errorTag = '[object Error]',
+ mapTag = '[object Map]',
+ numberTag = '[object Number]',
+ regexpTag = '[object RegExp]',
+ setTag = '[object Set]',
+ stringTag = '[object String]',
+ symbolTag = '[object Symbol]';
+
+var arrayBufferTag = '[object ArrayBuffer]',
+ dataViewTag = '[object DataView]';
+
+/** Used to convert symbols to primitives and strings. */
+var symbolProto = Symbol ? Symbol.prototype : undefined,
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
+
+/**
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
+ * the same `toStringTag`.
+ *
+ * **Note:** This function only supports comparing values with tags of
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
+ *
+ * @private
+ * @param {Object} object The object to compare.
+ * @param {Object} other The other object to compare.
+ * @param {string} tag The `toStringTag` of the objects to compare.
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
+ * @param {Function} customizer The function to customize comparisons.
+ * @param {Function} equalFunc The function to determine equivalents of values.
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+ */
+function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
+ switch (tag) {
+ case dataViewTag:
+ if ((object.byteLength != other.byteLength) ||
+ (object.byteOffset != other.byteOffset)) {
+ return false;
+ }
+ object = object.buffer;
+ other = other.buffer;
+
+ case arrayBufferTag:
+ if ((object.byteLength != other.byteLength) ||
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
+ return false;
+ }
+ return true;
+
+ case boolTag:
+ case dateTag:
+ case numberTag:
+ // Coerce booleans to `1` or `0` and dates to milliseconds.
+ // Invalid dates are coerced to `NaN`.
+ return eq(+object, +other);
+
+ case errorTag:
+ return object.name == other.name && object.message == other.message;
+
+ case regexpTag:
+ case stringTag:
+ // Coerce regexes to strings and treat strings, primitives and objects,
+ // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
+ // for more details.
+ return object == (other + '');
+
+ case mapTag:
+ var convert = mapToArray;
+
+ case setTag:
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
+ convert || (convert = setToArray);
+
+ if (object.size != other.size && !isPartial) {
+ return false;
+ }
+ // Assume cyclic values are equal.
+ var stacked = stack.get(object);
+ if (stacked) {
+ return stacked == other;
+ }
+ bitmask |= COMPARE_UNORDERED_FLAG;
+
+ // Recursively compare objects (susceptible to call stack limits).
+ stack.set(object, other);
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
+ stack['delete'](object);
+ return result;
+
+ case symbolTag:
+ if (symbolValueOf) {
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
+ }
+ }
+ return false;
+}
+
+module.exports = equalByTag;
+
+
+/***/ }),
+/* 296 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_mapToArray.js ***!
+ \********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * Converts `map` to its key-value pairs.
+ *
+ * @private
+ * @param {Object} map The map to convert.
+ * @returns {Array} Returns the key-value pairs.
+ */
+function mapToArray(map) {
+ var index = -1,
+ result = Array(map.size);
+
+ map.forEach(function(value, key) {
+ result[++index] = [key, value];
+ });
+ return result;
+}
+
+module.exports = mapToArray;
+
+
+/***/ }),
+/* 297 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_setToArray.js ***!
+ \********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * Converts `set` to an array of its values.
+ *
+ * @private
+ * @param {Object} set The set to convert.
+ * @returns {Array} Returns the values.
+ */
+function setToArray(set) {
+ var index = -1,
+ result = Array(set.size);
+
+ set.forEach(function(value) {
+ result[++index] = value;
+ });
+ return result;
+}
+
+module.exports = setToArray;
+
+
+/***/ }),
+/* 298 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_equalObjects.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ 154);
+
+/** Used to compose bitmasks for value comparisons. */
+var COMPARE_PARTIAL_FLAG = 1;
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * A specialized version of `baseIsEqualDeep` for objects with support for
+ * partial deep comparisons.
+ *
+ * @private
+ * @param {Object} object The object to compare.
+ * @param {Object} other The other object to compare.
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
+ * @param {Function} customizer The function to customize comparisons.
+ * @param {Function} equalFunc The function to determine equivalents of values.
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+ */
+function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
+ objProps = getAllKeys(object),
+ objLength = objProps.length,
+ othProps = getAllKeys(other),
+ othLength = othProps.length;
+
+ if (objLength != othLength && !isPartial) {
+ return false;
+ }
+ var index = objLength;
+ while (index--) {
+ var key = objProps[index];
+ if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
+ return false;
+ }
+ }
+ // Assume cyclic values are equal.
+ var stacked = stack.get(object);
+ if (stacked && stack.get(other)) {
+ return stacked == other;
+ }
+ var result = true;
+ stack.set(object, other);
+ stack.set(other, object);
+
+ var skipCtor = isPartial;
+ while (++index < objLength) {
+ key = objProps[index];
+ var objValue = object[key],
+ othValue = other[key];
+
+ if (customizer) {
+ var compared = isPartial
+ ? customizer(othValue, objValue, key, other, object, stack)
+ : customizer(objValue, othValue, key, object, other, stack);
+ }
+ // Recursively compare objects (susceptible to call stack limits).
+ if (!(compared === undefined
+ ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
+ : compared
+ )) {
+ result = false;
+ break;
+ }
+ skipCtor || (skipCtor = key == 'constructor');
+ }
+ if (result && !skipCtor) {
+ var objCtor = object.constructor,
+ othCtor = other.constructor;
+
+ // Non `Object` object instances with different constructors are not equal.
+ if (objCtor != othCtor &&
+ ('constructor' in object && 'constructor' in other) &&
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
+ result = false;
+ }
+ }
+ stack['delete'](object);
+ stack['delete'](other);
+ return result;
+}
+
+module.exports = equalObjects;
+
+
+/***/ }),
+/* 299 */
+/*!*********************************************!*\
+ !*** ./node_modules/lodash/_arrayFilter.js ***!
+ \*********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * A specialized version of `_.filter` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {Array} Returns the new filtered array.
+ */
+function arrayFilter(array, predicate) {
+ var index = -1,
+ length = array == null ? 0 : array.length,
+ resIndex = 0,
+ result = [];
+
+ while (++index < length) {
+ var value = array[index];
+ if (predicate(value, index, array)) {
+ result[resIndex++] = value;
+ }
+ }
+ return result;
+}
+
+module.exports = arrayFilter;
+
+
+/***/ }),
+/* 300 */
+/*!*************************************************!*\
+ !*** ./node_modules/lodash/_baseIsArguments.js ***!
+ \*************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
+ isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
+
+/** `Object#toString` result references. */
+var argsTag = '[object Arguments]';
+
+/**
+ * The base implementation of `_.isArguments`.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
+ */
+function baseIsArguments(value) {
+ return isObjectLike(value) && baseGetTag(value) == argsTag;
+}
+
+module.exports = baseIsArguments;
+
+
+/***/ }),
+/* 301 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/stubFalse.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * This method returns `false`.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.13.0
+ * @category Util
+ * @returns {boolean} Returns `false`.
+ * @example
+ *
+ * _.times(2, _.stubFalse);
+ * // => [false, false]
+ */
+function stubFalse() {
+ return false;
+}
+
+module.exports = stubFalse;
+
+
+/***/ }),
+/* 302 */
+/*!**************************************************!*\
+ !*** ./node_modules/lodash/_baseIsTypedArray.js ***!
+ \**************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
+ isLength = __webpack_require__(/*! ./isLength */ 83),
+ isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
+
+/** `Object#toString` result references. */
+var argsTag = '[object Arguments]',
+ arrayTag = '[object Array]',
+ boolTag = '[object Boolean]',
+ dateTag = '[object Date]',
+ errorTag = '[object Error]',
+ funcTag = '[object Function]',
+ mapTag = '[object Map]',
+ numberTag = '[object Number]',
+ objectTag = '[object Object]',
+ regexpTag = '[object RegExp]',
+ setTag = '[object Set]',
+ stringTag = '[object String]',
+ weakMapTag = '[object WeakMap]';
+
+var arrayBufferTag = '[object ArrayBuffer]',
+ dataViewTag = '[object DataView]',
+ float32Tag = '[object Float32Array]',
+ float64Tag = '[object Float64Array]',
+ int8Tag = '[object Int8Array]',
+ int16Tag = '[object Int16Array]',
+ int32Tag = '[object Int32Array]',
+ uint8Tag = '[object Uint8Array]',
+ uint8ClampedTag = '[object Uint8ClampedArray]',
+ uint16Tag = '[object Uint16Array]',
+ uint32Tag = '[object Uint32Array]';
+
+/** Used to identify `toStringTag` values of typed arrays. */
+var typedArrayTags = {};
+typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
+typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
+typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
+typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
+typedArrayTags[uint32Tag] = true;
+typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
+typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
+typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
+typedArrayTags[errorTag] = typedArrayTags[funcTag] =
+typedArrayTags[mapTag] = typedArrayTags[numberTag] =
+typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
+typedArrayTags[setTag] = typedArrayTags[stringTag] =
+typedArrayTags[weakMapTag] = false;
+
+/**
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
+ */
+function baseIsTypedArray(value) {
+ return isObjectLike(value) &&
+ isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
+}
+
+module.exports = baseIsTypedArray;
+
+
+/***/ }),
+/* 303 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_baseKeys.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var isPrototype = __webpack_require__(/*! ./_isPrototype */ 54),
+ nativeKeys = __webpack_require__(/*! ./_nativeKeys */ 304);
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;
+
+/**
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @returns {Array} Returns the array of property names.
+ */
+function baseKeys(object) {
+ if (!isPrototype(object)) {
+ return nativeKeys(object);
+ }
+ var result = [];
+ for (var key in Object(object)) {
+ if (hasOwnProperty.call(object, key) && key != 'constructor') {
+ result.push(key);
+ }
+ }
+ return result;
+}
+
+module.exports = baseKeys;
+
+
+/***/ }),
+/* 304 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_nativeKeys.js ***!
+ \********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var overArg = __webpack_require__(/*! ./_overArg */ 160);
+
+/* Built-in method references for those with the same name as other `lodash` methods. */
+var nativeKeys = overArg(Object.keys, Object);
+
+module.exports = nativeKeys;
+
+
+/***/ }),
+/* 305 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_DataView.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var getNative = __webpack_require__(/*! ./_getNative */ 21),
+ root = __webpack_require__(/*! ./_root */ 12);
+
+/* Built-in method references that are verified to be native. */
+var DataView = getNative(root, 'DataView');
+
+module.exports = DataView;
+
+
+/***/ }),
+/* 306 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_Promise.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var getNative = __webpack_require__(/*! ./_getNative */ 21),
+ root = __webpack_require__(/*! ./_root */ 12);
+
+/* Built-in method references that are verified to be native. */
+var Promise = getNative(root, 'Promise');
+
+module.exports = Promise;
+
+
+/***/ }),
+/* 307 */
+/*!*************************************!*\
+ !*** ./node_modules/lodash/_Set.js ***!
+ \*************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var getNative = __webpack_require__(/*! ./_getNative */ 21),
+ root = __webpack_require__(/*! ./_root */ 12);
+
+/* Built-in method references that are verified to be native. */
+var Set = getNative(root, 'Set');
+
+module.exports = Set;
+
+
+/***/ }),
+/* 308 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_WeakMap.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var getNative = __webpack_require__(/*! ./_getNative */ 21),
+ root = __webpack_require__(/*! ./_root */ 12);
+
+/* Built-in method references that are verified to be native. */
+var WeakMap = getNative(root, 'WeakMap');
+
+module.exports = WeakMap;
+
+
+/***/ }),
+/* 309 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_getMatchData.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 161),
+ keys = __webpack_require__(/*! ./keys */ 28);
+
+/**
+ * Gets the property names, values, and compare flags of `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @returns {Array} Returns the match data of `object`.
+ */
+function getMatchData(object) {
+ var result = keys(object),
+ length = result.length;
+
+ while (length--) {
+ var key = result[length],
+ value = object[key];
+
+ result[length] = [key, value, isStrictComparable(value)];
+ }
+ return result;
+}
+
+module.exports = getMatchData;
+
+
+/***/ }),
+/* 310 */
+/*!*****************************************************!*\
+ !*** ./node_modules/lodash/_baseMatchesProperty.js ***!
+ \*****************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 151),
+ get = __webpack_require__(/*! ./get */ 163),
+ hasIn = __webpack_require__(/*! ./hasIn */ 314),
+ isKey = __webpack_require__(/*! ./_isKey */ 84),
+ isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 161),
+ matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 162),
+ toKey = __webpack_require__(/*! ./_toKey */ 31);
+
+/** Used to compose bitmasks for value comparisons. */
+var COMPARE_PARTIAL_FLAG = 1,
+ COMPARE_UNORDERED_FLAG = 2;
+
+/**
+ * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
+ *
+ * @private
+ * @param {string} path The path of the property to get.
+ * @param {*} srcValue The value to match.
+ * @returns {Function} Returns the new spec function.
+ */
+function baseMatchesProperty(path, srcValue) {
+ if (isKey(path) && isStrictComparable(srcValue)) {
+ return matchesStrictComparable(toKey(path), srcValue);
+ }
+ return function(object) {
+ var objValue = get(object, path);
+ return (objValue === undefined && objValue === srcValue)
+ ? hasIn(object, path)
+ : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
+ };
+}
+
+module.exports = baseMatchesProperty;
+
+
+/***/ }),
+/* 311 */
+/*!**********************************************!*\
+ !*** ./node_modules/lodash/_stringToPath.js ***!
+ \**********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ 312);
+
+/** Used to match property names within property paths. */
+var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
+
+/** Used to match backslashes in property paths. */
+var reEscapeChar = /\\(\\)?/g;
+
+/**
+ * Converts `string` to a property path array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the property path array.
+ */
+var stringToPath = memoizeCapped(function(string) {
+ var result = [];
+ if (string.charCodeAt(0) === 46 /* . */) {
+ result.push('');
+ }
+ string.replace(rePropName, function(match, number, quote, subString) {
+ result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
+ });
+ return result;
+});
+
+module.exports = stringToPath;
+
+
+/***/ }),
+/* 312 */
+/*!***********************************************!*\
+ !*** ./node_modules/lodash/_memoizeCapped.js ***!
+ \***********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var memoize = __webpack_require__(/*! ./memoize */ 313);
+
+/** Used as the maximum memoize cache size. */
+var MAX_MEMOIZE_SIZE = 500;
+
+/**
+ * A specialized version of `_.memoize` which clears the memoized function's
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
+ *
+ * @private
+ * @param {Function} func The function to have its output memoized.
+ * @returns {Function} Returns the new memoized function.
+ */
+function memoizeCapped(func) {
+ var result = memoize(func, function(key) {
+ if (cache.size === MAX_MEMOIZE_SIZE) {
+ cache.clear();
+ }
+ return key;
+ });
+
+ var cache = result.cache;
+ return result;
+}
+
+module.exports = memoizeCapped;
+
+
+/***/ }),
+/* 313 */
+/*!****************************************!*\
+ !*** ./node_modules/lodash/memoize.js ***!
+ \****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var MapCache = __webpack_require__(/*! ./_MapCache */ 77);
+
+/** Error message constants. */
+var FUNC_ERROR_TEXT = 'Expected a function';
+
+/**
+ * Creates a function that memoizes the result of `func`. If `resolver` is
+ * provided, it determines the cache key for storing the result based on the
+ * arguments provided to the memoized function. By default, the first argument
+ * provided to the memoized function is used as the map cache key. The `func`
+ * is invoked with the `this` binding of the memoized function.
+ *
+ * **Note:** The cache is exposed as the `cache` property on the memoized
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
+ * constructor with one whose instances implement the
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Function
+ * @param {Function} func The function to have its output memoized.
+ * @param {Function} [resolver] The function to resolve the cache key.
+ * @returns {Function} Returns the new memoized function.
+ * @example
+ *
+ * var object = { 'a': 1, 'b': 2 };
+ * var other = { 'c': 3, 'd': 4 };
+ *
+ * var values = _.memoize(_.values);
+ * values(object);
+ * // => [1, 2]
+ *
+ * values(other);
+ * // => [3, 4]
+ *
+ * object.a = 2;
+ * values(object);
+ * // => [1, 2]
+ *
+ * // Modify the result cache.
+ * values.cache.set(object, ['a', 'b']);
+ * values(object);
+ * // => ['a', 'b']
+ *
+ * // Replace `_.memoize.Cache`.
+ * _.memoize.Cache = WeakMap;
+ */
+function memoize(func, resolver) {
+ if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
+ throw new TypeError(FUNC_ERROR_TEXT);
+ }
+ var memoized = function() {
+ var args = arguments,
+ key = resolver ? resolver.apply(this, args) : args[0],
+ cache = memoized.cache;
+
+ if (cache.has(key)) {
+ return cache.get(key);
+ }
+ var result = func.apply(this, args);
+ memoized.cache = cache.set(key, result) || cache;
+ return result;
+ };
+ memoized.cache = new (memoize.Cache || MapCache);
+ return memoized;
+}
+
+// Expose `MapCache`.
+memoize.Cache = MapCache;
+
+module.exports = memoize;
+
+
+/***/ }),
+/* 314 */
+/*!**************************************!*\
+ !*** ./node_modules/lodash/hasIn.js ***!
+ \**************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ 315),
+ hasPath = __webpack_require__(/*! ./_hasPath */ 316);
+
+/**
+ * Checks if `path` is a direct or inherited property of `object`.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Object
+ * @param {Object} object The object to query.
+ * @param {Array|string} path The path to check.
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
+ * @example
+ *
+ * var object = _.create({ 'a': _.create({ 'b': 2 }) });
+ *
+ * _.hasIn(object, 'a');
+ * // => true
+ *
+ * _.hasIn(object, 'a.b');
+ * // => true
+ *
+ * _.hasIn(object, ['a', 'b']);
+ * // => true
+ *
+ * _.hasIn(object, 'b');
+ * // => false
+ */
+function hasIn(object, path) {
+ return object != null && hasPath(object, path, baseHasIn);
+}
+
+module.exports = hasIn;
+
+
+/***/ }),
+/* 315 */
+/*!*******************************************!*\
+ !*** ./node_modules/lodash/_baseHasIn.js ***!
+ \*******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * The base implementation of `_.hasIn` without support for deep paths.
+ *
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {Array|string} key The key to check.
+ * @returns {boolean} Returns `true` if `key` exists, else `false`.
+ */
+function baseHasIn(object, key) {
+ return object != null && key in Object(object);
+}
+
+module.exports = baseHasIn;
+
+
+/***/ }),
+/* 316 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_hasPath.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var castPath = __webpack_require__(/*! ./_castPath */ 30),
+ isArguments = __webpack_require__(/*! ./isArguments */ 80),
+ isArray = __webpack_require__(/*! ./isArray */ 14),
+ isIndex = __webpack_require__(/*! ./_isIndex */ 51),
+ isLength = __webpack_require__(/*! ./isLength */ 83),
+ toKey = __webpack_require__(/*! ./_toKey */ 31);
+
+/**
+ * Checks if `path` exists on `object`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Array|string} path The path to check.
+ * @param {Function} hasFunc The function to check properties.
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
+ */
+function hasPath(object, path, hasFunc) {
+ path = castPath(path, object);
+
+ var index = -1,
+ length = path.length,
+ result = false;
+
+ while (++index < length) {
+ var key = toKey(path[index]);
+ if (!(result = object != null && hasFunc(object, key))) {
+ break;
+ }
+ object = object[key];
+ }
+ if (result || ++index != length) {
+ return result;
+ }
+ length = object == null ? 0 : object.length;
+ return !!length && isLength(length) && isIndex(key, length) &&
+ (isArray(object) || isArguments(object));
+}
+
+module.exports = hasPath;
+
+
+/***/ }),
+/* 317 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/property.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseProperty = __webpack_require__(/*! ./_baseProperty */ 166),
+ basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ 318),
+ isKey = __webpack_require__(/*! ./_isKey */ 84),
+ toKey = __webpack_require__(/*! ./_toKey */ 31);
+
+/**
+ * Creates a function that returns the value at `path` of a given object.
+ *
+ * @static
+ * @memberOf _
+ * @since 2.4.0
+ * @category Util
+ * @param {Array|string} path The path of the property to get.
+ * @returns {Function} Returns the new accessor function.
+ * @example
+ *
+ * var objects = [
+ * { 'a': { 'b': 2 } },
+ * { 'a': { 'b': 1 } }
+ * ];
+ *
+ * _.map(objects, _.property('a.b'));
+ * // => [2, 1]
+ *
+ * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
+ * // => [1, 2]
+ */
+function property(path) {
+ return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
+}
+
+module.exports = property;
+
+
+/***/ }),
+/* 318 */
+/*!**************************************************!*\
+ !*** ./node_modules/lodash/_basePropertyDeep.js ***!
+ \**************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseGet = __webpack_require__(/*! ./_baseGet */ 56);
+
+/**
+ * A specialized version of `baseProperty` which supports deep paths.
+ *
+ * @private
+ * @param {Array|string} path The path of the property to get.
+ * @returns {Function} Returns the new accessor function.
+ */
+function basePropertyDeep(path) {
+ return function(object) {
+ return baseGet(object, path);
+ };
+}
+
+module.exports = basePropertyDeep;
+
+
+/***/ }),
+/* 319 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_baseMap.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseEach = __webpack_require__(/*! ./_baseEach */ 320),
+ isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
+
+/**
+ * The base implementation of `_.map` without support for iteratee shorthands.
+ *
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array} Returns the new mapped array.
+ */
+function baseMap(collection, iteratee) {
+ var index = -1,
+ result = isArrayLike(collection) ? Array(collection.length) : [];
+
+ baseEach(collection, function(value, key, collection) {
+ result[++index] = iteratee(value, key, collection);
+ });
+ return result;
+}
+
+module.exports = baseMap;
+
+
+/***/ }),
+/* 320 */
+/*!******************************************!*\
+ !*** ./node_modules/lodash/_baseEach.js ***!
+ \******************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 321),
+ createBaseEach = __webpack_require__(/*! ./_createBaseEach */ 324);
+
+/**
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
+ *
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array|Object} Returns `collection`.
+ */
+var baseEach = createBaseEach(baseForOwn);
+
+module.exports = baseEach;
+
+
+/***/ }),
+/* 321 */
+/*!********************************************!*\
+ !*** ./node_modules/lodash/_baseForOwn.js ***!
+ \********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var baseFor = __webpack_require__(/*! ./_baseFor */ 322),
+ keys = __webpack_require__(/*! ./keys */ 28);
+
+/**
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
+ *
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Object} Returns `object`.
+ */
+function baseForOwn(object, iteratee) {
+ return object && baseFor(object, iteratee, keys);
+}
+
+module.exports = baseForOwn;
+
+
+/***/ }),
+/* 322 */
+/*!*****************************************!*\
+ !*** ./node_modules/lodash/_baseFor.js ***!
+ \*****************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ 323);
+
+/**
+ * The base implementation of `baseForOwn` which iterates over `object`
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
+ *
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {Function} keysFunc The function to get the keys of `object`.
+ * @returns {Object} Returns `object`.
+ */
+var baseFor = createBaseFor();
+
+module.exports = baseFor;
+
+
+/***/ }),
+/* 323 */
+/*!***********************************************!*\
+ !*** ./node_modules/lodash/_createBaseFor.js ***!
+ \***********************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+/**
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
+ *
+ * @private
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Function} Returns the new base function.
+ */
+function createBaseFor(fromRight) {
+ return function(object, iteratee, keysFunc) {
+ var index = -1,
+ iterable = Object(object),
+ props = keysFunc(object),
+ length = props.length;
+
+ while (length--) {
+ var key = props[fromRight ? length : ++index];
+ if (iteratee(iterable[key], key, iterable) === false) {
+ break;
+ }
+ }
+ return object;
+ };
+}
+
+module.exports = createBaseFor;
+
+
+/***/ }),
+/* 324 */
+/*!************************************************!*\
+ !*** ./node_modules/lodash/_createBaseEach.js ***!
+ \************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
+
+/**
+ * Creates a `baseEach` or `baseEachRight` function.
+ *
+ * @private
+ * @param {Function} eachFunc The function to iterate over a collection.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Function} Returns the new base function.
+ */
+function createBaseEach(eachFunc, fromRight) {
+ return function(collection, iteratee) {
+ if (collection == null) {
+ return collection;
+ }
+ if (!isArrayLike(collection)) {
+ return eachFunc(collection, iteratee);
+ }
+ var length = collection.length,
+ index = fromRight ? length : -1,
+ iterable = Object(collection);
+
+ while ((fromRight ? index-- : ++index < length)) {
+ if (iteratee(iterable[index], index, iterable) === false) {
+ break;
+ }
+ }
+ return collection;
+ };
+}
+
+module.exports = createBaseEach;
+
+
+/***/ }),
+/* 325 */
+/*!********************************************!*\
+ !*** ./src/components/typography/fonts.js ***!
+ \********************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/**
+ * Google Fonts for the FontFamily component.
+ */
+
+var fonts = {};
+fonts["ABeeZee"] = { "v": ["regular", "italic"], "subset": ["latin"], "weight": ["400"], "i": ["normal", "italic"] };
+fonts["Abel"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Abhaya Libre"] = { "v": ["regular", "500", "600", "700", "800"], "subset": ["latin-ext", "sinhala", "latin"], "weight": ["400", "500", "600", "700", "800"], "i": ["normal"] };
+fonts["Abril Fatface"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Aclonica"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Acme"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Actor"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Adamina"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Advent Pro"] = { "v": ["100", "200", "300", "regular", "500", "600", "700"], "subset": ["latin-ext", "greek", "latin"], "weight": ["100", "200", "300", "400", "500", "600", "700"], "i": ["normal"] };
+fonts["Aguafina Script"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Akronim"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Aladin"] = { "v": ["regular"], "subset": ["latin-ext", "latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Aldrich"] = { "v": ["regular"], "subset": ["latin"], "weight": ["400"], "i": ["normal"] };
+fonts["Alef"] = { "v": ["regular", "700"], "subset": ["hebrew", "latin"], "weight": ["400", "700"], "i": ["normal"] };
+fonts["Alegreya"] = { "v": ["regular", "italic", "500", "500italic", "700", "700italic", "800", "800italic", "900", "900italic"], "subset": ["cyrillic", "cyrillic-ext", "greek-ext", "latin-ext", "greek", "vietnamese", "latin"], "weight": ["400", "500", "700", "800", "900"], "i": ["normal", "italic"] };
fonts["Alegreya SC"] = { "v": ["regular", "italic", "500", "500italic", "700", "700italic", "800", "800italic", "900", "900italic"], "subset": ["cyrillic", "cyrillic-ext", "greek-ext", "latin-ext", "greek", "vietnamese", "latin"], "weight": ["400", "500", "700", "800", "900"], "i": ["normal", "italic"] };
fonts["Alegreya Sans"] = { "v": ["100", "100italic", "300", "300italic", "regular", "italic", "500", "500italic", "700", "700italic", "800", "800italic", "900", "900italic"], "subset": ["cyrillic", "cyrillic-ext", "greek-ext", "latin-ext", "greek", "vietnamese", "latin"], "weight": ["100", "300", "400", "500", "700", "800", "900"], "i": ["normal", "italic"] };
fonts["Alegreya Sans SC"] = { "v": ["100", "100italic", "300", "300italic", "regular", "italic", "500", "500italic", "700", "700italic", "800", "800italic", "900", "900italic"], "subset": ["cyrillic", "cyrillic-ext", "greek-ext", "latin-ext", "greek", "vietnamese", "latin"], "weight": ["100", "300", "400", "500", "700", "800", "900"], "i": ["normal", "italic"] };
@@ -26863,7 +30574,7 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
/* harmony default export */ __webpack_exports__["a"] = (fonts);
/***/ }),
-/* 259 */
+/* 326 */
/*!********************************************************************!*\
!*** ./node_modules/react-select/dist/react-select.browser.esm.js ***!
\********************************************************************/
@@ -26873,26 +30584,48 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
"use strict";
/* unused harmony export NonceProvider */
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(/*! react */ 6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(/*! memoize-one */ 131);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(/*! @emotion/core */ 65);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(/*! react-dom */ 18);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(/*! prop-types */ 15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(/*! ./utils-06b0d5a4.browser.esm.js */ 66);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(/*! ./index-4322c0ed.browser.esm.js */ 137);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ 327);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_objectWithoutProperties__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ 329);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_extends__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 330);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_slicedToArray__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 334);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_toConsumableArray__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 338);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_defineProperty__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ 59);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ 60);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 339);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_assertThisInitialized__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ 61);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_possibleConstructorReturn__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ 62);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_getPrototypeOf__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ 63);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react__ = __webpack_require__(/*! react */ 5);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_memoize_one__ = __webpack_require__(/*! memoize-one */ 171);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__emotion_core__ = __webpack_require__(/*! @emotion/core */ 87);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom__ = __webpack_require__(/*! react-dom */ 33);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_react_dom__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 169);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15__babel_runtime_helpers_typeof__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__index_75b02bac_browser_esm_js__ = __webpack_require__(/*! ./index-75b02bac.browser.esm.js */ 176);
/* unused harmony reexport components */
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(/*! ./Select-9fdb8cd0.browser.esm.js */ 139);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__Select_e1cf49ae_browser_esm_js__ = __webpack_require__(/*! ./Select-e1cf49ae.browser.esm.js */ 180);
/* unused harmony reexport createFilter */
/* unused harmony reexport defaultTheme */
/* unused harmony reexport mergeStyles */
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(/*! @emotion/css */ 29);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 138);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(/*! ./stateManager-04f734a2.browser.esm.js */ 280);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 132);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ 374);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_19__babel_runtime_helpers_taggedTemplateLiteral__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize__ = __webpack_require__(/*! react-input-autosize */ 178);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20_react_input_autosize__);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__stateManager_2f2b6f5b_browser_esm_js__ = __webpack_require__(/*! ./stateManager-2f2b6f5b.browser.esm.js */ 375);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 88);
+
+
+
+
@@ -26907,57 +30640,390 @@ fonts["Zilla Slab Highlight"] = { "v": ["regular", "700"], "subset": ["latin-ext
-function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
-var NonceProvider =
-/*#__PURE__*/
-function (_Component) {
- _inheritsLoose(NonceProvider, _Component);
+
+
+
+
+
+
+function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = Object(__WEBPACK_IMPORTED_MODULE_10__babel_runtime_helpers_esm_getPrototypeOf__["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(__WEBPACK_IMPORTED_MODULE_9__babel_runtime_helpers_esm_possibleConstructorReturn__["a" /* default */])(this, result); }; }
+
+function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
+
+var NonceProvider = /*#__PURE__*/function (_Component) {
+ Object(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_esm_inherits__["a" /* default */])(NonceProvider, _Component);
+
+ var _super = _createSuper(NonceProvider);
function NonceProvider(props) {
var _this;
- _this = _Component.call(this, props) || this;
+ Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, NonceProvider);
+
+ _this = _super.call(this, props);
_this.createEmotionCache = function (nonce) {
- return __WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */]({
+ return Object(__WEBPACK_IMPORTED_MODULE_22__emotion_cache__["a" /* default */])({
nonce: nonce
});
};
- _this.createEmotionCache = __WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */](_this.createEmotionCache);
- return _this;
- }
+ _this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_12_memoize_one__["a" /* default */])(_this.createEmotionCache);
+ return _this;
+ }
+
+ Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_createClass__["a" /* default */])(NonceProvider, [{
+ key: "render",
+ value: function render() {
+ var emotionCache = this.createEmotionCache(this.props.nonce);
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_11_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13__emotion_core__["a" /* CacheProvider */], {
+ value: emotionCache
+ }, this.props.children);
+ }
+ }]);
+
+ return NonceProvider;
+}(__WEBPACK_IMPORTED_MODULE_11_react__["Component"]);
+
+var index = Object(__WEBPACK_IMPORTED_MODULE_21__stateManager_2f2b6f5b_browser_esm_js__["a" /* m */])(__WEBPACK_IMPORTED_MODULE_17__Select_e1cf49ae_browser_esm_js__["a" /* S */]);
+
+/* harmony default export */ __webpack_exports__["a"] = (index);
+
+
+
+/***/ }),
+/* 327 */
+/*!**************************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
+ \**************************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports, __webpack_require__) {
+
+var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ 328);
+
+function _objectWithoutProperties(source, excluded) {
+ if (source == null) return {};
+ var target = objectWithoutPropertiesLoose(source, excluded);
+ var key, i;
+
+ if (Object.getOwnPropertySymbols) {
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
+
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
+ key = sourceSymbolKeys[i];
+ if (excluded.indexOf(key) >= 0) continue;
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
+ target[key] = source[key];
+ }
+ }
+
+ return target;
+}
+
+module.exports = _objectWithoutProperties;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 328 */
+/*!*******************************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
+ \*******************************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _objectWithoutPropertiesLoose(source, excluded) {
+ if (source == null) return {};
+ var target = {};
+ var sourceKeys = Object.keys(source);
+ var key, i;
+
+ for (i = 0; i < sourceKeys.length; i++) {
+ key = sourceKeys[i];
+ if (excluded.indexOf(key) >= 0) continue;
+ target[key] = source[key];
+ }
+
+ return target;
+}
+
+module.exports = _objectWithoutPropertiesLoose;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 329 */
+/*!**********************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/extends.js ***!
+ \**********************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports) {
+
+function _extends() {
+ module.exports = _extends = Object.assign || function (target) {
+ for (var i = 1; i < arguments.length; i++) {
+ var source = arguments[i];
+
+ for (var key in source) {
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
+ target[key] = source[key];
+ }
+ }
+ }
+
+ return target;
+ };
+
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
+ return _extends.apply(this, arguments);
+}
+
+module.exports = _extends;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 330 */
+/*!****************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/slicedToArray.js ***!
+ \****************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports, __webpack_require__) {
+
+var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 331);
+
+var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 332);
+
+var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 167);
+
+var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 333);
+
+function _slicedToArray(arr, i) {
+ return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
+}
+
+module.exports = _slicedToArray;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 331 */
+/*!*****************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
+ \*****************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _arrayWithHoles(arr) {
+ if (Array.isArray(arr)) return arr;
+}
+
+module.exports = _arrayWithHoles;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 332 */
+/*!***********************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
+ \***********************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _iterableToArrayLimit(arr, i) {
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
+ var _arr = [];
+ var _n = true;
+ var _d = false;
+ var _e = undefined;
+
+ try {
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
+ _arr.push(_s.value);
+
+ if (i && _arr.length === i) break;
+ }
+ } catch (err) {
+ _d = true;
+ _e = err;
+ } finally {
+ try {
+ if (!_n && _i["return"] != null) _i["return"]();
+ } finally {
+ if (_d) throw _e;
+ }
+ }
+
+ return _arr;
+}
+
+module.exports = _iterableToArrayLimit;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 333 */
+/*!******************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
+ \******************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _nonIterableRest() {
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+}
+
+module.exports = _nonIterableRest;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 334 */
+/*!********************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
+ \********************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports, __webpack_require__) {
+
+var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 335);
+
+var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 336);
+
+var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 167);
+
+var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 337);
+
+function _toConsumableArray(arr) {
+ return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
+}
+
+module.exports = _toConsumableArray;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 335 */
+/*!********************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
+ \********************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports, __webpack_require__) {
+
+var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 168);
+
+function _arrayWithoutHoles(arr) {
+ if (Array.isArray(arr)) return arrayLikeToArray(arr);
+}
+
+module.exports = _arrayWithoutHoles;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 336 */
+/*!******************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
+ \******************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _iterableToArray(iter) {
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
+}
+
+module.exports = _iterableToArray;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 337 */
+/*!********************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
+ \********************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+
+function _nonIterableSpread() {
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+}
+
+module.exports = _nonIterableSpread;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
+
+/***/ }),
+/* 338 */
+/*!*****************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/defineProperty.js ***!
+ \*****************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports) {
+
+function _defineProperty(obj, key, value) {
+ if (key in obj) {
+ Object.defineProperty(obj, key, {
+ value: value,
+ enumerable: true,
+ configurable: true,
+ writable: true
+ });
+ } else {
+ obj[key] = value;
+ }
+
+ return obj;
+}
+
+module.exports = _defineProperty;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
- var _proto = NonceProvider.prototype;
+/***/ }),
+/* 339 */
+/*!************************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
+ \************************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports) {
- _proto.render = function render() {
- var emotionCache = this.createEmotionCache(this.props.nonce);
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
- value: emotionCache
- }, this.props.children);
- };
+function _assertThisInitialized(self) {
+ if (self === void 0) {
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
+ }
- return NonceProvider;
-}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
+ return self;
+}
-var index = __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__["a" /* m */](__WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["a" /* S */]);
+module.exports = _assertThisInitialized;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
-/* harmony default export */ __webpack_exports__["a"] = (index);
+/***/ }),
+/* 340 */
+/*!*********************************************************************************************!*\
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
+ \*********************************************************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+"use strict";
+/* harmony export (immutable) */ __webpack_exports__["a"] = _setPrototypeOf;
+function _setPrototypeOf(o, p) {
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
+ o.__proto__ = p;
+ return o;
+ };
+ return _setPrototypeOf(o, p);
+}
/***/ }),
-/* 260 */
+/* 341 */
/*!********************************************************!*\
!*** ./node_modules/react/cjs/react.production.min.js ***!
\********************************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-/** @license React v16.12.0
+/** @license React v16.14.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -26966,35 +31032,35 @@ var index = __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__
* LICENSE file in the root directory of this source tree.
*/
-var h=__webpack_require__(/*! object-assign */ 27),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113;n&&Symbol.for("react.suspense_list");
-var z=n?Symbol.for("react.memo"):60115,aa=n?Symbol.for("react.lazy"):60116;n&&Symbol.for("react.fundamental");n&&Symbol.for("react.responder");n&&Symbol.for("react.scope");var A="function"===typeof Symbol&&Symbol.iterator;
-function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;cP.length&&P.push(a)}
-function S(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var l=0;lQ.length&&Q.push(a)}
+function T(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
+var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
+function describeComponentFrame (name, source, ownerName) {
+ var sourceInfo = '';
+
+ if (source) {
+ var path = source.fileName;
+ var fileName = path.replace(BEFORE_SLASH_RE, '');
+
+ {
+ // In DEV, include code for a common special case:
+ // prefer "folder/index.js" instead of just "index.js".
+ if (/^index\./.test(fileName)) {
+ var match = path.match(BEFORE_SLASH_RE);
+
+ if (match) {
+ var pathBeforeSlash = match[1];
+
+ if (pathBeforeSlash) {
+ var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
+ fileName = folderName + '/' + fileName;
+ }
+ }
+ }
}
- var argIndex = 0;
- var message = 'Warning: ' + format.replace(/%s/g, function () {
- return args[argIndex++];
- });
+ sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
+ } else if (ownerName) {
+ sourceInfo = ' (created by ' + ownerName + ')';
+ }
- if (typeof console !== 'undefined') {
- console.warn(message);
+ return '\n in ' + (name || 'Unknown') + sourceInfo;
+}
+
+var Resolved = 1;
+function refineResolvedLazyComponent(lazyComponent) {
+ return lazyComponent._status === Resolved ? lazyComponent._result : null;
+}
+
+function getWrappedName(outerType, innerType, wrapperName) {
+ var functionName = innerType.displayName || innerType.name || '';
+ return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
+}
+
+function getComponentName(type) {
+ if (type == null) {
+ // Host root, text node or just invalid type.
+ return null;
+ }
+
+ {
+ if (typeof type.tag === 'number') {
+ error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
}
+ }
- try {
- // --- Welcome to debugging React ---
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- throw new Error(message);
- } catch (x) {}
- };
+ if (typeof type === 'function') {
+ return type.displayName || type.name || null;
+ }
- lowPriorityWarningWithoutStack = function (condition, format) {
- if (format === undefined) {
- throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
+ if (typeof type === 'string') {
+ return type;
+ }
+
+ switch (type) {
+ case REACT_FRAGMENT_TYPE:
+ return 'Fragment';
+
+ case REACT_PORTAL_TYPE:
+ return 'Portal';
+
+ case REACT_PROFILER_TYPE:
+ return "Profiler";
+
+ case REACT_STRICT_MODE_TYPE:
+ return 'StrictMode';
+
+ case REACT_SUSPENSE_TYPE:
+ return 'Suspense';
+
+ case REACT_SUSPENSE_LIST_TYPE:
+ return 'SuspenseList';
+ }
+
+ if (typeof type === 'object') {
+ switch (type.$$typeof) {
+ case REACT_CONTEXT_TYPE:
+ return 'Context.Consumer';
+
+ case REACT_PROVIDER_TYPE:
+ return 'Context.Provider';
+
+ case REACT_FORWARD_REF_TYPE:
+ return getWrappedName(type, type.render, 'ForwardRef');
+
+ case REACT_MEMO_TYPE:
+ return getComponentName(type.type);
+
+ case REACT_BLOCK_TYPE:
+ return getComponentName(type.render);
+
+ case REACT_LAZY_TYPE:
+ {
+ var thenable = type;
+ var resolvedThenable = refineResolvedLazyComponent(thenable);
+
+ if (resolvedThenable) {
+ return getComponentName(resolvedThenable);
+ }
+
+ break;
+ }
}
+ }
+
+ return null;
+}
+
+var ReactDebugCurrentFrame = {};
+var currentlyValidatingElement = null;
+function setCurrentlyValidatingElement(element) {
+ {
+ currentlyValidatingElement = element;
+ }
+}
+
+{
+ // Stack implementation injected by the current renderer.
+ ReactDebugCurrentFrame.getCurrentStack = null;
+
+ ReactDebugCurrentFrame.getStackAddendum = function () {
+ var stack = ''; // Add an extra top frame while an element is being validated
+
+ if (currentlyValidatingElement) {
+ var name = getComponentName(currentlyValidatingElement.type);
+ var owner = currentlyValidatingElement._owner;
+ stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
+ } // Delegate to the injected renderer-specific implementation
- if (!condition) {
- for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
- args[_key2 - 2] = arguments[_key2];
- }
- printWarning.apply(void 0, [format].concat(args));
+ var impl = ReactDebugCurrentFrame.getCurrentStack;
+
+ if (impl) {
+ stack += impl() || '';
}
+
+ return stack;
};
}
-var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
-
/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
+ * Used by act() to track whether you're inside an act() scope.
*/
-var warningWithoutStack = function () {};
+var IsSomeRendererActing = {
+ current: false
+};
+
+var ReactSharedInternals = {
+ ReactCurrentDispatcher: ReactCurrentDispatcher,
+ ReactCurrentBatchConfig: ReactCurrentBatchConfig,
+ ReactCurrentOwner: ReactCurrentOwner,
+ IsSomeRendererActing: IsSomeRendererActing,
+ // Used by renderers to avoid bundling object-assign twice in UMD bundles:
+ assign: _assign
+};
{
- warningWithoutStack = function (condition, format) {
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- args[_key - 2] = arguments[_key];
- }
+ _assign(ReactSharedInternals, {
+ // These should not be included in production.
+ ReactDebugCurrentFrame: ReactDebugCurrentFrame,
+ // Shim for React DOM 16.0.0 which still destructured (but not used) this.
+ // TODO: remove in React 17.0.
+ ReactComponentTreeHook: {}
+ });
+}
- if (format === undefined) {
- throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
- }
+// by calls to these methods by a Babel plugin.
+//
+// In PROD (or in packages without access to React internals),
+// they are left as they are instead.
- if (args.length > 8) {
- // Check before the condition to catch violations early.
- throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
+function warn(format) {
+ {
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
}
- if (condition) {
- return;
+ printWarning('warn', format, args);
+ }
+}
+function error(format) {
+ {
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
+ args[_key2 - 1] = arguments[_key2];
}
- if (typeof console !== 'undefined') {
- var argsWithFormat = args.map(function (item) {
- return '' + item;
- });
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
- // breaks IE9: https://github.com/facebook/react/issues/13610
+ printWarning('error', format, args);
+ }
+}
+
+function printWarning(level, format, args) {
+ // When changing this logic, you might want to also
+ // update consoleWithStackDev.www.js as well.
+ {
+ var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0;
+
+ if (!hasExistingStack) {
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
- Function.prototype.apply.call(console.error, console, argsWithFormat);
+ if (stack !== '') {
+ format += '%s';
+ args = args.concat([stack]);
+ }
}
+ var argsWithFormat = args.map(function (item) {
+ return '' + item;
+ }); // Careful: RN currently depends on this prefix
+
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
+ // breaks IE9: https://github.com/facebook/react/issues/13610
+ // eslint-disable-next-line react-internal/no-production-logging
+
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
+
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
@@ -27173,11 +31386,9 @@ var warningWithoutStack = function () {};
});
throw new Error(message);
} catch (x) {}
- };
+ }
}
-var warningWithoutStack$1 = warningWithoutStack;
-
var didWarnStateUpdateForUnmountedComponent = {};
function warnNoop(publicInstance, callerName) {
@@ -27190,7 +31401,8 @@ function warnNoop(publicInstance, callerName) {
return;
}
- warningWithoutStack$1(false, "Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
+ error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
}
}
@@ -27314,7 +31526,7 @@ Component.prototype.isReactComponent = {};
Component.prototype.setState = function (partialState, callback) {
if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
{
- throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
+ throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." );
}
}
@@ -27355,7 +31567,8 @@ Component.prototype.forceUpdate = function (callback) {
var defineDeprecationWarning = function (methodName, info) {
Object.defineProperty(Component.prototype, methodName, {
get: function () {
- lowPriorityWarningWithoutStack$1(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
+ warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
+
return undefined;
}
});
@@ -27403,240 +31616,6 @@ function createRef() {
return refObject;
}
-/**
- * Keeps track of the current dispatcher.
- */
-var ReactCurrentDispatcher = {
- /**
- * @internal
- * @type {ReactComponent}
- */
- current: null
-};
-
-/**
- * Keeps track of the current batch's configuration such as how long an update
- * should suspend for if it needs to.
- */
-var ReactCurrentBatchConfig = {
- suspense: null
-};
-
-/**
- * Keeps track of the current owner.
- *
- * The current owner is the component who should own any components that are
- * currently being constructed.
- */
-var ReactCurrentOwner = {
- /**
- * @internal
- * @type {ReactComponent}
- */
- current: null
-};
-
-var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
-var describeComponentFrame = function (name, source, ownerName) {
- var sourceInfo = '';
-
- if (source) {
- var path = source.fileName;
- var fileName = path.replace(BEFORE_SLASH_RE, '');
-
- {
- // In DEV, include code for a common special case:
- // prefer "folder/index.js" instead of just "index.js".
- if (/^index\./.test(fileName)) {
- var match = path.match(BEFORE_SLASH_RE);
-
- if (match) {
- var pathBeforeSlash = match[1];
-
- if (pathBeforeSlash) {
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
- fileName = folderName + '/' + fileName;
- }
- }
- }
- }
-
- sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
- } else if (ownerName) {
- sourceInfo = ' (created by ' + ownerName + ')';
- }
-
- return '\n in ' + (name || 'Unknown') + sourceInfo;
-};
-
-var Resolved = 1;
-
-function refineResolvedLazyComponent(lazyComponent) {
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
-}
-
-function getWrappedName(outerType, innerType, wrapperName) {
- var functionName = innerType.displayName || innerType.name || '';
- return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
-}
-
-function getComponentName(type) {
- if (type == null) {
- // Host root, text node or just invalid type.
- return null;
- }
-
- {
- if (typeof type.tag === 'number') {
- warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
- }
- }
-
- if (typeof type === 'function') {
- return type.displayName || type.name || null;
- }
-
- if (typeof type === 'string') {
- return type;
- }
-
- switch (type) {
- case REACT_FRAGMENT_TYPE:
- return 'Fragment';
-
- case REACT_PORTAL_TYPE:
- return 'Portal';
-
- case REACT_PROFILER_TYPE:
- return "Profiler";
-
- case REACT_STRICT_MODE_TYPE:
- return 'StrictMode';
-
- case REACT_SUSPENSE_TYPE:
- return 'Suspense';
-
- case REACT_SUSPENSE_LIST_TYPE:
- return 'SuspenseList';
- }
-
- if (typeof type === 'object') {
- switch (type.$$typeof) {
- case REACT_CONTEXT_TYPE:
- return 'Context.Consumer';
-
- case REACT_PROVIDER_TYPE:
- return 'Context.Provider';
-
- case REACT_FORWARD_REF_TYPE:
- return getWrappedName(type, type.render, 'ForwardRef');
-
- case REACT_MEMO_TYPE:
- return getComponentName(type.type);
-
- case REACT_LAZY_TYPE:
- {
- var thenable = type;
- var resolvedThenable = refineResolvedLazyComponent(thenable);
-
- if (resolvedThenable) {
- return getComponentName(resolvedThenable);
- }
-
- break;
- }
- }
- }
-
- return null;
-}
-
-var ReactDebugCurrentFrame = {};
-var currentlyValidatingElement = null;
-function setCurrentlyValidatingElement(element) {
- {
- currentlyValidatingElement = element;
- }
-}
-
-{
- // Stack implementation injected by the current renderer.
- ReactDebugCurrentFrame.getCurrentStack = null;
-
- ReactDebugCurrentFrame.getStackAddendum = function () {
- var stack = ''; // Add an extra top frame while an element is being validated
-
- if (currentlyValidatingElement) {
- var name = getComponentName(currentlyValidatingElement.type);
- var owner = currentlyValidatingElement._owner;
- stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
- } // Delegate to the injected renderer-specific implementation
-
-
- var impl = ReactDebugCurrentFrame.getCurrentStack;
-
- if (impl) {
- stack += impl() || '';
- }
-
- return stack;
- };
-}
-
-/**
- * Used by act() to track whether you're inside an act() scope.
- */
-var IsSomeRendererActing = {
- current: false
-};
-
-var ReactSharedInternals = {
- ReactCurrentDispatcher: ReactCurrentDispatcher,
- ReactCurrentBatchConfig: ReactCurrentBatchConfig,
- ReactCurrentOwner: ReactCurrentOwner,
- IsSomeRendererActing: IsSomeRendererActing,
- // Used by renderers to avoid bundling object-assign twice in UMD bundles:
- assign: _assign
-};
-
-{
- _assign(ReactSharedInternals, {
- // These should not be included in production.
- ReactDebugCurrentFrame: ReactDebugCurrentFrame,
- // Shim for React DOM 16.0.0 which still destructured (but not used) this.
- // TODO: remove in React 17.0.
- ReactComponentTreeHook: {}
- });
-}
-
-/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
- */
-
-var warning = warningWithoutStack$1;
-
-{
- warning = function (condition, format) {
- if (condition) {
- return;
- }
-
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
- var stack = ReactDebugCurrentFrame.getStackAddendum(); // eslint-disable-next-line react-internal/warning-and-invariant-args
-
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- args[_key - 2] = arguments[_key];
- }
-
- warningWithoutStack$1.apply(void 0, [false, format + '%s'].concat(args, [stack]));
- };
-}
-
-var warning$1 = warning;
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
var RESERVED_PROPS = {
key: true,
@@ -27644,8 +31623,11 @@ var RESERVED_PROPS = {
__self: true,
__source: true
};
-var specialPropKeyWarningShown;
-var specialPropRefWarningShown;
+var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
+
+{
+ didWarnAboutStringRefs = {};
+}
function hasValidRef(config) {
{
@@ -27677,9 +31659,12 @@ function hasValidKey(config) {
function defineKeyPropWarningGetter(props, displayName) {
var warnAboutAccessingKey = function () {
- if (!specialPropKeyWarningShown) {
- specialPropKeyWarningShown = true;
- warningWithoutStack$1(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
+ {
+ if (!specialPropKeyWarningShown) {
+ specialPropKeyWarningShown = true;
+
+ error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
+ }
}
};
@@ -27692,9 +31677,12 @@ function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter(props, displayName) {
var warnAboutAccessingRef = function () {
- if (!specialPropRefWarningShown) {
- specialPropRefWarningShown = true;
- warningWithoutStack$1(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
+ {
+ if (!specialPropRefWarningShown) {
+ specialPropRefWarningShown = true;
+
+ error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
+ }
}
};
@@ -27704,6 +31692,20 @@ function defineRefPropWarningGetter(props, displayName) {
configurable: true
});
}
+
+function warnIfStringRefCannotBeAutoConverted(config) {
+ {
+ if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
+ var componentName = getComponentName(ReactCurrentOwner.current.type);
+
+ if (!didWarnAboutStringRefs[componentName]) {
+ error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://fb.me/react-strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
+
+ didWarnAboutStringRefs[componentName] = true;
+ }
+ }
+ }
+}
/**
* Factory method to create a new React element. This no longer adheres to
* the class pattern, so do not use new to call it. Also, instanceof check
@@ -27779,78 +31781,6 @@ var ReactElement = function (type, key, ref, self, source, owner, props) {
return element;
};
-/**
- * https://github.com/reactjs/rfcs/pull/107
- * @param {*} type
- * @param {object} props
- * @param {string} key
- */
-
-
-
-/**
- * https://github.com/reactjs/rfcs/pull/107
- * @param {*} type
- * @param {object} props
- * @param {string} key
- */
-
-function jsxDEV(type, config, maybeKey, source, self) {
- var propName; // Reserved names are extracted
-
- var props = {};
- var key = null;
- var ref = null; // Currently, key can be spread in as a prop. This causes a potential
- // issue if key is also explicitly declared (ie.
- // or ). We want to deprecate key spread,
- // but as an intermediary step, we will use jsxDEV for everything except
- // , because we aren't currently able to tell if
- // key is explicitly declared to be undefined or not.
-
- if (maybeKey !== undefined) {
- key = '' + maybeKey;
- }
-
- if (hasValidKey(config)) {
- key = '' + config.key;
- }
-
- if (hasValidRef(config)) {
- ref = config.ref;
- } // Remaining properties are added to a new props object
-
-
- for (propName in config) {
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
- props[propName] = config[propName];
- }
- } // Resolve default props
-
-
- if (type && type.defaultProps) {
- var defaultProps = type.defaultProps;
-
- for (propName in defaultProps) {
- if (props[propName] === undefined) {
- props[propName] = defaultProps[propName];
- }
- }
- }
-
- if (key || ref) {
- var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
-
- if (key) {
- defineKeyPropWarningGetter(props, displayName);
- }
-
- if (ref) {
- defineRefPropWarningGetter(props, displayName);
- }
- }
-
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
-}
/**
* Create and return a new ReactElement of the given type.
* See https://reactjs.org/docs/react-api.html#createelement
@@ -27868,6 +31798,10 @@ function createElement(type, config, children) {
if (config != null) {
if (hasValidRef(config)) {
ref = config.ref;
+
+ {
+ warnIfStringRefCannotBeAutoConverted(config);
+ }
}
if (hasValidKey(config)) {
@@ -27933,12 +31867,6 @@ function createElement(type, config, children) {
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
}
-/**
- * Return a function that produces ReactElements of a given type.
- * See https://reactjs.org/docs/react-api.html#createfactory
- */
-
-
function cloneAndReplaceKey(oldElement, newKey) {
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
return newElement;
@@ -27951,7 +31879,7 @@ function cloneAndReplaceKey(oldElement, newKey) {
function cloneElement(element, config, children) {
if (!!(element === null || element === undefined)) {
{
- throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
+ throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." );
}
}
@@ -28160,10 +32088,14 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
var iteratorFn = getIteratorFn(children);
if (typeof iteratorFn === 'function') {
+
{
// Warn about using Maps as children
if (iteratorFn === children.entries) {
- !didWarnAboutMaps ? warning$1(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.') : void 0;
+ if (!didWarnAboutMaps) {
+ warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.');
+ }
+
didWarnAboutMaps = true;
}
}
@@ -28188,7 +32120,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
{
{
- throw Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum);
+ throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum );
}
}
}
@@ -28378,7 +32310,7 @@ function toArray(children) {
function onlyChild(children) {
if (!isValidElement(children)) {
{
- throw Error("React.Children.only expected to receive a single React element child.");
+ throw Error( "React.Children.only expected to receive a single React element child." );
}
}
@@ -28390,7 +32322,9 @@ function createContext(defaultValue, calculateChangedBits) {
calculateChangedBits = null;
} else {
{
- !(calculateChangedBits === null || typeof calculateChangedBits === 'function') ? warningWithoutStack$1(false, 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits) : void 0;
+ if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') {
+ error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
+ }
}
}
@@ -28433,7 +32367,8 @@ function createContext(defaultValue, calculateChangedBits) {
get: function () {
if (!hasWarnedAboutUsingConsumerProvider) {
hasWarnedAboutUsingConsumerProvider = true;
- warning$1(false, 'Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');
+
+ error('Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');
}
return context.Provider;
@@ -28470,7 +32405,8 @@ function createContext(defaultValue, calculateChangedBits) {
get: function () {
if (!hasWarnedAboutUsingNestedContextConsumers) {
hasWarnedAboutUsingNestedContextConsumers = true;
- warning$1(false, 'Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');
+
+ error('Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');
}
return context.Consumer;
@@ -28509,7 +32445,8 @@ function lazy(ctor) {
return defaultProps;
},
set: function (newDefaultProps) {
- warning$1(false, 'React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
+ error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
+
defaultProps = newDefaultProps; // Match production behavior more closely:
Object.defineProperty(lazyType, 'defaultProps', {
@@ -28523,7 +32460,8 @@ function lazy(ctor) {
return propTypes;
},
set: function (newPropTypes) {
- warning$1(false, 'React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
+ error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
+
propTypes = newPropTypes; // Match production behavior more closely:
Object.defineProperty(lazyType, 'propTypes', {
@@ -28540,16 +32478,19 @@ function lazy(ctor) {
function forwardRef(render) {
{
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
- warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
+ error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
} else if (typeof render !== 'function') {
- warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
+ error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
} else {
- !( // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
- render.length === 0 || render.length === 2) ? warningWithoutStack$1(false, 'forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.') : void 0;
+ if (render.length !== 0 && render.length !== 2) {
+ error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
+ }
}
if (render != null) {
- !(render.defaultProps == null && render.propTypes == null) ? warningWithoutStack$1(false, 'forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?') : void 0;
+ if (render.defaultProps != null || render.propTypes != null) {
+ error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
+ }
}
}
@@ -28561,13 +32502,13 @@ function forwardRef(render) {
function isValidElementType(type) {
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
}
function memo(type, compare) {
{
if (!isValidElementType(type)) {
- warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
+ error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
}
}
@@ -28583,7 +32524,7 @@ function resolveDispatcher() {
if (!(dispatcher !== null)) {
{
- throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");
+ throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem." );
}
}
@@ -28594,16 +32535,19 @@ function useContext(Context, unstable_observedBits) {
var dispatcher = resolveDispatcher();
{
- !(unstable_observedBits === undefined) ? warning$1(false, 'useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '') : void 0; // TODO: add a more generic warning for invalid values.
+ if (unstable_observedBits !== undefined) {
+ error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '');
+ } // TODO: add a more generic warning for invalid values.
+
if (Context._context !== undefined) {
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
// and nobody should be using this in existing code.
if (realContext.Consumer === Context) {
- warning$1(false, 'Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
+ error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
} else if (realContext.Provider === Context) {
- warning$1(false, 'Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
+ error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
}
}
}
@@ -28622,25 +32566,25 @@ function useRef(initialValue) {
var dispatcher = resolveDispatcher();
return dispatcher.useRef(initialValue);
}
-function useEffect(create, inputs) {
+function useEffect(create, deps) {
var dispatcher = resolveDispatcher();
- return dispatcher.useEffect(create, inputs);
+ return dispatcher.useEffect(create, deps);
}
-function useLayoutEffect(create, inputs) {
+function useLayoutEffect(create, deps) {
var dispatcher = resolveDispatcher();
- return dispatcher.useLayoutEffect(create, inputs);
+ return dispatcher.useLayoutEffect(create, deps);
}
-function useCallback(callback, inputs) {
+function useCallback(callback, deps) {
var dispatcher = resolveDispatcher();
- return dispatcher.useCallback(callback, inputs);
+ return dispatcher.useCallback(callback, deps);
}
-function useMemo(create, inputs) {
+function useMemo(create, deps) {
var dispatcher = resolveDispatcher();
- return dispatcher.useMemo(create, inputs);
+ return dispatcher.useMemo(create, deps);
}
-function useImperativeHandle(ref, create, inputs) {
+function useImperativeHandle(ref, create, deps) {
var dispatcher = resolveDispatcher();
- return dispatcher.useImperativeHandle(ref, create, inputs);
+ return dispatcher.useImperativeHandle(ref, create, deps);
}
function useDebugValue(value, formatterFn) {
{
@@ -28648,53 +32592,13 @@ function useDebugValue(value, formatterFn) {
return dispatcher.useDebugValue(value, formatterFn);
}
}
-var emptyObject$1 = {};
-function useResponder(responder, listenerProps) {
- var dispatcher = resolveDispatcher();
-
- {
- if (responder == null || responder.$$typeof !== REACT_RESPONDER_TYPE) {
- warning$1(false, 'useResponder: invalid first argument. Expected an event responder, but instead got %s', responder);
- return;
- }
- }
-
- return dispatcher.useResponder(responder, listenerProps || emptyObject$1);
-}
-function useTransition(config) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useTransition(config);
-}
-function useDeferredValue(value, config) {
- var dispatcher = resolveDispatcher();
- return dispatcher.useDeferredValue(value, config);
-}
-function withSuspenseConfig(scope, config) {
- var previousConfig = ReactCurrentBatchConfig.suspense;
- ReactCurrentBatchConfig.suspense = config === undefined ? null : config;
-
- try {
- scope();
- } finally {
- ReactCurrentBatchConfig.suspense = previousConfig;
- }
-}
-
-/**
- * ReactElementValidator provides a wrapper around a element factory
- * which validates the props passed to the element. This is intended to be
- * used only in DEV and could be replaced by a static type checker for languages
- * that support it.
- */
var propTypesMisspellWarningShown;
{
propTypesMisspellWarningShown = false;
}
-var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
-
function getDeclarationErrorAddendum() {
if (ReactCurrentOwner.current) {
var name = getComponentName(ReactCurrentOwner.current.type);
@@ -28785,7 +32689,7 @@ function validateExplicitKey(element, parentType) {
setCurrentlyValidatingElement(element);
{
- warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
+ error('Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
}
setCurrentlyValidatingElement(null);
@@ -28847,36 +32751,39 @@ function validateChildKeys(node, parentType) {
function validatePropTypes(element) {
- var type = element.type;
+ {
+ var type = element.type;
- if (type === null || type === undefined || typeof type === 'string') {
- return;
- }
+ if (type === null || type === undefined || typeof type === 'string') {
+ return;
+ }
- var name = getComponentName(type);
- var propTypes;
+ var name = getComponentName(type);
+ var propTypes;
- if (typeof type === 'function') {
- propTypes = type.propTypes;
- } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
- // Inner props are checked in the reconciler.
- type.$$typeof === REACT_MEMO_TYPE)) {
- propTypes = type.propTypes;
- } else {
- return;
- }
+ if (typeof type === 'function') {
+ propTypes = type.propTypes;
+ } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
+ // Inner props are checked in the reconciler.
+ type.$$typeof === REACT_MEMO_TYPE)) {
+ propTypes = type.propTypes;
+ } else {
+ return;
+ }
- if (propTypes) {
- setCurrentlyValidatingElement(element);
- checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum);
- setCurrentlyValidatingElement(null);
- } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
- propTypesMisspellWarningShown = true;
- warningWithoutStack$1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
- }
+ if (propTypes) {
+ setCurrentlyValidatingElement(element);
+ checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum);
+ setCurrentlyValidatingElement(null);
+ } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
+ propTypesMisspellWarningShown = true;
+
+ error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
+ }
- if (typeof type.getDefaultProps === 'function') {
- !type.getDefaultProps.isReactClassApproved ? warningWithoutStack$1(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
+ if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
+ error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
+ }
}
}
/**
@@ -28886,115 +32793,26 @@ function validatePropTypes(element) {
function validateFragmentProps(fragment) {
- setCurrentlyValidatingElement(fragment);
- var keys = Object.keys(fragment.props);
-
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
-
- if (key !== 'children' && key !== 'key') {
- warning$1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
- break;
- }
- }
-
- if (fragment.ref !== null) {
- warning$1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.');
- }
-
- setCurrentlyValidatingElement(null);
-}
-
-function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
- var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
- // succeed and there will likely be errors in render.
-
- if (!validType) {
- var info = '';
-
- if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
- info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
- }
-
- var sourceInfo = getSourceInfoErrorAddendum(source);
-
- if (sourceInfo) {
- info += sourceInfo;
- } else {
- info += getDeclarationErrorAddendum();
- }
-
- var typeString;
-
- if (type === null) {
- typeString = 'null';
- } else if (Array.isArray(type)) {
- typeString = 'array';
- } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
- typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
- info = ' Did you accidentally export a JSX literal instead of a component?';
- } else {
- typeString = typeof type;
- }
-
- warning$1(false, 'React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
- }
-
- var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
- // TODO: Drop this when these are no longer allowed as the type argument.
-
- if (element == null) {
- return element;
- } // Skip key warning if the type isn't valid since our key validation logic
- // doesn't expect a non-string/function type and can throw confusing errors.
- // We don't want exception behavior to differ between dev and prod.
- // (Rendering will throw with a helpful message and as soon as the type is
- // fixed, the key warnings will appear.)
+ {
+ setCurrentlyValidatingElement(fragment);
+ var keys = Object.keys(fragment.props);
+ for (var i = 0; i < keys.length; i++) {
+ var key = keys[i];
- if (validType) {
- var children = props.children;
+ if (key !== 'children' && key !== 'key') {
+ error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
- if (children !== undefined) {
- if (isStaticChildren) {
- if (Array.isArray(children)) {
- for (var i = 0; i < children.length; i++) {
- validateChildKeys(children[i], type);
- }
-
- if (Object.freeze) {
- Object.freeze(children);
- }
- } else {
- warning$1(false, 'React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
- }
- } else {
- validateChildKeys(children, type);
+ break;
}
}
- }
- if (hasOwnProperty$1.call(props, 'key')) {
- warning$1(false, 'React.jsx: Spreading a key to JSX is a deprecated pattern. ' + 'Explicitly pass a key after spreading props in your JSX call. ' + 'E.g. ');
- }
+ if (fragment.ref !== null) {
+ error('Invalid attribute `ref` supplied to `React.Fragment`.');
+ }
- if (type === REACT_FRAGMENT_TYPE) {
- validateFragmentProps(element);
- } else {
- validatePropTypes(element);
+ setCurrentlyValidatingElement(null);
}
-
- return element;
-} // These two functions exist to still get child warnings in dev
-// even with the prod transform. This means that jsxDEV is purely
-// opt-in behavior for better messages but that we won't stop
-// giving you warnings if you use production apis.
-
-function jsxWithValidationStatic(type, props, key) {
- return jsxWithValidation(type, props, key, true);
-}
-function jsxWithValidationDynamic(type, props, key) {
- return jsxWithValidation(type, props, key, false);
}
function createElementWithValidation(type, props, children) {
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
@@ -29028,7 +32846,9 @@ function createElementWithValidation(type, props, children) {
typeString = typeof type;
}
- warning$1(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
+ {
+ error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
+ }
}
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
@@ -29057,15 +32877,24 @@ function createElementWithValidation(type, props, children) {
return element;
}
+var didWarnAboutDeprecatedCreateFactory = false;
function createFactoryWithValidation(type) {
var validatedFactory = createElementWithValidation.bind(null, type);
- validatedFactory.type = type; // Legacy hook: remove it
+ validatedFactory.type = type;
{
+ if (!didWarnAboutDeprecatedCreateFactory) {
+ didWarnAboutDeprecatedCreateFactory = true;
+
+ warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
+ } // Legacy hook: remove it
+
+
Object.defineProperty(validatedFactory, 'type', {
enumerable: false,
get: function () {
- lowPriorityWarningWithoutStack$1(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
+ warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
+
Object.defineProperty(this, 'type', {
value: type
});
@@ -29087,10 +32916,7 @@ function cloneElementWithValidation(element, props, children) {
return newElement;
}
-var hasBadMapPolyfill;
-
{
- hasBadMapPolyfill = false;
try {
var frozenObject = Object.freeze({});
@@ -29102,240 +32928,94 @@ var hasBadMapPolyfill;
testMap.set(0, 0);
testSet.add(0);
} catch (e) {
- // TODO: Consider warning about bad polyfills
- hasBadMapPolyfill = true;
}
}
-function createFundamentalComponent(impl) {
- // We use responder as a Map key later on. When we have a bad
- // polyfill, then we can't use it as a key as the polyfill tries
- // to add a property to the object.
- if (true && !hasBadMapPolyfill) {
- Object.freeze(impl);
- }
-
- var fundamantalComponent = {
- $$typeof: REACT_FUNDAMENTAL_TYPE,
- impl: impl
- };
-
- {
- Object.freeze(fundamantalComponent);
- }
-
- return fundamantalComponent;
-}
-
-function createEventResponder(displayName, responderConfig) {
- var getInitialState = responderConfig.getInitialState,
- onEvent = responderConfig.onEvent,
- onMount = responderConfig.onMount,
- onUnmount = responderConfig.onUnmount,
- onRootEvent = responderConfig.onRootEvent,
- rootEventTypes = responderConfig.rootEventTypes,
- targetEventTypes = responderConfig.targetEventTypes,
- targetPortalPropagation = responderConfig.targetPortalPropagation;
- var eventResponder = {
- $$typeof: REACT_RESPONDER_TYPE,
- displayName: displayName,
- getInitialState: getInitialState || null,
- onEvent: onEvent || null,
- onMount: onMount || null,
- onRootEvent: onRootEvent || null,
- onUnmount: onUnmount || null,
- rootEventTypes: rootEventTypes || null,
- targetEventTypes: targetEventTypes || null,
- targetPortalPropagation: targetPortalPropagation || false
- }; // We use responder as a Map key later on. When we have a bad
- // polyfill, then we can't use it as a key as the polyfill tries
- // to add a property to the object.
-
- if (true && !hasBadMapPolyfill) {
- Object.freeze(eventResponder);
- }
-
- return eventResponder;
-}
-
-function createScope() {
- var scopeComponent = {
- $$typeof: REACT_SCOPE_TYPE
- };
-
- {
- Object.freeze(scopeComponent);
- }
-
- return scopeComponent;
-}
-
-// Helps identify side effects in render-phase lifecycle hooks and setState
-// reducers by double invoking them in Strict Mode.
-
- // To preserve the "Pause on caught exceptions" behavior of the debugger, we
-// replay the begin phase of a failed component inside invokeGuardedCallback.
-
- // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
-
- // Gather advanced timing metrics for Profiler subtrees.
-
- // Trace which interactions trigger each commit.
-
- // SSR experiments
-
-
- // Only used in www builds.
-
- // Only used in www builds.
-
- // Disable javascript: URL strings in href for XSS protection.
-
- // React Fire: prevent the value and checked attributes from syncing
-// with their related DOM properties
-
- // These APIs will no longer be "unstable" in the upcoming 16.7 release,
-// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
-
-var exposeConcurrentModeAPIs = false;
- // Experimental React Flare event system and event components support.
-
-var enableFlareAPI = false; // Experimental Host Component support.
-
-var enableFundamentalAPI = false; // Experimental Scope support.
-
-var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
-
-var enableJSXTransformAPI = false; // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
-// Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
-
- // For tests, we flush suspense fallbacks in an act scope;
-// *except* in some of our own tests, where we test incremental loading states.
-
- // Add a callback property to suspense to notify which promises are currently
-// in the update queue. This allows reporting and tracing of what is causing
-// the user to see a loading state.
-// Also allows hydration callbacks to fire when a dehydrated boundary gets
-// hydrated or deleted.
-
- // Part of the simplification of React.createElement so we can eventually move
-// from React.createElement to React.jsx
-// https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
-
-
-
-
-
- // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
-
-var React = {
- Children: {
- map: mapChildren,
- forEach: forEachChildren,
- count: countChildren,
- toArray: toArray,
- only: onlyChild
- },
- createRef: createRef,
- Component: Component,
- PureComponent: PureComponent,
- createContext: createContext,
- forwardRef: forwardRef,
- lazy: lazy,
- memo: memo,
- useCallback: useCallback,
- useContext: useContext,
- useEffect: useEffect,
- useImperativeHandle: useImperativeHandle,
- useDebugValue: useDebugValue,
- useLayoutEffect: useLayoutEffect,
- useMemo: useMemo,
- useReducer: useReducer,
- useRef: useRef,
- useState: useState,
- Fragment: REACT_FRAGMENT_TYPE,
- Profiler: REACT_PROFILER_TYPE,
- StrictMode: REACT_STRICT_MODE_TYPE,
- Suspense: REACT_SUSPENSE_TYPE,
- createElement: createElementWithValidation,
- cloneElement: cloneElementWithValidation,
- createFactory: createFactoryWithValidation,
- isValidElement: isValidElement,
- version: ReactVersion,
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
+var createElement$1 = createElementWithValidation ;
+var cloneElement$1 = cloneElementWithValidation ;
+var createFactory = createFactoryWithValidation ;
+var Children = {
+ map: mapChildren,
+ forEach: forEachChildren,
+ count: countChildren,
+ toArray: toArray,
+ only: onlyChild
};
-if (exposeConcurrentModeAPIs) {
- React.useTransition = useTransition;
- React.useDeferredValue = useDeferredValue;
- React.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
- React.unstable_withSuspenseConfig = withSuspenseConfig;
-}
-
-if (enableFlareAPI) {
- React.unstable_useResponder = useResponder;
- React.unstable_createResponder = createEventResponder;
-}
-
-if (enableFundamentalAPI) {
- React.unstable_createFundamental = createFundamentalComponent;
-}
-
-if (enableScopeAPI) {
- React.unstable_createScope = createScope;
-} // Note: some APIs are added with feature flags.
-// Make sure that stable builds for open source
-// don't modify the React object to avoid deopts.
-// Also let's not expose their names in stable builds.
-
-
-if (enableJSXTransformAPI) {
- {
- React.jsxDEV = jsxWithValidation;
- React.jsx = jsxWithValidationDynamic;
- React.jsxs = jsxWithValidationStatic;
- }
-}
-
-
-
-var React$2 = Object.freeze({
- default: React
-});
-
-var React$3 = ( React$2 && React ) || React$2;
-
-// TODO: decide on the top-level export form.
-// This is hacky but makes it work with both Rollup and Jest.
-
-
-var react = React$3.default || React$3;
-
-module.exports = react;
+exports.Children = Children;
+exports.Component = Component;
+exports.Fragment = REACT_FRAGMENT_TYPE;
+exports.Profiler = REACT_PROFILER_TYPE;
+exports.PureComponent = PureComponent;
+exports.StrictMode = REACT_STRICT_MODE_TYPE;
+exports.Suspense = REACT_SUSPENSE_TYPE;
+exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
+exports.cloneElement = cloneElement$1;
+exports.createContext = createContext;
+exports.createElement = createElement$1;
+exports.createFactory = createFactory;
+exports.createRef = createRef;
+exports.forwardRef = forwardRef;
+exports.isValidElement = isValidElement;
+exports.lazy = lazy;
+exports.memo = memo;
+exports.useCallback = useCallback;
+exports.useContext = useContext;
+exports.useDebugValue = useDebugValue;
+exports.useEffect = useEffect;
+exports.useImperativeHandle = useImperativeHandle;
+exports.useLayoutEffect = useLayoutEffect;
+exports.useMemo = useMemo;
+exports.useReducer = useReducer;
+exports.useRef = useRef;
+exports.useState = useState;
+exports.version = ReactVersion;
})();
}
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 3)))
+/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
/***/ }),
-/* 262 */
-/*!*****************************************************************************************!*\
- !*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/inheritsLoose.js ***!
- \*****************************************************************************************/
-/*! no static exports found */
+/* 343 */
+/*!*********************************************************************************************!*\
+ !*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***!
+ \*********************************************************************************************/
+/*! exports provided: default */
/*! exports used: default */
-/***/ (function(module, exports) {
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* harmony export (immutable) */ __webpack_exports__["a"] = _inheritsLoose;
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__setPrototypeOf_js__ = __webpack_require__(/*! ./setPrototypeOf.js */ 344);
function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
- subClass.__proto__ = superClass;
+ Object(__WEBPACK_IMPORTED_MODULE_0__setPrototypeOf_js__["a" /* default */])(subClass, superClass);
}
-module.exports = _inheritsLoose;
+/***/ }),
+/* 344 */
+/*!**********************************************************************************************!*\
+ !*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
+ \**********************************************************************************************/
+/*! exports provided: default */
+/*! exports used: default */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+/* harmony export (immutable) */ __webpack_exports__["a"] = _setPrototypeOf;
+function _setPrototypeOf(o, p) {
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
+ o.__proto__ = p;
+ return o;
+ };
+
+ return _setPrototypeOf(o, p);
+}
/***/ }),
-/* 263 */
+/* 345 */
/*!*****************************************************************!*\
!*** ./node_modules/@emotion/stylis/dist/stylis.browser.esm.js ***!
\*****************************************************************/
@@ -29962,7 +33642,7 @@ function stylis_min (W) {
/***/ }),
-/* 264 */
+/* 346 */
/*!*****************************************************************************!*\
!*** ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js ***!
\*****************************************************************************/
@@ -29989,61 +33669,48 @@ var weakMemoize = function weakMemoize(func) {
/***/ }),
-/* 265 */
-/*!***************************************************************!*\
- !*** ./node_modules/@emotion/utils/dist/utils.browser.esm.js ***!
- \***************************************************************/
-/*! exports provided: getRegisteredStyles, insertStyles */
-/*! exports used: getRegisteredStyles, insertStyles */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getRegisteredStyles; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return insertStyles; });
-var isBrowser = "object" !== 'undefined';
-function getRegisteredStyles(registered, registeredStyles, classNames) {
- var rawClassName = '';
- classNames.split(' ').forEach(function (className) {
- if (registered[className] !== undefined) {
- registeredStyles.push(registered[className]);
- } else {
- rawClassName += className + " ";
- }
- });
- return rawClassName;
-}
-var insertStyles = function insertStyles(cache, serialized, isStringTag) {
- var className = cache.key + "-" + serialized.name;
+/* 347 */
+/*!*****************************************************************************************!*\
+ !*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/inheritsLoose.js ***!
+ \*****************************************************************************************/
+/*! dynamic exports provided */
+/***/ (function(module, exports, __webpack_require__) {
- if ( // we only need to add the styles to the registered cache if the
- // class name could be used further down
- // the tree but if it's a string tag, we know it won't
- // so we don't have to add it to registered cache.
- // this improves memory usage since we can avoid storing the whole style string
- (isStringTag === false || // we need to always store it if we're in compat mode and
- // in node since emotion-server relies on whether a style is in
- // the registered cache to know whether a style is global or not
- // also, note that this check will be dead code eliminated in the browser
- isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
- cache.registered[className] = serialized.styles;
- }
+var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 348);
- if (cache.inserted[serialized.name] === undefined) {
- var current = serialized;
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ setPrototypeOf(subClass, superClass);
+}
- do {
- var maybeStyles = cache.insert("." + className, current, cache.sheet, true);
+module.exports = _inheritsLoose;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
- current = current.next;
- } while (current !== undefined);
- }
-};
+/***/ }),
+/* 348 */
+/*!******************************************************************************************!*\
+ !*** ./node_modules/@emotion/core/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
+ \******************************************************************************************/
+/*! dynamic exports provided */
+/*! all exports used */
+/***/ (function(module, exports) {
+function _setPrototypeOf(o, p) {
+ module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
+ o.__proto__ = p;
+ return o;
+ };
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
+ return _setPrototypeOf(o, p);
+}
+module.exports = _setPrototypeOf;
+module.exports["default"] = module.exports, module.exports.__esModule = true;
/***/ }),
-/* 266 */
+/* 349 */
/*!*************************************************************!*\
!*** ./node_modules/@emotion/hash/dist/hash.browser.esm.js ***!
\*************************************************************/
@@ -30110,7 +33777,7 @@ function murmur2(str) {
/***/ }),
-/* 267 */
+/* 350 */
/*!*********************************************************************!*\
!*** ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js ***!
\*********************************************************************/
@@ -30172,7 +33839,7 @@ var unitlessKeys = {
/***/ }),
-/* 268 */
+/* 351 */
/*!*******************************************************************!*\
!*** ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js ***!
\*******************************************************************/
@@ -30193,16 +33860,16 @@ function memoize(fn) {
/***/ }),
-/* 269 */
+/* 352 */
/*!****************************************************************!*\
!*** ./node_modules/react-dom/cjs/react-dom.production.min.js ***!
\****************************************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-/** @license React v16.12.0
+/** @license React v16.14.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -30214,297 +33881,299 @@ function memoize(fn) {
/*
Modernizr 3.0.0pre (Custom Build) | MIT
*/
-var aa=__webpack_require__(/*! react */ 6),n=__webpack_require__(/*! object-assign */ 27),q=__webpack_require__(/*! scheduler */ 135);function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;cb}return!1}function B(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var D={};
-"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){D[a]=new B(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];D[b]=new B(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){D[a]=new B(a,2,!1,a.toLowerCase(),null,!1)});
-["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){D[a]=new B(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){D[a]=new B(a,3,!1,a.toLowerCase(),null,!1)});
-["checked","multiple","muted","selected"].forEach(function(a){D[a]=new B(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){D[a]=new B(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){D[a]=new B(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){D[a]=new B(a,5,!1,a.toLowerCase(),null,!1)});var sb=/[\-:]([a-z])/g;function tb(a){return a[1].toUpperCase()}
-"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(sb,
-tb);D[b]=new B(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(sb,tb);D[b]=new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(sb,tb);D[b]=new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1)});
-D.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0)});function ub(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return""}}
-function vb(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;var f=null!==e?0===e.type:d?!1:!(2=b.length))throw Error(u(93));b=b[0]}c=b}null==c&&(c="")}a._wrapperState={initialValue:ub(c)}}
-function Mb(a,b){var c=ub(b.value),d=ub(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Nb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}var Ob={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
-function Pb(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Qb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Pb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
-var Rb,Sb=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Ob.svg||"innerHTML"in a)a.innerHTML=b;else{Rb=Rb||document.createElement("div");Rb.innerHTML="";for(b=Rb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
-function Tb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Ub(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Vb={animationend:Ub("Animation","AnimationEnd"),animationiteration:Ub("Animation","AnimationIteration"),animationstart:Ub("Animation","AnimationStart"),transitionend:Ub("Transition","TransitionEnd")},Wb={},Xb={};
-Ya&&(Xb=document.createElement("div").style,"AnimationEvent"in window||(delete Vb.animationend.animation,delete Vb.animationiteration.animation,delete Vb.animationstart.animation),"TransitionEvent"in window||delete Vb.transitionend.transition);function Yb(a){if(Wb[a])return Wb[a];if(!Vb[a])return a;var b=Vb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Xb)return Wb[a]=b[c];return a}var Zb=Yb("animationend"),$b=Yb("animationiteration"),ac=Yb("animationstart"),bc=Yb("transitionend"),cc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");
-function ec(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function fc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function gc(a){if(ec(a)!==a)throw Error(u(188));}
-function hc(a){var b=a.alternate;if(!b){b=ec(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return gc(e),a;if(f===d)return gc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
-c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function ic(a){a=hc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}
-var jc,kc,lc,mc=!1,nc=[],oc=null,pc=null,qc=null,rc=new Map,sc=new Map,tc=[],uc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),vc="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
-function wc(a){var b=xc(a);uc.forEach(function(c){yc(c,a,b)});vc.forEach(function(c){yc(c,a,b)})}function zc(a,b,c,d){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:d}}function Ac(a,b){switch(a){case "focus":case "blur":oc=null;break;case "dragenter":case "dragleave":pc=null;break;case "mouseover":case "mouseout":qc=null;break;case "pointerover":case "pointerout":rc.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":sc.delete(b.pointerId)}}
-function Bc(a,b,c,d,e){if(null===a||a.nativeEvent!==e)return a=zc(b,c,d,e),null!==b&&(b=Cc(b),null!==b&&kc(b)),a;a.eventSystemFlags|=d;return a}function Dc(a,b,c,d){switch(b){case "focus":return oc=Bc(oc,a,b,c,d),!0;case "dragenter":return pc=Bc(pc,a,b,c,d),!0;case "mouseover":return qc=Bc(qc,a,b,c,d),!0;case "pointerover":var e=d.pointerId;rc.set(e,Bc(rc.get(e)||null,a,b,c,d));return!0;case "gotpointercapture":return e=d.pointerId,sc.set(e,Bc(sc.get(e)||null,a,b,c,d)),!0}return!1}
-function Ec(a){var b=Fc(a.target);if(null!==b){var c=ec(b);if(null!==c)if(b=c.tag,13===b){if(b=fc(c),null!==b){a.blockedOn=b;q.unstable_runWithPriority(a.priority,function(){lc(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function Gc(a){if(null!==a.blockedOn)return!1;var b=Hc(a.topLevelType,a.eventSystemFlags,a.nativeEvent);if(null!==b){var c=Cc(b);null!==c&&kc(c);a.blockedOn=b;return!1}return!0}
-function Ic(a,b,c){Gc(a)&&c.delete(b)}function Jc(){for(mc=!1;0this.eventPool.length&&this.eventPool.push(a)}function Vc(a){a.eventPool=[];a.getPooled=Wc;a.release=Xc}var Yc=E.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Zc=E.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),$c=E.extend({view:null,detail:null}),ad=$c.extend({relatedTarget:null});
-function bd(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}
-var cd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
-116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ed={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=ed[a])?!!b[a]:!1}function hd(){return gd}
-var id=$c.extend({key:function(a){if(a.key){var b=cd[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=bd(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?dd[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:hd,charCode:function(a){return"keypress"===a.type?bd(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
-a.type?bd(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),jd=0,kd=0,ld=!1,md=!1,nd=$c.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:hd,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=jd;jd=a.screenX;return ld?"mousemove"===a.type?a.screenX-
-b:0:(ld=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=kd;kd=a.screenY;return md?"mousemove"===a.type?a.screenY-b:0:(md=!0,0)}}),od=nd.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),pd=nd.extend({dataTransfer:null}),qd=$c.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:hd}),rd=E.extend({propertyName:null,
-elapsedTime:null,pseudoElement:null}),sd=nd.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),td=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",
-0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",
-0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",
-2],[Zb,"animationEnd",2],[$b,"animationIteration",2],[ac,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress",
-"progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[bc,"transitionEnd",2],["waiting","waiting",2]],ud={},vd={},wd=0;for(;wd=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ce(c)}}
-function ee(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?ee(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function fe(){for(var a=window,b=be();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=be(a.document)}return b}
-function ge(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var he="$",ie="/$",je="$?",ke="$!",le=null,me=null;function ne(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}
-function oe(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var pe="function"===typeof setTimeout?setTimeout:void 0,qe="function"===typeof clearTimeout?clearTimeout:void 0;function re(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}
-function se(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===he||c===ke||c===je){if(0===b)return a;b--}else c===ie&&b++}a=a.previousSibling}return null}var te=Math.random().toString(36).slice(2),ue="__reactInternalInstance$"+te,ve="__reactEventHandlers$"+te,we="__reactContainere$"+te;
-function Fc(a){var b=a[ue];if(b)return b;for(var c=a.parentNode;c;){if(b=c[we]||c[ue]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=se(a);null!==a;){if(c=a[ue])return c;a=se(a)}return b}a=c;c=a.parentNode}return null}function Cc(a){a=a[ue]||a[we];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function xe(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function ye(a){return a[ve]||null}var ze=null,Ae=null,Be=null;
-function Ce(){if(Be)return Be;var a,b=Ae,c=b.length,d,e="value"in ze?ze.value:ze.textContent,f=e.length;for(a=0;a=He),Ke=String.fromCharCode(32),Le={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
-captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Me=!1;
-function Ne(a,b){switch(a){case "keyup":return-1!==Fe.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Oe(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Pe=!1;function Qe(a,b){switch(a){case "compositionend":return Oe(b);case "keypress":if(32!==b.which)return null;Me=!0;return Ke;case "textInput":return a=b.data,a===Ke&&Me?null:a;default:return null}}
-function Re(a,b){if(Pe)return"compositionend"===a||!Ge&&Ne(a,b)?(a=Ce(),Be=Ae=ze=null,Pe=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=document.documentMode,sf={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},tf=null,uf=null,vf=null,wf=!1;
-function xf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(wf||null==tf||tf!==be(c))return null;c=tf;"selectionStart"in c&&ge(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return vf&&qf(vf,c)?null:(vf=c,a=E.getPooled(sf.select,uf,a,b),a.type="select",a.target=tf,Sc(a),a)}
-var yf={eventTypes:sf,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=xc(e);f=ja.onSelect;for(var g=0;gBf||(a.current=Af[Bf],Af[Bf]=null,Bf--)}
-function I(a,b){Bf++;Af[Bf]=a.current;a.current=b}var Cf={},J={current:Cf},K={current:!1},Df=Cf;function Ef(a,b){var c=a.type.contextTypes;if(!c)return Cf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}
-function Ff(a){G(K,a);G(J,a)}function Gf(a){G(K,a);G(J,a)}function Hf(a,b,c){if(J.current!==Cf)throw Error(u(168));I(J,b,a);I(K,c,a)}function If(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,Wa(b)||"Unknown",e));return n({},c,{},d)}function Jf(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||Cf;Df=J.current;I(J,b,a);I(K,K.current,a);return!0}
-function Kf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(b=If(a,b,Df),d.__reactInternalMemoizedMergedChildContext=b,G(K,a),G(J,a),I(J,b,a)):G(K,a);I(K,c,a)}
-var Lf=q.unstable_runWithPriority,Mf=q.unstable_scheduleCallback,Nf=q.unstable_cancelCallback,Of=q.unstable_shouldYield,Pf=q.unstable_requestPaint,Qf=q.unstable_now,Rf=q.unstable_getCurrentPriorityLevel,Sf=q.unstable_ImmediatePriority,Tf=q.unstable_UserBlockingPriority,Uf=q.unstable_NormalPriority,Vf=q.unstable_LowPriority,Wf=q.unstable_IdlePriority,Xf={},Yf=void 0!==Pf?Pf:function(){},Zf=null,$f=null,ag=!1,bg=Qf(),cg=1E4>bg?Qf:function(){return Qf()-bg};
-function dg(){switch(Rf()){case Sf:return 99;case Tf:return 98;case Uf:return 97;case Vf:return 96;case Wf:return 95;default:throw Error(u(332));}}function eg(a){switch(a){case 99:return Sf;case 98:return Tf;case 97:return Uf;case 96:return Vf;case 95:return Wf;default:throw Error(u(332));}}function fg(a,b){a=eg(a);return Lf(a,b)}function gg(a,b,c){a=eg(a);return Mf(a,b,c)}function hg(a){null===Zf?(Zf=[a],$f=Mf(Sf,ig)):Zf.push(a);return Xf}function jg(){if(null!==$f){var a=$f;$f=null;Nf(a)}ig()}
-function ig(){if(!ag&&null!==Zf){ag=!0;var a=0;try{var b=Zf;fg(99,function(){for(;a=b&&(wg=!0),a.firstContext=null)}function xg(a,b){if(qg!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)qg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===pg){if(null===og)throw Error(u(308));pg=b;og.dependencies={expirationTime:0,firstContext:b,responders:null}}else pg=pg.next=b}return a._currentValue}var yg=!1;
-function zg(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ag(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}
-function Bg(a,b){return{expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Cg(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}
-function Dg(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=zg(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=zg(a.memoizedState),e=c.updateQueue=zg(c.memoizedState)):d=a.updateQueue=Ag(e):null===e&&(e=c.updateQueue=Ag(d));null===e||d===e?Cg(d,b):null===d.lastUpdate||null===e.lastUpdate?(Cg(d,b),Cg(e,b)):(Cg(d,b),e.lastUpdate=b)}
-function Eg(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=zg(a.memoizedState):Fg(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function Fg(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=Ag(b));return b}
-function Gg(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-4097|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return n({},d,e);case 2:yg=!0}return d}
-function Hg(a,b,c,d,e){yg=!1;b=Fg(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;mx?(A=r,r=null):A=r.sibling;var p=y(e,r,h[x],k);if(null===p){null===r&&(r=A);break}a&&
-r&&null===p.alternate&&b(e,r);g=f(p,g,x);null===m?l=p:m.sibling=p;m=p;r=A}if(x===h.length)return c(e,r),l;if(null===r){for(;xx?(A=r,r=null):A=r.sibling;var z=y(e,r,p.value,k);if(null===z){null===r&&(r=A);break}a&&r&&null===z.alternate&&b(e,r);g=f(z,g,x);null===m?l=z:m.sibling=z;m=z;r=A}if(p.done)return c(e,r),l;if(null===r){for(;!p.done;x++,p=h.next())p=C(e,p.value,k),null!==p&&(g=f(p,g,x),null===m?l=p:m.sibling=p,m=p);return l}for(r=d(e,r);!p.done;x++,p=h.next())p=H(r,e,x,p.value,k),null!==p&&(a&&null!==
-p.alternate&&r.delete(null===p.key?x:p.key),g=f(p,g,x),null===m?l=p:m.sibling=p,m=p);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===Ia&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Ga:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===Ia:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===Ia?f.props.children:f.props,h);d.ref=Yg(a,k,f);d.return=a;a=d;break a}else{c(a,
-k);break}else b(a,k);k=k.sibling}f.type===Ia?(d=eh(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=ch(f.type,f.key,f.props,null,a.mode,h),h.ref=Yg(a,d,f),h.return=a,a=h)}return g(a);case Ha:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=dh(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===
-typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=bh(f,a.mode,h),d.return=a,a=d),g(a);if(Xg(f))return z(a,d,f,h);if(Ua(f))return ta(a,d,f,h);l&&Zg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||"Component"));}return c(a,d)}}var fh=$g(!0),gh=$g(!1),hh={},ih={current:hh},jh={current:hh},kh={current:hh};function lh(a){if(a===hh)throw Error(u(174));return a}
-function mh(a,b){I(kh,b,a);I(jh,a,a);I(ih,hh,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Qb(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=Qb(b,c)}G(ih,a);I(ih,b,a)}function nh(a){G(ih,a);G(jh,a);G(kh,a)}function oh(a){lh(kh.current);var b=lh(ih.current);var c=Qb(b,a.type);b!==c&&(I(jh,a,a),I(ih,c,a))}function ph(a){jh.current===a&&(G(ih,a),G(jh,a))}var M={current:0};
-function qh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===je||c.data===ke))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function rh(a,b){return{responder:a,props:b}}
-var sh=Ea.ReactCurrentDispatcher,N=Ea.ReactCurrentBatchConfig,th=0,uh=null,O=null,vh=null,wh=null,P=null,xh=null,yh=0,zh=null,Ah=0,Bh=!1,Ch=null,Gh=0;function Q(){throw Error(u(321));}function Hh(a,b){if(null===b)return!1;for(var c=0;cyh&&(yh=m,Jg(yh))):(Ig(m,k.suspenseConfig),f=k.eagerReducer===a?k.eagerState:a(f,k.action));g=k;k=k.next}while(null!==k&&k!==d);l||(h=g,e=f);of(f,b.memoizedState)||(wg=!0);b.memoizedState=f;b.baseUpdate=h;b.baseState=e;c.lastRenderedState=f}return[b.memoizedState,c.dispatch]}
-function Rh(a){var b=Nh();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={last:null,dispatch:null,lastRenderedReducer:Ph,lastRenderedState:a};a=a.dispatch=Sh.bind(null,uh,a);return[b.memoizedState,a]}function Th(a){return Qh(Ph,a)}function Uh(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};null===zh?(zh={lastEffect:null},zh.lastEffect=a.next=a):(b=zh.lastEffect,null===b?zh.lastEffect=a.next=a:(c=b.next,b.next=a,a.next=c,zh.lastEffect=a));return a}
-function Vh(a,b,c,d){var e=Nh();Ah|=a;e.memoizedState=Uh(b,c,void 0,void 0===d?null:d)}function Wh(a,b,c,d){var e=Oh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&Hh(d,g.deps)){Uh(0,c,f,d);return}}Ah|=a;e.memoizedState=Uh(b,c,f,d)}function Xh(a,b){return Vh(516,192,a,b)}function Yh(a,b){return Wh(516,192,a,b)}
-function Zh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function $h(){}function ai(a,b){Nh().memoizedState=[a,void 0===b?null:b];return a}function bi(a,b){var c=Oh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Hh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
-function Sh(a,b,c){if(!(25>Gh))throw Error(u(301));var d=a.alternate;if(a===uh||null!==d&&d===uh)if(Bh=!0,a={expirationTime:th,suspenseConfig:null,action:c,eagerReducer:null,eagerState:null,next:null},null===Ch&&(Ch=new Map),c=Ch.get(b),void 0===c)Ch.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}else{var e=Pg(),f=Mg.suspense;e=Qg(e,a,f);f={expirationTime:e,suspenseConfig:f,action:c,eagerReducer:null,eagerState:null,next:null};var g=b.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&
-(f.next=h);g.next=f}b.last=f;if(0===a.expirationTime&&(null===d||0===d.expirationTime)&&(d=b.lastRenderedReducer,null!==d))try{var k=b.lastRenderedState,l=d(k,c);f.eagerReducer=d;f.eagerState=l;if(of(l,k))return}catch(m){}finally{}Rg(a,e)}}
-var Lh={readContext:xg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q,useDeferredValue:Q,useTransition:Q},Jh={readContext:xg,useCallback:ai,useContext:xg,useEffect:Xh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Vh(4,36,Zh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Vh(4,36,a,b)},useMemo:function(a,b){var c=Nh();b=void 0===b?null:b;a=a();c.memoizedState=
-[a,b];return a},useReducer:function(a,b,c){var d=Nh();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={last:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Sh.bind(null,uh,a);return[d.memoizedState,a]},useRef:function(a){var b=Nh();a={current:a};return b.memoizedState=a},useState:Rh,useDebugValue:$h,useResponder:rh,useDeferredValue:function(a,b){var c=Rh(a),d=c[0],e=c[1];Xh(function(){q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===b?null:b;try{e(a)}finally{N.suspense=
-c}})},[a,b]);return d},useTransition:function(a){var b=Rh(!1),c=b[0],d=b[1];return[ai(function(b){d(!0);q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===a?null:a;try{d(!1),b()}finally{N.suspense=c}})},[a,c]),c]}},Kh={readContext:xg,useCallback:bi,useContext:xg,useEffect:Yh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Wh(4,36,Zh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Wh(4,36,a,b)},useMemo:function(a,b){var c=Oh();b=void 0===b?
-null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Hh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a},useReducer:Qh,useRef:function(){return Oh().memoizedState},useState:Th,useDebugValue:$h,useResponder:rh,useDeferredValue:function(a,b){var c=Th(a),d=c[0],e=c[1];Yh(function(){q.unstable_next(function(){var c=N.suspense;N.suspense=void 0===b?null:b;try{e(a)}finally{N.suspense=c}})},[a,b]);return d},useTransition:function(a){var b=Th(!1),c=b[0],d=b[1];return[bi(function(b){d(!0);q.unstable_next(function(){var c=
-N.suspense;N.suspense=void 0===a?null:a;try{d(!1),b()}finally{N.suspense=c}})},[a,c]),c]}},ci=null,di=null,ei=!1;function fi(a,b){var c=gi(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}
-function hi(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}
-function ii(a){if(ei){var b=di;if(b){var c=b;if(!hi(a,b)){b=re(c.nextSibling);if(!b||!hi(a,b)){a.effectTag=a.effectTag&-1025|2;ei=!1;ci=a;return}fi(ci,c)}ci=a;di=re(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,ei=!1,ci=a}}function ji(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ci=a}
-function ki(a){if(a!==ci)return!1;if(!ei)return ji(a),ei=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!oe(b,a.memoizedProps))for(b=di;b;)fi(a,b),b=re(b.nextSibling);ji(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ie){if(0===b){di=re(a.nextSibling);break a}b--}else c!==he&&c!==ke&&c!==je||b++}a=a.nextSibling}di=null}}else di=ci?re(a.stateNode.nextSibling):null;return!0}
-function li(){di=ci=null;ei=!1}var mi=Ea.ReactCurrentOwner,wg=!1;function R(a,b,c,d){b.child=null===a?gh(b,null,c,d):fh(b,a.child,c,d)}function ni(a,b,c,d,e){c=c.render;var f=b.ref;vg(b,e);d=Ih(a,b,c,d,f,e);if(null!==a&&!wg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),oi(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}
-function pi(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!qi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ri(a,b,g,d,e,f);a=ch(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(eb)&&Gj.set(a,b)))}}
-function Kj(a,b){a.expirationTimea?b:a}
-function Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=hg(Lj.bind(null,a));else{var b=Oj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Pg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Xf&&Nf(c)}a.callbackExpirationTime=
-b;a.callbackPriority=d;b=1073741823===b?hg(Lj.bind(null,a)):gg(d,Qj.bind(null,a),{timeout:10*(1073741821-b)-cg()});a.callbackNode=b}}}
-function Qj(a,b){Jj=0;if(b)return b=Pg(),Rj(a,b),Z(a),null;var c=Oj(a);if(0!==c){b=a.callbackNode;if((T&(oj|pj))!==S)throw Error(u(327));Sj();a===U&&c===W||Tj(a,c);if(null!==V){var d=T;T|=oj;var e=Uj(a);do try{Vj();break}catch(h){Wj(a,h)}while(1);rg();T=d;lj.current=e;if(X===rj)throw b=wj,Tj(a,c),Mj(a,c),Z(a),b;if(null===V)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=X,U=null,d){case qj:case rj:throw Error(u(345));case sj:Rj(a,2=c){a.lastPingedTime=c;Tj(a,c);break}}f=Oj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=pe(Yj.bind(null,a),e);break}Yj(a);break;case uj:Mj(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Xj(e));if(Bj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Tj(a,c);break}e=Oj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=
-d;break}1073741823!==yj?d=10*(1073741821-yj)-cg():1073741823===xj?d=0:(d=10*(1073741821-xj)-5E3,e=cg(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*kj(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=cg()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display."+Xa(e))}X!==vj&&(X=sj);f=Ni(f,e);k=d;do{switch(k.tag){case 3:g=f;k.effectTag|=4096;k.expirationTime=b;var x=fj(k,g,b);Eg(k,x);break a;case 1:g=f;var A=k.type,p=k.stateNode;if(0===(k.effectTag&64)&&("function"===typeof A.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&
-(null===jj||!jj.has(p)))){k.effectTag|=4096;k.expirationTime=b;var t=ij(k,g,b);Eg(k,t);break a}}k=k.return}while(null!==k)}V=ek(V)}catch(v){b=v;continue}break}while(1)}function Uj(){var a=lj.current;lj.current=Lh;return null===a?Lh:a}function Ig(a,b){aAj&&(Aj=a)}function Zj(){for(;null!==V;)V=fk(V)}function Vj(){for(;null!==V&&!Of();)V=fk(V)}
-function fk(a){var b=gk(a.alternate,a,W);a.memoizedProps=a.pendingProps;null===b&&(b=ek(a));mj.current=null;return b}
-function ek(a){V=a;do{var b=V.alternate;a=V.return;if(0===(V.effectTag&2048)){a:{var c=b;b=V;var d=W;var e=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:L(b.type)&&Ff(b);break;case 3:nh(b);Gf(b);e=b.stateNode;e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null);(null===c||null===c.child)&&ki(b)&&Ci(b);Ii(b);break;case 5:ph(b);d=lh(kh.current);var f=b.type;if(null!==c&&null!=b.stateNode)Ji(c,b,f,e,d),c.ref!==b.ref&&(b.effectTag|=128);else if(e){var g=
-lh(ih.current);if(ki(b)){e=b;var h=e.stateNode;c=e.type;var k=e.memoizedProps,l=d;h[ue]=e;h[ve]=k;f=void 0;d=h;switch(c){case "iframe":case "object":case "embed":F("load",d);break;case "video":case "audio":for(h=0;h\x3c/script>",h=k.removeChild(k.firstChild)):"string"===typeof k.is?h=h.createElement(l,{is:k.is}):(h=h.createElement(l),"select"===l&&(l=h,k.multiple?l.multiple=!0:k.size&&(l.size=k.size))):h=h.createElementNS(g,l);k=h;k[ue]=c;k[ve]=e;Hi(k,b,!1,!1);b.stateNode=k;l=f;c=e;var m=d,C=Zd(l,c);switch(l){case "iframe":case "object":case "embed":F("load",
-k);d=c;break;case "video":case "audio":for(d=0;de.tailExpiration&&1f&&(f=c),k>f&&(f=k),d=d.sibling;e.childExpirationTime=f}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=
-V.firstEffect),a.lastEffect=V.lastEffect),1a?b:a}function Yj(a){var b=dg();fg(99,ik.bind(null,a,b));return null}
-function ik(a,b){do Sj();while(null!==Ej);if((T&(oj|pj))!==S)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Xj(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=
-d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(V=U=null,W=0);1h&&(l=h,h=g,g=l),l=de(p,g),m=de(p,h),l&&m&&(1!==v.rangeCount||v.anchorNode!==l.node||v.anchorOffset!==l.offset||v.focusNode!==m.node||v.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),v.removeAllRanges(),g>h?(v.addRange(t),v.extend(m.node,m.offset)):(t.setEnd(m.node,m.offset),v.addRange(t))))));t=[];for(v=p;v=v.parentNode;)1===v.nodeType&&t.push({element:v,left:v.scrollLeft,top:v.scrollTop});
-"function"===typeof p.focus&&p.focus();for(p=0;p=c)return yi(a,b,c);I(M,M.current&
-1,b);b=oi(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1,b);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return Bi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current,b);if(!d)return null}return oi(a,b,c)}wg=!1}}else wg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Ef(b,J.current);vg(b,c);e=Ih(null,b,d,a,e,c);b.effectTag|=1;if("object"===
-typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;Mh();if(L(d)){var f=!0;Jf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&Og(b,d,g,a);e.updater=Sg;b.stateNode=e;e._reactInternalFiber=b;Wg(b,d,a,c);b=vi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;Va(e);if(1!==e._status)throw e._result;
-e=e._result;b.type=e;f=b.tag=nk(e);a=mg(e,a);switch(f){case 0:b=si(null,b,e,a,c);break;case 1:b=ui(null,b,e,a,c);break;case 11:b=ni(null,b,e,a,c);break;case 14:b=pi(null,b,e,mg(e.type,a),d,c);break;default:throw Error(u(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),si(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),ui(a,b,d,e,c);case 3:wi(b);d=b.updateQueue;if(null===d)throw Error(u(282));e=b.memoizedState;e=null!==e?e.element:
-null;Hg(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)li(),b=oi(a,b,c);else{if(e=b.stateNode.hydrate)di=re(b.stateNode.containerInfo.firstChild),ci=b,e=ei=!0;if(e)for(c=gh(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),li();b=b.child}return b;case 5:return oh(b),null===a&&ii(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,oe(d,e)?g=null:null!==f&&oe(d,f)&&(b.effectTag|=16),ti(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=
-b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&ii(b),null;case 13:return yi(a,b,c);case 4:return mh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=fh(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:mg(d,e),ni(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,b,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;
-e=b.pendingProps;g=b.memoizedProps;f=e.value;sg(b,f);if(null!==g){var h=g.value;f=of(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!K.current){b=oi(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Bg(c,null),l.tag=2,Dg(h,l));h.expirationTimeb}return!1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var C={};
+"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1)});
+["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1)});
+["checked","multiple","muted","selected"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1)});var Ua=/[\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}
+"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Ua,
+Va);C[b]=new v(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1)});
+C.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0)});var Wa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
+function Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2=c.length))throw Error(u(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:rb(c)}}
+function Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Lb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}var Mb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
+function Nb(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ob(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Nb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
+var Pb,Qb=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||"innerHTML"in a)a.innerHTML=b;else{Pb=Pb||document.createElement("div");Pb.innerHTML="";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
+function Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Tb={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},Ub={},Vb={};
+ya&&(Vb=document.createElement("div").style,"AnimationEvent"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),"TransitionEvent"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}
+var Xb=Wb("animationend"),Yb=Wb("animationiteration"),Zb=Wb("animationstart"),$b=Wb("transitionend"),ac="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bc=new ("function"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}
+function dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u(188));}
+function gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
+c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}
+function ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var kc=null;
+function lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;dpc.length&&pc.push(a)}
+function rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}
+function sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ud(c)}}
+function wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=td(a.document)}return b}
+function yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var zd="$",Ad="/$",Bd="$?",Cd="$!",Dd=null,Ed=null;function Fd(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}
+function Gd(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var Hd="function"===typeof setTimeout?setTimeout:void 0,Id="function"===typeof clearTimeout?clearTimeout:void 0;function Jd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}
+function Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--}else c===Ad&&b++}a=a.previousSibling}return null}var Ld=Math.random().toString(36).slice(2),Md="__reactInternalInstance$"+Ld,Nd="__reactEventHandlers$"+Ld,Od="__reactContainere$"+Ld;
+function tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a)}return b}a=c;c=a.parentNode}return null}function Nc(a){a=a[Md]||a[Od];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}
+function Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}
+function Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw Error(u(231,
+b,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a)}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&"CompositionEvent"in window,ke=null;ya&&"documentMode"in document&&(ke=document.documentMode);
+var le=ya&&"TextEvent"in window&&!ke,me=ya&&(!je||ke&&8=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
+captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},pe=!1;
+function qe(a,b){switch(a){case "keyup":return-1!==ie.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function re(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var se=!1;function te(a,b){switch(a){case "compositionend":return re(b);case "keypress":if(32!==b.which)return null;pe=!0;return ne;case "textInput":return a=b.data,a===ne&&pe?null:a;default:return null}}
+function ue(a,b){if(se)return"compositionend"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ef=null,ff=null,gf=null,hf=!1;
+function jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;"selectionStart"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type="select",a.target=ef,Xd(a),a)}
+var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;gzf||(a.current=yf[zf],yf[zf]=null,zf--)}
+function I(a,b){zf++;yf[zf]=a.current;a.current=b}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}
+function Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,pb(b)||"Unknown",e));return n({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return!0}
+function Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c)}
+var If=r.unstable_runWithPriority,Jf=r.unstable_scheduleCallback,Kf=r.unstable_cancelCallback,Lf=r.unstable_requestPaint,Mf=r.unstable_now,Nf=r.unstable_getCurrentPriorityLevel,Of=r.unstable_ImmediatePriority,Pf=r.unstable_UserBlockingPriority,Qf=r.unstable_NormalPriority,Rf=r.unstable_LowPriority,Sf=r.unstable_IdlePriority,Tf={},Uf=r.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};
+function ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a)}fg()}
+function fg(){if(!Yf&&null!==Wf){Yf=!0;var a=0;try{var b=Wf;cg(99,function(){for(;a=b&&(rg=!0),a.firstContext=null)}
+function sg(a,b){if(mg!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)mg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===lg){if(null===kg)throw Error(u(308));lg=b;kg.dependencies={expirationTime:0,firstContext:b,responders:null}}else lg=lg.next=b}return a._currentValue}var tg=!1;function ug(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}
+function vg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function wg(a,b){a={expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null};return a.next=a}function xg(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}
+function yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}
+function zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g))}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(gl&&(l=g)}else{null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if("function"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g="function"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=n({},k,g);break a;case 2:tg=!0}}null!==z.callback&&
+(a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z))}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k}}
+function Cg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;by?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&
+m&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;yy?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==
+q.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,
+k.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h)}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=
+d.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||"Component"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};
+function ch(a){if(a===Zg)throw Error(u(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a)}H($g);I($g,b)}function eh(){H($g);H(ah);H(bh)}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c))}function gh(a){ah.current===a&&(H($g),H(ah))}var M={current:0};
+function hh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ih(a,b){return{responder:a,props:b}}
+var jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u(321));}function nh(a,b){if(null===b)return!1;for(var c=0;cf))throw Error(u(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e)}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u(300));return a}
+function th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(u(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}
+function vh(a,b){return"function"===typeof b?b(a):b}
+function wh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.expirationTime;if(lN.expirationTime&&
+(N.expirationTime=l,Bg(l))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),Ag(l,k.suspenseConfig),d=k.eagerReducer===a?k.eagerState:a(d,k.action);k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;$e(d,b.memoizedState)||(rg=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}
+function xh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$e(f,b.memoizedState)||(rg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}
+function yh(a){var b=th();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a};a=a.dispatch=zh.bind(null,N,a);return[b.memoizedState,a]}function Ah(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}
+function Bh(){return uh().memoizedState}function Ch(a,b,c,d){var e=th();N.effectTag|=a;e.memoizedState=Ah(1|b,c,void 0,void 0===d?null:d)}function Dh(a,b,c,d){var e=uh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&nh(d,g.deps)){Ah(b,c,f,d);return}}N.effectTag|=a;e.memoizedState=Ah(1|b,c,f,d)}function Eh(a,b){return Ch(516,4,a,b)}function Fh(a,b){return Dh(516,4,a,b)}function Gh(a,b){return Dh(4,2,a,b)}
+function Hh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Ih(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Dh(4,2,Hh.bind(null,b,a),c)}function Jh(){}function Kh(a,b){th().memoizedState=[a,void 0===b?null:b];return a}function Lh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
+function Mh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Nh(a,b,c){var d=ag();cg(98>d?98:d,function(){a(!0)});cg(97\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),"select"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case "iframe":case "object":case "embed":F("load",
+a);h=d;break;case "video":case "audio":for(h=0;hd.tailExpiration&&1b)&&tj.set(a,b)))}}
+function xj(a,b){a.expirationTimea?c:a;return 2>=a&&b!==a?0:a}
+function Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=eg(yj.bind(null,a));else{var b=zj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Gg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Tf&&Kf(c)}a.callbackExpirationTime=
+b;a.callbackPriority=d;b=1073741823===b?eg(yj.bind(null,a)):dg(d,Bj.bind(null,a),{timeout:10*(1073741821-b)-$f()});a.callbackNode=b}}}
+function Bj(a,b){wj=0;if(b)return b=Gg(),Cj(a,b),Z(a),null;var c=zj(a);if(0!==c){b=a.callbackNode;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&c===U||Ej(a,c);if(null!==X){var d=W;W|=fj;var e=Fj();do try{Gj();break}catch(h){Hj(a,h)}while(1);ng();W=d;cj.current=e;if(S===hj)throw b=kj,Ej(a,c),xi(a,c),Z(a),b;if(null===X)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=S,T=null,d){case ti:case hj:throw Error(u(345));case ij:Cj(a,2=c){a.lastPingedTime=c;Ej(a,c);break}}f=zj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Hd(Jj.bind(null,a),e);break}Jj(a);break;case vi:xi(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ij(e));if(oj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Ej(a,c);break}e=zj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=
+d;break}1073741823!==mj?d=10*(1073741821-mj)-$f():1073741823===lj?d=0:(d=10*(1073741821-lj)-5E3,e=$f(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*bj(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=$f()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display."+qb(g))}S!==
+jj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&("function"===typeof w.getDerivedStateFromError||null!==ub&&"function"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}
+function Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){awi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}
+function Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}X.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}
+function Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=
+d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(X=T=null,U=0);1h&&(l=h,h=g,g=l),l=vd(q,g),m=vd(q,h),l&&m&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==m.node||w.focusOffset!==m.offset)&&(B=B.createRange(),B.setStart(l.node,l.offset),w.removeAllRanges(),g>h?(w.addRange(B),w.extend(m.node,m.offset)):(B.setEnd(m.node,m.offset),w.addRange(B))))));B=[];for(w=q;w=w.parentNode;)1===w.nodeType&&B.push({element:w,left:w.scrollLeft,
+top:w.scrollTop});"function"===typeof q.focus&&q.focus();for(q=0;q=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,
+b,d,a,e,c);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;"function"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=
+null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u(306,e,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);
+case 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else{if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:
+null,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,
+b,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==
+k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=wg(c,null),l.tag=2,xg(h,l));h.expirationTime=b&&a<=b}function Mj(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;cb||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}
-function Nj(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Rj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}
-function rk(a,b,c,d){var e=b.current,f=Pg(),g=Mg.suspense;f=Qg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(ec(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=If(c,k,h);break a}}c=h}else c=Cf;null===b.context?b.context=c:b.pendingContext=c;b=Bg(f,g);b.payload={element:a};d=void 0===
-d?null:d;null!==d&&(b.callback=d);Dg(e,b);Rg(e,f);return f}function sk(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function tk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;cb||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}
+function yi(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Cj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}
+function bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(dc(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=Ff(c,k,h);break a}}c=h}else c=Af;null===b.context?b.context=c:b.pendingContext=c;b=wg(f,g);b.payload={element:a};d=void 0===
+d?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125>>1,e=a[d];if(void 0!==e&&0K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}
function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}
-function Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=5;exports.unstable_LowPriority=4;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};
-exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};
-exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};exports.unstable_cancelCallback=function(a){a.callback=null};
-exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c}}};exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTimed?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};
+exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime= deadline) {
- // There's no time left. We may want to yield control of the main
- // thread, so the browser can perform high priority tasks. The main ones
- // are painting and user input. If there's a pending paint or a pending
- // input, then we should yield. But if there's neither, then we can
- // yield less often while remaining responsive. We'll eventually yield
- // regardless, since there could be a pending paint that wasn't
- // accompanied by a call to `requestPaint`, or other main thread tasks
- // like network events.
- if (needsPaint || scheduling.isInputPending()) {
- // There is either a pending paint or a pending input.
- return true;
- } // There's no pending input. Only yield if we've reached the max
- // yield interval.
-
-
- return currentTime >= maxYieldInterval;
- } else {
- // There's still time left in the frame.
- return false;
- }
- };
-
- requestPaint = function () {
- needsPaint = true;
- };
- } else {
+ {
// `isInputPending` is not available. Since we have no way of knowing if
// there's pending input, always yield at the end of the frame.
shouldYieldToHost = function () {
@@ -30718,7 +34346,8 @@ typeof MessageChannel !== 'function') {
exports.unstable_forceFrameRate = function (fps) {
if (fps < 0 || fps > 125) {
- console.error('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
+ // Using console['error'] to evade Babel and ESLint
+ console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
return;
}
@@ -30759,10 +34388,6 @@ typeof MessageChannel !== 'function') {
} else {
isMessageLoopRunning = false;
} // Yielding to the browser will give it a chance to paint, so we can
- // reset this.
-
-
- needsPaint = false;
};
var channel = new MessageChannel();
@@ -30821,7 +34446,7 @@ function siftUp(heap, node, i) {
var index = i;
while (true) {
- var parentIndex = Math.floor((index - 1) / 2);
+ var parentIndex = index - 1 >>> 1;
var parent = heap[parentIndex];
if (parent !== undefined && compare(parent, node) > 0) {
@@ -30884,18 +34509,18 @@ var IdlePriority = 5;
var runIdCounter = 0;
var mainThreadIdCounter = 0;
var profilingStateSize = 4;
-var sharedProfilingBuffer = enableProfiling ? // $FlowFixMe Flow doesn't know about SharedArrayBuffer
+var sharedProfilingBuffer = // $FlowFixMe Flow doesn't know about SharedArrayBuffer
typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : // $FlowFixMe Flow doesn't know about ArrayBuffer
typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null // Don't crash the init path on IE9
-: null;
-var profilingState = enableProfiling && sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
+;
+var profilingState = sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
var PRIORITY = 0;
var CURRENT_TASK_ID = 1;
var CURRENT_RUN_ID = 2;
var QUEUE_SIZE = 3;
-if (enableProfiling) {
+{
profilingState[PRIORITY] = NoPriority; // This is maintained with a counter, because the size of the priority queue
// array might include canceled tasks.
@@ -30929,7 +34554,8 @@ function logEvent(entries) {
eventLogSize *= 2;
if (eventLogSize > MAX_EVENT_LOG_SIZE) {
- console.error("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
+ // Using console['error'] to evade Babel and ESLint
+ console['error']("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
stopLoggingProfilingEvents();
return;
}
@@ -30959,7 +34585,7 @@ function stopLoggingProfilingEvents() {
return buffer;
}
function markTaskStart(task, ms) {
- if (enableProfiling) {
+ {
profilingState[QUEUE_SIZE]++;
if (eventLog !== null) {
@@ -30971,7 +34597,7 @@ function markTaskStart(task, ms) {
}
}
function markTaskCompleted(task, ms) {
- if (enableProfiling) {
+ {
profilingState[PRIORITY] = NoPriority;
profilingState[CURRENT_TASK_ID] = 0;
profilingState[QUEUE_SIZE]--;
@@ -30982,7 +34608,7 @@ function markTaskCompleted(task, ms) {
}
}
function markTaskCanceled(task, ms) {
- if (enableProfiling) {
+ {
profilingState[QUEUE_SIZE]--;
if (eventLog !== null) {
@@ -30991,7 +34617,7 @@ function markTaskCanceled(task, ms) {
}
}
function markTaskErrored(task, ms) {
- if (enableProfiling) {
+ {
profilingState[PRIORITY] = NoPriority;
profilingState[CURRENT_TASK_ID] = 0;
profilingState[QUEUE_SIZE]--;
@@ -31002,7 +34628,7 @@ function markTaskErrored(task, ms) {
}
}
function markTaskRun(task, ms) {
- if (enableProfiling) {
+ {
runIdCounter++;
profilingState[PRIORITY] = task.priorityLevel;
profilingState[CURRENT_TASK_ID] = task.id;
@@ -31014,7 +34640,7 @@ function markTaskRun(task, ms) {
}
}
function markTaskYield(task, ms) {
- if (enableProfiling) {
+ {
profilingState[PRIORITY] = NoPriority;
profilingState[CURRENT_TASK_ID] = 0;
profilingState[CURRENT_RUN_ID] = 0;
@@ -31025,7 +34651,7 @@ function markTaskYield(task, ms) {
}
}
function markSchedulerSuspended(ms) {
- if (enableProfiling) {
+ {
mainThreadIdCounter++;
if (eventLog !== null) {
@@ -31034,7 +34660,7 @@ function markSchedulerSuspended(ms) {
}
}
function markSchedulerUnsuspended(ms) {
- if (enableProfiling) {
+ {
if (eventLog !== null) {
logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
}
@@ -31059,8 +34685,6 @@ var taskQueue = [];
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
-
-var isSchedulerPaused = false;
var currentTask = null;
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
@@ -31082,7 +34706,7 @@ function advanceTimers(currentTime) {
timer.sortIndex = timer.expirationTime;
push(taskQueue, timer);
- if (enableProfiling) {
+ {
markTaskStart(timer, currentTime);
timer.isQueued = true;
}
@@ -31114,7 +34738,7 @@ function handleTimeout(currentTime) {
}
function flushWork(hasTimeRemaining, initialTime) {
- if (enableProfiling) {
+ {
markSchedulerUnsuspended(initialTime);
} // We'll need a host callback the next time work is scheduled.
@@ -31152,7 +34776,7 @@ function flushWork(hasTimeRemaining, initialTime) {
currentPriorityLevel = previousPriorityLevel;
isPerformingWork = false;
- if (enableProfiling) {
+ {
var _currentTime = exports.unstable_now();
markSchedulerSuspended(_currentTime);
@@ -31165,7 +34789,7 @@ function workLoop(hasTimeRemaining, initialTime) {
advanceTimers(currentTime);
currentTask = peek(taskQueue);
- while (currentTask !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
+ while (currentTask !== null && !(enableSchedulerDebugging )) {
if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
// This currentTask hasn't expired, and we've reached the deadline.
break;
@@ -31185,7 +34809,7 @@ function workLoop(hasTimeRemaining, initialTime) {
currentTask.callback = continuationCallback;
markTaskYield(currentTask, currentTime);
} else {
- if (enableProfiling) {
+ {
markTaskCompleted(currentTask, currentTime);
currentTask.isQueued = false;
}
@@ -31332,7 +34956,7 @@ function unstable_scheduleCallback(priorityLevel, callback, options) {
sortIndex: -1
};
- if (enableProfiling) {
+ {
newTask.isQueued = false;
}
@@ -31357,7 +34981,7 @@ function unstable_scheduleCallback(priorityLevel, callback, options) {
newTask.sortIndex = expirationTime;
push(taskQueue, newTask);
- if (enableProfiling) {
+ {
markTaskStart(newTask, currentTime);
newTask.isQueued = true;
} // Schedule a host callback, if needed. If we're already performing work,
@@ -31374,11 +34998,9 @@ function unstable_scheduleCallback(priorityLevel, callback, options) {
}
function unstable_pauseExecution() {
- isSchedulerPaused = true;
}
function unstable_continueExecution() {
- isSchedulerPaused = false;
if (!isHostCallbackScheduled && !isPerformingWork) {
isHostCallbackScheduled = true;
@@ -31391,7 +35013,7 @@ function unstable_getFirstCallbackNode() {
}
function unstable_cancelCallback(task) {
- if (enableProfiling) {
+ {
if (task.isQueued) {
var currentTime = exports.unstable_now();
markTaskCanceled(task, currentTime);
@@ -31417,45 +35039,45 @@ function unstable_shouldYield() {
}
var unstable_requestPaint = requestPaint;
-var unstable_Profiling = enableProfiling ? {
+var unstable_Profiling = {
startLoggingProfilingEvents: startLoggingProfilingEvents,
stopLoggingProfilingEvents: stopLoggingProfilingEvents,
sharedProfilingBuffer: sharedProfilingBuffer
-} : null;
+} ;
-exports.unstable_ImmediatePriority = ImmediatePriority;
-exports.unstable_UserBlockingPriority = UserBlockingPriority;
-exports.unstable_NormalPriority = NormalPriority;
exports.unstable_IdlePriority = IdlePriority;
+exports.unstable_ImmediatePriority = ImmediatePriority;
exports.unstable_LowPriority = LowPriority;
-exports.unstable_runWithPriority = unstable_runWithPriority;
-exports.unstable_next = unstable_next;
-exports.unstable_scheduleCallback = unstable_scheduleCallback;
+exports.unstable_NormalPriority = NormalPriority;
+exports.unstable_Profiling = unstable_Profiling;
+exports.unstable_UserBlockingPriority = UserBlockingPriority;
exports.unstable_cancelCallback = unstable_cancelCallback;
-exports.unstable_wrapCallback = unstable_wrapCallback;
-exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
-exports.unstable_shouldYield = unstable_shouldYield;
-exports.unstable_requestPaint = unstable_requestPaint;
exports.unstable_continueExecution = unstable_continueExecution;
-exports.unstable_pauseExecution = unstable_pauseExecution;
+exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
-exports.unstable_Profiling = unstable_Profiling;
+exports.unstable_next = unstable_next;
+exports.unstable_pauseExecution = unstable_pauseExecution;
+exports.unstable_requestPaint = unstable_requestPaint;
+exports.unstable_runWithPriority = unstable_runWithPriority;
+exports.unstable_scheduleCallback = unstable_scheduleCallback;
+exports.unstable_shouldYield = unstable_shouldYield;
+exports.unstable_wrapCallback = unstable_wrapCallback;
})();
}
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../../../process/browser.js */ 3)))
+/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../../process/browser.js */ 6)))
/***/ }),
-/* 272 */
+/* 355 */
/*!*************************************************************!*\
!*** ./node_modules/react-dom/cjs/react-dom.development.js ***!
\*************************************************************/
-/*! no static exports found */
+/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.12.0
+/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.14.0
* react-dom.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -31472,242 +35094,94 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';
-var React = __webpack_require__(/*! react */ 6);
-var _assign = __webpack_require__(/*! object-assign */ 27);
-var Scheduler = __webpack_require__(/*! scheduler */ 135);
-var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ 63);
-var tracing = __webpack_require__(/*! scheduler/tracing */ 273);
-
-// Do not require this module directly! Use normal `invariant` calls with
-// template literal strings. The messages will be replaced with error codes
-// during build.
-
-/**
- * Use invariant() to assert state which your program assumes to be true.
- *
- * Provide sprintf-style format (only %s is supported) and arguments
- * to provide information about what broke and what you were
- * expecting.
- *
- * The invariant message will be stripped in production, but the invariant
- * will remain to ensure logic does not differ in production.
- */
-
-if (!React) {
- {
- throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");
- }
-}
-
-/**
- * Injectable ordering of event plugins.
- */
-var eventPluginOrder = null;
-/**
- * Injectable mapping from names to event plugin modules.
- */
-
-var namesToPlugins = {};
-/**
- * Recomputes the plugin list using the injected plugins and plugin ordering.
- *
- * @private
- */
-
-function recomputePluginOrdering() {
- if (!eventPluginOrder) {
- // Wait until an `eventPluginOrder` is injected.
- return;
- }
-
- for (var pluginName in namesToPlugins) {
- var pluginModule = namesToPlugins[pluginName];
- var pluginIndex = eventPluginOrder.indexOf(pluginName);
-
- if (!(pluginIndex > -1)) {
- {
- throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `" + pluginName + "`.");
- }
- }
-
- if (plugins[pluginIndex]) {
- continue;
- }
-
- if (!pluginModule.extractEvents) {
- {
- throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `" + pluginName + "` does not.");
- }
- }
-
- plugins[pluginIndex] = pluginModule;
- var publishedEvents = pluginModule.eventTypes;
+var React = __webpack_require__(/*! react */ 5);
+var _assign = __webpack_require__(/*! object-assign */ 32);
+var Scheduler = __webpack_require__(/*! scheduler */ 175);
+var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ 85);
+var tracing = __webpack_require__(/*! scheduler/tracing */ 356);
- for (var eventName in publishedEvents) {
- if (!publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName)) {
- {
- throw Error("EventPluginRegistry: Failed to publish event `" + eventName + "` for plugin `" + pluginName + "`.");
- }
- }
- }
- }
-}
-/**
- * Publishes an event so that it can be dispatched by the supplied plugin.
- *
- * @param {object} dispatchConfig Dispatch configuration for the event.
- * @param {object} PluginModule Plugin publishing the event.
- * @return {boolean} True if the event was successfully published.
- * @private
- */
-
-
-function publishEventForPlugin(dispatchConfig, pluginModule, eventName) {
- if (!!eventNameDispatchConfigs.hasOwnProperty(eventName)) {
- {
- throw Error("EventPluginHub: More than one plugin attempted to publish the same event name, `" + eventName + "`.");
- }
- }
-
- eventNameDispatchConfigs[eventName] = dispatchConfig;
- var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
-
- if (phasedRegistrationNames) {
- for (var phaseName in phasedRegistrationNames) {
- if (phasedRegistrationNames.hasOwnProperty(phaseName)) {
- var phasedRegistrationName = phasedRegistrationNames[phaseName];
- publishRegistrationName(phasedRegistrationName, pluginModule, eventName);
- }
- }
-
- return true;
- } else if (dispatchConfig.registrationName) {
- publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);
- return true;
- }
-
- return false;
-}
-/**
- * Publishes a registration name that is used to identify dispatched events.
- *
- * @param {string} registrationName Registration name to add.
- * @param {object} PluginModule Plugin publishing the event.
- * @private
- */
-
-
-function publishRegistrationName(registrationName, pluginModule, eventName) {
- if (!!registrationNameModules[registrationName]) {
- {
- throw Error("EventPluginHub: More than one plugin attempted to publish the same registration name, `" + registrationName + "`.");
- }
- }
-
- registrationNameModules[registrationName] = pluginModule;
- registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;
-
- {
- var lowerCasedName = registrationName.toLowerCase();
- possibleRegistrationNames[lowerCasedName] = registrationName;
+var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions.
+// Current owner and dispatcher used to share the same ref,
+// but PR #14548 split them out to better support the react-debug-tools package.
- if (registrationName === 'onDoubleClick') {
- possibleRegistrationNames.ondblclick = registrationName;
- }
- }
+if (!ReactSharedInternals.hasOwnProperty('ReactCurrentDispatcher')) {
+ ReactSharedInternals.ReactCurrentDispatcher = {
+ current: null
+ };
}
-/**
- * Registers plugins so that they can extract and dispatch events.
- *
- * @see {EventPluginHub}
- */
-
-/**
- * Ordered list of injected plugins.
- */
-
-
-var plugins = [];
-/**
- * Mapping from event name to dispatch config
- */
-var eventNameDispatchConfigs = {};
-/**
- * Mapping from registration name to plugin module
- */
-
-var registrationNameModules = {};
-/**
- * Mapping from registration name to event name
- */
-
-var registrationNameDependencies = {};
-/**
- * Mapping from lowercase registration names to the properly cased version,
- * used to warn in the case of missing event handlers. Available
- * only in true.
- * @type {Object}
- */
-
-var possibleRegistrationNames = {}; // Trust the developer to only use possibleRegistrationNames in true
+if (!ReactSharedInternals.hasOwnProperty('ReactCurrentBatchConfig')) {
+ ReactSharedInternals.ReactCurrentBatchConfig = {
+ suspense: null
+ };
+}
-/**
- * Injects an ordering of plugins (by plugin name). This allows the ordering
- * to be decoupled from injection of the actual plugins so that ordering is
- * always deterministic regardless of packaging, on-the-fly injection, etc.
- *
- * @param {array} InjectedEventPluginOrder
- * @internal
- * @see {EventPluginHub.injection.injectEventPluginOrder}
- */
+// by calls to these methods by a Babel plugin.
+//
+// In PROD (or in packages without access to React internals),
+// they are left as they are instead.
-function injectEventPluginOrder(injectedEventPluginOrder) {
- if (!!eventPluginOrder) {
- {
- throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");
+function warn(format) {
+ {
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
}
- } // Clone the ordering so it cannot be dynamically mutated.
+ printWarning('warn', format, args);
+ }
+}
+function error(format) {
+ {
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
+ args[_key2 - 1] = arguments[_key2];
+ }
- eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);
- recomputePluginOrdering();
+ printWarning('error', format, args);
+ }
}
-/**
- * Injects plugins to be used by `EventPluginHub`. The plugin names must be
- * in the ordering injected by `injectEventPluginOrder`.
- *
- * Plugins can be injected as part of page initialization or on-the-fly.
- *
- * @param {object} injectedNamesToPlugins Map from names to plugin modules.
- * @internal
- * @see {EventPluginHub.injection.injectEventPluginsByName}
- */
-function injectEventPluginsByName(injectedNamesToPlugins) {
- var isOrderingDirty = false;
+function printWarning(level, format, args) {
+ // When changing this logic, you might want to also
+ // update consoleWithStackDev.www.js as well.
+ {
+ var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0;
- for (var pluginName in injectedNamesToPlugins) {
- if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {
- continue;
+ if (!hasExistingStack) {
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
+
+ if (stack !== '') {
+ format += '%s';
+ args = args.concat([stack]);
+ }
}
- var pluginModule = injectedNamesToPlugins[pluginName];
+ var argsWithFormat = args.map(function (item) {
+ return '' + item;
+ }); // Careful: RN currently depends on this prefix
- if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {
- if (!!namesToPlugins[pluginName]) {
- {
- throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + pluginName + "`.");
- }
- }
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
+ // breaks IE9: https://github.com/facebook/react/issues/13610
+ // eslint-disable-next-line react-internal/no-production-logging
- namesToPlugins[pluginName] = pluginModule;
- isOrderingDirty = true;
- }
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
+
+ try {
+ // --- Welcome to debugging React ---
+ // This error was thrown as a convenience so that you can use this stack
+ // to find the callsite that caused this warning to fire.
+ var argIndex = 0;
+ var message = 'Warning: ' + format.replace(/%s/g, function () {
+ return args[argIndex++];
+ });
+ throw new Error(message);
+ } catch (x) {}
}
+}
- if (isOrderingDirty) {
- recomputePluginOrdering();
+if (!React) {
+ {
+ throw Error( "ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM." );
}
}
@@ -31752,7 +35226,7 @@ var invokeGuardedCallbackImpl = function (name, func, context, a, b, c, d, e, f)
// So we preemptively throw with a better message instead.
if (!(typeof document !== 'undefined')) {
{
- throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
+ throw Error( "The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous." );
}
}
@@ -31944,64 +35418,12 @@ function clearCaughtError() {
} else {
{
{
- throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
+ throw Error( "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue." );
}
}
}
}
-/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
- */
-var warningWithoutStack = function () {};
-
-{
- warningWithoutStack = function (condition, format) {
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- args[_key - 2] = arguments[_key];
- }
-
- if (format === undefined) {
- throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
- }
-
- if (args.length > 8) {
- // Check before the condition to catch violations early.
- throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
- }
-
- if (condition) {
- return;
- }
-
- if (typeof console !== 'undefined') {
- var argsWithFormat = args.map(function (item) {
- return '' + item;
- });
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
- // breaks IE9: https://github.com/facebook/react/issues/13610
-
- Function.prototype.apply.call(console.error, console, argsWithFormat);
- }
-
- try {
- // --- Welcome to debugging React ---
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- var argIndex = 0;
- var message = 'Warning: ' + format.replace(/%s/g, function () {
- return args[argIndex++];
- });
- throw new Error(message);
- } catch (x) {}
- };
-}
-
-var warningWithoutStack$1 = warningWithoutStack;
-
var getFiberCurrentPropsFromNode = null;
var getInstanceFromNode = null;
var getNodeFromInstance = null;
@@ -32011,7 +35433,9 @@ function setComponentTree(getFiberCurrentPropsFromNodeImpl, getInstanceFromNodeI
getNodeFromInstance = getNodeFromInstanceImpl;
{
- !(getNodeFromInstance && getInstanceFromNode) ? warningWithoutStack$1(false, 'EventPluginUtils.setComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;
+ if (!getNodeFromInstance || !getInstanceFromNode) {
+ error('EventPluginUtils.setComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.');
+ }
}
}
var validateEventDispatches;
@@ -32024,7 +35448,10 @@ var validateEventDispatches;
var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;
var instancesIsArr = Array.isArray(dispatchInstances);
var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;
- !(instancesIsArr === listenersIsArr && instancesLen === listenersLen) ? warningWithoutStack$1(false, 'EventPluginUtils: Invalid `event`.') : void 0;
+
+ if (instancesIsArr !== listenersIsArr || instancesLen !== listenersLen) {
+ error('EventPluginUtils: Invalid `event`.');
+ }
};
}
/**
@@ -32069,273 +35496,6 @@ function executeDispatchesInOrder(event) {
event._dispatchListeners = null;
event._dispatchInstances = null;
}
-/**
- * @see executeDispatchesInOrderStopAtTrueImpl
- */
-
-
-
-/**
- * Execution of a "direct" dispatch - there must be at most one dispatch
- * accumulated on the event or it is considered an error. It doesn't really make
- * sense for an event with multiple dispatches (bubbled) to keep track of the
- * return values at each dispatch execution, but it does tend to make sense when
- * dealing with "direct" dispatches.
- *
- * @return {*} The return value of executing the single dispatch.
- */
-
-
-/**
- * @param {SyntheticEvent} event
- * @return {boolean} True iff number of dispatches accumulated is greater than 0.
- */
-
-/**
- * Accumulates items that must not be null or undefined into the first one. This
- * is used to conserve memory by avoiding array allocations, and thus sacrifices
- * API cleanness. Since `current` can be null before being passed in and not
- * null after this function, make sure to assign it back to `current`:
- *
- * `a = accumulateInto(a, b);`
- *
- * This API should be sparingly used. Try `accumulate` for something cleaner.
- *
- * @return {*|array<*>} An accumulation of items.
- */
-
-function accumulateInto(current, next) {
- if (!(next != null)) {
- {
- throw Error("accumulateInto(...): Accumulated items must not be null or undefined.");
- }
- }
-
- if (current == null) {
- return next;
- } // Both are not empty. Warning: Never call x.concat(y) when you are not
- // certain that x is an Array (x could be a string with concat method).
-
-
- if (Array.isArray(current)) {
- if (Array.isArray(next)) {
- current.push.apply(current, next);
- return current;
- }
-
- current.push(next);
- return current;
- }
-
- if (Array.isArray(next)) {
- // A bit too dangerous to mutate `next`.
- return [current].concat(next);
- }
-
- return [current, next];
-}
-
-/**
- * @param {array} arr an "accumulation" of items which is either an Array or
- * a single item. Useful when paired with the `accumulate` module. This is a
- * simple utility that allows us to reason about a collection of items, but
- * handling the case when there is exactly one item (and we do not need to
- * allocate an array).
- * @param {function} cb Callback invoked with each element or a collection.
- * @param {?} [scope] Scope used as `this` in a callback.
- */
-function forEachAccumulated(arr, cb, scope) {
- if (Array.isArray(arr)) {
- arr.forEach(cb, scope);
- } else if (arr) {
- cb.call(scope, arr);
- }
-}
-
-/**
- * Internal queue of events that have accumulated their dispatches and are
- * waiting to have their dispatches executed.
- */
-
-var eventQueue = null;
-/**
- * Dispatches an event and releases it back into the pool, unless persistent.
- *
- * @param {?object} event Synthetic event to be dispatched.
- * @private
- */
-
-var executeDispatchesAndRelease = function (event) {
- if (event) {
- executeDispatchesInOrder(event);
-
- if (!event.isPersistent()) {
- event.constructor.release(event);
- }
- }
-};
-
-var executeDispatchesAndReleaseTopLevel = function (e) {
- return executeDispatchesAndRelease(e);
-};
-
-function runEventsInBatch(events) {
- if (events !== null) {
- eventQueue = accumulateInto(eventQueue, events);
- } // Set `eventQueue` to null before processing it so that we can tell if more
- // events get enqueued while processing.
-
-
- var processingEventQueue = eventQueue;
- eventQueue = null;
-
- if (!processingEventQueue) {
- return;
- }
-
- forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
-
- if (!!eventQueue) {
- {
- throw Error("processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.");
- }
- } // This would be a good time to rethrow if any of the event handlers threw.
-
-
- rethrowCaughtError();
-}
-
-function isInteractive(tag) {
- return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
-}
-
-function shouldPreventMouseEvent(name, type, props) {
- switch (name) {
- case 'onClick':
- case 'onClickCapture':
- case 'onDoubleClick':
- case 'onDoubleClickCapture':
- case 'onMouseDown':
- case 'onMouseDownCapture':
- case 'onMouseMove':
- case 'onMouseMoveCapture':
- case 'onMouseUp':
- case 'onMouseUpCapture':
- return !!(props.disabled && isInteractive(type));
-
- default:
- return false;
- }
-}
-/**
- * This is a unified interface for event plugins to be installed and configured.
- *
- * Event plugins can implement the following properties:
- *
- * `extractEvents` {function(string, DOMEventTarget, string, object): *}
- * Required. When a top-level event is fired, this method is expected to
- * extract synthetic events that will in turn be queued and dispatched.
- *
- * `eventTypes` {object}
- * Optional, plugins that fire events must publish a mapping of registration
- * names that are used to register listeners. Values of this mapping must
- * be objects that contain `registrationName` or `phasedRegistrationNames`.
- *
- * `executeDispatch` {function(object, function, string)}
- * Optional, allows plugins to override how an event gets dispatched. By
- * default, the listener is simply invoked.
- *
- * Each plugin that is injected into `EventsPluginHub` is immediately operable.
- *
- * @public
- */
-
-/**
- * Methods for injecting dependencies.
- */
-
-
-var injection = {
- /**
- * @param {array} InjectedEventPluginOrder
- * @public
- */
- injectEventPluginOrder: injectEventPluginOrder,
-
- /**
- * @param {object} injectedNamesToPlugins Map from names to plugin modules.
- */
- injectEventPluginsByName: injectEventPluginsByName
-};
-/**
- * @param {object} inst The instance, which is the source of events.
- * @param {string} registrationName Name of listener (e.g. `onClick`).
- * @return {?function} The stored callback.
- */
-
-function getListener(inst, registrationName) {
- var listener; // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not
- // live here; needs to be moved to a better place soon
-
- var stateNode = inst.stateNode;
-
- if (!stateNode) {
- // Work in progress (ex: onload events in incremental mode).
- return null;
- }
-
- var props = getFiberCurrentPropsFromNode(stateNode);
-
- if (!props) {
- // Work in progress.
- return null;
- }
-
- listener = props[registrationName];
-
- if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
- return null;
- }
-
- if (!(!listener || typeof listener === 'function')) {
- {
- throw Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener + "` type.");
- }
- }
-
- return listener;
-}
-/**
- * Allows registered plugins an opportunity to extract events from top-level
- * native browser events.
- *
- * @return {*} An accumulation of synthetic events.
- * @internal
- */
-
-function extractPluginEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
- var events = null;
-
- for (var i = 0; i < plugins.length; i++) {
- // Not every plugin in the ordering may be loaded at runtime.
- var possiblePlugin = plugins[i];
-
- if (possiblePlugin) {
- var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
-
- if (extractedEvents) {
- events = accumulateInto(events, extractedEvents);
- }
- }
- }
-
- return events;
-}
-
-function runExtractedPluginEventsInBatch(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) {
- var events = extractPluginEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
- runEventsInBatch(events);
-}
var FunctionComponent = 0;
var ClassComponent = 1;
@@ -32362,333 +35522,221 @@ var DehydratedFragment = 18;
var SuspenseListComponent = 19;
var FundamentalComponent = 20;
var ScopeComponent = 21;
-
-var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions.
-// Current owner and dispatcher used to share the same ref,
-// but PR #14548 split them out to better support the react-debug-tools package.
-
-if (!ReactSharedInternals.hasOwnProperty('ReactCurrentDispatcher')) {
- ReactSharedInternals.ReactCurrentDispatcher = {
- current: null
- };
-}
-
-if (!ReactSharedInternals.hasOwnProperty('ReactCurrentBatchConfig')) {
- ReactSharedInternals.ReactCurrentBatchConfig = {
- suspense: null
- };
-}
-
-var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
-var describeComponentFrame = function (name, source, ownerName) {
- var sourceInfo = '';
-
- if (source) {
- var path = source.fileName;
- var fileName = path.replace(BEFORE_SLASH_RE, '');
-
- {
- // In DEV, include code for a common special case:
- // prefer "folder/index.js" instead of just "index.js".
- if (/^index\./.test(fileName)) {
- var match = path.match(BEFORE_SLASH_RE);
-
- if (match) {
- var pathBeforeSlash = match[1];
-
- if (pathBeforeSlash) {
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
- fileName = folderName + '/' + fileName;
- }
- }
- }
- }
-
- sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
- } else if (ownerName) {
- sourceInfo = ' (created by ' + ownerName + ')';
- }
-
- return '\n in ' + (name || 'Unknown') + sourceInfo;
-};
-
-// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
-// nor polyfill, then a plain number is used for performance.
-var hasSymbol = typeof Symbol === 'function' && Symbol.for;
-var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
-var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
-var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
-var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
-var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
-var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
-var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
-// (unstable) APIs that have been removed. Can we remove the symbols?
-
-
-var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
-var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
-var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
-var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
-var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
-var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
-var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
-var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
-var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
-var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
-var FAUX_ITERATOR_SYMBOL = '@@iterator';
-function getIteratorFn(maybeIterable) {
- if (maybeIterable === null || typeof maybeIterable !== 'object') {
- return null;
- }
-
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
-
- if (typeof maybeIterator === 'function') {
- return maybeIterator;
- }
-
- return null;
-}
+var Block = 22;
/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
+ * Injectable ordering of event plugins.
+ */
+var eventPluginOrder = null;
+/**
+ * Injectable mapping from names to event plugin modules.
*/
-var warning = warningWithoutStack$1;
-
-{
- warning = function (condition, format) {
- if (condition) {
- return;
- }
-
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
- var stack = ReactDebugCurrentFrame.getStackAddendum(); // eslint-disable-next-line react-internal/warning-and-invariant-args
-
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- args[_key - 2] = arguments[_key];
- }
-
- warningWithoutStack$1.apply(void 0, [false, format + '%s'].concat(args, [stack]));
- };
-}
-
-var warning$1 = warning;
+var namesToPlugins = {};
+/**
+ * Recomputes the plugin list using the injected plugins and plugin ordering.
+ *
+ * @private
+ */
-var Uninitialized = -1;
-var Pending = 0;
-var Resolved = 1;
-var Rejected = 2;
-function refineResolvedLazyComponent(lazyComponent) {
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
-}
-function initializeLazyComponentType(lazyComponent) {
- if (lazyComponent._status === Uninitialized) {
- lazyComponent._status = Pending;
- var ctor = lazyComponent._ctor;
- var thenable = ctor();
- lazyComponent._result = thenable;
- thenable.then(function (moduleObject) {
- if (lazyComponent._status === Pending) {
- var defaultExport = moduleObject.default;
+function recomputePluginOrdering() {
+ if (!eventPluginOrder) {
+ // Wait until an `eventPluginOrder` is injected.
+ return;
+ }
- {
- if (defaultExport === undefined) {
- warning$1(false, 'lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + "const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
- }
- }
+ for (var pluginName in namesToPlugins) {
+ var pluginModule = namesToPlugins[pluginName];
+ var pluginIndex = eventPluginOrder.indexOf(pluginName);
- lazyComponent._status = Resolved;
- lazyComponent._result = defaultExport;
- }
- }, function (error) {
- if (lazyComponent._status === Pending) {
- lazyComponent._status = Rejected;
- lazyComponent._result = error;
+ if (!(pluginIndex > -1)) {
+ {
+ throw Error( "EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `" + pluginName + "`." );
}
- });
- }
-}
-
-function getWrappedName(outerType, innerType, wrapperName) {
- var functionName = innerType.displayName || innerType.name || '';
- return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
-}
+ }
-function getComponentName(type) {
- if (type == null) {
- // Host root, text node or just invalid type.
- return null;
- }
+ if (plugins[pluginIndex]) {
+ continue;
+ }
- {
- if (typeof type.tag === 'number') {
- warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
+ if (!pluginModule.extractEvents) {
+ {
+ throw Error( "EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `" + pluginName + "` does not." );
+ }
}
- }
- if (typeof type === 'function') {
- return type.displayName || type.name || null;
- }
+ plugins[pluginIndex] = pluginModule;
+ var publishedEvents = pluginModule.eventTypes;
- if (typeof type === 'string') {
- return type;
+ for (var eventName in publishedEvents) {
+ if (!publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName)) {
+ {
+ throw Error( "EventPluginRegistry: Failed to publish event `" + eventName + "` for plugin `" + pluginName + "`." );
+ }
+ }
+ }
}
+}
+/**
+ * Publishes an event so that it can be dispatched by the supplied plugin.
+ *
+ * @param {object} dispatchConfig Dispatch configuration for the event.
+ * @param {object} PluginModule Plugin publishing the event.
+ * @return {boolean} True if the event was successfully published.
+ * @private
+ */
- switch (type) {
- case REACT_FRAGMENT_TYPE:
- return 'Fragment';
-
- case REACT_PORTAL_TYPE:
- return 'Portal';
- case REACT_PROFILER_TYPE:
- return "Profiler";
+function publishEventForPlugin(dispatchConfig, pluginModule, eventName) {
+ if (!!eventNameDispatchConfigs.hasOwnProperty(eventName)) {
+ {
+ throw Error( "EventPluginRegistry: More than one plugin attempted to publish the same event name, `" + eventName + "`." );
+ }
+ }
- case REACT_STRICT_MODE_TYPE:
- return 'StrictMode';
+ eventNameDispatchConfigs[eventName] = dispatchConfig;
+ var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
- case REACT_SUSPENSE_TYPE:
- return 'Suspense';
+ if (phasedRegistrationNames) {
+ for (var phaseName in phasedRegistrationNames) {
+ if (phasedRegistrationNames.hasOwnProperty(phaseName)) {
+ var phasedRegistrationName = phasedRegistrationNames[phaseName];
+ publishRegistrationName(phasedRegistrationName, pluginModule, eventName);
+ }
+ }
- case REACT_SUSPENSE_LIST_TYPE:
- return 'SuspenseList';
+ return true;
+ } else if (dispatchConfig.registrationName) {
+ publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);
+ return true;
}
- if (typeof type === 'object') {
- switch (type.$$typeof) {
- case REACT_CONTEXT_TYPE:
- return 'Context.Consumer';
-
- case REACT_PROVIDER_TYPE:
- return 'Context.Provider';
+ return false;
+}
+/**
+ * Publishes a registration name that is used to identify dispatched events.
+ *
+ * @param {string} registrationName Registration name to add.
+ * @param {object} PluginModule Plugin publishing the event.
+ * @private
+ */
- case REACT_FORWARD_REF_TYPE:
- return getWrappedName(type, type.render, 'ForwardRef');
- case REACT_MEMO_TYPE:
- return getComponentName(type.type);
+function publishRegistrationName(registrationName, pluginModule, eventName) {
+ if (!!registrationNameModules[registrationName]) {
+ {
+ throw Error( "EventPluginRegistry: More than one plugin attempted to publish the same registration name, `" + registrationName + "`." );
+ }
+ }
- case REACT_LAZY_TYPE:
- {
- var thenable = type;
- var resolvedThenable = refineResolvedLazyComponent(thenable);
+ registrationNameModules[registrationName] = pluginModule;
+ registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;
- if (resolvedThenable) {
- return getComponentName(resolvedThenable);
- }
+ {
+ var lowerCasedName = registrationName.toLowerCase();
+ possibleRegistrationNames[lowerCasedName] = registrationName;
- break;
- }
+ if (registrationName === 'onDoubleClick') {
+ possibleRegistrationNames.ondblclick = registrationName;
}
}
-
- return null;
}
+/**
+ * Registers plugins so that they can extract and dispatch events.
+ */
-var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
+/**
+ * Ordered list of injected plugins.
+ */
-function describeFiber(fiber) {
- switch (fiber.tag) {
- case HostRoot:
- case HostPortal:
- case HostText:
- case Fragment:
- case ContextProvider:
- case ContextConsumer:
- return '';
- default:
- var owner = fiber._debugOwner;
- var source = fiber._debugSource;
- var name = getComponentName(fiber.type);
- var ownerName = null;
+var plugins = [];
+/**
+ * Mapping from event name to dispatch config
+ */
- if (owner) {
- ownerName = getComponentName(owner.type);
- }
+var eventNameDispatchConfigs = {};
+/**
+ * Mapping from registration name to plugin module
+ */
- return describeComponentFrame(name, source, ownerName);
- }
-}
+var registrationNameModules = {};
+/**
+ * Mapping from registration name to event name
+ */
-function getStackByFiberInDevAndProd(workInProgress) {
- var info = '';
- var node = workInProgress;
+var registrationNameDependencies = {};
+/**
+ * Mapping from lowercase registration names to the properly cased version,
+ * used to warn in the case of missing event handlers. Available
+ * only in true.
+ * @type {Object}
+ */
- do {
- info += describeFiber(node);
- node = node.return;
- } while (node);
+var possibleRegistrationNames = {} ; // Trust the developer to only use possibleRegistrationNames in true
- return info;
-}
-var current = null;
-var phase = null;
-function getCurrentFiberOwnerNameInDevOrNull() {
- {
- if (current === null) {
- return null;
+/**
+ * Injects an ordering of plugins (by plugin name). This allows the ordering
+ * to be decoupled from injection of the actual plugins so that ordering is
+ * always deterministic regardless of packaging, on-the-fly injection, etc.
+ *
+ * @param {array} InjectedEventPluginOrder
+ * @internal
+ */
+
+function injectEventPluginOrder(injectedEventPluginOrder) {
+ if (!!eventPluginOrder) {
+ {
+ throw Error( "EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React." );
}
+ } // Clone the ordering so it cannot be dynamically mutated.
- var owner = current._debugOwner;
- if (owner !== null && typeof owner !== 'undefined') {
- return getComponentName(owner.type);
+ eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);
+ recomputePluginOrdering();
+}
+/**
+ * Injects plugins to be used by plugin event system. The plugin names must be
+ * in the ordering injected by `injectEventPluginOrder`.
+ *
+ * Plugins can be injected as part of page initialization or on-the-fly.
+ *
+ * @param {object} injectedNamesToPlugins Map from names to plugin modules.
+ * @internal
+ */
+
+function injectEventPluginsByName(injectedNamesToPlugins) {
+ var isOrderingDirty = false;
+
+ for (var pluginName in injectedNamesToPlugins) {
+ if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {
+ continue;
}
- }
- return null;
-}
-function getCurrentFiberStackInDev() {
- {
- if (current === null) {
- return '';
- } // Safe because if current fiber exists, we are reconciling,
- // and it is guaranteed to be the work-in-progress version.
+ var pluginModule = injectedNamesToPlugins[pluginName];
+ if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {
+ if (!!namesToPlugins[pluginName]) {
+ {
+ throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + pluginName + "`." );
+ }
+ }
- return getStackByFiberInDevAndProd(current);
+ namesToPlugins[pluginName] = pluginModule;
+ isOrderingDirty = true;
+ }
}
- return '';
-}
-function resetCurrentFiber() {
- {
- ReactDebugCurrentFrame.getCurrentStack = null;
- current = null;
- phase = null;
- }
-}
-function setCurrentFiber(fiber) {
- {
- ReactDebugCurrentFrame.getCurrentStack = getCurrentFiberStackInDev;
- current = fiber;
- phase = null;
- }
-}
-function setCurrentPhase(lifeCyclePhase) {
- {
- phase = lifeCyclePhase;
+ if (isOrderingDirty) {
+ recomputePluginOrdering();
}
}
var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
-function endsWith(subject, search) {
- var length = subject.length;
- return subject.substring(length - search.length, length) === search;
-}
-
var PLUGIN_EVENT_SYSTEM = 1;
-var RESPONDER_EVENT_SYSTEM = 1 << 1;
-var IS_PASSIVE = 1 << 2;
-var IS_ACTIVE = 1 << 3;
-var PASSIVE_NOT_SUPPORTED = 1 << 4;
var IS_REPLAYED = 1 << 5;
+var IS_FIRST_ANCESTOR = 1 << 6;
var restoreImpl = null;
var restoreTarget = null;
@@ -32706,12 +35754,17 @@ function restoreStateOfTarget(target) {
if (!(typeof restoreImpl === 'function')) {
{
- throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");
+ throw Error( "setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue." );
}
}
- var props = getFiberCurrentPropsFromNode(internalInstance.stateNode);
- restoreImpl(internalInstance.stateNode, internalInstance.type, props);
+ var stateNode = internalInstance.stateNode; // Guard against Fiber being unmounted.
+
+ if (stateNode) {
+ var _props = getFiberCurrentPropsFromNode(stateNode);
+
+ restoreImpl(internalInstance.stateNode, internalInstance.type, _props);
+ }
}
function setRestoreImplementation(impl) {
@@ -32749,63 +35802,12 @@ function restoreStateIfNeeded() {
}
}
-var enableUserTimingAPI = true; // Helps identify side effects in render-phase lifecycle hooks and setState
-// reducers by double invoking them in Strict Mode.
-
-var debugRenderPhaseSideEffectsForStrictMode = true; // To preserve the "Pause on caught exceptions" behavior of the debugger, we
-// replay the begin phase of a failed component inside invokeGuardedCallback.
-
-var replayFailedUnitOfWorkWithInvokeGuardedCallback = true; // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
-
-var warnAboutDeprecatedLifecycles = true; // Gather advanced timing metrics for Profiler subtrees.
-
var enableProfilerTimer = true; // Trace which interactions trigger each commit.
-var enableSchedulerTracing = true; // SSR experiments
-
-var enableSuspenseServerRenderer = false;
-var enableSelectiveHydration = false; // Only used in www builds.
-
- // Only used in www builds.
-
- // Disable javascript: URL strings in href for XSS protection.
-
-var disableJavaScriptURLs = false; // React Fire: prevent the value and checked attributes from syncing
-// with their related DOM properties
-
-var disableInputAttributeSyncing = false; // These APIs will no longer be "unstable" in the upcoming 16.7 release,
-// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
-
-var exposeConcurrentModeAPIs = false;
-var warnAboutShorthandPropertyCollision = false; // Experimental React Flare event system and event components support.
-
-var enableFlareAPI = false; // Experimental Host Component support.
+var enableDeprecatedFlareAPI = false; // Experimental Host Component support.
var enableFundamentalAPI = false; // Experimental Scope support.
-
-var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
-
- // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
-// Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
-
-var warnAboutUnmockedScheduler = false; // For tests, we flush suspense fallbacks in an act scope;
-// *except* in some of our own tests, where we test incremental loading states.
-
-var flushSuspenseFallbacksInTests = true; // Add a callback property to suspense to notify which promises are currently
-// in the update queue. This allows reporting and tracing of what is causing
-// the user to see a loading state.
-// Also allows hydration callbacks to fire when a dehydrated boundary gets
-// hydrated or deleted.
-
-var enableSuspenseCallback = false; // Part of the simplification of React.createElement so we can eventually move
-// from React.createElement to React.jsx
-// https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
-
-var warnAboutDefaultPropsOnFunctionComponents = false;
var warnAboutStringRefs = false;
-var disableLegacyContext = false;
-var disableSchedulerTimeoutBasedOnReactExpirationTime = false;
-var enableTrustedTypesIntegration = false; // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
// the renderer. Such as when we're dispatching events or if third party
// libraries need to call batchedUpdates. Eventually, this API will go away when
@@ -32817,8 +35819,8 @@ var batchedUpdatesImpl = function (fn, bookkeeping) {
return fn(bookkeeping);
};
-var discreteUpdatesImpl = function (fn, a, b, c) {
- return fn(a, b, c);
+var discreteUpdatesImpl = function (fn, a, b, c, d) {
+ return fn(a, b, c, d);
};
var flushDiscreteUpdatesImpl = function () {};
@@ -32875,24 +35877,12 @@ function batchedEventUpdates(fn, a, b) {
finishEventHandler();
}
} // This is for the React Flare event system
-
-function executeUserEventHandler(fn, value) {
- var previouslyInEventHandler = isInsideEventHandler;
-
- try {
- isInsideEventHandler = true;
- var type = typeof value === 'object' && value !== null ? value.type : '';
- invokeGuardedCallbackAndCatchFirstError(type, fn, undefined, value);
- } finally {
- isInsideEventHandler = previouslyInEventHandler;
- }
-}
-function discreteUpdates(fn, a, b, c) {
+function discreteUpdates(fn, a, b, c, d) {
var prevIsInsideEventHandler = isInsideEventHandler;
isInsideEventHandler = true;
try {
- return discreteUpdatesImpl(fn, a, b, c);
+ return discreteUpdatesImpl(fn, a, b, c, d);
} finally {
isInsideEventHandler = prevIsInsideEventHandler;
@@ -32901,7 +35891,6 @@ function discreteUpdates(fn, a, b, c) {
}
}
}
-var lastFlushedEventTimeStamp = 0;
function flushDiscreteUpdatesIfNeeded(timeStamp) {
// event.timeStamp isn't overly reliable due to inconsistencies in
// how different browsers have historically provided the time stamp.
@@ -32915,8 +35904,7 @@ function flushDiscreteUpdatesIfNeeded(timeStamp) {
// such as if an earlier flush removes or adds event listeners that
// are fired in the subsequent flush. However, this is the same
// behaviour as we had before this change, so the risks are low.
- if (!isInsideEventHandler && (!enableFlareAPI || timeStamp === 0 || lastFlushedEventTimeStamp !== timeStamp)) {
- lastFlushedEventTimeStamp = timeStamp;
+ if (!isInsideEventHandler && (!enableDeprecatedFlareAPI )) {
flushDiscreteUpdatesImpl();
}
}
@@ -32931,474 +35919,6 @@ var DiscreteEvent = 0;
var UserBlockingEvent = 1;
var ContinuousEvent = 2;
-// CommonJS interop named imports.
-
-var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
-var runWithPriority = Scheduler.unstable_runWithPriority;
-var listenToResponderEventTypesImpl;
-function setListenToResponderEventTypes(_listenToResponderEventTypesImpl) {
- listenToResponderEventTypesImpl = _listenToResponderEventTypesImpl;
-}
-var rootEventTypesToEventResponderInstances = new Map();
-var DoNotPropagateToNextResponder = 0;
-var PropagateToNextResponder = 1;
-var currentTimeStamp = 0;
-var currentInstance = null;
-var currentDocument = null;
-var currentPropagationBehavior = DoNotPropagateToNextResponder;
-var eventResponderContext = {
- dispatchEvent: function (eventValue, eventListener, eventPriority) {
- validateResponderContext();
- validateEventValue(eventValue);
-
- switch (eventPriority) {
- case DiscreteEvent:
- {
- flushDiscreteUpdatesIfNeeded(currentTimeStamp);
- discreteUpdates(function () {
- return executeUserEventHandler(eventListener, eventValue);
- });
- break;
- }
-
- case UserBlockingEvent:
- {
- runWithPriority(UserBlockingPriority, function () {
- return executeUserEventHandler(eventListener, eventValue);
- });
- break;
- }
-
- case ContinuousEvent:
- {
- executeUserEventHandler(eventListener, eventValue);
- break;
- }
- }
- },
- isTargetWithinResponder: function (target) {
- validateResponderContext();
-
- if (target != null) {
- var fiber = getClosestInstanceFromNode(target);
- var responderFiber = currentInstance.fiber;
-
- while (fiber !== null) {
- if (fiber === responderFiber || fiber.alternate === responderFiber) {
- return true;
- }
-
- fiber = fiber.return;
- }
- }
-
- return false;
- },
- isTargetWithinResponderScope: function (target) {
- validateResponderContext();
- var componentInstance = currentInstance;
- var responder = componentInstance.responder;
-
- if (target != null) {
- var fiber = getClosestInstanceFromNode(target);
- var responderFiber = currentInstance.fiber;
-
- while (fiber !== null) {
- if (fiber === responderFiber || fiber.alternate === responderFiber) {
- return true;
- }
-
- if (doesFiberHaveResponder(fiber, responder)) {
- return false;
- }
-
- fiber = fiber.return;
- }
- }
-
- return false;
- },
- isTargetWithinNode: function (childTarget, parentTarget) {
- validateResponderContext();
- var childFiber = getClosestInstanceFromNode(childTarget);
- var parentFiber = getClosestInstanceFromNode(parentTarget);
-
- if (childFiber != null && parentFiber != null) {
- var parentAlternateFiber = parentFiber.alternate;
- var node = childFiber;
-
- while (node !== null) {
- if (node === parentFiber || node === parentAlternateFiber) {
- return true;
- }
-
- node = node.return;
- }
-
- return false;
- } // Fallback to DOM APIs
-
-
- return parentTarget.contains(childTarget);
- },
- addRootEventTypes: function (rootEventTypes) {
- validateResponderContext();
- listenToResponderEventTypesImpl(rootEventTypes, currentDocument);
-
- for (var i = 0; i < rootEventTypes.length; i++) {
- var rootEventType = rootEventTypes[i];
- var eventResponderInstance = currentInstance;
- registerRootEventType(rootEventType, eventResponderInstance);
- }
- },
- removeRootEventTypes: function (rootEventTypes) {
- validateResponderContext();
-
- for (var i = 0; i < rootEventTypes.length; i++) {
- var rootEventType = rootEventTypes[i];
- var rootEventResponders = rootEventTypesToEventResponderInstances.get(rootEventType);
- var rootEventTypesSet = currentInstance.rootEventTypes;
-
- if (rootEventTypesSet !== null) {
- rootEventTypesSet.delete(rootEventType);
- }
-
- if (rootEventResponders !== undefined) {
- rootEventResponders.delete(currentInstance);
- }
- }
- },
- getActiveDocument: getActiveDocument,
- objectAssign: _assign,
- getTimeStamp: function () {
- validateResponderContext();
- return currentTimeStamp;
- },
- isTargetWithinHostComponent: function (target, elementType) {
- validateResponderContext();
- var fiber = getClosestInstanceFromNode(target);
-
- while (fiber !== null) {
- if (fiber.tag === HostComponent && fiber.type === elementType) {
- return true;
- }
-
- fiber = fiber.return;
- }
-
- return false;
- },
- continuePropagation: function () {
- currentPropagationBehavior = PropagateToNextResponder;
- },
- enqueueStateRestore: enqueueStateRestore,
- getResponderNode: function () {
- validateResponderContext();
- var responderFiber = currentInstance.fiber;
-
- if (responderFiber.tag === ScopeComponent) {
- return null;
- }
-
- return responderFiber.stateNode;
- }
-};
-
-function validateEventValue(eventValue) {
- if (typeof eventValue === 'object' && eventValue !== null) {
- var target = eventValue.target,
- type = eventValue.type,
- timeStamp = eventValue.timeStamp;
-
- if (target == null || type == null || timeStamp == null) {
- throw new Error('context.dispatchEvent: "target", "timeStamp", and "type" fields on event object are required.');
- }
-
- var showWarning = function (name) {
- {
- warning$1(false, '%s is not available on event objects created from event responder modules (React Flare). ' + 'Try wrapping in a conditional, i.e. `if (event.type !== "press") { event.%s }`', name, name);
- }
- };
-
- eventValue.isDefaultPrevented = function () {
- {
- showWarning('isDefaultPrevented()');
- }
- };
-
- eventValue.isPropagationStopped = function () {
- {
- showWarning('isPropagationStopped()');
- }
- }; // $FlowFixMe: we don't need value, Flow thinks we do
-
-
- Object.defineProperty(eventValue, 'nativeEvent', {
- get: function () {
- {
- showWarning('nativeEvent');
- }
- }
- });
- }
-}
-
-function doesFiberHaveResponder(fiber, responder) {
- var tag = fiber.tag;
-
- if (tag === HostComponent || tag === ScopeComponent) {
- var dependencies = fiber.dependencies;
-
- if (dependencies !== null) {
- var respondersMap = dependencies.responders;
-
- if (respondersMap !== null && respondersMap.has(responder)) {
- return true;
- }
- }
- }
-
- return false;
-}
-
-function getActiveDocument() {
- return currentDocument;
-}
-
-function createDOMResponderEvent(topLevelType, nativeEvent, nativeEventTarget, passive, passiveSupported) {
- var _ref = nativeEvent,
- buttons = _ref.buttons,
- pointerType = _ref.pointerType;
- var eventPointerType = '';
-
- if (pointerType !== undefined) {
- eventPointerType = pointerType;
- } else if (nativeEvent.key !== undefined) {
- eventPointerType = 'keyboard';
- } else if (buttons !== undefined) {
- eventPointerType = 'mouse';
- } else if (nativeEvent.changedTouches !== undefined) {
- eventPointerType = 'touch';
- }
-
- return {
- nativeEvent: nativeEvent,
- passive: passive,
- passiveSupported: passiveSupported,
- pointerType: eventPointerType,
- target: nativeEventTarget,
- type: topLevelType
- };
-}
-
-function responderEventTypesContainType(eventTypes, type) {
- for (var i = 0, len = eventTypes.length; i < len; i++) {
- if (eventTypes[i] === type) {
- return true;
- }
- }
-
- return false;
-}
-
-function validateResponderTargetEventTypes(eventType, responder) {
- var targetEventTypes = responder.targetEventTypes; // Validate the target event type exists on the responder
-
- if (targetEventTypes !== null) {
- return responderEventTypesContainType(targetEventTypes, eventType);
- }
-
- return false;
-}
-
-function traverseAndHandleEventResponderInstances(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags) {
- var isPassiveEvent = (eventSystemFlags & IS_PASSIVE) !== 0;
- var isPassiveSupported = (eventSystemFlags & PASSIVE_NOT_SUPPORTED) === 0;
- var isPassive = isPassiveEvent || !isPassiveSupported;
- var eventType = isPassive ? topLevelType : topLevelType + '_active'; // Trigger event responders in this order:
- // - Bubble target responder phase
- // - Root responder phase
-
- var visitedResponders = new Set();
- var responderEvent = createDOMResponderEvent(topLevelType, nativeEvent, nativeEventTarget, isPassiveEvent, isPassiveSupported);
- var node = targetFiber;
- var insidePortal = false;
-
- while (node !== null) {
- var _node = node,
- dependencies = _node.dependencies,
- tag = _node.tag;
-
- if (tag === HostPortal) {
- insidePortal = true;
- } else if ((tag === HostComponent || tag === ScopeComponent) && dependencies !== null) {
- var respondersMap = dependencies.responders;
-
- if (respondersMap !== null) {
- var responderInstances = Array.from(respondersMap.values());
-
- for (var i = 0, length = responderInstances.length; i < length; i++) {
- var responderInstance = responderInstances[i];
- var props = responderInstance.props,
- responder = responderInstance.responder,
- state = responderInstance.state;
-
- if (!visitedResponders.has(responder) && validateResponderTargetEventTypes(eventType, responder) && (!insidePortal || responder.targetPortalPropagation)) {
- visitedResponders.add(responder);
- var onEvent = responder.onEvent;
-
- if (onEvent !== null) {
- currentInstance = responderInstance;
- onEvent(responderEvent, eventResponderContext, props, state);
-
- if (currentPropagationBehavior === PropagateToNextResponder) {
- visitedResponders.delete(responder);
- currentPropagationBehavior = DoNotPropagateToNextResponder;
- }
- }
- }
- }
- }
- }
-
- node = node.return;
- } // Root phase
-
-
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(eventType);
-
- if (rootEventResponderInstances !== undefined) {
- var _responderInstances = Array.from(rootEventResponderInstances);
-
- for (var _i = 0; _i < _responderInstances.length; _i++) {
- var _responderInstance = _responderInstances[_i];
- var props = _responderInstance.props,
- responder = _responderInstance.responder,
- state = _responderInstance.state;
- var onRootEvent = responder.onRootEvent;
-
- if (onRootEvent !== null) {
- currentInstance = _responderInstance;
- onRootEvent(responderEvent, eventResponderContext, props, state);
- }
- }
- }
-}
-
-function mountEventResponder(responder, responderInstance, props, state) {
- var onMount = responder.onMount;
-
- if (onMount !== null) {
- var previousInstance = currentInstance;
- currentInstance = responderInstance;
-
- try {
- batchedEventUpdates(function () {
- onMount(eventResponderContext, props, state);
- });
- } finally {
- currentInstance = previousInstance;
- }
- }
-}
-function unmountEventResponder(responderInstance) {
- var responder = responderInstance.responder;
- var onUnmount = responder.onUnmount;
-
- if (onUnmount !== null) {
- var props = responderInstance.props,
- state = responderInstance.state;
- var previousInstance = currentInstance;
- currentInstance = responderInstance;
-
- try {
- batchedEventUpdates(function () {
- onUnmount(eventResponderContext, props, state);
- });
- } finally {
- currentInstance = previousInstance;
- }
- }
-
- var rootEventTypesSet = responderInstance.rootEventTypes;
-
- if (rootEventTypesSet !== null) {
- var rootEventTypes = Array.from(rootEventTypesSet);
-
- for (var i = 0; i < rootEventTypes.length; i++) {
- var topLevelEventType = rootEventTypes[i];
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(topLevelEventType);
-
- if (rootEventResponderInstances !== undefined) {
- rootEventResponderInstances.delete(responderInstance);
- }
- }
- }
-}
-
-function validateResponderContext() {
- if (!(currentInstance !== null)) {
- {
- throw Error("An event responder context was used outside of an event cycle.");
- }
- }
-}
-
-function dispatchEventForResponderEventSystem(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags) {
- if (enableFlareAPI) {
- var previousInstance = currentInstance;
- var previousTimeStamp = currentTimeStamp;
- var previousDocument = currentDocument;
- var previousPropagationBehavior = currentPropagationBehavior;
- currentPropagationBehavior = DoNotPropagateToNextResponder; // nodeType 9 is DOCUMENT_NODE
-
- currentDocument = nativeEventTarget.nodeType === 9 ? nativeEventTarget : nativeEventTarget.ownerDocument; // We might want to control timeStamp another way here
-
- currentTimeStamp = nativeEvent.timeStamp;
-
- try {
- batchedEventUpdates(function () {
- traverseAndHandleEventResponderInstances(topLevelType, targetFiber, nativeEvent, nativeEventTarget, eventSystemFlags);
- });
- } finally {
- currentInstance = previousInstance;
- currentTimeStamp = previousTimeStamp;
- currentDocument = previousDocument;
- currentPropagationBehavior = previousPropagationBehavior;
- }
- }
-}
-function addRootEventTypesForResponderInstance(responderInstance, rootEventTypes) {
- for (var i = 0; i < rootEventTypes.length; i++) {
- var rootEventType = rootEventTypes[i];
- registerRootEventType(rootEventType, responderInstance);
- }
-}
-
-function registerRootEventType(rootEventType, eventResponderInstance) {
- var rootEventResponderInstances = rootEventTypesToEventResponderInstances.get(rootEventType);
-
- if (rootEventResponderInstances === undefined) {
- rootEventResponderInstances = new Set();
- rootEventTypesToEventResponderInstances.set(rootEventType, rootEventResponderInstances);
- }
-
- var rootEventTypesSet = eventResponderInstance.rootEventTypes;
-
- if (rootEventTypesSet === null) {
- rootEventTypesSet = eventResponderInstance.rootEventTypes = new Set();
- }
-
- if (!!rootEventTypesSet.has(rootEventType)) {
- {
- throw Error("addRootEventTypes() found a duplicate root event type of \"" + rootEventType + "\". This might be because the event type exists in the event responder \"rootEventTypes\" array or because of a previous addRootEventTypes() using this root event type.");
- }
- }
-
- rootEventTypesSet.add(rootEventType);
- rootEventResponderInstances.add(eventResponderInstance);
-}
-
// A reserved attribute.
// It is handled by React separately and shouldn't be written to the DOM.
var RESERVED = 0; // A simple string attribute.
@@ -33431,7 +35951,6 @@ var ATTRIBUTE_NAME_START_CHAR = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\
/* eslint-enable max-len */
var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
-
var ROOT_ATTRIBUTE_NAME = 'data-reactroot';
var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$');
var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -33454,7 +35973,7 @@ function isAttributeNameSafe(attributeName) {
illegalAttributeNameCache[attributeName] = true;
{
- warning$1(false, 'Invalid attribute name: `%s`', attributeName);
+ error('Invalid attribute name: `%s`', attributeName);
}
return false;
@@ -33554,10 +36073,12 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
-['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
+var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
// elements (not just inputs). Now that ReactDOMInput assigns to the
// defaultValue property -- do we need this?
-'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'].forEach(function (name) {
+'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'];
+
+reservedProps.forEach(function (name) {
properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
name, // attributeName
null, // attributeNamespace
@@ -33606,7 +36127,10 @@ var properties = {}; // These props are reserved by React. They shouldn't be wri
['checked', // Note: `option.selected` is not updated if `select.multiple` is
// disabled with `removeAttribute`. We have special logic for handling this.
-'multiple', 'muted', 'selected'].forEach(function (name) {
+'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (name) {
properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
name, // attributeName
null, // attributeNamespace
@@ -33614,14 +36138,20 @@ var properties = {}; // These props are reserved by React. They shouldn't be wri
}); // These are HTML attributes that are "overloaded booleans": they behave like
// booleans, but can also accept a string value.
-['capture', 'download'].forEach(function (name) {
+['capture', 'download' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (name) {
properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
name, // attributeName
null, // attributeNamespace
false);
}); // These are HTML attributes that must be positive numbers.
-['cols', 'rows', 'size', 'span'].forEach(function (name) {
+['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (name) {
properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
name, // attributeName
null, // attributeNamespace
@@ -33642,23 +36172,32 @@ var capitalize = function (token) {
// or boolean value assignment. Regular attributes that just accept strings
// and have the same names are omitted, just like in the HTML whitelist.
// Some of these attributes can be hard to find. This list was created by
-// scrapping the MDN documentation.
+// scraping the MDN documentation.
-['accent-height', 'alignment-baseline', 'arabic-form', 'baseline-shift', 'cap-height', 'clip-path', 'clip-rule', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'dominant-baseline', 'enable-background', 'fill-opacity', 'fill-rule', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'horiz-adv-x', 'horiz-origin-x', 'image-rendering', 'letter-spacing', 'lighting-color', 'marker-end', 'marker-mid', 'marker-start', 'overline-position', 'overline-thickness', 'paint-order', 'panose-1', 'pointer-events', 'rendering-intent', 'shape-rendering', 'stop-color', 'stop-opacity', 'strikethrough-position', 'strikethrough-thickness', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-decoration', 'text-rendering', 'underline-position', 'underline-thickness', 'unicode-bidi', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'vector-effect', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'word-spacing', 'writing-mode', 'xmlns:xlink', 'x-height'].forEach(function (attributeName) {
+['accent-height', 'alignment-baseline', 'arabic-form', 'baseline-shift', 'cap-height', 'clip-path', 'clip-rule', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'dominant-baseline', 'enable-background', 'fill-opacity', 'fill-rule', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'horiz-adv-x', 'horiz-origin-x', 'image-rendering', 'letter-spacing', 'lighting-color', 'marker-end', 'marker-mid', 'marker-start', 'overline-position', 'overline-thickness', 'paint-order', 'panose-1', 'pointer-events', 'rendering-intent', 'shape-rendering', 'stop-color', 'stop-opacity', 'strikethrough-position', 'strikethrough-thickness', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-decoration', 'text-rendering', 'underline-position', 'underline-thickness', 'unicode-bidi', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'vector-effect', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'word-spacing', 'writing-mode', 'xmlns:xlink', 'x-height' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (attributeName) {
var name = attributeName.replace(CAMELIZE, capitalize);
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
attributeName, null, // attributeNamespace
false);
}); // String SVG attributes with the xlink namespace.
-['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
+['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (attributeName) {
var name = attributeName.replace(CAMELIZE, capitalize);
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
attributeName, 'http://www.w3.org/1999/xlink', false);
}); // String SVG attributes with the xml namespace.
-['xml:base', 'xml:lang', 'xml:space'].forEach(function (attributeName) {
+['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,
+// you'll need to set attributeName to name.toLowerCase()
+// instead in the assignment below.
+].forEach(function (attributeName) {
var name = attributeName.replace(CAMELIZE, capitalize);
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
attributeName, 'http://www.w3.org/XML/1998/namespace', false);
@@ -33676,104 +36215,41 @@ var capitalize = function (token) {
var xlinkHref = 'xlinkHref';
properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
-'xlink:href', 'http://www.w3.org/1999/xlink', true);
-['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
- attributeName.toLowerCase(), // attributeName
- null, // attributeNamespace
- true);
-});
-
-var ReactDebugCurrentFrame$1 = null;
-
-{
- ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
-} // A javascript: URL can contain leading C0 control or \u0020 SPACE,
-// and any newline or tab are filtered out as if they're not part of the URL.
-// https://url.spec.whatwg.org/#url-parsing
-// Tab or newline are defined as \r\n\t:
-// https://infra.spec.whatwg.org/#ascii-tab-or-newline
-// A C0 control is a code point in the range \u0000 NULL to \u001F
-// INFORMATION SEPARATOR ONE, inclusive:
-// https://infra.spec.whatwg.org/#c0-control-or-space
-
-/* eslint-disable max-len */
-
-
-var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;
-var didWarn = false;
-
-function sanitizeURL(url) {
- if (disableJavaScriptURLs) {
- if (!!isJavaScriptProtocol.test(url)) {
- {
- throw Error("React has blocked a javascript: URL as a security precaution." + (ReactDebugCurrentFrame$1.getStackAddendum()));
- }
- }
- } else if (true && !didWarn && isJavaScriptProtocol.test(url)) {
- didWarn = true;
- warning$1(false, 'A future version of React will block javascript: URLs as a security precaution. ' + 'Use event handlers instead if you can. If you need to generate unsafe HTML try ' + 'using dangerouslySetInnerHTML instead. React was passed %s.', JSON.stringify(url));
- }
-}
-
-// Flow does not allow string concatenation of most non-string types. To work
-// around this limitation, we use an opaque type that can only be obtained by
-// passing the value through getToStringValue first.
-function toString(value) {
- return '' + value;
-}
-function getToStringValue(value) {
- switch (typeof value) {
- case 'boolean':
- case 'number':
- case 'object':
- case 'string':
- case 'undefined':
- return value;
+'xlink:href', 'http://www.w3.org/1999/xlink', true);
+['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
+ properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
+ attributeName.toLowerCase(), // attributeName
+ null, // attributeNamespace
+ true);
+});
- default:
- // function, symbol are assigned as empty strings
- return '';
- }
-}
-/** Trusted value is a wrapper for "safe" values which can be assigned to DOM execution sinks. */
+var ReactDebugCurrentFrame = null;
-/**
- * We allow passing objects with toString method as element attributes or in dangerouslySetInnerHTML
- * and we do validations that the value is safe. Once we do validation we want to use the validated
- * value instead of the object (because object.toString may return something else on next call).
- *
- * If application uses Trusted Types we don't stringify trusted values, but preserve them as objects.
- */
-var toStringOrTrustedType = toString;
+{
+ ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
+} // A javascript: URL can contain leading C0 control or \u0020 SPACE,
+// and any newline or tab are filtered out as if they're not part of the URL.
+// https://url.spec.whatwg.org/#url-parsing
+// Tab or newline are defined as \r\n\t:
+// https://infra.spec.whatwg.org/#ascii-tab-or-newline
+// A C0 control is a code point in the range \u0000 NULL to \u001F
+// INFORMATION SEPARATOR ONE, inclusive:
+// https://infra.spec.whatwg.org/#c0-control-or-space
-if (enableTrustedTypesIntegration && typeof trustedTypes !== 'undefined') {
- toStringOrTrustedType = function (value) {
- if (typeof value === 'object' && (trustedTypes.isHTML(value) || trustedTypes.isScript(value) || trustedTypes.isScriptURL(value) ||
- /* TrustedURLs are deprecated and will be removed soon: https://github.com/WICG/trusted-types/pull/204 */
- trustedTypes.isURL && trustedTypes.isURL(value))) {
- // Pass Trusted Types through.
- return value;
- }
+/* eslint-disable max-len */
- return toString(value);
- };
-}
-/**
- * Set attribute for a node. The attribute value can be either string or
- * Trusted value (if application uses Trusted Types).
- */
-function setAttribute(node, attributeName, attributeValue) {
- node.setAttribute(attributeName, attributeValue);
-}
-/**
- * Set attribute with namespace for a node. The attribute value can be either string or
- * Trusted value (if application uses Trusted Types).
- */
+var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;
+var didWarn = false;
-function setAttributeNS(node, attributeNamespace, attributeName, attributeValue) {
- node.setAttributeNS(attributeNamespace, attributeName, attributeValue);
+function sanitizeURL(url) {
+ {
+ if (!didWarn && isJavaScriptProtocol.test(url)) {
+ didWarn = true;
+
+ error('A future version of React will block javascript: URLs as a security precaution. ' + 'Use event handlers instead if you can. If you need to generate unsafe HTML try ' + 'using dangerouslySetInnerHTML instead. React was passed %s.', JSON.stringify(url));
+ }
+ }
}
/**
@@ -33787,7 +36263,7 @@ function getValueForProperty(node, name, expected, propertyInfo) {
var propertyName = propertyInfo.propertyName;
return node[propertyName];
} else {
- if (!disableJavaScriptURLs && propertyInfo.sanitizeURL) {
+ if ( propertyInfo.sanitizeURL) {
// If we haven't fully disabled javascript: URLs, and if
// the hydration is successful of a javascript: URL, we
// still want to warn on the client.
@@ -33897,7 +36373,7 @@ function setValueForProperty(node, name, value, isCustomComponentTag) {
if (value === null) {
node.removeAttribute(_attributeName);
} else {
- setAttribute(node, _attributeName, toStringOrTrustedType(value));
+ node.setAttribute(_attributeName, '' + value);
}
}
@@ -33938,7 +36414,9 @@ function setValueForProperty(node, name, value, isCustomComponentTag) {
} else {
// `setAttribute` with objects becomes only `[object]` in IE8/9,
// ('' + value) makes it output the correct toString()-value.
- attributeValue = toStringOrTrustedType(value);
+ {
+ attributeValue = '' + value;
+ }
if (propertyInfo.sanitizeURL) {
sanitizeURL(attributeValue.toString());
@@ -33946,3322 +36424,2783 @@ function setValueForProperty(node, name, value, isCustomComponentTag) {
}
if (attributeNamespace) {
- setAttributeNS(node, attributeNamespace, attributeName, attributeValue);
- } else {
- setAttribute(node, attributeName, attributeValue);
- }
- }
-}
-
-var ReactDebugCurrentFrame$2 = null;
-var ReactControlledValuePropTypes = {
- checkPropTypes: null
-};
-
-{
- ReactDebugCurrentFrame$2 = ReactSharedInternals.ReactDebugCurrentFrame;
- var hasReadOnlyValue = {
- button: true,
- checkbox: true,
- image: true,
- hidden: true,
- radio: true,
- reset: true,
- submit: true
- };
- var propTypes = {
- value: function (props, propName, componentName) {
- if (hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled || props[propName] == null || enableFlareAPI && props.listeners) {
- return null;
- }
-
- return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
- },
- checked: function (props, propName, componentName) {
- if (props.onChange || props.readOnly || props.disabled || props[propName] == null || enableFlareAPI && props.listeners) {
- return null;
- }
-
- return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
- }
- };
- /**
- * Provide a linked `value` attribute for controlled forms. You should not use
- * this outside of the ReactDOM controlled form components.
- */
-
- ReactControlledValuePropTypes.checkPropTypes = function (tagName, props) {
- checkPropTypes(propTypes, props, 'prop', tagName, ReactDebugCurrentFrame$2.getStackAddendum);
- };
-}
-
-function isCheckable(elem) {
- var type = elem.type;
- var nodeName = elem.nodeName;
- return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
-}
-
-function getTracker(node) {
- return node._valueTracker;
-}
-
-function detachTracker(node) {
- node._valueTracker = null;
-}
-
-function getValueFromNode(node) {
- var value = '';
-
- if (!node) {
- return value;
- }
-
- if (isCheckable(node)) {
- value = node.checked ? 'true' : 'false';
- } else {
- value = node.value;
- }
-
- return value;
-}
-
-function trackValueOnNode(node) {
- var valueField = isCheckable(node) ? 'checked' : 'value';
- var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);
- var currentValue = '' + node[valueField]; // if someone has already defined a value or Safari, then bail
- // and don't track value will cause over reporting of changes,
- // but it's better then a hard failure
- // (needed for certain tests that spyOn input values and Safari)
-
- if (node.hasOwnProperty(valueField) || typeof descriptor === 'undefined' || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') {
- return;
- }
-
- var get = descriptor.get,
- set = descriptor.set;
- Object.defineProperty(node, valueField, {
- configurable: true,
- get: function () {
- return get.call(this);
- },
- set: function (value) {
- currentValue = '' + value;
- set.call(this, value);
- }
- }); // We could've passed this the first time
- // but it triggers a bug in IE11 and Edge 14/15.
- // Calling defineProperty() again should be equivalent.
- // https://github.com/facebook/react/issues/11768
-
- Object.defineProperty(node, valueField, {
- enumerable: descriptor.enumerable
- });
- var tracker = {
- getValue: function () {
- return currentValue;
- },
- setValue: function (value) {
- currentValue = '' + value;
- },
- stopTracking: function () {
- detachTracker(node);
- delete node[valueField];
- }
- };
- return tracker;
-}
-
-function track(node) {
- if (getTracker(node)) {
- return;
- } // TODO: Once it's just Fiber we can move this to node._wrapperState
-
-
- node._valueTracker = trackValueOnNode(node);
-}
-function updateValueIfChanged(node) {
- if (!node) {
- return false;
- }
-
- var tracker = getTracker(node); // if there is no tracker at this point it's unlikely
- // that trying again will succeed
-
- if (!tracker) {
- return true;
- }
-
- var lastValue = tracker.getValue();
- var nextValue = getValueFromNode(node);
-
- if (nextValue !== lastValue) {
- tracker.setValue(nextValue);
- return true;
- }
-
- return false;
-}
-
-// TODO: direct imports like some-package/src/* are bad. Fix me.
-var didWarnValueDefaultValue = false;
-var didWarnCheckedDefaultChecked = false;
-var didWarnControlledToUncontrolled = false;
-var didWarnUncontrolledToControlled = false;
-
-function isControlled(props) {
- var usesChecked = props.type === 'checkbox' || props.type === 'radio';
- return usesChecked ? props.checked != null : props.value != null;
-}
-/**
- * Implements an host component that allows setting these optional
- * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.
- *
- * If `checked` or `value` are not supplied (or null/undefined), user actions
- * that affect the checked state or value will trigger updates to the element.
- *
- * If they are supplied (and not null/undefined), the rendered element will not
- * trigger updates to the element. Instead, the props must change in order for
- * the rendered element to be updated.
- *
- * The rendered element will be initialized as unchecked (or `defaultChecked`)
- * with an empty value (or `defaultValue`).
- *
- * See http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html
- */
-
-
-function getHostProps(element, props) {
- var node = element;
- var checked = props.checked;
-
- var hostProps = _assign({}, props, {
- defaultChecked: undefined,
- defaultValue: undefined,
- value: undefined,
- checked: checked != null ? checked : node._wrapperState.initialChecked
- });
-
- return hostProps;
-}
-function initWrapperState(element, props) {
- {
- ReactControlledValuePropTypes.checkPropTypes('input', props);
-
- if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {
- warning$1(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
- didWarnCheckedDefaultChecked = true;
- }
-
- if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {
- warning$1(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
- didWarnValueDefaultValue = true;
- }
- }
-
- var node = element;
- var defaultValue = props.defaultValue == null ? '' : props.defaultValue;
- node._wrapperState = {
- initialChecked: props.checked != null ? props.checked : props.defaultChecked,
- initialValue: getToStringValue(props.value != null ? props.value : defaultValue),
- controlled: isControlled(props)
- };
-}
-function updateChecked(element, props) {
- var node = element;
- var checked = props.checked;
-
- if (checked != null) {
- setValueForProperty(node, 'checked', checked, false);
- }
-}
-function updateWrapper(element, props) {
- var node = element;
-
- {
- var controlled = isControlled(props);
-
- if (!node._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {
- warning$1(false, 'A component is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
- didWarnUncontrolledToControlled = true;
- }
-
- if (node._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {
- warning$1(false, 'A component is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
- didWarnControlledToUncontrolled = true;
- }
- }
-
- updateChecked(element, props);
- var value = getToStringValue(props.value);
- var type = props.type;
-
- if (value != null) {
- if (type === 'number') {
- if (value === 0 && node.value === '' || // We explicitly want to coerce to number here if possible.
- // eslint-disable-next-line
- node.value != value) {
- node.value = toString(value);
- }
- } else if (node.value !== toString(value)) {
- node.value = toString(value);
- }
- } else if (type === 'submit' || type === 'reset') {
- // Submit/reset inputs need the attribute removed completely to avoid
- // blank-text buttons.
- node.removeAttribute('value');
- return;
- }
-
- if (disableInputAttributeSyncing) {
- // When not syncing the value attribute, React only assigns a new value
- // whenever the defaultValue React prop has changed. When not present,
- // React does nothing
- if (props.hasOwnProperty('defaultValue')) {
- setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
- }
- } else {
- // When syncing the value attribute, the value comes from a cascade of
- // properties:
- // 1. The value React property
- // 2. The defaultValue React property
- // 3. Otherwise there should be no change
- if (props.hasOwnProperty('value')) {
- setDefaultValue(node, props.type, value);
- } else if (props.hasOwnProperty('defaultValue')) {
- setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
- }
- }
-
- if (disableInputAttributeSyncing) {
- // When not syncing the checked attribute, the attribute is directly
- // controllable from the defaultValue React property. It needs to be
- // updated as new props come in.
- if (props.defaultChecked == null) {
- node.removeAttribute('checked');
- } else {
- node.defaultChecked = !!props.defaultChecked;
- }
- } else {
- // When syncing the checked attribute, it only changes when it needs
- // to be removed, such as transitioning from a checkbox into a text input
- if (props.checked == null && props.defaultChecked != null) {
- node.defaultChecked = !!props.defaultChecked;
- }
- }
-}
-function postMountWrapper(element, props, isHydrating) {
- var node = element; // Do not assign value if it is already set. This prevents user text input
- // from being lost during SSR hydration.
-
- if (props.hasOwnProperty('value') || props.hasOwnProperty('defaultValue')) {
- var type = props.type;
- var isButton = type === 'submit' || type === 'reset'; // Avoid setting value attribute on submit/reset inputs as it overrides the
- // default value provided by the browser. See: #12872
-
- if (isButton && (props.value === undefined || props.value === null)) {
- return;
- }
-
- var initialValue = toString(node._wrapperState.initialValue); // Do not assign value if it is already set. This prevents user text input
- // from being lost during SSR hydration.
-
- if (!isHydrating) {
- if (disableInputAttributeSyncing) {
- var value = getToStringValue(props.value); // When not syncing the value attribute, the value property points
- // directly to the React prop. Only assign it if it exists.
-
- if (value != null) {
- // Always assign on buttons so that it is possible to assign an
- // empty string to clear button text.
- //
- // Otherwise, do not re-assign the value property if is empty. This
- // potentially avoids a DOM write and prevents Firefox (~60.0.1) from
- // prematurely marking required inputs as invalid. Equality is compared
- // to the current value in case the browser provided value is not an
- // empty string.
- if (isButton || value !== node.value) {
- node.value = toString(value);
- }
- }
- } else {
- // When syncing the value attribute, the value property should use
- // the wrapperState._initialValue property. This uses:
- //
- // 1. The value React property when present
- // 2. The defaultValue React property when present
- // 3. An empty string
- if (initialValue !== node.value) {
- node.value = initialValue;
- }
- }
- }
-
- if (disableInputAttributeSyncing) {
- // When not syncing the value attribute, assign the value attribute
- // directly from the defaultValue React property (when present)
- var defaultValue = getToStringValue(props.defaultValue);
-
- if (defaultValue != null) {
- node.defaultValue = toString(defaultValue);
- }
+ node.setAttributeNS(attributeNamespace, attributeName, attributeValue);
} else {
- // Otherwise, the value attribute is synchronized to the property,
- // so we assign defaultValue to the same thing as the value property
- // assignment step above.
- node.defaultValue = initialValue;
- }
- } // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
- // this is needed to work around a chrome bug where setting defaultChecked
- // will sometimes influence the value of checked (even after detachment).
- // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
- // We need to temporarily unset name to avoid disrupting radio button groups.
-
-
- var name = node.name;
-
- if (name !== '') {
- node.name = '';
- }
-
- if (disableInputAttributeSyncing) {
- // When not syncing the checked attribute, the checked property
- // never gets assigned. It must be manually set. We don't want
- // to do this when hydrating so that existing user input isn't
- // modified
- if (!isHydrating) {
- updateChecked(element, props);
- } // Only assign the checked attribute if it is defined. This saves
- // a DOM write when controlling the checked attribute isn't needed
- // (text inputs, submit/reset)
-
-
- if (props.hasOwnProperty('defaultChecked')) {
- node.defaultChecked = !node.defaultChecked;
- node.defaultChecked = !!props.defaultChecked;
- }
- } else {
- // When syncing the checked attribute, both the checked property and
- // attribute are assigned at the same time using defaultChecked. This uses:
- //
- // 1. The checked React property when present
- // 2. The defaultChecked React property when present
- // 3. Otherwise, false
- node.defaultChecked = !node.defaultChecked;
- node.defaultChecked = !!node._wrapperState.initialChecked;
- }
-
- if (name !== '') {
- node.name = name;
- }
-}
-function restoreControlledState$1(element, props) {
- var node = element;
- updateWrapper(node, props);
- updateNamedCousins(node, props);
-}
-
-function updateNamedCousins(rootNode, props) {
- var name = props.name;
-
- if (props.type === 'radio' && name != null) {
- var queryRoot = rootNode;
-
- while (queryRoot.parentNode) {
- queryRoot = queryRoot.parentNode;
- } // If `rootNode.form` was non-null, then we could try `form.elements`,
- // but that sometimes behaves strangely in IE8. We could also try using
- // `form.getElementsByName`, but that will only return direct children
- // and won't include inputs that use the HTML5 `form=` attribute. Since
- // the input might not even be in a form. It might not even be in the
- // document. Let's just use the local `querySelectorAll` to ensure we don't
- // miss anything.
-
-
- var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]');
-
- for (var i = 0; i < group.length; i++) {
- var otherNode = group[i];
-
- if (otherNode === rootNode || otherNode.form !== rootNode.form) {
- continue;
- } // This will throw if radio buttons rendered by different copies of React
- // and the same name are rendered into the same form (same as #1939).
- // That's probably okay; we don't support it just as we don't support
- // mixing React radio buttons with non-React ones.
-
-
- var otherProps = getFiberCurrentPropsFromNode$1(otherNode);
-
- if (!otherProps) {
- {
- throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");
- }
- } // We need update the tracked value on the named cousin since the value
- // was changed but the input saw no event or value set
-
-
- updateValueIfChanged(otherNode); // If this is a controlled radio button group, forcing the input that
- // was previously checked to update will cause it to be come re-checked
- // as appropriate.
-
- updateWrapper(otherNode, otherProps);
- }
- }
-} // In Chrome, assigning defaultValue to certain input types triggers input validation.
-// For number inputs, the display value loses trailing decimal points. For email inputs,
-// Chrome raises "The specified value is not a valid email address".
-//
-// Here we check to see if the defaultValue has actually changed, avoiding these problems
-// when the user is inputting text
-//
-// https://github.com/facebook/react/issues/7253
-
-
-function setDefaultValue(node, type, value) {
- if ( // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
- type !== 'number' || node.ownerDocument.activeElement !== node) {
- if (value == null) {
- node.defaultValue = toString(node._wrapperState.initialValue);
- } else if (node.defaultValue !== toString(value)) {
- node.defaultValue = toString(value);
+ node.setAttribute(attributeName, attributeValue);
}
}
}
-var didWarnSelectedSetOnOption = false;
-var didWarnInvalidChild = false;
-
-function flattenChildren(children) {
- var content = ''; // Flatten children. We'll warn if they are invalid
- // during validateProps() which runs for hydration too.
- // Note that this would throw on non-element objects.
- // Elements are stringified (which is normally irrelevant
- // but matters for ).
-
- React.Children.forEach(children, function (child) {
- if (child == null) {
- return;
- }
-
- content += child; // Note: we don't warn about invalid children here.
- // Instead, this is done separately below so that
- // it happens during the hydration codepath too.
- });
- return content;
-}
-/**
- * Implements an